@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
package/dist/connect.d.cts
CHANGED
|
@@ -29121,6 +29121,7 @@ declare const workspace: z.ZodObject<{
|
|
|
29121
29121
|
connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
|
|
29122
29122
|
publishable_key: z.ZodOptional<z.ZodString>;
|
|
29123
29123
|
is_publishable_key_auth_enabled: z.ZodBoolean;
|
|
29124
|
+
organization_id: z.ZodNullable<z.ZodString>;
|
|
29124
29125
|
}, "strip", z.ZodTypeAny, {
|
|
29125
29126
|
name: string;
|
|
29126
29127
|
workspace_id: string;
|
|
@@ -29136,6 +29137,7 @@ declare const workspace: z.ZodObject<{
|
|
|
29136
29137
|
};
|
|
29137
29138
|
connect_partner_name: string | null;
|
|
29138
29139
|
is_publishable_key_auth_enabled: boolean;
|
|
29140
|
+
organization_id: string | null;
|
|
29139
29141
|
publishable_key?: string | undefined;
|
|
29140
29142
|
}, {
|
|
29141
29143
|
name: string;
|
|
@@ -29152,6 +29154,7 @@ declare const workspace: z.ZodObject<{
|
|
|
29152
29154
|
};
|
|
29153
29155
|
connect_partner_name: string | null;
|
|
29154
29156
|
is_publishable_key_auth_enabled: boolean;
|
|
29157
|
+
organization_id: string | null;
|
|
29155
29158
|
publishable_key?: string | undefined;
|
|
29156
29159
|
}>;
|
|
29157
29160
|
type Workspace = z.infer<typeof workspace>;
|
|
@@ -136717,6 +136720,8 @@ type Routes = {
|
|
|
136717
136720
|
publishable_key?: string | undefined;
|
|
136718
136721
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
136719
136722
|
is_publishable_key_auth_enabled: boolean;
|
|
136723
|
+
/** 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. */
|
|
136724
|
+
organization_id: string | null;
|
|
136720
136725
|
};
|
|
136721
136726
|
};
|
|
136722
136727
|
maxDuration: undefined;
|
|
@@ -136971,6 +136976,8 @@ type Routes = {
|
|
|
136971
136976
|
publishable_key?: string | undefined;
|
|
136972
136977
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
136973
136978
|
is_publishable_key_auth_enabled: boolean;
|
|
136979
|
+
/** 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. */
|
|
136980
|
+
organization_id: string | null;
|
|
136974
136981
|
}[] | undefined;
|
|
136975
136982
|
devices?: {
|
|
136976
136983
|
/** ID of the device. */
|
|
@@ -146360,6 +146367,8 @@ type Routes = {
|
|
|
146360
146367
|
publishable_key?: string | undefined;
|
|
146361
146368
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
146362
146369
|
is_publishable_key_auth_enabled: boolean;
|
|
146370
|
+
/** 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. */
|
|
146371
|
+
organization_id: string | null;
|
|
146363
146372
|
};
|
|
146364
146373
|
};
|
|
146365
146374
|
maxDuration: undefined;
|
|
@@ -146402,6 +146411,8 @@ type Routes = {
|
|
|
146402
146411
|
publishable_key?: string | undefined;
|
|
146403
146412
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
146404
146413
|
is_publishable_key_auth_enabled: boolean;
|
|
146414
|
+
/** 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. */
|
|
146415
|
+
organization_id: string | null;
|
|
146405
146416
|
}[];
|
|
146406
146417
|
};
|
|
146407
146418
|
maxDuration: undefined;
|
|
@@ -148081,6 +148092,8 @@ type Routes = {
|
|
|
148081
148092
|
jsonBody: {
|
|
148082
148093
|
/** Name of the workspace. */
|
|
148083
148094
|
name?: string | undefined;
|
|
148095
|
+
/** 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. */
|
|
148096
|
+
organization_id?: string | undefined;
|
|
148084
148097
|
/** Connect partner name for the workspace. */
|
|
148085
148098
|
connect_partner_name?: string | undefined;
|
|
148086
148099
|
/** [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/dist/index.cjs
CHANGED
|
@@ -6924,6 +6924,9 @@ var workspace = zod.z.object({
|
|
|
6924
6924
|
),
|
|
6925
6925
|
is_publishable_key_auth_enabled: zod.z.boolean().describe(
|
|
6926
6926
|
"Indicates whether publishable key authentication is enabled for this workspace."
|
|
6927
|
+
),
|
|
6928
|
+
organization_id: zod.z.string().uuid().nullable().describe(
|
|
6929
|
+
"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."
|
|
6927
6930
|
)
|
|
6928
6931
|
}).describe(`
|
|
6929
6932
|
---
|
|
@@ -36903,6 +36906,12 @@ var openapi = {
|
|
|
36903
36906
|
description: "Name of the [workspace](https://docs.seam.co/core-concepts/workspaces).",
|
|
36904
36907
|
type: "string"
|
|
36905
36908
|
},
|
|
36909
|
+
organization_id: {
|
|
36910
|
+
description: "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.",
|
|
36911
|
+
format: "uuid",
|
|
36912
|
+
nullable: true,
|
|
36913
|
+
type: "string"
|
|
36914
|
+
},
|
|
36906
36915
|
publishable_key: {
|
|
36907
36916
|
description: "Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.",
|
|
36908
36917
|
type: "string"
|
|
@@ -36921,7 +36930,8 @@ var openapi = {
|
|
|
36921
36930
|
"connect_webview_customization",
|
|
36922
36931
|
"is_suspended",
|
|
36923
36932
|
"connect_partner_name",
|
|
36924
|
-
"is_publishable_key_auth_enabled"
|
|
36933
|
+
"is_publishable_key_auth_enabled",
|
|
36934
|
+
"organization_id"
|
|
36925
36935
|
],
|
|
36926
36936
|
type: "object",
|
|
36927
36937
|
"x-route-path": "/workspaces"
|
|
@@ -88146,6 +88156,11 @@ var openapi = {
|
|
|
88146
88156
|
name: {
|
|
88147
88157
|
description: "Name of the workspace.",
|
|
88148
88158
|
type: "string"
|
|
88159
|
+
},
|
|
88160
|
+
organization_id: {
|
|
88161
|
+
description: "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.",
|
|
88162
|
+
format: "uuid",
|
|
88163
|
+
type: "string"
|
|
88149
88164
|
}
|
|
88150
88165
|
},
|
|
88151
88166
|
type: "object"
|
|
@@ -88220,6 +88235,11 @@ var openapi = {
|
|
|
88220
88235
|
name: {
|
|
88221
88236
|
description: "Name of the workspace.",
|
|
88222
88237
|
type: "string"
|
|
88238
|
+
},
|
|
88239
|
+
organization_id: {
|
|
88240
|
+
description: "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.",
|
|
88241
|
+
format: "uuid",
|
|
88242
|
+
type: "string"
|
|
88223
88243
|
}
|
|
88224
88244
|
},
|
|
88225
88245
|
type: "object"
|