@thinkai/tai-api-contract 2.45.1 → 2.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 2.45.1
4
+ version: 2.46.0
5
5
  description: >
6
6
  Contract surface for the AI Driven SDLC backend used by ThinkAI.
7
7
  Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
@@ -8316,6 +8316,11 @@ components:
8316
8316
  minLength: 8
8317
8317
  maxLength: 128
8318
8318
  description: OAuth org-picker session id; when set, server prefers the session's stored returnPath over the body returnPath.
8319
+ spaOrigin:
8320
+ type: string
8321
+ format: uri
8322
+ maxLength: 256
8323
+ description: SPA origin to redirect back to after OAuth; must match server spaOrigins allowlist.
8319
8324
 
8320
8325
  GithubInstallUrlResponseDto:
8321
8326
  type: object
@@ -8339,6 +8344,11 @@ components:
8339
8344
  type: string
8340
8345
  pattern: '^/[A-Za-z0-9/_\-\?\=&]*$'
8341
8346
  maxLength: 256
8347
+ spaOrigin:
8348
+ type: string
8349
+ format: uri
8350
+ maxLength: 256
8351
+ description: SPA origin to redirect back to after OAuth; must match server spaOrigins allowlist.
8342
8352
 
8343
8353
  GithubUserAuthorizeUrlResponseDto:
8344
8354
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.45.1",
3
+ "version": "2.46.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -3357,6 +3357,11 @@ export interface components {
3357
3357
  returnPath?: string;
3358
3358
  /** @description OAuth org-picker session id; when set, server prefers the session's stored returnPath over the body returnPath. */
3359
3359
  pickerSession?: string;
3360
+ /**
3361
+ * Format: uri
3362
+ * @description SPA origin to redirect back to after OAuth; must match server spaOrigins allowlist.
3363
+ */
3364
+ spaOrigin?: string;
3360
3365
  };
3361
3366
  GithubInstallUrlResponseDto: {
3362
3367
  /** Format: uri */
@@ -3365,6 +3370,11 @@ export interface components {
3365
3370
  };
3366
3371
  GithubUserAuthorizeUrlRequestDto: {
3367
3372
  returnPath?: string;
3373
+ /**
3374
+ * Format: uri
3375
+ * @description SPA origin to redirect back to after OAuth; must match server spaOrigins allowlist.
3376
+ */
3377
+ spaOrigin?: string;
3368
3378
  };
3369
3379
  GithubUserAuthorizeUrlResponseDto: {
3370
3380
  /** Format: uri */