@seamapi/types 1.766.0 → 1.768.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 +410 -130
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2887 -10
- package/dist/index.cjs +410 -130
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +75 -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/configure-auto-lock.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/configure-auto-lock.js +31 -0
- package/lib/seam/connect/models/action-attempts/configure-auto-lock.js.map +1 -0
- package/lib/seam/connect/models/batch.d.ts +166 -0
- package/lib/seam/connect/models/customer/customer-portal.js +6 -2
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/customer/user-identity-resources.js +1 -0
- package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +6 -0
- package/lib/seam/connect/models/devices/capability-properties/lock.d.ts +6 -0
- package/lib/seam/connect/models/devices/capability-properties/lock.js +12 -0
- package/lib/seam/connect/models/devices/capability-properties/lock.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +7 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.d.ts +25 -0
- package/lib/seam/connect/models/devices/device.js +1 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +17 -0
- package/lib/seam/connect/openapi.d.ts +142 -0
- package/lib/seam/connect/openapi.js +239 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2758 -306
- 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/configure-auto-lock.ts +46 -0
- package/src/lib/seam/connect/models/customer/customer-portal.ts +6 -4
- package/src/lib/seam/connect/models/customer/user-identity-resources.ts +1 -0
- package/src/lib/seam/connect/models/devices/capability-properties/lock.ts +12 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +5 -0
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +264 -0
- package/src/lib/seam/connect/route-types.ts +3085 -330
package/dist/connect.d.cts
CHANGED
|
@@ -11194,6 +11194,81 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
11194
11194
|
status: z.ZodLiteral<"pending">;
|
|
11195
11195
|
result: z.ZodNull;
|
|
11196
11196
|
error: z.ZodNull;
|
|
11197
|
+
} & {
|
|
11198
|
+
action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
|
|
11199
|
+
}, "strip", z.ZodTypeAny, {
|
|
11200
|
+
status: "pending";
|
|
11201
|
+
action_attempt_id: string;
|
|
11202
|
+
error: null;
|
|
11203
|
+
result: null;
|
|
11204
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
11205
|
+
}, {
|
|
11206
|
+
status: "pending";
|
|
11207
|
+
action_attempt_id: string;
|
|
11208
|
+
error: null;
|
|
11209
|
+
result: null;
|
|
11210
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
11211
|
+
}>, z.ZodObject<{
|
|
11212
|
+
action_attempt_id: z.ZodString;
|
|
11213
|
+
} & {
|
|
11214
|
+
status: z.ZodLiteral<"success">;
|
|
11215
|
+
error: z.ZodNull;
|
|
11216
|
+
} & {
|
|
11217
|
+
action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
|
|
11218
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
11219
|
+
}, "strip", z.ZodTypeAny, {
|
|
11220
|
+
status: "success";
|
|
11221
|
+
action_attempt_id: string;
|
|
11222
|
+
error: null;
|
|
11223
|
+
result: {};
|
|
11224
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
11225
|
+
}, {
|
|
11226
|
+
status: "success";
|
|
11227
|
+
action_attempt_id: string;
|
|
11228
|
+
error: null;
|
|
11229
|
+
result: {};
|
|
11230
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
11231
|
+
}>, z.ZodObject<{
|
|
11232
|
+
action_attempt_id: z.ZodString;
|
|
11233
|
+
} & {
|
|
11234
|
+
status: z.ZodLiteral<"error">;
|
|
11235
|
+
result: z.ZodNull;
|
|
11236
|
+
} & {
|
|
11237
|
+
action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
|
|
11238
|
+
error: z.ZodObject<{
|
|
11239
|
+
type: z.ZodString;
|
|
11240
|
+
message: z.ZodString;
|
|
11241
|
+
}, "strip", z.ZodTypeAny, {
|
|
11242
|
+
message: string;
|
|
11243
|
+
type: string;
|
|
11244
|
+
}, {
|
|
11245
|
+
message: string;
|
|
11246
|
+
type: string;
|
|
11247
|
+
}>;
|
|
11248
|
+
}, "strip", z.ZodTypeAny, {
|
|
11249
|
+
status: "error";
|
|
11250
|
+
action_attempt_id: string;
|
|
11251
|
+
error: {
|
|
11252
|
+
message: string;
|
|
11253
|
+
type: string;
|
|
11254
|
+
};
|
|
11255
|
+
result: null;
|
|
11256
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
11257
|
+
}, {
|
|
11258
|
+
status: "error";
|
|
11259
|
+
action_attempt_id: string;
|
|
11260
|
+
error: {
|
|
11261
|
+
message: string;
|
|
11262
|
+
type: string;
|
|
11263
|
+
};
|
|
11264
|
+
result: null;
|
|
11265
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
11266
|
+
}>, z.ZodObject<{
|
|
11267
|
+
action_attempt_id: z.ZodString;
|
|
11268
|
+
} & {
|
|
11269
|
+
status: z.ZodLiteral<"pending">;
|
|
11270
|
+
result: z.ZodNull;
|
|
11271
|
+
error: z.ZodNull;
|
|
11197
11272
|
} & {
|
|
11198
11273
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
11199
11274
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12652,6 +12727,7 @@ declare const batch: z.ZodObject<{
|
|
|
12652
12727
|
lock_command: z.ZodBoolean;
|
|
12653
12728
|
incomplete_keyboard_passcode: z.ZodBoolean;
|
|
12654
12729
|
wifi: z.ZodBoolean;
|
|
12730
|
+
auto_lock_time_config: z.ZodBoolean;
|
|
12655
12731
|
}, "strip", z.ZodTypeAny, {
|
|
12656
12732
|
passcode: boolean;
|
|
12657
12733
|
passcode_management: boolean;
|
|
@@ -12659,6 +12735,7 @@ declare const batch: z.ZodObject<{
|
|
|
12659
12735
|
lock_command: boolean;
|
|
12660
12736
|
incomplete_keyboard_passcode: boolean;
|
|
12661
12737
|
wifi: boolean;
|
|
12738
|
+
auto_lock_time_config: boolean;
|
|
12662
12739
|
}, {
|
|
12663
12740
|
passcode: boolean;
|
|
12664
12741
|
passcode_management: boolean;
|
|
@@ -12666,6 +12743,7 @@ declare const batch: z.ZodObject<{
|
|
|
12666
12743
|
lock_command: boolean;
|
|
12667
12744
|
incomplete_keyboard_passcode: boolean;
|
|
12668
12745
|
wifi: boolean;
|
|
12746
|
+
auto_lock_time_config: boolean;
|
|
12669
12747
|
}>;
|
|
12670
12748
|
has_gateway: z.ZodOptional<z.ZodBoolean>;
|
|
12671
12749
|
wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -12689,6 +12767,7 @@ declare const batch: z.ZodObject<{
|
|
|
12689
12767
|
lock_command: boolean;
|
|
12690
12768
|
incomplete_keyboard_passcode: boolean;
|
|
12691
12769
|
wifi: boolean;
|
|
12770
|
+
auto_lock_time_config: boolean;
|
|
12692
12771
|
};
|
|
12693
12772
|
has_gateway?: boolean | undefined;
|
|
12694
12773
|
wireless_keypads?: {
|
|
@@ -12706,6 +12785,7 @@ declare const batch: z.ZodObject<{
|
|
|
12706
12785
|
lock_command: boolean;
|
|
12707
12786
|
incomplete_keyboard_passcode: boolean;
|
|
12708
12787
|
wifi: boolean;
|
|
12788
|
+
auto_lock_time_config: boolean;
|
|
12709
12789
|
};
|
|
12710
12790
|
has_gateway?: boolean | undefined;
|
|
12711
12791
|
wireless_keypads?: {
|
|
@@ -13237,6 +13317,7 @@ declare const batch: z.ZodObject<{
|
|
|
13237
13317
|
lock_command: boolean;
|
|
13238
13318
|
incomplete_keyboard_passcode: boolean;
|
|
13239
13319
|
wifi: boolean;
|
|
13320
|
+
auto_lock_time_config: boolean;
|
|
13240
13321
|
};
|
|
13241
13322
|
has_gateway?: boolean | undefined;
|
|
13242
13323
|
wireless_keypads?: {
|
|
@@ -13514,6 +13595,7 @@ declare const batch: z.ZodObject<{
|
|
|
13514
13595
|
lock_command: boolean;
|
|
13515
13596
|
incomplete_keyboard_passcode: boolean;
|
|
13516
13597
|
wifi: boolean;
|
|
13598
|
+
auto_lock_time_config: boolean;
|
|
13517
13599
|
};
|
|
13518
13600
|
has_gateway?: boolean | undefined;
|
|
13519
13601
|
wireless_keypads?: {
|
|
@@ -13683,6 +13765,8 @@ declare const batch: z.ZodObject<{
|
|
|
13683
13765
|
level: number;
|
|
13684
13766
|
}>>>;
|
|
13685
13767
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
13768
|
+
auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
13769
|
+
auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
13686
13770
|
}, "strip", z.ZodTypeAny, {
|
|
13687
13771
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
13688
13772
|
code_constraints?: ({
|
|
@@ -13701,6 +13785,8 @@ declare const batch: z.ZodObject<{
|
|
|
13701
13785
|
level: number;
|
|
13702
13786
|
} | undefined;
|
|
13703
13787
|
door_open?: boolean | undefined;
|
|
13788
|
+
auto_lock_enabled?: boolean | undefined;
|
|
13789
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
13704
13790
|
}, {
|
|
13705
13791
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
13706
13792
|
code_constraints?: ({
|
|
@@ -13719,6 +13805,8 @@ declare const batch: z.ZodObject<{
|
|
|
13719
13805
|
level: number;
|
|
13720
13806
|
} | undefined;
|
|
13721
13807
|
door_open?: boolean | undefined;
|
|
13808
|
+
auto_lock_enabled?: boolean | undefined;
|
|
13809
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
13722
13810
|
}>, z.ZodObject<{
|
|
13723
13811
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
13724
13812
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15059,6 +15147,7 @@ declare const batch: z.ZodObject<{
|
|
|
15059
15147
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
15060
15148
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
15061
15149
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
15150
|
+
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
15062
15151
|
}, "strip", z.ZodTypeAny, {
|
|
15063
15152
|
display_name: string;
|
|
15064
15153
|
device_id: string;
|
|
@@ -15454,6 +15543,7 @@ declare const batch: z.ZodObject<{
|
|
|
15454
15543
|
lock_command: boolean;
|
|
15455
15544
|
incomplete_keyboard_passcode: boolean;
|
|
15456
15545
|
wifi: boolean;
|
|
15546
|
+
auto_lock_time_config: boolean;
|
|
15457
15547
|
};
|
|
15458
15548
|
has_gateway?: boolean | undefined;
|
|
15459
15549
|
wireless_keypads?: {
|
|
@@ -15606,6 +15696,8 @@ declare const batch: z.ZodObject<{
|
|
|
15606
15696
|
level: number;
|
|
15607
15697
|
} | undefined;
|
|
15608
15698
|
door_open?: boolean | undefined;
|
|
15699
|
+
auto_lock_enabled?: boolean | undefined;
|
|
15700
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
15609
15701
|
} & {
|
|
15610
15702
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
15611
15703
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -15764,6 +15856,7 @@ declare const batch: z.ZodObject<{
|
|
|
15764
15856
|
can_simulate_hub_connection?: boolean | undefined;
|
|
15765
15857
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
15766
15858
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
15859
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
15767
15860
|
nickname?: string | undefined;
|
|
15768
15861
|
device_provider?: {
|
|
15769
15862
|
display_name: string;
|
|
@@ -16171,6 +16264,7 @@ declare const batch: z.ZodObject<{
|
|
|
16171
16264
|
lock_command: boolean;
|
|
16172
16265
|
incomplete_keyboard_passcode: boolean;
|
|
16173
16266
|
wifi: boolean;
|
|
16267
|
+
auto_lock_time_config: boolean;
|
|
16174
16268
|
};
|
|
16175
16269
|
has_gateway?: boolean | undefined;
|
|
16176
16270
|
wireless_keypads?: {
|
|
@@ -16323,6 +16417,8 @@ declare const batch: z.ZodObject<{
|
|
|
16323
16417
|
level: number;
|
|
16324
16418
|
} | undefined;
|
|
16325
16419
|
door_open?: boolean | undefined;
|
|
16420
|
+
auto_lock_enabled?: boolean | undefined;
|
|
16421
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
16326
16422
|
} & {
|
|
16327
16423
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
16328
16424
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -16481,6 +16577,7 @@ declare const batch: z.ZodObject<{
|
|
|
16481
16577
|
can_simulate_hub_connection?: boolean | undefined;
|
|
16482
16578
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
16483
16579
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
16580
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
16484
16581
|
nickname?: string | undefined;
|
|
16485
16582
|
device_provider?: {
|
|
16486
16583
|
display_name: string;
|
|
@@ -22598,6 +22695,81 @@ declare const batch: z.ZodObject<{
|
|
|
22598
22695
|
status: z.ZodLiteral<"pending">;
|
|
22599
22696
|
result: z.ZodNull;
|
|
22600
22697
|
error: z.ZodNull;
|
|
22698
|
+
} & {
|
|
22699
|
+
action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
|
|
22700
|
+
}, "strip", z.ZodTypeAny, {
|
|
22701
|
+
status: "pending";
|
|
22702
|
+
action_attempt_id: string;
|
|
22703
|
+
error: null;
|
|
22704
|
+
result: null;
|
|
22705
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
22706
|
+
}, {
|
|
22707
|
+
status: "pending";
|
|
22708
|
+
action_attempt_id: string;
|
|
22709
|
+
error: null;
|
|
22710
|
+
result: null;
|
|
22711
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
22712
|
+
}>, z.ZodObject<{
|
|
22713
|
+
action_attempt_id: z.ZodString;
|
|
22714
|
+
} & {
|
|
22715
|
+
status: z.ZodLiteral<"success">;
|
|
22716
|
+
error: z.ZodNull;
|
|
22717
|
+
} & {
|
|
22718
|
+
action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
|
|
22719
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
22720
|
+
}, "strip", z.ZodTypeAny, {
|
|
22721
|
+
status: "success";
|
|
22722
|
+
action_attempt_id: string;
|
|
22723
|
+
error: null;
|
|
22724
|
+
result: {};
|
|
22725
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
22726
|
+
}, {
|
|
22727
|
+
status: "success";
|
|
22728
|
+
action_attempt_id: string;
|
|
22729
|
+
error: null;
|
|
22730
|
+
result: {};
|
|
22731
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
22732
|
+
}>, z.ZodObject<{
|
|
22733
|
+
action_attempt_id: z.ZodString;
|
|
22734
|
+
} & {
|
|
22735
|
+
status: z.ZodLiteral<"error">;
|
|
22736
|
+
result: z.ZodNull;
|
|
22737
|
+
} & {
|
|
22738
|
+
action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
|
|
22739
|
+
error: z.ZodObject<{
|
|
22740
|
+
type: z.ZodString;
|
|
22741
|
+
message: z.ZodString;
|
|
22742
|
+
}, "strip", z.ZodTypeAny, {
|
|
22743
|
+
message: string;
|
|
22744
|
+
type: string;
|
|
22745
|
+
}, {
|
|
22746
|
+
message: string;
|
|
22747
|
+
type: string;
|
|
22748
|
+
}>;
|
|
22749
|
+
}, "strip", z.ZodTypeAny, {
|
|
22750
|
+
status: "error";
|
|
22751
|
+
action_attempt_id: string;
|
|
22752
|
+
error: {
|
|
22753
|
+
message: string;
|
|
22754
|
+
type: string;
|
|
22755
|
+
};
|
|
22756
|
+
result: null;
|
|
22757
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
22758
|
+
}, {
|
|
22759
|
+
status: "error";
|
|
22760
|
+
action_attempt_id: string;
|
|
22761
|
+
error: {
|
|
22762
|
+
message: string;
|
|
22763
|
+
type: string;
|
|
22764
|
+
};
|
|
22765
|
+
result: null;
|
|
22766
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
22767
|
+
}>, z.ZodObject<{
|
|
22768
|
+
action_attempt_id: z.ZodString;
|
|
22769
|
+
} & {
|
|
22770
|
+
status: z.ZodLiteral<"pending">;
|
|
22771
|
+
result: z.ZodNull;
|
|
22772
|
+
error: z.ZodNull;
|
|
22601
22773
|
} & {
|
|
22602
22774
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
22603
22775
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -24991,6 +25163,7 @@ declare const batch: z.ZodObject<{
|
|
|
24991
25163
|
lock_command: z.ZodBoolean;
|
|
24992
25164
|
incomplete_keyboard_passcode: z.ZodBoolean;
|
|
24993
25165
|
wifi: z.ZodBoolean;
|
|
25166
|
+
auto_lock_time_config: z.ZodBoolean;
|
|
24994
25167
|
}, "strip", z.ZodTypeAny, {
|
|
24995
25168
|
passcode: boolean;
|
|
24996
25169
|
passcode_management: boolean;
|
|
@@ -24998,6 +25171,7 @@ declare const batch: z.ZodObject<{
|
|
|
24998
25171
|
lock_command: boolean;
|
|
24999
25172
|
incomplete_keyboard_passcode: boolean;
|
|
25000
25173
|
wifi: boolean;
|
|
25174
|
+
auto_lock_time_config: boolean;
|
|
25001
25175
|
}, {
|
|
25002
25176
|
passcode: boolean;
|
|
25003
25177
|
passcode_management: boolean;
|
|
@@ -25005,6 +25179,7 @@ declare const batch: z.ZodObject<{
|
|
|
25005
25179
|
lock_command: boolean;
|
|
25006
25180
|
incomplete_keyboard_passcode: boolean;
|
|
25007
25181
|
wifi: boolean;
|
|
25182
|
+
auto_lock_time_config: boolean;
|
|
25008
25183
|
}>;
|
|
25009
25184
|
has_gateway: z.ZodOptional<z.ZodBoolean>;
|
|
25010
25185
|
wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -25028,6 +25203,7 @@ declare const batch: z.ZodObject<{
|
|
|
25028
25203
|
lock_command: boolean;
|
|
25029
25204
|
incomplete_keyboard_passcode: boolean;
|
|
25030
25205
|
wifi: boolean;
|
|
25206
|
+
auto_lock_time_config: boolean;
|
|
25031
25207
|
};
|
|
25032
25208
|
has_gateway?: boolean | undefined;
|
|
25033
25209
|
wireless_keypads?: {
|
|
@@ -25045,6 +25221,7 @@ declare const batch: z.ZodObject<{
|
|
|
25045
25221
|
lock_command: boolean;
|
|
25046
25222
|
incomplete_keyboard_passcode: boolean;
|
|
25047
25223
|
wifi: boolean;
|
|
25224
|
+
auto_lock_time_config: boolean;
|
|
25048
25225
|
};
|
|
25049
25226
|
has_gateway?: boolean | undefined;
|
|
25050
25227
|
wireless_keypads?: {
|
|
@@ -25576,6 +25753,7 @@ declare const batch: z.ZodObject<{
|
|
|
25576
25753
|
lock_command: boolean;
|
|
25577
25754
|
incomplete_keyboard_passcode: boolean;
|
|
25578
25755
|
wifi: boolean;
|
|
25756
|
+
auto_lock_time_config: boolean;
|
|
25579
25757
|
};
|
|
25580
25758
|
has_gateway?: boolean | undefined;
|
|
25581
25759
|
wireless_keypads?: {
|
|
@@ -25853,6 +26031,7 @@ declare const batch: z.ZodObject<{
|
|
|
25853
26031
|
lock_command: boolean;
|
|
25854
26032
|
incomplete_keyboard_passcode: boolean;
|
|
25855
26033
|
wifi: boolean;
|
|
26034
|
+
auto_lock_time_config: boolean;
|
|
25856
26035
|
};
|
|
25857
26036
|
has_gateway?: boolean | undefined;
|
|
25858
26037
|
wireless_keypads?: {
|
|
@@ -26022,6 +26201,8 @@ declare const batch: z.ZodObject<{
|
|
|
26022
26201
|
level: number;
|
|
26023
26202
|
}>>>;
|
|
26024
26203
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
26204
|
+
auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
26205
|
+
auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
26025
26206
|
}, "strip", z.ZodTypeAny, {
|
|
26026
26207
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
26027
26208
|
code_constraints?: ({
|
|
@@ -26040,6 +26221,8 @@ declare const batch: z.ZodObject<{
|
|
|
26040
26221
|
level: number;
|
|
26041
26222
|
} | undefined;
|
|
26042
26223
|
door_open?: boolean | undefined;
|
|
26224
|
+
auto_lock_enabled?: boolean | undefined;
|
|
26225
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
26043
26226
|
}, {
|
|
26044
26227
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
26045
26228
|
code_constraints?: ({
|
|
@@ -26058,6 +26241,8 @@ declare const batch: z.ZodObject<{
|
|
|
26058
26241
|
level: number;
|
|
26059
26242
|
} | undefined;
|
|
26060
26243
|
door_open?: boolean | undefined;
|
|
26244
|
+
auto_lock_enabled?: boolean | undefined;
|
|
26245
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
26061
26246
|
}>, z.ZodObject<{
|
|
26062
26247
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
26063
26248
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -27398,6 +27583,7 @@ declare const batch: z.ZodObject<{
|
|
|
27398
27583
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
27399
27584
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
27400
27585
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
27586
|
+
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
27401
27587
|
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
|
|
27402
27588
|
is_managed: z.ZodLiteral<false>;
|
|
27403
27589
|
properties: z.ZodObject<Pick<{
|
|
@@ -27554,6 +27740,7 @@ declare const batch: z.ZodObject<{
|
|
|
27554
27740
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
27555
27741
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
27556
27742
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
27743
|
+
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
27557
27744
|
}, "strip", z.ZodTypeAny, {
|
|
27558
27745
|
device_id: string;
|
|
27559
27746
|
workspace_id: string;
|
|
@@ -27809,6 +27996,7 @@ declare const batch: z.ZodObject<{
|
|
|
27809
27996
|
can_simulate_hub_connection?: boolean | undefined;
|
|
27810
27997
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
27811
27998
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
27999
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
27812
28000
|
}, {
|
|
27813
28001
|
device_id: string;
|
|
27814
28002
|
workspace_id: string;
|
|
@@ -28064,6 +28252,7 @@ declare const batch: z.ZodObject<{
|
|
|
28064
28252
|
can_simulate_hub_connection?: boolean | undefined;
|
|
28065
28253
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
28066
28254
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
28255
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
28067
28256
|
}>, "many">>;
|
|
28068
28257
|
connect_webviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28069
28258
|
connect_webview_id: z.ZodString;
|
|
@@ -37461,6 +37650,7 @@ declare const batch: z.ZodObject<{
|
|
|
37461
37650
|
lock_command: boolean;
|
|
37462
37651
|
incomplete_keyboard_passcode: boolean;
|
|
37463
37652
|
wifi: boolean;
|
|
37653
|
+
auto_lock_time_config: boolean;
|
|
37464
37654
|
};
|
|
37465
37655
|
has_gateway?: boolean | undefined;
|
|
37466
37656
|
wireless_keypads?: {
|
|
@@ -37613,6 +37803,8 @@ declare const batch: z.ZodObject<{
|
|
|
37613
37803
|
level: number;
|
|
37614
37804
|
} | undefined;
|
|
37615
37805
|
door_open?: boolean | undefined;
|
|
37806
|
+
auto_lock_enabled?: boolean | undefined;
|
|
37807
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
37616
37808
|
} & {
|
|
37617
37809
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
37618
37810
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -37771,6 +37963,7 @@ declare const batch: z.ZodObject<{
|
|
|
37771
37963
|
can_simulate_hub_connection?: boolean | undefined;
|
|
37772
37964
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
37773
37965
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
37966
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
37774
37967
|
nickname?: string | undefined;
|
|
37775
37968
|
device_provider?: {
|
|
37776
37969
|
display_name: string;
|
|
@@ -38403,6 +38596,27 @@ declare const batch: z.ZodObject<{
|
|
|
38403
38596
|
};
|
|
38404
38597
|
result: null;
|
|
38405
38598
|
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
38599
|
+
} | {
|
|
38600
|
+
status: "pending";
|
|
38601
|
+
action_attempt_id: string;
|
|
38602
|
+
error: null;
|
|
38603
|
+
result: null;
|
|
38604
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
38605
|
+
} | {
|
|
38606
|
+
status: "success";
|
|
38607
|
+
action_attempt_id: string;
|
|
38608
|
+
error: null;
|
|
38609
|
+
result: {};
|
|
38610
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
38611
|
+
} | {
|
|
38612
|
+
status: "error";
|
|
38613
|
+
action_attempt_id: string;
|
|
38614
|
+
error: {
|
|
38615
|
+
message: string;
|
|
38616
|
+
type: string;
|
|
38617
|
+
};
|
|
38618
|
+
result: null;
|
|
38619
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
38406
38620
|
} | {
|
|
38407
38621
|
status: "pending";
|
|
38408
38622
|
action_attempt_id: string;
|
|
@@ -39607,6 +39821,7 @@ declare const batch: z.ZodObject<{
|
|
|
39607
39821
|
can_simulate_hub_connection?: boolean | undefined;
|
|
39608
39822
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
39609
39823
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
39824
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
39610
39825
|
}[] | undefined;
|
|
39611
39826
|
connect_webviews?: {
|
|
39612
39827
|
status: "pending" | "failed" | "authorized";
|
|
@@ -42281,6 +42496,7 @@ declare const batch: z.ZodObject<{
|
|
|
42281
42496
|
lock_command: boolean;
|
|
42282
42497
|
incomplete_keyboard_passcode: boolean;
|
|
42283
42498
|
wifi: boolean;
|
|
42499
|
+
auto_lock_time_config: boolean;
|
|
42284
42500
|
};
|
|
42285
42501
|
has_gateway?: boolean | undefined;
|
|
42286
42502
|
wireless_keypads?: {
|
|
@@ -42433,6 +42649,8 @@ declare const batch: z.ZodObject<{
|
|
|
42433
42649
|
level: number;
|
|
42434
42650
|
} | undefined;
|
|
42435
42651
|
door_open?: boolean | undefined;
|
|
42652
|
+
auto_lock_enabled?: boolean | undefined;
|
|
42653
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
42436
42654
|
} & {
|
|
42437
42655
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
42438
42656
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -42591,6 +42809,7 @@ declare const batch: z.ZodObject<{
|
|
|
42591
42809
|
can_simulate_hub_connection?: boolean | undefined;
|
|
42592
42810
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
42593
42811
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
42812
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
42594
42813
|
nickname?: string | undefined;
|
|
42595
42814
|
device_provider?: {
|
|
42596
42815
|
display_name: string;
|
|
@@ -43223,6 +43442,27 @@ declare const batch: z.ZodObject<{
|
|
|
43223
43442
|
};
|
|
43224
43443
|
result: null;
|
|
43225
43444
|
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
43445
|
+
} | {
|
|
43446
|
+
status: "pending";
|
|
43447
|
+
action_attempt_id: string;
|
|
43448
|
+
error: null;
|
|
43449
|
+
result: null;
|
|
43450
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
43451
|
+
} | {
|
|
43452
|
+
status: "success";
|
|
43453
|
+
action_attempt_id: string;
|
|
43454
|
+
error: null;
|
|
43455
|
+
result: {};
|
|
43456
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
43457
|
+
} | {
|
|
43458
|
+
status: "error";
|
|
43459
|
+
action_attempt_id: string;
|
|
43460
|
+
error: {
|
|
43461
|
+
message: string;
|
|
43462
|
+
type: string;
|
|
43463
|
+
};
|
|
43464
|
+
result: null;
|
|
43465
|
+
action_type: "CONFIGURE_AUTO_LOCK";
|
|
43226
43466
|
} | {
|
|
43227
43467
|
status: "pending";
|
|
43228
43468
|
action_attempt_id: string;
|
|
@@ -44427,6 +44667,7 @@ declare const batch: z.ZodObject<{
|
|
|
44427
44667
|
can_simulate_hub_connection?: boolean | undefined;
|
|
44428
44668
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
44429
44669
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
44670
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
44430
44671
|
}[] | undefined;
|
|
44431
44672
|
connect_webviews?: {
|
|
44432
44673
|
status: "pending" | "failed" | "authorized";
|
|
@@ -48793,6 +49034,7 @@ declare const device: z.ZodObject<{
|
|
|
48793
49034
|
lock_command: z.ZodBoolean;
|
|
48794
49035
|
incomplete_keyboard_passcode: z.ZodBoolean;
|
|
48795
49036
|
wifi: z.ZodBoolean;
|
|
49037
|
+
auto_lock_time_config: z.ZodBoolean;
|
|
48796
49038
|
}, "strip", z.ZodTypeAny, {
|
|
48797
49039
|
passcode: boolean;
|
|
48798
49040
|
passcode_management: boolean;
|
|
@@ -48800,6 +49042,7 @@ declare const device: z.ZodObject<{
|
|
|
48800
49042
|
lock_command: boolean;
|
|
48801
49043
|
incomplete_keyboard_passcode: boolean;
|
|
48802
49044
|
wifi: boolean;
|
|
49045
|
+
auto_lock_time_config: boolean;
|
|
48803
49046
|
}, {
|
|
48804
49047
|
passcode: boolean;
|
|
48805
49048
|
passcode_management: boolean;
|
|
@@ -48807,6 +49050,7 @@ declare const device: z.ZodObject<{
|
|
|
48807
49050
|
lock_command: boolean;
|
|
48808
49051
|
incomplete_keyboard_passcode: boolean;
|
|
48809
49052
|
wifi: boolean;
|
|
49053
|
+
auto_lock_time_config: boolean;
|
|
48810
49054
|
}>;
|
|
48811
49055
|
has_gateway: z.ZodOptional<z.ZodBoolean>;
|
|
48812
49056
|
wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -48830,6 +49074,7 @@ declare const device: z.ZodObject<{
|
|
|
48830
49074
|
lock_command: boolean;
|
|
48831
49075
|
incomplete_keyboard_passcode: boolean;
|
|
48832
49076
|
wifi: boolean;
|
|
49077
|
+
auto_lock_time_config: boolean;
|
|
48833
49078
|
};
|
|
48834
49079
|
has_gateway?: boolean | undefined;
|
|
48835
49080
|
wireless_keypads?: {
|
|
@@ -48847,6 +49092,7 @@ declare const device: z.ZodObject<{
|
|
|
48847
49092
|
lock_command: boolean;
|
|
48848
49093
|
incomplete_keyboard_passcode: boolean;
|
|
48849
49094
|
wifi: boolean;
|
|
49095
|
+
auto_lock_time_config: boolean;
|
|
48850
49096
|
};
|
|
48851
49097
|
has_gateway?: boolean | undefined;
|
|
48852
49098
|
wireless_keypads?: {
|
|
@@ -49378,6 +49624,7 @@ declare const device: z.ZodObject<{
|
|
|
49378
49624
|
lock_command: boolean;
|
|
49379
49625
|
incomplete_keyboard_passcode: boolean;
|
|
49380
49626
|
wifi: boolean;
|
|
49627
|
+
auto_lock_time_config: boolean;
|
|
49381
49628
|
};
|
|
49382
49629
|
has_gateway?: boolean | undefined;
|
|
49383
49630
|
wireless_keypads?: {
|
|
@@ -49655,6 +49902,7 @@ declare const device: z.ZodObject<{
|
|
|
49655
49902
|
lock_command: boolean;
|
|
49656
49903
|
incomplete_keyboard_passcode: boolean;
|
|
49657
49904
|
wifi: boolean;
|
|
49905
|
+
auto_lock_time_config: boolean;
|
|
49658
49906
|
};
|
|
49659
49907
|
has_gateway?: boolean | undefined;
|
|
49660
49908
|
wireless_keypads?: {
|
|
@@ -49824,6 +50072,8 @@ declare const device: z.ZodObject<{
|
|
|
49824
50072
|
level: number;
|
|
49825
50073
|
}>>>;
|
|
49826
50074
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
50075
|
+
auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
50076
|
+
auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
49827
50077
|
}, "strip", z.ZodTypeAny, {
|
|
49828
50078
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
49829
50079
|
code_constraints?: ({
|
|
@@ -49842,6 +50092,8 @@ declare const device: z.ZodObject<{
|
|
|
49842
50092
|
level: number;
|
|
49843
50093
|
} | undefined;
|
|
49844
50094
|
door_open?: boolean | undefined;
|
|
50095
|
+
auto_lock_enabled?: boolean | undefined;
|
|
50096
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
49845
50097
|
}, {
|
|
49846
50098
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
49847
50099
|
code_constraints?: ({
|
|
@@ -49860,6 +50112,8 @@ declare const device: z.ZodObject<{
|
|
|
49860
50112
|
level: number;
|
|
49861
50113
|
} | undefined;
|
|
49862
50114
|
door_open?: boolean | undefined;
|
|
50115
|
+
auto_lock_enabled?: boolean | undefined;
|
|
50116
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
49863
50117
|
}>, z.ZodObject<{
|
|
49864
50118
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
49865
50119
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -51200,6 +51454,7 @@ declare const device: z.ZodObject<{
|
|
|
51200
51454
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
51201
51455
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
51202
51456
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
51457
|
+
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
51203
51458
|
}, "strip", z.ZodTypeAny, {
|
|
51204
51459
|
display_name: string;
|
|
51205
51460
|
device_id: string;
|
|
@@ -51595,6 +51850,7 @@ declare const device: z.ZodObject<{
|
|
|
51595
51850
|
lock_command: boolean;
|
|
51596
51851
|
incomplete_keyboard_passcode: boolean;
|
|
51597
51852
|
wifi: boolean;
|
|
51853
|
+
auto_lock_time_config: boolean;
|
|
51598
51854
|
};
|
|
51599
51855
|
has_gateway?: boolean | undefined;
|
|
51600
51856
|
wireless_keypads?: {
|
|
@@ -51747,6 +52003,8 @@ declare const device: z.ZodObject<{
|
|
|
51747
52003
|
level: number;
|
|
51748
52004
|
} | undefined;
|
|
51749
52005
|
door_open?: boolean | undefined;
|
|
52006
|
+
auto_lock_enabled?: boolean | undefined;
|
|
52007
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
51750
52008
|
} & {
|
|
51751
52009
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
51752
52010
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -51905,6 +52163,7 @@ declare const device: z.ZodObject<{
|
|
|
51905
52163
|
can_simulate_hub_connection?: boolean | undefined;
|
|
51906
52164
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
51907
52165
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
52166
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
51908
52167
|
nickname?: string | undefined;
|
|
51909
52168
|
device_provider?: {
|
|
51910
52169
|
display_name: string;
|
|
@@ -52312,6 +52571,7 @@ declare const device: z.ZodObject<{
|
|
|
52312
52571
|
lock_command: boolean;
|
|
52313
52572
|
incomplete_keyboard_passcode: boolean;
|
|
52314
52573
|
wifi: boolean;
|
|
52574
|
+
auto_lock_time_config: boolean;
|
|
52315
52575
|
};
|
|
52316
52576
|
has_gateway?: boolean | undefined;
|
|
52317
52577
|
wireless_keypads?: {
|
|
@@ -52464,6 +52724,8 @@ declare const device: z.ZodObject<{
|
|
|
52464
52724
|
level: number;
|
|
52465
52725
|
} | undefined;
|
|
52466
52726
|
door_open?: boolean | undefined;
|
|
52727
|
+
auto_lock_enabled?: boolean | undefined;
|
|
52728
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
52467
52729
|
} & {
|
|
52468
52730
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
52469
52731
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -52622,6 +52884,7 @@ declare const device: z.ZodObject<{
|
|
|
52622
52884
|
can_simulate_hub_connection?: boolean | undefined;
|
|
52623
52885
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
52624
52886
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
52887
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
52625
52888
|
nickname?: string | undefined;
|
|
52626
52889
|
device_provider?: {
|
|
52627
52890
|
display_name: string;
|
|
@@ -52714,6 +52977,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
52714
52977
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
52715
52978
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
52716
52979
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
52980
|
+
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
52717
52981
|
}, "strip", z.ZodTypeAny, {
|
|
52718
52982
|
display_name: string;
|
|
52719
52983
|
image_url: string;
|
|
@@ -52738,6 +53002,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
52738
53002
|
can_simulate_hub_connection?: boolean | undefined;
|
|
52739
53003
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
52740
53004
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
53005
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
52741
53006
|
}, {
|
|
52742
53007
|
display_name: string;
|
|
52743
53008
|
image_url: string;
|
|
@@ -52762,6 +53027,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
52762
53027
|
can_simulate_hub_connection?: boolean | undefined;
|
|
52763
53028
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
52764
53029
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
53030
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
52765
53031
|
}>;
|
|
52766
53032
|
type DeviceProvider = z.infer<typeof device_provider>;
|
|
52767
53033
|
|
|
@@ -53409,6 +53675,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
53409
53675
|
lock_command: z.ZodBoolean;
|
|
53410
53676
|
incomplete_keyboard_passcode: z.ZodBoolean;
|
|
53411
53677
|
wifi: z.ZodBoolean;
|
|
53678
|
+
auto_lock_time_config: z.ZodBoolean;
|
|
53412
53679
|
}, "strip", z.ZodTypeAny, {
|
|
53413
53680
|
passcode: boolean;
|
|
53414
53681
|
passcode_management: boolean;
|
|
@@ -53416,6 +53683,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
53416
53683
|
lock_command: boolean;
|
|
53417
53684
|
incomplete_keyboard_passcode: boolean;
|
|
53418
53685
|
wifi: boolean;
|
|
53686
|
+
auto_lock_time_config: boolean;
|
|
53419
53687
|
}, {
|
|
53420
53688
|
passcode: boolean;
|
|
53421
53689
|
passcode_management: boolean;
|
|
@@ -53423,6 +53691,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
53423
53691
|
lock_command: boolean;
|
|
53424
53692
|
incomplete_keyboard_passcode: boolean;
|
|
53425
53693
|
wifi: boolean;
|
|
53694
|
+
auto_lock_time_config: boolean;
|
|
53426
53695
|
}>;
|
|
53427
53696
|
has_gateway: z.ZodOptional<z.ZodBoolean>;
|
|
53428
53697
|
wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -53446,6 +53715,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
53446
53715
|
lock_command: boolean;
|
|
53447
53716
|
incomplete_keyboard_passcode: boolean;
|
|
53448
53717
|
wifi: boolean;
|
|
53718
|
+
auto_lock_time_config: boolean;
|
|
53449
53719
|
};
|
|
53450
53720
|
has_gateway?: boolean | undefined;
|
|
53451
53721
|
wireless_keypads?: {
|
|
@@ -53463,6 +53733,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
53463
53733
|
lock_command: boolean;
|
|
53464
53734
|
incomplete_keyboard_passcode: boolean;
|
|
53465
53735
|
wifi: boolean;
|
|
53736
|
+
auto_lock_time_config: boolean;
|
|
53466
53737
|
};
|
|
53467
53738
|
has_gateway?: boolean | undefined;
|
|
53468
53739
|
wireless_keypads?: {
|
|
@@ -53994,6 +54265,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
53994
54265
|
lock_command: boolean;
|
|
53995
54266
|
incomplete_keyboard_passcode: boolean;
|
|
53996
54267
|
wifi: boolean;
|
|
54268
|
+
auto_lock_time_config: boolean;
|
|
53997
54269
|
};
|
|
53998
54270
|
has_gateway?: boolean | undefined;
|
|
53999
54271
|
wireless_keypads?: {
|
|
@@ -54271,6 +54543,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
54271
54543
|
lock_command: boolean;
|
|
54272
54544
|
incomplete_keyboard_passcode: boolean;
|
|
54273
54545
|
wifi: boolean;
|
|
54546
|
+
auto_lock_time_config: boolean;
|
|
54274
54547
|
};
|
|
54275
54548
|
has_gateway?: boolean | undefined;
|
|
54276
54549
|
wireless_keypads?: {
|
|
@@ -54440,6 +54713,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
54440
54713
|
level: number;
|
|
54441
54714
|
}>>>;
|
|
54442
54715
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
54716
|
+
auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
54717
|
+
auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
54443
54718
|
}, "strip", z.ZodTypeAny, {
|
|
54444
54719
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
54445
54720
|
code_constraints?: ({
|
|
@@ -54458,6 +54733,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
54458
54733
|
level: number;
|
|
54459
54734
|
} | undefined;
|
|
54460
54735
|
door_open?: boolean | undefined;
|
|
54736
|
+
auto_lock_enabled?: boolean | undefined;
|
|
54737
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
54461
54738
|
}, {
|
|
54462
54739
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
54463
54740
|
code_constraints?: ({
|
|
@@ -54476,6 +54753,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
54476
54753
|
level: number;
|
|
54477
54754
|
} | undefined;
|
|
54478
54755
|
door_open?: boolean | undefined;
|
|
54756
|
+
auto_lock_enabled?: boolean | undefined;
|
|
54757
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
54479
54758
|
}>, z.ZodObject<{
|
|
54480
54759
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
54481
54760
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -55816,6 +56095,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
55816
56095
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
55817
56096
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
55818
56097
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
56098
|
+
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
55819
56099
|
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
|
|
55820
56100
|
is_managed: z.ZodLiteral<false>;
|
|
55821
56101
|
properties: z.ZodObject<Pick<{
|
|
@@ -55972,6 +56252,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
55972
56252
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
55973
56253
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
55974
56254
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
56255
|
+
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
55975
56256
|
}, "strip", z.ZodTypeAny, {
|
|
55976
56257
|
device_id: string;
|
|
55977
56258
|
workspace_id: string;
|
|
@@ -56227,6 +56508,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
56227
56508
|
can_simulate_hub_connection?: boolean | undefined;
|
|
56228
56509
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
56229
56510
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
56511
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
56230
56512
|
}, {
|
|
56231
56513
|
device_id: string;
|
|
56232
56514
|
workspace_id: string;
|
|
@@ -56482,6 +56764,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
56482
56764
|
can_simulate_hub_connection?: boolean | undefined;
|
|
56483
56765
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
56484
56766
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
56767
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
56485
56768
|
}>;
|
|
56486
56769
|
type UnmanagedDevice = z.infer<typeof unmanaged_device>;
|
|
56487
56770
|
|
|
@@ -67540,6 +67823,9 @@ declare const _default: {
|
|
|
67540
67823
|
device: {
|
|
67541
67824
|
description: string;
|
|
67542
67825
|
properties: {
|
|
67826
|
+
can_configure_auto_lock: {
|
|
67827
|
+
type: string;
|
|
67828
|
+
};
|
|
67543
67829
|
can_hvac_cool: {
|
|
67544
67830
|
type: string;
|
|
67545
67831
|
};
|
|
@@ -69124,6 +69410,10 @@ declare const _default: {
|
|
|
69124
69410
|
features: {
|
|
69125
69411
|
description: string;
|
|
69126
69412
|
properties: {
|
|
69413
|
+
auto_lock_time_config: {
|
|
69414
|
+
description: string;
|
|
69415
|
+
type: string;
|
|
69416
|
+
};
|
|
69127
69417
|
incomplete_keyboard_passcode: {
|
|
69128
69418
|
description: string;
|
|
69129
69419
|
type: string;
|
|
@@ -69295,6 +69585,17 @@ declare const _default: {
|
|
|
69295
69585
|
type: string;
|
|
69296
69586
|
'x-undocumented': string;
|
|
69297
69587
|
};
|
|
69588
|
+
auto_lock_delay_seconds: {
|
|
69589
|
+
description: string;
|
|
69590
|
+
format: string;
|
|
69591
|
+
type: string;
|
|
69592
|
+
'x-property-group-key': string;
|
|
69593
|
+
};
|
|
69594
|
+
auto_lock_enabled: {
|
|
69595
|
+
description: string;
|
|
69596
|
+
type: string;
|
|
69597
|
+
'x-property-group-key': string;
|
|
69598
|
+
};
|
|
69298
69599
|
code_constraints: {
|
|
69299
69600
|
description: string;
|
|
69300
69601
|
items: {
|
|
@@ -70104,6 +70405,8 @@ declare const _default: {
|
|
|
70104
70405
|
'x-property-group-key': string;
|
|
70105
70406
|
};
|
|
70106
70407
|
_experimental_supported_code_from_access_codes_lengths?: never;
|
|
70408
|
+
auto_lock_delay_seconds?: never;
|
|
70409
|
+
auto_lock_enabled?: never;
|
|
70107
70410
|
code_constraints?: never;
|
|
70108
70411
|
door_open?: never;
|
|
70109
70412
|
has_native_entry_events?: never;
|
|
@@ -70292,6 +70595,9 @@ declare const _default: {
|
|
|
70292
70595
|
};
|
|
70293
70596
|
device_provider: {
|
|
70294
70597
|
properties: {
|
|
70598
|
+
can_configure_auto_lock: {
|
|
70599
|
+
type: string;
|
|
70600
|
+
};
|
|
70295
70601
|
can_hvac_cool: {
|
|
70296
70602
|
type: string;
|
|
70297
70603
|
};
|
|
@@ -78349,6 +78655,7 @@ declare const _default: {
|
|
|
78349
78655
|
required: string[];
|
|
78350
78656
|
type: string;
|
|
78351
78657
|
'x-route-path': string;
|
|
78658
|
+
'x-undocumented': string;
|
|
78352
78659
|
};
|
|
78353
78660
|
thermostat_daily_program: {
|
|
78354
78661
|
description: string;
|
|
@@ -80086,6 +80393,9 @@ declare const _default: {
|
|
|
80086
80393
|
unmanaged_device: {
|
|
80087
80394
|
description: string;
|
|
80088
80395
|
properties: {
|
|
80396
|
+
can_configure_auto_lock: {
|
|
80397
|
+
type: string;
|
|
80398
|
+
};
|
|
80089
80399
|
can_hvac_cool: {
|
|
80090
80400
|
type: string;
|
|
80091
80401
|
};
|
|
@@ -82031,6 +82341,7 @@ declare const _default: {
|
|
|
82031
82341
|
};
|
|
82032
82342
|
timeline_events: {
|
|
82033
82343
|
items: {
|
|
82344
|
+
description: string;
|
|
82034
82345
|
properties: {
|
|
82035
82346
|
actor: {
|
|
82036
82347
|
description: string;
|
|
@@ -82067,6 +82378,7 @@ declare const _default: {
|
|
|
82067
82378
|
description: string;
|
|
82068
82379
|
enum: string[];
|
|
82069
82380
|
type: string;
|
|
82381
|
+
'x-undocumented': string;
|
|
82070
82382
|
};
|
|
82071
82383
|
occurred_at: {
|
|
82072
82384
|
description: string;
|
|
@@ -82103,6 +82415,7 @@ declare const _default: {
|
|
|
82103
82415
|
};
|
|
82104
82416
|
required: string[];
|
|
82105
82417
|
type: string;
|
|
82418
|
+
'x-undocumented': string;
|
|
82106
82419
|
};
|
|
82107
82420
|
type: string;
|
|
82108
82421
|
};
|
|
@@ -82159,6 +82472,7 @@ declare const _default: {
|
|
|
82159
82472
|
'x-fern-sdk-return-value': string;
|
|
82160
82473
|
'x-response-key': string;
|
|
82161
82474
|
'x-title': string;
|
|
82475
|
+
'x-undocumented': string;
|
|
82162
82476
|
};
|
|
82163
82477
|
post: {
|
|
82164
82478
|
description: string;
|
|
@@ -82234,6 +82548,7 @@ declare const _default: {
|
|
|
82234
82548
|
};
|
|
82235
82549
|
timeline_events: {
|
|
82236
82550
|
items: {
|
|
82551
|
+
description: string;
|
|
82237
82552
|
properties: {
|
|
82238
82553
|
actor: {
|
|
82239
82554
|
description: string;
|
|
@@ -82270,6 +82585,7 @@ declare const _default: {
|
|
|
82270
82585
|
description: string;
|
|
82271
82586
|
enum: string[];
|
|
82272
82587
|
type: string;
|
|
82588
|
+
'x-undocumented': string;
|
|
82273
82589
|
};
|
|
82274
82590
|
occurred_at: {
|
|
82275
82591
|
description: string;
|
|
@@ -82306,6 +82622,7 @@ declare const _default: {
|
|
|
82306
82622
|
};
|
|
82307
82623
|
required: string[];
|
|
82308
82624
|
type: string;
|
|
82625
|
+
'x-undocumented': string;
|
|
82309
82626
|
};
|
|
82310
82627
|
type: string;
|
|
82311
82628
|
};
|
|
@@ -82362,6 +82679,7 @@ declare const _default: {
|
|
|
82362
82679
|
'x-fern-sdk-return-value': string;
|
|
82363
82680
|
'x-response-key': string;
|
|
82364
82681
|
'x-title': string;
|
|
82682
|
+
'x-undocumented': string;
|
|
82365
82683
|
};
|
|
82366
82684
|
};
|
|
82367
82685
|
'/access_codes/list': {
|
|
@@ -101072,6 +101390,7 @@ declare const _default: {
|
|
|
101072
101390
|
};
|
|
101073
101391
|
required: string[];
|
|
101074
101392
|
type: string;
|
|
101393
|
+
'x-undocumented': string;
|
|
101075
101394
|
};
|
|
101076
101395
|
exclude_locale_picker: {
|
|
101077
101396
|
default: boolean;
|
|
@@ -102134,6 +102453,7 @@ declare const _default: {
|
|
|
102134
102453
|
required: string[];
|
|
102135
102454
|
type: string;
|
|
102136
102455
|
'x-route-path': string;
|
|
102456
|
+
'x-undocumented': string;
|
|
102137
102457
|
};
|
|
102138
102458
|
type: string;
|
|
102139
102459
|
};
|
|
@@ -103264,6 +103584,7 @@ declare const _default: {
|
|
|
103264
103584
|
required: string[];
|
|
103265
103585
|
type: string;
|
|
103266
103586
|
'x-route-path': string;
|
|
103587
|
+
'x-undocumented': string;
|
|
103267
103588
|
};
|
|
103268
103589
|
type: string;
|
|
103269
103590
|
};
|
|
@@ -103513,6 +103834,7 @@ declare const _default: {
|
|
|
103513
103834
|
'x-fern-sdk-return-value': string;
|
|
103514
103835
|
'x-response-key': string;
|
|
103515
103836
|
'x-title': string;
|
|
103837
|
+
'x-undocumented': string;
|
|
103516
103838
|
};
|
|
103517
103839
|
};
|
|
103518
103840
|
'/devices/delete': {
|
|
@@ -107134,6 +107456,96 @@ declare const _default: {
|
|
|
107134
107456
|
'x-title': string;
|
|
107135
107457
|
};
|
|
107136
107458
|
};
|
|
107459
|
+
'/locks/configure_auto_lock': {
|
|
107460
|
+
post: {
|
|
107461
|
+
description: string;
|
|
107462
|
+
operationId: string;
|
|
107463
|
+
requestBody: {
|
|
107464
|
+
content: {
|
|
107465
|
+
'application/json': {
|
|
107466
|
+
schema: {
|
|
107467
|
+
properties: {
|
|
107468
|
+
auto_lock_delay_seconds: {
|
|
107469
|
+
description: string;
|
|
107470
|
+
format: string;
|
|
107471
|
+
maximum: number;
|
|
107472
|
+
minimum: number;
|
|
107473
|
+
type: string;
|
|
107474
|
+
};
|
|
107475
|
+
auto_lock_enabled: {
|
|
107476
|
+
description: string;
|
|
107477
|
+
type: string;
|
|
107478
|
+
};
|
|
107479
|
+
device_id: {
|
|
107480
|
+
description: string;
|
|
107481
|
+
format: string;
|
|
107482
|
+
type: string;
|
|
107483
|
+
};
|
|
107484
|
+
};
|
|
107485
|
+
required: string[];
|
|
107486
|
+
type: string;
|
|
107487
|
+
};
|
|
107488
|
+
};
|
|
107489
|
+
};
|
|
107490
|
+
};
|
|
107491
|
+
responses: {
|
|
107492
|
+
200: {
|
|
107493
|
+
content: {
|
|
107494
|
+
'application/json': {
|
|
107495
|
+
schema: {
|
|
107496
|
+
properties: {
|
|
107497
|
+
action_attempt: {
|
|
107498
|
+
$ref: string;
|
|
107499
|
+
};
|
|
107500
|
+
ok: {
|
|
107501
|
+
type: string;
|
|
107502
|
+
};
|
|
107503
|
+
};
|
|
107504
|
+
required: string[];
|
|
107505
|
+
type: string;
|
|
107506
|
+
};
|
|
107507
|
+
};
|
|
107508
|
+
};
|
|
107509
|
+
description: string;
|
|
107510
|
+
};
|
|
107511
|
+
400: {
|
|
107512
|
+
description: string;
|
|
107513
|
+
};
|
|
107514
|
+
401: {
|
|
107515
|
+
description: string;
|
|
107516
|
+
};
|
|
107517
|
+
};
|
|
107518
|
+
security: ({
|
|
107519
|
+
client_session: never[];
|
|
107520
|
+
pat_with_workspace?: never;
|
|
107521
|
+
console_session_with_workspace?: never;
|
|
107522
|
+
api_key?: never;
|
|
107523
|
+
} | {
|
|
107524
|
+
pat_with_workspace: never[];
|
|
107525
|
+
client_session?: never;
|
|
107526
|
+
console_session_with_workspace?: never;
|
|
107527
|
+
api_key?: never;
|
|
107528
|
+
} | {
|
|
107529
|
+
console_session_with_workspace: never[];
|
|
107530
|
+
client_session?: never;
|
|
107531
|
+
pat_with_workspace?: never;
|
|
107532
|
+
api_key?: never;
|
|
107533
|
+
} | {
|
|
107534
|
+
api_key: never[];
|
|
107535
|
+
client_session?: never;
|
|
107536
|
+
pat_with_workspace?: never;
|
|
107537
|
+
console_session_with_workspace?: never;
|
|
107538
|
+
})[];
|
|
107539
|
+
summary: string;
|
|
107540
|
+
tags: string[];
|
|
107541
|
+
'x-action-attempt-type': string;
|
|
107542
|
+
'x-fern-sdk-group-name': string[];
|
|
107543
|
+
'x-fern-sdk-method-name': string;
|
|
107544
|
+
'x-fern-sdk-return-value': string;
|
|
107545
|
+
'x-response-key': string;
|
|
107546
|
+
'x-title': string;
|
|
107547
|
+
};
|
|
107548
|
+
};
|
|
107137
107549
|
'/locks/get': {
|
|
107138
107550
|
get: {
|
|
107139
107551
|
description: string;
|
|
@@ -115048,6 +115460,7 @@ declare const _default: {
|
|
|
115048
115460
|
'x-fern-sdk-return-value': string;
|
|
115049
115461
|
'x-response-key': string;
|
|
115050
115462
|
'x-title': string;
|
|
115463
|
+
'x-undocumented': string;
|
|
115051
115464
|
};
|
|
115052
115465
|
post: {
|
|
115053
115466
|
description: string;
|
|
@@ -115335,6 +115748,7 @@ declare const _default: {
|
|
|
115335
115748
|
'x-fern-sdk-return-value': string;
|
|
115336
115749
|
'x-response-key': string;
|
|
115337
115750
|
'x-title': string;
|
|
115751
|
+
'x-undocumented': string;
|
|
115338
115752
|
};
|
|
115339
115753
|
};
|
|
115340
115754
|
'/seam/customer/v1/customers/automations/update': {
|
|
@@ -115639,6 +116053,7 @@ declare const _default: {
|
|
|
115639
116053
|
'x-fern-sdk-method-name': string;
|
|
115640
116054
|
'x-response-key': null;
|
|
115641
116055
|
'x-title': string;
|
|
116056
|
+
'x-undocumented': string;
|
|
115642
116057
|
};
|
|
115643
116058
|
post: {
|
|
115644
116059
|
description: string;
|
|
@@ -115941,6 +116356,7 @@ declare const _default: {
|
|
|
115941
116356
|
'x-fern-sdk-method-name': string;
|
|
115942
116357
|
'x-response-key': null;
|
|
115943
116358
|
'x-title': string;
|
|
116359
|
+
'x-undocumented': string;
|
|
115944
116360
|
};
|
|
115945
116361
|
};
|
|
115946
116362
|
'/seam/customer/v1/customers/list': {
|
|
@@ -116175,6 +116591,7 @@ declare const _default: {
|
|
|
116175
116591
|
'x-fern-sdk-method-name': string;
|
|
116176
116592
|
'x-response-key': null;
|
|
116177
116593
|
'x-title': string;
|
|
116594
|
+
'x-undocumented': string;
|
|
116178
116595
|
};
|
|
116179
116596
|
post: {
|
|
116180
116597
|
description: string;
|
|
@@ -116224,6 +116641,7 @@ declare const _default: {
|
|
|
116224
116641
|
'x-fern-sdk-method-name': string;
|
|
116225
116642
|
'x-response-key': null;
|
|
116226
116643
|
'x-title': string;
|
|
116644
|
+
'x-undocumented': string;
|
|
116227
116645
|
};
|
|
116228
116646
|
};
|
|
116229
116647
|
'/seam/customer/v1/customers/open_portal': {
|
|
@@ -116728,6 +117146,7 @@ declare const _default: {
|
|
|
116728
117146
|
};
|
|
116729
117147
|
required: string[];
|
|
116730
117148
|
type: string;
|
|
117149
|
+
'x-undocumented': string;
|
|
116731
117150
|
};
|
|
116732
117151
|
exclude_locale_picker: {
|
|
116733
117152
|
default: boolean;
|
|
@@ -117215,6 +117634,7 @@ declare const _default: {
|
|
|
117215
117634
|
};
|
|
117216
117635
|
required: string[];
|
|
117217
117636
|
type: string;
|
|
117637
|
+
'x-undocumented': string;
|
|
117218
117638
|
};
|
|
117219
117639
|
exclude_locale_picker: {
|
|
117220
117640
|
default: boolean;
|
|
@@ -120139,6 +120559,7 @@ declare const _default: {
|
|
|
120139
120559
|
'x-fern-sdk-method-name': string;
|
|
120140
120560
|
'x-response-key': null;
|
|
120141
120561
|
'x-title': string;
|
|
120562
|
+
'x-undocumented': string;
|
|
120142
120563
|
};
|
|
120143
120564
|
};
|
|
120144
120565
|
'/seam/customer/v1/staff_members/get': {
|
|
@@ -120218,6 +120639,7 @@ declare const _default: {
|
|
|
120218
120639
|
required: string[];
|
|
120219
120640
|
type: string;
|
|
120220
120641
|
'x-route-path': string;
|
|
120642
|
+
'x-undocumented': string;
|
|
120221
120643
|
};
|
|
120222
120644
|
};
|
|
120223
120645
|
required: string[];
|
|
@@ -120329,6 +120751,7 @@ declare const _default: {
|
|
|
120329
120751
|
required: string[];
|
|
120330
120752
|
type: string;
|
|
120331
120753
|
'x-route-path': string;
|
|
120754
|
+
'x-undocumented': string;
|
|
120332
120755
|
};
|
|
120333
120756
|
};
|
|
120334
120757
|
required: string[];
|
|
@@ -120458,6 +120881,7 @@ declare const _default: {
|
|
|
120458
120881
|
required: string[];
|
|
120459
120882
|
type: string;
|
|
120460
120883
|
'x-route-path': string;
|
|
120884
|
+
'x-undocumented': string;
|
|
120461
120885
|
};
|
|
120462
120886
|
type: string;
|
|
120463
120887
|
};
|
|
@@ -120575,6 +120999,7 @@ declare const _default: {
|
|
|
120575
120999
|
required: string[];
|
|
120576
121000
|
type: string;
|
|
120577
121001
|
'x-route-path': string;
|
|
121002
|
+
'x-undocumented': string;
|
|
120578
121003
|
};
|
|
120579
121004
|
type: string;
|
|
120580
121005
|
};
|
|
@@ -134331,6 +134756,41 @@ type Routes = {
|
|
|
134331
134756
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
134332
134757
|
message: string;
|
|
134333
134758
|
};
|
|
134759
|
+
} | {
|
|
134760
|
+
/** ID of the action attempt. */
|
|
134761
|
+
action_attempt_id: string;
|
|
134762
|
+
status: 'pending';
|
|
134763
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
134764
|
+
result: null;
|
|
134765
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
134766
|
+
error: null;
|
|
134767
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
134768
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
134769
|
+
} | {
|
|
134770
|
+
/** ID of the action attempt. */
|
|
134771
|
+
action_attempt_id: string;
|
|
134772
|
+
status: 'success';
|
|
134773
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
134774
|
+
error: null;
|
|
134775
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
134776
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
134777
|
+
/** Result of the action. */
|
|
134778
|
+
result: {};
|
|
134779
|
+
} | {
|
|
134780
|
+
/** ID of the action attempt. */
|
|
134781
|
+
action_attempt_id: string;
|
|
134782
|
+
status: 'error';
|
|
134783
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
134784
|
+
result: null;
|
|
134785
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
134786
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
134787
|
+
/** Error associated with the action. */
|
|
134788
|
+
error: {
|
|
134789
|
+
/** Type of the error. */
|
|
134790
|
+
type: string;
|
|
134791
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
134792
|
+
message: string;
|
|
134793
|
+
};
|
|
134334
134794
|
} | {
|
|
134335
134795
|
/** ID of the action attempt. */
|
|
134336
134796
|
action_attempt_id: string;
|
|
@@ -136674,6 +137134,41 @@ type Routes = {
|
|
|
136674
137134
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
136675
137135
|
message: string;
|
|
136676
137136
|
};
|
|
137137
|
+
} | {
|
|
137138
|
+
/** ID of the action attempt. */
|
|
137139
|
+
action_attempt_id: string;
|
|
137140
|
+
status: 'pending';
|
|
137141
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
137142
|
+
result: null;
|
|
137143
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
137144
|
+
error: null;
|
|
137145
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
137146
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
137147
|
+
} | {
|
|
137148
|
+
/** ID of the action attempt. */
|
|
137149
|
+
action_attempt_id: string;
|
|
137150
|
+
status: 'success';
|
|
137151
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
137152
|
+
error: null;
|
|
137153
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
137154
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
137155
|
+
/** Result of the action. */
|
|
137156
|
+
result: {};
|
|
137157
|
+
} | {
|
|
137158
|
+
/** ID of the action attempt. */
|
|
137159
|
+
action_attempt_id: string;
|
|
137160
|
+
status: 'error';
|
|
137161
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
137162
|
+
result: null;
|
|
137163
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
137164
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
137165
|
+
/** Error associated with the action. */
|
|
137166
|
+
error: {
|
|
137167
|
+
/** Type of the error. */
|
|
137168
|
+
type: string;
|
|
137169
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
137170
|
+
message: string;
|
|
137171
|
+
};
|
|
136677
137172
|
} | {
|
|
136678
137173
|
/** ID of the action attempt. */
|
|
136679
137174
|
action_attempt_id: string;
|
|
@@ -140712,6 +141207,41 @@ type Routes = {
|
|
|
140712
141207
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
140713
141208
|
message: string;
|
|
140714
141209
|
};
|
|
141210
|
+
} | {
|
|
141211
|
+
/** ID of the action attempt. */
|
|
141212
|
+
action_attempt_id: string;
|
|
141213
|
+
status: 'pending';
|
|
141214
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
141215
|
+
result: null;
|
|
141216
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
141217
|
+
error: null;
|
|
141218
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
141219
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
141220
|
+
} | {
|
|
141221
|
+
/** ID of the action attempt. */
|
|
141222
|
+
action_attempt_id: string;
|
|
141223
|
+
status: 'success';
|
|
141224
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
141225
|
+
error: null;
|
|
141226
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
141227
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
141228
|
+
/** Result of the action. */
|
|
141229
|
+
result: {};
|
|
141230
|
+
} | {
|
|
141231
|
+
/** ID of the action attempt. */
|
|
141232
|
+
action_attempt_id: string;
|
|
141233
|
+
status: 'error';
|
|
141234
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
141235
|
+
result: null;
|
|
141236
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
141237
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
141238
|
+
/** Error associated with the action. */
|
|
141239
|
+
error: {
|
|
141240
|
+
/** Type of the error. */
|
|
141241
|
+
type: string;
|
|
141242
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
141243
|
+
message: string;
|
|
141244
|
+
};
|
|
140715
141245
|
} | {
|
|
140716
141246
|
/** ID of the action attempt. */
|
|
140717
141247
|
action_attempt_id: string;
|
|
@@ -143091,6 +143621,41 @@ type Routes = {
|
|
|
143091
143621
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
143092
143622
|
message: string;
|
|
143093
143623
|
};
|
|
143624
|
+
} | {
|
|
143625
|
+
/** ID of the action attempt. */
|
|
143626
|
+
action_attempt_id: string;
|
|
143627
|
+
status: 'pending';
|
|
143628
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
143629
|
+
result: null;
|
|
143630
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
143631
|
+
error: null;
|
|
143632
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
143633
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
143634
|
+
} | {
|
|
143635
|
+
/** ID of the action attempt. */
|
|
143636
|
+
action_attempt_id: string;
|
|
143637
|
+
status: 'success';
|
|
143638
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
143639
|
+
error: null;
|
|
143640
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
143641
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
143642
|
+
/** Result of the action. */
|
|
143643
|
+
result: {};
|
|
143644
|
+
} | {
|
|
143645
|
+
/** ID of the action attempt. */
|
|
143646
|
+
action_attempt_id: string;
|
|
143647
|
+
status: 'error';
|
|
143648
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
143649
|
+
result: null;
|
|
143650
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
143651
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
143652
|
+
/** Error associated with the action. */
|
|
143653
|
+
error: {
|
|
143654
|
+
/** Type of the error. */
|
|
143655
|
+
type: string;
|
|
143656
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
143657
|
+
message: string;
|
|
143658
|
+
};
|
|
143094
143659
|
} | {
|
|
143095
143660
|
/** ID of the action attempt. */
|
|
143096
143661
|
action_attempt_id: string;
|
|
@@ -144206,6 +144771,8 @@ type Routes = {
|
|
|
144206
144771
|
incomplete_keyboard_passcode: boolean;
|
|
144207
144772
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
144208
144773
|
wifi: boolean;
|
|
144774
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
144775
|
+
auto_lock_time_config: boolean;
|
|
144209
144776
|
};
|
|
144210
144777
|
/** Indicates whether a TTLock device has a gateway. */
|
|
144211
144778
|
has_gateway?: boolean | undefined;
|
|
@@ -144495,6 +145062,10 @@ type Routes = {
|
|
|
144495
145062
|
} | undefined) | undefined;
|
|
144496
145063
|
/** Indicates whether the door is open. */
|
|
144497
145064
|
door_open?: (boolean | undefined) | undefined;
|
|
145065
|
+
/** Indicates whether automatic locking is enabled. */
|
|
145066
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
145067
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
145068
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
144498
145069
|
} & {
|
|
144499
145070
|
/** Reported temperature in °F. */
|
|
144500
145071
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -145141,6 +145712,7 @@ type Routes = {
|
|
|
145141
145712
|
can_simulate_hub_connection?: boolean | undefined;
|
|
145142
145713
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
145143
145714
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
145715
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
145144
145716
|
}[] | undefined;
|
|
145145
145717
|
acs_entrances?: {
|
|
145146
145718
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -147644,6 +148216,41 @@ type Routes = {
|
|
|
147644
148216
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
147645
148217
|
message: string;
|
|
147646
148218
|
};
|
|
148219
|
+
} | {
|
|
148220
|
+
/** ID of the action attempt. */
|
|
148221
|
+
action_attempt_id: string;
|
|
148222
|
+
status: 'pending';
|
|
148223
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
148224
|
+
result: null;
|
|
148225
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
148226
|
+
error: null;
|
|
148227
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
148228
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
148229
|
+
} | {
|
|
148230
|
+
/** ID of the action attempt. */
|
|
148231
|
+
action_attempt_id: string;
|
|
148232
|
+
status: 'success';
|
|
148233
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
148234
|
+
error: null;
|
|
148235
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
148236
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
148237
|
+
/** Result of the action. */
|
|
148238
|
+
result: {};
|
|
148239
|
+
} | {
|
|
148240
|
+
/** ID of the action attempt. */
|
|
148241
|
+
action_attempt_id: string;
|
|
148242
|
+
status: 'error';
|
|
148243
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
148244
|
+
result: null;
|
|
148245
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
148246
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
148247
|
+
/** Error associated with the action. */
|
|
148248
|
+
error: {
|
|
148249
|
+
/** Type of the error. */
|
|
148250
|
+
type: string;
|
|
148251
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
148252
|
+
message: string;
|
|
148253
|
+
};
|
|
147647
148254
|
} | {
|
|
147648
148255
|
/** ID of the action attempt. */
|
|
147649
148256
|
action_attempt_id: string;
|
|
@@ -148443,6 +149050,8 @@ type Routes = {
|
|
|
148443
149050
|
incomplete_keyboard_passcode: boolean;
|
|
148444
149051
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
148445
149052
|
wifi: boolean;
|
|
149053
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
149054
|
+
auto_lock_time_config: boolean;
|
|
148446
149055
|
};
|
|
148447
149056
|
/** Indicates whether a TTLock device has a gateway. */
|
|
148448
149057
|
has_gateway?: boolean | undefined;
|
|
@@ -148732,6 +149341,10 @@ type Routes = {
|
|
|
148732
149341
|
} | undefined) | undefined;
|
|
148733
149342
|
/** Indicates whether the door is open. */
|
|
148734
149343
|
door_open?: (boolean | undefined) | undefined;
|
|
149344
|
+
/** Indicates whether automatic locking is enabled. */
|
|
149345
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
149346
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
149347
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
148735
149348
|
} & {
|
|
148736
149349
|
/** Reported temperature in °F. */
|
|
148737
149350
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -149378,6 +149991,7 @@ type Routes = {
|
|
|
149378
149991
|
can_simulate_hub_connection?: boolean | undefined;
|
|
149379
149992
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
149380
149993
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
149994
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
149381
149995
|
}[] | undefined;
|
|
149382
149996
|
acs_entrances?: {
|
|
149383
149997
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -154156,6 +154770,41 @@ type Routes = {
|
|
|
154156
154770
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
154157
154771
|
message: string;
|
|
154158
154772
|
};
|
|
154773
|
+
} | {
|
|
154774
|
+
/** ID of the action attempt. */
|
|
154775
|
+
action_attempt_id: string;
|
|
154776
|
+
status: 'pending';
|
|
154777
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
154778
|
+
result: null;
|
|
154779
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
154780
|
+
error: null;
|
|
154781
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
154782
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
154783
|
+
} | {
|
|
154784
|
+
/** ID of the action attempt. */
|
|
154785
|
+
action_attempt_id: string;
|
|
154786
|
+
status: 'success';
|
|
154787
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
154788
|
+
error: null;
|
|
154789
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
154790
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
154791
|
+
/** Result of the action. */
|
|
154792
|
+
result: {};
|
|
154793
|
+
} | {
|
|
154794
|
+
/** ID of the action attempt. */
|
|
154795
|
+
action_attempt_id: string;
|
|
154796
|
+
status: 'error';
|
|
154797
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
154798
|
+
result: null;
|
|
154799
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
154800
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
154801
|
+
/** Error associated with the action. */
|
|
154802
|
+
error: {
|
|
154803
|
+
/** Type of the error. */
|
|
154804
|
+
type: string;
|
|
154805
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
154806
|
+
message: string;
|
|
154807
|
+
};
|
|
154159
154808
|
} | {
|
|
154160
154809
|
/** ID of the action attempt. */
|
|
154161
154810
|
action_attempt_id: string;
|
|
@@ -155539,6 +156188,41 @@ type Routes = {
|
|
|
155539
156188
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
155540
156189
|
message: string;
|
|
155541
156190
|
};
|
|
156191
|
+
} | {
|
|
156192
|
+
/** ID of the action attempt. */
|
|
156193
|
+
action_attempt_id: string;
|
|
156194
|
+
status: 'pending';
|
|
156195
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
156196
|
+
result: null;
|
|
156197
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
156198
|
+
error: null;
|
|
156199
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
156200
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
156201
|
+
} | {
|
|
156202
|
+
/** ID of the action attempt. */
|
|
156203
|
+
action_attempt_id: string;
|
|
156204
|
+
status: 'success';
|
|
156205
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
156206
|
+
error: null;
|
|
156207
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
156208
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
156209
|
+
/** Result of the action. */
|
|
156210
|
+
result: {};
|
|
156211
|
+
} | {
|
|
156212
|
+
/** ID of the action attempt. */
|
|
156213
|
+
action_attempt_id: string;
|
|
156214
|
+
status: 'error';
|
|
156215
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
156216
|
+
result: null;
|
|
156217
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
156218
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
156219
|
+
/** Error associated with the action. */
|
|
156220
|
+
error: {
|
|
156221
|
+
/** Type of the error. */
|
|
156222
|
+
type: string;
|
|
156223
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
156224
|
+
message: string;
|
|
156225
|
+
};
|
|
155542
156226
|
} | {
|
|
155543
156227
|
/** ID of the action attempt. */
|
|
155544
156228
|
action_attempt_id: string;
|
|
@@ -157384,6 +158068,41 @@ type Routes = {
|
|
|
157384
158068
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
157385
158069
|
message: string;
|
|
157386
158070
|
};
|
|
158071
|
+
} | {
|
|
158072
|
+
/** ID of the action attempt. */
|
|
158073
|
+
action_attempt_id: string;
|
|
158074
|
+
status: 'pending';
|
|
158075
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
158076
|
+
result: null;
|
|
158077
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
158078
|
+
error: null;
|
|
158079
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
158080
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
158081
|
+
} | {
|
|
158082
|
+
/** ID of the action attempt. */
|
|
158083
|
+
action_attempt_id: string;
|
|
158084
|
+
status: 'success';
|
|
158085
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
158086
|
+
error: null;
|
|
158087
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
158088
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
158089
|
+
/** Result of the action. */
|
|
158090
|
+
result: {};
|
|
158091
|
+
} | {
|
|
158092
|
+
/** ID of the action attempt. */
|
|
158093
|
+
action_attempt_id: string;
|
|
158094
|
+
status: 'error';
|
|
158095
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
158096
|
+
result: null;
|
|
158097
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
158098
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
158099
|
+
/** Error associated with the action. */
|
|
158100
|
+
error: {
|
|
158101
|
+
/** Type of the error. */
|
|
158102
|
+
type: string;
|
|
158103
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
158104
|
+
message: string;
|
|
158105
|
+
};
|
|
157387
158106
|
} | {
|
|
157388
158107
|
/** ID of the action attempt. */
|
|
157389
158108
|
action_attempt_id: string;
|
|
@@ -160696,6 +161415,41 @@ type Routes = {
|
|
|
160696
161415
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
160697
161416
|
message: string;
|
|
160698
161417
|
};
|
|
161418
|
+
} | {
|
|
161419
|
+
/** ID of the action attempt. */
|
|
161420
|
+
action_attempt_id: string;
|
|
161421
|
+
status: 'pending';
|
|
161422
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
161423
|
+
result: null;
|
|
161424
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
161425
|
+
error: null;
|
|
161426
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
161427
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
161428
|
+
} | {
|
|
161429
|
+
/** ID of the action attempt. */
|
|
161430
|
+
action_attempt_id: string;
|
|
161431
|
+
status: 'success';
|
|
161432
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
161433
|
+
error: null;
|
|
161434
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
161435
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
161436
|
+
/** Result of the action. */
|
|
161437
|
+
result: {};
|
|
161438
|
+
} | {
|
|
161439
|
+
/** ID of the action attempt. */
|
|
161440
|
+
action_attempt_id: string;
|
|
161441
|
+
status: 'error';
|
|
161442
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
161443
|
+
result: null;
|
|
161444
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
161445
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
161446
|
+
/** Error associated with the action. */
|
|
161447
|
+
error: {
|
|
161448
|
+
/** Type of the error. */
|
|
161449
|
+
type: string;
|
|
161450
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
161451
|
+
message: string;
|
|
161452
|
+
};
|
|
160699
161453
|
} | {
|
|
160700
161454
|
/** ID of the action attempt. */
|
|
160701
161455
|
action_attempt_id: string;
|
|
@@ -161972,6 +162726,41 @@ type Routes = {
|
|
|
161972
162726
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
161973
162727
|
message: string;
|
|
161974
162728
|
};
|
|
162729
|
+
} | {
|
|
162730
|
+
/** ID of the action attempt. */
|
|
162731
|
+
action_attempt_id: string;
|
|
162732
|
+
status: 'pending';
|
|
162733
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
162734
|
+
result: null;
|
|
162735
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
162736
|
+
error: null;
|
|
162737
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
162738
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
162739
|
+
} | {
|
|
162740
|
+
/** ID of the action attempt. */
|
|
162741
|
+
action_attempt_id: string;
|
|
162742
|
+
status: 'success';
|
|
162743
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
162744
|
+
error: null;
|
|
162745
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
162746
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
162747
|
+
/** Result of the action. */
|
|
162748
|
+
result: {};
|
|
162749
|
+
} | {
|
|
162750
|
+
/** ID of the action attempt. */
|
|
162751
|
+
action_attempt_id: string;
|
|
162752
|
+
status: 'error';
|
|
162753
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
162754
|
+
result: null;
|
|
162755
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
162756
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
162757
|
+
/** Error associated with the action. */
|
|
162758
|
+
error: {
|
|
162759
|
+
/** Type of the error. */
|
|
162760
|
+
type: string;
|
|
162761
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
162762
|
+
message: string;
|
|
162763
|
+
};
|
|
161975
162764
|
} | {
|
|
161976
162765
|
/** ID of the action attempt. */
|
|
161977
162766
|
action_attempt_id: string;
|
|
@@ -164598,6 +165387,8 @@ type Routes = {
|
|
|
164598
165387
|
incomplete_keyboard_passcode: boolean;
|
|
164599
165388
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
164600
165389
|
wifi: boolean;
|
|
165390
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
165391
|
+
auto_lock_time_config: boolean;
|
|
164601
165392
|
};
|
|
164602
165393
|
/** Indicates whether a TTLock device has a gateway. */
|
|
164603
165394
|
has_gateway?: boolean | undefined;
|
|
@@ -164887,6 +165678,10 @@ type Routes = {
|
|
|
164887
165678
|
} | undefined) | undefined;
|
|
164888
165679
|
/** Indicates whether the door is open. */
|
|
164889
165680
|
door_open?: (boolean | undefined) | undefined;
|
|
165681
|
+
/** Indicates whether automatic locking is enabled. */
|
|
165682
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
165683
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
165684
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
164890
165685
|
} & {
|
|
164891
165686
|
/** Reported temperature in °F. */
|
|
164892
165687
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -165533,6 +166328,7 @@ type Routes = {
|
|
|
165533
166328
|
can_simulate_hub_connection?: boolean | undefined;
|
|
165534
166329
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
165535
166330
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
166331
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
165536
166332
|
};
|
|
165537
166333
|
};
|
|
165538
166334
|
maxDuration: undefined;
|
|
@@ -165572,9 +166368,9 @@ type Routes = {
|
|
|
165572
166368
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
165573
166369
|
page_cursor?: (string | undefined) | null;
|
|
165574
166370
|
/** */
|
|
165575
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
166371
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
165576
166372
|
/** */
|
|
165577
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
166373
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
165578
166374
|
/**
|
|
165579
166375
|
* @deprecated Use `space_id`.*/
|
|
165580
166376
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -165961,6 +166757,8 @@ type Routes = {
|
|
|
165961
166757
|
incomplete_keyboard_passcode: boolean;
|
|
165962
166758
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
165963
166759
|
wifi: boolean;
|
|
166760
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
166761
|
+
auto_lock_time_config: boolean;
|
|
165964
166762
|
};
|
|
165965
166763
|
/** Indicates whether a TTLock device has a gateway. */
|
|
165966
166764
|
has_gateway?: boolean | undefined;
|
|
@@ -166250,6 +167048,10 @@ type Routes = {
|
|
|
166250
167048
|
} | undefined) | undefined;
|
|
166251
167049
|
/** Indicates whether the door is open. */
|
|
166252
167050
|
door_open?: (boolean | undefined) | undefined;
|
|
167051
|
+
/** Indicates whether automatic locking is enabled. */
|
|
167052
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
167053
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
167054
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
166253
167055
|
} & {
|
|
166254
167056
|
/** Reported temperature in °F. */
|
|
166255
167057
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -166896,6 +167698,7 @@ type Routes = {
|
|
|
166896
167698
|
can_simulate_hub_connection?: boolean | undefined;
|
|
166897
167699
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
166898
167700
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
167701
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
166899
167702
|
}[];
|
|
166900
167703
|
/** Information about the current page of results. */
|
|
166901
167704
|
pagination: {
|
|
@@ -166944,6 +167747,7 @@ type Routes = {
|
|
|
166944
167747
|
can_simulate_hub_connection?: boolean | undefined;
|
|
166945
167748
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
166946
167749
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
167750
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
166947
167751
|
}[];
|
|
166948
167752
|
};
|
|
166949
167753
|
maxDuration: undefined;
|
|
@@ -167489,6 +168293,7 @@ type Routes = {
|
|
|
167489
168293
|
can_simulate_hub_connection?: boolean | undefined;
|
|
167490
168294
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
167491
168295
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
168296
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
167492
168297
|
};
|
|
167493
168298
|
};
|
|
167494
168299
|
maxDuration: undefined;
|
|
@@ -167526,9 +168331,9 @@ type Routes = {
|
|
|
167526
168331
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
167527
168332
|
page_cursor?: (string | undefined) | null;
|
|
167528
168333
|
/** */
|
|
167529
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
168334
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
167530
168335
|
/** */
|
|
167531
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
168336
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
167532
168337
|
/**
|
|
167533
168338
|
* @deprecated Use `space_id`.*/
|
|
167534
168339
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -167969,6 +168774,7 @@ type Routes = {
|
|
|
167969
168774
|
can_simulate_hub_connection?: boolean | undefined;
|
|
167970
168775
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
167971
168776
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
168777
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
167972
168778
|
}[];
|
|
167973
168779
|
/** Information about the current page of results. */
|
|
167974
168780
|
pagination: {
|
|
@@ -173734,6 +174540,1320 @@ type Routes = {
|
|
|
173734
174540
|
};
|
|
173735
174541
|
maxDuration: undefined;
|
|
173736
174542
|
};
|
|
174543
|
+
'/locks/configure_auto_lock': {
|
|
174544
|
+
route: '/locks/configure_auto_lock';
|
|
174545
|
+
method: 'POST';
|
|
174546
|
+
queryParams: {};
|
|
174547
|
+
jsonBody: {
|
|
174548
|
+
/** ID of the lock for which you want to configure the auto-lock. */
|
|
174549
|
+
device_id: string;
|
|
174550
|
+
/** Whether to enable or disable auto-lock. */
|
|
174551
|
+
auto_lock_enabled: boolean;
|
|
174552
|
+
/** Delay in seconds before the lock automatically locks. Required when enabling auto-lock. Must be between 1 and 60. */
|
|
174553
|
+
auto_lock_delay_seconds?: number | undefined;
|
|
174554
|
+
};
|
|
174555
|
+
commonParams: {};
|
|
174556
|
+
formData: {};
|
|
174557
|
+
jsonResponse: {
|
|
174558
|
+
/** Represents an action attempt that enables you to keep track of the progress of your action that affects a physical device or system.actions against a device. Action attempts are useful because the physical world is intrinsically asynchronous.
|
|
174559
|
+
|
|
174560
|
+
When you request for a device to perform an action, the Seam API immediately returns an action attempt object. In the background, the Seam API performs the action.
|
|
174561
|
+
|
|
174562
|
+
See also [Action Attempts](https://docs.seam.co/latest/core-concepts/action-attempts). */
|
|
174563
|
+
action_attempt: {
|
|
174564
|
+
/** ID of the action attempt. */
|
|
174565
|
+
action_attempt_id: string;
|
|
174566
|
+
status: 'pending';
|
|
174567
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
174568
|
+
result: null;
|
|
174569
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
174570
|
+
error: null;
|
|
174571
|
+
/** Action attempt to track the status of locking a door. */
|
|
174572
|
+
action_type: 'LOCK_DOOR';
|
|
174573
|
+
} | {
|
|
174574
|
+
/** ID of the action attempt. */
|
|
174575
|
+
action_attempt_id: string;
|
|
174576
|
+
status: 'success';
|
|
174577
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
174578
|
+
error: null;
|
|
174579
|
+
/** Action attempt to track the status of locking a door. */
|
|
174580
|
+
action_type: 'LOCK_DOOR';
|
|
174581
|
+
/** Result of the action. */
|
|
174582
|
+
result: {
|
|
174583
|
+
/** Indicates whether the device confirmed that the lock action occurred. */
|
|
174584
|
+
was_confirmed_by_device?: boolean | undefined;
|
|
174585
|
+
};
|
|
174586
|
+
} | {
|
|
174587
|
+
/** ID of the action attempt. */
|
|
174588
|
+
action_attempt_id: string;
|
|
174589
|
+
status: 'error';
|
|
174590
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
174591
|
+
result: null;
|
|
174592
|
+
/** Action attempt to track the status of locking a door. */
|
|
174593
|
+
action_type: 'LOCK_DOOR';
|
|
174594
|
+
/** Error associated with the action. */
|
|
174595
|
+
error: {
|
|
174596
|
+
/** Type of the error. */
|
|
174597
|
+
type: string;
|
|
174598
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
174599
|
+
message: string;
|
|
174600
|
+
};
|
|
174601
|
+
} | {
|
|
174602
|
+
/** ID of the action attempt. */
|
|
174603
|
+
action_attempt_id: string;
|
|
174604
|
+
status: 'pending';
|
|
174605
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
174606
|
+
result: null;
|
|
174607
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
174608
|
+
error: null;
|
|
174609
|
+
/** Action attempt to track the status of unlocking a door. */
|
|
174610
|
+
action_type: 'UNLOCK_DOOR';
|
|
174611
|
+
} | {
|
|
174612
|
+
/** ID of the action attempt. */
|
|
174613
|
+
action_attempt_id: string;
|
|
174614
|
+
status: 'success';
|
|
174615
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
174616
|
+
error: null;
|
|
174617
|
+
/** Action attempt to track the status of unlocking a door. */
|
|
174618
|
+
action_type: 'UNLOCK_DOOR';
|
|
174619
|
+
/** Result of the action. */
|
|
174620
|
+
result: {
|
|
174621
|
+
/** Indicates whether the device confirmed that the unlock action occurred. */
|
|
174622
|
+
was_confirmed_by_device?: boolean | undefined;
|
|
174623
|
+
};
|
|
174624
|
+
} | {
|
|
174625
|
+
/** ID of the action attempt. */
|
|
174626
|
+
action_attempt_id: string;
|
|
174627
|
+
status: 'error';
|
|
174628
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
174629
|
+
result: null;
|
|
174630
|
+
/** Action attempt to track the status of unlocking a door. */
|
|
174631
|
+
action_type: 'UNLOCK_DOOR';
|
|
174632
|
+
/** Error associated with the action. */
|
|
174633
|
+
error: {
|
|
174634
|
+
/** Type of the error. */
|
|
174635
|
+
type: string;
|
|
174636
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
174637
|
+
message: string;
|
|
174638
|
+
};
|
|
174639
|
+
} | {
|
|
174640
|
+
/** ID of the action attempt. */
|
|
174641
|
+
action_attempt_id: string;
|
|
174642
|
+
status: 'pending';
|
|
174643
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
174644
|
+
result: null;
|
|
174645
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
174646
|
+
error: null;
|
|
174647
|
+
/** Action attempt to track the status of scanning a credential. */
|
|
174648
|
+
action_type: 'SCAN_CREDENTIAL';
|
|
174649
|
+
} | {
|
|
174650
|
+
/** ID of the action attempt. */
|
|
174651
|
+
action_attempt_id: string;
|
|
174652
|
+
status: 'success';
|
|
174653
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
174654
|
+
error: null;
|
|
174655
|
+
/** Action attempt to track the status of scanning a credential. */
|
|
174656
|
+
action_type: 'SCAN_CREDENTIAL';
|
|
174657
|
+
/** Result of scanning a card. If the attempt was successful, includes a snapshot of credential data read from the physical encoder, the corresponding data stored on Seam and the access system, and any associated warnings. */
|
|
174658
|
+
result: {
|
|
174659
|
+
/** Snapshot of credential data read from the physical encoder. */
|
|
174660
|
+
acs_credential_on_encoder: {
|
|
174661
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
|
|
174662
|
+
created_at: string | null;
|
|
174663
|
+
is_issued: boolean | null;
|
|
174664
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) becomes usable. */
|
|
174665
|
+
starts_at: string | null;
|
|
174666
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) will stop being usable. */
|
|
174667
|
+
ends_at: string | null;
|
|
174668
|
+
/** A number or string that physically identifies the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174669
|
+
card_number: string | null;
|
|
174670
|
+
/** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174671
|
+
visionline_metadata?: {
|
|
174672
|
+
/** Card ID for the Visionline card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174673
|
+
card_id: string;
|
|
174674
|
+
/** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is cancelled. */
|
|
174675
|
+
cancelled: boolean;
|
|
174676
|
+
/** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is discarded. */
|
|
174677
|
+
discarded: boolean;
|
|
174678
|
+
/** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is expired. */
|
|
174679
|
+
expired: boolean;
|
|
174680
|
+
/** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is overwritten. */
|
|
174681
|
+
overwritten: boolean;
|
|
174682
|
+
/** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is overridden. */
|
|
174683
|
+
overridden?: boolean | undefined;
|
|
174684
|
+
/** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is pending auto-update. */
|
|
174685
|
+
pending_auto_update: boolean;
|
|
174686
|
+
/** Format of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174687
|
+
card_format: 'TLCode' | 'rfid48';
|
|
174688
|
+
/** Holder of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174689
|
+
card_holder?: string | undefined;
|
|
174690
|
+
/** Number of issued cards associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174691
|
+
number_of_issued_cards: number;
|
|
174692
|
+
/** IDs of the guest [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174693
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
174694
|
+
/** IDs of the common [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174695
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
174696
|
+
} | undefined;
|
|
174697
|
+
} | null;
|
|
174698
|
+
/** Corresponding credential data as stored on Seam and the access system. */
|
|
174699
|
+
acs_credential_on_seam: ({
|
|
174700
|
+
/** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174701
|
+
acs_credential_id: string;
|
|
174702
|
+
/** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
174703
|
+
acs_user_id?: string | undefined;
|
|
174704
|
+
/** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
174705
|
+
user_identity_id?: string | undefined;
|
|
174706
|
+
/** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
174707
|
+
connected_account_id: string;
|
|
174708
|
+
acs_credential_pool_id?: string | undefined;
|
|
174709
|
+
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174710
|
+
acs_system_id: string;
|
|
174711
|
+
/** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174712
|
+
parent_acs_credential_id?: string | undefined;
|
|
174713
|
+
/** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
174714
|
+
display_name: string;
|
|
174715
|
+
/** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174716
|
+
code?: (string | undefined) | null;
|
|
174717
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
|
|
174718
|
+
is_one_time_use?: boolean | undefined;
|
|
174719
|
+
/** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174720
|
+
card_number?: (string | undefined) | null;
|
|
174721
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
|
|
174722
|
+
is_issued?: boolean | undefined;
|
|
174723
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
|
|
174724
|
+
issued_at?: (string | undefined) | null;
|
|
174725
|
+
/** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
|
|
174726
|
+
access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
|
|
174727
|
+
/** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
|
|
174728
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'brivo_digital_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card') | undefined;
|
|
174729
|
+
/** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
174730
|
+
external_type_display_name?: string | undefined;
|
|
174731
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
|
|
174732
|
+
created_at: string;
|
|
174733
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174734
|
+
workspace_id: string;
|
|
174735
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
174736
|
+
starts_at?: string | undefined;
|
|
174737
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
|
|
174738
|
+
ends_at?: string | undefined;
|
|
174739
|
+
/** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174740
|
+
errors: {
|
|
174741
|
+
error_code: string;
|
|
174742
|
+
message: string;
|
|
174743
|
+
}[];
|
|
174744
|
+
/** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174745
|
+
warnings: ({
|
|
174746
|
+
/** Date and time at which Seam created the warning. */
|
|
174747
|
+
created_at: string;
|
|
174748
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174749
|
+
message: string;
|
|
174750
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174751
|
+
warning_code: 'waiting_to_be_issued';
|
|
174752
|
+
} | {
|
|
174753
|
+
/** Date and time at which Seam created the warning. */
|
|
174754
|
+
created_at: string;
|
|
174755
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174756
|
+
message: string;
|
|
174757
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174758
|
+
warning_code: 'schedule_externally_modified';
|
|
174759
|
+
} | {
|
|
174760
|
+
/** Date and time at which Seam created the warning. */
|
|
174761
|
+
created_at: string;
|
|
174762
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174763
|
+
message: string;
|
|
174764
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174765
|
+
warning_code: 'schedule_modified';
|
|
174766
|
+
} | {
|
|
174767
|
+
/** Date and time at which Seam created the warning. */
|
|
174768
|
+
created_at: string;
|
|
174769
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174770
|
+
message: string;
|
|
174771
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174772
|
+
warning_code: 'being_deleted';
|
|
174773
|
+
} | {
|
|
174774
|
+
/** Date and time at which Seam created the warning. */
|
|
174775
|
+
created_at: string;
|
|
174776
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174777
|
+
message: string;
|
|
174778
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174779
|
+
warning_code: 'unknown_issue_with_acs_credential';
|
|
174780
|
+
} | {
|
|
174781
|
+
/** Date and time at which Seam created the warning. */
|
|
174782
|
+
created_at: string;
|
|
174783
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174784
|
+
message: string;
|
|
174785
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174786
|
+
warning_code: 'needs_to_be_reissued';
|
|
174787
|
+
})[];
|
|
174788
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
|
|
174789
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
174790
|
+
/** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
|
|
174791
|
+
is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
|
|
174792
|
+
/** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
|
|
174793
|
+
latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
|
|
174794
|
+
/** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174795
|
+
visionline_metadata?: {
|
|
174796
|
+
/** Card function type in the Visionline access system. */
|
|
174797
|
+
card_function_type: 'guest' | 'staff';
|
|
174798
|
+
/** IDs of the credentials to which you want to join. */
|
|
174799
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
174800
|
+
/** Guest entrance IDs in the Visionline access system. */
|
|
174801
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
174802
|
+
/** Common entrance IDs in the Visionline access system. */
|
|
174803
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
174804
|
+
/** Indicates whether the credential is valid. */
|
|
174805
|
+
is_valid?: boolean | undefined;
|
|
174806
|
+
/** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
|
|
174807
|
+
auto_join?: boolean | undefined;
|
|
174808
|
+
/** ID of the card in the Visionline access system. */
|
|
174809
|
+
card_id?: string | undefined;
|
|
174810
|
+
/** ID of the credential in the Visionline access system. */
|
|
174811
|
+
credential_id?: string | undefined;
|
|
174812
|
+
} | undefined;
|
|
174813
|
+
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174814
|
+
assa_abloy_vostio_metadata?: {
|
|
174815
|
+
/** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
|
|
174816
|
+
auto_join?: boolean | undefined;
|
|
174817
|
+
/** IDs of the guest entrances to override in the Vostio access system. */
|
|
174818
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
174819
|
+
/** Key ID in the Vostio access system. */
|
|
174820
|
+
key_id?: string | undefined;
|
|
174821
|
+
/** Key issuing request ID in the Vostio access system. */
|
|
174822
|
+
key_issuing_request_id?: string | undefined;
|
|
174823
|
+
/** Names of the doors to which to grant access in the Vostio access system. */
|
|
174824
|
+
door_names?: string[] | undefined;
|
|
174825
|
+
/** Endpoint ID in the Vostio access system. */
|
|
174826
|
+
endpoint_id?: string | undefined;
|
|
174827
|
+
} | undefined;
|
|
174828
|
+
is_managed: true;
|
|
174829
|
+
} | {
|
|
174830
|
+
/** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174831
|
+
acs_credential_id: string;
|
|
174832
|
+
/** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
174833
|
+
acs_user_id?: string | undefined;
|
|
174834
|
+
/** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
174835
|
+
user_identity_id?: string | undefined;
|
|
174836
|
+
/** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
174837
|
+
connected_account_id: string;
|
|
174838
|
+
acs_credential_pool_id?: string | undefined;
|
|
174839
|
+
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174840
|
+
acs_system_id: string;
|
|
174841
|
+
/** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174842
|
+
parent_acs_credential_id?: string | undefined;
|
|
174843
|
+
/** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
174844
|
+
display_name: string;
|
|
174845
|
+
/** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174846
|
+
code?: (string | undefined) | null;
|
|
174847
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
|
|
174848
|
+
is_one_time_use?: boolean | undefined;
|
|
174849
|
+
/** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174850
|
+
card_number?: (string | undefined) | null;
|
|
174851
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
|
|
174852
|
+
is_issued?: boolean | undefined;
|
|
174853
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
|
|
174854
|
+
issued_at?: (string | undefined) | null;
|
|
174855
|
+
/** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
|
|
174856
|
+
access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
|
|
174857
|
+
/** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
|
|
174858
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'brivo_digital_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card') | undefined;
|
|
174859
|
+
/** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
174860
|
+
external_type_display_name?: string | undefined;
|
|
174861
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
|
|
174862
|
+
created_at: string;
|
|
174863
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174864
|
+
workspace_id: string;
|
|
174865
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
174866
|
+
starts_at?: string | undefined;
|
|
174867
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
|
|
174868
|
+
ends_at?: string | undefined;
|
|
174869
|
+
/** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174870
|
+
errors: {
|
|
174871
|
+
error_code: string;
|
|
174872
|
+
message: string;
|
|
174873
|
+
}[];
|
|
174874
|
+
/** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174875
|
+
warnings: ({
|
|
174876
|
+
/** Date and time at which Seam created the warning. */
|
|
174877
|
+
created_at: string;
|
|
174878
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174879
|
+
message: string;
|
|
174880
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174881
|
+
warning_code: 'waiting_to_be_issued';
|
|
174882
|
+
} | {
|
|
174883
|
+
/** Date and time at which Seam created the warning. */
|
|
174884
|
+
created_at: string;
|
|
174885
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174886
|
+
message: string;
|
|
174887
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174888
|
+
warning_code: 'schedule_externally_modified';
|
|
174889
|
+
} | {
|
|
174890
|
+
/** Date and time at which Seam created the warning. */
|
|
174891
|
+
created_at: string;
|
|
174892
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174893
|
+
message: string;
|
|
174894
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174895
|
+
warning_code: 'schedule_modified';
|
|
174896
|
+
} | {
|
|
174897
|
+
/** Date and time at which Seam created the warning. */
|
|
174898
|
+
created_at: string;
|
|
174899
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174900
|
+
message: string;
|
|
174901
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174902
|
+
warning_code: 'being_deleted';
|
|
174903
|
+
} | {
|
|
174904
|
+
/** Date and time at which Seam created the warning. */
|
|
174905
|
+
created_at: string;
|
|
174906
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174907
|
+
message: string;
|
|
174908
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174909
|
+
warning_code: 'unknown_issue_with_acs_credential';
|
|
174910
|
+
} | {
|
|
174911
|
+
/** Date and time at which Seam created the warning. */
|
|
174912
|
+
created_at: string;
|
|
174913
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174914
|
+
message: string;
|
|
174915
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174916
|
+
warning_code: 'needs_to_be_reissued';
|
|
174917
|
+
})[];
|
|
174918
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
|
|
174919
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
174920
|
+
/** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
|
|
174921
|
+
is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
|
|
174922
|
+
/** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
|
|
174923
|
+
latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
|
|
174924
|
+
/** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174925
|
+
visionline_metadata?: {
|
|
174926
|
+
/** Card function type in the Visionline access system. */
|
|
174927
|
+
card_function_type: 'guest' | 'staff';
|
|
174928
|
+
/** IDs of the credentials to which you want to join. */
|
|
174929
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
174930
|
+
/** Guest entrance IDs in the Visionline access system. */
|
|
174931
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
174932
|
+
/** Common entrance IDs in the Visionline access system. */
|
|
174933
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
174934
|
+
/** Indicates whether the credential is valid. */
|
|
174935
|
+
is_valid?: boolean | undefined;
|
|
174936
|
+
/** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
|
|
174937
|
+
auto_join?: boolean | undefined;
|
|
174938
|
+
/** ID of the card in the Visionline access system. */
|
|
174939
|
+
card_id?: string | undefined;
|
|
174940
|
+
/** ID of the credential in the Visionline access system. */
|
|
174941
|
+
credential_id?: string | undefined;
|
|
174942
|
+
} | undefined;
|
|
174943
|
+
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
174944
|
+
assa_abloy_vostio_metadata?: {
|
|
174945
|
+
/** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
|
|
174946
|
+
auto_join?: boolean | undefined;
|
|
174947
|
+
/** IDs of the guest entrances to override in the Vostio access system. */
|
|
174948
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
174949
|
+
/** Key ID in the Vostio access system. */
|
|
174950
|
+
key_id?: string | undefined;
|
|
174951
|
+
/** Key issuing request ID in the Vostio access system. */
|
|
174952
|
+
key_issuing_request_id?: string | undefined;
|
|
174953
|
+
/** Names of the doors to which to grant access in the Vostio access system. */
|
|
174954
|
+
door_names?: string[] | undefined;
|
|
174955
|
+
/** Endpoint ID in the Vostio access system. */
|
|
174956
|
+
endpoint_id?: string | undefined;
|
|
174957
|
+
} | undefined;
|
|
174958
|
+
is_managed: false;
|
|
174959
|
+
}) | null;
|
|
174960
|
+
/** Warnings related to scanning the credential, such as mismatches between the credential data currently encoded on the card and the corresponding data stored on Seam and the access system. */
|
|
174961
|
+
warnings: {
|
|
174962
|
+
/** Indicates a warning related to scanning a credential. */
|
|
174963
|
+
warning_code: 'acs_credential_on_encoder_out_of_sync' | 'acs_credential_on_seam_not_found';
|
|
174964
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174965
|
+
warning_message: string;
|
|
174966
|
+
}[];
|
|
174967
|
+
};
|
|
174968
|
+
} | {
|
|
174969
|
+
/** ID of the action attempt. */
|
|
174970
|
+
action_attempt_id: string;
|
|
174971
|
+
status: 'error';
|
|
174972
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
174973
|
+
result: null;
|
|
174974
|
+
/** Action attempt to track the status of scanning a credential. */
|
|
174975
|
+
action_type: 'SCAN_CREDENTIAL';
|
|
174976
|
+
error: {
|
|
174977
|
+
/** Type of the error associated with the action attempt. */
|
|
174978
|
+
type: 'uncategorized_error';
|
|
174979
|
+
/** Message for the error associated with the action attempt. */
|
|
174980
|
+
message: string;
|
|
174981
|
+
} | {
|
|
174982
|
+
/** Type of the error associated with the action attempt. */
|
|
174983
|
+
type: 'action_attempt_expired';
|
|
174984
|
+
/** Message for the error associated with the action attempt. */
|
|
174985
|
+
message: string;
|
|
174986
|
+
} | {
|
|
174987
|
+
/** Error type to indicate that there is no credential on the encoder. */
|
|
174988
|
+
type: 'no_credential_on_encoder';
|
|
174989
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
174990
|
+
message: string;
|
|
174991
|
+
} | {
|
|
174992
|
+
/** Error type to indicate that the encoder is not online. */
|
|
174993
|
+
type: 'encoder_not_online';
|
|
174994
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
174995
|
+
message: string;
|
|
174996
|
+
};
|
|
174997
|
+
} | {
|
|
174998
|
+
/** ID of the action attempt. */
|
|
174999
|
+
action_attempt_id: string;
|
|
175000
|
+
status: 'pending';
|
|
175001
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175002
|
+
result: null;
|
|
175003
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175004
|
+
error: null;
|
|
175005
|
+
/** Action attempt to track the status of encoding credential data from the physical encoder onto a card. */
|
|
175006
|
+
action_type: 'ENCODE_CREDENTIAL';
|
|
175007
|
+
} | {
|
|
175008
|
+
/** ID of the action attempt. */
|
|
175009
|
+
action_attempt_id: string;
|
|
175010
|
+
status: 'success';
|
|
175011
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175012
|
+
error: null;
|
|
175013
|
+
/** Action attempt to track the status of encoding credential data from the physical encoder onto a card. */
|
|
175014
|
+
action_type: 'ENCODE_CREDENTIAL';
|
|
175015
|
+
/** Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card. */
|
|
175016
|
+
result: {
|
|
175017
|
+
/** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175018
|
+
acs_credential_id: string;
|
|
175019
|
+
/** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
175020
|
+
acs_user_id?: string | undefined;
|
|
175021
|
+
/** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
175022
|
+
user_identity_id?: string | undefined;
|
|
175023
|
+
/** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
175024
|
+
connected_account_id: string;
|
|
175025
|
+
acs_credential_pool_id?: string | undefined;
|
|
175026
|
+
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175027
|
+
acs_system_id: string;
|
|
175028
|
+
/** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175029
|
+
parent_acs_credential_id?: string | undefined;
|
|
175030
|
+
/** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
175031
|
+
display_name: string;
|
|
175032
|
+
/** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175033
|
+
code?: (string | undefined) | null;
|
|
175034
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
|
|
175035
|
+
is_one_time_use?: boolean | undefined;
|
|
175036
|
+
/** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175037
|
+
card_number?: (string | undefined) | null;
|
|
175038
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
|
|
175039
|
+
is_issued?: boolean | undefined;
|
|
175040
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
|
|
175041
|
+
issued_at?: (string | undefined) | null;
|
|
175042
|
+
/** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
|
|
175043
|
+
access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
|
|
175044
|
+
/** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
|
|
175045
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'brivo_digital_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card') | undefined;
|
|
175046
|
+
/** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
175047
|
+
external_type_display_name?: string | undefined;
|
|
175048
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
|
|
175049
|
+
created_at: string;
|
|
175050
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175051
|
+
workspace_id: string;
|
|
175052
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
175053
|
+
starts_at?: string | undefined;
|
|
175054
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
|
|
175055
|
+
ends_at?: string | undefined;
|
|
175056
|
+
/** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175057
|
+
errors: {
|
|
175058
|
+
error_code: string;
|
|
175059
|
+
message: string;
|
|
175060
|
+
}[];
|
|
175061
|
+
/** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175062
|
+
warnings: ({
|
|
175063
|
+
/** Date and time at which Seam created the warning. */
|
|
175064
|
+
created_at: string;
|
|
175065
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175066
|
+
message: string;
|
|
175067
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175068
|
+
warning_code: 'waiting_to_be_issued';
|
|
175069
|
+
} | {
|
|
175070
|
+
/** Date and time at which Seam created the warning. */
|
|
175071
|
+
created_at: string;
|
|
175072
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175073
|
+
message: string;
|
|
175074
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175075
|
+
warning_code: 'schedule_externally_modified';
|
|
175076
|
+
} | {
|
|
175077
|
+
/** Date and time at which Seam created the warning. */
|
|
175078
|
+
created_at: string;
|
|
175079
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175080
|
+
message: string;
|
|
175081
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175082
|
+
warning_code: 'schedule_modified';
|
|
175083
|
+
} | {
|
|
175084
|
+
/** Date and time at which Seam created the warning. */
|
|
175085
|
+
created_at: string;
|
|
175086
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175087
|
+
message: string;
|
|
175088
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175089
|
+
warning_code: 'being_deleted';
|
|
175090
|
+
} | {
|
|
175091
|
+
/** Date and time at which Seam created the warning. */
|
|
175092
|
+
created_at: string;
|
|
175093
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175094
|
+
message: string;
|
|
175095
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175096
|
+
warning_code: 'unknown_issue_with_acs_credential';
|
|
175097
|
+
} | {
|
|
175098
|
+
/** Date and time at which Seam created the warning. */
|
|
175099
|
+
created_at: string;
|
|
175100
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175101
|
+
message: string;
|
|
175102
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175103
|
+
warning_code: 'needs_to_be_reissued';
|
|
175104
|
+
})[];
|
|
175105
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
|
|
175106
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
175107
|
+
/** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
|
|
175108
|
+
is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
|
|
175109
|
+
/** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
|
|
175110
|
+
latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
|
|
175111
|
+
/** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175112
|
+
visionline_metadata?: {
|
|
175113
|
+
/** Card function type in the Visionline access system. */
|
|
175114
|
+
card_function_type: 'guest' | 'staff';
|
|
175115
|
+
/** IDs of the credentials to which you want to join. */
|
|
175116
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
175117
|
+
/** Guest entrance IDs in the Visionline access system. */
|
|
175118
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
175119
|
+
/** Common entrance IDs in the Visionline access system. */
|
|
175120
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
175121
|
+
/** Indicates whether the credential is valid. */
|
|
175122
|
+
is_valid?: boolean | undefined;
|
|
175123
|
+
/** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
|
|
175124
|
+
auto_join?: boolean | undefined;
|
|
175125
|
+
/** ID of the card in the Visionline access system. */
|
|
175126
|
+
card_id?: string | undefined;
|
|
175127
|
+
/** ID of the credential in the Visionline access system. */
|
|
175128
|
+
credential_id?: string | undefined;
|
|
175129
|
+
} | undefined;
|
|
175130
|
+
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175131
|
+
assa_abloy_vostio_metadata?: {
|
|
175132
|
+
/** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
|
|
175133
|
+
auto_join?: boolean | undefined;
|
|
175134
|
+
/** IDs of the guest entrances to override in the Vostio access system. */
|
|
175135
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
175136
|
+
/** Key ID in the Vostio access system. */
|
|
175137
|
+
key_id?: string | undefined;
|
|
175138
|
+
/** Key issuing request ID in the Vostio access system. */
|
|
175139
|
+
key_issuing_request_id?: string | undefined;
|
|
175140
|
+
/** Names of the doors to which to grant access in the Vostio access system. */
|
|
175141
|
+
door_names?: string[] | undefined;
|
|
175142
|
+
/** Endpoint ID in the Vostio access system. */
|
|
175143
|
+
endpoint_id?: string | undefined;
|
|
175144
|
+
} | undefined;
|
|
175145
|
+
is_managed: true;
|
|
175146
|
+
} | {
|
|
175147
|
+
/** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175148
|
+
acs_credential_id: string;
|
|
175149
|
+
/** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
175150
|
+
acs_user_id?: string | undefined;
|
|
175151
|
+
/** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
175152
|
+
user_identity_id?: string | undefined;
|
|
175153
|
+
/** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
175154
|
+
connected_account_id: string;
|
|
175155
|
+
acs_credential_pool_id?: string | undefined;
|
|
175156
|
+
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175157
|
+
acs_system_id: string;
|
|
175158
|
+
/** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175159
|
+
parent_acs_credential_id?: string | undefined;
|
|
175160
|
+
/** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
175161
|
+
display_name: string;
|
|
175162
|
+
/** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175163
|
+
code?: (string | undefined) | null;
|
|
175164
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
|
|
175165
|
+
is_one_time_use?: boolean | undefined;
|
|
175166
|
+
/** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175167
|
+
card_number?: (string | undefined) | null;
|
|
175168
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
|
|
175169
|
+
is_issued?: boolean | undefined;
|
|
175170
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
|
|
175171
|
+
issued_at?: (string | undefined) | null;
|
|
175172
|
+
/** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
|
|
175173
|
+
access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
|
|
175174
|
+
/** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
|
|
175175
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'brivo_digital_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card') | undefined;
|
|
175176
|
+
/** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
175177
|
+
external_type_display_name?: string | undefined;
|
|
175178
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
|
|
175179
|
+
created_at: string;
|
|
175180
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175181
|
+
workspace_id: string;
|
|
175182
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
175183
|
+
starts_at?: string | undefined;
|
|
175184
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
|
|
175185
|
+
ends_at?: string | undefined;
|
|
175186
|
+
/** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175187
|
+
errors: {
|
|
175188
|
+
error_code: string;
|
|
175189
|
+
message: string;
|
|
175190
|
+
}[];
|
|
175191
|
+
/** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175192
|
+
warnings: ({
|
|
175193
|
+
/** Date and time at which Seam created the warning. */
|
|
175194
|
+
created_at: string;
|
|
175195
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175196
|
+
message: string;
|
|
175197
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175198
|
+
warning_code: 'waiting_to_be_issued';
|
|
175199
|
+
} | {
|
|
175200
|
+
/** Date and time at which Seam created the warning. */
|
|
175201
|
+
created_at: string;
|
|
175202
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175203
|
+
message: string;
|
|
175204
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175205
|
+
warning_code: 'schedule_externally_modified';
|
|
175206
|
+
} | {
|
|
175207
|
+
/** Date and time at which Seam created the warning. */
|
|
175208
|
+
created_at: string;
|
|
175209
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175210
|
+
message: string;
|
|
175211
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175212
|
+
warning_code: 'schedule_modified';
|
|
175213
|
+
} | {
|
|
175214
|
+
/** Date and time at which Seam created the warning. */
|
|
175215
|
+
created_at: string;
|
|
175216
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175217
|
+
message: string;
|
|
175218
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175219
|
+
warning_code: 'being_deleted';
|
|
175220
|
+
} | {
|
|
175221
|
+
/** Date and time at which Seam created the warning. */
|
|
175222
|
+
created_at: string;
|
|
175223
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175224
|
+
message: string;
|
|
175225
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175226
|
+
warning_code: 'unknown_issue_with_acs_credential';
|
|
175227
|
+
} | {
|
|
175228
|
+
/** Date and time at which Seam created the warning. */
|
|
175229
|
+
created_at: string;
|
|
175230
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175231
|
+
message: string;
|
|
175232
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175233
|
+
warning_code: 'needs_to_be_reissued';
|
|
175234
|
+
})[];
|
|
175235
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
|
|
175236
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
175237
|
+
/** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
|
|
175238
|
+
is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
|
|
175239
|
+
/** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
|
|
175240
|
+
latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
|
|
175241
|
+
/** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175242
|
+
visionline_metadata?: {
|
|
175243
|
+
/** Card function type in the Visionline access system. */
|
|
175244
|
+
card_function_type: 'guest' | 'staff';
|
|
175245
|
+
/** IDs of the credentials to which you want to join. */
|
|
175246
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
175247
|
+
/** Guest entrance IDs in the Visionline access system. */
|
|
175248
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
175249
|
+
/** Common entrance IDs in the Visionline access system. */
|
|
175250
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
175251
|
+
/** Indicates whether the credential is valid. */
|
|
175252
|
+
is_valid?: boolean | undefined;
|
|
175253
|
+
/** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
|
|
175254
|
+
auto_join?: boolean | undefined;
|
|
175255
|
+
/** ID of the card in the Visionline access system. */
|
|
175256
|
+
card_id?: string | undefined;
|
|
175257
|
+
/** ID of the credential in the Visionline access system. */
|
|
175258
|
+
credential_id?: string | undefined;
|
|
175259
|
+
} | undefined;
|
|
175260
|
+
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
175261
|
+
assa_abloy_vostio_metadata?: {
|
|
175262
|
+
/** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
|
|
175263
|
+
auto_join?: boolean | undefined;
|
|
175264
|
+
/** IDs of the guest entrances to override in the Vostio access system. */
|
|
175265
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
175266
|
+
/** Key ID in the Vostio access system. */
|
|
175267
|
+
key_id?: string | undefined;
|
|
175268
|
+
/** Key issuing request ID in the Vostio access system. */
|
|
175269
|
+
key_issuing_request_id?: string | undefined;
|
|
175270
|
+
/** Names of the doors to which to grant access in the Vostio access system. */
|
|
175271
|
+
door_names?: string[] | undefined;
|
|
175272
|
+
/** Endpoint ID in the Vostio access system. */
|
|
175273
|
+
endpoint_id?: string | undefined;
|
|
175274
|
+
} | undefined;
|
|
175275
|
+
is_managed: false;
|
|
175276
|
+
};
|
|
175277
|
+
} | {
|
|
175278
|
+
/** ID of the action attempt. */
|
|
175279
|
+
action_attempt_id: string;
|
|
175280
|
+
status: 'error';
|
|
175281
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175282
|
+
result: null;
|
|
175283
|
+
/** Action attempt to track the status of encoding credential data from the physical encoder onto a card. */
|
|
175284
|
+
action_type: 'ENCODE_CREDENTIAL';
|
|
175285
|
+
error: {
|
|
175286
|
+
/** Type of the error associated with the action attempt. */
|
|
175287
|
+
type: 'uncategorized_error';
|
|
175288
|
+
/** Message for the error associated with the action attempt. */
|
|
175289
|
+
message: string;
|
|
175290
|
+
} | {
|
|
175291
|
+
/** Type of the error associated with the action attempt. */
|
|
175292
|
+
type: 'action_attempt_expired';
|
|
175293
|
+
/** Message for the error associated with the action attempt. */
|
|
175294
|
+
message: string;
|
|
175295
|
+
} | {
|
|
175296
|
+
/** Error type to indicate that there is no credential on the encoder. */
|
|
175297
|
+
type: 'no_credential_on_encoder';
|
|
175298
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175299
|
+
message: string;
|
|
175300
|
+
} | {
|
|
175301
|
+
/** Error type to indicate an incompatible card format. */
|
|
175302
|
+
type: 'incompatible_card_format';
|
|
175303
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175304
|
+
message: string;
|
|
175305
|
+
} | {
|
|
175306
|
+
/** Error type to indicate that the affected credential cannot be reissued. */
|
|
175307
|
+
type: 'credential_cannot_be_reissued';
|
|
175308
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175309
|
+
message: string;
|
|
175310
|
+
} | {
|
|
175311
|
+
/** Error type to indicate that the encoder is not online. */
|
|
175312
|
+
type: 'encoder_not_online';
|
|
175313
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175314
|
+
message: string;
|
|
175315
|
+
};
|
|
175316
|
+
} | {
|
|
175317
|
+
/** ID of the action attempt. */
|
|
175318
|
+
action_attempt_id: string;
|
|
175319
|
+
status: 'pending';
|
|
175320
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175321
|
+
result: null;
|
|
175322
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175323
|
+
error: null;
|
|
175324
|
+
/** Action attempt to track the status of resetting a sandbox workspace. */
|
|
175325
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
175326
|
+
} | {
|
|
175327
|
+
/** ID of the action attempt. */
|
|
175328
|
+
action_attempt_id: string;
|
|
175329
|
+
status: 'success';
|
|
175330
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175331
|
+
error: null;
|
|
175332
|
+
/** Action attempt to track the status of resetting a sandbox workspace. */
|
|
175333
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
175334
|
+
/** Result of the action. */
|
|
175335
|
+
result: {};
|
|
175336
|
+
} | {
|
|
175337
|
+
/** ID of the action attempt. */
|
|
175338
|
+
action_attempt_id: string;
|
|
175339
|
+
status: 'error';
|
|
175340
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175341
|
+
result: null;
|
|
175342
|
+
/** Action attempt to track the status of resetting a sandbox workspace. */
|
|
175343
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
175344
|
+
/** Error associated with the action. */
|
|
175345
|
+
error: {
|
|
175346
|
+
/** Type of the error. */
|
|
175347
|
+
type: string;
|
|
175348
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175349
|
+
message: string;
|
|
175350
|
+
};
|
|
175351
|
+
} | {
|
|
175352
|
+
/** ID of the action attempt. */
|
|
175353
|
+
action_attempt_id: string;
|
|
175354
|
+
status: 'pending';
|
|
175355
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175356
|
+
result: null;
|
|
175357
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175358
|
+
error: null;
|
|
175359
|
+
/** Action attempt to track the status of setting the fan mode on a thermostat. */
|
|
175360
|
+
action_type: 'SET_FAN_MODE';
|
|
175361
|
+
} | {
|
|
175362
|
+
/** ID of the action attempt. */
|
|
175363
|
+
action_attempt_id: string;
|
|
175364
|
+
status: 'success';
|
|
175365
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175366
|
+
error: null;
|
|
175367
|
+
/** Action attempt to track the status of setting the fan mode on a thermostat. */
|
|
175368
|
+
action_type: 'SET_FAN_MODE';
|
|
175369
|
+
/** Result of the action. */
|
|
175370
|
+
result: {};
|
|
175371
|
+
} | {
|
|
175372
|
+
/** ID of the action attempt. */
|
|
175373
|
+
action_attempt_id: string;
|
|
175374
|
+
status: 'error';
|
|
175375
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175376
|
+
result: null;
|
|
175377
|
+
/** Action attempt to track the status of setting the fan mode on a thermostat. */
|
|
175378
|
+
action_type: 'SET_FAN_MODE';
|
|
175379
|
+
/** Error associated with the action. */
|
|
175380
|
+
error: {
|
|
175381
|
+
/** Type of the error. */
|
|
175382
|
+
type: string;
|
|
175383
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175384
|
+
message: string;
|
|
175385
|
+
};
|
|
175386
|
+
} | {
|
|
175387
|
+
/** ID of the action attempt. */
|
|
175388
|
+
action_attempt_id: string;
|
|
175389
|
+
status: 'pending';
|
|
175390
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175391
|
+
result: null;
|
|
175392
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175393
|
+
error: null;
|
|
175394
|
+
/** Action attempt to track the status of setting the HVAC mode on a thermostat. */
|
|
175395
|
+
action_type: 'SET_HVAC_MODE';
|
|
175396
|
+
} | {
|
|
175397
|
+
/** ID of the action attempt. */
|
|
175398
|
+
action_attempt_id: string;
|
|
175399
|
+
status: 'success';
|
|
175400
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175401
|
+
error: null;
|
|
175402
|
+
/** Action attempt to track the status of setting the HVAC mode on a thermostat. */
|
|
175403
|
+
action_type: 'SET_HVAC_MODE';
|
|
175404
|
+
/** Result of the action. */
|
|
175405
|
+
result: {};
|
|
175406
|
+
} | {
|
|
175407
|
+
/** ID of the action attempt. */
|
|
175408
|
+
action_attempt_id: string;
|
|
175409
|
+
status: 'error';
|
|
175410
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175411
|
+
result: null;
|
|
175412
|
+
/** Action attempt to track the status of setting the HVAC mode on a thermostat. */
|
|
175413
|
+
action_type: 'SET_HVAC_MODE';
|
|
175414
|
+
/** Error associated with the action. */
|
|
175415
|
+
error: {
|
|
175416
|
+
/** Type of the error. */
|
|
175417
|
+
type: string;
|
|
175418
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175419
|
+
message: string;
|
|
175420
|
+
};
|
|
175421
|
+
} | {
|
|
175422
|
+
/** ID of the action attempt. */
|
|
175423
|
+
action_attempt_id: string;
|
|
175424
|
+
status: 'pending';
|
|
175425
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175426
|
+
result: null;
|
|
175427
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175428
|
+
error: null;
|
|
175429
|
+
/** Action attempt to track the status of a climate preset activation. */
|
|
175430
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
175431
|
+
} | {
|
|
175432
|
+
/** ID of the action attempt. */
|
|
175433
|
+
action_attempt_id: string;
|
|
175434
|
+
status: 'success';
|
|
175435
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175436
|
+
error: null;
|
|
175437
|
+
/** Action attempt to track the status of a climate preset activation. */
|
|
175438
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
175439
|
+
/** Result of the action. */
|
|
175440
|
+
result: {};
|
|
175441
|
+
} | {
|
|
175442
|
+
/** ID of the action attempt. */
|
|
175443
|
+
action_attempt_id: string;
|
|
175444
|
+
status: 'error';
|
|
175445
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175446
|
+
result: null;
|
|
175447
|
+
/** Action attempt to track the status of a climate preset activation. */
|
|
175448
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
175449
|
+
/** Error associated with the action. */
|
|
175450
|
+
error: {
|
|
175451
|
+
/** Type of the error. */
|
|
175452
|
+
type: string;
|
|
175453
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175454
|
+
message: string;
|
|
175455
|
+
};
|
|
175456
|
+
} | {
|
|
175457
|
+
/** ID of the action attempt. */
|
|
175458
|
+
action_attempt_id: string;
|
|
175459
|
+
status: 'pending';
|
|
175460
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175461
|
+
result: null;
|
|
175462
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175463
|
+
error: null;
|
|
175464
|
+
/** Action attempt to track the status of simulating a keypad code entry. */
|
|
175465
|
+
action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
|
|
175466
|
+
} | {
|
|
175467
|
+
/** ID of the action attempt. */
|
|
175468
|
+
action_attempt_id: string;
|
|
175469
|
+
status: 'success';
|
|
175470
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175471
|
+
error: null;
|
|
175472
|
+
/** Action attempt to track the status of simulating a keypad code entry. */
|
|
175473
|
+
action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
|
|
175474
|
+
/** Result of the action. */
|
|
175475
|
+
result: {};
|
|
175476
|
+
} | {
|
|
175477
|
+
/** ID of the action attempt. */
|
|
175478
|
+
action_attempt_id: string;
|
|
175479
|
+
status: 'error';
|
|
175480
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175481
|
+
result: null;
|
|
175482
|
+
/** Action attempt to track the status of simulating a keypad code entry. */
|
|
175483
|
+
action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
|
|
175484
|
+
/** Error associated with the action. */
|
|
175485
|
+
error: {
|
|
175486
|
+
/** Type of the error. */
|
|
175487
|
+
type: string;
|
|
175488
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175489
|
+
message: string;
|
|
175490
|
+
};
|
|
175491
|
+
} | {
|
|
175492
|
+
/** ID of the action attempt. */
|
|
175493
|
+
action_attempt_id: string;
|
|
175494
|
+
status: 'pending';
|
|
175495
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175496
|
+
result: null;
|
|
175497
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175498
|
+
error: null;
|
|
175499
|
+
/** Action attempt to track the status of simulating a manual lock action using a keypad. */
|
|
175500
|
+
action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
|
|
175501
|
+
} | {
|
|
175502
|
+
/** ID of the action attempt. */
|
|
175503
|
+
action_attempt_id: string;
|
|
175504
|
+
status: 'success';
|
|
175505
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175506
|
+
error: null;
|
|
175507
|
+
/** Action attempt to track the status of simulating a manual lock action using a keypad. */
|
|
175508
|
+
action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
|
|
175509
|
+
/** Result of the action. */
|
|
175510
|
+
result: {};
|
|
175511
|
+
} | {
|
|
175512
|
+
/** ID of the action attempt. */
|
|
175513
|
+
action_attempt_id: string;
|
|
175514
|
+
status: 'error';
|
|
175515
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175516
|
+
result: null;
|
|
175517
|
+
/** Action attempt to track the status of simulating a manual lock action using a keypad. */
|
|
175518
|
+
action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
|
|
175519
|
+
/** Error associated with the action. */
|
|
175520
|
+
error: {
|
|
175521
|
+
/** Type of the error. */
|
|
175522
|
+
type: string;
|
|
175523
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175524
|
+
message: string;
|
|
175525
|
+
};
|
|
175526
|
+
} | {
|
|
175527
|
+
/** ID of the action attempt. */
|
|
175528
|
+
action_attempt_id: string;
|
|
175529
|
+
status: 'pending';
|
|
175530
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175531
|
+
result: null;
|
|
175532
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175533
|
+
error: null;
|
|
175534
|
+
/** Action attempt to track the status of pushing thermostat programs. */
|
|
175535
|
+
action_type: 'PUSH_THERMOSTAT_PROGRAMS';
|
|
175536
|
+
} | {
|
|
175537
|
+
/** ID of the action attempt. */
|
|
175538
|
+
action_attempt_id: string;
|
|
175539
|
+
status: 'success';
|
|
175540
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175541
|
+
error: null;
|
|
175542
|
+
/** Action attempt to track the status of pushing thermostat programs. */
|
|
175543
|
+
action_type: 'PUSH_THERMOSTAT_PROGRAMS';
|
|
175544
|
+
/** Result of the action. */
|
|
175545
|
+
result: {};
|
|
175546
|
+
} | {
|
|
175547
|
+
/** ID of the action attempt. */
|
|
175548
|
+
action_attempt_id: string;
|
|
175549
|
+
status: 'error';
|
|
175550
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175551
|
+
result: null;
|
|
175552
|
+
/** Action attempt to track the status of pushing thermostat programs. */
|
|
175553
|
+
action_type: 'PUSH_THERMOSTAT_PROGRAMS';
|
|
175554
|
+
/** Error associated with the action. */
|
|
175555
|
+
error: {
|
|
175556
|
+
/** Type of the error. */
|
|
175557
|
+
type: string;
|
|
175558
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175559
|
+
message: string;
|
|
175560
|
+
};
|
|
175561
|
+
} | {
|
|
175562
|
+
/** ID of the action attempt. */
|
|
175563
|
+
action_attempt_id: string;
|
|
175564
|
+
status: 'pending';
|
|
175565
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175566
|
+
result: null;
|
|
175567
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175568
|
+
error: null;
|
|
175569
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
175570
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
175571
|
+
} | {
|
|
175572
|
+
/** ID of the action attempt. */
|
|
175573
|
+
action_attempt_id: string;
|
|
175574
|
+
status: 'success';
|
|
175575
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175576
|
+
error: null;
|
|
175577
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
175578
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
175579
|
+
/** Result of the action. */
|
|
175580
|
+
result: {};
|
|
175581
|
+
} | {
|
|
175582
|
+
/** ID of the action attempt. */
|
|
175583
|
+
action_attempt_id: string;
|
|
175584
|
+
status: 'error';
|
|
175585
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175586
|
+
result: null;
|
|
175587
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
175588
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
175589
|
+
/** Error associated with the action. */
|
|
175590
|
+
error: {
|
|
175591
|
+
/** Type of the error. */
|
|
175592
|
+
type: string;
|
|
175593
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175594
|
+
message: string;
|
|
175595
|
+
};
|
|
175596
|
+
} | {
|
|
175597
|
+
/** ID of the action attempt. */
|
|
175598
|
+
action_attempt_id: string;
|
|
175599
|
+
status: 'pending';
|
|
175600
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175601
|
+
result: null;
|
|
175602
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175603
|
+
error: null;
|
|
175604
|
+
/** Syncing access codes is pending. */
|
|
175605
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
175606
|
+
} | {
|
|
175607
|
+
/** ID of the action attempt. */
|
|
175608
|
+
action_attempt_id: string;
|
|
175609
|
+
status: 'success';
|
|
175610
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175611
|
+
error: null;
|
|
175612
|
+
/** Syncing access codes succeeded. */
|
|
175613
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
175614
|
+
/** Result of the action. */
|
|
175615
|
+
result: {};
|
|
175616
|
+
} | {
|
|
175617
|
+
/** ID of the action attempt. */
|
|
175618
|
+
action_attempt_id: string;
|
|
175619
|
+
status: 'error';
|
|
175620
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175621
|
+
result: null;
|
|
175622
|
+
/** Syncing access codes failed. */
|
|
175623
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
175624
|
+
/** Error associated with the action. */
|
|
175625
|
+
error: {
|
|
175626
|
+
/** Type of the error. */
|
|
175627
|
+
type: string;
|
|
175628
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175629
|
+
message: string;
|
|
175630
|
+
};
|
|
175631
|
+
} | {
|
|
175632
|
+
/** ID of the action attempt. */
|
|
175633
|
+
action_attempt_id: string;
|
|
175634
|
+
status: 'pending';
|
|
175635
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175636
|
+
result: null;
|
|
175637
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175638
|
+
error: null;
|
|
175639
|
+
/** Creating an access code is pending. */
|
|
175640
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
175641
|
+
} | {
|
|
175642
|
+
/** ID of the action attempt. */
|
|
175643
|
+
action_attempt_id: string;
|
|
175644
|
+
status: 'success';
|
|
175645
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175646
|
+
error: null;
|
|
175647
|
+
/** Creating an access code succeeded. */
|
|
175648
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
175649
|
+
/** Result of the action. */
|
|
175650
|
+
result: {
|
|
175651
|
+
/** Created access code. */
|
|
175652
|
+
access_code?: any;
|
|
175653
|
+
};
|
|
175654
|
+
} | {
|
|
175655
|
+
/** ID of the action attempt. */
|
|
175656
|
+
action_attempt_id: string;
|
|
175657
|
+
status: 'error';
|
|
175658
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175659
|
+
result: null;
|
|
175660
|
+
/** Creating an access code failed. */
|
|
175661
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
175662
|
+
/** Error associated with the action. */
|
|
175663
|
+
error: {
|
|
175664
|
+
/** Type of the error. */
|
|
175665
|
+
type: string;
|
|
175666
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175667
|
+
message: string;
|
|
175668
|
+
};
|
|
175669
|
+
} | {
|
|
175670
|
+
/** ID of the action attempt. */
|
|
175671
|
+
action_attempt_id: string;
|
|
175672
|
+
status: 'pending';
|
|
175673
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175674
|
+
result: null;
|
|
175675
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175676
|
+
error: null;
|
|
175677
|
+
/** Deleting an access code is pending. */
|
|
175678
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
175679
|
+
} | {
|
|
175680
|
+
/** ID of the action attempt. */
|
|
175681
|
+
action_attempt_id: string;
|
|
175682
|
+
status: 'success';
|
|
175683
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175684
|
+
error: null;
|
|
175685
|
+
/** Deleting an access code succeeded. */
|
|
175686
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
175687
|
+
/** Result of the action. */
|
|
175688
|
+
result: {};
|
|
175689
|
+
} | {
|
|
175690
|
+
/** ID of the action attempt. */
|
|
175691
|
+
action_attempt_id: string;
|
|
175692
|
+
status: 'error';
|
|
175693
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175694
|
+
result: null;
|
|
175695
|
+
/** Deleting an access code failed. */
|
|
175696
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
175697
|
+
/** Error associated with the action. */
|
|
175698
|
+
error: {
|
|
175699
|
+
/** Type of the error. */
|
|
175700
|
+
type: string;
|
|
175701
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175702
|
+
message: string;
|
|
175703
|
+
};
|
|
175704
|
+
} | {
|
|
175705
|
+
/** ID of the action attempt. */
|
|
175706
|
+
action_attempt_id: string;
|
|
175707
|
+
status: 'pending';
|
|
175708
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175709
|
+
result: null;
|
|
175710
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175711
|
+
error: null;
|
|
175712
|
+
/** Updating an access code is pending. */
|
|
175713
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
175714
|
+
} | {
|
|
175715
|
+
/** ID of the action attempt. */
|
|
175716
|
+
action_attempt_id: string;
|
|
175717
|
+
status: 'success';
|
|
175718
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175719
|
+
error: null;
|
|
175720
|
+
/** Updating an access code succeeded. */
|
|
175721
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
175722
|
+
/** Result of the action. */
|
|
175723
|
+
result: {
|
|
175724
|
+
/** Updated access code. */
|
|
175725
|
+
access_code?: any;
|
|
175726
|
+
};
|
|
175727
|
+
} | {
|
|
175728
|
+
/** ID of the action attempt. */
|
|
175729
|
+
action_attempt_id: string;
|
|
175730
|
+
status: 'error';
|
|
175731
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175732
|
+
result: null;
|
|
175733
|
+
/** Updating an access code failed. */
|
|
175734
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
175735
|
+
/** Error associated with the action. */
|
|
175736
|
+
error: {
|
|
175737
|
+
/** Type of the error. */
|
|
175738
|
+
type: string;
|
|
175739
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175740
|
+
message: string;
|
|
175741
|
+
};
|
|
175742
|
+
} | {
|
|
175743
|
+
/** ID of the action attempt. */
|
|
175744
|
+
action_attempt_id: string;
|
|
175745
|
+
status: 'pending';
|
|
175746
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175747
|
+
result: null;
|
|
175748
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175749
|
+
error: null;
|
|
175750
|
+
/** Creating a noise threshold is pending. */
|
|
175751
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
175752
|
+
} | {
|
|
175753
|
+
/** ID of the action attempt. */
|
|
175754
|
+
action_attempt_id: string;
|
|
175755
|
+
status: 'success';
|
|
175756
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175757
|
+
error: null;
|
|
175758
|
+
/** Creating a noise threshold succeeded. */
|
|
175759
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
175760
|
+
/** Result of the action. */
|
|
175761
|
+
result: {
|
|
175762
|
+
/** Created noise threshold. */
|
|
175763
|
+
noise_threshold?: any;
|
|
175764
|
+
};
|
|
175765
|
+
} | {
|
|
175766
|
+
/** ID of the action attempt. */
|
|
175767
|
+
action_attempt_id: string;
|
|
175768
|
+
status: 'error';
|
|
175769
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175770
|
+
result: null;
|
|
175771
|
+
/** Creating a noise threshold failed. */
|
|
175772
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
175773
|
+
/** Error associated with the action. */
|
|
175774
|
+
error: {
|
|
175775
|
+
/** Type of the error. */
|
|
175776
|
+
type: string;
|
|
175777
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175778
|
+
message: string;
|
|
175779
|
+
};
|
|
175780
|
+
} | {
|
|
175781
|
+
/** ID of the action attempt. */
|
|
175782
|
+
action_attempt_id: string;
|
|
175783
|
+
status: 'pending';
|
|
175784
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175785
|
+
result: null;
|
|
175786
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175787
|
+
error: null;
|
|
175788
|
+
/** Deleting a noise threshold is pending. */
|
|
175789
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
175790
|
+
} | {
|
|
175791
|
+
/** ID of the action attempt. */
|
|
175792
|
+
action_attempt_id: string;
|
|
175793
|
+
status: 'success';
|
|
175794
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175795
|
+
error: null;
|
|
175796
|
+
/** Deleting a noise threshold succeeded. */
|
|
175797
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
175798
|
+
/** Result of the action. */
|
|
175799
|
+
result: {};
|
|
175800
|
+
} | {
|
|
175801
|
+
/** ID of the action attempt. */
|
|
175802
|
+
action_attempt_id: string;
|
|
175803
|
+
status: 'error';
|
|
175804
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175805
|
+
result: null;
|
|
175806
|
+
/** Deleting a noise threshold failed. */
|
|
175807
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
175808
|
+
/** Error associated with the action. */
|
|
175809
|
+
error: {
|
|
175810
|
+
/** Type of the error. */
|
|
175811
|
+
type: string;
|
|
175812
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175813
|
+
message: string;
|
|
175814
|
+
};
|
|
175815
|
+
} | {
|
|
175816
|
+
/** ID of the action attempt. */
|
|
175817
|
+
action_attempt_id: string;
|
|
175818
|
+
status: 'pending';
|
|
175819
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
175820
|
+
result: null;
|
|
175821
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
175822
|
+
error: null;
|
|
175823
|
+
/** Updating a noise threshold is pending. */
|
|
175824
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
175825
|
+
} | {
|
|
175826
|
+
/** ID of the action attempt. */
|
|
175827
|
+
action_attempt_id: string;
|
|
175828
|
+
status: 'success';
|
|
175829
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
175830
|
+
error: null;
|
|
175831
|
+
/** Updating a noise threshold succeeded. */
|
|
175832
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
175833
|
+
/** Result of the action. */
|
|
175834
|
+
result: {
|
|
175835
|
+
/** Updated noise threshold. */
|
|
175836
|
+
noise_threshold?: any;
|
|
175837
|
+
};
|
|
175838
|
+
} | {
|
|
175839
|
+
/** ID of the action attempt. */
|
|
175840
|
+
action_attempt_id: string;
|
|
175841
|
+
status: 'error';
|
|
175842
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
175843
|
+
result: null;
|
|
175844
|
+
/** Updating a noise threshold failed. */
|
|
175845
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
175846
|
+
/** Error associated with the action. */
|
|
175847
|
+
error: {
|
|
175848
|
+
/** Type of the error. */
|
|
175849
|
+
type: string;
|
|
175850
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175851
|
+
message: string;
|
|
175852
|
+
};
|
|
175853
|
+
};
|
|
175854
|
+
};
|
|
175855
|
+
maxDuration: undefined;
|
|
175856
|
+
};
|
|
173737
175857
|
'/locks/get': {
|
|
173738
175858
|
route: '/locks/get';
|
|
173739
175859
|
method: 'GET' | 'POST';
|
|
@@ -174124,6 +176244,8 @@ type Routes = {
|
|
|
174124
176244
|
incomplete_keyboard_passcode: boolean;
|
|
174125
176245
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
174126
176246
|
wifi: boolean;
|
|
176247
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
176248
|
+
auto_lock_time_config: boolean;
|
|
174127
176249
|
};
|
|
174128
176250
|
/** Indicates whether a TTLock device has a gateway. */
|
|
174129
176251
|
has_gateway?: boolean | undefined;
|
|
@@ -174413,6 +176535,10 @@ type Routes = {
|
|
|
174413
176535
|
} | undefined) | undefined;
|
|
174414
176536
|
/** Indicates whether the door is open. */
|
|
174415
176537
|
door_open?: (boolean | undefined) | undefined;
|
|
176538
|
+
/** Indicates whether automatic locking is enabled. */
|
|
176539
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
176540
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
176541
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
174416
176542
|
} & {
|
|
174417
176543
|
/** Reported temperature in °F. */
|
|
174418
176544
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -175059,6 +177185,7 @@ type Routes = {
|
|
|
175059
177185
|
can_simulate_hub_connection?: boolean | undefined;
|
|
175060
177186
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
175061
177187
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
177188
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
175062
177189
|
};
|
|
175063
177190
|
/** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
|
|
175064
177191
|
device: {
|
|
@@ -175437,6 +177564,8 @@ type Routes = {
|
|
|
175437
177564
|
incomplete_keyboard_passcode: boolean;
|
|
175438
177565
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
175439
177566
|
wifi: boolean;
|
|
177567
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
177568
|
+
auto_lock_time_config: boolean;
|
|
175440
177569
|
};
|
|
175441
177570
|
/** Indicates whether a TTLock device has a gateway. */
|
|
175442
177571
|
has_gateway?: boolean | undefined;
|
|
@@ -175726,6 +177855,10 @@ type Routes = {
|
|
|
175726
177855
|
} | undefined) | undefined;
|
|
175727
177856
|
/** Indicates whether the door is open. */
|
|
175728
177857
|
door_open?: (boolean | undefined) | undefined;
|
|
177858
|
+
/** Indicates whether automatic locking is enabled. */
|
|
177859
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
177860
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
177861
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
175729
177862
|
} & {
|
|
175730
177863
|
/** Reported temperature in °F. */
|
|
175731
177864
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -176372,6 +178505,7 @@ type Routes = {
|
|
|
176372
178505
|
can_simulate_hub_connection?: boolean | undefined;
|
|
176373
178506
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
176374
178507
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
178508
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
176375
178509
|
};
|
|
176376
178510
|
};
|
|
176377
178511
|
maxDuration: undefined;
|
|
@@ -176411,9 +178545,9 @@ type Routes = {
|
|
|
176411
178545
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
176412
178546
|
page_cursor?: (string | undefined) | null;
|
|
176413
178547
|
/** */
|
|
176414
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
178548
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
176415
178549
|
/** */
|
|
176416
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
178550
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
176417
178551
|
/**
|
|
176418
178552
|
* @deprecated Use `space_id`.*/
|
|
176419
178553
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -176800,6 +178934,8 @@ type Routes = {
|
|
|
176800
178934
|
incomplete_keyboard_passcode: boolean;
|
|
176801
178935
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
176802
178936
|
wifi: boolean;
|
|
178937
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
178938
|
+
auto_lock_time_config: boolean;
|
|
176803
178939
|
};
|
|
176804
178940
|
/** Indicates whether a TTLock device has a gateway. */
|
|
176805
178941
|
has_gateway?: boolean | undefined;
|
|
@@ -177089,6 +179225,10 @@ type Routes = {
|
|
|
177089
179225
|
} | undefined) | undefined;
|
|
177090
179226
|
/** Indicates whether the door is open. */
|
|
177091
179227
|
door_open?: (boolean | undefined) | undefined;
|
|
179228
|
+
/** Indicates whether automatic locking is enabled. */
|
|
179229
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
179230
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
179231
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
177092
179232
|
} & {
|
|
177093
179233
|
/** Reported temperature in °F. */
|
|
177094
179234
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -177735,6 +179875,7 @@ type Routes = {
|
|
|
177735
179875
|
can_simulate_hub_connection?: boolean | undefined;
|
|
177736
179876
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
177737
179877
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
179878
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
177738
179879
|
}[];
|
|
177739
179880
|
devices: {
|
|
177740
179881
|
/** ID of the device. */
|
|
@@ -178112,6 +180253,8 @@ type Routes = {
|
|
|
178112
180253
|
incomplete_keyboard_passcode: boolean;
|
|
178113
180254
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
178114
180255
|
wifi: boolean;
|
|
180256
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
180257
|
+
auto_lock_time_config: boolean;
|
|
178115
180258
|
};
|
|
178116
180259
|
/** Indicates whether a TTLock device has a gateway. */
|
|
178117
180260
|
has_gateway?: boolean | undefined;
|
|
@@ -178401,6 +180544,10 @@ type Routes = {
|
|
|
178401
180544
|
} | undefined) | undefined;
|
|
178402
180545
|
/** Indicates whether the door is open. */
|
|
178403
180546
|
door_open?: (boolean | undefined) | undefined;
|
|
180547
|
+
/** Indicates whether automatic locking is enabled. */
|
|
180548
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
180549
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
180550
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
178404
180551
|
} & {
|
|
178405
180552
|
/** Reported temperature in °F. */
|
|
178406
180553
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -179047,6 +181194,7 @@ type Routes = {
|
|
|
179047
181194
|
can_simulate_hub_connection?: boolean | undefined;
|
|
179048
181195
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
179049
181196
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
181197
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
179050
181198
|
}[];
|
|
179051
181199
|
};
|
|
179052
181200
|
maxDuration: undefined;
|
|
@@ -180067,6 +182215,41 @@ type Routes = {
|
|
|
180067
182215
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
180068
182216
|
message: string;
|
|
180069
182217
|
};
|
|
182218
|
+
} | {
|
|
182219
|
+
/** ID of the action attempt. */
|
|
182220
|
+
action_attempt_id: string;
|
|
182221
|
+
status: 'pending';
|
|
182222
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
182223
|
+
result: null;
|
|
182224
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
182225
|
+
error: null;
|
|
182226
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
182227
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
182228
|
+
} | {
|
|
182229
|
+
/** ID of the action attempt. */
|
|
182230
|
+
action_attempt_id: string;
|
|
182231
|
+
status: 'success';
|
|
182232
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
182233
|
+
error: null;
|
|
182234
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
182235
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
182236
|
+
/** Result of the action. */
|
|
182237
|
+
result: {};
|
|
182238
|
+
} | {
|
|
182239
|
+
/** ID of the action attempt. */
|
|
182240
|
+
action_attempt_id: string;
|
|
182241
|
+
status: 'error';
|
|
182242
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
182243
|
+
result: null;
|
|
182244
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
182245
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
182246
|
+
/** Error associated with the action. */
|
|
182247
|
+
error: {
|
|
182248
|
+
/** Type of the error. */
|
|
182249
|
+
type: string;
|
|
182250
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
182251
|
+
message: string;
|
|
182252
|
+
};
|
|
180070
182253
|
} | {
|
|
180071
182254
|
/** ID of the action attempt. */
|
|
180072
182255
|
action_attempt_id: string;
|
|
@@ -181344,6 +183527,41 @@ type Routes = {
|
|
|
181344
183527
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
181345
183528
|
message: string;
|
|
181346
183529
|
};
|
|
183530
|
+
} | {
|
|
183531
|
+
/** ID of the action attempt. */
|
|
183532
|
+
action_attempt_id: string;
|
|
183533
|
+
status: 'pending';
|
|
183534
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
183535
|
+
result: null;
|
|
183536
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
183537
|
+
error: null;
|
|
183538
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
183539
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
183540
|
+
} | {
|
|
183541
|
+
/** ID of the action attempt. */
|
|
183542
|
+
action_attempt_id: string;
|
|
183543
|
+
status: 'success';
|
|
183544
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
183545
|
+
error: null;
|
|
183546
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
183547
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
183548
|
+
/** Result of the action. */
|
|
183549
|
+
result: {};
|
|
183550
|
+
} | {
|
|
183551
|
+
/** ID of the action attempt. */
|
|
183552
|
+
action_attempt_id: string;
|
|
183553
|
+
status: 'error';
|
|
183554
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
183555
|
+
result: null;
|
|
183556
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
183557
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
183558
|
+
/** Error associated with the action. */
|
|
183559
|
+
error: {
|
|
183560
|
+
/** Type of the error. */
|
|
183561
|
+
type: string;
|
|
183562
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
183563
|
+
message: string;
|
|
183564
|
+
};
|
|
181347
183565
|
} | {
|
|
181348
183566
|
/** ID of the action attempt. */
|
|
181349
183567
|
action_attempt_id: string;
|
|
@@ -182619,6 +184837,41 @@ type Routes = {
|
|
|
182619
184837
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
182620
184838
|
message: string;
|
|
182621
184839
|
};
|
|
184840
|
+
} | {
|
|
184841
|
+
/** ID of the action attempt. */
|
|
184842
|
+
action_attempt_id: string;
|
|
184843
|
+
status: 'pending';
|
|
184844
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
184845
|
+
result: null;
|
|
184846
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
184847
|
+
error: null;
|
|
184848
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
184849
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
184850
|
+
} | {
|
|
184851
|
+
/** ID of the action attempt. */
|
|
184852
|
+
action_attempt_id: string;
|
|
184853
|
+
status: 'success';
|
|
184854
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
184855
|
+
error: null;
|
|
184856
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
184857
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
184858
|
+
/** Result of the action. */
|
|
184859
|
+
result: {};
|
|
184860
|
+
} | {
|
|
184861
|
+
/** ID of the action attempt. */
|
|
184862
|
+
action_attempt_id: string;
|
|
184863
|
+
status: 'error';
|
|
184864
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
184865
|
+
result: null;
|
|
184866
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
184867
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
184868
|
+
/** Error associated with the action. */
|
|
184869
|
+
error: {
|
|
184870
|
+
/** Type of the error. */
|
|
184871
|
+
type: string;
|
|
184872
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
184873
|
+
message: string;
|
|
184874
|
+
};
|
|
182622
184875
|
} | {
|
|
182623
184876
|
/** ID of the action attempt. */
|
|
182624
184877
|
action_attempt_id: string;
|
|
@@ -183896,6 +186149,41 @@ type Routes = {
|
|
|
183896
186149
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
183897
186150
|
message: string;
|
|
183898
186151
|
};
|
|
186152
|
+
} | {
|
|
186153
|
+
/** ID of the action attempt. */
|
|
186154
|
+
action_attempt_id: string;
|
|
186155
|
+
status: 'pending';
|
|
186156
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
186157
|
+
result: null;
|
|
186158
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
186159
|
+
error: null;
|
|
186160
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
186161
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
186162
|
+
} | {
|
|
186163
|
+
/** ID of the action attempt. */
|
|
186164
|
+
action_attempt_id: string;
|
|
186165
|
+
status: 'success';
|
|
186166
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
186167
|
+
error: null;
|
|
186168
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
186169
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
186170
|
+
/** Result of the action. */
|
|
186171
|
+
result: {};
|
|
186172
|
+
} | {
|
|
186173
|
+
/** ID of the action attempt. */
|
|
186174
|
+
action_attempt_id: string;
|
|
186175
|
+
status: 'error';
|
|
186176
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
186177
|
+
result: null;
|
|
186178
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
186179
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
186180
|
+
/** Error associated with the action. */
|
|
186181
|
+
error: {
|
|
186182
|
+
/** Type of the error. */
|
|
186183
|
+
type: string;
|
|
186184
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
186185
|
+
message: string;
|
|
186186
|
+
};
|
|
183899
186187
|
} | {
|
|
183900
186188
|
/** ID of the action attempt. */
|
|
183901
186189
|
action_attempt_id: string;
|
|
@@ -184192,9 +186480,9 @@ type Routes = {
|
|
|
184192
186480
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
184193
186481
|
page_cursor?: (string | undefined) | null;
|
|
184194
186482
|
/** */
|
|
184195
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
186483
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
184196
186484
|
/** */
|
|
184197
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
186485
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
184198
186486
|
/**
|
|
184199
186487
|
* @deprecated Use `space_id`.*/
|
|
184200
186488
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -184581,6 +186869,8 @@ type Routes = {
|
|
|
184581
186869
|
incomplete_keyboard_passcode: boolean;
|
|
184582
186870
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
184583
186871
|
wifi: boolean;
|
|
186872
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
186873
|
+
auto_lock_time_config: boolean;
|
|
184584
186874
|
};
|
|
184585
186875
|
/** Indicates whether a TTLock device has a gateway. */
|
|
184586
186876
|
has_gateway?: boolean | undefined;
|
|
@@ -184870,6 +187160,10 @@ type Routes = {
|
|
|
184870
187160
|
} | undefined) | undefined;
|
|
184871
187161
|
/** Indicates whether the door is open. */
|
|
184872
187162
|
door_open?: (boolean | undefined) | undefined;
|
|
187163
|
+
/** Indicates whether automatic locking is enabled. */
|
|
187164
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
187165
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
187166
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
184873
187167
|
} & {
|
|
184874
187168
|
/** Reported temperature in °F. */
|
|
184875
187169
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -185516,6 +187810,7 @@ type Routes = {
|
|
|
185516
187810
|
can_simulate_hub_connection?: boolean | undefined;
|
|
185517
187811
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
185518
187812
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
187813
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
185519
187814
|
}[];
|
|
185520
187815
|
devices: {
|
|
185521
187816
|
/** ID of the device. */
|
|
@@ -185893,6 +188188,8 @@ type Routes = {
|
|
|
185893
188188
|
incomplete_keyboard_passcode: boolean;
|
|
185894
188189
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
185895
188190
|
wifi: boolean;
|
|
188191
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
188192
|
+
auto_lock_time_config: boolean;
|
|
185896
188193
|
};
|
|
185897
188194
|
/** Indicates whether a TTLock device has a gateway. */
|
|
185898
188195
|
has_gateway?: boolean | undefined;
|
|
@@ -186182,6 +188479,10 @@ type Routes = {
|
|
|
186182
188479
|
} | undefined) | undefined;
|
|
186183
188480
|
/** Indicates whether the door is open. */
|
|
186184
188481
|
door_open?: (boolean | undefined) | undefined;
|
|
188482
|
+
/** Indicates whether automatic locking is enabled. */
|
|
188483
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
188484
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
188485
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
186185
188486
|
} & {
|
|
186186
188487
|
/** Reported temperature in °F. */
|
|
186187
188488
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -186828,6 +189129,7 @@ type Routes = {
|
|
|
186828
189129
|
can_simulate_hub_connection?: boolean | undefined;
|
|
186829
189130
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
186830
189131
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
189132
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
186831
189133
|
}[];
|
|
186832
189134
|
};
|
|
186833
189135
|
maxDuration: undefined;
|
|
@@ -187858,6 +190160,41 @@ type Routes = {
|
|
|
187858
190160
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
187859
190161
|
message: string;
|
|
187860
190162
|
};
|
|
190163
|
+
} | {
|
|
190164
|
+
/** ID of the action attempt. */
|
|
190165
|
+
action_attempt_id: string;
|
|
190166
|
+
status: 'pending';
|
|
190167
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
190168
|
+
result: null;
|
|
190169
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
190170
|
+
error: null;
|
|
190171
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
190172
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
190173
|
+
} | {
|
|
190174
|
+
/** ID of the action attempt. */
|
|
190175
|
+
action_attempt_id: string;
|
|
190176
|
+
status: 'success';
|
|
190177
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
190178
|
+
error: null;
|
|
190179
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
190180
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
190181
|
+
/** Result of the action. */
|
|
190182
|
+
result: {};
|
|
190183
|
+
} | {
|
|
190184
|
+
/** ID of the action attempt. */
|
|
190185
|
+
action_attempt_id: string;
|
|
190186
|
+
status: 'error';
|
|
190187
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
190188
|
+
result: null;
|
|
190189
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
190190
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
190191
|
+
/** Error associated with the action. */
|
|
190192
|
+
error: {
|
|
190193
|
+
/** Type of the error. */
|
|
190194
|
+
type: string;
|
|
190195
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
190196
|
+
message: string;
|
|
190197
|
+
};
|
|
187861
190198
|
} | {
|
|
187862
190199
|
/** ID of the action attempt. */
|
|
187863
190200
|
action_attempt_id: string;
|
|
@@ -189154,6 +191491,41 @@ type Routes = {
|
|
|
189154
191491
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
189155
191492
|
message: string;
|
|
189156
191493
|
};
|
|
191494
|
+
} | {
|
|
191495
|
+
/** ID of the action attempt. */
|
|
191496
|
+
action_attempt_id: string;
|
|
191497
|
+
status: 'pending';
|
|
191498
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
191499
|
+
result: null;
|
|
191500
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
191501
|
+
error: null;
|
|
191502
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
191503
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
191504
|
+
} | {
|
|
191505
|
+
/** ID of the action attempt. */
|
|
191506
|
+
action_attempt_id: string;
|
|
191507
|
+
status: 'success';
|
|
191508
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
191509
|
+
error: null;
|
|
191510
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
191511
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
191512
|
+
/** Result of the action. */
|
|
191513
|
+
result: {};
|
|
191514
|
+
} | {
|
|
191515
|
+
/** ID of the action attempt. */
|
|
191516
|
+
action_attempt_id: string;
|
|
191517
|
+
status: 'error';
|
|
191518
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
191519
|
+
result: null;
|
|
191520
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
191521
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
191522
|
+
/** Error associated with the action. */
|
|
191523
|
+
error: {
|
|
191524
|
+
/** Type of the error. */
|
|
191525
|
+
type: string;
|
|
191526
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
191527
|
+
message: string;
|
|
191528
|
+
};
|
|
189157
191529
|
} | {
|
|
189158
191530
|
/** ID of the action attempt. */
|
|
189159
191531
|
action_attempt_id: string;
|
|
@@ -190506,6 +192878,41 @@ type Routes = {
|
|
|
190506
192878
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
190507
192879
|
message: string;
|
|
190508
192880
|
};
|
|
192881
|
+
} | {
|
|
192882
|
+
/** ID of the action attempt. */
|
|
192883
|
+
action_attempt_id: string;
|
|
192884
|
+
status: 'pending';
|
|
192885
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
192886
|
+
result: null;
|
|
192887
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
192888
|
+
error: null;
|
|
192889
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
192890
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
192891
|
+
} | {
|
|
192892
|
+
/** ID of the action attempt. */
|
|
192893
|
+
action_attempt_id: string;
|
|
192894
|
+
status: 'success';
|
|
192895
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
192896
|
+
error: null;
|
|
192897
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
192898
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
192899
|
+
/** Result of the action. */
|
|
192900
|
+
result: {};
|
|
192901
|
+
} | {
|
|
192902
|
+
/** ID of the action attempt. */
|
|
192903
|
+
action_attempt_id: string;
|
|
192904
|
+
status: 'error';
|
|
192905
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
192906
|
+
result: null;
|
|
192907
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
192908
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
192909
|
+
/** Error associated with the action. */
|
|
192910
|
+
error: {
|
|
192911
|
+
/** Type of the error. */
|
|
192912
|
+
type: string;
|
|
192913
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
192914
|
+
message: string;
|
|
192915
|
+
};
|
|
190509
192916
|
} | {
|
|
190510
192917
|
/** ID of the action attempt. */
|
|
190511
192918
|
action_attempt_id: string;
|
|
@@ -192752,6 +195159,41 @@ type Routes = {
|
|
|
192752
195159
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
192753
195160
|
message: string;
|
|
192754
195161
|
};
|
|
195162
|
+
} | {
|
|
195163
|
+
/** ID of the action attempt. */
|
|
195164
|
+
action_attempt_id: string;
|
|
195165
|
+
status: 'pending';
|
|
195166
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
195167
|
+
result: null;
|
|
195168
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
195169
|
+
error: null;
|
|
195170
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
195171
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
195172
|
+
} | {
|
|
195173
|
+
/** ID of the action attempt. */
|
|
195174
|
+
action_attempt_id: string;
|
|
195175
|
+
status: 'success';
|
|
195176
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
195177
|
+
error: null;
|
|
195178
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
195179
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
195180
|
+
/** Result of the action. */
|
|
195181
|
+
result: {};
|
|
195182
|
+
} | {
|
|
195183
|
+
/** ID of the action attempt. */
|
|
195184
|
+
action_attempt_id: string;
|
|
195185
|
+
status: 'error';
|
|
195186
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
195187
|
+
result: null;
|
|
195188
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
195189
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
195190
|
+
/** Error associated with the action. */
|
|
195191
|
+
error: {
|
|
195192
|
+
/** Type of the error. */
|
|
195193
|
+
type: string;
|
|
195194
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
195195
|
+
message: string;
|
|
195196
|
+
};
|
|
192755
195197
|
} | {
|
|
192756
195198
|
/** ID of the action attempt. */
|
|
192757
195199
|
action_attempt_id: string;
|
|
@@ -198641,6 +201083,8 @@ type Routes = {
|
|
|
198641
201083
|
incomplete_keyboard_passcode: boolean;
|
|
198642
201084
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
198643
201085
|
wifi: boolean;
|
|
201086
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
201087
|
+
auto_lock_time_config: boolean;
|
|
198644
201088
|
};
|
|
198645
201089
|
/** Indicates whether a TTLock device has a gateway. */
|
|
198646
201090
|
has_gateway?: boolean | undefined;
|
|
@@ -198930,6 +201374,10 @@ type Routes = {
|
|
|
198930
201374
|
} | undefined) | undefined;
|
|
198931
201375
|
/** Indicates whether the door is open. */
|
|
198932
201376
|
door_open?: (boolean | undefined) | undefined;
|
|
201377
|
+
/** Indicates whether automatic locking is enabled. */
|
|
201378
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
201379
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
201380
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
198933
201381
|
} & {
|
|
198934
201382
|
/** Reported temperature in °F. */
|
|
198935
201383
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -199576,6 +202024,7 @@ type Routes = {
|
|
|
199576
202024
|
can_simulate_hub_connection?: boolean | undefined;
|
|
199577
202025
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
199578
202026
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
202027
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
199579
202028
|
}[] | undefined;
|
|
199580
202029
|
acs_entrances?: {
|
|
199581
202030
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -201213,6 +203662,41 @@ type Routes = {
|
|
|
201213
203662
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
201214
203663
|
message: string;
|
|
201215
203664
|
};
|
|
203665
|
+
} | {
|
|
203666
|
+
/** ID of the action attempt. */
|
|
203667
|
+
action_attempt_id: string;
|
|
203668
|
+
status: 'pending';
|
|
203669
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
203670
|
+
result: null;
|
|
203671
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
203672
|
+
error: null;
|
|
203673
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
203674
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
203675
|
+
} | {
|
|
203676
|
+
/** ID of the action attempt. */
|
|
203677
|
+
action_attempt_id: string;
|
|
203678
|
+
status: 'success';
|
|
203679
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
203680
|
+
error: null;
|
|
203681
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
203682
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
203683
|
+
/** Result of the action. */
|
|
203684
|
+
result: {};
|
|
203685
|
+
} | {
|
|
203686
|
+
/** ID of the action attempt. */
|
|
203687
|
+
action_attempt_id: string;
|
|
203688
|
+
status: 'error';
|
|
203689
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
203690
|
+
result: null;
|
|
203691
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
203692
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
203693
|
+
/** Error associated with the action. */
|
|
203694
|
+
error: {
|
|
203695
|
+
/** Type of the error. */
|
|
203696
|
+
type: string;
|
|
203697
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
203698
|
+
message: string;
|
|
203699
|
+
};
|
|
201216
203700
|
} | {
|
|
201217
203701
|
/** ID of the action attempt. */
|
|
201218
203702
|
action_attempt_id: string;
|
|
@@ -202494,6 +204978,41 @@ type Routes = {
|
|
|
202494
204978
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
202495
204979
|
message: string;
|
|
202496
204980
|
};
|
|
204981
|
+
} | {
|
|
204982
|
+
/** ID of the action attempt. */
|
|
204983
|
+
action_attempt_id: string;
|
|
204984
|
+
status: 'pending';
|
|
204985
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
204986
|
+
result: null;
|
|
204987
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
204988
|
+
error: null;
|
|
204989
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
204990
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
204991
|
+
} | {
|
|
204992
|
+
/** ID of the action attempt. */
|
|
204993
|
+
action_attempt_id: string;
|
|
204994
|
+
status: 'success';
|
|
204995
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
204996
|
+
error: null;
|
|
204997
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
204998
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
204999
|
+
/** Result of the action. */
|
|
205000
|
+
result: {};
|
|
205001
|
+
} | {
|
|
205002
|
+
/** ID of the action attempt. */
|
|
205003
|
+
action_attempt_id: string;
|
|
205004
|
+
status: 'error';
|
|
205005
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
205006
|
+
result: null;
|
|
205007
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
205008
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
205009
|
+
/** Error associated with the action. */
|
|
205010
|
+
error: {
|
|
205011
|
+
/** Type of the error. */
|
|
205012
|
+
type: string;
|
|
205013
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
205014
|
+
message: string;
|
|
205015
|
+
};
|
|
202497
205016
|
} | {
|
|
202498
205017
|
/** ID of the action attempt. */
|
|
202499
205018
|
action_attempt_id: string;
|
|
@@ -203881,6 +206400,41 @@ type Routes = {
|
|
|
203881
206400
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
203882
206401
|
message: string;
|
|
203883
206402
|
};
|
|
206403
|
+
} | {
|
|
206404
|
+
/** ID of the action attempt. */
|
|
206405
|
+
action_attempt_id: string;
|
|
206406
|
+
status: 'pending';
|
|
206407
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
206408
|
+
result: null;
|
|
206409
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
206410
|
+
error: null;
|
|
206411
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
206412
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
206413
|
+
} | {
|
|
206414
|
+
/** ID of the action attempt. */
|
|
206415
|
+
action_attempt_id: string;
|
|
206416
|
+
status: 'success';
|
|
206417
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
206418
|
+
error: null;
|
|
206419
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
206420
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
206421
|
+
/** Result of the action. */
|
|
206422
|
+
result: {};
|
|
206423
|
+
} | {
|
|
206424
|
+
/** ID of the action attempt. */
|
|
206425
|
+
action_attempt_id: string;
|
|
206426
|
+
status: 'error';
|
|
206427
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
206428
|
+
result: null;
|
|
206429
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
206430
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
206431
|
+
/** Error associated with the action. */
|
|
206432
|
+
error: {
|
|
206433
|
+
/** Type of the error. */
|
|
206434
|
+
type: string;
|
|
206435
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
206436
|
+
message: string;
|
|
206437
|
+
};
|
|
203884
206438
|
} | {
|
|
203885
206439
|
/** ID of the action attempt. */
|
|
203886
206440
|
action_attempt_id: string;
|
|
@@ -204547,6 +207101,8 @@ type Routes = {
|
|
|
204547
207101
|
incomplete_keyboard_passcode: boolean;
|
|
204548
207102
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
204549
207103
|
wifi: boolean;
|
|
207104
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
207105
|
+
auto_lock_time_config: boolean;
|
|
204550
207106
|
};
|
|
204551
207107
|
/** Indicates whether a TTLock device has a gateway. */
|
|
204552
207108
|
has_gateway?: boolean | undefined;
|
|
@@ -204836,6 +207392,10 @@ type Routes = {
|
|
|
204836
207392
|
} | undefined) | undefined;
|
|
204837
207393
|
/** Indicates whether the door is open. */
|
|
204838
207394
|
door_open?: (boolean | undefined) | undefined;
|
|
207395
|
+
/** Indicates whether automatic locking is enabled. */
|
|
207396
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
207397
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
207398
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
204839
207399
|
} & {
|
|
204840
207400
|
/** Reported temperature in °F. */
|
|
204841
207401
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -205482,6 +208042,7 @@ type Routes = {
|
|
|
205482
208042
|
can_simulate_hub_connection?: boolean | undefined;
|
|
205483
208043
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
205484
208044
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
208045
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
205485
208046
|
};
|
|
205486
208047
|
};
|
|
205487
208048
|
maxDuration: undefined;
|
|
@@ -206506,6 +209067,41 @@ type Routes = {
|
|
|
206506
209067
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
206507
209068
|
message: string;
|
|
206508
209069
|
};
|
|
209070
|
+
} | {
|
|
209071
|
+
/** ID of the action attempt. */
|
|
209072
|
+
action_attempt_id: string;
|
|
209073
|
+
status: 'pending';
|
|
209074
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
209075
|
+
result: null;
|
|
209076
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
209077
|
+
error: null;
|
|
209078
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
209079
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
209080
|
+
} | {
|
|
209081
|
+
/** ID of the action attempt. */
|
|
209082
|
+
action_attempt_id: string;
|
|
209083
|
+
status: 'success';
|
|
209084
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
209085
|
+
error: null;
|
|
209086
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
209087
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
209088
|
+
/** Result of the action. */
|
|
209089
|
+
result: {};
|
|
209090
|
+
} | {
|
|
209091
|
+
/** ID of the action attempt. */
|
|
209092
|
+
action_attempt_id: string;
|
|
209093
|
+
status: 'error';
|
|
209094
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
209095
|
+
result: null;
|
|
209096
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
209097
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
209098
|
+
/** Error associated with the action. */
|
|
209099
|
+
error: {
|
|
209100
|
+
/** Type of the error. */
|
|
209101
|
+
type: string;
|
|
209102
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
209103
|
+
message: string;
|
|
209104
|
+
};
|
|
206509
209105
|
} | {
|
|
206510
209106
|
/** ID of the action attempt. */
|
|
206511
209107
|
action_attempt_id: string;
|
|
@@ -207791,6 +210387,41 @@ type Routes = {
|
|
|
207791
210387
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
207792
210388
|
message: string;
|
|
207793
210389
|
};
|
|
210390
|
+
} | {
|
|
210391
|
+
/** ID of the action attempt. */
|
|
210392
|
+
action_attempt_id: string;
|
|
210393
|
+
status: 'pending';
|
|
210394
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
210395
|
+
result: null;
|
|
210396
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
210397
|
+
error: null;
|
|
210398
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
210399
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
210400
|
+
} | {
|
|
210401
|
+
/** ID of the action attempt. */
|
|
210402
|
+
action_attempt_id: string;
|
|
210403
|
+
status: 'success';
|
|
210404
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
210405
|
+
error: null;
|
|
210406
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
210407
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
210408
|
+
/** Result of the action. */
|
|
210409
|
+
result: {};
|
|
210410
|
+
} | {
|
|
210411
|
+
/** ID of the action attempt. */
|
|
210412
|
+
action_attempt_id: string;
|
|
210413
|
+
status: 'error';
|
|
210414
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
210415
|
+
result: null;
|
|
210416
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
210417
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
210418
|
+
/** Error associated with the action. */
|
|
210419
|
+
error: {
|
|
210420
|
+
/** Type of the error. */
|
|
210421
|
+
type: string;
|
|
210422
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
210423
|
+
message: string;
|
|
210424
|
+
};
|
|
207794
210425
|
} | {
|
|
207795
210426
|
/** ID of the action attempt. */
|
|
207796
210427
|
action_attempt_id: string;
|
|
@@ -208087,9 +210718,9 @@ type Routes = {
|
|
|
208087
210718
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
208088
210719
|
page_cursor?: (string | undefined) | null;
|
|
208089
210720
|
/** */
|
|
208090
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
210721
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
208091
210722
|
/** */
|
|
208092
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
|
|
210723
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
|
|
208093
210724
|
/**
|
|
208094
210725
|
* @deprecated Use `space_id`.*/
|
|
208095
210726
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -208476,6 +211107,8 @@ type Routes = {
|
|
|
208476
211107
|
incomplete_keyboard_passcode: boolean;
|
|
208477
211108
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
208478
211109
|
wifi: boolean;
|
|
211110
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
211111
|
+
auto_lock_time_config: boolean;
|
|
208479
211112
|
};
|
|
208480
211113
|
/** Indicates whether a TTLock device has a gateway. */
|
|
208481
211114
|
has_gateway?: boolean | undefined;
|
|
@@ -208765,6 +211398,10 @@ type Routes = {
|
|
|
208765
211398
|
} | undefined) | undefined;
|
|
208766
211399
|
/** Indicates whether the door is open. */
|
|
208767
211400
|
door_open?: (boolean | undefined) | undefined;
|
|
211401
|
+
/** Indicates whether automatic locking is enabled. */
|
|
211402
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
211403
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
211404
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
208768
211405
|
} & {
|
|
208769
211406
|
/** Reported temperature in °F. */
|
|
208770
211407
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -209411,6 +212048,7 @@ type Routes = {
|
|
|
209411
212048
|
can_simulate_hub_connection?: boolean | undefined;
|
|
209412
212049
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
209413
212050
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
212051
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
209414
212052
|
}[];
|
|
209415
212053
|
devices: {
|
|
209416
212054
|
/** ID of the device. */
|
|
@@ -209788,6 +212426,8 @@ type Routes = {
|
|
|
209788
212426
|
incomplete_keyboard_passcode: boolean;
|
|
209789
212427
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
209790
212428
|
wifi: boolean;
|
|
212429
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
212430
|
+
auto_lock_time_config: boolean;
|
|
209791
212431
|
};
|
|
209792
212432
|
/** Indicates whether a TTLock device has a gateway. */
|
|
209793
212433
|
has_gateway?: boolean | undefined;
|
|
@@ -210077,6 +212717,10 @@ type Routes = {
|
|
|
210077
212717
|
} | undefined) | undefined;
|
|
210078
212718
|
/** Indicates whether the door is open. */
|
|
210079
212719
|
door_open?: (boolean | undefined) | undefined;
|
|
212720
|
+
/** Indicates whether automatic locking is enabled. */
|
|
212721
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
212722
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
212723
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
210080
212724
|
} & {
|
|
210081
212725
|
/** Reported temperature in °F. */
|
|
210082
212726
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -210723,6 +213367,7 @@ type Routes = {
|
|
|
210723
213367
|
can_simulate_hub_connection?: boolean | undefined;
|
|
210724
213368
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
210725
213369
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
213370
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
210726
213371
|
}[];
|
|
210727
213372
|
};
|
|
210728
213373
|
maxDuration: undefined;
|
|
@@ -211743,6 +214388,41 @@ type Routes = {
|
|
|
211743
214388
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
211744
214389
|
message: string;
|
|
211745
214390
|
};
|
|
214391
|
+
} | {
|
|
214392
|
+
/** ID of the action attempt. */
|
|
214393
|
+
action_attempt_id: string;
|
|
214394
|
+
status: 'pending';
|
|
214395
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
214396
|
+
result: null;
|
|
214397
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
214398
|
+
error: null;
|
|
214399
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
214400
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
214401
|
+
} | {
|
|
214402
|
+
/** ID of the action attempt. */
|
|
214403
|
+
action_attempt_id: string;
|
|
214404
|
+
status: 'success';
|
|
214405
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
214406
|
+
error: null;
|
|
214407
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
214408
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
214409
|
+
/** Result of the action. */
|
|
214410
|
+
result: {};
|
|
214411
|
+
} | {
|
|
214412
|
+
/** ID of the action attempt. */
|
|
214413
|
+
action_attempt_id: string;
|
|
214414
|
+
status: 'error';
|
|
214415
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
214416
|
+
result: null;
|
|
214417
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
214418
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
214419
|
+
/** Error associated with the action. */
|
|
214420
|
+
error: {
|
|
214421
|
+
/** Type of the error. */
|
|
214422
|
+
type: string;
|
|
214423
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
214424
|
+
message: string;
|
|
214425
|
+
};
|
|
211746
214426
|
} | {
|
|
211747
214427
|
/** ID of the action attempt. */
|
|
211748
214428
|
action_attempt_id: string;
|
|
@@ -213223,6 +215903,41 @@ type Routes = {
|
|
|
213223
215903
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
213224
215904
|
message: string;
|
|
213225
215905
|
};
|
|
215906
|
+
} | {
|
|
215907
|
+
/** ID of the action attempt. */
|
|
215908
|
+
action_attempt_id: string;
|
|
215909
|
+
status: 'pending';
|
|
215910
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
215911
|
+
result: null;
|
|
215912
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
215913
|
+
error: null;
|
|
215914
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
215915
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
215916
|
+
} | {
|
|
215917
|
+
/** ID of the action attempt. */
|
|
215918
|
+
action_attempt_id: string;
|
|
215919
|
+
status: 'success';
|
|
215920
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
215921
|
+
error: null;
|
|
215922
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
215923
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
215924
|
+
/** Result of the action. */
|
|
215925
|
+
result: {};
|
|
215926
|
+
} | {
|
|
215927
|
+
/** ID of the action attempt. */
|
|
215928
|
+
action_attempt_id: string;
|
|
215929
|
+
status: 'error';
|
|
215930
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
215931
|
+
result: null;
|
|
215932
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
215933
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
215934
|
+
/** Error associated with the action. */
|
|
215935
|
+
error: {
|
|
215936
|
+
/** Type of the error. */
|
|
215937
|
+
type: string;
|
|
215938
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
215939
|
+
message: string;
|
|
215940
|
+
};
|
|
213226
215941
|
} | {
|
|
213227
215942
|
/** ID of the action attempt. */
|
|
213228
215943
|
action_attempt_id: string;
|
|
@@ -214531,6 +217246,41 @@ type Routes = {
|
|
|
214531
217246
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
214532
217247
|
message: string;
|
|
214533
217248
|
};
|
|
217249
|
+
} | {
|
|
217250
|
+
/** ID of the action attempt. */
|
|
217251
|
+
action_attempt_id: string;
|
|
217252
|
+
status: 'pending';
|
|
217253
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
217254
|
+
result: null;
|
|
217255
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
217256
|
+
error: null;
|
|
217257
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
217258
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
217259
|
+
} | {
|
|
217260
|
+
/** ID of the action attempt. */
|
|
217261
|
+
action_attempt_id: string;
|
|
217262
|
+
status: 'success';
|
|
217263
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
217264
|
+
error: null;
|
|
217265
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
217266
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
217267
|
+
/** Result of the action. */
|
|
217268
|
+
result: {};
|
|
217269
|
+
} | {
|
|
217270
|
+
/** ID of the action attempt. */
|
|
217271
|
+
action_attempt_id: string;
|
|
217272
|
+
status: 'error';
|
|
217273
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
217274
|
+
result: null;
|
|
217275
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
217276
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
217277
|
+
/** Error associated with the action. */
|
|
217278
|
+
error: {
|
|
217279
|
+
/** Type of the error. */
|
|
217280
|
+
type: string;
|
|
217281
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
217282
|
+
message: string;
|
|
217283
|
+
};
|
|
214534
217284
|
} | {
|
|
214535
217285
|
/** ID of the action attempt. */
|
|
214536
217286
|
action_attempt_id: string;
|
|
@@ -215951,6 +218701,41 @@ type Routes = {
|
|
|
215951
218701
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
215952
218702
|
message: string;
|
|
215953
218703
|
};
|
|
218704
|
+
} | {
|
|
218705
|
+
/** ID of the action attempt. */
|
|
218706
|
+
action_attempt_id: string;
|
|
218707
|
+
status: 'pending';
|
|
218708
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
218709
|
+
result: null;
|
|
218710
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
218711
|
+
error: null;
|
|
218712
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
218713
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
218714
|
+
} | {
|
|
218715
|
+
/** ID of the action attempt. */
|
|
218716
|
+
action_attempt_id: string;
|
|
218717
|
+
status: 'success';
|
|
218718
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
218719
|
+
error: null;
|
|
218720
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
218721
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
218722
|
+
/** Result of the action. */
|
|
218723
|
+
result: {};
|
|
218724
|
+
} | {
|
|
218725
|
+
/** ID of the action attempt. */
|
|
218726
|
+
action_attempt_id: string;
|
|
218727
|
+
status: 'error';
|
|
218728
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
218729
|
+
result: null;
|
|
218730
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
218731
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
218732
|
+
/** Error associated with the action. */
|
|
218733
|
+
error: {
|
|
218734
|
+
/** Type of the error. */
|
|
218735
|
+
type: string;
|
|
218736
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
218737
|
+
message: string;
|
|
218738
|
+
};
|
|
215954
218739
|
} | {
|
|
215955
218740
|
/** ID of the action attempt. */
|
|
215956
218741
|
action_attempt_id: string;
|
|
@@ -217146,6 +219931,8 @@ type Routes = {
|
|
|
217146
219931
|
incomplete_keyboard_passcode: boolean;
|
|
217147
219932
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
217148
219933
|
wifi: boolean;
|
|
219934
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
219935
|
+
auto_lock_time_config: boolean;
|
|
217149
219936
|
};
|
|
217150
219937
|
/** Indicates whether a TTLock device has a gateway. */
|
|
217151
219938
|
has_gateway?: boolean | undefined;
|
|
@@ -217435,6 +220222,10 @@ type Routes = {
|
|
|
217435
220222
|
} | undefined) | undefined;
|
|
217436
220223
|
/** Indicates whether the door is open. */
|
|
217437
220224
|
door_open?: (boolean | undefined) | undefined;
|
|
220225
|
+
/** Indicates whether automatic locking is enabled. */
|
|
220226
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
220227
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
220228
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
217438
220229
|
} & {
|
|
217439
220230
|
/** Reported temperature in °F. */
|
|
217440
220231
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -218081,6 +220872,7 @@ type Routes = {
|
|
|
218081
220872
|
can_simulate_hub_connection?: boolean | undefined;
|
|
218082
220873
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
218083
220874
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
220875
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
218084
220876
|
}[];
|
|
218085
220877
|
/**
|
|
218086
220878
|
* @deprecated Use devices.*/
|
|
@@ -218460,6 +221252,8 @@ type Routes = {
|
|
|
218460
221252
|
incomplete_keyboard_passcode: boolean;
|
|
218461
221253
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
218462
221254
|
wifi: boolean;
|
|
221255
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
221256
|
+
auto_lock_time_config: boolean;
|
|
218463
221257
|
};
|
|
218464
221258
|
/** Indicates whether a TTLock device has a gateway. */
|
|
218465
221259
|
has_gateway?: boolean | undefined;
|
|
@@ -218749,6 +221543,10 @@ type Routes = {
|
|
|
218749
221543
|
} | undefined) | undefined;
|
|
218750
221544
|
/** Indicates whether the door is open. */
|
|
218751
221545
|
door_open?: (boolean | undefined) | undefined;
|
|
221546
|
+
/** Indicates whether automatic locking is enabled. */
|
|
221547
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
221548
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
221549
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
218752
221550
|
} & {
|
|
218753
221551
|
/** Reported temperature in °F. */
|
|
218754
221552
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -219395,6 +222193,7 @@ type Routes = {
|
|
|
219395
222193
|
can_simulate_hub_connection?: boolean | undefined;
|
|
219396
222194
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
219397
222195
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
222196
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
219398
222197
|
}[];
|
|
219399
222198
|
};
|
|
219400
222199
|
maxDuration: undefined;
|
|
@@ -220752,6 +223551,8 @@ type Routes = {
|
|
|
220752
223551
|
incomplete_keyboard_passcode: boolean;
|
|
220753
223552
|
/** Indicates whether a TTLock device supports Wi-Fi. */
|
|
220754
223553
|
wifi: boolean;
|
|
223554
|
+
/** Indicates whether a TTLock device supports auto-lock time configuration. */
|
|
223555
|
+
auto_lock_time_config: boolean;
|
|
220755
223556
|
};
|
|
220756
223557
|
/** Indicates whether a TTLock device has a gateway. */
|
|
220757
223558
|
has_gateway?: boolean | undefined;
|
|
@@ -221041,6 +223842,10 @@ type Routes = {
|
|
|
221041
223842
|
} | undefined) | undefined;
|
|
221042
223843
|
/** Indicates whether the door is open. */
|
|
221043
223844
|
door_open?: (boolean | undefined) | undefined;
|
|
223845
|
+
/** Indicates whether automatic locking is enabled. */
|
|
223846
|
+
auto_lock_enabled?: (boolean | undefined) | undefined;
|
|
223847
|
+
/** The delay in seconds before the lock automatically locks after being unlocked. */
|
|
223848
|
+
auto_lock_delay_seconds?: (number | undefined) | undefined;
|
|
221044
223849
|
} & {
|
|
221045
223850
|
/** Reported temperature in °F. */
|
|
221046
223851
|
temperature_fahrenheit?: number | undefined;
|
|
@@ -221687,6 +224492,7 @@ type Routes = {
|
|
|
221687
224492
|
can_simulate_hub_connection?: boolean | undefined;
|
|
221688
224493
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
221689
224494
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
224495
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
221690
224496
|
}[] | undefined;
|
|
221691
224497
|
acs_entrances?: {
|
|
221692
224498
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -223348,6 +226154,41 @@ type Routes = {
|
|
|
223348
226154
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
223349
226155
|
message: string;
|
|
223350
226156
|
};
|
|
226157
|
+
} | {
|
|
226158
|
+
/** ID of the action attempt. */
|
|
226159
|
+
action_attempt_id: string;
|
|
226160
|
+
status: 'pending';
|
|
226161
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
226162
|
+
result: null;
|
|
226163
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
226164
|
+
error: null;
|
|
226165
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
226166
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
226167
|
+
} | {
|
|
226168
|
+
/** ID of the action attempt. */
|
|
226169
|
+
action_attempt_id: string;
|
|
226170
|
+
status: 'success';
|
|
226171
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
226172
|
+
error: null;
|
|
226173
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
226174
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
226175
|
+
/** Result of the action. */
|
|
226176
|
+
result: {};
|
|
226177
|
+
} | {
|
|
226178
|
+
/** ID of the action attempt. */
|
|
226179
|
+
action_attempt_id: string;
|
|
226180
|
+
status: 'error';
|
|
226181
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
226182
|
+
result: null;
|
|
226183
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
226184
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
226185
|
+
/** Error associated with the action. */
|
|
226186
|
+
error: {
|
|
226187
|
+
/** Type of the error. */
|
|
226188
|
+
type: string;
|
|
226189
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
226190
|
+
message: string;
|
|
226191
|
+
};
|
|
223351
226192
|
} | {
|
|
223352
226193
|
/** ID of the action attempt. */
|
|
223353
226194
|
action_attempt_id: string;
|
|
@@ -224451,6 +227292,7 @@ type Routes = {
|
|
|
224451
227292
|
can_simulate_hub_connection?: boolean | undefined;
|
|
224452
227293
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
224453
227294
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
227295
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
224454
227296
|
}[] | undefined;
|
|
224455
227297
|
connect_webviews?: {
|
|
224456
227298
|
/** ID of the Connect Webview. */
|
|
@@ -230153,6 +232995,41 @@ type Routes = {
|
|
|
230153
232995
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
230154
232996
|
message: string;
|
|
230155
232997
|
};
|
|
232998
|
+
} | {
|
|
232999
|
+
/** ID of the action attempt. */
|
|
233000
|
+
action_attempt_id: string;
|
|
233001
|
+
status: 'pending';
|
|
233002
|
+
/** Result of the action attempt. Null for pending action attempts. */
|
|
233003
|
+
result: null;
|
|
233004
|
+
/** Errors associated with the action attempt. Null for pending action attempts. */
|
|
233005
|
+
error: null;
|
|
233006
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
233007
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
233008
|
+
} | {
|
|
233009
|
+
/** ID of the action attempt. */
|
|
233010
|
+
action_attempt_id: string;
|
|
233011
|
+
status: 'success';
|
|
233012
|
+
/** Errors associated with the action attempt. Null for successful action attempts. */
|
|
233013
|
+
error: null;
|
|
233014
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
233015
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
233016
|
+
/** Result of the action. */
|
|
233017
|
+
result: {};
|
|
233018
|
+
} | {
|
|
233019
|
+
/** ID of the action attempt. */
|
|
233020
|
+
action_attempt_id: string;
|
|
233021
|
+
status: 'error';
|
|
233022
|
+
/** Result of the action attempt. Null for failed action attempts. */
|
|
233023
|
+
result: null;
|
|
233024
|
+
/** Action attempt to track the status of configuring the auto-lock on a lock. */
|
|
233025
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
233026
|
+
/** Error associated with the action. */
|
|
233027
|
+
error: {
|
|
233028
|
+
/** Type of the error. */
|
|
233029
|
+
type: string;
|
|
233030
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
233031
|
+
message: string;
|
|
233032
|
+
};
|
|
230156
233033
|
} | {
|
|
230157
233034
|
/** ID of the action attempt. */
|
|
230158
233035
|
action_attempt_id: string;
|