@seamapi/types 1.1127.0 → 1.1129.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.
@@ -1,4 +1,194 @@
1
1
  import * as z from 'zod/v3';
2
+ export declare const customer_portal_features: z.ZodObject<{
3
+ connect: z.ZodOptional<z.ZodObject<{
4
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5
+ accepted_providers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
6
+ excluded_providers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ accepted_providers?: string[] | undefined;
9
+ exclude?: boolean | undefined;
10
+ excluded_providers?: string[] | undefined;
11
+ }, {
12
+ accepted_providers?: string[] | undefined;
13
+ exclude?: boolean | undefined;
14
+ excluded_providers?: string[] | undefined;
15
+ }>>;
16
+ manage: z.ZodOptional<z.ZodObject<{
17
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
18
+ exclude_reservation_management: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
19
+ exclude_reservation_technical_details: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
20
+ exclude_staff_management: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
21
+ exclude_device_management: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
22
+ events: z.ZodOptional<z.ZodOptional<z.ZodObject<{
23
+ allowed_events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24
+ default_events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ allowed_events?: string[] | undefined;
27
+ default_events?: string[] | undefined;
28
+ }, {
29
+ allowed_events?: string[] | undefined;
30
+ default_events?: string[] | undefined;
31
+ }>>>;
32
+ device_management_confirmation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
33
+ title: z.ZodOptional<z.ZodString>;
34
+ body: z.ZodOptional<z.ZodString>;
35
+ confirm_button_label: z.ZodOptional<z.ZodString>;
36
+ cancel_button_label: z.ZodOptional<z.ZodString>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ title?: string | undefined;
39
+ body?: string | undefined;
40
+ confirm_button_label?: string | undefined;
41
+ cancel_button_label?: string | undefined;
42
+ }, {
43
+ title?: string | undefined;
44
+ body?: string | undefined;
45
+ confirm_button_label?: string | undefined;
46
+ cancel_button_label?: string | undefined;
47
+ }>>>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ exclude?: boolean | undefined;
50
+ exclude_reservation_management?: boolean | undefined;
51
+ exclude_reservation_technical_details?: boolean | undefined;
52
+ exclude_staff_management?: boolean | undefined;
53
+ exclude_device_management?: boolean | undefined;
54
+ events?: {
55
+ allowed_events?: string[] | undefined;
56
+ default_events?: string[] | undefined;
57
+ } | undefined;
58
+ device_management_confirmation?: {
59
+ title?: string | undefined;
60
+ body?: string | undefined;
61
+ confirm_button_label?: string | undefined;
62
+ cancel_button_label?: string | undefined;
63
+ } | undefined;
64
+ }, {
65
+ exclude?: boolean | undefined;
66
+ exclude_reservation_management?: boolean | undefined;
67
+ exclude_reservation_technical_details?: boolean | undefined;
68
+ exclude_staff_management?: boolean | undefined;
69
+ exclude_device_management?: boolean | undefined;
70
+ events?: {
71
+ allowed_events?: string[] | undefined;
72
+ default_events?: string[] | undefined;
73
+ } | undefined;
74
+ device_management_confirmation?: {
75
+ title?: string | undefined;
76
+ body?: string | undefined;
77
+ confirm_button_label?: string | undefined;
78
+ cancel_button_label?: string | undefined;
79
+ } | undefined;
80
+ }>>;
81
+ manage_devices: z.ZodOptional<z.ZodObject<{
82
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ exclude?: boolean | undefined;
85
+ }, {
86
+ exclude?: boolean | undefined;
87
+ }>>;
88
+ organize: z.ZodOptional<z.ZodObject<{
89
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ exclude?: boolean | undefined;
92
+ }, {
93
+ exclude?: boolean | undefined;
94
+ }>>;
95
+ configure: z.ZodOptional<z.ZodObject<{
96
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
97
+ allow_access_automation_rule_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
98
+ allow_climate_automation_rule_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
99
+ allow_sound_automation_rule_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
100
+ allow_instant_key_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
101
+ allow_notification_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ exclude?: boolean | undefined;
104
+ allow_access_automation_rule_customization?: boolean | undefined;
105
+ allow_climate_automation_rule_customization?: boolean | undefined;
106
+ allow_sound_automation_rule_customization?: boolean | undefined;
107
+ allow_instant_key_customization?: boolean | undefined;
108
+ allow_notification_customization?: boolean | undefined;
109
+ }, {
110
+ exclude?: boolean | undefined;
111
+ allow_access_automation_rule_customization?: boolean | undefined;
112
+ allow_climate_automation_rule_customization?: boolean | undefined;
113
+ allow_sound_automation_rule_customization?: boolean | undefined;
114
+ allow_instant_key_customization?: boolean | undefined;
115
+ allow_notification_customization?: boolean | undefined;
116
+ }>>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ connect?: {
119
+ accepted_providers?: string[] | undefined;
120
+ exclude?: boolean | undefined;
121
+ excluded_providers?: string[] | undefined;
122
+ } | undefined;
123
+ manage?: {
124
+ exclude?: boolean | undefined;
125
+ exclude_reservation_management?: boolean | undefined;
126
+ exclude_reservation_technical_details?: boolean | undefined;
127
+ exclude_staff_management?: boolean | undefined;
128
+ exclude_device_management?: boolean | undefined;
129
+ events?: {
130
+ allowed_events?: string[] | undefined;
131
+ default_events?: string[] | undefined;
132
+ } | undefined;
133
+ device_management_confirmation?: {
134
+ title?: string | undefined;
135
+ body?: string | undefined;
136
+ confirm_button_label?: string | undefined;
137
+ cancel_button_label?: string | undefined;
138
+ } | undefined;
139
+ } | undefined;
140
+ manage_devices?: {
141
+ exclude?: boolean | undefined;
142
+ } | undefined;
143
+ organize?: {
144
+ exclude?: boolean | undefined;
145
+ } | undefined;
146
+ configure?: {
147
+ exclude?: boolean | undefined;
148
+ allow_access_automation_rule_customization?: boolean | undefined;
149
+ allow_climate_automation_rule_customization?: boolean | undefined;
150
+ allow_sound_automation_rule_customization?: boolean | undefined;
151
+ allow_instant_key_customization?: boolean | undefined;
152
+ allow_notification_customization?: boolean | undefined;
153
+ } | undefined;
154
+ }, {
155
+ connect?: {
156
+ accepted_providers?: string[] | undefined;
157
+ exclude?: boolean | undefined;
158
+ excluded_providers?: string[] | undefined;
159
+ } | undefined;
160
+ manage?: {
161
+ exclude?: boolean | undefined;
162
+ exclude_reservation_management?: boolean | undefined;
163
+ exclude_reservation_technical_details?: boolean | undefined;
164
+ exclude_staff_management?: boolean | undefined;
165
+ exclude_device_management?: boolean | undefined;
166
+ events?: {
167
+ allowed_events?: string[] | undefined;
168
+ default_events?: string[] | undefined;
169
+ } | undefined;
170
+ device_management_confirmation?: {
171
+ title?: string | undefined;
172
+ body?: string | undefined;
173
+ confirm_button_label?: string | undefined;
174
+ cancel_button_label?: string | undefined;
175
+ } | undefined;
176
+ } | undefined;
177
+ manage_devices?: {
178
+ exclude?: boolean | undefined;
179
+ } | undefined;
180
+ organize?: {
181
+ exclude?: boolean | undefined;
182
+ } | undefined;
183
+ configure?: {
184
+ exclude?: boolean | undefined;
185
+ allow_access_automation_rule_customization?: boolean | undefined;
186
+ allow_climate_automation_rule_customization?: boolean | undefined;
187
+ allow_sound_automation_rule_customization?: boolean | undefined;
188
+ allow_instant_key_customization?: boolean | undefined;
189
+ allow_notification_customization?: boolean | undefined;
190
+ } | undefined;
191
+ }>;
2
192
  export declare const portal_configuration_base: z.ZodObject<{
3
193
  features: z.ZodDefault<z.ZodObject<{
4
194
  connect: z.ZodDefault<z.ZodObject<{
@@ -65,15 +255,15 @@ export declare const portal_configuration_base: z.ZodObject<{
65
255
  cancel_button_label?: string | undefined;
66
256
  } | undefined;
67
257
  }, {
68
- events?: {
69
- allowed_events?: string[] | undefined;
70
- default_events?: string[] | undefined;
71
- } | undefined;
72
258
  exclude?: boolean | undefined;
73
259
  exclude_reservation_management?: boolean | undefined;
74
260
  exclude_reservation_technical_details?: boolean | undefined;
75
261
  exclude_staff_management?: boolean | undefined;
76
262
  exclude_device_management?: boolean | undefined;
263
+ events?: {
264
+ allowed_events?: string[] | undefined;
265
+ default_events?: string[] | undefined;
266
+ } | undefined;
77
267
  device_management_confirmation?: {
78
268
  title?: string | undefined;
79
269
  body?: string | undefined;
@@ -162,15 +352,15 @@ export declare const portal_configuration_base: z.ZodObject<{
162
352
  excluded_providers?: string[] | undefined;
163
353
  } | undefined;
164
354
  manage?: {
165
- events?: {
166
- allowed_events?: string[] | undefined;
167
- default_events?: string[] | undefined;
168
- } | undefined;
169
355
  exclude?: boolean | undefined;
170
356
  exclude_reservation_management?: boolean | undefined;
171
357
  exclude_reservation_technical_details?: boolean | undefined;
172
358
  exclude_staff_management?: boolean | undefined;
173
359
  exclude_device_management?: boolean | undefined;
360
+ events?: {
361
+ allowed_events?: string[] | undefined;
362
+ default_events?: string[] | undefined;
363
+ } | undefined;
174
364
  device_management_confirmation?: {
175
365
  title?: string | undefined;
176
366
  body?: string | undefined;
@@ -486,15 +676,15 @@ export declare const portal_configuration_base: z.ZodObject<{
486
676
  excluded_providers?: string[] | undefined;
487
677
  } | undefined;
488
678
  manage?: {
489
- events?: {
490
- allowed_events?: string[] | undefined;
491
- default_events?: string[] | undefined;
492
- } | undefined;
493
679
  exclude?: boolean | undefined;
494
680
  exclude_reservation_management?: boolean | undefined;
495
681
  exclude_reservation_technical_details?: boolean | undefined;
496
682
  exclude_staff_management?: boolean | undefined;
497
683
  exclude_device_management?: boolean | undefined;
684
+ events?: {
685
+ allowed_events?: string[] | undefined;
686
+ default_events?: string[] | undefined;
687
+ } | undefined;
498
688
  device_management_confirmation?: {
499
689
  title?: string | undefined;
500
690
  body?: string | undefined;
@@ -637,15 +827,15 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
637
827
  cancel_button_label?: string | undefined;
638
828
  } | undefined;
639
829
  }, {
640
- events?: {
641
- allowed_events?: string[] | undefined;
642
- default_events?: string[] | undefined;
643
- } | undefined;
644
830
  exclude?: boolean | undefined;
645
831
  exclude_reservation_management?: boolean | undefined;
646
832
  exclude_reservation_technical_details?: boolean | undefined;
647
833
  exclude_staff_management?: boolean | undefined;
648
834
  exclude_device_management?: boolean | undefined;
835
+ events?: {
836
+ allowed_events?: string[] | undefined;
837
+ default_events?: string[] | undefined;
838
+ } | undefined;
649
839
  device_management_confirmation?: {
650
840
  title?: string | undefined;
651
841
  body?: string | undefined;
@@ -734,15 +924,15 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
734
924
  excluded_providers?: string[] | undefined;
735
925
  } | undefined;
736
926
  manage?: {
737
- events?: {
738
- allowed_events?: string[] | undefined;
739
- default_events?: string[] | undefined;
740
- } | undefined;
741
927
  exclude?: boolean | undefined;
742
928
  exclude_reservation_management?: boolean | undefined;
743
929
  exclude_reservation_technical_details?: boolean | undefined;
744
930
  exclude_staff_management?: boolean | undefined;
745
931
  exclude_device_management?: boolean | undefined;
932
+ events?: {
933
+ allowed_events?: string[] | undefined;
934
+ default_events?: string[] | undefined;
935
+ } | undefined;
746
936
  device_management_confirmation?: {
747
937
  title?: string | undefined;
748
938
  body?: string | undefined;
@@ -1061,15 +1251,15 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
1061
1251
  excluded_providers?: string[] | undefined;
1062
1252
  } | undefined;
1063
1253
  manage?: {
1064
- events?: {
1065
- allowed_events?: string[] | undefined;
1066
- default_events?: string[] | undefined;
1067
- } | undefined;
1068
1254
  exclude?: boolean | undefined;
1069
1255
  exclude_reservation_management?: boolean | undefined;
1070
1256
  exclude_reservation_technical_details?: boolean | undefined;
1071
1257
  exclude_staff_management?: boolean | undefined;
1072
1258
  exclude_device_management?: boolean | undefined;
1259
+ events?: {
1260
+ allowed_events?: string[] | undefined;
1261
+ default_events?: string[] | undefined;
1262
+ } | undefined;
1073
1263
  device_management_confirmation?: {
1074
1264
  title?: string | undefined;
1075
1265
  body?: string | undefined;
@@ -114,6 +114,29 @@ const base_features = z.object({
114
114
  .default({})
115
115
  .describe('Configuration for the configure feature.'),
116
116
  });
117
+ export const customer_portal_features = z
118
+ .object({
119
+ connect: base_connect_feature
120
+ .partial()
121
+ .describe('Configuration for the connect accounts feature.'),
122
+ manage: base_manage_feature
123
+ .partial()
124
+ .describe('Configuration for the manage feature.'),
125
+ manage_devices: base_manage_devices_feature.partial().describe(`
126
+ Configuration for the manage devices feature.
127
+ ---
128
+ deprecated: Use \`manage\` instead.
129
+ ---
130
+ `),
131
+ organize: base_organize_feature
132
+ .partial()
133
+ .describe('Configuration for the organize feature.'),
134
+ configure: base_configure_feature
135
+ .partial()
136
+ .describe('Configuration for the configure feature.'),
137
+ })
138
+ .partial()
139
+ .describe('Customer portal features. Settings you omit use the Seam default.');
117
140
  export const portal_configuration_base = z.object({
118
141
  features: base_features.default({}),
119
142
  is_embedded: z
@@ -1 +1 @@
1
- {"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,kDAAkD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C,CAAC,MAAM,CAAC;YACP,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;YACxC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;SACxB,CAAC;KACH,CAAC;SACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;;KAKpB,CAAC;CACL,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB;KAC1D,MAAM,CAAC;IACN,sBAAsB;IACtB,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC;;;;;OAKvC,CAAC;CACL,CAAC;KACD,OAAO,CAAC;IACP,QAAQ,EAAE;QACR,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC3B,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC5B,MAAM,EAAE;YACN,OAAO,EAAE,KAAK;YACd,8BAA8B,EAAE,KAAK;YACrC,qCAAqC,EAAE,KAAK;YAC5C,wBAAwB,EAAE,KAAK;YAC/B,yBAAyB,EAAE,KAAK;SACjC;QACD,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,OAAO,EAAE,KAAK;YACd,+BAA+B,EAAE,KAAK;YACtC,0CAA0C,EAAE,KAAK;YACjD,2CAA2C,EAAE,KAAK;YAClD,yCAAyC,EAAE,KAAK;YAChD,gCAAgC,EAAE,KAAK;SACxC;KACF;IACD,WAAW,EAAE,KAAK;IAClB,SAAS,EAAE,KAAK;IAChB,qBAAqB,EAAE,KAAK;IAC5B,MAAM,EAAE,SAAS;IACjB,0BAA0B,EAAE,SAAS;CACtC,CAAC;KACD,QAAQ,CAAC,qCAAqC,CAAC,CAAA"}
1
+ {"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,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,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC3B,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC5B,MAAM,EAAE;YACN,OAAO,EAAE,KAAK;YACd,8BAA8B,EAAE,KAAK;YACrC,qCAAqC,EAAE,KAAK;YAC5C,wBAAwB,EAAE,KAAK;YAC/B,yBAAyB,EAAE,KAAK;SACjC;QACD,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,OAAO,EAAE,KAAK;YACd,+BAA+B,EAAE,KAAK;YACtC,0CAA0C,EAAE,KAAK;YACjD,2CAA2C,EAAE,KAAK;YAClD,yCAAyC,EAAE,KAAK;YAChD,gCAAgC,EAAE,KAAK;SACxC;KACF;IACD,WAAW,EAAE,KAAK;IAClB,SAAS,EAAE,KAAK;IAChB,qBAAqB,EAAE,KAAK;IAC5B,MAAM,EAAE,SAAS;IACjB,0BAA0B,EAAE,SAAS;CACtC,CAAC;KACD,QAAQ,CAAC,qCAAqC,CAAC,CAAA"}
@@ -653,6 +653,196 @@ export declare const customization_profile: z.ZodObject<{
653
653
  } | undefined;
654
654
  }>>;
655
655
  message_overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
656
+ customer_portal_features: z.ZodOptional<z.ZodObject<{
657
+ connect: z.ZodOptional<z.ZodObject<{
658
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
659
+ accepted_providers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
660
+ excluded_providers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ accepted_providers?: string[] | undefined;
663
+ exclude?: boolean | undefined;
664
+ excluded_providers?: string[] | undefined;
665
+ }, {
666
+ accepted_providers?: string[] | undefined;
667
+ exclude?: boolean | undefined;
668
+ excluded_providers?: string[] | undefined;
669
+ }>>;
670
+ manage: z.ZodOptional<z.ZodObject<{
671
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
672
+ exclude_reservation_management: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
673
+ exclude_reservation_technical_details: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
674
+ exclude_staff_management: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
675
+ exclude_device_management: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
676
+ events: z.ZodOptional<z.ZodOptional<z.ZodObject<{
677
+ allowed_events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
678
+ default_events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
679
+ }, "strip", z.ZodTypeAny, {
680
+ allowed_events?: string[] | undefined;
681
+ default_events?: string[] | undefined;
682
+ }, {
683
+ allowed_events?: string[] | undefined;
684
+ default_events?: string[] | undefined;
685
+ }>>>;
686
+ device_management_confirmation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
687
+ title: z.ZodOptional<z.ZodString>;
688
+ body: z.ZodOptional<z.ZodString>;
689
+ confirm_button_label: z.ZodOptional<z.ZodString>;
690
+ cancel_button_label: z.ZodOptional<z.ZodString>;
691
+ }, "strip", z.ZodTypeAny, {
692
+ title?: string | undefined;
693
+ body?: string | undefined;
694
+ confirm_button_label?: string | undefined;
695
+ cancel_button_label?: string | undefined;
696
+ }, {
697
+ title?: string | undefined;
698
+ body?: string | undefined;
699
+ confirm_button_label?: string | undefined;
700
+ cancel_button_label?: string | undefined;
701
+ }>>>;
702
+ }, "strip", z.ZodTypeAny, {
703
+ exclude?: boolean | undefined;
704
+ exclude_reservation_management?: boolean | undefined;
705
+ exclude_reservation_technical_details?: boolean | undefined;
706
+ exclude_staff_management?: boolean | undefined;
707
+ exclude_device_management?: boolean | undefined;
708
+ events?: {
709
+ allowed_events?: string[] | undefined;
710
+ default_events?: string[] | undefined;
711
+ } | undefined;
712
+ device_management_confirmation?: {
713
+ title?: string | undefined;
714
+ body?: string | undefined;
715
+ confirm_button_label?: string | undefined;
716
+ cancel_button_label?: string | undefined;
717
+ } | undefined;
718
+ }, {
719
+ exclude?: boolean | undefined;
720
+ exclude_reservation_management?: boolean | undefined;
721
+ exclude_reservation_technical_details?: boolean | undefined;
722
+ exclude_staff_management?: boolean | undefined;
723
+ exclude_device_management?: boolean | undefined;
724
+ events?: {
725
+ allowed_events?: string[] | undefined;
726
+ default_events?: string[] | undefined;
727
+ } | undefined;
728
+ device_management_confirmation?: {
729
+ title?: string | undefined;
730
+ body?: string | undefined;
731
+ confirm_button_label?: string | undefined;
732
+ cancel_button_label?: string | undefined;
733
+ } | undefined;
734
+ }>>;
735
+ manage_devices: z.ZodOptional<z.ZodObject<{
736
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
737
+ }, "strip", z.ZodTypeAny, {
738
+ exclude?: boolean | undefined;
739
+ }, {
740
+ exclude?: boolean | undefined;
741
+ }>>;
742
+ organize: z.ZodOptional<z.ZodObject<{
743
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
744
+ }, "strip", z.ZodTypeAny, {
745
+ exclude?: boolean | undefined;
746
+ }, {
747
+ exclude?: boolean | undefined;
748
+ }>>;
749
+ configure: z.ZodOptional<z.ZodObject<{
750
+ exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
751
+ allow_access_automation_rule_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
752
+ allow_climate_automation_rule_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
753
+ allow_sound_automation_rule_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
754
+ allow_instant_key_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
755
+ allow_notification_customization: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
756
+ }, "strip", z.ZodTypeAny, {
757
+ exclude?: boolean | undefined;
758
+ allow_access_automation_rule_customization?: boolean | undefined;
759
+ allow_climate_automation_rule_customization?: boolean | undefined;
760
+ allow_sound_automation_rule_customization?: boolean | undefined;
761
+ allow_instant_key_customization?: boolean | undefined;
762
+ allow_notification_customization?: boolean | undefined;
763
+ }, {
764
+ exclude?: boolean | undefined;
765
+ allow_access_automation_rule_customization?: boolean | undefined;
766
+ allow_climate_automation_rule_customization?: boolean | undefined;
767
+ allow_sound_automation_rule_customization?: boolean | undefined;
768
+ allow_instant_key_customization?: boolean | undefined;
769
+ allow_notification_customization?: boolean | undefined;
770
+ }>>;
771
+ }, "strip", z.ZodTypeAny, {
772
+ connect?: {
773
+ accepted_providers?: string[] | undefined;
774
+ exclude?: boolean | undefined;
775
+ excluded_providers?: string[] | undefined;
776
+ } | undefined;
777
+ manage?: {
778
+ exclude?: boolean | undefined;
779
+ exclude_reservation_management?: boolean | undefined;
780
+ exclude_reservation_technical_details?: boolean | undefined;
781
+ exclude_staff_management?: boolean | undefined;
782
+ exclude_device_management?: boolean | undefined;
783
+ events?: {
784
+ allowed_events?: string[] | undefined;
785
+ default_events?: string[] | undefined;
786
+ } | undefined;
787
+ device_management_confirmation?: {
788
+ title?: string | undefined;
789
+ body?: string | undefined;
790
+ confirm_button_label?: string | undefined;
791
+ cancel_button_label?: string | undefined;
792
+ } | undefined;
793
+ } | undefined;
794
+ manage_devices?: {
795
+ exclude?: boolean | undefined;
796
+ } | undefined;
797
+ organize?: {
798
+ exclude?: boolean | undefined;
799
+ } | undefined;
800
+ configure?: {
801
+ exclude?: boolean | undefined;
802
+ allow_access_automation_rule_customization?: boolean | undefined;
803
+ allow_climate_automation_rule_customization?: boolean | undefined;
804
+ allow_sound_automation_rule_customization?: boolean | undefined;
805
+ allow_instant_key_customization?: boolean | undefined;
806
+ allow_notification_customization?: boolean | undefined;
807
+ } | undefined;
808
+ }, {
809
+ connect?: {
810
+ accepted_providers?: string[] | undefined;
811
+ exclude?: boolean | undefined;
812
+ excluded_providers?: string[] | undefined;
813
+ } | undefined;
814
+ manage?: {
815
+ exclude?: boolean | undefined;
816
+ exclude_reservation_management?: boolean | undefined;
817
+ exclude_reservation_technical_details?: boolean | undefined;
818
+ exclude_staff_management?: boolean | undefined;
819
+ exclude_device_management?: boolean | undefined;
820
+ events?: {
821
+ allowed_events?: string[] | undefined;
822
+ default_events?: string[] | undefined;
823
+ } | undefined;
824
+ device_management_confirmation?: {
825
+ title?: string | undefined;
826
+ body?: string | undefined;
827
+ confirm_button_label?: string | undefined;
828
+ cancel_button_label?: string | undefined;
829
+ } | undefined;
830
+ } | undefined;
831
+ manage_devices?: {
832
+ exclude?: boolean | undefined;
833
+ } | undefined;
834
+ organize?: {
835
+ exclude?: boolean | undefined;
836
+ } | undefined;
837
+ configure?: {
838
+ exclude?: boolean | undefined;
839
+ allow_access_automation_rule_customization?: boolean | undefined;
840
+ allow_climate_automation_rule_customization?: boolean | undefined;
841
+ allow_sound_automation_rule_customization?: boolean | undefined;
842
+ allow_instant_key_customization?: boolean | undefined;
843
+ allow_notification_customization?: boolean | undefined;
844
+ } | undefined;
845
+ }>>;
656
846
  }, "strip", z.ZodTypeAny, {
657
847
  name: string | null;
658
848
  workspace_id: string;
@@ -735,6 +925,44 @@ export declare const customization_profile: z.ZodObject<{
735
925
  } | undefined;
736
926
  } | undefined;
737
927
  message_overrides?: Record<string, Record<string, string>> | undefined;
928
+ customer_portal_features?: {
929
+ connect?: {
930
+ accepted_providers?: string[] | undefined;
931
+ exclude?: boolean | undefined;
932
+ excluded_providers?: string[] | undefined;
933
+ } | undefined;
934
+ manage?: {
935
+ exclude?: boolean | undefined;
936
+ exclude_reservation_management?: boolean | undefined;
937
+ exclude_reservation_technical_details?: boolean | undefined;
938
+ exclude_staff_management?: boolean | undefined;
939
+ exclude_device_management?: boolean | undefined;
940
+ events?: {
941
+ allowed_events?: string[] | undefined;
942
+ default_events?: string[] | undefined;
943
+ } | undefined;
944
+ device_management_confirmation?: {
945
+ title?: string | undefined;
946
+ body?: string | undefined;
947
+ confirm_button_label?: string | undefined;
948
+ cancel_button_label?: string | undefined;
949
+ } | undefined;
950
+ } | undefined;
951
+ manage_devices?: {
952
+ exclude?: boolean | undefined;
953
+ } | undefined;
954
+ organize?: {
955
+ exclude?: boolean | undefined;
956
+ } | undefined;
957
+ configure?: {
958
+ exclude?: boolean | undefined;
959
+ allow_access_automation_rule_customization?: boolean | undefined;
960
+ allow_climate_automation_rule_customization?: boolean | undefined;
961
+ allow_sound_automation_rule_customization?: boolean | undefined;
962
+ allow_instant_key_customization?: boolean | undefined;
963
+ allow_notification_customization?: boolean | undefined;
964
+ } | undefined;
965
+ } | undefined;
738
966
  }, {
739
967
  name: string | null;
740
968
  workspace_id: string;
@@ -817,5 +1045,43 @@ export declare const customization_profile: z.ZodObject<{
817
1045
  } | undefined;
818
1046
  } | undefined;
819
1047
  message_overrides?: Record<string, Record<string, string>> | undefined;
1048
+ customer_portal_features?: {
1049
+ connect?: {
1050
+ accepted_providers?: string[] | undefined;
1051
+ exclude?: boolean | undefined;
1052
+ excluded_providers?: string[] | undefined;
1053
+ } | undefined;
1054
+ manage?: {
1055
+ exclude?: boolean | undefined;
1056
+ exclude_reservation_management?: boolean | undefined;
1057
+ exclude_reservation_technical_details?: boolean | undefined;
1058
+ exclude_staff_management?: boolean | undefined;
1059
+ exclude_device_management?: boolean | undefined;
1060
+ events?: {
1061
+ allowed_events?: string[] | undefined;
1062
+ default_events?: string[] | undefined;
1063
+ } | undefined;
1064
+ device_management_confirmation?: {
1065
+ title?: string | undefined;
1066
+ body?: string | undefined;
1067
+ confirm_button_label?: string | undefined;
1068
+ cancel_button_label?: string | undefined;
1069
+ } | undefined;
1070
+ } | undefined;
1071
+ manage_devices?: {
1072
+ exclude?: boolean | undefined;
1073
+ } | undefined;
1074
+ organize?: {
1075
+ exclude?: boolean | undefined;
1076
+ } | undefined;
1077
+ configure?: {
1078
+ exclude?: boolean | undefined;
1079
+ allow_access_automation_rule_customization?: boolean | undefined;
1080
+ allow_climate_automation_rule_customization?: boolean | undefined;
1081
+ allow_sound_automation_rule_customization?: boolean | undefined;
1082
+ allow_instant_key_customization?: boolean | undefined;
1083
+ allow_notification_customization?: boolean | undefined;
1084
+ } | undefined;
1085
+ } | undefined;
820
1086
  }>;
821
1087
  export type CustomizationProfile = z.infer<typeof customization_profile>;
@@ -1,5 +1,6 @@
1
1
  import * as z from 'zod/v3';
2
2
  import { css_color, hex_color_code } from '../colors.js';
3
+ import { customer_portal_features } from '../customer/customer-portal.js';
3
4
  import { datetime } from '../datetime.js';
4
5
  export const customer_portal_theme = z.object({
5
6
  primary_color: hex_color_code.optional(),
@@ -107,6 +108,9 @@ export const customization_profile = z.object({
107
108
  .optional()
108
109
  .describe('Theme for the Instant Keys apps.'),
109
110
  message_overrides: message_overrides.optional(),
111
+ customer_portal_features: customer_portal_features
112
+ .optional()
113
+ .describe("Features for customer portals that use this profile. A setting passed when creating the portal takes precedence over the profile's. Changes apply to existing portals the next time they load."),
110
114
  }).describe(`
111
115
  ---
112
116
  title: Customization Profile