@seamapi/types 1.309.0 → 1.311.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 +43 -392
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +93 -2328
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +33 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +2 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +6 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +2 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto-space.d.ts +15 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js +7 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -312
- package/lib/seam/connect/models/action-attempts/action-attempt.js +0 -8
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +25 -0
- package/lib/seam/connect/openapi.js +17 -305
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +122 -2103
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +11 -0
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +0 -8
- package/src/lib/seam/connect/openapi.ts +17 -305
- package/src/lib/seam/connect/route-types.ts +45 -2268
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-cool.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-cool.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-heat-cool.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-heat-cool.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-heat.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-heat.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.js.map +0 -1
- package/src/lib/seam/connect/models/action-attempts/set-cool.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-heat-cool.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-heat.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-thermostat-off.ts +0 -36
|
@@ -88,10 +88,16 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
88
88
|
}>>;
|
|
89
89
|
dormakaba_community_metadata: z.ZodOptional<z.ZodObject<{
|
|
90
90
|
access_point_name: z.ZodString;
|
|
91
|
+
common_area_number: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
inner_access_points_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
91
93
|
}, "strip", z.ZodTypeAny, {
|
|
92
94
|
access_point_name: string;
|
|
95
|
+
common_area_number?: number | undefined;
|
|
96
|
+
inner_access_points_names?: string[] | undefined;
|
|
93
97
|
}, {
|
|
94
98
|
access_point_name: string;
|
|
99
|
+
common_area_number?: number | undefined;
|
|
100
|
+
inner_access_points_names?: string[] | undefined;
|
|
95
101
|
}>>;
|
|
96
102
|
assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
|
|
97
103
|
door_type: z.ZodEnum<["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"]>;
|
|
@@ -112,6 +118,19 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
112
118
|
stand_open?: boolean | undefined;
|
|
113
119
|
pms_id?: string | undefined;
|
|
114
120
|
}>>;
|
|
121
|
+
salto_space_metadata: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
door_name: z.ZodString;
|
|
123
|
+
ext_door_id: z.ZodString;
|
|
124
|
+
door_description: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
door_name: string;
|
|
127
|
+
ext_door_id: string;
|
|
128
|
+
door_description?: string | undefined;
|
|
129
|
+
}, {
|
|
130
|
+
door_name: string;
|
|
131
|
+
ext_door_id: string;
|
|
132
|
+
door_description?: string | undefined;
|
|
133
|
+
}>>;
|
|
115
134
|
}, "strip", z.ZodTypeAny, {
|
|
116
135
|
created_at: string;
|
|
117
136
|
errors: {
|
|
@@ -154,6 +173,13 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
154
173
|
} | undefined;
|
|
155
174
|
dormakaba_community_metadata?: {
|
|
156
175
|
access_point_name: string;
|
|
176
|
+
common_area_number?: number | undefined;
|
|
177
|
+
inner_access_points_names?: string[] | undefined;
|
|
178
|
+
} | undefined;
|
|
179
|
+
salto_space_metadata?: {
|
|
180
|
+
door_name: string;
|
|
181
|
+
ext_door_id: string;
|
|
182
|
+
door_description?: string | undefined;
|
|
157
183
|
} | undefined;
|
|
158
184
|
}, {
|
|
159
185
|
created_at: string;
|
|
@@ -197,6 +223,13 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
197
223
|
} | undefined;
|
|
198
224
|
dormakaba_community_metadata?: {
|
|
199
225
|
access_point_name: string;
|
|
226
|
+
common_area_number?: number | undefined;
|
|
227
|
+
inner_access_points_names?: string[] | undefined;
|
|
228
|
+
} | undefined;
|
|
229
|
+
salto_space_metadata?: {
|
|
230
|
+
door_name: string;
|
|
231
|
+
ext_door_id: string;
|
|
232
|
+
door_description?: string | undefined;
|
|
200
233
|
} | undefined;
|
|
201
234
|
}>;
|
|
202
235
|
export type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { acs_entrance_assa_abloy_vostio_metadata, acs_entrance_dormakaba_community_metadata, acs_entrance_latch_metadata, acs_entrance_salto_ks_metadata, acs_entrance_visionline_metadata, } from './metadata/index.js';
|
|
3
|
+
import { acs_entrance_salto_space_metadata } from './metadata/salto-space.js';
|
|
3
4
|
export const acs_entrance = z
|
|
4
5
|
.object({
|
|
5
6
|
acs_system_id: z
|
|
@@ -21,6 +22,7 @@ export const acs_entrance = z
|
|
|
21
22
|
salto_ks_metadata: acs_entrance_salto_ks_metadata.optional(),
|
|
22
23
|
dormakaba_community_metadata: acs_entrance_dormakaba_community_metadata.optional(),
|
|
23
24
|
assa_abloy_vostio_metadata: acs_entrance_assa_abloy_vostio_metadata.optional(),
|
|
25
|
+
salto_space_metadata: acs_entrance_salto_space_metadata.optional(),
|
|
24
26
|
})
|
|
25
27
|
.describe('Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).');
|
|
26
28
|
//# sourceMappingURL=acs-entrance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,uCAAuC,EACvC,yCAAyC,EACzC,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,uCAAuC,EACvC,yCAAyC,EACzC,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC;KAC1B,MAAM,CAAC;IACN,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAClE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IACnE,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,cAAc,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IAChE,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IAC5D,4BAA4B,EAC1B,yCAAyC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EACxB,uCAAuC,CAAC,QAAQ,EAAE;IACpD,oBAAoB,EAAE,iCAAiC,CAAC,QAAQ,EAAE;CACnE,CAAC;KACD,QAAQ,CACP,qNAAqN,CACtN,CAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const acs_entrance_dormakaba_community_metadata: z.ZodObject<{
|
|
3
3
|
access_point_name: z.ZodString;
|
|
4
|
+
common_area_number: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
inner_access_points_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4
6
|
}, "strip", z.ZodTypeAny, {
|
|
5
7
|
access_point_name: string;
|
|
8
|
+
common_area_number?: number | undefined;
|
|
9
|
+
inner_access_points_names?: string[] | undefined;
|
|
6
10
|
}, {
|
|
7
11
|
access_point_name: string;
|
|
12
|
+
common_area_number?: number | undefined;
|
|
13
|
+
inner_access_points_names?: string[] | undefined;
|
|
8
14
|
}>;
|
|
9
15
|
export type AcsEntranceDormakabaCommunityMetadata = z.infer<typeof acs_entrance_dormakaba_community_metadata>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const acs_entrance_dormakaba_community_metadata = z.object({
|
|
3
3
|
access_point_name: z.string(),
|
|
4
|
+
common_area_number: z.number().optional(),
|
|
5
|
+
inner_access_points_names: z.array(z.string()).optional(),
|
|
4
6
|
});
|
|
5
7
|
//# sourceMappingURL=dormakaba-community.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dormakaba-community.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"dormakaba-community.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const acs_entrance_salto_space_metadata: z.ZodObject<{
|
|
3
|
+
door_name: z.ZodString;
|
|
4
|
+
ext_door_id: z.ZodString;
|
|
5
|
+
door_description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
door_name: string;
|
|
8
|
+
ext_door_id: string;
|
|
9
|
+
door_description?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
door_name: string;
|
|
12
|
+
ext_door_id: string;
|
|
13
|
+
door_description?: string | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type AcsEntranceSaltoSpaceMetadata = z.infer<typeof acs_entrance_salto_space_metadata>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"salto-space.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/salto-space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAA"}
|
|
@@ -2218,240 +2218,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2218
2218
|
status: z.ZodLiteral<"pending">;
|
|
2219
2219
|
result: z.ZodNull;
|
|
2220
2220
|
error: z.ZodNull;
|
|
2221
|
-
}>, {
|
|
2222
|
-
action_type: z.ZodLiteral<"SET_COOL">;
|
|
2223
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2224
|
-
error: null;
|
|
2225
|
-
status: "pending";
|
|
2226
|
-
action_attempt_id: string;
|
|
2227
|
-
result: null;
|
|
2228
|
-
action_type: "SET_COOL";
|
|
2229
|
-
}, {
|
|
2230
|
-
error: null;
|
|
2231
|
-
status: "pending";
|
|
2232
|
-
action_attempt_id: string;
|
|
2233
|
-
result: null;
|
|
2234
|
-
action_type: "SET_COOL";
|
|
2235
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2236
|
-
action_attempt_id: z.ZodString;
|
|
2237
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2238
|
-
}, {
|
|
2239
|
-
status: z.ZodLiteral<"success">;
|
|
2240
|
-
error: z.ZodNull;
|
|
2241
|
-
}>, {
|
|
2242
|
-
action_type: z.ZodLiteral<"SET_COOL">;
|
|
2243
|
-
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2244
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2245
|
-
error: null;
|
|
2246
|
-
status: "success";
|
|
2247
|
-
action_attempt_id: string;
|
|
2248
|
-
result: {};
|
|
2249
|
-
action_type: "SET_COOL";
|
|
2250
|
-
}, {
|
|
2251
|
-
error: null;
|
|
2252
|
-
status: "success";
|
|
2253
|
-
action_attempt_id: string;
|
|
2254
|
-
result: {};
|
|
2255
|
-
action_type: "SET_COOL";
|
|
2256
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2257
|
-
action_attempt_id: z.ZodString;
|
|
2258
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2259
|
-
}, {
|
|
2260
|
-
status: z.ZodLiteral<"error">;
|
|
2261
|
-
result: z.ZodNull;
|
|
2262
|
-
}>, {
|
|
2263
|
-
action_type: z.ZodLiteral<"SET_COOL">;
|
|
2264
|
-
error: z.ZodObject<{
|
|
2265
|
-
type: z.ZodString;
|
|
2266
|
-
message: z.ZodString;
|
|
2267
|
-
}, "strip", z.ZodTypeAny, {
|
|
2268
|
-
type: string;
|
|
2269
|
-
message: string;
|
|
2270
|
-
}, {
|
|
2271
|
-
type: string;
|
|
2272
|
-
message: string;
|
|
2273
|
-
}>;
|
|
2274
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2275
|
-
error: {
|
|
2276
|
-
type: string;
|
|
2277
|
-
message: string;
|
|
2278
|
-
};
|
|
2279
|
-
status: "error";
|
|
2280
|
-
action_attempt_id: string;
|
|
2281
|
-
result: null;
|
|
2282
|
-
action_type: "SET_COOL";
|
|
2283
|
-
}, {
|
|
2284
|
-
error: {
|
|
2285
|
-
type: string;
|
|
2286
|
-
message: string;
|
|
2287
|
-
};
|
|
2288
|
-
status: "error";
|
|
2289
|
-
action_attempt_id: string;
|
|
2290
|
-
result: null;
|
|
2291
|
-
action_type: "SET_COOL";
|
|
2292
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2293
|
-
action_attempt_id: z.ZodString;
|
|
2294
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2295
|
-
}, {
|
|
2296
|
-
status: z.ZodLiteral<"pending">;
|
|
2297
|
-
result: z.ZodNull;
|
|
2298
|
-
error: z.ZodNull;
|
|
2299
|
-
}>, {
|
|
2300
|
-
action_type: z.ZodLiteral<"SET_HEAT">;
|
|
2301
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2302
|
-
error: null;
|
|
2303
|
-
status: "pending";
|
|
2304
|
-
action_attempt_id: string;
|
|
2305
|
-
result: null;
|
|
2306
|
-
action_type: "SET_HEAT";
|
|
2307
|
-
}, {
|
|
2308
|
-
error: null;
|
|
2309
|
-
status: "pending";
|
|
2310
|
-
action_attempt_id: string;
|
|
2311
|
-
result: null;
|
|
2312
|
-
action_type: "SET_HEAT";
|
|
2313
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2314
|
-
action_attempt_id: z.ZodString;
|
|
2315
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2316
|
-
}, {
|
|
2317
|
-
status: z.ZodLiteral<"success">;
|
|
2318
|
-
error: z.ZodNull;
|
|
2319
|
-
}>, {
|
|
2320
|
-
action_type: z.ZodLiteral<"SET_HEAT">;
|
|
2321
|
-
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2322
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2323
|
-
error: null;
|
|
2324
|
-
status: "success";
|
|
2325
|
-
action_attempt_id: string;
|
|
2326
|
-
result: {};
|
|
2327
|
-
action_type: "SET_HEAT";
|
|
2328
|
-
}, {
|
|
2329
|
-
error: null;
|
|
2330
|
-
status: "success";
|
|
2331
|
-
action_attempt_id: string;
|
|
2332
|
-
result: {};
|
|
2333
|
-
action_type: "SET_HEAT";
|
|
2334
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2335
|
-
action_attempt_id: z.ZodString;
|
|
2336
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2337
|
-
}, {
|
|
2338
|
-
status: z.ZodLiteral<"error">;
|
|
2339
|
-
result: z.ZodNull;
|
|
2340
|
-
}>, {
|
|
2341
|
-
action_type: z.ZodLiteral<"SET_HEAT">;
|
|
2342
|
-
error: z.ZodObject<{
|
|
2343
|
-
type: z.ZodString;
|
|
2344
|
-
message: z.ZodString;
|
|
2345
|
-
}, "strip", z.ZodTypeAny, {
|
|
2346
|
-
type: string;
|
|
2347
|
-
message: string;
|
|
2348
|
-
}, {
|
|
2349
|
-
type: string;
|
|
2350
|
-
message: string;
|
|
2351
|
-
}>;
|
|
2352
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2353
|
-
error: {
|
|
2354
|
-
type: string;
|
|
2355
|
-
message: string;
|
|
2356
|
-
};
|
|
2357
|
-
status: "error";
|
|
2358
|
-
action_attempt_id: string;
|
|
2359
|
-
result: null;
|
|
2360
|
-
action_type: "SET_HEAT";
|
|
2361
|
-
}, {
|
|
2362
|
-
error: {
|
|
2363
|
-
type: string;
|
|
2364
|
-
message: string;
|
|
2365
|
-
};
|
|
2366
|
-
status: "error";
|
|
2367
|
-
action_attempt_id: string;
|
|
2368
|
-
result: null;
|
|
2369
|
-
action_type: "SET_HEAT";
|
|
2370
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2371
|
-
action_attempt_id: z.ZodString;
|
|
2372
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2373
|
-
}, {
|
|
2374
|
-
status: z.ZodLiteral<"pending">;
|
|
2375
|
-
result: z.ZodNull;
|
|
2376
|
-
error: z.ZodNull;
|
|
2377
|
-
}>, {
|
|
2378
|
-
action_type: z.ZodLiteral<"SET_HEAT_COOL">;
|
|
2379
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2380
|
-
error: null;
|
|
2381
|
-
status: "pending";
|
|
2382
|
-
action_attempt_id: string;
|
|
2383
|
-
result: null;
|
|
2384
|
-
action_type: "SET_HEAT_COOL";
|
|
2385
|
-
}, {
|
|
2386
|
-
error: null;
|
|
2387
|
-
status: "pending";
|
|
2388
|
-
action_attempt_id: string;
|
|
2389
|
-
result: null;
|
|
2390
|
-
action_type: "SET_HEAT_COOL";
|
|
2391
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2392
|
-
action_attempt_id: z.ZodString;
|
|
2393
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2394
|
-
}, {
|
|
2395
|
-
status: z.ZodLiteral<"success">;
|
|
2396
|
-
error: z.ZodNull;
|
|
2397
|
-
}>, {
|
|
2398
|
-
action_type: z.ZodLiteral<"SET_HEAT_COOL">;
|
|
2399
|
-
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2400
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2401
|
-
error: null;
|
|
2402
|
-
status: "success";
|
|
2403
|
-
action_attempt_id: string;
|
|
2404
|
-
result: {};
|
|
2405
|
-
action_type: "SET_HEAT_COOL";
|
|
2406
|
-
}, {
|
|
2407
|
-
error: null;
|
|
2408
|
-
status: "success";
|
|
2409
|
-
action_attempt_id: string;
|
|
2410
|
-
result: {};
|
|
2411
|
-
action_type: "SET_HEAT_COOL";
|
|
2412
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2413
|
-
action_attempt_id: z.ZodString;
|
|
2414
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2415
|
-
}, {
|
|
2416
|
-
status: z.ZodLiteral<"error">;
|
|
2417
|
-
result: z.ZodNull;
|
|
2418
|
-
}>, {
|
|
2419
|
-
action_type: z.ZodLiteral<"SET_HEAT_COOL">;
|
|
2420
|
-
error: z.ZodObject<{
|
|
2421
|
-
type: z.ZodString;
|
|
2422
|
-
message: z.ZodString;
|
|
2423
|
-
}, "strip", z.ZodTypeAny, {
|
|
2424
|
-
type: string;
|
|
2425
|
-
message: string;
|
|
2426
|
-
}, {
|
|
2427
|
-
type: string;
|
|
2428
|
-
message: string;
|
|
2429
|
-
}>;
|
|
2430
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2431
|
-
error: {
|
|
2432
|
-
type: string;
|
|
2433
|
-
message: string;
|
|
2434
|
-
};
|
|
2435
|
-
status: "error";
|
|
2436
|
-
action_attempt_id: string;
|
|
2437
|
-
result: null;
|
|
2438
|
-
action_type: "SET_HEAT_COOL";
|
|
2439
|
-
}, {
|
|
2440
|
-
error: {
|
|
2441
|
-
type: string;
|
|
2442
|
-
message: string;
|
|
2443
|
-
};
|
|
2444
|
-
status: "error";
|
|
2445
|
-
action_attempt_id: string;
|
|
2446
|
-
result: null;
|
|
2447
|
-
action_type: "SET_HEAT_COOL";
|
|
2448
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2449
|
-
action_attempt_id: z.ZodString;
|
|
2450
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2451
|
-
}, {
|
|
2452
|
-
status: z.ZodLiteral<"pending">;
|
|
2453
|
-
result: z.ZodNull;
|
|
2454
|
-
error: z.ZodNull;
|
|
2455
2221
|
}>, {
|
|
2456
2222
|
action_type: z.ZodLiteral<"SET_FAN_MODE">;
|
|
2457
2223
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -2530,84 +2296,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2530
2296
|
status: z.ZodLiteral<"pending">;
|
|
2531
2297
|
result: z.ZodNull;
|
|
2532
2298
|
error: z.ZodNull;
|
|
2533
|
-
}>, {
|
|
2534
|
-
action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
|
|
2535
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2536
|
-
error: null;
|
|
2537
|
-
status: "pending";
|
|
2538
|
-
action_attempt_id: string;
|
|
2539
|
-
result: null;
|
|
2540
|
-
action_type: "SET_THERMOSTAT_OFF";
|
|
2541
|
-
}, {
|
|
2542
|
-
error: null;
|
|
2543
|
-
status: "pending";
|
|
2544
|
-
action_attempt_id: string;
|
|
2545
|
-
result: null;
|
|
2546
|
-
action_type: "SET_THERMOSTAT_OFF";
|
|
2547
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2548
|
-
action_attempt_id: z.ZodString;
|
|
2549
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2550
|
-
}, {
|
|
2551
|
-
status: z.ZodLiteral<"success">;
|
|
2552
|
-
error: z.ZodNull;
|
|
2553
|
-
}>, {
|
|
2554
|
-
action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
|
|
2555
|
-
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2556
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2557
|
-
error: null;
|
|
2558
|
-
status: "success";
|
|
2559
|
-
action_attempt_id: string;
|
|
2560
|
-
result: {};
|
|
2561
|
-
action_type: "SET_THERMOSTAT_OFF";
|
|
2562
|
-
}, {
|
|
2563
|
-
error: null;
|
|
2564
|
-
status: "success";
|
|
2565
|
-
action_attempt_id: string;
|
|
2566
|
-
result: {};
|
|
2567
|
-
action_type: "SET_THERMOSTAT_OFF";
|
|
2568
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2569
|
-
action_attempt_id: z.ZodString;
|
|
2570
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2571
|
-
}, {
|
|
2572
|
-
status: z.ZodLiteral<"error">;
|
|
2573
|
-
result: z.ZodNull;
|
|
2574
|
-
}>, {
|
|
2575
|
-
action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
|
|
2576
|
-
error: z.ZodObject<{
|
|
2577
|
-
type: z.ZodString;
|
|
2578
|
-
message: z.ZodString;
|
|
2579
|
-
}, "strip", z.ZodTypeAny, {
|
|
2580
|
-
type: string;
|
|
2581
|
-
message: string;
|
|
2582
|
-
}, {
|
|
2583
|
-
type: string;
|
|
2584
|
-
message: string;
|
|
2585
|
-
}>;
|
|
2586
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2587
|
-
error: {
|
|
2588
|
-
type: string;
|
|
2589
|
-
message: string;
|
|
2590
|
-
};
|
|
2591
|
-
status: "error";
|
|
2592
|
-
action_attempt_id: string;
|
|
2593
|
-
result: null;
|
|
2594
|
-
action_type: "SET_THERMOSTAT_OFF";
|
|
2595
|
-
}, {
|
|
2596
|
-
error: {
|
|
2597
|
-
type: string;
|
|
2598
|
-
message: string;
|
|
2599
|
-
};
|
|
2600
|
-
status: "error";
|
|
2601
|
-
action_attempt_id: string;
|
|
2602
|
-
result: null;
|
|
2603
|
-
action_type: "SET_THERMOSTAT_OFF";
|
|
2604
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2605
|
-
action_attempt_id: z.ZodString;
|
|
2606
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2607
|
-
}, {
|
|
2608
|
-
status: z.ZodLiteral<"pending">;
|
|
2609
|
-
result: z.ZodNull;
|
|
2610
|
-
error: z.ZodNull;
|
|
2611
2299
|
}>, {
|
|
2612
2300
|
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
2613
2301
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -5,12 +5,8 @@ import { encode_credential_action_attempt } from './encode-credential.js';
|
|
|
5
5
|
import { lock_door_action_attempt } from './lock-door.js';
|
|
6
6
|
import { reset_sandbox_workspace_action_attempt } from './reset-sandbox-workspace.js';
|
|
7
7
|
import { scan_credential_action_attempt } from './scan-credential.js';
|
|
8
|
-
import { set_cool_action_attempt } from './set-cool.js';
|
|
9
8
|
import { set_fan_mode_action_attempt } from './set-fan-mode.js';
|
|
10
|
-
import { set_heat_action_attempt } from './set-heat.js';
|
|
11
|
-
import { set_heat_cool_action_attempt } from './set-heat-cool.js';
|
|
12
9
|
import { set_hvac_mode_action_attempt } from './set-hvac-mode.js';
|
|
13
|
-
import { set_thermostat_off_action_attempt } from './set-thermostat-off.js';
|
|
14
10
|
import { unlock_door_action_attempt } from './unlock-door.js';
|
|
15
11
|
export const action_attempt = z.union([
|
|
16
12
|
...lock_door_action_attempt.options,
|
|
@@ -18,11 +14,7 @@ export const action_attempt = z.union([
|
|
|
18
14
|
...scan_credential_action_attempt.options,
|
|
19
15
|
...encode_credential_action_attempt.options,
|
|
20
16
|
...reset_sandbox_workspace_action_attempt.options,
|
|
21
|
-
...set_cool_action_attempt.options,
|
|
22
|
-
...set_heat_action_attempt.options,
|
|
23
|
-
...set_heat_cool_action_attempt.options,
|
|
24
17
|
...set_fan_mode_action_attempt.options,
|
|
25
|
-
...set_thermostat_off_action_attempt.options,
|
|
26
18
|
...set_hvac_mode_action_attempt.options,
|
|
27
19
|
...activate_climate_preset_action_attempt.options,
|
|
28
20
|
...deprecated_action_attempts,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,0BAA0B;CAC9B,CAAC,CAAA"}
|
|
@@ -533,6 +533,16 @@ declare const _default: {
|
|
|
533
533
|
access_point_name: {
|
|
534
534
|
type: string;
|
|
535
535
|
};
|
|
536
|
+
common_area_number: {
|
|
537
|
+
format: string;
|
|
538
|
+
type: string;
|
|
539
|
+
};
|
|
540
|
+
inner_access_points_names: {
|
|
541
|
+
items: {
|
|
542
|
+
type: string;
|
|
543
|
+
};
|
|
544
|
+
type: string;
|
|
545
|
+
};
|
|
536
546
|
};
|
|
537
547
|
required: string[];
|
|
538
548
|
type: string;
|
|
@@ -600,6 +610,21 @@ declare const _default: {
|
|
|
600
610
|
required: string[];
|
|
601
611
|
type: string;
|
|
602
612
|
};
|
|
613
|
+
salto_space_metadata: {
|
|
614
|
+
properties: {
|
|
615
|
+
door_description: {
|
|
616
|
+
type: string;
|
|
617
|
+
};
|
|
618
|
+
door_name: {
|
|
619
|
+
type: string;
|
|
620
|
+
};
|
|
621
|
+
ext_door_id: {
|
|
622
|
+
type: string;
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
required: string[];
|
|
626
|
+
type: string;
|
|
627
|
+
};
|
|
603
628
|
visionline_metadata: {
|
|
604
629
|
properties: {
|
|
605
630
|
door_category: {
|