@seamapi/types 1.464.0 → 1.464.3
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/LICENSE.txt +1 -1
- package/dist/connect.d.cts +2793 -2269
- package/dist/devicedb.d.cts +0 -4
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-system.d.ts +6 -6
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
- package/lib/seam/connect/models/batch.d.ts +2564 -2564
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +12 -12
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
- package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
- package/lib/seam/connect/models/devices/device.d.ts +132 -132
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -100
- package/lib/seam/connect/models/events/devices.d.ts +16 -16
- package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
- package/lib/seam/connect/models/locations/location.d.ts +2 -2
- package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
- package/lib/seam/connect/openapi.js +6 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2793 -2269
- package/lib/seam/devicedb/models/device-model.d.ts +116 -116
- package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
- package/lib/seam/devicedb/route-specs.d.ts +210 -214
- package/package.json +12 -13
- package/src/lib/seam/connect/route-types.ts +3007 -2362
|
@@ -8,15 +8,15 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
8
8
|
} & {
|
|
9
9
|
action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
error: null;
|
|
12
11
|
status: "pending";
|
|
13
12
|
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
14
|
result: null;
|
|
15
15
|
action_type: "ENCODE_CREDENTIAL";
|
|
16
16
|
}, {
|
|
17
|
-
error: null;
|
|
18
17
|
status: "pending";
|
|
19
18
|
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
20
|
result: null;
|
|
21
21
|
action_type: "ENCODE_CREDENTIAL";
|
|
22
22
|
}>, z.ZodObject<{
|
|
@@ -646,9 +646,9 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
646
646
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
647
647
|
}>]>;
|
|
648
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
error: null;
|
|
650
649
|
status: "success";
|
|
651
650
|
action_attempt_id: string;
|
|
651
|
+
error: null;
|
|
652
652
|
result: {
|
|
653
653
|
display_name: string;
|
|
654
654
|
workspace_id: string;
|
|
@@ -796,9 +796,9 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
796
796
|
};
|
|
797
797
|
action_type: "ENCODE_CREDENTIAL";
|
|
798
798
|
}, {
|
|
799
|
-
error: null;
|
|
800
799
|
status: "success";
|
|
801
800
|
action_attempt_id: string;
|
|
801
|
+
error: null;
|
|
802
802
|
result: {
|
|
803
803
|
display_name: string;
|
|
804
804
|
workspace_id: string;
|
|
@@ -956,88 +956,88 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
956
956
|
type: z.ZodLiteral<"uncategorized_error">;
|
|
957
957
|
message: z.ZodString;
|
|
958
958
|
}, "strip", z.ZodTypeAny, {
|
|
959
|
-
type: "uncategorized_error";
|
|
960
959
|
message: string;
|
|
961
|
-
}, {
|
|
962
960
|
type: "uncategorized_error";
|
|
961
|
+
}, {
|
|
963
962
|
message: string;
|
|
963
|
+
type: "uncategorized_error";
|
|
964
964
|
}>, z.ZodObject<{
|
|
965
965
|
type: z.ZodLiteral<"action_attempt_expired">;
|
|
966
966
|
message: z.ZodString;
|
|
967
967
|
}, "strip", z.ZodTypeAny, {
|
|
968
|
-
type: "action_attempt_expired";
|
|
969
968
|
message: string;
|
|
970
|
-
}, {
|
|
971
969
|
type: "action_attempt_expired";
|
|
970
|
+
}, {
|
|
972
971
|
message: string;
|
|
972
|
+
type: "action_attempt_expired";
|
|
973
973
|
}>, z.ZodObject<{
|
|
974
974
|
type: z.ZodLiteral<"no_credential_on_encoder">;
|
|
975
975
|
message: z.ZodString;
|
|
976
976
|
}, "strip", z.ZodTypeAny, {
|
|
977
|
-
type: "no_credential_on_encoder";
|
|
978
977
|
message: string;
|
|
979
|
-
}, {
|
|
980
978
|
type: "no_credential_on_encoder";
|
|
979
|
+
}, {
|
|
981
980
|
message: string;
|
|
981
|
+
type: "no_credential_on_encoder";
|
|
982
982
|
}>, z.ZodObject<{
|
|
983
983
|
type: z.ZodLiteral<"incompatible_card_format">;
|
|
984
984
|
message: z.ZodString;
|
|
985
985
|
}, "strip", z.ZodTypeAny, {
|
|
986
|
-
type: "incompatible_card_format";
|
|
987
986
|
message: string;
|
|
988
|
-
}, {
|
|
989
987
|
type: "incompatible_card_format";
|
|
988
|
+
}, {
|
|
990
989
|
message: string;
|
|
990
|
+
type: "incompatible_card_format";
|
|
991
991
|
}>, z.ZodObject<{
|
|
992
992
|
type: z.ZodLiteral<"credential_cannot_be_reissued">;
|
|
993
993
|
message: z.ZodString;
|
|
994
994
|
}, "strip", z.ZodTypeAny, {
|
|
995
|
-
type: "credential_cannot_be_reissued";
|
|
996
995
|
message: string;
|
|
997
|
-
}, {
|
|
998
996
|
type: "credential_cannot_be_reissued";
|
|
997
|
+
}, {
|
|
999
998
|
message: string;
|
|
999
|
+
type: "credential_cannot_be_reissued";
|
|
1000
1000
|
}>]>;
|
|
1001
1001
|
}, "strip", z.ZodTypeAny, {
|
|
1002
|
+
status: "error";
|
|
1003
|
+
action_attempt_id: string;
|
|
1002
1004
|
error: {
|
|
1003
|
-
type: "uncategorized_error";
|
|
1004
1005
|
message: string;
|
|
1006
|
+
type: "uncategorized_error";
|
|
1005
1007
|
} | {
|
|
1006
|
-
type: "action_attempt_expired";
|
|
1007
1008
|
message: string;
|
|
1009
|
+
type: "action_attempt_expired";
|
|
1008
1010
|
} | {
|
|
1009
|
-
type: "no_credential_on_encoder";
|
|
1010
1011
|
message: string;
|
|
1012
|
+
type: "no_credential_on_encoder";
|
|
1011
1013
|
} | {
|
|
1012
|
-
type: "incompatible_card_format";
|
|
1013
1014
|
message: string;
|
|
1015
|
+
type: "incompatible_card_format";
|
|
1014
1016
|
} | {
|
|
1015
|
-
type: "credential_cannot_be_reissued";
|
|
1016
1017
|
message: string;
|
|
1018
|
+
type: "credential_cannot_be_reissued";
|
|
1017
1019
|
};
|
|
1018
|
-
status: "error";
|
|
1019
|
-
action_attempt_id: string;
|
|
1020
1020
|
result: null;
|
|
1021
1021
|
action_type: "ENCODE_CREDENTIAL";
|
|
1022
1022
|
}, {
|
|
1023
|
+
status: "error";
|
|
1024
|
+
action_attempt_id: string;
|
|
1023
1025
|
error: {
|
|
1024
|
-
type: "uncategorized_error";
|
|
1025
1026
|
message: string;
|
|
1027
|
+
type: "uncategorized_error";
|
|
1026
1028
|
} | {
|
|
1027
|
-
type: "action_attempt_expired";
|
|
1028
1029
|
message: string;
|
|
1030
|
+
type: "action_attempt_expired";
|
|
1029
1031
|
} | {
|
|
1030
|
-
type: "no_credential_on_encoder";
|
|
1031
1032
|
message: string;
|
|
1033
|
+
type: "no_credential_on_encoder";
|
|
1032
1034
|
} | {
|
|
1033
|
-
type: "incompatible_card_format";
|
|
1034
1035
|
message: string;
|
|
1036
|
+
type: "incompatible_card_format";
|
|
1035
1037
|
} | {
|
|
1036
|
-
type: "credential_cannot_be_reissued";
|
|
1037
1038
|
message: string;
|
|
1039
|
+
type: "credential_cannot_be_reissued";
|
|
1038
1040
|
};
|
|
1039
|
-
status: "error";
|
|
1040
|
-
action_attempt_id: string;
|
|
1041
1041
|
result: null;
|
|
1042
1042
|
action_type: "ENCODE_CREDENTIAL";
|
|
1043
1043
|
}>]>;
|
|
@@ -8,15 +8,15 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
8
8
|
} & {
|
|
9
9
|
action_type: z.ZodLiteral<"LOCK_DOOR">;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
error: null;
|
|
12
11
|
status: "pending";
|
|
13
12
|
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
14
|
result: null;
|
|
15
15
|
action_type: "LOCK_DOOR";
|
|
16
16
|
}, {
|
|
17
|
-
error: null;
|
|
18
17
|
status: "pending";
|
|
19
18
|
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
20
|
result: null;
|
|
21
21
|
action_type: "LOCK_DOOR";
|
|
22
22
|
}>, z.ZodObject<{
|
|
@@ -28,15 +28,15 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
28
28
|
action_type: z.ZodLiteral<"LOCK_DOOR">;
|
|
29
29
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
error: null;
|
|
32
31
|
status: "success";
|
|
33
32
|
action_attempt_id: string;
|
|
33
|
+
error: null;
|
|
34
34
|
result: {};
|
|
35
35
|
action_type: "LOCK_DOOR";
|
|
36
36
|
}, {
|
|
37
|
-
error: null;
|
|
38
37
|
status: "success";
|
|
39
38
|
action_attempt_id: string;
|
|
39
|
+
error: null;
|
|
40
40
|
result: {};
|
|
41
41
|
action_type: "LOCK_DOOR";
|
|
42
42
|
}>, z.ZodObject<{
|
|
@@ -50,28 +50,28 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
50
50
|
type: z.ZodString;
|
|
51
51
|
message: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
type: string;
|
|
54
53
|
message: string;
|
|
55
|
-
}, {
|
|
56
54
|
type: string;
|
|
55
|
+
}, {
|
|
57
56
|
message: string;
|
|
57
|
+
type: string;
|
|
58
58
|
}>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
status: "error";
|
|
61
|
+
action_attempt_id: string;
|
|
60
62
|
error: {
|
|
61
|
-
type: string;
|
|
62
63
|
message: string;
|
|
64
|
+
type: string;
|
|
63
65
|
};
|
|
64
|
-
status: "error";
|
|
65
|
-
action_attempt_id: string;
|
|
66
66
|
result: null;
|
|
67
67
|
action_type: "LOCK_DOOR";
|
|
68
68
|
}, {
|
|
69
|
+
status: "error";
|
|
70
|
+
action_attempt_id: string;
|
|
69
71
|
error: {
|
|
70
|
-
type: string;
|
|
71
72
|
message: string;
|
|
73
|
+
type: string;
|
|
72
74
|
};
|
|
73
|
-
status: "error";
|
|
74
|
-
action_attempt_id: string;
|
|
75
75
|
result: null;
|
|
76
76
|
action_type: "LOCK_DOOR";
|
|
77
77
|
}>]>;
|
|
@@ -8,15 +8,15 @@ export declare const push_thermostat_programs_action_attempt: z.ZodDiscriminated
|
|
|
8
8
|
} & {
|
|
9
9
|
action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
error: null;
|
|
12
11
|
status: "pending";
|
|
13
12
|
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
14
|
result: null;
|
|
15
15
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
16
16
|
}, {
|
|
17
|
-
error: null;
|
|
18
17
|
status: "pending";
|
|
19
18
|
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
20
|
result: null;
|
|
21
21
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
22
22
|
}>, z.ZodObject<{
|
|
@@ -28,15 +28,15 @@ export declare const push_thermostat_programs_action_attempt: z.ZodDiscriminated
|
|
|
28
28
|
action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
|
|
29
29
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
error: null;
|
|
32
31
|
status: "success";
|
|
33
32
|
action_attempt_id: string;
|
|
33
|
+
error: null;
|
|
34
34
|
result: {};
|
|
35
35
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
36
36
|
}, {
|
|
37
|
-
error: null;
|
|
38
37
|
status: "success";
|
|
39
38
|
action_attempt_id: string;
|
|
39
|
+
error: null;
|
|
40
40
|
result: {};
|
|
41
41
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
42
42
|
}>, z.ZodObject<{
|
|
@@ -50,28 +50,28 @@ export declare const push_thermostat_programs_action_attempt: z.ZodDiscriminated
|
|
|
50
50
|
type: z.ZodString;
|
|
51
51
|
message: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
type: string;
|
|
54
53
|
message: string;
|
|
55
|
-
}, {
|
|
56
54
|
type: string;
|
|
55
|
+
}, {
|
|
57
56
|
message: string;
|
|
57
|
+
type: string;
|
|
58
58
|
}>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
status: "error";
|
|
61
|
+
action_attempt_id: string;
|
|
60
62
|
error: {
|
|
61
|
-
type: string;
|
|
62
63
|
message: string;
|
|
64
|
+
type: string;
|
|
63
65
|
};
|
|
64
|
-
status: "error";
|
|
65
|
-
action_attempt_id: string;
|
|
66
66
|
result: null;
|
|
67
67
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
68
68
|
}, {
|
|
69
|
+
status: "error";
|
|
70
|
+
action_attempt_id: string;
|
|
69
71
|
error: {
|
|
70
|
-
type: string;
|
|
71
72
|
message: string;
|
|
73
|
+
type: string;
|
|
72
74
|
};
|
|
73
|
-
status: "error";
|
|
74
|
-
action_attempt_id: string;
|
|
75
75
|
result: null;
|
|
76
76
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
77
77
|
}>]>;
|
|
@@ -8,15 +8,15 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
|
|
|
8
8
|
} & {
|
|
9
9
|
action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
error: null;
|
|
12
11
|
status: "pending";
|
|
13
12
|
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
14
|
result: null;
|
|
15
15
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
16
16
|
}, {
|
|
17
|
-
error: null;
|
|
18
17
|
status: "pending";
|
|
19
18
|
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
20
|
result: null;
|
|
21
21
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
22
22
|
}>, z.ZodObject<{
|
|
@@ -28,15 +28,15 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
|
|
|
28
28
|
action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
|
|
29
29
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
error: null;
|
|
32
31
|
status: "success";
|
|
33
32
|
action_attempt_id: string;
|
|
33
|
+
error: null;
|
|
34
34
|
result: {};
|
|
35
35
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
36
36
|
}, {
|
|
37
|
-
error: null;
|
|
38
37
|
status: "success";
|
|
39
38
|
action_attempt_id: string;
|
|
39
|
+
error: null;
|
|
40
40
|
result: {};
|
|
41
41
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
42
42
|
}>, z.ZodObject<{
|
|
@@ -50,28 +50,28 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
|
|
|
50
50
|
type: z.ZodString;
|
|
51
51
|
message: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
type: string;
|
|
54
53
|
message: string;
|
|
55
|
-
}, {
|
|
56
54
|
type: string;
|
|
55
|
+
}, {
|
|
57
56
|
message: string;
|
|
57
|
+
type: string;
|
|
58
58
|
}>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
status: "error";
|
|
61
|
+
action_attempt_id: string;
|
|
60
62
|
error: {
|
|
61
|
-
type: string;
|
|
62
63
|
message: string;
|
|
64
|
+
type: string;
|
|
63
65
|
};
|
|
64
|
-
status: "error";
|
|
65
|
-
action_attempt_id: string;
|
|
66
66
|
result: null;
|
|
67
67
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
68
68
|
}, {
|
|
69
|
+
status: "error";
|
|
70
|
+
action_attempt_id: string;
|
|
69
71
|
error: {
|
|
70
|
-
type: string;
|
|
71
72
|
message: string;
|
|
73
|
+
type: string;
|
|
72
74
|
};
|
|
73
|
-
status: "error";
|
|
74
|
-
action_attempt_id: string;
|
|
75
75
|
result: null;
|
|
76
76
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
77
77
|
}>]>;
|
|
@@ -8,15 +8,15 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
8
8
|
} & {
|
|
9
9
|
action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
error: null;
|
|
12
11
|
status: "pending";
|
|
13
12
|
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
14
|
result: null;
|
|
15
15
|
action_type: "SCAN_CREDENTIAL";
|
|
16
16
|
}, {
|
|
17
|
-
error: null;
|
|
18
17
|
status: "pending";
|
|
19
18
|
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
20
|
result: null;
|
|
21
21
|
action_type: "SCAN_CREDENTIAL";
|
|
22
22
|
}>, z.ZodObject<{
|
|
@@ -47,10 +47,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
47
47
|
guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
48
48
|
common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
expired: boolean;
|
|
51
50
|
card_id: string;
|
|
52
51
|
cancelled: boolean;
|
|
53
52
|
discarded: boolean;
|
|
53
|
+
expired: boolean;
|
|
54
54
|
overwritten: boolean;
|
|
55
55
|
pending_auto_update: boolean;
|
|
56
56
|
card_format: "TLCode" | "rfid48";
|
|
@@ -60,10 +60,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
60
60
|
overridden?: boolean | undefined;
|
|
61
61
|
card_holder?: string | undefined;
|
|
62
62
|
}, {
|
|
63
|
-
expired: boolean;
|
|
64
63
|
card_id: string;
|
|
65
64
|
cancelled: boolean;
|
|
66
65
|
discarded: boolean;
|
|
66
|
+
expired: boolean;
|
|
67
67
|
overwritten: boolean;
|
|
68
68
|
pending_auto_update: boolean;
|
|
69
69
|
card_format: "TLCode" | "rfid48";
|
|
@@ -80,10 +80,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
80
80
|
is_issued: boolean | null;
|
|
81
81
|
card_number: string | null;
|
|
82
82
|
visionline_metadata?: {
|
|
83
|
-
expired: boolean;
|
|
84
83
|
card_id: string;
|
|
85
84
|
cancelled: boolean;
|
|
86
85
|
discarded: boolean;
|
|
86
|
+
expired: boolean;
|
|
87
87
|
overwritten: boolean;
|
|
88
88
|
pending_auto_update: boolean;
|
|
89
89
|
card_format: "TLCode" | "rfid48";
|
|
@@ -100,10 +100,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
100
100
|
is_issued: boolean | null;
|
|
101
101
|
card_number: string | null;
|
|
102
102
|
visionline_metadata?: {
|
|
103
|
-
expired: boolean;
|
|
104
103
|
card_id: string;
|
|
105
104
|
cancelled: boolean;
|
|
106
105
|
discarded: boolean;
|
|
106
|
+
expired: boolean;
|
|
107
107
|
overwritten: boolean;
|
|
108
108
|
pending_auto_update: boolean;
|
|
109
109
|
card_format: "TLCode" | "rfid48";
|
|
@@ -755,10 +755,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
755
755
|
is_issued: boolean | null;
|
|
756
756
|
card_number: string | null;
|
|
757
757
|
visionline_metadata?: {
|
|
758
|
-
expired: boolean;
|
|
759
758
|
card_id: string;
|
|
760
759
|
cancelled: boolean;
|
|
761
760
|
discarded: boolean;
|
|
761
|
+
expired: boolean;
|
|
762
762
|
overwritten: boolean;
|
|
763
763
|
pending_auto_update: boolean;
|
|
764
764
|
card_format: "TLCode" | "rfid48";
|
|
@@ -926,10 +926,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
926
926
|
is_issued: boolean | null;
|
|
927
927
|
card_number: string | null;
|
|
928
928
|
visionline_metadata?: {
|
|
929
|
-
expired: boolean;
|
|
930
929
|
card_id: string;
|
|
931
930
|
cancelled: boolean;
|
|
932
931
|
discarded: boolean;
|
|
932
|
+
expired: boolean;
|
|
933
933
|
overwritten: boolean;
|
|
934
934
|
pending_auto_update: boolean;
|
|
935
935
|
card_format: "TLCode" | "rfid48";
|
|
@@ -1087,9 +1087,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1087
1087
|
} | null;
|
|
1088
1088
|
}>;
|
|
1089
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1090
|
-
error: null;
|
|
1091
1090
|
status: "success";
|
|
1092
1091
|
action_attempt_id: string;
|
|
1092
|
+
error: null;
|
|
1093
1093
|
result: {
|
|
1094
1094
|
warnings: {
|
|
1095
1095
|
warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
|
|
@@ -1102,10 +1102,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1102
1102
|
is_issued: boolean | null;
|
|
1103
1103
|
card_number: string | null;
|
|
1104
1104
|
visionline_metadata?: {
|
|
1105
|
-
expired: boolean;
|
|
1106
1105
|
card_id: string;
|
|
1107
1106
|
cancelled: boolean;
|
|
1108
1107
|
discarded: boolean;
|
|
1108
|
+
expired: boolean;
|
|
1109
1109
|
overwritten: boolean;
|
|
1110
1110
|
pending_auto_update: boolean;
|
|
1111
1111
|
card_format: "TLCode" | "rfid48";
|
|
@@ -1264,9 +1264,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1264
1264
|
};
|
|
1265
1265
|
action_type: "SCAN_CREDENTIAL";
|
|
1266
1266
|
}, {
|
|
1267
|
-
error: null;
|
|
1268
1267
|
status: "success";
|
|
1269
1268
|
action_attempt_id: string;
|
|
1269
|
+
error: null;
|
|
1270
1270
|
result: {
|
|
1271
1271
|
warnings: {
|
|
1272
1272
|
warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
|
|
@@ -1279,10 +1279,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1279
1279
|
is_issued: boolean | null;
|
|
1280
1280
|
card_number: string | null;
|
|
1281
1281
|
visionline_metadata?: {
|
|
1282
|
-
expired: boolean;
|
|
1283
1282
|
card_id: string;
|
|
1284
1283
|
cancelled: boolean;
|
|
1285
1284
|
discarded: boolean;
|
|
1285
|
+
expired: boolean;
|
|
1286
1286
|
overwritten: boolean;
|
|
1287
1287
|
pending_auto_update: boolean;
|
|
1288
1288
|
card_format: "TLCode" | "rfid48";
|
|
@@ -1451,58 +1451,58 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1451
1451
|
type: z.ZodLiteral<"uncategorized_error">;
|
|
1452
1452
|
message: z.ZodString;
|
|
1453
1453
|
}, "strip", z.ZodTypeAny, {
|
|
1454
|
-
type: "uncategorized_error";
|
|
1455
1454
|
message: string;
|
|
1456
|
-
}, {
|
|
1457
1455
|
type: "uncategorized_error";
|
|
1456
|
+
}, {
|
|
1458
1457
|
message: string;
|
|
1458
|
+
type: "uncategorized_error";
|
|
1459
1459
|
}>, z.ZodObject<{
|
|
1460
1460
|
type: z.ZodLiteral<"action_attempt_expired">;
|
|
1461
1461
|
message: z.ZodString;
|
|
1462
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1463
|
-
type: "action_attempt_expired";
|
|
1464
1463
|
message: string;
|
|
1465
|
-
}, {
|
|
1466
1464
|
type: "action_attempt_expired";
|
|
1465
|
+
}, {
|
|
1467
1466
|
message: string;
|
|
1467
|
+
type: "action_attempt_expired";
|
|
1468
1468
|
}>, z.ZodObject<{
|
|
1469
1469
|
type: z.ZodLiteral<"no_credential_on_encoder">;
|
|
1470
1470
|
message: z.ZodString;
|
|
1471
1471
|
}, "strip", z.ZodTypeAny, {
|
|
1472
|
-
type: "no_credential_on_encoder";
|
|
1473
1472
|
message: string;
|
|
1474
|
-
}, {
|
|
1475
1473
|
type: "no_credential_on_encoder";
|
|
1474
|
+
}, {
|
|
1476
1475
|
message: string;
|
|
1476
|
+
type: "no_credential_on_encoder";
|
|
1477
1477
|
}>]>;
|
|
1478
1478
|
}, "strip", z.ZodTypeAny, {
|
|
1479
|
+
status: "error";
|
|
1480
|
+
action_attempt_id: string;
|
|
1479
1481
|
error: {
|
|
1480
|
-
type: "uncategorized_error";
|
|
1481
1482
|
message: string;
|
|
1483
|
+
type: "uncategorized_error";
|
|
1482
1484
|
} | {
|
|
1483
|
-
type: "action_attempt_expired";
|
|
1484
1485
|
message: string;
|
|
1486
|
+
type: "action_attempt_expired";
|
|
1485
1487
|
} | {
|
|
1486
|
-
type: "no_credential_on_encoder";
|
|
1487
1488
|
message: string;
|
|
1489
|
+
type: "no_credential_on_encoder";
|
|
1488
1490
|
};
|
|
1489
|
-
status: "error";
|
|
1490
|
-
action_attempt_id: string;
|
|
1491
1491
|
result: null;
|
|
1492
1492
|
action_type: "SCAN_CREDENTIAL";
|
|
1493
1493
|
}, {
|
|
1494
|
+
status: "error";
|
|
1495
|
+
action_attempt_id: string;
|
|
1494
1496
|
error: {
|
|
1495
|
-
type: "uncategorized_error";
|
|
1496
1497
|
message: string;
|
|
1498
|
+
type: "uncategorized_error";
|
|
1497
1499
|
} | {
|
|
1498
|
-
type: "action_attempt_expired";
|
|
1499
1500
|
message: string;
|
|
1501
|
+
type: "action_attempt_expired";
|
|
1500
1502
|
} | {
|
|
1501
|
-
type: "no_credential_on_encoder";
|
|
1502
1503
|
message: string;
|
|
1504
|
+
type: "no_credential_on_encoder";
|
|
1503
1505
|
};
|
|
1504
|
-
status: "error";
|
|
1505
|
-
action_attempt_id: string;
|
|
1506
1506
|
result: null;
|
|
1507
1507
|
action_type: "SCAN_CREDENTIAL";
|
|
1508
1508
|
}>]>;
|
|
@@ -8,15 +8,15 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
|
|
|
8
8
|
} & {
|
|
9
9
|
action_type: z.ZodLiteral<"SET_FAN_MODE">;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
error: null;
|
|
12
11
|
status: "pending";
|
|
13
12
|
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
14
|
result: null;
|
|
15
15
|
action_type: "SET_FAN_MODE";
|
|
16
16
|
}, {
|
|
17
|
-
error: null;
|
|
18
17
|
status: "pending";
|
|
19
18
|
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
20
|
result: null;
|
|
21
21
|
action_type: "SET_FAN_MODE";
|
|
22
22
|
}>, z.ZodObject<{
|
|
@@ -28,15 +28,15 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
|
|
|
28
28
|
action_type: z.ZodLiteral<"SET_FAN_MODE">;
|
|
29
29
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
error: null;
|
|
32
31
|
status: "success";
|
|
33
32
|
action_attempt_id: string;
|
|
33
|
+
error: null;
|
|
34
34
|
result: {};
|
|
35
35
|
action_type: "SET_FAN_MODE";
|
|
36
36
|
}, {
|
|
37
|
-
error: null;
|
|
38
37
|
status: "success";
|
|
39
38
|
action_attempt_id: string;
|
|
39
|
+
error: null;
|
|
40
40
|
result: {};
|
|
41
41
|
action_type: "SET_FAN_MODE";
|
|
42
42
|
}>, z.ZodObject<{
|
|
@@ -50,28 +50,28 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
|
|
|
50
50
|
type: z.ZodString;
|
|
51
51
|
message: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
type: string;
|
|
54
53
|
message: string;
|
|
55
|
-
}, {
|
|
56
54
|
type: string;
|
|
55
|
+
}, {
|
|
57
56
|
message: string;
|
|
57
|
+
type: string;
|
|
58
58
|
}>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
status: "error";
|
|
61
|
+
action_attempt_id: string;
|
|
60
62
|
error: {
|
|
61
|
-
type: string;
|
|
62
63
|
message: string;
|
|
64
|
+
type: string;
|
|
63
65
|
};
|
|
64
|
-
status: "error";
|
|
65
|
-
action_attempt_id: string;
|
|
66
66
|
result: null;
|
|
67
67
|
action_type: "SET_FAN_MODE";
|
|
68
68
|
}, {
|
|
69
|
+
status: "error";
|
|
70
|
+
action_attempt_id: string;
|
|
69
71
|
error: {
|
|
70
|
-
type: string;
|
|
71
72
|
message: string;
|
|
73
|
+
type: string;
|
|
72
74
|
};
|
|
73
|
-
status: "error";
|
|
74
|
-
action_attempt_id: string;
|
|
75
75
|
result: null;
|
|
76
76
|
action_type: "SET_FAN_MODE";
|
|
77
77
|
}>]>;
|