@seamapi/types 1.912.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.
- package/dist/connect.cjs +21 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +13 -0
- package/dist/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/workspaces/workspace.d.ts +3 -0
- package/lib/seam/connect/models/workspaces/workspace.js +5 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.js +17 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/workspaces/workspace.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +20 -0
- package/src/lib/seam/connect/route-types.ts +10 -0
|
@@ -107513,6 +107513,8 @@ export type Routes = {
|
|
|
107513
107513
|
publishable_key?: string | undefined;
|
|
107514
107514
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
107515
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;
|
|
107516
107518
|
};
|
|
107517
107519
|
};
|
|
107518
107520
|
maxDuration: undefined;
|
|
@@ -107767,6 +107769,8 @@ export type Routes = {
|
|
|
107767
107769
|
publishable_key?: string | undefined;
|
|
107768
107770
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
107769
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;
|
|
107770
107774
|
}[] | undefined;
|
|
107771
107775
|
devices?: {
|
|
107772
107776
|
/** ID of the device. */
|
|
@@ -117156,6 +117160,8 @@ export type Routes = {
|
|
|
117156
117160
|
publishable_key?: string | undefined;
|
|
117157
117161
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
117158
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;
|
|
117159
117165
|
};
|
|
117160
117166
|
};
|
|
117161
117167
|
maxDuration: undefined;
|
|
@@ -117198,6 +117204,8 @@ export type Routes = {
|
|
|
117198
117204
|
publishable_key?: string | undefined;
|
|
117199
117205
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
117200
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;
|
|
117201
117209
|
}[];
|
|
117202
117210
|
};
|
|
117203
117211
|
maxDuration: undefined;
|
|
@@ -118877,6 +118885,8 @@ export type Routes = {
|
|
|
118877
118885
|
jsonBody: {
|
|
118878
118886
|
/** Name of the workspace. */
|
|
118879
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;
|
|
118880
118890
|
/** Connect partner name for the workspace. */
|
|
118881
118891
|
connect_partner_name?: string | undefined;
|
|
118882
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
|
@@ -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',
|
|
@@ -87516,6 +87524,12 @@ const openapi: OpenAPISpec = {
|
|
|
87516
87524
|
description: 'Name of the workspace.',
|
|
87517
87525
|
type: 'string',
|
|
87518
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
|
+
},
|
|
87519
87533
|
},
|
|
87520
87534
|
type: 'object',
|
|
87521
87535
|
},
|
|
@@ -87598,6 +87612,12 @@ const openapi: OpenAPISpec = {
|
|
|
87598
87612
|
description: 'Name of the workspace.',
|
|
87599
87613
|
type: 'string',
|
|
87600
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
|
+
},
|
|
87601
87621
|
},
|
|
87602
87622
|
type: 'object',
|
|
87603
87623
|
},
|
|
@@ -128127,6 +128127,8 @@ export type Routes = {
|
|
|
128127
128127
|
publishable_key?: string | undefined
|
|
128128
128128
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
128129
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
|
|
128130
128132
|
}
|
|
128131
128133
|
}
|
|
128132
128134
|
maxDuration: undefined
|
|
@@ -128413,6 +128415,8 @@ export type Routes = {
|
|
|
128413
128415
|
publishable_key?: string | undefined
|
|
128414
128416
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
128415
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
|
|
128416
128420
|
}[]
|
|
128417
128421
|
| undefined
|
|
128418
128422
|
devices?:
|
|
@@ -139445,6 +139449,8 @@ export type Routes = {
|
|
|
139445
139449
|
publishable_key?: string | undefined
|
|
139446
139450
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
139447
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
|
|
139448
139454
|
}
|
|
139449
139455
|
}
|
|
139450
139456
|
maxDuration: undefined
|
|
@@ -139487,6 +139493,8 @@ export type Routes = {
|
|
|
139487
139493
|
publishable_key?: string | undefined
|
|
139488
139494
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
139489
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
|
|
139490
139498
|
}[]
|
|
139491
139499
|
}
|
|
139492
139500
|
maxDuration: undefined
|
|
@@ -141432,6 +141440,8 @@ export type Routes = {
|
|
|
141432
141440
|
jsonBody: {
|
|
141433
141441
|
/** Name of the workspace. */
|
|
141434
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
|
|
141435
141445
|
/** Connect partner name for the workspace. */
|
|
141436
141446
|
connect_partner_name?: string | undefined
|
|
141437
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). */
|