@seamapi/types 1.640.0 → 1.641.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.
@@ -20720,6 +20720,12 @@ export type Routes = {
20720
20720
  logo_url?: string | undefined;
20721
20721
  primary_color?: string | undefined;
20722
20722
  secondary_color?: string | undefined;
20723
+ customer_portal_theme?: {
20724
+ primary_color?: string | undefined;
20725
+ primary_foreground_color?: string | undefined;
20726
+ secondary_color?: string | undefined;
20727
+ secondary_foreground_color?: string | undefined;
20728
+ } | undefined;
20723
20729
  }[] | undefined;
20724
20730
  };
20725
20731
  };
@@ -31863,6 +31869,8 @@ export type Routes = {
31863
31869
  configure?: {
31864
31870
  /** Whether to exclude this feature from the portal. */
31865
31871
  exclude?: boolean;
31872
+ /** The ID of the customization profile to use for the portal. */
31873
+ customization_profile_id?: string | undefined;
31866
31874
  /** Indicates whether the customer can customize the access automation rules for their properties. */
31867
31875
  allow_access_automation_rule_customization?: boolean;
31868
31876
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
@@ -59560,6 +59568,8 @@ export type Routes = {
59560
59568
  configure?: {
59561
59569
  /** Whether to exclude this feature from the portal. */
59562
59570
  exclude?: boolean;
59571
+ /** The ID of the customization profile to use for the portal. */
59572
+ customization_profile_id?: string | undefined;
59563
59573
  /** Indicates whether the customer can customize the access automation rules for their properties. */
59564
59574
  allow_access_automation_rule_customization?: boolean;
59565
59575
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
@@ -81785,8 +81795,14 @@ export type Routes = {
81785
81795
  queryParams: {};
81786
81796
  jsonBody: {
81787
81797
  name?: string | null;
81788
- primary_color: string;
81789
- secondary_color: string;
81798
+ primary_color?: string | undefined;
81799
+ secondary_color?: string | undefined;
81800
+ customer_portal_theme?: {
81801
+ primary_color?: string | undefined;
81802
+ primary_foreground_color?: string | undefined;
81803
+ secondary_color?: string | undefined;
81804
+ secondary_foreground_color?: string | undefined;
81805
+ } | undefined;
81790
81806
  };
81791
81807
  commonParams: {};
81792
81808
  formData: {};
@@ -81800,6 +81816,12 @@ export type Routes = {
81800
81816
  logo_url?: string | undefined;
81801
81817
  primary_color?: string | undefined;
81802
81818
  secondary_color?: string | undefined;
81819
+ customer_portal_theme?: {
81820
+ primary_color?: string | undefined;
81821
+ primary_foreground_color?: string | undefined;
81822
+ secondary_color?: string | undefined;
81823
+ secondary_foreground_color?: string | undefined;
81824
+ } | undefined;
81803
81825
  };
81804
81826
  };
81805
81827
  };
@@ -81822,6 +81844,12 @@ export type Routes = {
81822
81844
  logo_url?: string | undefined;
81823
81845
  primary_color?: string | undefined;
81824
81846
  secondary_color?: string | undefined;
81847
+ customer_portal_theme?: {
81848
+ primary_color?: string | undefined;
81849
+ primary_foreground_color?: string | undefined;
81850
+ secondary_color?: string | undefined;
81851
+ secondary_foreground_color?: string | undefined;
81852
+ } | undefined;
81825
81853
  };
81826
81854
  };
81827
81855
  };
@@ -81844,6 +81872,12 @@ export type Routes = {
81844
81872
  logo_url?: string | undefined;
81845
81873
  primary_color?: string | undefined;
81846
81874
  secondary_color?: string | undefined;
81875
+ customer_portal_theme?: {
81876
+ primary_color?: string | undefined;
81877
+ primary_foreground_color?: string | undefined;
81878
+ secondary_color?: string | undefined;
81879
+ secondary_foreground_color?: string | undefined;
81880
+ } | undefined;
81847
81881
  }[];
81848
81882
  };
81849
81883
  };
