@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.
- package/dist/connect.cjs +33 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +17 -2
- package/dist/index.cjs +33 -5
- 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 +29 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/workspaces/workspace.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +36 -4
- package/src/lib/seam/connect/route-types.ts +14 -2
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>;
|
|
@@ -44278,8 +44281,10 @@ type Routes = {
|
|
|
44278
44281
|
commonParams: {
|
|
44279
44282
|
/** Display name for the access grant. */
|
|
44280
44283
|
name?: (string | null) | undefined;
|
|
44281
|
-
/** ID of the Access Grant to update. */
|
|
44282
|
-
access_grant_id
|
|
44284
|
+
/** ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
|
|
44285
|
+
access_grant_id?: string | undefined;
|
|
44286
|
+
/** Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
|
|
44287
|
+
access_grant_key?: string | undefined;
|
|
44283
44288
|
/** 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. */
|
|
44284
44289
|
starts_at?: string | undefined;
|
|
44285
44290
|
/** 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`. */
|
|
@@ -136715,6 +136720,8 @@ type Routes = {
|
|
|
136715
136720
|
publishable_key?: string | undefined;
|
|
136716
136721
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
136717
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;
|
|
136718
136725
|
};
|
|
136719
136726
|
};
|
|
136720
136727
|
maxDuration: undefined;
|
|
@@ -136969,6 +136976,8 @@ type Routes = {
|
|
|
136969
136976
|
publishable_key?: string | undefined;
|
|
136970
136977
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
136971
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;
|
|
136972
136981
|
}[] | undefined;
|
|
136973
136982
|
devices?: {
|
|
136974
136983
|
/** ID of the device. */
|
|
@@ -146358,6 +146367,8 @@ type Routes = {
|
|
|
146358
146367
|
publishable_key?: string | undefined;
|
|
146359
146368
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
146360
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;
|
|
146361
146372
|
};
|
|
146362
146373
|
};
|
|
146363
146374
|
maxDuration: undefined;
|
|
@@ -146400,6 +146411,8 @@ type Routes = {
|
|
|
146400
146411
|
publishable_key?: string | undefined;
|
|
146401
146412
|
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
146402
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;
|
|
146403
146416
|
}[];
|
|
146404
146417
|
};
|
|
146405
146418
|
maxDuration: undefined;
|
|
@@ -148079,6 +148092,8 @@ type Routes = {
|
|
|
148079
148092
|
jsonBody: {
|
|
148080
148093
|
/** Name of the workspace. */
|
|
148081
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;
|
|
148082
148097
|
/** Connect partner name for the workspace. */
|
|
148083
148098
|
connect_partner_name?: string | undefined;
|
|
148084
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"
|
|
@@ -43577,10 +43587,15 @@ var openapi = {
|
|
|
43577
43587
|
schema: {
|
|
43578
43588
|
properties: {
|
|
43579
43589
|
access_grant_id: {
|
|
43580
|
-
description: "ID of the Access Grant to update.",
|
|
43590
|
+
description: "ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.",
|
|
43581
43591
|
format: "uuid",
|
|
43582
43592
|
type: "string"
|
|
43583
43593
|
},
|
|
43594
|
+
access_grant_key: {
|
|
43595
|
+
description: "Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.",
|
|
43596
|
+
minLength: 1,
|
|
43597
|
+
type: "string"
|
|
43598
|
+
},
|
|
43584
43599
|
ends_at: {
|
|
43585
43600
|
description: "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`.",
|
|
43586
43601
|
format: "date-time",
|
|
@@ -43598,7 +43613,6 @@ var openapi = {
|
|
|
43598
43613
|
type: "string"
|
|
43599
43614
|
}
|
|
43600
43615
|
},
|
|
43601
|
-
required: ["access_grant_id"],
|
|
43602
43616
|
type: "object"
|
|
43603
43617
|
}
|
|
43604
43618
|
}
|
|
@@ -43642,10 +43656,15 @@ var openapi = {
|
|
|
43642
43656
|
schema: {
|
|
43643
43657
|
properties: {
|
|
43644
43658
|
access_grant_id: {
|
|
43645
|
-
description: "ID of the Access Grant to update.",
|
|
43659
|
+
description: "ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.",
|
|
43646
43660
|
format: "uuid",
|
|
43647
43661
|
type: "string"
|
|
43648
43662
|
},
|
|
43663
|
+
access_grant_key: {
|
|
43664
|
+
description: "Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.",
|
|
43665
|
+
minLength: 1,
|
|
43666
|
+
type: "string"
|
|
43667
|
+
},
|
|
43649
43668
|
ends_at: {
|
|
43650
43669
|
description: "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`.",
|
|
43651
43670
|
format: "date-time",
|
|
@@ -43663,7 +43682,6 @@ var openapi = {
|
|
|
43663
43682
|
type: "string"
|
|
43664
43683
|
}
|
|
43665
43684
|
},
|
|
43666
|
-
required: ["access_grant_id"],
|
|
43667
43685
|
type: "object"
|
|
43668
43686
|
}
|
|
43669
43687
|
}
|
|
@@ -88138,6 +88156,11 @@ var openapi = {
|
|
|
88138
88156
|
name: {
|
|
88139
88157
|
description: "Name of the workspace.",
|
|
88140
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"
|
|
88141
88164
|
}
|
|
88142
88165
|
},
|
|
88143
88166
|
type: "object"
|
|
@@ -88212,6 +88235,11 @@ var openapi = {
|
|
|
88212
88235
|
name: {
|
|
88213
88236
|
description: "Name of the workspace.",
|
|
88214
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"
|
|
88215
88243
|
}
|
|
88216
88244
|
},
|
|
88217
88245
|
type: "object"
|