@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
|
@@ -31802,6 +31802,8 @@ export type Routes = {
|
|
|
31802
31802
|
exclude?: boolean;
|
|
31803
31803
|
/** Indicates whether the customer can manage reservations for their properties. */
|
|
31804
31804
|
exclude_reservation_management?: boolean;
|
|
31805
|
+
/** Indicates whether the customer can manage staff for their properties. */
|
|
31806
|
+
exclude_staff_management?: boolean;
|
|
31805
31807
|
};
|
|
31806
31808
|
/** Configuration for the manage devices feature.
|
|
31807
31809
|
---
|
|
@@ -59114,6 +59116,8 @@ export type Routes = {
|
|
|
59114
59116
|
exclude?: boolean;
|
|
59115
59117
|
/** Indicates whether the customer can manage reservations for their properties. */
|
|
59116
59118
|
exclude_reservation_management?: boolean;
|
|
59119
|
+
/** Indicates whether the customer can manage staff for their properties. */
|
|
59120
|
+
exclude_staff_management?: boolean;
|
|
59117
59121
|
};
|
|
59118
59122
|
/** Configuration for the manage devices feature.
|
|
59119
59123
|
---
|
|
@@ -60024,7 +60028,7 @@ export type Routes = {
|
|
|
60024
60028
|
parent_partner_resource_key?: string | undefined;
|
|
60025
60029
|
devices: {
|
|
60026
60030
|
device_id: string;
|
|
60027
|
-
device_type:
|
|
60031
|
+
device_type: string;
|
|
60028
60032
|
name: string;
|
|
60029
60033
|
}[];
|
|
60030
60034
|
acs_entrances: {
|
|
@@ -855,7 +855,7 @@ export declare const routes: {
|
|
|
855
855
|
include_if?: string[] | undefined;
|
|
856
856
|
exclude_if?: string[] | undefined;
|
|
857
857
|
manufacturer_id?: string | undefined;
|
|
858
|
-
main_category?: "thermostat" | "
|
|
858
|
+
main_category?: "thermostat" | "smartlock" | "sensor" | "relay" | "intercom" | "accessory" | undefined;
|
|
859
859
|
manufacturer_ids?: string[] | undefined;
|
|
860
860
|
integration_status?: "stable" | "beta" | "planned" | "unsupported" | "inquire" | undefined;
|
|
861
861
|
integration_support_levels?: ("stable" | "beta" | "planned" | "unsupported" | "inquire")[] | undefined;
|
|
@@ -864,7 +864,7 @@ export declare const routes: {
|
|
|
864
864
|
include_if?: string[] | undefined;
|
|
865
865
|
exclude_if?: string[] | undefined;
|
|
866
866
|
manufacturer_id?: string | undefined;
|
|
867
|
-
main_category?: "thermostat" | "
|
|
867
|
+
main_category?: "thermostat" | "smartlock" | "sensor" | "relay" | "intercom" | "accessory" | undefined;
|
|
868
868
|
manufacturer_ids?: string[] | undefined;
|
|
869
869
|
integration_status?: "stable" | "beta" | "planned" | "unsupported" | "inquire" | undefined;
|
|
870
870
|
integration_support_levels?: ("stable" | "beta" | "planned" | "unsupported" | "inquire")[] | undefined;
|
package/package.json
CHANGED
|
@@ -33,6 +33,12 @@ const base_manage_feature = base_feature.extend({
|
|
|
33
33
|
.describe(
|
|
34
34
|
'Indicates whether the customer can manage reservations for their properties.',
|
|
35
35
|
),
|
|
36
|
+
exclude_staff_management: z
|
|
37
|
+
.boolean()
|
|
38
|
+
.default(false)
|
|
39
|
+
.describe(
|
|
40
|
+
'Indicates whether the customer can manage staff for their properties.',
|
|
41
|
+
),
|
|
36
42
|
})
|
|
37
43
|
|
|
38
44
|
const base_organize_feature = base_feature
|
|
@@ -94,7 +100,11 @@ export const portal_configuration = portal_configuration_base
|
|
|
94
100
|
features: {
|
|
95
101
|
connect: { exclude: false },
|
|
96
102
|
organize: { exclude: false },
|
|
97
|
-
manage: {
|
|
103
|
+
manage: {
|
|
104
|
+
exclude: false,
|
|
105
|
+
exclude_reservation_management: false,
|
|
106
|
+
exclude_staff_management: false,
|
|
107
|
+
},
|
|
98
108
|
manage_devices: {
|
|
99
109
|
exclude: false,
|
|
100
110
|
},
|
|
@@ -41027,6 +41027,7 @@ export default {
|
|
|
41027
41027
|
manage: {
|
|
41028
41028
|
exclude: false,
|
|
41029
41029
|
exclude_reservation_management: false,
|
|
41030
|
+
exclude_staff_management: false,
|
|
41030
41031
|
},
|
|
41031
41032
|
manage_devices: { exclude: false },
|
|
41032
41033
|
organize: { exclude: false },
|
|
@@ -41107,6 +41108,12 @@ export default {
|
|
|
41107
41108
|
'Indicates whether the customer can manage reservations for their properties.',
|
|
41108
41109
|
type: 'boolean',
|
|
41109
41110
|
},
|
|
41111
|
+
exclude_staff_management: {
|
|
41112
|
+
default: false,
|
|
41113
|
+
description:
|
|
41114
|
+
'Indicates whether the customer can manage staff for their properties.',
|
|
41115
|
+
type: 'boolean',
|
|
41116
|
+
},
|
|
41110
41117
|
},
|
|
41111
41118
|
type: 'object',
|
|
41112
41119
|
},
|
|
@@ -52676,6 +52683,12 @@ export default {
|
|
|
52676
52683
|
'Indicates whether the customer can manage reservations for their properties.',
|
|
52677
52684
|
type: 'boolean',
|
|
52678
52685
|
},
|
|
52686
|
+
exclude_staff_management: {
|
|
52687
|
+
default: false,
|
|
52688
|
+
description:
|
|
52689
|
+
'Indicates whether the customer can manage staff for their properties.',
|
|
52690
|
+
type: 'boolean',
|
|
52691
|
+
},
|
|
52679
52692
|
},
|
|
52680
52693
|
type: 'object',
|
|
52681
52694
|
},
|
|
@@ -52976,6 +52989,12 @@ export default {
|
|
|
52976
52989
|
'Indicates whether the customer can manage reservations for their properties.',
|
|
52977
52990
|
type: 'boolean',
|
|
52978
52991
|
},
|
|
52992
|
+
exclude_staff_management: {
|
|
52993
|
+
default: false,
|
|
52994
|
+
description:
|
|
52995
|
+
'Indicates whether the customer can manage staff for their properties.',
|
|
52996
|
+
type: 'boolean',
|
|
52997
|
+
},
|
|
52979
52998
|
},
|
|
52980
52999
|
type: 'object',
|
|
52981
53000
|
},
|
|
@@ -54823,10 +54842,7 @@ export default {
|
|
|
54823
54842
|
items: {
|
|
54824
54843
|
properties: {
|
|
54825
54844
|
device_id: { format: 'uuid', type: 'string' },
|
|
54826
|
-
device_type: {
|
|
54827
|
-
enum: ['lock', 'thermostat', 'sensor'],
|
|
54828
|
-
type: 'string',
|
|
54829
|
-
},
|
|
54845
|
+
device_type: { type: 'string' },
|
|
54830
54846
|
name: { type: 'string' },
|
|
54831
54847
|
},
|
|
54832
54848
|
required: ['device_id', 'device_type', 'name'],
|
|
@@ -54924,10 +54940,7 @@ export default {
|
|
|
54924
54940
|
items: {
|
|
54925
54941
|
properties: {
|
|
54926
54942
|
device_id: { format: 'uuid', type: 'string' },
|
|
54927
|
-
device_type: {
|
|
54928
|
-
enum: ['lock', 'thermostat', 'sensor'],
|
|
54929
|
-
type: 'string',
|
|
54930
|
-
},
|
|
54943
|
+
device_type: { type: 'string' },
|
|
54931
54944
|
name: { type: 'string' },
|
|
54932
54945
|
},
|
|
54933
54946
|
required: ['device_id', 'device_type', 'name'],
|
|
@@ -36930,6 +36930,8 @@ export type Routes = {
|
|
|
36930
36930
|
exclude?: boolean
|
|
36931
36931
|
/** Indicates whether the customer can manage reservations for their properties. */
|
|
36932
36932
|
exclude_reservation_management?: boolean
|
|
36933
|
+
/** Indicates whether the customer can manage staff for their properties. */
|
|
36934
|
+
exclude_staff_management?: boolean
|
|
36933
36935
|
}
|
|
36934
36936
|
/** Configuration for the manage devices feature.
|
|
36935
36937
|
---
|
|
@@ -70414,6 +70416,8 @@ export type Routes = {
|
|
|
70414
70416
|
exclude?: boolean
|
|
70415
70417
|
/** Indicates whether the customer can manage reservations for their properties. */
|
|
70416
70418
|
exclude_reservation_management?: boolean
|
|
70419
|
+
/** Indicates whether the customer can manage staff for their properties. */
|
|
70420
|
+
exclude_staff_management?: boolean
|
|
70417
70421
|
}
|
|
70418
70422
|
/** Configuration for the manage devices feature.
|
|
70419
70423
|
---
|
|
@@ -71461,7 +71465,7 @@ export type Routes = {
|
|
|
71461
71465
|
parent_partner_resource_key?: string | undefined
|
|
71462
71466
|
devices: {
|
|
71463
71467
|
device_id: string
|
|
71464
|
-
device_type:
|
|
71468
|
+
device_type: string
|
|
71465
71469
|
name: string
|
|
71466
71470
|
}[]
|
|
71467
71471
|
acs_entrances: {
|