@seamapi/types 1.1121.0 → 1.1122.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.
@@ -88295,6 +88295,8 @@ export type Routes = {
88295
88295
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
88296
88296
  customer_key: string | null;
88297
88297
  created_at: string;
88298
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
88299
+ is_workspace_default: boolean;
88298
88300
  logo_url?: string | undefined;
88299
88301
  primary_color?: string | undefined;
88300
88302
  secondary_color?: string | undefined;
@@ -148758,6 +148760,8 @@ export type Routes = {
148758
148760
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
148759
148761
  customer_key: string | null;
148760
148762
  created_at: string;
148763
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
148764
+ is_workspace_default: boolean;
148761
148765
  logo_url?: string | undefined;
148762
148766
  primary_color?: string | undefined;
148763
148767
  secondary_color?: string | undefined;
@@ -148919,6 +148923,8 @@ export type Routes = {
148919
148923
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
148920
148924
  customer_key: string | null;
148921
148925
  created_at: string;
148926
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
148927
+ is_workspace_default: boolean;
148922
148928
  logo_url?: string | undefined;
148923
148929
  primary_color?: string | undefined;
148924
148930
  secondary_color?: string | undefined;
@@ -149080,6 +149086,8 @@ export type Routes = {
149080
149086
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
149081
149087
  customer_key: string | null;
149082
149088
  created_at: string;
149089
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
149090
+ is_workspace_default: boolean;
149083
149091
  logo_url?: string | undefined;
149084
149092
  primary_color?: string | undefined;
149085
149093
  secondary_color?: string | undefined;
@@ -149367,6 +149375,7 @@ export type Routes = {
149367
149375
  [x: string]: string;
149368
149376
  };
149369
149377
  } | undefined) | null;
149378
+ is_workspace_default?: boolean | undefined;
149370
149379
  };
149371
149380
  commonParams: {};
149372
149381
  formData: {};
@@ -160544,6 +160553,8 @@ export type Routes = {
160544
160553
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
160545
160554
  customer_key: string | null;
160546
160555
  created_at: string;
160556
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
160557
+ is_workspace_default: boolean;
160547
160558
  logo_url?: string | undefined;
160548
160559
  primary_color?: string | undefined;
160549
160560
  secondary_color?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1121.0",
3
+ "version": "1.1122.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -120,6 +120,11 @@ export const customization_profile = z.object({
120
120
  'Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer.',
121
121
  ),
122
122
  created_at: datetime,
123
+ is_workspace_default: z
124
+ .boolean()
125
+ .describe(
126
+ "Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile.",
127
+ ),
123
128
  logo_url: z.string().url().optional(),
124
129
  primary_color: z.string().optional(),
125
130
  secondary_color: z.string().optional(),
@@ -14918,6 +14918,11 @@ const openapi: OpenAPISpec = {
14918
14918
  },
14919
14919
  type: 'object',
14920
14920
  },
14921
+ is_workspace_default: {
14922
+ description:
14923
+ "Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile.",
14924
+ type: 'boolean',
14925
+ },
14921
14926
  logo_url: { format: 'uri', type: 'string' },
14922
14927
  message_overrides: {
14923
14928
  additionalProperties: {
@@ -14937,6 +14942,7 @@ const openapi: OpenAPISpec = {
14937
14942
  'customization_profile_id',
14938
14943
  'customer_key',
14939
14944
  'created_at',
14945
+ 'is_workspace_default',
14940
14946
  ],
14941
14947
  type: 'object',
14942
14948
  'x-route-path': '/workspaces/customization_profiles',
@@ -76372,7 +76378,7 @@ const openapi: OpenAPISpec = {
76372
76378
  '/workspaces/customization_profiles/create': {
76373
76379
  post: {
76374
76380
  description:
76375
- "Creates a customization profile. From a customer client session, the profile is owned by that customer, and it becomes the customer's `customization_profile_id` when the customer has none yet.",
76381
+ "Creates a customization profile. From a customer client session, the profile is owned by that customer, and it becomes the customer's `customization_profile_id` when the customer has none yet. A workspace's first workspace-level profile becomes its default (`is_workspace_default`).",
76376
76382
  operationId: 'workspacesCustomizationProfilesCreatePost',
76377
76383
  requestBody: {
76378
76384
  content: {
@@ -76864,7 +76870,8 @@ const openapi: OpenAPISpec = {
76864
76870
  },
76865
76871
  '/workspaces/customization_profiles/update': {
76866
76872
  patch: {
76867
- description: 'Updates the customization profile for the workspace.',
76873
+ description:
76874
+ "Updates the customization profile for the workspace.\n\n`is_workspace_default: true` makes a workspace-level profile the workspace's default, replacing the previous one: access grants and Instant Keys created without a customization profile use it. `false` removes it, so they use the Seam default again. A customer client session can't change the default.",
76868
76875
  operationId: 'workspacesCustomizationProfilesUpdatePatch',
76869
76876
  requestBody: {
76870
76877
  content: {
@@ -77196,6 +77203,7 @@ const openapi: OpenAPISpec = {
77196
77203
  },
77197
77204
  type: 'object',
77198
77205
  },
77206
+ is_workspace_default: { type: 'boolean' },
77199
77207
  message_overrides: {
77200
77208
  additionalProperties: {
77201
77209
  additionalProperties: { type: 'string' },
@@ -105620,6 +105620,8 @@ export type Routes = {
105620
105620
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
105621
105621
  customer_key: string | null
105622
105622
  created_at: string
105623
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
105624
+ is_workspace_default: boolean
105623
105625
  logo_url?: string | undefined
105624
105626
  primary_color?: string | undefined
105625
105627
  secondary_color?: string | undefined
@@ -176679,6 +176681,8 @@ export type Routes = {
176679
176681
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
176680
176682
  customer_key: string | null
176681
176683
  created_at: string
176684
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
176685
+ is_workspace_default: boolean
176682
176686
  logo_url?: string | undefined
176683
176687
  primary_color?: string | undefined
176684
176688
  secondary_color?: string | undefined
@@ -176850,6 +176854,8 @@ export type Routes = {
176850
176854
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
176851
176855
  customer_key: string | null
176852
176856
  created_at: string
176857
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
176858
+ is_workspace_default: boolean
176853
176859
  logo_url?: string | undefined
176854
176860
  primary_color?: string | undefined
176855
176861
  secondary_color?: string | undefined
@@ -177021,6 +177027,8 @@ export type Routes = {
177021
177027
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
177022
177028
  customer_key: string | null
177023
177029
  created_at: string
177030
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
177031
+ is_workspace_default: boolean
177024
177032
  logo_url?: string | undefined
177025
177033
  primary_color?: string | undefined
177026
177034
  secondary_color?: string | undefined
@@ -177337,6 +177345,7 @@ export type Routes = {
177337
177345
  | undefined
177338
177346
  )
177339
177347
  | null
177348
+ is_workspace_default?: boolean | undefined
177340
177349
  }
177341
177350
  commonParams: {}
177342
177351
  formData: {}
@@ -190481,6 +190490,8 @@ export type Routes = {
190481
190490
  /** Key of the customer that owns the profile, or `null` for a workspace-level profile. A customer can own a profile without using it; the profile a customer uses is `customization_profile_id` on the customer. */
190482
190491
  customer_key: string | null
190483
190492
  created_at: string
190493
+ /** Whether this is the workspace's default profile, used for access grants and Instant Keys created without a customization profile. */
190494
+ is_workspace_default: boolean
190484
190495
  logo_url?: string | undefined
190485
190496
  primary_color?: string | undefined
190486
190497
  secondary_color?: string | undefined