@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.
@@ -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',
@@ -80947,6 +80954,11 @@ const openapi = {
80947
80954
  description: 'Name of the workspace.',
80948
80955
  type: 'string',
80949
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
+ },
80950
80962
  },
80951
80963
  type: 'object',
80952
80964
  },
@@ -81021,6 +81033,11 @@ const openapi = {
81021
81033
  description: 'Name of the workspace.',
81022
81034
  type: 'string',
81023
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
+ },
81024
81041
  },
81025
81042
  type: 'object',
81026
81043
  },