@seamapi/types 1.318.0 → 1.319.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.
package/dist/connect.cjs CHANGED
@@ -1600,13 +1600,12 @@ var acs_system = zod.z.object({
1600
1600
  workspace_id: zod.z.string().uuid().describe(
1601
1601
  "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`."
1602
1602
  ),
1603
- connected_account_ids: zod.z.array(zod.z.string().uuid()).describe(
1604
- `IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
1605
- ---
1606
- deprecated: Use \`connected_account_id\`.
1607
- ---
1608
- `
1609
- ),
1603
+ connected_account_ids: zod.z.array(zod.z.string().uuid()).describe(`
1604
+ ---
1605
+ deprecated: Use \`connected_account_id\`.
1606
+ ---
1607
+ IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
1608
+ `),
1610
1609
  connected_account_id: zod.z.string().uuid().describe(
1611
1610
  "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`."
1612
1611
  ),
@@ -3561,9 +3560,11 @@ var openapi_default = {
3561
3560
  type: "string"
3562
3561
  },
3563
3562
  connected_account_ids: {
3564
- description: "IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.\n---\ndeprecated: Use `connected_account_id`.\n---",
3563
+ deprecated: true,
3564
+ description: "IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.",
3565
3565
  items: { format: "uuid", type: "string" },
3566
- type: "array"
3566
+ type: "array",
3567
+ "x-deprecated": "Use `connected_account_id`."
3567
3568
  },
3568
3569
  created_at: {
3569
3570
  description: "Date and time at which the `acs_system` was created.",
@@ -12952,6 +12953,11 @@ var openapi_default = {
12952
12953
  scheme: "bearer",
12953
12954
  type: "http"
12954
12955
  },
12956
+ publishable_key: {
12957
+ in: "header",
12958
+ name: "seam-publishable-key",
12959
+ type: "apiKey"
12960
+ },
12955
12961
  seam_client_session_token: {
12956
12962
  in: "header",
12957
12963
  name: "seam-client-session-token",
@@ -19148,6 +19154,12 @@ var openapi_default = {
19148
19154
  400: { description: "Bad Request" },
19149
19155
  401: { description: "Unauthorized" }
19150
19156
  },
19157
+ security: [
19158
+ { publishable_key: [] },
19159
+ { api_key: [] },
19160
+ { pat_with_workspace: [] },
19161
+ { console_session_with_workspace: [] }
19162
+ ],
19151
19163
  summary: "/client_sessions/create",
19152
19164
  tags: ["/client_sessions"],
19153
19165
  "x-fern-sdk-group-name": ["client_sessions"],
@@ -19203,6 +19215,12 @@ var openapi_default = {
19203
19215
  400: { description: "Bad Request" },
19204
19216
  401: { description: "Unauthorized" }
19205
19217
  },
19218
+ security: [
19219
+ { publishable_key: [] },
19220
+ { api_key: [] },
19221
+ { pat_with_workspace: [] },
19222
+ { console_session_with_workspace: [] }
19223
+ ],
19206
19224
  summary: "/client_sessions/create",
19207
19225
  tags: ["/client_sessions"],
19208
19226
  "x-fern-ignore": true,
@@ -19353,65 +19371,18 @@ var openapi_default = {
19353
19371
  400: { description: "Bad Request" },
19354
19372
  401: { description: "Unauthorized" }
19355
19373
  },
19374
+ security: [
19375
+ { publishable_key: [] },
19376
+ { api_key: [] },
19377
+ { pat_with_workspace: [] },
19378
+ { console_session_with_workspace: [] }
19379
+ ],
19356
19380
  summary: "/client_sessions/get_or_create",
19357
19381
  tags: ["/client_sessions"],
19358
19382
  "x-fern-sdk-group-name": ["client_sessions"],
19359
19383
  "x-fern-sdk-method-name": "get_or_create",
19360
19384
  "x-fern-sdk-return-value": "client_session",
19361
19385
  "x-response-key": "client_session"
19362
- },
19363
- put: {
19364
- operationId: "clientSessionsGetOrCreatePut",
19365
- requestBody: {
19366
- content: {
19367
- "application/json": {
19368
- schema: {
19369
- properties: {
19370
- connect_webview_ids: {
19371
- items: { type: "string" },
19372
- type: "array"
19373
- },
19374
- connected_account_ids: {
19375
- items: { type: "string" },
19376
- type: "array"
19377
- },
19378
- expires_at: { format: "date-time", type: "string" },
19379
- user_identifier_key: { minLength: 1, type: "string" },
19380
- user_identity_ids: {
19381
- items: { type: "string" },
19382
- type: "array"
19383
- }
19384
- },
19385
- type: "object"
19386
- }
19387
- }
19388
- }
19389
- },
19390
- responses: {
19391
- 200: {
19392
- content: {
19393
- "application/json": {
19394
- schema: {
19395
- properties: {
19396
- client_session: {
19397
- $ref: "#/components/schemas/client_session"
19398
- },
19399
- ok: { type: "boolean" }
19400
- },
19401
- required: ["client_session", "ok"],
19402
- type: "object"
19403
- }
19404
- }
19405
- },
19406
- description: "OK"
19407
- },
19408
- 400: { description: "Bad Request" },
19409
- 401: { description: "Unauthorized" }
19410
- },
19411
- summary: "/client_sessions/get_or_create",
19412
- tags: ["/client_sessions"],
19413
- "x-fern-ignore": true,
19414
- "x-response-key": "client_session"
19415
19386
  }
19416
19387
  },
19417
19388
  "/client_sessions/grant_access": {