@seamapi/types 1.911.0 → 1.913.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.
@@ -15074,8 +15074,10 @@ export type Routes = {
15074
15074
  commonParams: {
15075
15075
  /** Display name for the access grant. */
15076
15076
  name?: (string | null) | undefined;
15077
- /** ID of the Access Grant to update. */
15078
- access_grant_id: string;
15077
+ /** ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
15078
+ access_grant_id?: string | undefined;
15079
+ /** Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
15080
+ access_grant_key?: string | undefined;
15079
15081
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15080
15082
  starts_at?: string | undefined;
15081
15083
  /** Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
@@ -107511,6 +107513,8 @@ export type Routes = {
107511
107513
  publishable_key?: string | undefined;
107512
107514
  /** Indicates whether publishable key authentication is enabled for this workspace. */
107513
107515
  is_publishable_key_auth_enabled: boolean;
107516
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
107517
+ organization_id: string | null;
107514
107518
  };
107515
107519
  };
107516
107520
  maxDuration: undefined;
@@ -107765,6 +107769,8 @@ export type Routes = {
107765
107769
  publishable_key?: string | undefined;
107766
107770
  /** Indicates whether publishable key authentication is enabled for this workspace. */
107767
107771
  is_publishable_key_auth_enabled: boolean;
107772
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
107773
+ organization_id: string | null;
107768
107774
  }[] | undefined;
107769
107775
  devices?: {
107770
107776
  /** ID of the device. */
@@ -117154,6 +117160,8 @@ export type Routes = {
117154
117160
  publishable_key?: string | undefined;
117155
117161
  /** Indicates whether publishable key authentication is enabled for this workspace. */
117156
117162
  is_publishable_key_auth_enabled: boolean;
117163
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
117164
+ organization_id: string | null;
117157
117165
  };
117158
117166
  };
117159
117167
  maxDuration: undefined;
@@ -117196,6 +117204,8 @@ export type Routes = {
117196
117204
  publishable_key?: string | undefined;
117197
117205
  /** Indicates whether publishable key authentication is enabled for this workspace. */
117198
117206
  is_publishable_key_auth_enabled: boolean;
117207
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
117208
+ organization_id: string | null;
117199
117209
  }[];
117200
117210
  };
117201
117211
  maxDuration: undefined;
