@seamapi/types 1.639.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.
Files changed (34) hide show
  1. package/dist/connect.cjs +69 -24
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +219 -40
  4. package/dist/index.cjs +69 -24
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/batch.d.ts +106 -26
  9. package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
  10. package/lib/seam/connect/models/customer/customer-portal.js +5 -0
  11. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  12. package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +46 -2
  13. package/lib/seam/connect/models/customization-profiles/customization-profile.js +8 -0
  14. package/lib/seam/connect/models/customization-profiles/customization-profile.js.map +1 -1
  15. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
  16. package/lib/seam/connect/models/partner/magic-link.d.ts +0 -5
  17. package/lib/seam/connect/models/partner/magic-link.js +0 -4
  18. package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
  19. package/lib/seam/connect/openapi.d.ts +85 -6
  20. package/lib/seam/connect/openapi.js +53 -12
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +48 -10
  23. package/lib/seam/connect/schemas.d.ts +1 -1
  24. package/lib/seam/connect/schemas.js +1 -1
  25. package/lib/seam/connect/schemas.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/internal/schemas.ts +1 -1
  28. package/src/lib/seam/connect/model-types.ts +0 -1
  29. package/src/lib/seam/connect/models/customer/customer-portal.ts +5 -0
  30. package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +10 -0
  31. package/src/lib/seam/connect/models/partner/magic-link.ts +0 -7
  32. package/src/lib/seam/connect/openapi.ts +56 -12
  33. package/src/lib/seam/connect/route-types.ts +65 -26
  34. package/src/lib/seam/connect/schemas.ts +0 -1
