From a42759e635401745752b131d0aed275da0b07397 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 17 Nov 2025 19:53:53 +0000 Subject: [PATCH 1/2] feat: Update to @seamapi/types@1.665.0 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 989a25a92..c3aa2d9f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@prettier/plugin-ruby": "^4.0.4", "@seamapi/blueprint": "^0.52.2", "@seamapi/smith": "^0.5.2", - "@seamapi/types": "1.664.0", + "@seamapi/types": "1.665.0", "@types/command-exists": "^1.2.3", "change-case": "^5.4.4", "command-exists": "^1.2.9", @@ -983,9 +983,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.664.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.664.0.tgz", - "integrity": "sha512-ZqMiMB/Q3Wp1c+SLk49afHHc4OKg+h3IyoLjLMi1eFNPHsL7hUY/3c9oCmuIj/HiN6yBavjz/V8R8fVGOSJX7g==", + "version": "1.665.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.665.0.tgz", + "integrity": "sha512-VLkeqvGtQ1BKMWmd3YrVCzxycCZSEEYmZ9MYOo9g9siI0JkOBFoHdxgyY/AULXHO7X2Q+o5M3+qGykhzDuvB5g==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 1180b3f46..dd1de4f96 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@prettier/plugin-ruby": "^4.0.4", "@seamapi/blueprint": "^0.52.2", "@seamapi/smith": "^0.5.2", - "@seamapi/types": "1.664.0", + "@seamapi/types": "1.665.0", "@types/command-exists": "^1.2.3", "change-case": "^5.4.4", "command-exists": "^1.2.9", From 176d58cf76b7b9f760873bfce52cdf2432e54ea6 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 17 Nov 2025 19:55:39 +0000 Subject: [PATCH 2/2] ci: Generate docs --- docs/api/_blueprint.json | 109 +++++++++++++++++++++++++++++++++++++-- docs/api/_report.md | 2 + 2 files changed, 107 insertions(+), 4 deletions(-) diff --git a/docs/api/_blueprint.json b/docs/api/_blueprint.json index 7407ec946..25179e045 100644 --- a/docs/api/_blueprint.json +++ b/docs/api/_blueprint.json @@ -52184,6 +52184,69 @@ "name": "connectors", "namespacePath": "/seam/customer/v1", "endpoints": [ + { + "title": "Get OAuth Authorization URL for Global Connector", + "name": "authorize", + "path": "/seam/customer/v1/connectors/authorize", + "parentPath": "/seam/customer/v1/connectors", + "description": "Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).", + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": true, + "undocumentedMessage": "Internal endpoint for OAuth authorization.", + "isDraft": false, + "draftMessage": "", + "response": { + "responseType": "resource", + "responseKey": "connector_authorize", + "resourceType": "unknown", + "description": "OK", + "actionAttemptType": null, + "batchResourceTypes": null + }, + "request": { + "methods": [ + "GET", + "POST" + ], + "semanticMethod": "GET", + "preferredMethod": "POST", + "parameters": [ + { + "name": "connector_name", + "description": "Connector name/type. If not provided, workspace_slug will be used as connector_name", + "isRequired": false, + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "", + "hasDefault": false, + "format": "string", + "jsonType": "string" + }, + { + "name": "workspace_slug", + "description": "Workspace slug", + "isRequired": true, + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "", + "hasDefault": false, + "format": "string", + "jsonType": "string" + } + ] + }, + "hasPagination": false, + "authMethods": [], + "workspaceScope": "none", + "codeSamples": [] + }, { "title": "List Connector Types", "name": "connector_types", @@ -52305,6 +52368,16 @@ "undocumentedMessage": "", "isDraft": false, "draftMessage": "" + }, + { + "name": "cloudbeds", + "description": "", + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "" } ] }, @@ -52513,7 +52586,7 @@ "parameters": [ { "name": "access_token", - "description": "", + "description": "OAuth2 access token for authentication", "isRequired": false, "isDeprecated": false, "deprecationMessage": "", @@ -52583,6 +52656,21 @@ "jsonType": "array", "itemFormat": "string" }, + { + "name": "is_demo", + "description": "", + "isRequired": false, + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "", + "hasDefault": true, + "default": true, + "format": "boolean", + "jsonType": "boolean" + }, { "name": "auth_token", "description": "", @@ -52636,9 +52724,22 @@ "isDraft": false, "draftMessage": "", "hasDefault": false, - "format": "object", - "jsonType": "object", - "parameters": [] + "format": "string", + "jsonType": "string" + }, + { + "name": "refresh_token", + "description": "OAuth2 refresh token for token refresh", + "isRequired": false, + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "", + "hasDefault": false, + "format": "string", + "jsonType": "string" } ] }, diff --git a/docs/api/_report.md b/docs/api/_report.md index bc98e33f5..5a05e0f50 100644 --- a/docs/api/_report.md +++ b/docs/api/_report.md @@ -96,6 +96,7 @@ These items are intentionally undocumented. - `/seam/customer/v1/automations/delete`: Internal endpoint for customer portals. - `/seam/customer/v1/automations/get`: Internal endpoint for customer portals. - `/seam/customer/v1/automations/update`: Internal endpoint for customer portals. +- `/seam/customer/v1/connectors/authorize`: Internal endpoint for OAuth authorization. - `/seam/customer/v1/connectors/connector_types`: Internal endpoint for Console. - `/seam/customer/v1/connectors/create`: Internal endpoint for Console. - `/seam/customer/v1/connectors/delete`: Internal endpoint for Console. @@ -633,6 +634,7 @@ These items are deprecated. - `/seam/console/v1/get_resource_locator`: `resource_locator` - `/seam/console/v1/timelines/get`: `timeline` - `/seam/customer/v1/automation_runs/list`: `automation_runs` +- `/seam/customer/v1/connectors/authorize`: `connector_authorize` - `/seam/customer/v1/connectors/connector_types`: `connector_types` - `/seam/customer/v1/connectors/create`: `connector` - `/seam/customer/v1/connectors/delete`: `connector`