@seamapi/types 1.442.0 → 1.443.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 +86 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1914 -1913
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +86 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
- package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
- package/lib/seam/connect/models/batches/batch.d.ts +128 -120
- package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
- package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
- package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +368 -376
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
- package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
- package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
- package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
- package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
- package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
- package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
- package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
- package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
- package/lib/seam/connect/models/events/devices.d.ts +266 -266
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
- package/lib/seam/connect/models/events/phones.d.ts +8 -8
- package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
- package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +2 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +35 -0
- package/lib/seam/connect/openapi.js +82 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -0
- package/lib/seam/devicedb/models/device-model.d.ts +15 -15
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +8 -7
- package/src/lib/seam/connect/models/spaces/space.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +92 -0
- package/src/lib/seam/connect/route-types.ts +30 -0
- package/lib/seam/connect/internal/enums.d.ts +0 -1
- package/lib/seam/connect/internal/enums.js +0 -2
- package/lib/seam/connect/internal/enums.js.map +0 -1
- package/lib/seam/connect/internal/index.d.ts +0 -4
- package/lib/seam/connect/internal/index.js +0 -5
- package/lib/seam/connect/internal/index.js.map +0 -1
- package/lib/seam/connect/internal/model-types.d.ts +0 -2
- package/lib/seam/connect/internal/model-types.js +0 -2
- package/lib/seam/connect/internal/model-types.js.map +0 -1
- package/lib/seam/connect/internal/schemas.d.ts +0 -2
- package/lib/seam/connect/internal/schemas.js +0 -3
- package/lib/seam/connect/internal/schemas.js.map +0 -1
|
@@ -1,188 +1,188 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const neutral_resource: z.ZodObject<
|
|
2
|
+
export declare const neutral_resource: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
|
-
}
|
|
4
|
+
} & {
|
|
5
5
|
space_key: z.ZodString;
|
|
6
|
-
}
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
name: string;
|
|
8
8
|
space_key: string;
|
|
9
9
|
}, {
|
|
10
10
|
name: string;
|
|
11
11
|
space_key: string;
|
|
12
12
|
}>;
|
|
13
|
-
export declare const property_resource: z.ZodObject<
|
|
13
|
+
export declare const property_resource: z.ZodObject<{
|
|
14
14
|
name: z.ZodString;
|
|
15
|
-
}
|
|
15
|
+
} & {
|
|
16
16
|
property_key: z.ZodString;
|
|
17
|
-
}
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
name: string;
|
|
19
19
|
property_key: string;
|
|
20
20
|
}, {
|
|
21
21
|
name: string;
|
|
22
22
|
property_key: string;
|
|
23
23
|
}>;
|
|
24
|
-
export declare const room_resource: z.ZodObject<
|
|
24
|
+
export declare const room_resource: z.ZodObject<{
|
|
25
25
|
name: z.ZodString;
|
|
26
|
-
}
|
|
26
|
+
} & {
|
|
27
27
|
room_key: z.ZodString;
|
|
28
|
-
}
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
name: string;
|
|
30
30
|
room_key: string;
|
|
31
31
|
}, {
|
|
32
32
|
name: string;
|
|
33
33
|
room_key: string;
|
|
34
34
|
}>;
|
|
35
|
-
export declare const common_area_resource: z.ZodObject<
|
|
35
|
+
export declare const common_area_resource: z.ZodObject<{
|
|
36
36
|
name: z.ZodString;
|
|
37
|
-
}
|
|
37
|
+
} & {
|
|
38
38
|
common_area_key: z.ZodString;
|
|
39
|
-
}
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
name: string;
|
|
41
41
|
common_area_key: string;
|
|
42
42
|
}, {
|
|
43
43
|
name: string;
|
|
44
44
|
common_area_key: string;
|
|
45
45
|
}>;
|
|
46
|
-
export declare const unit_resource: z.ZodObject<
|
|
46
|
+
export declare const unit_resource: z.ZodObject<{
|
|
47
47
|
name: z.ZodString;
|
|
48
|
-
}
|
|
48
|
+
} & {
|
|
49
49
|
unit_key: z.ZodString;
|
|
50
|
-
}
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
name: string;
|
|
52
52
|
unit_key: string;
|
|
53
53
|
}, {
|
|
54
54
|
name: string;
|
|
55
55
|
unit_key: string;
|
|
56
56
|
}>;
|
|
57
|
-
export declare const facility_resource: z.ZodObject<
|
|
57
|
+
export declare const facility_resource: z.ZodObject<{
|
|
58
58
|
name: z.ZodString;
|
|
59
|
-
}
|
|
59
|
+
} & {
|
|
60
60
|
facility_key: z.ZodString;
|
|
61
|
-
}
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
name: string;
|
|
63
63
|
facility_key: string;
|
|
64
64
|
}, {
|
|
65
65
|
name: string;
|
|
66
66
|
facility_key: string;
|
|
67
67
|
}>;
|
|
68
|
-
export declare const building_resource: z.ZodObject<
|
|
68
|
+
export declare const building_resource: z.ZodObject<{
|
|
69
69
|
name: z.ZodString;
|
|
70
|
-
}
|
|
70
|
+
} & {
|
|
71
71
|
building_key: z.ZodString;
|
|
72
|
-
}
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
name: string;
|
|
74
74
|
building_key: string;
|
|
75
75
|
}, {
|
|
76
76
|
name: string;
|
|
77
77
|
building_key: string;
|
|
78
78
|
}>;
|
|
79
|
-
export declare const listing_resource: z.ZodObject<
|
|
79
|
+
export declare const listing_resource: z.ZodObject<{
|
|
80
80
|
name: z.ZodString;
|
|
81
|
-
}
|
|
81
|
+
} & {
|
|
82
82
|
listing_key: z.ZodString;
|
|
83
|
-
}
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
84
|
name: string;
|
|
85
85
|
listing_key: string;
|
|
86
86
|
}, {
|
|
87
87
|
name: string;
|
|
88
88
|
listing_key: string;
|
|
89
89
|
}>;
|
|
90
|
-
export declare const property_listing_resource: z.ZodObject<
|
|
90
|
+
export declare const property_listing_resource: z.ZodObject<{
|
|
91
91
|
name: z.ZodString;
|
|
92
|
-
}
|
|
92
|
+
} & {
|
|
93
93
|
property_listing_key: z.ZodString;
|
|
94
|
-
}
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
name: string;
|
|
96
96
|
property_listing_key: string;
|
|
97
97
|
}, {
|
|
98
98
|
name: string;
|
|
99
99
|
property_listing_key: string;
|
|
100
100
|
}>;
|
|
101
|
-
export declare const location_resource: z.ZodUnion<[z.ZodObject<
|
|
101
|
+
export declare const location_resource: z.ZodUnion<[z.ZodObject<{
|
|
102
102
|
name: z.ZodString;
|
|
103
|
-
}
|
|
103
|
+
} & {
|
|
104
104
|
space_key: z.ZodString;
|
|
105
|
-
}
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
name: string;
|
|
107
107
|
space_key: string;
|
|
108
108
|
}, {
|
|
109
109
|
name: string;
|
|
110
110
|
space_key: string;
|
|
111
|
-
}>, z.ZodObject<
|
|
111
|
+
}>, z.ZodObject<{
|
|
112
112
|
name: z.ZodString;
|
|
113
|
-
}
|
|
113
|
+
} & {
|
|
114
114
|
property_key: z.ZodString;
|
|
115
|
-
}
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
name: string;
|
|
117
117
|
property_key: string;
|
|
118
118
|
}, {
|
|
119
119
|
name: string;
|
|
120
120
|
property_key: string;
|
|
121
|
-
}>, z.ZodObject<
|
|
121
|
+
}>, z.ZodObject<{
|
|
122
122
|
name: z.ZodString;
|
|
123
|
-
}
|
|
123
|
+
} & {
|
|
124
124
|
room_key: z.ZodString;
|
|
125
|
-
}
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
name: string;
|
|
127
127
|
room_key: string;
|
|
128
128
|
}, {
|
|
129
129
|
name: string;
|
|
130
130
|
room_key: string;
|
|
131
|
-
}>, z.ZodObject<
|
|
131
|
+
}>, z.ZodObject<{
|
|
132
132
|
name: z.ZodString;
|
|
133
|
-
}
|
|
133
|
+
} & {
|
|
134
134
|
common_area_key: z.ZodString;
|
|
135
|
-
}
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
136
|
name: string;
|
|
137
137
|
common_area_key: string;
|
|
138
138
|
}, {
|
|
139
139
|
name: string;
|
|
140
140
|
common_area_key: string;
|
|
141
|
-
}>, z.ZodObject<
|
|
141
|
+
}>, z.ZodObject<{
|
|
142
142
|
name: z.ZodString;
|
|
143
|
-
}
|
|
143
|
+
} & {
|
|
144
144
|
unit_key: z.ZodString;
|
|
145
|
-
}
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
146
|
name: string;
|
|
147
147
|
unit_key: string;
|
|
148
148
|
}, {
|
|
149
149
|
name: string;
|
|
150
150
|
unit_key: string;
|
|
151
|
-
}>, z.ZodObject<
|
|
151
|
+
}>, z.ZodObject<{
|
|
152
152
|
name: z.ZodString;
|
|
153
|
-
}
|
|
153
|
+
} & {
|
|
154
154
|
facility_key: z.ZodString;
|
|
155
|
-
}
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
156
|
name: string;
|
|
157
157
|
facility_key: string;
|
|
158
158
|
}, {
|
|
159
159
|
name: string;
|
|
160
160
|
facility_key: string;
|
|
161
|
-
}>, z.ZodObject<
|
|
161
|
+
}>, z.ZodObject<{
|
|
162
162
|
name: z.ZodString;
|
|
163
|
-
}
|
|
163
|
+
} & {
|
|
164
164
|
building_key: z.ZodString;
|
|
165
|
-
}
|
|
165
|
+
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
name: string;
|
|
167
167
|
building_key: string;
|
|
168
168
|
}, {
|
|
169
169
|
name: string;
|
|
170
170
|
building_key: string;
|
|
171
|
-
}>, z.ZodObject<
|
|
171
|
+
}>, z.ZodObject<{
|
|
172
172
|
name: z.ZodString;
|
|
173
|
-
}
|
|
173
|
+
} & {
|
|
174
174
|
listing_key: z.ZodString;
|
|
175
|
-
}
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
176
|
name: string;
|
|
177
177
|
listing_key: string;
|
|
178
178
|
}, {
|
|
179
179
|
name: string;
|
|
180
180
|
listing_key: string;
|
|
181
|
-
}>, z.ZodObject<
|
|
181
|
+
}>, z.ZodObject<{
|
|
182
182
|
name: z.ZodString;
|
|
183
|
-
}
|
|
183
|
+
} & {
|
|
184
184
|
property_listing_key: z.ZodString;
|
|
185
|
-
}
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
186
|
name: string;
|
|
187
187
|
property_listing_key: string;
|
|
188
188
|
}, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const guest_resource: z.ZodObject<
|
|
2
|
+
export declare const guest_resource: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
email_address: z.ZodOptional<z.ZodString>;
|
|
5
5
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
6
|
-
}
|
|
6
|
+
} & {
|
|
7
7
|
guest_key: z.ZodString;
|
|
8
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
name: string;
|
|
10
10
|
guest_key: string;
|
|
11
11
|
email_address?: string | undefined;
|
|
@@ -16,13 +16,13 @@ export declare const guest_resource: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16
16
|
email_address?: string | undefined;
|
|
17
17
|
phone_number?: string | undefined;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const tenant_resource: z.ZodObject<
|
|
19
|
+
export declare const tenant_resource: z.ZodObject<{
|
|
20
20
|
name: z.ZodString;
|
|
21
21
|
email_address: z.ZodOptional<z.ZodString>;
|
|
22
22
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
23
|
-
}
|
|
23
|
+
} & {
|
|
24
24
|
tenant_key: z.ZodString;
|
|
25
|
-
}
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
name: string;
|
|
27
27
|
tenant_key: string;
|
|
28
28
|
email_address?: string | undefined;
|
|
@@ -33,13 +33,13 @@ export declare const tenant_resource: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
33
33
|
email_address?: string | undefined;
|
|
34
34
|
phone_number?: string | undefined;
|
|
35
35
|
}>;
|
|
36
|
-
export declare const resident_resource: z.ZodObject<
|
|
36
|
+
export declare const resident_resource: z.ZodObject<{
|
|
37
37
|
name: z.ZodString;
|
|
38
38
|
email_address: z.ZodOptional<z.ZodString>;
|
|
39
39
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
40
|
-
}
|
|
40
|
+
} & {
|
|
41
41
|
resident_key: z.ZodString;
|
|
42
|
-
}
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
name: string;
|
|
44
44
|
resident_key: string;
|
|
45
45
|
email_address?: string | undefined;
|
|
@@ -50,13 +50,13 @@ export declare const resident_resource: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
50
50
|
email_address?: string | undefined;
|
|
51
51
|
phone_number?: string | undefined;
|
|
52
52
|
}>;
|
|
53
|
-
export declare const user_resource: z.ZodObject<
|
|
53
|
+
export declare const user_resource: z.ZodObject<{
|
|
54
54
|
name: z.ZodString;
|
|
55
55
|
email_address: z.ZodOptional<z.ZodString>;
|
|
56
56
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
57
|
-
}
|
|
57
|
+
} & {
|
|
58
58
|
user_key: z.ZodString;
|
|
59
|
-
}
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
name: string;
|
|
61
61
|
user_key: string;
|
|
62
62
|
email_address?: string | undefined;
|
|
@@ -67,13 +67,13 @@ export declare const user_resource: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
67
67
|
email_address?: string | undefined;
|
|
68
68
|
phone_number?: string | undefined;
|
|
69
69
|
}>;
|
|
70
|
-
export declare const user_identity_resource: z.ZodObject<
|
|
70
|
+
export declare const user_identity_resource: z.ZodObject<{
|
|
71
71
|
name: z.ZodString;
|
|
72
72
|
email_address: z.ZodOptional<z.ZodString>;
|
|
73
73
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
74
|
-
}
|
|
74
|
+
} & {
|
|
75
75
|
user_identity_key: z.ZodString;
|
|
76
|
-
}
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
name: string;
|
|
78
78
|
user_identity_key: string;
|
|
79
79
|
email_address?: string | undefined;
|
|
@@ -84,13 +84,13 @@ export declare const user_identity_resource: z.ZodObject<z.objectUtil.extendShap
|
|
|
84
84
|
email_address?: string | undefined;
|
|
85
85
|
phone_number?: string | undefined;
|
|
86
86
|
}>;
|
|
87
|
-
export declare const user_identity_resource_union: z.ZodUnion<[z.ZodObject<
|
|
87
|
+
export declare const user_identity_resource_union: z.ZodUnion<[z.ZodObject<{
|
|
88
88
|
name: z.ZodString;
|
|
89
89
|
email_address: z.ZodOptional<z.ZodString>;
|
|
90
90
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
91
|
-
}
|
|
91
|
+
} & {
|
|
92
92
|
guest_key: z.ZodString;
|
|
93
|
-
}
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
94
|
name: string;
|
|
95
95
|
guest_key: string;
|
|
96
96
|
email_address?: string | undefined;
|
|
@@ -100,13 +100,13 @@ export declare const user_identity_resource_union: z.ZodUnion<[z.ZodObject<z.obj
|
|
|
100
100
|
guest_key: string;
|
|
101
101
|
email_address?: string | undefined;
|
|
102
102
|
phone_number?: string | undefined;
|
|
103
|
-
}>, z.ZodObject<
|
|
103
|
+
}>, z.ZodObject<{
|
|
104
104
|
name: z.ZodString;
|
|
105
105
|
email_address: z.ZodOptional<z.ZodString>;
|
|
106
106
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
107
|
-
}
|
|
107
|
+
} & {
|
|
108
108
|
tenant_key: z.ZodString;
|
|
109
|
-
}
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
name: string;
|
|
111
111
|
tenant_key: string;
|
|
112
112
|
email_address?: string | undefined;
|
|
@@ -116,13 +116,13 @@ export declare const user_identity_resource_union: z.ZodUnion<[z.ZodObject<z.obj
|
|
|
116
116
|
tenant_key: string;
|
|
117
117
|
email_address?: string | undefined;
|
|
118
118
|
phone_number?: string | undefined;
|
|
119
|
-
}>, z.ZodObject<
|
|
119
|
+
}>, z.ZodObject<{
|
|
120
120
|
name: z.ZodString;
|
|
121
121
|
email_address: z.ZodOptional<z.ZodString>;
|
|
122
122
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
123
|
-
}
|
|
123
|
+
} & {
|
|
124
124
|
resident_key: z.ZodString;
|
|
125
|
-
}
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
name: string;
|
|
127
127
|
resident_key: string;
|
|
128
128
|
email_address?: string | undefined;
|
|
@@ -132,13 +132,13 @@ export declare const user_identity_resource_union: z.ZodUnion<[z.ZodObject<z.obj
|
|
|
132
132
|
resident_key: string;
|
|
133
133
|
email_address?: string | undefined;
|
|
134
134
|
phone_number?: string | undefined;
|
|
135
|
-
}>, z.ZodObject<
|
|
135
|
+
}>, z.ZodObject<{
|
|
136
136
|
name: z.ZodString;
|
|
137
137
|
email_address: z.ZodOptional<z.ZodString>;
|
|
138
138
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
139
|
-
}
|
|
139
|
+
} & {
|
|
140
140
|
user_key: z.ZodString;
|
|
141
|
-
}
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
name: string;
|
|
143
143
|
user_key: string;
|
|
144
144
|
email_address?: string | undefined;
|
|
@@ -148,13 +148,13 @@ export declare const user_identity_resource_union: z.ZodUnion<[z.ZodObject<z.obj
|
|
|
148
148
|
user_key: string;
|
|
149
149
|
email_address?: string | undefined;
|
|
150
150
|
phone_number?: string | undefined;
|
|
151
|
-
}>, z.ZodObject<
|
|
151
|
+
}>, z.ZodObject<{
|
|
152
152
|
name: z.ZodString;
|
|
153
153
|
email_address: z.ZodOptional<z.ZodString>;
|
|
154
154
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
155
|
-
}
|
|
155
|
+
} & {
|
|
156
156
|
user_identity_key: z.ZodString;
|
|
157
|
-
}
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
158
|
name: string;
|
|
159
159
|
user_identity_key: string;
|
|
160
160
|
email_address?: string | undefined;
|
|
@@ -3,7 +3,7 @@ import { access_code_capability_properties, access_code_code_constraint } from '
|
|
|
3
3
|
import { lock_capability_properties } from './lock.js';
|
|
4
4
|
import { thermostat_capability_properties } from './thermostat.js';
|
|
5
5
|
export { access_code_capability_properties, access_code_code_constraint, lock_capability_properties, thermostat_capability_properties, };
|
|
6
|
-
export declare const capability_properties: z.ZodIntersection<z.ZodObject<
|
|
6
|
+
export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
7
7
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
8
8
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
9
9
|
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
|
|
@@ -28,7 +28,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
28
28
|
max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
29
29
|
supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
30
30
|
has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
31
|
-
}
|
|
31
|
+
} & {
|
|
32
32
|
locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
33
33
|
keypad_battery: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
34
34
|
level: z.ZodNumber;
|
|
@@ -38,7 +38,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
38
38
|
level: number;
|
|
39
39
|
}>>>;
|
|
40
40
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
41
|
-
}
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
43
43
|
code_constraints?: ({
|
|
44
44
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
@@ -65,12 +65,12 @@ export declare const PROVIDER_CATEGORY_MAP: {
|
|
|
65
65
|
};
|
|
66
66
|
export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
|
|
67
67
|
export declare const PUBLIC_PROVIDER_CATEGORIES: typeof PROVIDER_CATEGORIES;
|
|
68
|
-
export declare const device_provider: z.ZodObject<
|
|
68
|
+
export declare const device_provider: z.ZodObject<{
|
|
69
69
|
device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
|
|
70
70
|
display_name: z.ZodString;
|
|
71
71
|
image_url: z.ZodString;
|
|
72
72
|
provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
|
|
73
|
-
}
|
|
73
|
+
} & {
|
|
74
74
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
75
75
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
76
76
|
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -79,12 +79,12 @@ export declare const device_provider: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
79
79
|
can_hvac_cool: z.ZodOptional<z.ZodBoolean>;
|
|
80
80
|
can_hvac_heat_cool: z.ZodOptional<z.ZodBoolean>;
|
|
81
81
|
can_turn_off_hvac: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
-
}
|
|
82
|
+
} & {
|
|
83
83
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
84
84
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
85
85
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
86
86
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
}
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
display_name: string;
|
|
89
89
|
image_url: string;
|
|
90
90
|
device_provider_name: DeviceProviderName;
|