@@ -81856,6 +81890,12 @@ export type Routes = {
81856
81890
  name?: (string | undefined) | null;
81857
81891
  primary_color?: string | undefined;
81858
81892
  secondary_color?: string | undefined;
81893
+ customer_portal_theme?: ({
81894
+ primary_color?: string | undefined;
81895
+ primary_foreground_color?: string | undefined;
81896
+ secondary_color?: string | undefined;
81897
+ secondary_foreground_color?: string | undefined;
81898
+ } | undefined) | null;
81859
81899
  };
81860
81900
  commonParams: {};
81861
81901
  formData: {};
@@ -89043,6 +89083,12 @@ export type Routes = {
89043
89083
  logo_url?: string | undefined;
89044
89084
  primary_color?: string | undefined;
89045
89085
  secondary_color?: string | undefined;
89086
+ customer_portal_theme?: {
89087
+ primary_color?: string | undefined;
89088
+ primary_foreground_color?: string | undefined;
89089
+ secondary_color?: string | undefined;
89090
+ secondary_foreground_color?: string | undefined;
89091
+ } | undefined;
89046
89092
  }[] | undefined;
89047
89093
  };
89048
89094
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.640.0",
3
+ "version": "1.641.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -39,6 +39,7 @@ export {
39
39
  connected_account,
40
40
  custom_metadata_input,
41
41
  customer_data,
42
+ customer_portal_theme,
42
43
  device_capability_flags,
43
44
  device_metadata,
44
45
  device_provider,