@@ -118875,6 +118885,8 @@ export type Routes = {
118875
118885
  jsonBody: {
118876
118886
  /** Name of the workspace. */
118877
118887
  name?: string | undefined;
118888
+ /** ID of the organization to assign the workspace to. The authenticated user must be the owner of the workspace and an admin of the target organization. */
118889
+ organization_id?: string | undefined;
118878
118890
  /** Connect partner name for the workspace. */
118879
118891
  connect_partner_name?: string | undefined;
118880
118892
  /** [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) customizations for the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.911.0",
3
+ "version": "1.913.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -81,6 +81,13 @@ export const workspace = z.object({
81
81
  .describe(
82
82
  'Indicates whether publishable key authentication is enabled for this workspace.',
83
83
  ),
84
+ organization_id: z
85
+ .string()
86
+ .uuid()
87
+ .nullable()
88
+ .describe(
89
+ 'ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization.',
90
+ ),
84
91
  }).describe(`
85
92
  ---
86
93
  route_path: /workspaces
@@ -33242,6 +33242,13 @@ const openapi: OpenAPISpec = {
33242
33242
  'Name of the [workspace](https://docs.seam.co/core-concepts/workspaces).',
33243
33243
  type: 'string',
33244
33244
  },
33245
+ organization_id: {
33246
+ description:
33247
+ 'ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization.',
33248
+ format: 'uuid',
33249
+ nullable: true,
33250
+ type: 'string',
33251
+ },
33245
33252
  publishable_key: {
33246
33253
  description:
33247
33254
  'Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.',
@@ -33263,6 +33270,7 @@ const openapi: OpenAPISpec = {
33263
33270
  'is_suspended',
33264
33271
  'connect_partner_name',
33265
33272
  'is_publishable_key_auth_enabled',
33273
+ 'organization_id',
33266
33274
  ],
33267
33275
  type: 'object',
33268
33276
  'x-route-path': '/workspaces',
@@ -40533,10 +40541,17 @@ const openapi: OpenAPISpec = {
40533
40541
  schema: {
40534
40542
  properties: {
40535
40543
  access_grant_id: {
40536
- description: 'ID of the Access Grant to update.',
40544
+ description:
40545
+ 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40537
40546
  format: 'uuid',
40538
40547
  type: 'string',
40539
40548
  },
40549
+ access_grant_key: {
40550
+ description:
40551
+ 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40552
+ minLength: 1,
40553
+ type: 'string',
40554
+ },
40540
40555
  ends_at: {
40541
40556
  description:
40542
40557
  'Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
@@ -40556,7 +40571,6 @@ const openapi: OpenAPISpec = {
40556
40571
  type: 'string',
40557
40572
  },
40558
40573
  },
40559
- required: ['access_grant_id'],
40560
40574
  type: 'object',
40561
40575
  },
40562
40576
  },
@@ -40600,10 +40614,17 @@ const openapi: OpenAPISpec = {
40600
40614
  schema: {
40601
40615
  properties: {
40602
40616
  access_grant_id: {
40603
- description: 'ID of the Access Grant to update.',
40617
+ description:
40618
+ 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40604
40619
  format: 'uuid',
40605
40620
  type: 'string',
40606
40621
  },
40622
+ access_grant_key: {
40623
+ description:
40624
+ 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40625
+ minLength: 1,
40626
+ type: 'string',
40627
+ },
40607
40628
  ends_at: {
40608
40629
  description:
40609
40630
  'Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
@@ -40623,7 +40644,6 @@ const openapi: OpenAPISpec = {
40623
40644
  type: 'string',
40624
40645
  },
40625
40646
  },
40626
- required: ['access_grant_id'],
40627
40647
  type: 'object',
40628
40648
  },
40629
40649
  },
@@ -87504,6 +87524,12 @@ const openapi: OpenAPISpec = {
87504
87524
  description: 'Name of the workspace.',
87505
87525
  type: 'string',
87506
87526
  },
87527
+ organization_id: {
87528
+ description:
87529
+ 'ID of the organization to assign the workspace to. The authenticated user must be the owner of the workspace and an admin of the target organization.',
87530
+ format: 'uuid',
87531
+ type: 'string',
87532
+ },
87507
87533
  },
87508
87534
  type: 'object',
87509
87535
  },
@@ -87586,6 +87612,12 @@ const openapi: OpenAPISpec = {
87586
87612
  description: 'Name of the workspace.',
87587
87613
  type: 'string',
87588
87614
  },
87615
+ organization_id: {
87616
+ description:
87617
+ 'ID of the organization to assign the workspace to. The authenticated user must be the owner of the workspace and an admin of the target organization.',
87618
+ format: 'uuid',
87619
+ type: 'string',
87620
+ },
87589
87621
  },
87590
87622
  type: 'object',
87591
87623
  },
@@ -17311,8 +17311,10 @@ export type Routes = {
17311
17311
  commonParams: {
17312
17312
  /** Display name for the access grant. */
17313
17313
  name?: (string | null) | undefined
17314
- /** ID of the Access Grant to update. */
17315
- access_grant_id: string
17314
+ /** ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
17315
+ access_grant_id?: string | undefined
17316
+ /** Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
17317
+ access_grant_key?: string | undefined
17316
17318
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
17317
17319
  starts_at?: string | undefined
17318
17320
  /** Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
@@ -128125,6 +128127,8 @@ export type Routes = {
128125
128127
  publishable_key?: string | undefined
128126
128128
  /** Indicates whether publishable key authentication is enabled for this workspace. */
128127
128129
  is_publishable_key_auth_enabled: boolean
128130
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
128131
+ organization_id: string | null
128128
128132
  }
128129
128133
  }
128130
128134
  maxDuration: undefined
@@ -128411,6 +128415,8 @@ export type Routes = {
128411
128415
  publishable_key?: string | undefined
128412
128416
  /** Indicates whether publishable key authentication is enabled for this workspace. */
128413
128417
  is_publishable_key_auth_enabled: boolean
128418
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
128419
+ organization_id: string | null
128414
128420
  }[]
128415
128421
  | undefined
128416
128422
  devices?:
@@ -139443,6 +139449,8 @@ export type Routes = {
139443
139449
  publishable_key?: string | undefined
139444
139450
  /** Indicates whether publishable key authentication is enabled for this workspace. */
139445
139451
  is_publishable_key_auth_enabled: boolean
139452
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
139453
+ organization_id: string | null
139446
139454
  }
139447
139455
  }
139448
139456
  maxDuration: undefined
@@ -139485,6 +139493,8 @@ export type Routes = {
139485
139493
  publishable_key?: string | undefined
139486
139494
  /** Indicates whether publishable key authentication is enabled for this workspace. */
139487
139495
  is_publishable_key_auth_enabled: boolean
139496
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
139497
+ organization_id: string | null
139488
139498
  }[]
139489
139499
  }
139490
139500
  maxDuration: undefined
@@ -141430,6 +141440,8 @@ export type Routes = {
141430
141440
  jsonBody: {
141431
141441
  /** Name of the workspace. */
141432
141442
  name?: string | undefined
141443
+ /** ID of the organization to assign the workspace to. The authenticated user must be the owner of the workspace and an admin of the target organization. */
141444
+ organization_id?: string | undefined
141433
141445
  /** Connect partner name for the workspace. */
141434
141446
  connect_partner_name?: string | undefined
141435
141447
  /** [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) customizations for the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */