diff --git a/openapi.json b/openapi.json index 28dc419c..96ec70cd 100644 --- a/openapi.json +++ b/openapi.json @@ -8183,6 +8183,49 @@ } } }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "policy" + ] + }, + "value": { + "allOf": [ + { + "$ref": "#/components/schemas/SocketIssueBasics" + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "description": { + "type": "string", + "description": "", + "default": "" + }, + "props": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": {} + }, + "usage": { + "$ref": "#/components/schemas/SocketUsageRef" + } + }, + "required": [ + "description", + "props" + ] + } + ] + } + } + }, { "type": "object", "additionalProperties": false, @@ -12467,6 +12510,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" }, @@ -15374,6 +15420,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -15471,6 +15520,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -15598,6 +15650,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -21937,6 +21992,27 @@ "action" ] }, + "policy": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "action": { + "type": "string", + "enum": [ + "defer", + "error", + "warn", + "monitor", + "ignore" + ], + "description": "The action to take for policy issues." + } + }, + "required": [ + "action" + ] + }, "skillAutonomyAbuse": { "type": "object", "additionalProperties": false, @@ -24814,6 +24890,27 @@ "action" ] }, + "policy": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "action": { + "type": "string", + "enum": [ + "defer", + "error", + "warn", + "monitor", + "ignore" + ], + "description": "The action to take for policy issues." + } + }, + "required": [ + "action" + ] + }, "skillAutonomyAbuse": { "type": "object", "additionalProperties": false, @@ -28004,6 +28101,27 @@ "action" ] }, + "policy": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "action": { + "type": "string", + "enum": [ + "defer", + "error", + "warn", + "monitor", + "ignore" + ], + "description": "The action to take for policy issues." + } + }, + "required": [ + "action" + ] + }, "skillAutonomyAbuse": { "type": "object", "additionalProperties": false, @@ -30884,6 +31002,27 @@ "action" ] }, + "policy": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "action": { + "type": "string", + "enum": [ + "defer", + "error", + "warn", + "monitor", + "ignore" + ], + "description": "The action to take for policy issues." + } + }, + "required": [ + "action" + ] + }, "skillAutonomyAbuse": { "type": "object", "additionalProperties": false, @@ -33717,6 +33856,27 @@ "action" ] }, + "policy": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "action": { + "type": "string", + "enum": [ + "defer", + "error", + "warn", + "monitor", + "ignore" + ], + "description": "The action to take for policy issues." + } + }, + "required": [ + "action" + ] + }, "skillAutonomyAbuse": { "type": "object", "additionalProperties": false, @@ -35523,6 +35683,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -36854,6 +37017,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -37958,6 +38124,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -38527,6 +38696,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -38843,6 +39015,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -38923,6 +39098,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -39480,6 +39658,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -39832,6 +40013,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -40089,6 +40273,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -40214,6 +40401,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -40312,6 +40502,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -40384,6 +40577,9 @@ "400": { "$ref": "#/components/responses/SocketBadRequest" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -44360,6 +44556,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -44585,6 +44784,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -45121,6 +45323,9 @@ "401": { "$ref": "#/components/responses/SocketUnauthorized" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -45211,6 +45416,9 @@ "401": { "$ref": "#/components/responses/SocketUnauthorized" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -45370,6 +45578,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -45735,6 +45946,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } @@ -46267,6 +46481,9 @@ "403": { "$ref": "#/components/responses/SocketForbidden" }, + "404": { + "$ref": "#/components/responses/SocketNotFoundResponse" + }, "429": { "$ref": "#/components/responses/SocketTooManyRequestsResponse" } diff --git a/types/api.d.ts b/types/api.d.ts index 87085383..78f33074 100644 --- a/types/api.d.ts +++ b/types/api.d.ts @@ -4262,6 +4262,16 @@ export interface components { usage?: components['schemas']['SocketUsageRef'] } } + | { + /** @enum {string} */ + type?: 'policy' + value?: components['schemas']['SocketIssueBasics'] & { + /** @default */ + description: string + props: Record + usage?: components['schemas']['SocketUsageRef'] + } + } | { /** @enum {string} */ type?: 'skillAutonomyAbuse' @@ -5742,6 +5752,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] 500: components['responses']['SocketInternalServerError'] } @@ -6795,6 +6806,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -6847,6 +6859,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -6909,6 +6922,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -9467,6 +9481,13 @@ export interface operations { */ action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' } + policy?: { + /** + * @description The action to take for policy issues. + * @enum {string} + */ + action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' + } skillAutonomyAbuse?: { /** * @description The action to take for skillAutonomyAbuse issues. @@ -10451,6 +10472,13 @@ export interface operations { */ action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' } + policy?: { + /** + * @description The action to take for policy issues. + * @enum {string} + */ + action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' + } skillAutonomyAbuse?: { /** * @description The action to take for skillAutonomyAbuse issues. @@ -11589,6 +11617,13 @@ export interface operations { */ action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' } + policy?: { + /** + * @description The action to take for policy issues. + * @enum {string} + */ + action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' + } skillAutonomyAbuse?: { /** * @description The action to take for skillAutonomyAbuse issues. @@ -12566,6 +12601,13 @@ export interface operations { */ action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' } + policy?: { + /** + * @description The action to take for policy issues. + * @enum {string} + */ + action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' + } skillAutonomyAbuse?: { /** * @description The action to take for skillAutonomyAbuse issues. @@ -13512,6 +13554,13 @@ export interface operations { */ action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' } + policy?: { + /** + * @description The action to take for policy issues. + * @enum {string} + */ + action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore' + } skillAutonomyAbuse?: { /** * @description The action to take for skillAutonomyAbuse issues. @@ -14509,6 +14558,7 @@ export interface operations { } } 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -14841,6 +14891,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -15100,6 +15151,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -15259,6 +15311,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -15370,6 +15423,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -15418,6 +15472,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -15769,6 +15824,7 @@ export interface operations { } 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -15967,6 +16023,7 @@ export interface operations { } 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -16157,6 +16214,7 @@ export interface operations { } 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -16224,6 +16282,7 @@ export interface operations { } 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -16275,6 +16334,7 @@ export interface operations { } 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -16313,6 +16373,7 @@ export interface operations { } } 400: components['responses']['SocketBadRequest'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -17884,6 +17945,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -17973,6 +18035,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -18478,6 +18541,7 @@ export interface operations { } } 401: components['responses']['SocketUnauthorized'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -18514,6 +18578,7 @@ export interface operations { } } 401: components['responses']['SocketUnauthorized'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -18572,6 +18637,7 @@ export interface operations { } 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -18749,6 +18815,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } } @@ -19010,6 +19077,7 @@ export interface operations { 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] + 404: components['responses']['SocketNotFoundResponse'] 429: components['responses']['SocketTooManyRequestsResponse'] } }