@seamapi/types 1.597.0 → 1.598.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.
- package/dist/connect.cjs +221 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +266 -12
- package/dist/index.cjs +221 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +436 -0
- package/lib/seam/connect/models/customer/customer-portal.js +22 -6
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +211 -0
- package/lib/seam/connect/openapi.js +221 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +55 -12
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +38 -19
- package/src/lib/seam/connect/openapi.ts +267 -10
- package/src/lib/seam/connect/route-types.ts +61 -30
|
@@ -1,4 +1,380 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const portal_configuration_base: z.ZodObject<{
|
|
3
|
+
features: z.ZodDefault<z.ZodObject<{
|
|
4
|
+
connect: z.ZodDefault<z.ZodObject<{
|
|
5
|
+
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
+
} & {
|
|
7
|
+
accepted_providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8
|
+
excluded_providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
exclude: boolean;
|
|
11
|
+
accepted_providers?: string[] | undefined;
|
|
12
|
+
excluded_providers?: string[] | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
accepted_providers?: string[] | undefined;
|
|
15
|
+
exclude?: boolean | undefined;
|
|
16
|
+
excluded_providers?: string[] | undefined;
|
|
17
|
+
}>>;
|
|
18
|
+
manage_reservations: z.ZodDefault<z.ZodObject<{
|
|
19
|
+
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
20
|
+
} & {
|
|
21
|
+
reservations: z.ZodDefault<z.ZodObject<{
|
|
22
|
+
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
exclude: boolean;
|
|
25
|
+
}, {
|
|
26
|
+
exclude?: boolean | undefined;
|
|
27
|
+
}>>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
reservations: {
|
|
30
|
+
exclude: boolean;
|
|
31
|
+
};
|
|
32
|
+
exclude: boolean;
|
|
33
|
+
}, {
|
|
34
|
+
reservations?: {
|
|
35
|
+
exclude?: boolean | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
exclude?: boolean | undefined;
|
|
38
|
+
}>>;
|
|
39
|
+
manage_devices: z.ZodDefault<z.ZodObject<{
|
|
40
|
+
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
41
|
+
} & {
|
|
42
|
+
accepted_providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43
|
+
excluded_providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
exclude: boolean;
|
|
46
|
+
accepted_providers?: string[] | undefined;
|
|
47
|
+
excluded_providers?: string[] | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
accepted_providers?: string[] | undefined;
|
|
50
|
+
exclude?: boolean | undefined;
|
|
51
|
+
excluded_providers?: string[] | undefined;
|
|
52
|
+
}>>;
|
|
53
|
+
organize: z.ZodDefault<z.ZodObject<{
|
|
54
|
+
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
exclude: boolean;
|
|
57
|
+
}, {
|
|
58
|
+
exclude?: boolean | undefined;
|
|
59
|
+
}>>;
|
|
60
|
+
configure: z.ZodDefault<z.ZodObject<{
|
|
61
|
+
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
62
|
+
} & {
|
|
63
|
+
allow_access_automation_rule_customization: z.ZodDefault<z.ZodBoolean>;
|
|
64
|
+
allow_instant_key_customization: z.ZodDefault<z.ZodBoolean>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
exclude: boolean;
|
|
67
|
+
allow_access_automation_rule_customization: boolean;
|
|
68
|
+
allow_instant_key_customization: boolean;
|
|
69
|
+
}, {
|
|
70
|
+
exclude?: boolean | undefined;
|
|
71
|
+
allow_access_automation_rule_customization?: boolean | undefined;
|
|
72
|
+
allow_instant_key_customization?: boolean | undefined;
|
|
73
|
+
}>>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
connect: {
|
|
76
|
+
exclude: boolean;
|
|
77
|
+
accepted_providers?: string[] | undefined;
|
|
78
|
+
excluded_providers?: string[] | undefined;
|
|
79
|
+
};
|
|
80
|
+
manage_reservations: {
|
|
81
|
+
reservations: {
|
|
82
|
+
exclude: boolean;
|
|
83
|
+
};
|
|
84
|
+
exclude: boolean;
|
|
85
|
+
};
|
|
86
|
+
manage_devices: {
|
|
87
|
+
exclude: boolean;
|
|
88
|
+
accepted_providers?: string[] | undefined;
|
|
89
|
+
excluded_providers?: string[] | undefined;
|
|
90
|
+
};
|
|
91
|
+
organize: {
|
|
92
|
+
exclude: boolean;
|
|
93
|
+
};
|
|
94
|
+
configure: {
|
|
95
|
+
exclude: boolean;
|
|
96
|
+
allow_access_automation_rule_customization: boolean;
|
|
97
|
+
allow_instant_key_customization: boolean;
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
connect?: {
|
|
101
|
+
accepted_providers?: string[] | undefined;
|
|
102
|
+
exclude?: boolean | undefined;
|
|
103
|
+
excluded_providers?: string[] | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
manage_reservations?: {
|
|
106
|
+
reservations?: {
|
|
107
|
+
exclude?: boolean | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
exclude?: boolean | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
manage_devices?: {
|
|
112
|
+
accepted_providers?: string[] | undefined;
|
|
113
|
+
exclude?: boolean | undefined;
|
|
114
|
+
excluded_providers?: string[] | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
organize?: {
|
|
117
|
+
exclude?: boolean | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
configure?: {
|
|
120
|
+
exclude?: boolean | undefined;
|
|
121
|
+
allow_access_automation_rule_customization?: boolean | undefined;
|
|
122
|
+
allow_instant_key_customization?: boolean | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
}>>;
|
|
125
|
+
is_embedded: z.ZodDefault<z.ZodBoolean>;
|
|
126
|
+
landing_page: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
manage: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
128
|
+
space_key: z.ZodString;
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
space_key: string;
|
|
131
|
+
}, {
|
|
132
|
+
space_key: string;
|
|
133
|
+
}>, z.ZodObject<{
|
|
134
|
+
property_key: z.ZodString;
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
|
+
property_key: string;
|
|
137
|
+
}, {
|
|
138
|
+
property_key: string;
|
|
139
|
+
}>, z.ZodObject<{
|
|
140
|
+
room_key: z.ZodString;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
room_key: string;
|
|
143
|
+
}, {
|
|
144
|
+
room_key: string;
|
|
145
|
+
}>, z.ZodObject<{
|
|
146
|
+
common_area_key: z.ZodString;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
common_area_key: string;
|
|
149
|
+
}, {
|
|
150
|
+
common_area_key: string;
|
|
151
|
+
}>, z.ZodObject<{
|
|
152
|
+
unit_key: z.ZodString;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
unit_key: string;
|
|
155
|
+
}, {
|
|
156
|
+
unit_key: string;
|
|
157
|
+
}>, z.ZodObject<{
|
|
158
|
+
facility_key: z.ZodString;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
facility_key: string;
|
|
161
|
+
}, {
|
|
162
|
+
facility_key: string;
|
|
163
|
+
}>, z.ZodObject<{
|
|
164
|
+
building_key: z.ZodString;
|
|
165
|
+
}, "strip", z.ZodTypeAny, {
|
|
166
|
+
building_key: string;
|
|
167
|
+
}, {
|
|
168
|
+
building_key: string;
|
|
169
|
+
}>, z.ZodObject<{
|
|
170
|
+
listing_key: z.ZodString;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
listing_key: string;
|
|
173
|
+
}, {
|
|
174
|
+
listing_key: string;
|
|
175
|
+
}>, z.ZodObject<{
|
|
176
|
+
property_listing_key: z.ZodString;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
property_listing_key: string;
|
|
179
|
+
}, {
|
|
180
|
+
property_listing_key: string;
|
|
181
|
+
}>, z.ZodObject<{
|
|
182
|
+
site_key: z.ZodString;
|
|
183
|
+
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
site_key: string;
|
|
185
|
+
}, {
|
|
186
|
+
site_key: string;
|
|
187
|
+
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
188
|
+
reservation_key: z.ZodString;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
reservation_key: string;
|
|
191
|
+
}, {
|
|
192
|
+
reservation_key: string;
|
|
193
|
+
}>, z.ZodObject<{
|
|
194
|
+
booking_key: z.ZodString;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
booking_key: string;
|
|
197
|
+
}, {
|
|
198
|
+
booking_key: string;
|
|
199
|
+
}>, z.ZodObject<{
|
|
200
|
+
access_grant_key: z.ZodString;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
access_grant_key: string;
|
|
203
|
+
}, {
|
|
204
|
+
access_grant_key: string;
|
|
205
|
+
}>]>]>>;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
manage?: {
|
|
208
|
+
reservation_key: string;
|
|
209
|
+
} | {
|
|
210
|
+
booking_key: string;
|
|
211
|
+
} | {
|
|
212
|
+
access_grant_key: string;
|
|
213
|
+
} | {
|
|
214
|
+
space_key: string;
|
|
215
|
+
} | {
|
|
216
|
+
property_key: string;
|
|
217
|
+
} | {
|
|
218
|
+
room_key: string;
|
|
219
|
+
} | {
|
|
220
|
+
common_area_key: string;
|
|
221
|
+
} | {
|
|
222
|
+
unit_key: string;
|
|
223
|
+
} | {
|
|
224
|
+
facility_key: string;
|
|
225
|
+
} | {
|
|
226
|
+
building_key: string;
|
|
227
|
+
} | {
|
|
228
|
+
listing_key: string;
|
|
229
|
+
} | {
|
|
230
|
+
property_listing_key: string;
|
|
231
|
+
} | {
|
|
232
|
+
site_key: string;
|
|
233
|
+
} | undefined;
|
|
234
|
+
}, {
|
|
235
|
+
manage?: {
|
|
236
|
+
reservation_key: string;
|
|
237
|
+
} | {
|
|
238
|
+
booking_key: string;
|
|
239
|
+
} | {
|
|
240
|
+
access_grant_key: string;
|
|
241
|
+
} | {
|
|
242
|
+
space_key: string;
|
|
243
|
+
} | {
|
|
244
|
+
property_key: string;
|
|
245
|
+
} | {
|
|
246
|
+
room_key: string;
|
|
247
|
+
} | {
|
|
248
|
+
common_area_key: string;
|
|
249
|
+
} | {
|
|
250
|
+
unit_key: string;
|
|
251
|
+
} | {
|
|
252
|
+
facility_key: string;
|
|
253
|
+
} | {
|
|
254
|
+
building_key: string;
|
|
255
|
+
} | {
|
|
256
|
+
listing_key: string;
|
|
257
|
+
} | {
|
|
258
|
+
property_listing_key: string;
|
|
259
|
+
} | {
|
|
260
|
+
site_key: string;
|
|
261
|
+
} | undefined;
|
|
262
|
+
}>>;
|
|
263
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
features: {
|
|
265
|
+
connect: {
|
|
266
|
+
exclude: boolean;
|
|
267
|
+
accepted_providers?: string[] | undefined;
|
|
268
|
+
excluded_providers?: string[] | undefined;
|
|
269
|
+
};
|
|
270
|
+
manage_reservations: {
|
|
271
|
+
reservations: {
|
|
272
|
+
exclude: boolean;
|
|
273
|
+
};
|
|
274
|
+
exclude: boolean;
|
|
275
|
+
};
|
|
276
|
+
manage_devices: {
|
|
277
|
+
exclude: boolean;
|
|
278
|
+
accepted_providers?: string[] | undefined;
|
|
279
|
+
excluded_providers?: string[] | undefined;
|
|
280
|
+
};
|
|
281
|
+
organize: {
|
|
282
|
+
exclude: boolean;
|
|
283
|
+
};
|
|
284
|
+
configure: {
|
|
285
|
+
exclude: boolean;
|
|
286
|
+
allow_access_automation_rule_customization: boolean;
|
|
287
|
+
allow_instant_key_customization: boolean;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
is_embedded: boolean;
|
|
291
|
+
landing_page?: {
|
|
292
|
+
manage?: {
|
|
293
|
+
reservation_key: string;
|
|
294
|
+
} | {
|
|
295
|
+
booking_key: string;
|
|
296
|
+
} | {
|
|
297
|
+
access_grant_key: string;
|
|
298
|
+
} | {
|
|
299
|
+
space_key: string;
|
|
300
|
+
} | {
|
|
301
|
+
property_key: string;
|
|
302
|
+
} | {
|
|
303
|
+
room_key: string;
|
|
304
|
+
} | {
|
|
305
|
+
common_area_key: string;
|
|
306
|
+
} | {
|
|
307
|
+
unit_key: string;
|
|
308
|
+
} | {
|
|
309
|
+
facility_key: string;
|
|
310
|
+
} | {
|
|
311
|
+
building_key: string;
|
|
312
|
+
} | {
|
|
313
|
+
listing_key: string;
|
|
314
|
+
} | {
|
|
315
|
+
property_listing_key: string;
|
|
316
|
+
} | {
|
|
317
|
+
site_key: string;
|
|
318
|
+
} | undefined;
|
|
319
|
+
} | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
features?: {
|
|
322
|
+
connect?: {
|
|
323
|
+
accepted_providers?: string[] | undefined;
|
|
324
|
+
exclude?: boolean | undefined;
|
|
325
|
+
excluded_providers?: string[] | undefined;
|
|
326
|
+
} | undefined;
|
|
327
|
+
manage_reservations?: {
|
|
328
|
+
reservations?: {
|
|
329
|
+
exclude?: boolean | undefined;
|
|
330
|
+
} | undefined;
|
|
331
|
+
exclude?: boolean | undefined;
|
|
332
|
+
} | undefined;
|
|
333
|
+
manage_devices?: {
|
|
334
|
+
accepted_providers?: string[] | undefined;
|
|
335
|
+
exclude?: boolean | undefined;
|
|
336
|
+
excluded_providers?: string[] | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
organize?: {
|
|
339
|
+
exclude?: boolean | undefined;
|
|
340
|
+
} | undefined;
|
|
341
|
+
configure?: {
|
|
342
|
+
exclude?: boolean | undefined;
|
|
343
|
+
allow_access_automation_rule_customization?: boolean | undefined;
|
|
344
|
+
allow_instant_key_customization?: boolean | undefined;
|
|
345
|
+
} | undefined;
|
|
346
|
+
} | undefined;
|
|
347
|
+
is_embedded?: boolean | undefined;
|
|
348
|
+
landing_page?: {
|
|
349
|
+
manage?: {
|
|
350
|
+
reservation_key: string;
|
|
351
|
+
} | {
|
|
352
|
+
booking_key: string;
|
|
353
|
+
} | {
|
|
354
|
+
access_grant_key: string;
|
|
355
|
+
} | {
|
|
356
|
+
space_key: string;
|
|
357
|
+
} | {
|
|
358
|
+
property_key: string;
|
|
359
|
+
} | {
|
|
360
|
+
room_key: string;
|
|
361
|
+
} | {
|
|
362
|
+
common_area_key: string;
|
|
363
|
+
} | {
|
|
364
|
+
unit_key: string;
|
|
365
|
+
} | {
|
|
366
|
+
facility_key: string;
|
|
367
|
+
} | {
|
|
368
|
+
building_key: string;
|
|
369
|
+
} | {
|
|
370
|
+
listing_key: string;
|
|
371
|
+
} | {
|
|
372
|
+
property_listing_key: string;
|
|
373
|
+
} | {
|
|
374
|
+
site_key: string;
|
|
375
|
+
} | undefined;
|
|
376
|
+
} | undefined;
|
|
377
|
+
}>;
|
|
2
378
|
export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
3
379
|
features: z.ZodDefault<z.ZodObject<{
|
|
4
380
|
connect: z.ZodDefault<z.ZodObject<{
|
|
@@ -15,12 +391,40 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
15
391
|
exclude?: boolean | undefined;
|
|
16
392
|
excluded_providers?: string[] | undefined;
|
|
17
393
|
}>>;
|
|
394
|
+
manage_reservations: z.ZodDefault<z.ZodObject<{
|
|
395
|
+
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
396
|
+
} & {
|
|
397
|
+
reservations: z.ZodDefault<z.ZodObject<{
|
|
398
|
+
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
399
|
+
}, "strip", z.ZodTypeAny, {
|
|
400
|
+
exclude: boolean;
|
|
401
|
+
}, {
|
|
402
|
+
exclude?: boolean | undefined;
|
|
403
|
+
}>>;
|
|
404
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
|
+
reservations: {
|
|
406
|
+
exclude: boolean;
|
|
407
|
+
};
|
|
408
|
+
exclude: boolean;
|
|
409
|
+
}, {
|
|
410
|
+
reservations?: {
|
|
411
|
+
exclude?: boolean | undefined;
|
|
412
|
+
} | undefined;
|
|
413
|
+
exclude?: boolean | undefined;
|
|
414
|
+
}>>;
|
|
18
415
|
manage_devices: z.ZodDefault<z.ZodObject<{
|
|
19
416
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
417
|
+
} & {
|
|
418
|
+
accepted_providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
419
|
+
excluded_providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
420
|
}, "strip", z.ZodTypeAny, {
|
|
21
421
|
exclude: boolean;
|
|
422
|
+
accepted_providers?: string[] | undefined;
|
|
423
|
+
excluded_providers?: string[] | undefined;
|
|
22
424
|
}, {
|
|
425
|
+
accepted_providers?: string[] | undefined;
|
|
23
426
|
exclude?: boolean | undefined;
|
|
427
|
+
excluded_providers?: string[] | undefined;
|
|
24
428
|
}>>;
|
|
25
429
|
organize: z.ZodDefault<z.ZodObject<{
|
|
26
430
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -49,8 +453,16 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
49
453
|
accepted_providers?: string[] | undefined;
|
|
50
454
|
excluded_providers?: string[] | undefined;
|
|
51
455
|
};
|
|
456
|
+
manage_reservations: {
|
|
457
|
+
reservations: {
|
|
458
|
+
exclude: boolean;
|
|
459
|
+
};
|
|
460
|
+
exclude: boolean;
|
|
461
|
+
};
|
|
52
462
|
manage_devices: {
|
|
53
463
|
exclude: boolean;
|
|
464
|
+
accepted_providers?: string[] | undefined;
|
|
465
|
+
excluded_providers?: string[] | undefined;
|
|
54
466
|
};
|
|
55
467
|
organize: {
|
|
56
468
|
exclude: boolean;
|
|
@@ -66,8 +478,16 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
66
478
|
exclude?: boolean | undefined;
|
|
67
479
|
excluded_providers?: string[] | undefined;
|
|
68
480
|
} | undefined;
|
|
481
|
+
manage_reservations?: {
|
|
482
|
+
reservations?: {
|
|
483
|
+
exclude?: boolean | undefined;
|
|
484
|
+
} | undefined;
|
|
485
|
+
exclude?: boolean | undefined;
|
|
486
|
+
} | undefined;
|
|
69
487
|
manage_devices?: {
|
|
488
|
+
accepted_providers?: string[] | undefined;
|
|
70
489
|
exclude?: boolean | undefined;
|
|
490
|
+
excluded_providers?: string[] | undefined;
|
|
71
491
|
} | undefined;
|
|
72
492
|
organize?: {
|
|
73
493
|
exclude?: boolean | undefined;
|
|
@@ -223,8 +643,16 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
223
643
|
accepted_providers?: string[] | undefined;
|
|
224
644
|
excluded_providers?: string[] | undefined;
|
|
225
645
|
};
|
|
646
|
+
manage_reservations: {
|
|
647
|
+
reservations: {
|
|
648
|
+
exclude: boolean;
|
|
649
|
+
};
|
|
650
|
+
exclude: boolean;
|
|
651
|
+
};
|
|
226
652
|
manage_devices: {
|
|
227
653
|
exclude: boolean;
|
|
654
|
+
accepted_providers?: string[] | undefined;
|
|
655
|
+
excluded_providers?: string[] | undefined;
|
|
228
656
|
};
|
|
229
657
|
organize: {
|
|
230
658
|
exclude: boolean;
|
|
@@ -272,8 +700,16 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
272
700
|
exclude?: boolean | undefined;
|
|
273
701
|
excluded_providers?: string[] | undefined;
|
|
274
702
|
} | undefined;
|
|
703
|
+
manage_reservations?: {
|
|
704
|
+
reservations?: {
|
|
705
|
+
exclude?: boolean | undefined;
|
|
706
|
+
} | undefined;
|
|
707
|
+
exclude?: boolean | undefined;
|
|
708
|
+
} | undefined;
|
|
275
709
|
manage_devices?: {
|
|
710
|
+
accepted_providers?: string[] | undefined;
|
|
276
711
|
exclude?: boolean | undefined;
|
|
712
|
+
excluded_providers?: string[] | undefined;
|
|
277
713
|
} | undefined;
|
|
278
714
|
organize?: {
|
|
279
715
|
exclude?: boolean | undefined;
|
|
@@ -17,7 +17,17 @@ const base_connect_feature = base_feature.extend({
|
|
|
17
17
|
.optional()
|
|
18
18
|
.describe('List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account.'),
|
|
19
19
|
});
|
|
20
|
-
const base_manage_devices_feature = base_feature
|
|
20
|
+
const base_manage_devices_feature = base_feature.extend({
|
|
21
|
+
reservations: z
|
|
22
|
+
.object({
|
|
23
|
+
exclude: z
|
|
24
|
+
.boolean()
|
|
25
|
+
.default(false)
|
|
26
|
+
.describe('Indicates whether the customer can view reservations for their properties.'),
|
|
27
|
+
})
|
|
28
|
+
.default({ exclude: false })
|
|
29
|
+
.describe('Configuration for the reservations feature.'),
|
|
30
|
+
});
|
|
21
31
|
const base_organize_feature = base_feature;
|
|
22
32
|
const base_configure_feature = base_feature.extend({
|
|
23
33
|
allow_access_automation_rule_customization: z
|
|
@@ -33,7 +43,10 @@ const base_features = z.object({
|
|
|
33
43
|
connect: base_connect_feature
|
|
34
44
|
.default({})
|
|
35
45
|
.describe('Configuration for the connect accounts feature.'),
|
|
36
|
-
|
|
46
|
+
manage_reservations: base_manage_devices_feature
|
|
47
|
+
.default({})
|
|
48
|
+
.describe('Configuration for the manage reservations feature.'),
|
|
49
|
+
manage_devices: base_connect_feature
|
|
37
50
|
.default({})
|
|
38
51
|
.describe('Configuration for the manage devices feature.'),
|
|
39
52
|
organize: base_organize_feature
|
|
@@ -43,8 +56,7 @@ const base_features = z.object({
|
|
|
43
56
|
.default({})
|
|
44
57
|
.describe('Configuration for the configure feature.'),
|
|
45
58
|
});
|
|
46
|
-
export const
|
|
47
|
-
.object({
|
|
59
|
+
export const portal_configuration_base = z.object({
|
|
48
60
|
features: base_features.default({}),
|
|
49
61
|
is_embedded: z
|
|
50
62
|
.boolean()
|
|
@@ -58,12 +70,16 @@ export const portal_configuration = z
|
|
|
58
70
|
})
|
|
59
71
|
.optional()
|
|
60
72
|
.describe('Configuration for the landing page when the portal loads.'),
|
|
61
|
-
})
|
|
73
|
+
});
|
|
74
|
+
export const portal_configuration = portal_configuration_base
|
|
62
75
|
.default({
|
|
63
76
|
features: {
|
|
64
77
|
connect: { exclude: false },
|
|
65
78
|
organize: { exclude: false },
|
|
66
|
-
|
|
79
|
+
manage_reservations: { exclude: false },
|
|
80
|
+
manage_devices: {
|
|
81
|
+
exclude: false,
|
|
82
|
+
},
|
|
67
83
|
configure: {
|
|
68
84
|
exclude: false,
|
|
69
85
|
allow_instant_key_customization: false, // default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,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,CAAC;CAChE,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,sIAAsI,CACvI;IACH,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,6IAA6I,CAC9I;CACJ,CAAC,CAAA;AACF,MAAM,2BAA2B,GAAG,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,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,CAAC;CAChE,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,sIAAsI,CACvI;IACH,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,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