@seamapi/types 1.965.0 → 1.966.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 +94 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +511 -0
- package/dist/index.cjs +94 -17
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -0
- package/lib/seam/connect/models/acs/acs-credential.js +4 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +39 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +14 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -0
- package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.d.ts +7 -0
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +7 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +7 -0
- package/lib/seam/connect/models/devices/device.d.ts +9 -0
- package/lib/seam/connect/models/devices/phone.d.ts +10 -0
- package/lib/seam/connect/models/devices/phone.js +8 -0
- package/lib/seam/connect/models/devices/phone.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +7 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +36 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +5 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +4 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/openapi.js +88 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +436 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -0
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +4 -0
- package/src/lib/seam/connect/models/devices/phone.ts +8 -0
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +97 -14
- package/src/lib/seam/connect/route-types.ts +436 -0
|
@@ -50,11 +50,14 @@ export declare const scan_to_assign_credential_action_attempt: z.ZodDiscriminate
|
|
|
50
50
|
errors: z.ZodArray<z.ZodObject<{
|
|
51
51
|
error_code: z.ZodString;
|
|
52
52
|
message: z.ZodString;
|
|
53
|
+
created_at: z.ZodString;
|
|
53
54
|
}, "strip", z.ZodTypeAny, {
|
|
54
55
|
message: string;
|
|
56
|
+
created_at: string;
|
|
55
57
|
error_code: string;
|
|
56
58
|
}, {
|
|
57
59
|
message: string;
|
|
60
|
+
created_at: string;
|
|
58
61
|
error_code: string;
|
|
59
62
|
}>, "many">;
|
|
60
63
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -197,6 +200,7 @@ export declare const scan_to_assign_credential_action_attempt: z.ZodDiscriminate
|
|
|
197
200
|
created_at: string;
|
|
198
201
|
errors: {
|
|
199
202
|
message: string;
|
|
203
|
+
created_at: string;
|
|
200
204
|
error_code: string;
|
|
201
205
|
}[];
|
|
202
206
|
connected_account_id: string;
|
|
@@ -269,6 +273,7 @@ export declare const scan_to_assign_credential_action_attempt: z.ZodDiscriminate
|
|
|
269
273
|
created_at: string;
|
|
270
274
|
errors: {
|
|
271
275
|
message: string;
|
|
276
|
+
created_at: string;
|
|
272
277
|
error_code: string;
|
|
273
278
|
}[];
|
|
274
279
|
connected_account_id: string;
|
|
@@ -346,6 +351,7 @@ export declare const scan_to_assign_credential_action_attempt: z.ZodDiscriminate
|
|
|
346
351
|
created_at: string;
|
|
347
352
|
errors: {
|
|
348
353
|
message: string;
|
|
354
|
+
created_at: string;
|
|
349
355
|
error_code: string;
|
|
350
356
|
}[];
|
|
351
357
|
connected_account_id: string;
|
|
@@ -424,6 +430,7 @@ export declare const scan_to_assign_credential_action_attempt: z.ZodDiscriminate
|
|
|
424
430
|
created_at: string;
|
|
425
431
|
errors: {
|
|
426
432
|
message: string;
|
|
433
|
+
created_at: string;
|
|
427
434
|
error_code: string;
|
|
428
435
|
}[];
|
|
429
436
|
connected_account_id: string;
|
|
@@ -469,11 +469,14 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
469
469
|
errors: z.ZodArray<z.ZodObject<{
|
|
470
470
|
error_code: z.ZodString;
|
|
471
471
|
message: z.ZodString;
|
|
472
|
+
created_at: z.ZodString;
|
|
472
473
|
}, "strip", z.ZodTypeAny, {
|
|
473
474
|
message: string;
|
|
475
|
+
created_at: string;
|
|
474
476
|
error_code: string;
|
|
475
477
|
}, {
|
|
476
478
|
message: string;
|
|
479
|
+
created_at: string;
|
|
477
480
|
error_code: string;
|
|
478
481
|
}>, "many">;
|
|
479
482
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -487,6 +490,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
487
490
|
ends_at: string;
|
|
488
491
|
errors: {
|
|
489
492
|
message: string;
|
|
493
|
+
created_at: string;
|
|
490
494
|
error_code: string;
|
|
491
495
|
}[];
|
|
492
496
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -502,6 +506,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
502
506
|
ends_at: string;
|
|
503
507
|
errors: {
|
|
504
508
|
message: string;
|
|
509
|
+
created_at: string;
|
|
505
510
|
error_code: string;
|
|
506
511
|
}[];
|
|
507
512
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -689,6 +694,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
689
694
|
ends_at: string;
|
|
690
695
|
errors: {
|
|
691
696
|
message: string;
|
|
697
|
+
created_at: string;
|
|
692
698
|
error_code: string;
|
|
693
699
|
}[];
|
|
694
700
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -822,6 +828,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
822
828
|
ends_at: string;
|
|
823
829
|
errors: {
|
|
824
830
|
message: string;
|
|
831
|
+
created_at: string;
|
|
825
832
|
error_code: string;
|
|
826
833
|
}[];
|
|
827
834
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -233,11 +233,14 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
233
233
|
errors: z.ZodArray<z.ZodObject<{
|
|
234
234
|
error_code: z.ZodString;
|
|
235
235
|
message: z.ZodString;
|
|
236
|
+
created_at: z.ZodString;
|
|
236
237
|
}, "strip", z.ZodTypeAny, {
|
|
237
238
|
message: string;
|
|
239
|
+
created_at: string;
|
|
238
240
|
error_code: string;
|
|
239
241
|
}, {
|
|
240
242
|
message: string;
|
|
243
|
+
created_at: string;
|
|
241
244
|
error_code: string;
|
|
242
245
|
}>, "many">;
|
|
243
246
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251,6 +254,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
251
254
|
ends_at: string;
|
|
252
255
|
errors: {
|
|
253
256
|
message: string;
|
|
257
|
+
created_at: string;
|
|
254
258
|
error_code: string;
|
|
255
259
|
}[];
|
|
256
260
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -266,6 +270,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
266
270
|
ends_at: string;
|
|
267
271
|
errors: {
|
|
268
272
|
message: string;
|
|
273
|
+
created_at: string;
|
|
269
274
|
error_code: string;
|
|
270
275
|
}[];
|
|
271
276
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -453,6 +458,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
453
458
|
ends_at: string;
|
|
454
459
|
errors: {
|
|
455
460
|
message: string;
|
|
461
|
+
created_at: string;
|
|
456
462
|
error_code: string;
|
|
457
463
|
}[];
|
|
458
464
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -586,6 +592,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
586
592
|
ends_at: string;
|
|
587
593
|
errors: {
|
|
588
594
|
message: string;
|
|
595
|
+
created_at: string;
|
|
589
596
|
error_code: string;
|
|
590
597
|
}[];
|
|
591
598
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -4423,11 +4423,14 @@ export declare const device: z.ZodObject<{
|
|
|
4423
4423
|
errors: z.ZodArray<z.ZodObject<{
|
|
4424
4424
|
error_code: z.ZodString;
|
|
4425
4425
|
message: z.ZodString;
|
|
4426
|
+
created_at: z.ZodString;
|
|
4426
4427
|
}, "strip", z.ZodTypeAny, {
|
|
4427
4428
|
message: string;
|
|
4429
|
+
created_at: string;
|
|
4428
4430
|
error_code: string;
|
|
4429
4431
|
}, {
|
|
4430
4432
|
message: string;
|
|
4433
|
+
created_at: string;
|
|
4431
4434
|
error_code: string;
|
|
4432
4435
|
}>, "many">;
|
|
4433
4436
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4441,6 +4444,7 @@ export declare const device: z.ZodObject<{
|
|
|
4441
4444
|
ends_at: string;
|
|
4442
4445
|
errors: {
|
|
4443
4446
|
message: string;
|
|
4447
|
+
created_at: string;
|
|
4444
4448
|
error_code: string;
|
|
4445
4449
|
}[];
|
|
4446
4450
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -4456,6 +4460,7 @@ export declare const device: z.ZodObject<{
|
|
|
4456
4460
|
ends_at: string;
|
|
4457
4461
|
errors: {
|
|
4458
4462
|
message: string;
|
|
4463
|
+
created_at: string;
|
|
4459
4464
|
error_code: string;
|
|
4460
4465
|
}[];
|
|
4461
4466
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -4643,6 +4648,7 @@ export declare const device: z.ZodObject<{
|
|
|
4643
4648
|
ends_at: string;
|
|
4644
4649
|
errors: {
|
|
4645
4650
|
message: string;
|
|
4651
|
+
created_at: string;
|
|
4646
4652
|
error_code: string;
|
|
4647
4653
|
}[];
|
|
4648
4654
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -4776,6 +4782,7 @@ export declare const device: z.ZodObject<{
|
|
|
4776
4782
|
ends_at: string;
|
|
4777
4783
|
errors: {
|
|
4778
4784
|
message: string;
|
|
4785
|
+
created_at: string;
|
|
4779
4786
|
error_code: string;
|
|
4780
4787
|
}[];
|
|
4781
4788
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -6288,6 +6295,7 @@ export declare const device: z.ZodObject<{
|
|
|
6288
6295
|
ends_at: string;
|
|
6289
6296
|
errors: {
|
|
6290
6297
|
message: string;
|
|
6298
|
+
created_at: string;
|
|
6291
6299
|
error_code: string;
|
|
6292
6300
|
}[];
|
|
6293
6301
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -7073,6 +7081,7 @@ export declare const device: z.ZodObject<{
|
|
|
7073
7081
|
ends_at: string;
|
|
7074
7082
|
errors: {
|
|
7075
7083
|
message: string;
|
|
7084
|
+
created_at: string;
|
|
7076
7085
|
error_code: string;
|
|
7077
7086
|
}[];
|
|
7078
7087
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -10,21 +10,27 @@ export declare const phone: z.ZodObject<{
|
|
|
10
10
|
errors: z.ZodArray<z.ZodObject<{
|
|
11
11
|
error_code: z.ZodString;
|
|
12
12
|
message: z.ZodString;
|
|
13
|
+
created_at: z.ZodString;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
14
15
|
message: string;
|
|
16
|
+
created_at: string;
|
|
15
17
|
error_code: string;
|
|
16
18
|
}, {
|
|
17
19
|
message: string;
|
|
20
|
+
created_at: string;
|
|
18
21
|
error_code: string;
|
|
19
22
|
}>, "many">;
|
|
20
23
|
warnings: z.ZodArray<z.ZodObject<{
|
|
21
24
|
warning_code: z.ZodString;
|
|
22
25
|
message: z.ZodString;
|
|
26
|
+
created_at: z.ZodString;
|
|
23
27
|
}, "strip", z.ZodTypeAny, {
|
|
24
28
|
message: string;
|
|
29
|
+
created_at: string;
|
|
25
30
|
warning_code: string;
|
|
26
31
|
}, {
|
|
27
32
|
message: string;
|
|
33
|
+
created_at: string;
|
|
28
34
|
warning_code: string;
|
|
29
35
|
}>, "many">;
|
|
30
36
|
device_type: z.ZodEnum<["ios_phone" | "android_phone"]>;
|
|
@@ -91,10 +97,12 @@ export declare const phone: z.ZodObject<{
|
|
|
91
97
|
created_at: string;
|
|
92
98
|
errors: {
|
|
93
99
|
message: string;
|
|
100
|
+
created_at: string;
|
|
94
101
|
error_code: string;
|
|
95
102
|
}[];
|
|
96
103
|
warnings: {
|
|
97
104
|
message: string;
|
|
105
|
+
created_at: string;
|
|
98
106
|
warning_code: string;
|
|
99
107
|
}[];
|
|
100
108
|
custom_metadata: Record<string, string | boolean>;
|
|
@@ -119,10 +127,12 @@ export declare const phone: z.ZodObject<{
|
|
|
119
127
|
created_at: string;
|
|
120
128
|
errors: {
|
|
121
129
|
message: string;
|
|
130
|
+
created_at: string;
|
|
122
131
|
error_code: string;
|
|
123
132
|
}[];
|
|
124
133
|
warnings: {
|
|
125
134
|
message: string;
|
|
135
|
+
created_at: string;
|
|
126
136
|
warning_code: string;
|
|
127
137
|
}[];
|
|
128
138
|
custom_metadata: Record<string, string | boolean>;
|
|
@@ -35,6 +35,10 @@ export const phone = z.object({
|
|
|
35
35
|
.string()
|
|
36
36
|
.describe('Unique identifier of the type of error.'),
|
|
37
37
|
message: z.string().describe('Detailed description of the error.'),
|
|
38
|
+
created_at: z
|
|
39
|
+
.string()
|
|
40
|
+
.datetime()
|
|
41
|
+
.describe('Date and time at which Seam created the error.'),
|
|
38
42
|
}))
|
|
39
43
|
.describe('Errors associated with the phone.'),
|
|
40
44
|
warnings: z
|
|
@@ -43,6 +47,10 @@ export const phone = z.object({
|
|
|
43
47
|
.string()
|
|
44
48
|
.describe('Unique identifier of the type of warning.'),
|
|
45
49
|
message: z.string().describe('Detailed description of the warning.'),
|
|
50
|
+
created_at: z
|
|
51
|
+
.string()
|
|
52
|
+
.datetime()
|
|
53
|
+
.describe('Date and time at which Seam created the warning.'),
|
|
46
54
|
}))
|
|
47
55
|
.describe('Warnings associated with the phone.'),
|
|
48
56
|
device_type: phone_device_type.describe('Type of the phone device, such as `ios_phone` or `android_phone`.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/phone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,qBAAqB,GAAG,MAAM,CAAC,IAAI,CAAC;IACxC,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,SAAS,EAAE,qBAAqB,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC;WACjD,CAAC;IACV,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,QAAQ;SAC3C,QAAQ,CAAC;GACX,CAAC;IACF,YAAY,EAAE,qBAAqB,CAAC,KAAK,CAAC,YAAY;SACnD,QAAQ,CAAC;GACX,CAAC;IACF,YAAY,EAAE,qBAAqB,CAAC,KAAK,CAAC,YAAY;SACnD,QAAQ,CAAC;GACX,CAAC;IACF,UAAU,EAAE,qBAAqB,CAAC,KAAK,CAAC,UAAU;SAC/C,QAAQ,CAAC;GACX,CAAC;IACF,eAAe,EAAE,qBAAqB,CAAC,KAAK,CAAC,eAAe;SACzD,QAAQ,CAAC;GACX,CAAC;IAEF,MAAM,EAAE,CAAC;SACN,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,CAAC,yCAAyC,CAAC;QACtD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"phone.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/phone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,qBAAqB,GAAG,MAAM,CAAC,IAAI,CAAC;IACxC,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,SAAS,EAAE,qBAAqB,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC;WACjD,CAAC;IACV,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,QAAQ;SAC3C,QAAQ,CAAC;GACX,CAAC;IACF,YAAY,EAAE,qBAAqB,CAAC,KAAK,CAAC,YAAY;SACnD,QAAQ,CAAC;GACX,CAAC;IACF,YAAY,EAAE,qBAAqB,CAAC,KAAK,CAAC,YAAY;SACnD,QAAQ,CAAC;GACX,CAAC;IACF,UAAU,EAAE,qBAAqB,CAAC,KAAK,CAAC,UAAU;SAC/C,QAAQ,CAAC;GACX,CAAC;IACF,eAAe,EAAE,qBAAqB,CAAC,KAAK,CAAC,eAAe;SACzD,QAAQ,CAAC;GACX,CAAC;IAEF,MAAM,EAAE,CAAC;SACN,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,CAAC,yCAAyC,CAAC;QACtD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;QAClE,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,gDAAgD,CAAC;KAC9D,CAAC,CACH;SACA,QAAQ,CAAC,mCAAmC,CAAC;IAChD,QAAQ,EAAE,CAAC;SACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,QAAQ,CAAC,2CAA2C,CAAC;QACxD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QACpE,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,kDAAkD,CAAC;KAChE,CAAC,CACH;SACA,QAAQ,CAAC,qCAAqC,CAAC;IAClD,WAAW,EAAE,iBAAiB,CAAC,QAAQ,CACrC,mEAAmE,CACpE;IACD,UAAU,EAAE,yBAAyB,CAAC,QAAQ,CAAC,0BAA0B,CAAC;CAC3E,CAAC,CAAC,QAAQ,CAAC;;;;;;;;CAQX,CAAC,CAAA"}
|
|
@@ -2193,11 +2193,14 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2193
2193
|
errors: z.ZodArray<z.ZodObject<{
|
|
2194
2194
|
error_code: z.ZodString;
|
|
2195
2195
|
message: z.ZodString;
|
|
2196
|
+
created_at: z.ZodString;
|
|
2196
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2197
2198
|
message: string;
|
|
2199
|
+
created_at: string;
|
|
2198
2200
|
error_code: string;
|
|
2199
2201
|
}, {
|
|
2200
2202
|
message: string;
|
|
2203
|
+
created_at: string;
|
|
2201
2204
|
error_code: string;
|
|
2202
2205
|
}>, "many">;
|
|
2203
2206
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2211,6 +2214,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2211
2214
|
ends_at: string;
|
|
2212
2215
|
errors: {
|
|
2213
2216
|
message: string;
|
|
2217
|
+
created_at: string;
|
|
2214
2218
|
error_code: string;
|
|
2215
2219
|
}[];
|
|
2216
2220
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -2226,6 +2230,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2226
2230
|
ends_at: string;
|
|
2227
2231
|
errors: {
|
|
2228
2232
|
message: string;
|
|
2233
|
+
created_at: string;
|
|
2229
2234
|
error_code: string;
|
|
2230
2235
|
}[];
|
|
2231
2236
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -2413,6 +2418,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2413
2418
|
ends_at: string;
|
|
2414
2419
|
errors: {
|
|
2415
2420
|
message: string;
|
|
2421
|
+
created_at: string;
|
|
2416
2422
|
error_code: string;
|
|
2417
2423
|
}[];
|
|
2418
2424
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -2546,6 +2552,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2546
2552
|
ends_at: string;
|
|
2547
2553
|
errors: {
|
|
2548
2554
|
message: string;
|
|
2555
|
+
created_at: string;
|
|
2549
2556
|
error_code: string;
|
|
2550
2557
|
}[];
|
|
2551
2558
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -40,11 +40,14 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
40
40
|
errors: z.ZodArray<z.ZodObject<{
|
|
41
41
|
error_code: z.ZodString;
|
|
42
42
|
message: z.ZodString;
|
|
43
|
+
created_at: z.ZodString;
|
|
43
44
|
}, "strip", z.ZodTypeAny, {
|
|
44
45
|
message: string;
|
|
46
|
+
created_at: string;
|
|
45
47
|
error_code: string;
|
|
46
48
|
}, {
|
|
47
49
|
message: string;
|
|
50
|
+
created_at: string;
|
|
48
51
|
error_code: string;
|
|
49
52
|
}>, "many">;
|
|
50
53
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -193,11 +196,14 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
193
196
|
errors: z.ZodArray<z.ZodObject<{
|
|
194
197
|
error_code: z.ZodString;
|
|
195
198
|
message: z.ZodString;
|
|
199
|
+
created_at: z.ZodString;
|
|
196
200
|
}, "strip", z.ZodTypeAny, {
|
|
197
201
|
message: string;
|
|
202
|
+
created_at: string;
|
|
198
203
|
error_code: string;
|
|
199
204
|
}, {
|
|
200
205
|
message: string;
|
|
206
|
+
created_at: string;
|
|
201
207
|
error_code: string;
|
|
202
208
|
}>, "many">;
|
|
203
209
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -456,6 +462,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
456
462
|
created_at: string;
|
|
457
463
|
errors: {
|
|
458
464
|
message: string;
|
|
465
|
+
created_at: string;
|
|
459
466
|
error_code: string;
|
|
460
467
|
}[];
|
|
461
468
|
connected_account_id: string;
|
|
@@ -558,6 +565,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
558
565
|
created_at: string;
|
|
559
566
|
errors: {
|
|
560
567
|
message: string;
|
|
568
|
+
created_at: string;
|
|
561
569
|
error_code: string;
|
|
562
570
|
}[];
|
|
563
571
|
connected_account_id: string;
|
|
@@ -662,6 +670,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
662
670
|
created_at: string;
|
|
663
671
|
errors: {
|
|
664
672
|
message: string;
|
|
673
|
+
created_at: string;
|
|
665
674
|
error_code: string;
|
|
666
675
|
}[];
|
|
667
676
|
connected_account_id: string;
|
|
@@ -699,6 +708,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
699
708
|
created_at: string;
|
|
700
709
|
errors: {
|
|
701
710
|
message: string;
|
|
711
|
+
created_at: string;
|
|
702
712
|
error_code: string;
|
|
703
713
|
}[];
|
|
704
714
|
connected_account_id: string;
|
|
@@ -837,6 +847,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
837
847
|
created_at: string;
|
|
838
848
|
errors: {
|
|
839
849
|
message: string;
|
|
850
|
+
created_at: string;
|
|
840
851
|
error_code: string;
|
|
841
852
|
}[];
|
|
842
853
|
connected_account_id: string;
|
|
@@ -874,6 +885,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
874
885
|
created_at: string;
|
|
875
886
|
errors: {
|
|
876
887
|
message: string;
|
|
888
|
+
created_at: string;
|
|
877
889
|
error_code: string;
|
|
878
890
|
}[];
|
|
879
891
|
connected_account_id: string;
|
|
@@ -1014,6 +1026,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1014
1026
|
created_at: string;
|
|
1015
1027
|
errors: {
|
|
1016
1028
|
message: string;
|
|
1029
|
+
created_at: string;
|
|
1017
1030
|
error_code: string;
|
|
1018
1031
|
}[];
|
|
1019
1032
|
connected_account_id: string;
|
|
@@ -1051,6 +1064,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1051
1064
|
created_at: string;
|
|
1052
1065
|
errors: {
|
|
1053
1066
|
message: string;
|
|
1067
|
+
created_at: string;
|
|
1054
1068
|
error_code: string;
|
|
1055
1069
|
}[];
|
|
1056
1070
|
connected_account_id: string;
|
|
@@ -1197,6 +1211,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1197
1211
|
created_at: string;
|
|
1198
1212
|
errors: {
|
|
1199
1213
|
message: string;
|
|
1214
|
+
created_at: string;
|
|
1200
1215
|
error_code: string;
|
|
1201
1216
|
}[];
|
|
1202
1217
|
connected_account_id: string;
|
|
@@ -1234,6 +1249,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1234
1249
|
created_at: string;
|
|
1235
1250
|
errors: {
|
|
1236
1251
|
message: string;
|
|
1252
|
+
created_at: string;
|
|
1237
1253
|
error_code: string;
|
|
1238
1254
|
}[];
|
|
1239
1255
|
connected_account_id: string;
|
|
@@ -1416,11 +1432,14 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1416
1432
|
errors: z.ZodArray<z.ZodObject<{
|
|
1417
1433
|
error_code: z.ZodString;
|
|
1418
1434
|
message: z.ZodString;
|
|
1435
|
+
created_at: z.ZodString;
|
|
1419
1436
|
}, "strip", z.ZodTypeAny, {
|
|
1420
1437
|
message: string;
|
|
1438
|
+
created_at: string;
|
|
1421
1439
|
error_code: string;
|
|
1422
1440
|
}, {
|
|
1423
1441
|
message: string;
|
|
1442
|
+
created_at: string;
|
|
1424
1443
|
error_code: string;
|
|
1425
1444
|
}>, "many">;
|
|
1426
1445
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -1569,11 +1588,14 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1569
1588
|
errors: z.ZodArray<z.ZodObject<{
|
|
1570
1589
|
error_code: z.ZodString;
|
|
1571
1590
|
message: z.ZodString;
|
|
1591
|
+
created_at: z.ZodString;
|
|
1572
1592
|
}, "strip", z.ZodTypeAny, {
|
|
1573
1593
|
message: string;
|
|
1594
|
+
created_at: string;
|
|
1574
1595
|
error_code: string;
|
|
1575
1596
|
}, {
|
|
1576
1597
|
message: string;
|
|
1598
|
+
created_at: string;
|
|
1577
1599
|
error_code: string;
|
|
1578
1600
|
}>, "many">;
|
|
1579
1601
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -1832,6 +1854,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1832
1854
|
created_at: string;
|
|
1833
1855
|
errors: {
|
|
1834
1856
|
message: string;
|
|
1857
|
+
created_at: string;
|
|
1835
1858
|
error_code: string;
|
|
1836
1859
|
}[];
|
|
1837
1860
|
connected_account_id: string;
|
|
@@ -1934,6 +1957,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1934
1957
|
created_at: string;
|
|
1935
1958
|
errors: {
|
|
1936
1959
|
message: string;
|
|
1960
|
+
created_at: string;
|
|
1937
1961
|
error_code: string;
|
|
1938
1962
|
}[];
|
|
1939
1963
|
connected_account_id: string;
|
|
@@ -2038,6 +2062,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2038
2062
|
created_at: string;
|
|
2039
2063
|
errors: {
|
|
2040
2064
|
message: string;
|
|
2065
|
+
created_at: string;
|
|
2041
2066
|
error_code: string;
|
|
2042
2067
|
}[];
|
|
2043
2068
|
connected_account_id: string;
|
|
@@ -2075,6 +2100,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2075
2100
|
created_at: string;
|
|
2076
2101
|
errors: {
|
|
2077
2102
|
message: string;
|
|
2103
|
+
created_at: string;
|
|
2078
2104
|
error_code: string;
|
|
2079
2105
|
}[];
|
|
2080
2106
|
connected_account_id: string;
|
|
@@ -2213,6 +2239,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2213
2239
|
created_at: string;
|
|
2214
2240
|
errors: {
|
|
2215
2241
|
message: string;
|
|
2242
|
+
created_at: string;
|
|
2216
2243
|
error_code: string;
|
|
2217
2244
|
}[];
|
|
2218
2245
|
connected_account_id: string;
|
|
@@ -2250,6 +2277,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2250
2277
|
created_at: string;
|
|
2251
2278
|
errors: {
|
|
2252
2279
|
message: string;
|
|
2280
|
+
created_at: string;
|
|
2253
2281
|
error_code: string;
|
|
2254
2282
|
}[];
|
|
2255
2283
|
connected_account_id: string;
|
|
@@ -2390,6 +2418,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2390
2418
|
created_at: string;
|
|
2391
2419
|
errors: {
|
|
2392
2420
|
message: string;
|
|
2421
|
+
created_at: string;
|
|
2393
2422
|
error_code: string;
|
|
2394
2423
|
}[];
|
|
2395
2424
|
connected_account_id: string;
|
|
@@ -2427,6 +2456,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2427
2456
|
created_at: string;
|
|
2428
2457
|
errors: {
|
|
2429
2458
|
message: string;
|
|
2459
|
+
created_at: string;
|
|
2430
2460
|
error_code: string;
|
|
2431
2461
|
}[];
|
|
2432
2462
|
connected_account_id: string;
|
|
@@ -2573,6 +2603,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2573
2603
|
created_at: string;
|
|
2574
2604
|
errors: {
|
|
2575
2605
|
message: string;
|
|
2606
|
+
created_at: string;
|
|
2576
2607
|
error_code: string;
|
|
2577
2608
|
}[];
|
|
2578
2609
|
connected_account_id: string;
|
|
@@ -2610,6 +2641,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2610
2641
|
created_at: string;
|
|
2611
2642
|
errors: {
|
|
2612
2643
|
message: string;
|
|
2644
|
+
created_at: string;
|
|
2613
2645
|
error_code: string;
|
|
2614
2646
|
}[];
|
|
2615
2647
|
connected_account_id: string;
|
|
@@ -2871,6 +2903,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2871
2903
|
created_at: string;
|
|
2872
2904
|
errors: {
|
|
2873
2905
|
message: string;
|
|
2906
|
+
created_at: string;
|
|
2874
2907
|
error_code: string;
|
|
2875
2908
|
}[];
|
|
2876
2909
|
connected_account_id: string;
|
|
@@ -2908,6 +2941,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2908
2941
|
created_at: string;
|
|
2909
2942
|
errors: {
|
|
2910
2943
|
message: string;
|
|
2944
|
+
created_at: string;
|
|
2911
2945
|
error_code: string;
|
|
2912
2946
|
}[];
|
|
2913
2947
|
connected_account_id: string;
|
|
@@ -3085,6 +3119,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
3085
3119
|
created_at: string;
|
|
3086
3120
|
errors: {
|
|
3087
3121
|
message: string;
|
|
3122
|
+
created_at: string;
|
|
3088
3123
|
error_code: string;
|
|
3089
3124
|
}[];
|
|
3090
3125
|
connected_account_id: string;
|
|
@@ -3122,6 +3157,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
3122
3157
|
created_at: string;
|
|
3123
3158
|
errors: {
|
|
3124
3159
|
message: string;
|
|
3160
|
+
created_at: string;
|
|
3125
3161
|
error_code: string;
|
|
3126
3162
|
}[];
|
|
3127
3163
|
connected_account_id: string;
|
|
@@ -13,11 +13,14 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
13
13
|
errors: z.ZodArray<z.ZodObject<{
|
|
14
14
|
error_code: z.ZodString;
|
|
15
15
|
message: z.ZodString;
|
|
16
|
+
created_at: z.ZodString;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
17
18
|
message: string;
|
|
19
|
+
created_at: string;
|
|
18
20
|
error_code: string;
|
|
19
21
|
}, {
|
|
20
22
|
message: string;
|
|
23
|
+
created_at: string;
|
|
21
24
|
error_code: string;
|
|
22
25
|
}>, "many">;
|
|
23
26
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -31,6 +34,7 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
31
34
|
ends_at: string;
|
|
32
35
|
errors: {
|
|
33
36
|
message: string;
|
|
37
|
+
created_at: string;
|
|
34
38
|
error_code: string;
|
|
35
39
|
}[];
|
|
36
40
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -46,6 +50,7 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
46
50
|
ends_at: string;
|
|
47
51
|
errors: {
|
|
48
52
|
message: string;
|
|
53
|
+
created_at: string;
|
|
49
54
|
error_code: string;
|
|
50
55
|
}[];
|
|
51
56
|
max_override_period_minutes?: number | null | undefined;
|
|
@@ -50,6 +50,10 @@ export const thermostat_schedule = z.object({
|
|
|
50
50
|
message: z
|
|
51
51
|
.string()
|
|
52
52
|
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
53
|
+
created_at: z
|
|
54
|
+
.string()
|
|
55
|
+
.datetime()
|
|
56
|
+
.describe('Date and time at which Seam created the error.'),
|
|
53
57
|
}))
|
|
54
58
|
.describe('Errors associated with the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).'),
|
|
55
59
|
}).describe(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat-schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,iIAAiI,CAClI;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,4FAA4F,CAC7F;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0JAA0J,CAC3J;IACH,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,4PAA4P,CAC7P;IACH,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,waAAwa,CACza;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,uOAAuO,CACxO;IACH,mBAAmB,EAAE,CAAC;SACnB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,0NAA0N,CAC3N;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,qOAAqO,CACtO;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,8JAA8J,CAC/J;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,CACP,oGAAoG,CACrG;QACH,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CACP,wGAAwG,CACzG;
|
|
1
|
+
{"version":3,"file":"thermostat-schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,iIAAiI,CAClI;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,4FAA4F,CAC7F;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0JAA0J,CAC3J;IACH,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,4PAA4P,CAC7P;IACH,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,waAAwa,CACza;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,uOAAuO,CACxO;IACH,mBAAmB,EAAE,CAAC;SACnB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,0NAA0N,CAC3N;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,qOAAqO,CACtO;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,8JAA8J,CAC/J;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,CACP,oGAAoG,CACrG;QACH,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CACP,wGAAwG,CACzG;QACH,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,gDAAgD,CAAC;KAC9D,CAAC,CACH;SACA,QAAQ,CACP,kJAAkJ,CACnJ;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|