@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.
@@ -27,6 +27,7 @@ export declare const workspace: z.ZodObject<{
27
27
  connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
28
28
  publishable_key: z.ZodOptional<z.ZodString>;
29
29
  is_publishable_key_auth_enabled: z.ZodBoolean;
30
+ organization_id: z.ZodNullable<z.ZodString>;
30
31
  }, "strip", z.ZodTypeAny, {
31
32
  name: string;
32
33
  workspace_id: string;
@@ -42,6 +43,7 @@ export declare const workspace: z.ZodObject<{
42
43
  };
43
44
  connect_partner_name: string | null;
44
45
  is_publishable_key_auth_enabled: boolean;
46
+ organization_id: string | null;
45
47
  publishable_key?: string | undefined;
46
48
  }, {
47
49
  name: string;
@@ -58,6 +60,7 @@ export declare const workspace: z.ZodObject<{
58
60
  };
59
61
  connect_partner_name: string | null;
60
62
  is_publishable_key_auth_enabled: boolean;
63
+ organization_id: string | null;
61
64
  publishable_key?: string | undefined;
62
65
  }>;
63
66
  export type Workspace = z.infer<typeof workspace>;
@@ -53,6 +53,11 @@ export const workspace = z.object({
53
53
  is_publishable_key_auth_enabled: z
54
54
  .boolean()
55
55
  .describe('Indicates whether publishable key authentication is enabled for this workspace.'),
56
+ organization_id: z
57
+ .string()
58
+ .uuid()
59
+ .nullable()
60
+ .describe('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.'),
56
61
  }).describe(`
57
62
  ---
58
63
  route_path: /workspaces
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,SAAS,GAAG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AC;;;;;CAKX,CAAC,CAAA"}
1
+ {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,uEAAuE,CACxE;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACP,yEAAyE,CAC1E;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CACP,8FAA8F,CAC/F;IACH,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CACP,6HAA6H,CAC9H;IACH,6BAA6B,EAAE,CAAC,CAAC,MAAM,CAAC;QACtC,oBAAoB,EAAE,cAAc;aACjC,QAAQ,EAAE;aACV,QAAQ,CACP,4TAA4T,CAC7T;QACH,yBAAyB,EAAE,cAAc;aACtC,QAAQ,EAAE;aACV,QAAQ,CACP,iUAAiU,CAClU;QACH,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,uTAAuT,CACxT;QACH,UAAU,EAAE,CAAC;aACV,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;aAC1B,QAAQ,EAAE;aACV,QAAQ,CACP,kTAAkT,CACnT;QACH,gBAAgB,EAAE,CAAC;aAChB,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,+TAA+T,CAChU;KACJ,CAAC;IACF,YAAY,EAAE,CAAC;SACZ,OAAO,EAAE;SACT,QAAQ,CACP,oMAAoM,CACrM;IACH,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP;;;;GAIH,CACE;SACA,QAAQ,EAAE;IACb,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,6JAA6J,CAC9J;IACH,+BAA+B,EAAE,CAAC;SAC/B,OAAO,EAAE;SACT,QAAQ,CACP,iFAAiF,CAClF;IACH,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,wKAAwK,CACzK;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -29703,6 +29703,12 @@ const openapi = {
29703
29703
  description: 'Name of the [workspace](https://docs.seam.co/core-concepts/workspaces).',
29704
29704
  type: 'string',
29705
29705
  },
29706
+ organization_id: {
29707
+ 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.',
29708
+ format: 'uuid',
29709
+ nullable: true,
29710
+ type: 'string',
29711
+ },
29706
29712
  publishable_key: {
29707
29713
  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.',
29708
29714
  type: 'string',
@@ -29722,6 +29728,7 @@ const openapi = {
29722
29728
  'is_suspended',
29723
29729
  'connect_partner_name',
29724
29730
  'is_publishable_key_auth_enabled',
29731
+ 'organization_id',
29725
29732
  ],
29726
29733
  type: 'object',
29727
29734
  'x-route-path': '/workspaces',
@@ -36377,10 +36384,15 @@ const openapi = {
36377
36384
  schema: {
36378
36385
  properties: {
36379
36386
  access_grant_id: {
36380
- description: 'ID of the Access Grant to update.',
36387
+ description: 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
36381
36388
  format: 'uuid',
36382
36389
  type: 'string',
36383
36390
  },
36391
+ access_grant_key: {
36392
+ description: 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
36393
+ minLength: 1,
36394
+ type: 'string',
36395
+ },
36384
36396
  ends_at: {
36385
36397
  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`.',
36386
36398
  format: 'date-time',
@@ -36398,7 +36410,6 @@ const openapi = {
36398
36410
  type: 'string',
36399
36411
  },
36400
36412
  },
36401
- required: ['access_grant_id'],
36402
36413
  type: 'object',
36403
36414
  },
36404
36415
  },
@@ -36442,10 +36453,15 @@ const openapi = {
36442
36453
  schema: {
36443
36454
  properties: {
36444
36455
  access_grant_id: {
36445
- description: 'ID of the Access Grant to update.',
36456
+ description: 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
36446
36457
  format: 'uuid',
36447
36458
  type: 'string',
36448
36459
  },
36460
+ access_grant_key: {
36461
+ description: 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
36462
+ minLength: 1,
36463
+ type: 'string',
36464
+ },
36449
36465
  ends_at: {
36450
36466
  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`.',
36451
36467
  format: 'date-time',
@@ -36463,7 +36479,6 @@ const openapi = {
36463
36479
  type: 'string',
36464
36480
  },
36465
36481
  },
36466
- required: ['access_grant_id'],
36467
36482
  type: 'object',
36468
36483
  },
36469
36484
  },
@@ -80939,6 +80954,11 @@ const openapi = {
80939
80954
  description: 'Name of the workspace.',
80940
80955
  type: 'string',
80941
80956
  },
80957
+ organization_id: {
80958
+ 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.',
80959
+ format: 'uuid',
80960
+ type: 'string',
80961
+ },
80942
80962
  },
80943
80963
  type: 'object',
80944
80964
  },
@@ -81013,6 +81033,11 @@ const openapi = {
81013
81033
  description: 'Name of the workspace.',
81014
81034
  type: 'string',
81015
81035
  },
81036
+ organization_id: {
81037
+ 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.',
81038
+ format: 'uuid',
81039
+ type: 'string',
81040
+ },
81016
81041
  },
81017
81042
  type: 'object',
81018
81043
  },