@@ -44,6 +44,11 @@ const base_manage_feature = base_feature.extend({
44
44
  const base_organize_feature = base_feature
45
45
 
46
46
  const base_configure_feature = base_feature.extend({
47
+ customization_profile_id: z
48
+ .string()
49
+ .uuid()
50
+ .optional()
51
+ .describe('The ID of the customization profile to use for the portal.'),
47
52
  allow_access_automation_rule_customization: z
48
53
  .boolean()
49
54
  .default(false)
@@ -1,5 +1,14 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ import { hex_color_code } from '../colors.js'
4
+
5
+ export const customer_portal_theme = z.object({
6
+ primary_color: hex_color_code.optional(),
7
+ primary_foreground_color: hex_color_code.optional(),
8
+ secondary_color: hex_color_code.optional(),
9
+ secondary_foreground_color: hex_color_code.optional(),
10
+ })
11
+
3
12
  export const customization_profile = z.object({
4
13
  workspace_id: z.string().uuid(),
5
14
  name: z.string().nullable(),
@@ -8,6 +17,7 @@ export const customization_profile = z.object({
8
17
  logo_url: z.string().url().optional(),
9
18
  primary_color: z.string().optional(),
10
19
  secondary_color: z.string().optional(),
20
+ customer_portal_theme: customer_portal_theme.optional(),
11
21
  }).describe(`
12
22
  ---
13
23
  title: Customization Profile
@@ -9408,6 +9408,15 @@ export default {
9408
9408
  description: 'A customization profile.',
9409
9409
  properties: {
9410
9410
  created_at: { format: 'date-time', type: 'string' },
9411
+ customer_portal_theme: {
9412
+ properties: {
9413
+ primary_color: { type: 'string' },
9414
+ primary_foreground_color: { type: 'string' },
9415
+ secondary_color: { type: 'string' },
9416
+ secondary_foreground_color: { type: 'string' },
9417
+ },
9418
+ type: 'object',
9419
+ },
9411
9420
  customization_profile_id: { format: 'uuid', type: 'string' },
9412
9421
  logo_url: { format: 'uri', type: 'string' },
9413
9422
  name: { nullable: true, type: 'string' },
@@ -41231,6 +41240,12 @@ export default {
41231
41240
  'Indicates whether the customer can customize the Instant Key profile for their properties.',
41232
41241
  type: 'boolean',
41233
41242
  },
41243
+ customization_profile_id: {
41244
+ description:
41245
+ 'The ID of the customization profile to use for the portal.',
41246
+ format: 'uuid',
41247
+ type: 'string',
41248
+ },
41234
41249
  exclude: {
41235
41250
  default: false,
41236
41251
  description:
@@ -53892,6 +53907,12 @@ export default {
53892
53907
  'Indicates whether the customer can customize the Instant Key profile for their properties.',
53893
53908
  type: 'boolean',
53894
53909
  },
53910
+ customization_profile_id: {
53911
+ description:
53912
+ 'The ID of the customization profile to use for the portal.',
53913
+ format: 'uuid',
53914
+ type: 'string',
53915
+ },
53895
53916
  exclude: {
53896
53917
  default: false,
53897
53918
  description:
@@ -54198,6 +54219,12 @@ export default {
54198
54219
  'Indicates whether the customer can customize the Instant Key profile for their properties.',
54199
54220
  type: 'boolean',
54200
54221
  },
54222
+ customization_profile_id: {
54223
+ description:
54224
+ 'The ID of the customization profile to use for the portal.',
54225
+ format: 'uuid',
54226
+ type: 'string',
54227
+ },
54201
54228
  exclude: {
54202
54229
  default: false,
54203
54230
  description:
@@ -65135,11 +65162,19 @@ export default {
65135
65162
  'application/json': {
65136
65163
  schema: {
65137
65164
  properties: {
65165
+ customer_portal_theme: {
65166
+ properties: {
65167
+ primary_color: { type: 'string' },
65168
+ primary_foreground_color: { type: 'string' },
65169
+ secondary_color: { type: 'string' },
65170
+ secondary_foreground_color: { type: 'string' },
65171
+ },
65172
+ type: 'object',
65173
+ },
65138
65174
  name: { default: null, nullable: true, type: 'string' },
65139
65175
  primary_color: { type: 'string' },
65140
65176
  secondary_color: { type: 'string' },
65141
65177
  },
65142
- required: ['primary_color', 'secondary_color'],
65143
65178
  type: 'object',
65144
65179
  },
65145
65180
  },
@@ -65405,6 +65440,16 @@ export default {
65405
65440
  'application/json': {
65406
65441
  schema: {
65407
65442
  properties: {
65443
+ customer_portal_theme: {
65444
+ nullable: true,
65445
+ properties: {
65446
+ primary_color: { type: 'string' },
65447
+ primary_foreground_color: { type: 'string' },
65448
+ secondary_color: { type: 'string' },
65449
+ secondary_foreground_color: { type: 'string' },
65450
+ },
65451
+ type: 'object',
65452
+ },
65408
65453
  customization_profile_id: { format: 'uuid', type: 'string' },
65409
65454
  name: { nullable: true, type: 'string' },
65410
65455
  primary_color: { type: 'string' },
@@ -65454,6 +65499,16 @@ export default {
65454
65499
  'application/json': {
65455
65500
  schema: {
65456
65501
  properties: {
65502
+ customer_portal_theme: {
65503
+ nullable: true,
65504
+ properties: {
65505
+ primary_color: { type: 'string' },
65506
+ primary_foreground_color: { type: 'string' },
65507
+ secondary_color: { type: 'string' },
65508
+ secondary_foreground_color: { type: 'string' },
65509
+ },
65510
+ type: 'object',
65511
+ },
65457
65512
  customization_profile_id: { format: 'uuid', type: 'string' },
65458
65513
  name: { nullable: true, type: 'string' },
65459
65514
  primary_color: { type: 'string' },
@@ -24083,6 +24083,14 @@ export type Routes = {
24083
24083
  logo_url?: string | undefined
24084
24084
  primary_color?: string | undefined
24085
24085
  secondary_color?: string | undefined
24086
+ customer_portal_theme?:
24087
+ | {
24088
+ primary_color?: string | undefined
24089
+ primary_foreground_color?: string | undefined
24090
+ secondary_color?: string | undefined
24091
+ secondary_foreground_color?: string | undefined
24092
+ }
24093
+ | undefined
24086
24094
  }[]
24087
24095
  | undefined
24088
24096
  }
@@ -36997,6 +37005,8 @@ export type Routes = {
36997
37005
  configure?: {
36998
37006
  /** Whether to exclude this feature from the portal. */
36999
37007
  exclude?: boolean
37008
+ /** The ID of the customization profile to use for the portal. */
37009
+ customization_profile_id?: string | undefined
37000
37010
  /** Indicates whether the customer can customize the access automation rules for their properties. */
37001
37011
  allow_access_automation_rule_customization?: boolean
37002
37012
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
@@ -70913,6 +70923,8 @@ export type Routes = {
70913
70923
  configure?: {
70914
70924
  /** Whether to exclude this feature from the portal. */
70915
70925
  exclude?: boolean
70926
+ /** The ID of the customization profile to use for the portal. */
70927
+ customization_profile_id?: string | undefined
70916
70928
  /** Indicates whether the customer can customize the access automation rules for their properties. */
70917
70929
  allow_access_automation_rule_customization?: boolean
70918
70930
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
@@ -97215,8 +97227,16 @@ export type Routes = {
97215
97227
  queryParams: {}
97216
97228
  jsonBody: {
97217
97229
  name?: string | null
97218
- primary_color: string
97219
- secondary_color: string
97230
+ primary_color?: string | undefined
97231
+ secondary_color?: string | undefined
97232
+ customer_portal_theme?:
97233
+ | {
97234
+ primary_color?: string | undefined
97235
+ primary_foreground_color?: string | undefined
97236
+ secondary_color?: string | undefined
97237
+ secondary_foreground_color?: string | undefined
97238
+ }
97239
+ | undefined
97220
97240
  }
97221
97241
  commonParams: {}
97222
97242
  formData: {}
@@ -97230,6 +97250,14 @@ export type Routes = {
97230
97250
  logo_url?: string | undefined
97231
97251
  primary_color?: string | undefined
97232
97252
  secondary_color?: string | undefined
97253
+ customer_portal_theme?:
97254
+ | {
97255
+ primary_color?: string | undefined
97256
+ primary_foreground_color?: string | undefined
97257
+ secondary_color?: string | undefined
97258
+ secondary_foreground_color?: string | undefined
97259
+ }
97260
+ | undefined
97233
97261
  }
97234
97262
  }
97235
97263
  }
@@ -97252,6 +97280,14 @@ export type Routes = {
97252
97280
  logo_url?: string | undefined
97253
97281
  primary_color?: string | undefined
97254
97282
  secondary_color?: string | undefined
97283
+ customer_portal_theme?:
97284
+ | {
97285
+ primary_color?: string | undefined
97286
+ primary_foreground_color?: string | undefined
97287
+ secondary_color?: string | undefined
97288
+ secondary_foreground_color?: string | undefined
97289
+ }
97290
+ | undefined
97255
97291
  }
97256
97292
  }
97257
97293
  }
@@ -97274,6 +97310,14 @@ export type Routes = {
97274
97310
  logo_url?: string | undefined
97275
97311
  primary_color?: string | undefined
97276
97312
  secondary_color?: string | undefined
97313
+ customer_portal_theme?:
97314
+ | {
97315
+ primary_color?: string | undefined
97316
+ primary_foreground_color?: string | undefined
97317
+ secondary_color?: string | undefined
97318
+ secondary_foreground_color?: string | undefined
97319
+ }
97320
+ | undefined
97277
97321
  }[]
97278
97322
  }
97279
97323
  }
@@ -97286,6 +97330,17 @@ export type Routes = {
97286
97330
  name?: (string | undefined) | null
97287
97331
  primary_color?: string | undefined
97288
97332
  secondary_color?: string | undefined
97333
+ customer_portal_theme?:
97334
+ | (
97335
+ | {
97336
+ primary_color?: string | undefined
97337
+ primary_foreground_color?: string | undefined
97338
+ secondary_color?: string | undefined
97339
+ secondary_foreground_color?: string | undefined
97340
+ }
97341
+ | undefined
97342
+ )
97343
+ | null
97289
97344
  }
97290
97345
  commonParams: {}
97291
97346
  formData: {}
@@ -105874,6 +105929,14 @@ export type Routes = {
105874
105929
  logo_url?: string | undefined
105875
105930
  primary_color?: string | undefined
105876
105931
  secondary_color?: string | undefined
105932
+ customer_portal_theme?:
105933
+ | {
105934
+ primary_color?: string | undefined
105935
+ primary_foreground_color?: string | undefined
105936
+ secondary_color?: string | undefined
105937
+ secondary_foreground_color?: string | undefined
105938
+ }
105939
+ | undefined
105877
105940
  }[]
105878
105941
  | undefined
105879
105942
  }