chore(sdk): regenerate endpoints (#7062)

This commit is contained in:
Imanol Maiztegui
2026-03-15 20:18:18 +01:00
committed by GitHub
parent b668b9c2d2
commit 146da40471
+92
View File
@@ -4320,6 +4320,98 @@
]
}
},
"/permission/{requestID}/pattern-rules": {
"post": {
"operationId": "permission.savePatternRules",
"parameters": [
{
"in": "query",
"name": "directory",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "workspace",
"schema": {
"type": "string"
}
},
{
"in": "path",
"name": "requestID",
"schema": {
"type": "string"
},
"required": true
}
],
"summary": "Save per-pattern permission rules",
"description": "Save approved/denied patterns for a pending permission request.",
"responses": {
"200": {
"description": "Pattern rules saved successfully",
"content": {
"application/json": {
"schema": {
"type": "boolean"
}
}
}
},
"400": {
"description": "Bad request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestError"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NotFoundError"
}
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"approvedPatterns": {
"type": "array",
"items": {
"type": "string"
}
},
"deniedPatterns": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"x-codeSamples": [
{
"lang": "js",
"source": "import { createKiloClient } from \"@kilocode/sdk\n\nconst client = createKiloClient()\nawait client.permission.savePatternRules({\n ...\n})"
}
]
}
},
"/permission": {
"get": {
"operationId": "permission.list",