From a328f7aecda780ed6e8d6e32e854105a55f6c61a Mon Sep 17 00:00:00 2001 From: jgoux <1443499+jgoux@users.noreply.github.com> Date: Thu, 12 Nov 2026 13:18:22 +0000 Subject: [PATCH] chore(api): sync Management API OpenAPI spec --- packages/api/src/generated/contracts.ts | 5 ++ packages/api/src/generated/openapi.json | 107 +++++++++++++++++++++++- 2 files changed, 109 insertions(+), 3 deletions(-) diff --git a/packages/api/src/generated/contracts.ts b/packages/api/src/generated/contracts.ts index d5f4277fc6..0afe0cd6c2 100644 --- a/packages/api/src/generated/contracts.ts +++ b/packages/api/src/generated/contracts.ts @@ -3531,6 +3531,7 @@ export const V1GetAuthServiceConfigOutput = Schema.Struct({ saml_external_url: Schema.Union([Schema.String, Schema.Null]), saml_allow_encrypted_assertions: Schema.Union([Schema.Boolean, Schema.Null]), security_sb_forwarded_for_enabled: Schema.Union([Schema.Boolean, Schema.Null]), + external_email_magic_link_disabled: Schema.Union([Schema.Boolean, Schema.Null]), security_captcha_enabled: Schema.Union([Schema.Boolean, Schema.Null]), security_captcha_provider: Schema.Union([ Schema.Union([Schema.Literals(["turnstile", "hcaptcha"]), Schema.Null]), @@ -8727,6 +8728,7 @@ export const V1UpdateAuthServiceConfigInput = Schema.Struct({ security_sb_forwarded_for_enabled: Schema.optionalKey( Schema.Union([Schema.Boolean, Schema.Null]), ), + external_email_magic_link_disabled: Schema.optionalKey(Schema.Boolean), security_captcha_enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), security_captcha_provider: Schema.optionalKey( Schema.Union([Schema.Literals(["turnstile", "hcaptcha"]), Schema.Null]), @@ -9704,6 +9706,7 @@ export const V1UpdateAuthServiceConfigOutput = Schema.Struct({ saml_external_url: Schema.Union([Schema.String, Schema.Null]), saml_allow_encrypted_assertions: Schema.Union([Schema.Boolean, Schema.Null]), security_sb_forwarded_for_enabled: Schema.Union([Schema.Boolean, Schema.Null]), + external_email_magic_link_disabled: Schema.Union([Schema.Boolean, Schema.Null]), security_captcha_enabled: Schema.Union([Schema.Boolean, Schema.Null]), security_captcha_provider: Schema.Union([ Schema.Union([Schema.Literals(["turnstile", "hcaptcha"]), Schema.Null]), @@ -12329,6 +12332,7 @@ export const V2CreateOrganizationInvitationsOutput = Schema.Struct({ "notebook_sort_invalid", "organization_invitation_email_delivery_failed", "organization_invitations_partially_failed", + "organization_inviter_email_missing", "organization_role_name_invalid", "organization_role_not_entitled", "pagination_cursor_invalid", @@ -21173,6 +21177,7 @@ export const operationDefinitions = { "saml_enabled", "saml_external_url", "security_sb_forwarded_for_enabled", + "external_email_magic_link_disabled", "security_captcha_enabled", "security_captcha_provider", "security_captcha_secret", diff --git a/packages/api/src/generated/openapi.json b/packages/api/src/generated/openapi.json index 0789ca0305..95fa84583f 100644 --- a/packages/api/src/generated/openapi.json +++ b/packages/api/src/generated/openapi.json @@ -742,6 +742,16 @@ "401": { "description": "Unauthorized" }, + "402": { + "description": "The instance size is not available on the organization plan, or the organization has overdue invoices", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } + }, "403": { "description": "Forbidden action" }, @@ -1977,6 +1987,16 @@ "401": { "description": "Unauthorized" }, + "402": { + "description": "Custom JWT templates for secret API keys are not available on the organization plan", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } + }, "403": { "description": "Forbidden action" }, @@ -2187,6 +2207,16 @@ "401": { "description": "Unauthorized" }, + "402": { + "description": "Custom JWT templates for secret API keys are not available on the organization plan", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } + }, "403": { "description": "Forbidden action" }, @@ -5992,6 +6022,16 @@ "401": { "description": "Unauthorized" }, + "402": { + "description": "An auth setting in the request is not available on the organization plan", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } + }, "403": { "description": "Forbidden action" }, @@ -6459,6 +6499,16 @@ "401": { "description": "Unauthorized" }, + "402": { + "description": "The restore is not available on the organization plan, or the organization has overdue invoices or a service restriction", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } + }, "403": { "description": "Forbidden action" }, @@ -9005,7 +9055,14 @@ "description": "Unauthorized" }, "402": { - "description": "Maximum number of functions reached for Plan" + "description": "Maximum number of functions reached for Plan", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } }, "403": { "description": "Forbidden action" @@ -9077,7 +9134,14 @@ "description": "Unauthorized" }, "402": { - "description": "Maximum number of functions reached for Plan" + "description": "Maximum number of functions reached for Plan", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } }, "403": { "description": "Forbidden action" @@ -9170,7 +9234,14 @@ "description": "Unauthorized" }, "402": { - "description": "Maximum number of functions reached for Plan" + "description": "Maximum number of functions reached for Plan", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } }, "403": { "description": "Forbidden action" @@ -9705,6 +9776,16 @@ "401": { "description": "Unauthorized" }, + "402": { + "description": "Disk modifications are not available on the organization plan", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } + }, "403": { "description": "Forbidden action" }, @@ -9918,6 +9999,16 @@ "401": { "description": "Unauthorized" }, + "402": { + "description": "A storage feature or file size limit in the request is not available on the organization plan", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlanGateErrorBody" + } + } + } + }, "403": { "description": "Forbidden action" }, @@ -35906,6 +35997,10 @@ "type": "boolean", "nullable": true }, + "external_email_magic_link_disabled": { + "type": "boolean", + "nullable": true + }, "security_captcha_enabled": { "type": "boolean", "nullable": true @@ -36300,6 +36395,7 @@ "saml_external_url", "saml_allow_encrypted_assertions", "security_sb_forwarded_for_enabled", + "external_email_magic_link_disabled", "security_captcha_enabled", "security_captcha_provider", "security_captcha_secret", @@ -36574,6 +36670,9 @@ "type": "boolean", "nullable": true }, + "external_email_magic_link_disabled": { + "type": "boolean" + }, "security_captcha_enabled": { "type": "boolean", "nullable": true @@ -41975,6 +42074,7 @@ "notebook_sort_invalid", "organization_invitation_email_delivery_failed", "organization_invitations_partially_failed", + "organization_inviter_email_missing", "organization_role_name_invalid", "organization_role_not_entitled", "pagination_cursor_invalid", @@ -45601,6 +45701,7 @@ "notebook_sort_invalid", "organization_invitation_email_delivery_failed", "organization_invitations_partially_failed", + "organization_inviter_email_missing", "organization_role_name_invalid", "organization_role_not_entitled", "pagination_cursor_invalid",