@seamapi/types 1.615.0 → 1.617.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 +19 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +21 -3
- package/dist/index.cjs +19 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/customer-portal.js +9 -1
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -2
- package/lib/seam/connect/openapi.js +18 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -1
- package/lib/seam/devicedb/route-specs.d.ts +2 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +11 -1
- package/src/lib/seam/connect/openapi.ts +21 -8
- package/src/lib/seam/connect/route-types.ts +5 -1
|
@@ -19,12 +19,15 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
19
19
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
20
20
|
} & {
|
|
21
21
|
exclude_reservation_management: z.ZodDefault<z.ZodBoolean>;
|
|
22
|
+
exclude_staff_management: z.ZodDefault<z.ZodBoolean>;
|
|
22
23
|
}, "strip", z.ZodTypeAny, {
|
|
23
24
|
exclude: boolean;
|
|
24
25
|
exclude_reservation_management: boolean;
|
|
26
|
+
exclude_staff_management: boolean;
|
|
25
27
|
}, {
|
|
26
28
|
exclude?: boolean | undefined;
|
|
27
29
|
exclude_reservation_management?: boolean | undefined;
|
|
30
|
+
exclude_staff_management?: boolean | undefined;
|
|
28
31
|
}>>;
|
|
29
32
|
manage_devices: z.ZodDefault<z.ZodObject<{
|
|
30
33
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -63,6 +66,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
63
66
|
manage: {
|
|
64
67
|
exclude: boolean;
|
|
65
68
|
exclude_reservation_management: boolean;
|
|
69
|
+
exclude_staff_management: boolean;
|
|
66
70
|
};
|
|
67
71
|
manage_devices: {
|
|
68
72
|
exclude: boolean;
|
|
@@ -84,6 +88,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
84
88
|
manage?: {
|
|
85
89
|
exclude?: boolean | undefined;
|
|
86
90
|
exclude_reservation_management?: boolean | undefined;
|
|
91
|
+
exclude_staff_management?: boolean | undefined;
|
|
87
92
|
} | undefined;
|
|
88
93
|
manage_devices?: {
|
|
89
94
|
exclude?: boolean | undefined;
|
|
@@ -245,6 +250,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
245
250
|
manage: {
|
|
246
251
|
exclude: boolean;
|
|
247
252
|
exclude_reservation_management: boolean;
|
|
253
|
+
exclude_staff_management: boolean;
|
|
248
254
|
};
|
|
249
255
|
manage_devices: {
|
|
250
256
|
exclude: boolean;
|
|
@@ -298,6 +304,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
298
304
|
manage?: {
|
|
299
305
|
exclude?: boolean | undefined;
|
|
300
306
|
exclude_reservation_management?: boolean | undefined;
|
|
307
|
+
exclude_staff_management?: boolean | undefined;
|
|
301
308
|
} | undefined;
|
|
302
309
|
manage_devices?: {
|
|
303
310
|
exclude?: boolean | undefined;
|
|
@@ -362,12 +369,15 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
362
369
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
363
370
|
} & {
|
|
364
371
|
exclude_reservation_management: z.ZodDefault<z.ZodBoolean>;
|
|
372
|
+
exclude_staff_management: z.ZodDefault<z.ZodBoolean>;
|
|
365
373
|
}, "strip", z.ZodTypeAny, {
|
|
366
374
|
exclude: boolean;
|
|
367
375
|
exclude_reservation_management: boolean;
|
|
376
|
+
exclude_staff_management: boolean;
|
|
368
377
|
}, {
|
|
369
378
|
exclude?: boolean | undefined;
|
|
370
379
|
exclude_reservation_management?: boolean | undefined;
|
|
380
|
+
exclude_staff_management?: boolean | undefined;
|
|
371
381
|
}>>;
|
|
372
382
|
manage_devices: z.ZodDefault<z.ZodObject<{
|
|
373
383
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -406,6 +416,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
406
416
|
manage: {
|
|
407
417
|
exclude: boolean;
|
|
408
418
|
exclude_reservation_management: boolean;
|
|
419
|
+
exclude_staff_management: boolean;
|
|
409
420
|
};
|
|
410
421
|
manage_devices: {
|
|
411
422
|
exclude: boolean;
|
|
@@ -427,6 +438,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
427
438
|
manage?: {
|
|
428
439
|
exclude?: boolean | undefined;
|
|
429
440
|
exclude_reservation_management?: boolean | undefined;
|
|
441
|
+
exclude_staff_management?: boolean | undefined;
|
|
430
442
|
} | undefined;
|
|
431
443
|
manage_devices?: {
|
|
432
444
|
exclude?: boolean | undefined;
|
|
@@ -588,6 +600,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
588
600
|
manage: {
|
|
589
601
|
exclude: boolean;
|
|
590
602
|
exclude_reservation_management: boolean;
|
|
603
|
+
exclude_staff_management: boolean;
|
|
591
604
|
};
|
|
592
605
|
manage_devices: {
|
|
593
606
|
exclude: boolean;
|
|
@@ -641,6 +654,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
641
654
|
manage?: {
|
|
642
655
|
exclude?: boolean | undefined;
|
|
643
656
|
exclude_reservation_management?: boolean | undefined;
|
|
657
|
+
exclude_staff_management?: boolean | undefined;
|
|
644
658
|
} | undefined;
|
|
645
659
|
manage_devices?: {
|
|
646
660
|
exclude?: boolean | undefined;
|
|
@@ -23,6 +23,10 @@ const base_manage_feature = base_feature.extend({
|
|
|
23
23
|
.boolean()
|
|
24
24
|
.default(false)
|
|
25
25
|
.describe('Indicates whether the customer can manage reservations for their properties.'),
|
|
26
|
+
exclude_staff_management: z
|
|
27
|
+
.boolean()
|
|
28
|
+
.default(false)
|
|
29
|
+
.describe('Indicates whether the customer can manage staff for their properties.'),
|
|
26
30
|
});
|
|
27
31
|
const base_organize_feature = base_feature;
|
|
28
32
|
const base_configure_feature = base_feature.extend({
|
|
@@ -75,7 +79,11 @@ export const portal_configuration = portal_configuration_base
|
|
|
75
79
|
features: {
|
|
76
80
|
connect: { exclude: false },
|
|
77
81
|
organize: { exclude: false },
|
|
78
|
-
manage: {
|
|
82
|
+
manage: {
|
|
83
|
+
exclude: false,
|
|
84
|
+
exclude_reservation_management: false,
|
|
85
|
+
exclude_staff_management: false,
|
|
86
|
+
},
|
|
79
87
|
manage_devices: {
|
|
80
88
|
exclude: false,
|
|
81
89
|
},
|
|
@@ -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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OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,wDAAwD,CAAC;IACrE,YAAY,EAAE,CAAC;SACZ,MAAM,CAAC;QACN,MAAM,EAAE,CAAC;aACN,KAAK,CAAC,CAAC,oBAAoB,EAAE,wBAAwB,CAAC,CAAC;aACvD,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB;KAC1D,OAAO,CAAC;IACP,QAAQ,EAAE;QACR,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC3B,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC5B,MAAM,EAAE,
|
|
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,C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AC;IAChD,QAAQ,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC;IACnC,WAAW,EAAE,CAAC;SACX,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,wDAAwD,CAAC;IACrE,YAAY,EAAE,CAAC;SACZ,MAAM,CAAC;QACN,MAAM,EAAE,CAAC;aACN,KAAK,CAAC,CAAC,oBAAoB,EAAE,wBAAwB,CAAC,CAAC;aACvD,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB;KAC1D,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,wBAAwB,EAAE,KAAK;SAChC;QACD,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,OAAO,EAAE,KAAK;YACd,+BAA+B,EAAE,KAAK,EAAE,UAAU;YAClD,0CAA0C,EAAE,KAAK,EAAE,UAAU;SAC9D;KACF;IACD,WAAW,EAAE,KAAK;CACnB,CAAC;KACD,QAAQ,CAAC,qCAAqC,CAAC,CAAA"}
|
|
@@ -31842,6 +31842,7 @@ declare const _default: {
|
|
|
31842
31842
|
manage: {
|
|
31843
31843
|
exclude: boolean;
|
|
31844
31844
|
exclude_reservation_management: boolean;
|
|
31845
|
+
exclude_staff_management: boolean;
|
|
31845
31846
|
};
|
|
31846
31847
|
manage_devices: {
|
|
31847
31848
|
exclude: boolean;
|
|
@@ -31919,6 +31920,11 @@ declare const _default: {
|
|
|
31919
31920
|
description: string;
|
|
31920
31921
|
type: string;
|
|
31921
31922
|
};
|
|
31923
|
+
exclude_staff_management: {
|
|
31924
|
+
default: boolean;
|
|
31925
|
+
description: string;
|
|
31926
|
+
type: string;
|
|
31927
|
+
};
|
|
31922
31928
|
};
|
|
31923
31929
|
type: string;
|
|
31924
31930
|
};
|
|
@@ -43000,6 +43006,11 @@ declare const _default: {
|
|
|
43000
43006
|
description: string;
|
|
43001
43007
|
type: string;
|
|
43002
43008
|
};
|
|
43009
|
+
exclude_staff_management: {
|
|
43010
|
+
default: boolean;
|
|
43011
|
+
description: string;
|
|
43012
|
+
type: string;
|
|
43013
|
+
};
|
|
43003
43014
|
};
|
|
43004
43015
|
type: string;
|
|
43005
43016
|
};
|
|
@@ -43391,6 +43402,11 @@ declare const _default: {
|
|
|
43391
43402
|
description: string;
|
|
43392
43403
|
type: string;
|
|
43393
43404
|
};
|
|
43405
|
+
exclude_staff_management: {
|
|
43406
|
+
default: boolean;
|
|
43407
|
+
description: string;
|
|
43408
|
+
type: string;
|
|
43409
|
+
};
|
|
43394
43410
|
};
|
|
43395
43411
|
type: string;
|
|
43396
43412
|
};
|
|
@@ -45627,7 +45643,6 @@ declare const _default: {
|
|
|
45627
45643
|
type: string;
|
|
45628
45644
|
};
|
|
45629
45645
|
device_type: {
|
|
45630
|
-
enum: string[];
|
|
45631
45646
|
type: string;
|
|
45632
45647
|
};
|
|
45633
45648
|
name: {
|
|
@@ -45741,7 +45756,6 @@ declare const _default: {
|
|
|
45741
45756
|
type: string;
|
|
45742
45757
|
};
|
|
45743
45758
|
device_type: {
|
|
45744
|
-
enum: string[];
|
|
45745
45759
|
type: string;
|
|
45746
45760
|
};
|
|
45747
45761
|
name: {
|
|
@@ -37423,6 +37423,7 @@ export default {
|
|
|
37423
37423
|
manage: {
|
|
37424
37424
|
exclude: false,
|
|
37425
37425
|
exclude_reservation_management: false,
|
|
37426
|
+
exclude_staff_management: false,
|
|
37426
37427
|
},
|
|
37427
37428
|
manage_devices: { exclude: false },
|
|
37428
37429
|
organize: { exclude: false },
|
|
@@ -37492,6 +37493,11 @@ export default {
|
|
|
37492
37493
|
description: 'Indicates whether the customer can manage reservations for their properties.',
|
|
37493
37494
|
type: 'boolean',
|
|
37494
37495
|
},
|
|
37496
|
+
exclude_staff_management: {
|
|
37497
|
+
default: false,
|
|
37498
|
+
description: 'Indicates whether the customer can manage staff for their properties.',
|
|
37499
|
+
type: 'boolean',
|
|
37500
|
+
},
|
|
37495
37501
|
},
|
|
37496
37502
|
type: 'object',
|
|
37497
37503
|
},
|
|
@@ -48495,6 +48501,11 @@ export default {
|
|
|
48495
48501
|
description: 'Indicates whether the customer can manage reservations for their properties.',
|
|
48496
48502
|
type: 'boolean',
|
|
48497
48503
|
},
|
|
48504
|
+
exclude_staff_management: {
|
|
48505
|
+
default: false,
|
|
48506
|
+
description: 'Indicates whether the customer can manage staff for their properties.',
|
|
48507
|
+
type: 'boolean',
|
|
48508
|
+
},
|
|
48498
48509
|
},
|
|
48499
48510
|
type: 'object',
|
|
48500
48511
|
},
|
|
@@ -48776,6 +48787,11 @@ export default {
|
|
|
48776
48787
|
description: 'Indicates whether the customer can manage reservations for their properties.',
|
|
48777
48788
|
type: 'boolean',
|
|
48778
48789
|
},
|
|
48790
|
+
exclude_staff_management: {
|
|
48791
|
+
default: false,
|
|
48792
|
+
description: 'Indicates whether the customer can manage staff for their properties.',
|
|
48793
|
+
type: 'boolean',
|
|
48794
|
+
},
|
|
48779
48795
|
},
|
|
48780
48796
|
type: 'object',
|
|
48781
48797
|
},
|
|
@@ -50576,10 +50592,7 @@ export default {
|
|
|
50576
50592
|
items: {
|
|
50577
50593
|
properties: {
|
|
50578
50594
|
device_id: { format: 'uuid', type: 'string' },
|
|
50579
|
-
device_type: {
|
|
50580
|
-
enum: ['lock', 'thermostat', 'sensor'],
|
|
50581
|
-
type: 'string',
|
|
50582
|
-
},
|
|
50595
|
+
device_type: { type: 'string' },
|
|
50583
50596
|
name: { type: 'string' },
|
|
50584
50597
|
},
|
|
50585
50598
|
required: ['device_id', 'device_type', 'name'],
|
|
@@ -50676,10 +50689,7 @@ export default {
|
|
|
50676
50689
|
items: {
|
|
50677
50690
|
properties: {
|
|
50678
50691
|
device_id: { format: 'uuid', type: 'string' },
|
|
50679
|
-
device_type: {
|
|
50680
|
-
enum: ['lock', 'thermostat', 'sensor'],
|
|
50681
|
-
type: 'string',
|
|
50682
|
-
},
|
|
50692
|
+
device_type: { type: 'string' },
|
|
50683
50693
|
name: { type: 'string' },
|
|
50684
50694
|
},
|
|
50685
50695
|
required: ['device_id', 'device_type', 'name'],
|