@seamapi/types 1.303.1 → 1.305.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 +112 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +610 -2
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +78 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.js +25 -0
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.js.map +1 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +26 -0
- package/lib/seam/connect/models/events/acs/systems.d.ts +54 -0
- package/lib/seam/connect/models/events/acs/systems.js +6 -0
- package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +26 -0
- package/lib/seam/connect/openapi.js +78 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +506 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/set-hvac-mode.ts +33 -0
- package/src/lib/seam/connect/models/events/acs/systems.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +78 -0
- package/src/lib/seam/connect/route-types.ts +569 -0
package/dist/connect.d.cts
CHANGED
|
@@ -4420,6 +4420,84 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
4420
4420
|
status: z.ZodLiteral<"pending">;
|
|
4421
4421
|
result: z.ZodNull;
|
|
4422
4422
|
error: z.ZodNull;
|
|
4423
|
+
}>, {
|
|
4424
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
4425
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4426
|
+
status: "pending";
|
|
4427
|
+
action_attempt_id: string;
|
|
4428
|
+
error: null;
|
|
4429
|
+
result: null;
|
|
4430
|
+
action_type: "SET_HVAC_MODE";
|
|
4431
|
+
}, {
|
|
4432
|
+
status: "pending";
|
|
4433
|
+
action_attempt_id: string;
|
|
4434
|
+
error: null;
|
|
4435
|
+
result: null;
|
|
4436
|
+
action_type: "SET_HVAC_MODE";
|
|
4437
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4438
|
+
action_attempt_id: z.ZodString;
|
|
4439
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
4440
|
+
}, {
|
|
4441
|
+
status: z.ZodLiteral<"success">;
|
|
4442
|
+
error: z.ZodNull;
|
|
4443
|
+
}>, {
|
|
4444
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
4445
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
4446
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4447
|
+
status: "success";
|
|
4448
|
+
action_attempt_id: string;
|
|
4449
|
+
error: null;
|
|
4450
|
+
result: {};
|
|
4451
|
+
action_type: "SET_HVAC_MODE";
|
|
4452
|
+
}, {
|
|
4453
|
+
status: "success";
|
|
4454
|
+
action_attempt_id: string;
|
|
4455
|
+
error: null;
|
|
4456
|
+
result: {};
|
|
4457
|
+
action_type: "SET_HVAC_MODE";
|
|
4458
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4459
|
+
action_attempt_id: z.ZodString;
|
|
4460
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
4461
|
+
}, {
|
|
4462
|
+
status: z.ZodLiteral<"error">;
|
|
4463
|
+
result: z.ZodNull;
|
|
4464
|
+
}>, {
|
|
4465
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
4466
|
+
error: z.ZodObject<{
|
|
4467
|
+
type: z.ZodString;
|
|
4468
|
+
message: z.ZodString;
|
|
4469
|
+
}, "strip", z.ZodTypeAny, {
|
|
4470
|
+
message: string;
|
|
4471
|
+
type: string;
|
|
4472
|
+
}, {
|
|
4473
|
+
message: string;
|
|
4474
|
+
type: string;
|
|
4475
|
+
}>;
|
|
4476
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4477
|
+
status: "error";
|
|
4478
|
+
action_attempt_id: string;
|
|
4479
|
+
error: {
|
|
4480
|
+
message: string;
|
|
4481
|
+
type: string;
|
|
4482
|
+
};
|
|
4483
|
+
result: null;
|
|
4484
|
+
action_type: "SET_HVAC_MODE";
|
|
4485
|
+
}, {
|
|
4486
|
+
status: "error";
|
|
4487
|
+
action_attempt_id: string;
|
|
4488
|
+
error: {
|
|
4489
|
+
message: string;
|
|
4490
|
+
type: string;
|
|
4491
|
+
};
|
|
4492
|
+
result: null;
|
|
4493
|
+
action_type: "SET_HVAC_MODE";
|
|
4494
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4495
|
+
action_attempt_id: z.ZodString;
|
|
4496
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
4497
|
+
}, {
|
|
4498
|
+
status: z.ZodLiteral<"pending">;
|
|
4499
|
+
result: z.ZodNull;
|
|
4500
|
+
error: z.ZodNull;
|
|
4423
4501
|
}>, {
|
|
4424
4502
|
action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
|
|
4425
4503
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -10863,6 +10941,32 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
10863
10941
|
}, {
|
|
10864
10942
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
10865
10943
|
acs_system_id: z.ZodString;
|
|
10944
|
+
}>, {}>, {
|
|
10945
|
+
event_type: z.ZodLiteral<"acs_system.disconnected">;
|
|
10946
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10947
|
+
created_at: string;
|
|
10948
|
+
workspace_id: string;
|
|
10949
|
+
acs_system_id: string;
|
|
10950
|
+
event_id: string;
|
|
10951
|
+
occurred_at: string;
|
|
10952
|
+
event_type: "acs_system.disconnected";
|
|
10953
|
+
connected_account_id?: string | undefined;
|
|
10954
|
+
}, {
|
|
10955
|
+
created_at: string;
|
|
10956
|
+
workspace_id: string;
|
|
10957
|
+
acs_system_id: string;
|
|
10958
|
+
event_id: string;
|
|
10959
|
+
occurred_at: string;
|
|
10960
|
+
event_type: "acs_system.disconnected";
|
|
10961
|
+
connected_account_id?: string | undefined;
|
|
10962
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10963
|
+
event_id: z.ZodString;
|
|
10964
|
+
workspace_id: z.ZodString;
|
|
10965
|
+
created_at: z.ZodString;
|
|
10966
|
+
occurred_at: z.ZodString;
|
|
10967
|
+
}, {
|
|
10968
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
10969
|
+
acs_system_id: z.ZodString;
|
|
10866
10970
|
}>, {
|
|
10867
10971
|
acs_credential_id: z.ZodString;
|
|
10868
10972
|
}>, {
|
|
@@ -33898,6 +34002,30 @@ interface Routes {
|
|
|
33898
34002
|
type: string;
|
|
33899
34003
|
message: string;
|
|
33900
34004
|
};
|
|
34005
|
+
} | {
|
|
34006
|
+
/** The ID of the action attempt. */
|
|
34007
|
+
action_attempt_id: string;
|
|
34008
|
+
status: 'pending';
|
|
34009
|
+
result: null;
|
|
34010
|
+
error: null;
|
|
34011
|
+
action_type: 'SET_HVAC_MODE';
|
|
34012
|
+
} | {
|
|
34013
|
+
/** The ID of the action attempt. */
|
|
34014
|
+
action_attempt_id: string;
|
|
34015
|
+
status: 'success';
|
|
34016
|
+
error: null;
|
|
34017
|
+
action_type: 'SET_HVAC_MODE';
|
|
34018
|
+
result: {};
|
|
34019
|
+
} | {
|
|
34020
|
+
/** The ID of the action attempt. */
|
|
34021
|
+
action_attempt_id: string;
|
|
34022
|
+
status: 'error';
|
|
34023
|
+
result: null;
|
|
34024
|
+
action_type: 'SET_HVAC_MODE';
|
|
34025
|
+
error: {
|
|
34026
|
+
type: string;
|
|
34027
|
+
message: string;
|
|
34028
|
+
};
|
|
33901
34029
|
} | {
|
|
33902
34030
|
/** The ID of the action attempt. */
|
|
33903
34031
|
action_attempt_id: string;
|
|
@@ -34897,6 +35025,30 @@ interface Routes {
|
|
|
34897
35025
|
type: string;
|
|
34898
35026
|
message: string;
|
|
34899
35027
|
};
|
|
35028
|
+
} | {
|
|
35029
|
+
/** The ID of the action attempt. */
|
|
35030
|
+
action_attempt_id: string;
|
|
35031
|
+
status: 'pending';
|
|
35032
|
+
result: null;
|
|
35033
|
+
error: null;
|
|
35034
|
+
action_type: 'SET_HVAC_MODE';
|
|
35035
|
+
} | {
|
|
35036
|
+
/** The ID of the action attempt. */
|
|
35037
|
+
action_attempt_id: string;
|
|
35038
|
+
status: 'success';
|
|
35039
|
+
error: null;
|
|
35040
|
+
action_type: 'SET_HVAC_MODE';
|
|
35041
|
+
result: {};
|
|
35042
|
+
} | {
|
|
35043
|
+
/** The ID of the action attempt. */
|
|
35044
|
+
action_attempt_id: string;
|
|
35045
|
+
status: 'error';
|
|
35046
|
+
result: null;
|
|
35047
|
+
action_type: 'SET_HVAC_MODE';
|
|
35048
|
+
error: {
|
|
35049
|
+
type: string;
|
|
35050
|
+
message: string;
|
|
35051
|
+
};
|
|
34900
35052
|
} | {
|
|
34901
35053
|
/** The ID of the action attempt. */
|
|
34902
35054
|
action_attempt_id: string;
|
|
@@ -36114,6 +36266,30 @@ interface Routes {
|
|
|
36114
36266
|
type: string;
|
|
36115
36267
|
message: string;
|
|
36116
36268
|
};
|
|
36269
|
+
} | {
|
|
36270
|
+
/** The ID of the action attempt. */
|
|
36271
|
+
action_attempt_id: string;
|
|
36272
|
+
status: 'pending';
|
|
36273
|
+
result: null;
|
|
36274
|
+
error: null;
|
|
36275
|
+
action_type: 'SET_HVAC_MODE';
|
|
36276
|
+
} | {
|
|
36277
|
+
/** The ID of the action attempt. */
|
|
36278
|
+
action_attempt_id: string;
|
|
36279
|
+
status: 'success';
|
|
36280
|
+
error: null;
|
|
36281
|
+
action_type: 'SET_HVAC_MODE';
|
|
36282
|
+
result: {};
|
|
36283
|
+
} | {
|
|
36284
|
+
/** The ID of the action attempt. */
|
|
36285
|
+
action_attempt_id: string;
|
|
36286
|
+
status: 'error';
|
|
36287
|
+
result: null;
|
|
36288
|
+
action_type: 'SET_HVAC_MODE';
|
|
36289
|
+
error: {
|
|
36290
|
+
type: string;
|
|
36291
|
+
message: string;
|
|
36292
|
+
};
|
|
36117
36293
|
} | {
|
|
36118
36294
|
/** The ID of the action attempt. */
|
|
36119
36295
|
action_attempt_id: string;
|
|
@@ -37100,6 +37276,30 @@ interface Routes {
|
|
|
37100
37276
|
type: string;
|
|
37101
37277
|
message: string;
|
|
37102
37278
|
};
|
|
37279
|
+
} | {
|
|
37280
|
+
/** The ID of the action attempt. */
|
|
37281
|
+
action_attempt_id: string;
|
|
37282
|
+
status: 'pending';
|
|
37283
|
+
result: null;
|
|
37284
|
+
error: null;
|
|
37285
|
+
action_type: 'SET_HVAC_MODE';
|
|
37286
|
+
} | {
|
|
37287
|
+
/** The ID of the action attempt. */
|
|
37288
|
+
action_attempt_id: string;
|
|
37289
|
+
status: 'success';
|
|
37290
|
+
error: null;
|
|
37291
|
+
action_type: 'SET_HVAC_MODE';
|
|
37292
|
+
result: {};
|
|
37293
|
+
} | {
|
|
37294
|
+
/** The ID of the action attempt. */
|
|
37295
|
+
action_attempt_id: string;
|
|
37296
|
+
status: 'error';
|
|
37297
|
+
result: null;
|
|
37298
|
+
action_type: 'SET_HVAC_MODE';
|
|
37299
|
+
error: {
|
|
37300
|
+
type: string;
|
|
37301
|
+
message: string;
|
|
37302
|
+
};
|
|
37103
37303
|
} | {
|
|
37104
37304
|
/** The ID of the action attempt. */
|
|
37105
37305
|
action_attempt_id: string;
|
|
@@ -39421,6 +39621,30 @@ interface Routes {
|
|
|
39421
39621
|
type: string;
|
|
39422
39622
|
message: string;
|
|
39423
39623
|
};
|
|
39624
|
+
} | {
|
|
39625
|
+
/** The ID of the action attempt. */
|
|
39626
|
+
action_attempt_id: string;
|
|
39627
|
+
status: 'pending';
|
|
39628
|
+
result: null;
|
|
39629
|
+
error: null;
|
|
39630
|
+
action_type: 'SET_HVAC_MODE';
|
|
39631
|
+
} | {
|
|
39632
|
+
/** The ID of the action attempt. */
|
|
39633
|
+
action_attempt_id: string;
|
|
39634
|
+
status: 'success';
|
|
39635
|
+
error: null;
|
|
39636
|
+
action_type: 'SET_HVAC_MODE';
|
|
39637
|
+
result: {};
|
|
39638
|
+
} | {
|
|
39639
|
+
/** The ID of the action attempt. */
|
|
39640
|
+
action_attempt_id: string;
|
|
39641
|
+
status: 'error';
|
|
39642
|
+
result: null;
|
|
39643
|
+
action_type: 'SET_HVAC_MODE';
|
|
39644
|
+
error: {
|
|
39645
|
+
type: string;
|
|
39646
|
+
message: string;
|
|
39647
|
+
};
|
|
39424
39648
|
} | {
|
|
39425
39649
|
/** The ID of the action attempt. */
|
|
39426
39650
|
action_attempt_id: string;
|
|
@@ -40314,6 +40538,30 @@ interface Routes {
|
|
|
40314
40538
|
type: string;
|
|
40315
40539
|
message: string;
|
|
40316
40540
|
};
|
|
40541
|
+
} | {
|
|
40542
|
+
/** The ID of the action attempt. */
|
|
40543
|
+
action_attempt_id: string;
|
|
40544
|
+
status: 'pending';
|
|
40545
|
+
result: null;
|
|
40546
|
+
error: null;
|
|
40547
|
+
action_type: 'SET_HVAC_MODE';
|
|
40548
|
+
} | {
|
|
40549
|
+
/** The ID of the action attempt. */
|
|
40550
|
+
action_attempt_id: string;
|
|
40551
|
+
status: 'success';
|
|
40552
|
+
error: null;
|
|
40553
|
+
action_type: 'SET_HVAC_MODE';
|
|
40554
|
+
result: {};
|
|
40555
|
+
} | {
|
|
40556
|
+
/** The ID of the action attempt. */
|
|
40557
|
+
action_attempt_id: string;
|
|
40558
|
+
status: 'error';
|
|
40559
|
+
result: null;
|
|
40560
|
+
action_type: 'SET_HVAC_MODE';
|
|
40561
|
+
error: {
|
|
40562
|
+
type: string;
|
|
40563
|
+
message: string;
|
|
40564
|
+
};
|
|
40317
40565
|
} | {
|
|
40318
40566
|
/** The ID of the action attempt. */
|
|
40319
40567
|
action_attempt_id: string;
|
|
@@ -42455,6 +42703,30 @@ interface Routes {
|
|
|
42455
42703
|
type: string;
|
|
42456
42704
|
message: string;
|
|
42457
42705
|
};
|
|
42706
|
+
} | {
|
|
42707
|
+
/** The ID of the action attempt. */
|
|
42708
|
+
action_attempt_id: string;
|
|
42709
|
+
status: 'pending';
|
|
42710
|
+
result: null;
|
|
42711
|
+
error: null;
|
|
42712
|
+
action_type: 'SET_HVAC_MODE';
|
|
42713
|
+
} | {
|
|
42714
|
+
/** The ID of the action attempt. */
|
|
42715
|
+
action_attempt_id: string;
|
|
42716
|
+
status: 'success';
|
|
42717
|
+
error: null;
|
|
42718
|
+
action_type: 'SET_HVAC_MODE';
|
|
42719
|
+
result: {};
|
|
42720
|
+
} | {
|
|
42721
|
+
/** The ID of the action attempt. */
|
|
42722
|
+
action_attempt_id: string;
|
|
42723
|
+
status: 'error';
|
|
42724
|
+
result: null;
|
|
42725
|
+
action_type: 'SET_HVAC_MODE';
|
|
42726
|
+
error: {
|
|
42727
|
+
type: string;
|
|
42728
|
+
message: string;
|
|
42729
|
+
};
|
|
42458
42730
|
} | {
|
|
42459
42731
|
/** The ID of the action attempt. */
|
|
42460
42732
|
action_attempt_id: string;
|
|
@@ -43303,6 +43575,30 @@ interface Routes {
|
|
|
43303
43575
|
type: string;
|
|
43304
43576
|
message: string;
|
|
43305
43577
|
};
|
|
43578
|
+
} | {
|
|
43579
|
+
/** The ID of the action attempt. */
|
|
43580
|
+
action_attempt_id: string;
|
|
43581
|
+
status: 'pending';
|
|
43582
|
+
result: null;
|
|
43583
|
+
error: null;
|
|
43584
|
+
action_type: 'SET_HVAC_MODE';
|
|
43585
|
+
} | {
|
|
43586
|
+
/** The ID of the action attempt. */
|
|
43587
|
+
action_attempt_id: string;
|
|
43588
|
+
status: 'success';
|
|
43589
|
+
error: null;
|
|
43590
|
+
action_type: 'SET_HVAC_MODE';
|
|
43591
|
+
result: {};
|
|
43592
|
+
} | {
|
|
43593
|
+
/** The ID of the action attempt. */
|
|
43594
|
+
action_attempt_id: string;
|
|
43595
|
+
status: 'error';
|
|
43596
|
+
result: null;
|
|
43597
|
+
action_type: 'SET_HVAC_MODE';
|
|
43598
|
+
error: {
|
|
43599
|
+
type: string;
|
|
43600
|
+
message: string;
|
|
43601
|
+
};
|
|
43306
43602
|
} | {
|
|
43307
43603
|
/** The ID of the action attempt. */
|
|
43308
43604
|
action_attempt_id: string;
|
|
@@ -45399,8 +45695,8 @@ interface Routes {
|
|
|
45399
45695
|
acs_system_ids?: string[] | undefined;
|
|
45400
45696
|
access_code_id?: string | undefined;
|
|
45401
45697
|
access_code_ids?: string[] | undefined;
|
|
45402
|
-
event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded') | undefined;
|
|
45403
|
-
event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded'> | undefined;
|
|
45698
|
+
event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded') | undefined;
|
|
45699
|
+
event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded'> | undefined;
|
|
45404
45700
|
connected_account_id?: string | undefined;
|
|
45405
45701
|
connect_webview_id?: string | undefined;
|
|
45406
45702
|
limit?: number;
|
|
@@ -48182,6 +48478,30 @@ interface Routes {
|
|
|
48182
48478
|
type: string;
|
|
48183
48479
|
message: string;
|
|
48184
48480
|
};
|
|
48481
|
+
} | {
|
|
48482
|
+
/** The ID of the action attempt. */
|
|
48483
|
+
action_attempt_id: string;
|
|
48484
|
+
status: 'pending';
|
|
48485
|
+
result: null;
|
|
48486
|
+
error: null;
|
|
48487
|
+
action_type: 'SET_HVAC_MODE';
|
|
48488
|
+
} | {
|
|
48489
|
+
/** The ID of the action attempt. */
|
|
48490
|
+
action_attempt_id: string;
|
|
48491
|
+
status: 'success';
|
|
48492
|
+
error: null;
|
|
48493
|
+
action_type: 'SET_HVAC_MODE';
|
|
48494
|
+
result: {};
|
|
48495
|
+
} | {
|
|
48496
|
+
/** The ID of the action attempt. */
|
|
48497
|
+
action_attempt_id: string;
|
|
48498
|
+
status: 'error';
|
|
48499
|
+
result: null;
|
|
48500
|
+
action_type: 'SET_HVAC_MODE';
|
|
48501
|
+
error: {
|
|
48502
|
+
type: string;
|
|
48503
|
+
message: string;
|
|
48504
|
+
};
|
|
48185
48505
|
} | {
|
|
48186
48506
|
/** The ID of the action attempt. */
|
|
48187
48507
|
action_attempt_id: string;
|
|
@@ -49031,6 +49351,30 @@ interface Routes {
|
|
|
49031
49351
|
type: string;
|
|
49032
49352
|
message: string;
|
|
49033
49353
|
};
|
|
49354
|
+
} | {
|
|
49355
|
+
/** The ID of the action attempt. */
|
|
49356
|
+
action_attempt_id: string;
|
|
49357
|
+
status: 'pending';
|
|
49358
|
+
result: null;
|
|
49359
|
+
error: null;
|
|
49360
|
+
action_type: 'SET_HVAC_MODE';
|
|
49361
|
+
} | {
|
|
49362
|
+
/** The ID of the action attempt. */
|
|
49363
|
+
action_attempt_id: string;
|
|
49364
|
+
status: 'success';
|
|
49365
|
+
error: null;
|
|
49366
|
+
action_type: 'SET_HVAC_MODE';
|
|
49367
|
+
result: {};
|
|
49368
|
+
} | {
|
|
49369
|
+
/** The ID of the action attempt. */
|
|
49370
|
+
action_attempt_id: string;
|
|
49371
|
+
status: 'error';
|
|
49372
|
+
result: null;
|
|
49373
|
+
action_type: 'SET_HVAC_MODE';
|
|
49374
|
+
error: {
|
|
49375
|
+
type: string;
|
|
49376
|
+
message: string;
|
|
49377
|
+
};
|
|
49034
49378
|
} | {
|
|
49035
49379
|
/** The ID of the action attempt. */
|
|
49036
49380
|
action_attempt_id: string;
|
|
@@ -50982,6 +51326,30 @@ interface Routes {
|
|
|
50982
51326
|
type: string;
|
|
50983
51327
|
message: string;
|
|
50984
51328
|
};
|
|
51329
|
+
} | {
|
|
51330
|
+
/** The ID of the action attempt. */
|
|
51331
|
+
action_attempt_id: string;
|
|
51332
|
+
status: 'pending';
|
|
51333
|
+
result: null;
|
|
51334
|
+
error: null;
|
|
51335
|
+
action_type: 'SET_HVAC_MODE';
|
|
51336
|
+
} | {
|
|
51337
|
+
/** The ID of the action attempt. */
|
|
51338
|
+
action_attempt_id: string;
|
|
51339
|
+
status: 'success';
|
|
51340
|
+
error: null;
|
|
51341
|
+
action_type: 'SET_HVAC_MODE';
|
|
51342
|
+
result: {};
|
|
51343
|
+
} | {
|
|
51344
|
+
/** The ID of the action attempt. */
|
|
51345
|
+
action_attempt_id: string;
|
|
51346
|
+
status: 'error';
|
|
51347
|
+
result: null;
|
|
51348
|
+
action_type: 'SET_HVAC_MODE';
|
|
51349
|
+
error: {
|
|
51350
|
+
type: string;
|
|
51351
|
+
message: string;
|
|
51352
|
+
};
|
|
50985
51353
|
} | {
|
|
50986
51354
|
/** The ID of the action attempt. */
|
|
50987
51355
|
action_attempt_id: string;
|
|
@@ -51841,6 +52209,30 @@ interface Routes {
|
|
|
51841
52209
|
type: string;
|
|
51842
52210
|
message: string;
|
|
51843
52211
|
};
|
|
52212
|
+
} | {
|
|
52213
|
+
/** The ID of the action attempt. */
|
|
52214
|
+
action_attempt_id: string;
|
|
52215
|
+
status: 'pending';
|
|
52216
|
+
result: null;
|
|
52217
|
+
error: null;
|
|
52218
|
+
action_type: 'SET_HVAC_MODE';
|
|
52219
|
+
} | {
|
|
52220
|
+
/** The ID of the action attempt. */
|
|
52221
|
+
action_attempt_id: string;
|
|
52222
|
+
status: 'success';
|
|
52223
|
+
error: null;
|
|
52224
|
+
action_type: 'SET_HVAC_MODE';
|
|
52225
|
+
result: {};
|
|
52226
|
+
} | {
|
|
52227
|
+
/** The ID of the action attempt. */
|
|
52228
|
+
action_attempt_id: string;
|
|
52229
|
+
status: 'error';
|
|
52230
|
+
result: null;
|
|
52231
|
+
action_type: 'SET_HVAC_MODE';
|
|
52232
|
+
error: {
|
|
52233
|
+
type: string;
|
|
52234
|
+
message: string;
|
|
52235
|
+
};
|
|
51844
52236
|
} | {
|
|
51845
52237
|
/** The ID of the action attempt. */
|
|
51846
52238
|
action_attempt_id: string;
|
|
@@ -52739,6 +53131,30 @@ interface Routes {
|
|
|
52739
53131
|
type: string;
|
|
52740
53132
|
message: string;
|
|
52741
53133
|
};
|
|
53134
|
+
} | {
|
|
53135
|
+
/** The ID of the action attempt. */
|
|
53136
|
+
action_attempt_id: string;
|
|
53137
|
+
status: 'pending';
|
|
53138
|
+
result: null;
|
|
53139
|
+
error: null;
|
|
53140
|
+
action_type: 'SET_HVAC_MODE';
|
|
53141
|
+
} | {
|
|
53142
|
+
/** The ID of the action attempt. */
|
|
53143
|
+
action_attempt_id: string;
|
|
53144
|
+
status: 'success';
|
|
53145
|
+
error: null;
|
|
53146
|
+
action_type: 'SET_HVAC_MODE';
|
|
53147
|
+
result: {};
|
|
53148
|
+
} | {
|
|
53149
|
+
/** The ID of the action attempt. */
|
|
53150
|
+
action_attempt_id: string;
|
|
53151
|
+
status: 'error';
|
|
53152
|
+
result: null;
|
|
53153
|
+
action_type: 'SET_HVAC_MODE';
|
|
53154
|
+
error: {
|
|
53155
|
+
type: string;
|
|
53156
|
+
message: string;
|
|
53157
|
+
};
|
|
52742
53158
|
} | {
|
|
52743
53159
|
/** The ID of the action attempt. */
|
|
52744
53160
|
action_attempt_id: string;
|
|
@@ -53772,6 +54188,30 @@ interface Routes {
|
|
|
53772
54188
|
type: string;
|
|
53773
54189
|
message: string;
|
|
53774
54190
|
};
|
|
54191
|
+
} | {
|
|
54192
|
+
/** The ID of the action attempt. */
|
|
54193
|
+
action_attempt_id: string;
|
|
54194
|
+
status: 'pending';
|
|
54195
|
+
result: null;
|
|
54196
|
+
error: null;
|
|
54197
|
+
action_type: 'SET_HVAC_MODE';
|
|
54198
|
+
} | {
|
|
54199
|
+
/** The ID of the action attempt. */
|
|
54200
|
+
action_attempt_id: string;
|
|
54201
|
+
status: 'success';
|
|
54202
|
+
error: null;
|
|
54203
|
+
action_type: 'SET_HVAC_MODE';
|
|
54204
|
+
result: {};
|
|
54205
|
+
} | {
|
|
54206
|
+
/** The ID of the action attempt. */
|
|
54207
|
+
action_attempt_id: string;
|
|
54208
|
+
status: 'error';
|
|
54209
|
+
result: null;
|
|
54210
|
+
action_type: 'SET_HVAC_MODE';
|
|
54211
|
+
error: {
|
|
54212
|
+
type: string;
|
|
54213
|
+
message: string;
|
|
54214
|
+
};
|
|
53775
54215
|
} | {
|
|
53776
54216
|
/** The ID of the action attempt. */
|
|
53777
54217
|
action_attempt_id: string;
|
|
@@ -54627,6 +55067,30 @@ interface Routes {
|
|
|
54627
55067
|
type: string;
|
|
54628
55068
|
message: string;
|
|
54629
55069
|
};
|
|
55070
|
+
} | {
|
|
55071
|
+
/** The ID of the action attempt. */
|
|
55072
|
+
action_attempt_id: string;
|
|
55073
|
+
status: 'pending';
|
|
55074
|
+
result: null;
|
|
55075
|
+
error: null;
|
|
55076
|
+
action_type: 'SET_HVAC_MODE';
|
|
55077
|
+
} | {
|
|
55078
|
+
/** The ID of the action attempt. */
|
|
55079
|
+
action_attempt_id: string;
|
|
55080
|
+
status: 'success';
|
|
55081
|
+
error: null;
|
|
55082
|
+
action_type: 'SET_HVAC_MODE';
|
|
55083
|
+
result: {};
|
|
55084
|
+
} | {
|
|
55085
|
+
/** The ID of the action attempt. */
|
|
55086
|
+
action_attempt_id: string;
|
|
55087
|
+
status: 'error';
|
|
55088
|
+
result: null;
|
|
55089
|
+
action_type: 'SET_HVAC_MODE';
|
|
55090
|
+
error: {
|
|
55091
|
+
type: string;
|
|
55092
|
+
message: string;
|
|
55093
|
+
};
|
|
54630
55094
|
} | {
|
|
54631
55095
|
/** The ID of the action attempt. */
|
|
54632
55096
|
action_attempt_id: string;
|
|
@@ -56053,6 +56517,30 @@ interface Routes {
|
|
|
56053
56517
|
type: string;
|
|
56054
56518
|
message: string;
|
|
56055
56519
|
};
|
|
56520
|
+
} | {
|
|
56521
|
+
/** The ID of the action attempt. */
|
|
56522
|
+
action_attempt_id: string;
|
|
56523
|
+
status: 'pending';
|
|
56524
|
+
result: null;
|
|
56525
|
+
error: null;
|
|
56526
|
+
action_type: 'SET_HVAC_MODE';
|
|
56527
|
+
} | {
|
|
56528
|
+
/** The ID of the action attempt. */
|
|
56529
|
+
action_attempt_id: string;
|
|
56530
|
+
status: 'success';
|
|
56531
|
+
error: null;
|
|
56532
|
+
action_type: 'SET_HVAC_MODE';
|
|
56533
|
+
result: {};
|
|
56534
|
+
} | {
|
|
56535
|
+
/** The ID of the action attempt. */
|
|
56536
|
+
action_attempt_id: string;
|
|
56537
|
+
status: 'error';
|
|
56538
|
+
result: null;
|
|
56539
|
+
action_type: 'SET_HVAC_MODE';
|
|
56540
|
+
error: {
|
|
56541
|
+
type: string;
|
|
56542
|
+
message: string;
|
|
56543
|
+
};
|
|
56056
56544
|
} | {
|
|
56057
56545
|
/** The ID of the action attempt. */
|
|
56058
56546
|
action_attempt_id: string;
|
|
@@ -56912,6 +57400,30 @@ interface Routes {
|
|
|
56912
57400
|
type: string;
|
|
56913
57401
|
message: string;
|
|
56914
57402
|
};
|
|
57403
|
+
} | {
|
|
57404
|
+
/** The ID of the action attempt. */
|
|
57405
|
+
action_attempt_id: string;
|
|
57406
|
+
status: 'pending';
|
|
57407
|
+
result: null;
|
|
57408
|
+
error: null;
|
|
57409
|
+
action_type: 'SET_HVAC_MODE';
|
|
57410
|
+
} | {
|
|
57411
|
+
/** The ID of the action attempt. */
|
|
57412
|
+
action_attempt_id: string;
|
|
57413
|
+
status: 'success';
|
|
57414
|
+
error: null;
|
|
57415
|
+
action_type: 'SET_HVAC_MODE';
|
|
57416
|
+
result: {};
|
|
57417
|
+
} | {
|
|
57418
|
+
/** The ID of the action attempt. */
|
|
57419
|
+
action_attempt_id: string;
|
|
57420
|
+
status: 'error';
|
|
57421
|
+
result: null;
|
|
57422
|
+
action_type: 'SET_HVAC_MODE';
|
|
57423
|
+
error: {
|
|
57424
|
+
type: string;
|
|
57425
|
+
message: string;
|
|
57426
|
+
};
|
|
56915
57427
|
} | {
|
|
56916
57428
|
/** The ID of the action attempt. */
|
|
56917
57429
|
action_attempt_id: string;
|
|
@@ -58826,6 +59338,30 @@ interface Routes {
|
|
|
58826
59338
|
type: string;
|
|
58827
59339
|
message: string;
|
|
58828
59340
|
};
|
|
59341
|
+
} | {
|
|
59342
|
+
/** The ID of the action attempt. */
|
|
59343
|
+
action_attempt_id: string;
|
|
59344
|
+
status: 'pending';
|
|
59345
|
+
result: null;
|
|
59346
|
+
error: null;
|
|
59347
|
+
action_type: 'SET_HVAC_MODE';
|
|
59348
|
+
} | {
|
|
59349
|
+
/** The ID of the action attempt. */
|
|
59350
|
+
action_attempt_id: string;
|
|
59351
|
+
status: 'success';
|
|
59352
|
+
error: null;
|
|
59353
|
+
action_type: 'SET_HVAC_MODE';
|
|
59354
|
+
result: {};
|
|
59355
|
+
} | {
|
|
59356
|
+
/** The ID of the action attempt. */
|
|
59357
|
+
action_attempt_id: string;
|
|
59358
|
+
status: 'error';
|
|
59359
|
+
result: null;
|
|
59360
|
+
action_type: 'SET_HVAC_MODE';
|
|
59361
|
+
error: {
|
|
59362
|
+
type: string;
|
|
59363
|
+
message: string;
|
|
59364
|
+
};
|
|
58829
59365
|
} | {
|
|
58830
59366
|
/** The ID of the action attempt. */
|
|
58831
59367
|
action_attempt_id: string;
|
|
@@ -59850,6 +60386,30 @@ interface Routes {
|
|
|
59850
60386
|
type: string;
|
|
59851
60387
|
message: string;
|
|
59852
60388
|
};
|
|
60389
|
+
} | {
|
|
60390
|
+
/** The ID of the action attempt. */
|
|
60391
|
+
action_attempt_id: string;
|
|
60392
|
+
status: 'pending';
|
|
60393
|
+
result: null;
|
|
60394
|
+
error: null;
|
|
60395
|
+
action_type: 'SET_HVAC_MODE';
|
|
60396
|
+
} | {
|
|
60397
|
+
/** The ID of the action attempt. */
|
|
60398
|
+
action_attempt_id: string;
|
|
60399
|
+
status: 'success';
|
|
60400
|
+
error: null;
|
|
60401
|
+
action_type: 'SET_HVAC_MODE';
|
|
60402
|
+
result: {};
|
|
60403
|
+
} | {
|
|
60404
|
+
/** The ID of the action attempt. */
|
|
60405
|
+
action_attempt_id: string;
|
|
60406
|
+
status: 'error';
|
|
60407
|
+
result: null;
|
|
60408
|
+
action_type: 'SET_HVAC_MODE';
|
|
60409
|
+
error: {
|
|
60410
|
+
type: string;
|
|
60411
|
+
message: string;
|
|
60412
|
+
};
|
|
59853
60413
|
} | {
|
|
59854
60414
|
/** The ID of the action attempt. */
|
|
59855
60415
|
action_attempt_id: string;
|
|
@@ -60728,6 +61288,30 @@ interface Routes {
|
|
|
60728
61288
|
type: string;
|
|
60729
61289
|
message: string;
|
|
60730
61290
|
};
|
|
61291
|
+
} | {
|
|
61292
|
+
/** The ID of the action attempt. */
|
|
61293
|
+
action_attempt_id: string;
|
|
61294
|
+
status: 'pending';
|
|
61295
|
+
result: null;
|
|
61296
|
+
error: null;
|
|
61297
|
+
action_type: 'SET_HVAC_MODE';
|
|
61298
|
+
} | {
|
|
61299
|
+
/** The ID of the action attempt. */
|
|
61300
|
+
action_attempt_id: string;
|
|
61301
|
+
status: 'success';
|
|
61302
|
+
error: null;
|
|
61303
|
+
action_type: 'SET_HVAC_MODE';
|
|
61304
|
+
result: {};
|
|
61305
|
+
} | {
|
|
61306
|
+
/** The ID of the action attempt. */
|
|
61307
|
+
action_attempt_id: string;
|
|
61308
|
+
status: 'error';
|
|
61309
|
+
result: null;
|
|
61310
|
+
action_type: 'SET_HVAC_MODE';
|
|
61311
|
+
error: {
|
|
61312
|
+
type: string;
|
|
61313
|
+
message: string;
|
|
61314
|
+
};
|
|
60731
61315
|
} | {
|
|
60732
61316
|
/** The ID of the action attempt. */
|
|
60733
61317
|
action_attempt_id: string;
|
|
@@ -63303,6 +63887,30 @@ interface Routes {
|
|
|
63303
63887
|
type: string;
|
|
63304
63888
|
message: string;
|
|
63305
63889
|
};
|
|
63890
|
+
} | {
|
|
63891
|
+
/** The ID of the action attempt. */
|
|
63892
|
+
action_attempt_id: string;
|
|
63893
|
+
status: 'pending';
|
|
63894
|
+
result: null;
|
|
63895
|
+
error: null;
|
|
63896
|
+
action_type: 'SET_HVAC_MODE';
|
|
63897
|
+
} | {
|
|
63898
|
+
/** The ID of the action attempt. */
|
|
63899
|
+
action_attempt_id: string;
|
|
63900
|
+
status: 'success';
|
|
63901
|
+
error: null;
|
|
63902
|
+
action_type: 'SET_HVAC_MODE';
|
|
63903
|
+
result: {};
|
|
63904
|
+
} | {
|
|
63905
|
+
/** The ID of the action attempt. */
|
|
63906
|
+
action_attempt_id: string;
|
|
63907
|
+
status: 'error';
|
|
63908
|
+
result: null;
|
|
63909
|
+
action_type: 'SET_HVAC_MODE';
|
|
63910
|
+
error: {
|
|
63911
|
+
type: string;
|
|
63912
|
+
message: string;
|
|
63913
|
+
};
|
|
63306
63914
|
} | {
|
|
63307
63915
|
/** The ID of the action attempt. */
|
|
63308
63916
|
action_attempt_id: string;
|