From 18f4363d2f3ac63f35b7bffc497130ecf715fbc7 Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Sun, 18 Oct 2026 22:42:17 -0500 Subject: [PATCH] chore: regenerate openapi spec (#56937) --- packages/protocol/openapi.json | 133 +++++++++++++++++++++++++++++++ services/www/openapi.json | 133 +++++++++++++++++++++++++++++++ services/www/public/openapi.json | 133 +++++++++++++++++++++++++++++++ 3 files changed, 399 insertions(+) diff --git a/packages/protocol/openapi.json b/packages/protocol/openapi.json index bf4727d04d8..50cc89ed349 100644 --- a/packages/protocol/openapi.json +++ b/packages/protocol/openapi.json @@ -8316,6 +8316,122 @@ } }, "/api/permission/saved/{id}": { + "patch": { + "tags": ["permission"], + "operationId": "permission.saved.update", + "parameters": [ + { + "name": "id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/PermissionSaved.ID" + }, + "required": true + } + ], + "security": [], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/PermissionSaved.Info" + } + }, + "required": ["data"], + "additionalProperties": false + } + } + } + }, + "400": { + "description": "InvalidRequestError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" + } + } + } + }, + "401": { + "description": "UnauthorizedError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" + } + } + } + }, + "404": { + "description": "PermissionSavedNotFoundError | LocationNotFoundError", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/PermissionSavedNotFoundErrorEncoded" + }, + { + "$ref": "#/components/schemas/LocationNotFoundErrorEncoded" + } + ] + } + } + } + }, + "409": { + "description": "ConflictError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConflictErrorEncoded" + } + } + } + } + }, + "description": "Change the action or resource of a saved permission. Fails with a conflict when the project already has a saved permission with the same action and resource.", + "summary": "Update saved permission", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "action": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "resource": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false + } + } + }, + "required": true + } + }, "delete": { "tags": ["permission"], "operationId": "permission.saved.remove", @@ -17226,6 +17342,23 @@ "required": ["id", "projectID", "action", "resource", "time"], "additionalProperties": false }, + "PermissionSavedNotFoundErrorEncoded": { + "type": "object", + "properties": { + "_tag": { + "type": "string", + "enum": ["PermissionSavedNotFoundError"] + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": ["_tag", "id", "message"], + "additionalProperties": false + }, "PersistentPty.CreateInput": { "type": "object", "properties": { diff --git a/services/www/openapi.json b/services/www/openapi.json index bf4727d04d8..50cc89ed349 100644 --- a/services/www/openapi.json +++ b/services/www/openapi.json @@ -8316,6 +8316,122 @@ } }, "/api/permission/saved/{id}": { + "patch": { + "tags": ["permission"], + "operationId": "permission.saved.update", + "parameters": [ + { + "name": "id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/PermissionSaved.ID" + }, + "required": true + } + ], + "security": [], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/PermissionSaved.Info" + } + }, + "required": ["data"], + "additionalProperties": false + } + } + } + }, + "400": { + "description": "InvalidRequestError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" + } + } + } + }, + "401": { + "description": "UnauthorizedError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" + } + } + } + }, + "404": { + "description": "PermissionSavedNotFoundError | LocationNotFoundError", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/PermissionSavedNotFoundErrorEncoded" + }, + { + "$ref": "#/components/schemas/LocationNotFoundErrorEncoded" + } + ] + } + } + } + }, + "409": { + "description": "ConflictError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConflictErrorEncoded" + } + } + } + } + }, + "description": "Change the action or resource of a saved permission. Fails with a conflict when the project already has a saved permission with the same action and resource.", + "summary": "Update saved permission", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "action": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "resource": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false + } + } + }, + "required": true + } + }, "delete": { "tags": ["permission"], "operationId": "permission.saved.remove", @@ -17226,6 +17342,23 @@ "required": ["id", "projectID", "action", "resource", "time"], "additionalProperties": false }, + "PermissionSavedNotFoundErrorEncoded": { + "type": "object", + "properties": { + "_tag": { + "type": "string", + "enum": ["PermissionSavedNotFoundError"] + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": ["_tag", "id", "message"], + "additionalProperties": false + }, "PersistentPty.CreateInput": { "type": "object", "properties": { diff --git a/services/www/public/openapi.json b/services/www/public/openapi.json index bf4727d04d8..50cc89ed349 100644 --- a/services/www/public/openapi.json +++ b/services/www/public/openapi.json @@ -8316,6 +8316,122 @@ } }, "/api/permission/saved/{id}": { + "patch": { + "tags": ["permission"], + "operationId": "permission.saved.update", + "parameters": [ + { + "name": "id", + "in": "path", + "schema": { + "$ref": "#/components/schemas/PermissionSaved.ID" + }, + "required": true + } + ], + "security": [], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/PermissionSaved.Info" + } + }, + "required": ["data"], + "additionalProperties": false + } + } + } + }, + "400": { + "description": "InvalidRequestError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" + } + } + } + }, + "401": { + "description": "UnauthorizedError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" + } + } + } + }, + "404": { + "description": "PermissionSavedNotFoundError | LocationNotFoundError", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/PermissionSavedNotFoundErrorEncoded" + }, + { + "$ref": "#/components/schemas/LocationNotFoundErrorEncoded" + } + ] + } + } + } + }, + "409": { + "description": "ConflictError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConflictErrorEncoded" + } + } + } + } + }, + "description": "Change the action or resource of a saved permission. Fails with a conflict when the project already has a saved permission with the same action and resource.", + "summary": "Update saved permission", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "action": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "resource": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false + } + } + }, + "required": true + } + }, "delete": { "tags": ["permission"], "operationId": "permission.saved.remove", @@ -17226,6 +17342,23 @@ "required": ["id", "projectID", "action", "resource", "time"], "additionalProperties": false }, + "PermissionSavedNotFoundErrorEncoded": { + "type": "object", + "properties": { + "_tag": { + "type": "string", + "enum": ["PermissionSavedNotFoundError"] + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": ["_tag", "id", "message"], + "additionalProperties": false + }, "PersistentPty.CreateInput": { "type": "object", "properties": {