@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.
@@ -7458,9 +7458,7 @@ export interface Routes {
7458
7458
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
7459
7459
  workspace_id: string;
7460
7460
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
7461
- ---
7462
- deprecated: Use `connected_account_id`.
7463
- --- */
7461
+ * @deprecated Use `connected_account_id`. */
7464
7462
  connected_account_ids: string[];
7465
7463
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
7466
7464
  connected_account_id: string;
@@ -7587,9 +7585,7 @@ export interface Routes {
7587
7585
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
7588
7586
  workspace_id: string;
7589
7587
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
7590
- ---
7591
- deprecated: Use `connected_account_id`.
7592
- --- */
7588
+ * @deprecated Use `connected_account_id`. */
7593
7589
  connected_account_ids: string[];
7594
7590
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
7595
7591
  connected_account_id: string;
@@ -7716,9 +7712,7 @@ export interface Routes {
7716
7712
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
7717
7713
  workspace_id: string;
7718
7714
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
7719
- ---
7720
- deprecated: Use `connected_account_id`.
7721
- --- */
7715
+ * @deprecated Use `connected_account_id`. */
7722
7716
  connected_account_ids: string[];
7723
7717
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
7724
7718
  connected_account_id: string;
@@ -10190,7 +10184,7 @@ export interface Routes {
10190
10184
  };
10191
10185
  '/client_sessions/get_or_create': {
10192
10186
  route: '/client_sessions/get_or_create';
10193
- method: 'POST' | 'PUT';
10187
+ method: 'POST';
10194
10188
  queryParams: {};
10195
10189
  jsonBody: {
10196
10190
  user_identifier_key?: string | undefined;
@@ -30645,9 +30639,7 @@ export interface Routes {
30645
30639
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
30646
30640
  workspace_id: string;
30647
30641
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
30648
- ---
30649
- deprecated: Use `connected_account_id`.
30650
- --- */
30642
+ * @deprecated Use `connected_account_id`. */
30651
30643
  connected_account_ids: string[];
30652
30644
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
30653
30645
  connected_account_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.318.0",
3
+ "version": "1.319.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -271,13 +271,12 @@ export const acs_system = z
271
271
  .describe(
272
272
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.',
273
273
  ),
274
- connected_account_ids: z.array(z.string().uuid()).describe(
275
- `IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
276
- ---
277
- deprecated: Use \`connected_account_id\`.
278
- ---
279
- `,
280
- ),
274
+ connected_account_ids: z.array(z.string().uuid()).describe(`
275
+ ---
276
+ deprecated: Use \`connected_account_id\`.
277
+ ---
278
+ IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
279
+ `),
281
280
  connected_account_id: z
282
281
  .string()
283
282
  .uuid()
@@ -780,10 +780,12 @@ export default {
780
780
  type: 'string',
781
781
  },
782
782
  connected_account_ids: {
783
+ deprecated: true,
783
784
  description:
784
- '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---',
785
+ 'IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.',
785
786
  items: { format: 'uuid', type: 'string' },
786
787
  type: 'array',
788
+ 'x-deprecated': 'Use `connected_account_id`.',
787
789
  },
788
790
  created_at: {
789
791
  description: 'Date and time at which the `acs_system` was created.',
@@ -10698,6 +10700,11 @@ export default {
10698
10700
  scheme: 'bearer',
10699
10701
  type: 'http',
10700
10702
  },
10703
+ publishable_key: {
10704
+ in: 'header',
10705
+ name: 'seam-publishable-key',
10706
+ type: 'apiKey',
10707
+ },
10701
10708
  seam_client_session_token: {
10702
10709
  in: 'header',
10703
10710
  name: 'seam-client-session-token',
@@ -17167,6 +17174,12 @@ export default {
17167
17174
  400: { description: 'Bad Request' },
17168
17175
  401: { description: 'Unauthorized' },
17169
17176
  },
17177
+ security: [
17178
+ { publishable_key: [] },
17179
+ { api_key: [] },
17180
+ { pat_with_workspace: [] },
17181
+ { console_session_with_workspace: [] },
17182
+ ],
17170
17183
  summary: '/client_sessions/create',
17171
17184
  tags: ['/client_sessions'],
17172
17185
  'x-fern-sdk-group-name': ['client_sessions'],
@@ -17222,6 +17235,12 @@ export default {
17222
17235
  400: { description: 'Bad Request' },
17223
17236
  401: { description: 'Unauthorized' },
17224
17237
  },
17238
+ security: [
17239
+ { publishable_key: [] },
17240
+ { api_key: [] },
17241
+ { pat_with_workspace: [] },
17242
+ { console_session_with_workspace: [] },
17243
+ ],
17225
17244
  summary: '/client_sessions/create',
17226
17245
  tags: ['/client_sessions'],
17227
17246
  'x-fern-ignore': true,
@@ -17372,6 +17391,12 @@ export default {
17372
17391
  400: { description: 'Bad Request' },
17373
17392
  401: { description: 'Unauthorized' },
17374
17393
  },
17394
+ security: [
17395
+ { publishable_key: [] },
17396
+ { api_key: [] },
17397
+ { pat_with_workspace: [] },
17398
+ { console_session_with_workspace: [] },
17399
+ ],
17375
17400
  summary: '/client_sessions/get_or_create',
17376
17401
  tags: ['/client_sessions'],
17377
17402
  'x-fern-sdk-group-name': ['client_sessions'],
@@ -17379,59 +17404,6 @@ export default {
17379
17404
  'x-fern-sdk-return-value': 'client_session',
17380
17405
  'x-response-key': 'client_session',
17381
17406
  },
17382
- put: {
17383
- operationId: 'clientSessionsGetOrCreatePut',
17384
- requestBody: {
17385
- content: {
17386
- 'application/json': {
17387
- schema: {
17388
- properties: {
17389
- connect_webview_ids: {
17390
- items: { type: 'string' },
17391
- type: 'array',
17392
- },
17393
- connected_account_ids: {
17394
- items: { type: 'string' },
17395
- type: 'array',
17396
- },
17397
- expires_at: { format: 'date-time', type: 'string' },
17398
- user_identifier_key: { minLength: 1, type: 'string' },
17399
- user_identity_ids: {
17400
- items: { type: 'string' },
17401
- type: 'array',
17402
- },
17403
- },
17404
- type: 'object',
17405
- },
17406
- },
17407
- },
17408
- },
17409
- responses: {
17410
- 200: {
17411
- content: {
17412
- 'application/json': {
17413
- schema: {
17414
- properties: {
17415
- client_session: {
17416
- $ref: '#/components/schemas/client_session',
17417
- },
17418
- ok: { type: 'boolean' },
17419
- },
17420
- required: ['client_session', 'ok'],
17421
- type: 'object',
17422
- },
17423
- },
17424
- },
17425
- description: 'OK',
17426
- },
17427
- 400: { description: 'Bad Request' },
17428
- 401: { description: 'Unauthorized' },
17429
- },
17430
- summary: '/client_sessions/get_or_create',
17431
- tags: ['/client_sessions'],
17432
- 'x-fern-ignore': true,
17433
- 'x-response-key': 'client_session',
17434
- },
17435
17407
  },
17436
17408
  '/client_sessions/grant_access': {
17437
17409
  patch: {
@@ -8725,9 +8725,7 @@ export interface Routes {
8725
8725
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
8726
8726
  workspace_id: string
8727
8727
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
8728
- ---
8729
- deprecated: Use `connected_account_id`.
8730
- --- */
8728
+ * @deprecated Use `connected_account_id`. */
8731
8729
  connected_account_ids: string[]
8732
8730
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
8733
8731
  connected_account_id: string
@@ -8898,9 +8896,7 @@ export interface Routes {
8898
8896
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
8899
8897
  workspace_id: string
8900
8898
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
8901
- ---
8902
- deprecated: Use `connected_account_id`.
8903
- --- */
8899
+ * @deprecated Use `connected_account_id`. */
8904
8900
  connected_account_ids: string[]
8905
8901
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
8906
8902
  connected_account_id: string
@@ -9071,9 +9067,7 @@ export interface Routes {
9071
9067
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
9072
9068
  workspace_id: string
9073
9069
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
9074
- ---
9075
- deprecated: Use `connected_account_id`.
9076
- --- */
9070
+ * @deprecated Use `connected_account_id`. */
9077
9071
  connected_account_ids: string[]
9078
9072
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
9079
9073
  connected_account_id: string
@@ -11969,7 +11963,7 @@ export interface Routes {
11969
11963
  }
11970
11964
  '/client_sessions/get_or_create': {
11971
11965
  route: '/client_sessions/get_or_create'
11972
- method: 'POST' | 'PUT'
11966
+ method: 'POST'
11973
11967
  queryParams: {}
11974
11968
  jsonBody: {
11975
11969
  user_identifier_key?: string | undefined
@@ -37903,9 +37897,7 @@ export interface Routes {
37903
37897
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
37904
37898
  workspace_id: string
37905
37899
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
37906
- ---
37907
- deprecated: Use `connected_account_id`.
37908
- --- */
37900
+ * @deprecated Use `connected_account_id`. */
37909
37901
  connected_account_ids: string[]
37910
37902
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
37911
37903
  connected_account_id: string