@@ -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. */
@@ -78086,8 +78096,6 @@ export type Routes = {
78086
78096
  magic_link: {
78087
78097
  /** URL for the magic link. */
78088
78098
  url: string;
78089
- /** Type of partner building block. */
78090
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
78091
78099
  /** Customer key for the magic link. */
78092
78100
  customer_key: string;
78093
78101
  /** Date and time at which the magic link expires. */
@@ -78127,8 +78135,6 @@ export type Routes = {
78127
78135
  magic_link: {
78128
78136
  /** URL for the magic link. */
78129
78137
  url: string;
78130
- /** Type of partner building block. */
78131
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
78132
78138
  /** Customer key for the magic link. */
78133
78139
  customer_key: string;
78134
78140
  /** Date and time at which the magic link expires. */
@@ -78159,8 +78165,6 @@ export type Routes = {
78159
78165
  magic_link: {
78160
78166
  /** URL for the magic link. */
78161
78167
  url: string;
78162
- /** Type of partner building block. */
78163
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
78164
78168
  /** Customer key for the magic link. */
78165
78169
  customer_key: string;
78166
78170
  /** Date and time at which the magic link expires. */
@@ -78198,8 +78202,6 @@ export type Routes = {
78198
78202
  magic_link: {
78199
78203
  /** URL for the magic link. */
78200
78204
  url: string;
78201
- /** Type of partner building block. */
78202
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
78203
78205
  /** Customer key for the magic link. */
78204
78206
  customer_key: string;
78205
78207
  /** Date and time at which the magic link expires. */
@@ -81793,8 +81795,14 @@ export type Routes = {
81793
81795
  queryParams: {};
81794
81796
  jsonBody: {
81795
81797
  name?: string | null;
81796
- primary_color: string;
81797
- 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;
81798
81806
  };
81799
81807
  commonParams: {};
81800
81808
  formData: {};
@@ -81808,6 +81816,12 @@ export type Routes = {
81808
81816
  logo_url?: string | undefined;
81809
81817
  primary_color?: string | undefined;
81810
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;
81811
81825
  };
81812
81826
  };
81813
81827
  };
@@ -81830,6 +81844,12 @@ export type Routes = {
81830
81844
  logo_url?: string | undefined;
81831
81845
  primary_color?: string | undefined;
81832
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;
81833
81853
  };
81834
81854
  };
81835
81855
  };
@@ -81852,6 +81872,12 @@ export type Routes = {
81852
81872
  logo_url?: string | undefined;
81853
81873
  primary_color?: string | undefined;
81854
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;
81855
81881
  }[];
81856
81882
  };
81857
81883
  };
@@ -81864,6 +81890,12 @@ export type Routes = {
81864
81890
  name?: (string | undefined) | null;
81865
81891
  primary_color?: string | undefined;
81866
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;
81867
81899
  };
81868
81900
  commonParams: {};
81869
81901
  formData: {};
@@ -89051,6 +89083,12 @@ export type Routes = {
89051
89083
  logo_url?: string | undefined;
89052
89084
  primary_color?: string | undefined;
89053
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;
89054
89092
  }[] | undefined;
89055
89093
  };
89056
89094
  };
@@ -1 +1 @@
1
- export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.639.0",
3
+ "version": "1.641.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -28,7 +28,6 @@ export {
28
28
  bridge,
29
29
  bridge_client_session,
30
30
  bridge_connected_system,
31
- building_block_type,
32
31
  building_resource,
33
32
  capabilities,
34
33
  climate_preset,
@@ -40,6 +39,7 @@ export {
40
39
  connected_account,
41
40
  custom_metadata_input,
42
41
  customer_data,
42
+ customer_portal_theme,
43
43
  device_capability_flags,
44
44
  device_metadata,
45
45
  device_provider,
@@ -13,7 +13,6 @@ export type {
13
13
  ActionAttempt,
14
14
  Batch,
15
15
  Bridge,
16
- BuildingBlockType,
17
16
  ClientSession,
18
17
  ClimatePreset,
19
18
  ConnectedAccount,
@@ -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
@@ -1,14 +1,7 @@
1
1
  import { z } from 'zod'
2
2
 
3
- export const building_block_type = z
4
- .enum(['connect_accounts', 'manage_devices', 'organize_spaces', 'console'])
5
- .describe('Type of partner building block.')
6
-
7
- export type BuildingBlockType = z.infer<typeof building_block_type>
8
-
9
3
  export const magic_link = z.object({
10
4
  url: z.string().url().describe('URL for the magic link.'),
11
- building_block_type,
12
5
  customer_key: z.string().describe('Customer key for the magic link.'),
13
6
  expires_at: z
14
7
  .string()
@@ -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' },
@@ -19644,16 +19653,6 @@ export default {
19644
19653
  description:
19645
19654
  "Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product—either by sharing a link with users or embedding a view in an iframe.\n\nWith Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.\n\nSeam hosts these flows, handling everything from account connection and device mapping to full-featured device control.",
19646
19655
  properties: {
19647
- building_block_type: {
19648
- description: 'Type of partner building block.',
19649
- enum: [
19650
- 'connect_accounts',
19651
- 'manage_devices',
19652
- 'organize_spaces',
19653
- 'console',
19654
- ],
19655
- type: 'string',
19656
- },
19657
19656
  created_at: {
19658
19657
  description: 'Date and time at which the magic link was created.',
19659
19658
  format: 'date-time',
@@ -19682,7 +19681,6 @@ export default {
19682
19681
  },
19683
19682
  required: [
19684
19683
  'url',
19685
- 'building_block_type',
19686
19684
  'customer_key',
19687
19685
  'expires_at',
19688
19686
  'workspace_id',
@@ -41242,6 +41240,12 @@ export default {
41242
41240
  'Indicates whether the customer can customize the Instant Key profile for their properties.',
41243
41241
  type: 'boolean',
41244
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
+ },
41245
41249
  exclude: {
41246
41250
  default: false,
41247
41251
  description:
@@ -53903,6 +53907,12 @@ export default {
53903
53907
  'Indicates whether the customer can customize the Instant Key profile for their properties.',
53904
53908
  type: 'boolean',
53905
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
+ },
53906
53916
  exclude: {
53907
53917
  default: false,
53908
53918
  description:
@@ -54209,6 +54219,12 @@ export default {
54209
54219
  'Indicates whether the customer can customize the Instant Key profile for their properties.',
54210
54220
  type: 'boolean',
54211
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
+ },
54212
54228
  exclude: {
54213
54229
  default: false,
54214
54230
  description:
@@ -65146,11 +65162,19 @@ export default {
65146
65162
  'application/json': {
65147
65163
  schema: {
65148
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
+ },
65149
65174
  name: { default: null, nullable: true, type: 'string' },
65150
65175
  primary_color: { type: 'string' },
65151
65176
  secondary_color: { type: 'string' },
65152
65177
  },
65153
- required: ['primary_color', 'secondary_color'],
65154
65178
  type: 'object',
65155
65179
  },
65156
65180
  },
@@ -65416,6 +65440,16 @@ export default {
65416
65440
  'application/json': {
65417
65441
  schema: {
65418
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
+ },
65419
65453
  customization_profile_id: { format: 'uuid', type: 'string' },
65420
65454
  name: { nullable: true, type: 'string' },
65421
65455
  primary_color: { type: 'string' },
@@ -65465,6 +65499,16 @@ export default {
65465
65499
  'application/json': {
65466
65500
  schema: {
65467
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
+ },
65468
65512
  customization_profile_id: { format: 'uuid', type: 'string' },
65469
65513
  name: { nullable: true, type: 'string' },
65470
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. */
@@ -92782,12 +92794,6 @@ export type Routes = {
92782
92794
  magic_link: {
92783
92795
  /** URL for the magic link. */
92784
92796
  url: string
92785
- /** Type of partner building block. */
92786
- building_block_type:
92787
- | 'connect_accounts'
92788
- | 'manage_devices'
92789
- | 'organize_spaces'
92790
- | 'console'
92791
92797
  /** Customer key for the magic link. */
92792
92798
  customer_key: string
92793
92799
  /** Date and time at which the magic link expires. */
@@ -92833,12 +92839,6 @@ export type Routes = {
92833
92839
  magic_link: {
92834
92840
  /** URL for the magic link. */
92835
92841
  url: string
92836
- /** Type of partner building block. */
92837
- building_block_type:
92838
- | 'connect_accounts'
92839
- | 'manage_devices'
92840
- | 'organize_spaces'
92841
- | 'console'
92842
92842
  /** Customer key for the magic link. */
92843
92843
  customer_key: string
92844
92844
  /** Date and time at which the magic link expires. */
@@ -92869,12 +92869,6 @@ export type Routes = {
92869
92869
  magic_link: {
92870
92870
  /** URL for the magic link. */
92871
92871
  url: string
92872
- /** Type of partner building block. */
92873
- building_block_type:
92874
- | 'connect_accounts'
92875
- | 'manage_devices'
92876
- | 'organize_spaces'
92877
- | 'console'
92878
92872
  /** Customer key for the magic link. */
92879
92873
  customer_key: string
92880
92874
  /** Date and time at which the magic link expires. */
@@ -92914,12 +92908,6 @@ export type Routes = {
92914
92908
  magic_link: {
92915
92909
  /** URL for the magic link. */
92916
92910
  url: string
92917
- /** Type of partner building block. */
92918
- building_block_type:
92919
- | 'connect_accounts'
92920
- | 'manage_devices'
92921
- | 'organize_spaces'
92922
- | 'console'
92923
92911
  /** Customer key for the magic link. */
92924
92912
  customer_key: string
92925
92913
  /** Date and time at which the magic link expires. */
@@ -97239,8 +97227,16 @@ export type Routes = {
97239
97227
  queryParams: {}
97240
97228
  jsonBody: {
97241
97229
  name?: string | null
97242
- primary_color: string
97243
- 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
97244
97240
  }
97245
97241
  commonParams: {}
97246
97242
  formData: {}
@@ -97254,6 +97250,14 @@ export type Routes = {
97254
97250
  logo_url?: string | undefined
97255
97251
  primary_color?: string | undefined
97256
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
97257
97261
  }
97258
97262
  }
97259
97263
  }
@@ -97276,6 +97280,14 @@ export type Routes = {
97276
97280
  logo_url?: string | undefined
97277
97281
  primary_color?: string | undefined
97278
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
97279
97291
  }
97280
97292
  }
97281
97293
  }
@@ -97298,6 +97310,14 @@ export type Routes = {
97298
97310
  logo_url?: string | undefined
97299
97311
  primary_color?: string | undefined
97300
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
97301
97321
  }[]
97302
97322
  }
97303
97323
  }
@@ -97310,6 +97330,17 @@ export type Routes = {
97310
97330
  name?: (string | undefined) | null
97311
97331
  primary_color?: string | undefined
97312
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
97313
97344
  }
97314
97345
  commonParams: {}
97315
97346
  formData: {}
@@ -105898,6 +105929,14 @@ export type Routes = {
105898
105929
  logo_url?: string | undefined
105899
105930
  primary_color?: string | undefined
105900
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
105901
105940
  }[]
105902
105941
  | undefined
105903
105942
  }
@@ -10,7 +10,6 @@ export {
10
10
  batch,
11
11
  bridge,
12
12
  bridge_client_session,
13
- building_block_type,
14
13
  client_session,
15
14
  common_failed_action_attempt,
16
15
  common_pending_action_attempt,