@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.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"
|