@seamapi/http 1.18.0 → 1.20.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 +310 -208
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +268 -104
- package/lib/seam/connect/resolve-action-attempt.d.ts +252 -64
- package/lib/seam/connect/routes/acs.d.ts +2 -0
- package/lib/seam/connect/routes/acs.js +4 -0
- package/lib/seam/connect/routes/acs.js.map +1 -1
- package/lib/seam/connect/routes/index.d.ts +1 -0
- package/lib/seam/connect/routes/index.js +1 -0
- package/lib/seam/connect/routes/index.js.map +1 -1
- package/lib/seam/connect/routes/thermostats-simulate.d.ts +25 -0
- package/lib/seam/connect/routes/thermostats-simulate.js +96 -0
- package/lib/seam/connect/routes/thermostats-simulate.js.map +1 -0
- package/lib/seam/connect/routes/thermostats.d.ts +2 -0
- package/lib/seam/connect/routes/thermostats.js +4 -0
- package/lib/seam/connect/routes/thermostats.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/acs.ts +5 -0
- package/src/lib/seam/connect/routes/index.ts +1 -0
- package/src/lib/seam/connect/routes/thermostats-simulate.ts +196 -0
- package/src/lib/seam/connect/routes/thermostats.ts +5 -0
- package/src/lib/version.ts +1 -1
|
@@ -106,7 +106,11 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
106
106
|
created_at: string;
|
|
107
107
|
} | {
|
|
108
108
|
message: string;
|
|
109
|
-
warning_code: "
|
|
109
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
110
|
+
created_at: string;
|
|
111
|
+
} | {
|
|
112
|
+
message: string;
|
|
113
|
+
warning_code: "needs_to_be_reissued";
|
|
110
114
|
created_at: string;
|
|
111
115
|
})[];
|
|
112
116
|
display_name: string;
|
|
@@ -128,8 +132,15 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
128
132
|
card_id?: string | undefined;
|
|
129
133
|
credential_id?: string | undefined;
|
|
130
134
|
} | undefined;
|
|
135
|
+
assa_abloy_vostio_metadata?: {
|
|
136
|
+
endpoint_id?: string | undefined;
|
|
137
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
138
|
+
key_id?: string | undefined;
|
|
139
|
+
key_issuing_request_id?: string | undefined;
|
|
140
|
+
door_names?: string[] | undefined;
|
|
141
|
+
} | undefined;
|
|
131
142
|
is_one_time_use?: boolean | undefined;
|
|
132
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
143
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
133
144
|
external_type_display_name?: string | undefined;
|
|
134
145
|
acs_user_id?: string | undefined;
|
|
135
146
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -138,8 +149,8 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
138
149
|
is_issued?: boolean | undefined;
|
|
139
150
|
issued_at?: string | null | undefined;
|
|
140
151
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
141
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
142
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
152
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
153
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
143
154
|
} | {
|
|
144
155
|
created_at: string;
|
|
145
156
|
errors: {
|
|
@@ -164,7 +175,11 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
164
175
|
created_at: string;
|
|
165
176
|
} | {
|
|
166
177
|
message: string;
|
|
167
|
-
warning_code: "
|
|
178
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
179
|
+
created_at: string;
|
|
180
|
+
} | {
|
|
181
|
+
message: string;
|
|
182
|
+
warning_code: "needs_to_be_reissued";
|
|
168
183
|
created_at: string;
|
|
169
184
|
})[];
|
|
170
185
|
display_name: string;
|
|
@@ -186,8 +201,15 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
186
201
|
card_id?: string | undefined;
|
|
187
202
|
credential_id?: string | undefined;
|
|
188
203
|
} | undefined;
|
|
204
|
+
assa_abloy_vostio_metadata?: {
|
|
205
|
+
endpoint_id?: string | undefined;
|
|
206
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
207
|
+
key_id?: string | undefined;
|
|
208
|
+
key_issuing_request_id?: string | undefined;
|
|
209
|
+
door_names?: string[] | undefined;
|
|
210
|
+
} | undefined;
|
|
189
211
|
is_one_time_use?: boolean | undefined;
|
|
190
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
212
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
191
213
|
external_type_display_name?: string | undefined;
|
|
192
214
|
acs_user_id?: string | undefined;
|
|
193
215
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -196,8 +218,8 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
196
218
|
is_issued?: boolean | undefined;
|
|
197
219
|
issued_at?: string | null | undefined;
|
|
198
220
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
199
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
200
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
221
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
222
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
201
223
|
} | null;
|
|
202
224
|
};
|
|
203
225
|
action_type: "SCAN_CREDENTIAL";
|
|
@@ -250,7 +272,11 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
250
272
|
created_at: string;
|
|
251
273
|
} | {
|
|
252
274
|
message: string;
|
|
253
|
-
warning_code: "
|
|
275
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
276
|
+
created_at: string;
|
|
277
|
+
} | {
|
|
278
|
+
message: string;
|
|
279
|
+
warning_code: "needs_to_be_reissued";
|
|
254
280
|
created_at: string;
|
|
255
281
|
})[];
|
|
256
282
|
display_name: string;
|
|
@@ -272,8 +298,15 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
272
298
|
card_id?: string | undefined;
|
|
273
299
|
credential_id?: string | undefined;
|
|
274
300
|
} | undefined;
|
|
301
|
+
assa_abloy_vostio_metadata?: {
|
|
302
|
+
endpoint_id?: string | undefined;
|
|
303
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
304
|
+
key_id?: string | undefined;
|
|
305
|
+
key_issuing_request_id?: string | undefined;
|
|
306
|
+
door_names?: string[] | undefined;
|
|
307
|
+
} | undefined;
|
|
275
308
|
is_one_time_use?: boolean | undefined;
|
|
276
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
309
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
277
310
|
external_type_display_name?: string | undefined;
|
|
278
311
|
acs_user_id?: string | undefined;
|
|
279
312
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -282,8 +315,8 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
282
315
|
is_issued?: boolean | undefined;
|
|
283
316
|
issued_at?: string | null | undefined;
|
|
284
317
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
285
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
286
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
318
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
319
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
287
320
|
} | {
|
|
288
321
|
created_at: string;
|
|
289
322
|
errors: {
|
|
@@ -308,7 +341,11 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
308
341
|
created_at: string;
|
|
309
342
|
} | {
|
|
310
343
|
message: string;
|
|
311
|
-
warning_code: "
|
|
344
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
345
|
+
created_at: string;
|
|
346
|
+
} | {
|
|
347
|
+
message: string;
|
|
348
|
+
warning_code: "needs_to_be_reissued";
|
|
312
349
|
created_at: string;
|
|
313
350
|
})[];
|
|
314
351
|
display_name: string;
|
|
@@ -330,8 +367,15 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
330
367
|
card_id?: string | undefined;
|
|
331
368
|
credential_id?: string | undefined;
|
|
332
369
|
} | undefined;
|
|
370
|
+
assa_abloy_vostio_metadata?: {
|
|
371
|
+
endpoint_id?: string | undefined;
|
|
372
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
373
|
+
key_id?: string | undefined;
|
|
374
|
+
key_issuing_request_id?: string | undefined;
|
|
375
|
+
door_names?: string[] | undefined;
|
|
376
|
+
} | undefined;
|
|
333
377
|
is_one_time_use?: boolean | undefined;
|
|
334
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
378
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
335
379
|
external_type_display_name?: string | undefined;
|
|
336
380
|
acs_user_id?: string | undefined;
|
|
337
381
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -340,8 +384,8 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
340
384
|
is_issued?: boolean | undefined;
|
|
341
385
|
issued_at?: string | null | undefined;
|
|
342
386
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
343
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
344
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
387
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
388
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
345
389
|
};
|
|
346
390
|
action_type: "ENCODE_CREDENTIAL";
|
|
347
391
|
} | {
|
|
@@ -357,6 +401,9 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
357
401
|
} | {
|
|
358
402
|
type: "incompatible_card_format";
|
|
359
403
|
message: string;
|
|
404
|
+
} | {
|
|
405
|
+
type: "credential_cannot_be_reissued";
|
|
406
|
+
message: string;
|
|
360
407
|
};
|
|
361
408
|
status: "error";
|
|
362
409
|
action_attempt_id: string;
|
|
@@ -706,7 +753,11 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
706
753
|
created_at: string;
|
|
707
754
|
} | {
|
|
708
755
|
message: string;
|
|
709
|
-
warning_code: "
|
|
756
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
757
|
+
created_at: string;
|
|
758
|
+
} | {
|
|
759
|
+
message: string;
|
|
760
|
+
warning_code: "needs_to_be_reissued";
|
|
710
761
|
created_at: string;
|
|
711
762
|
})[];
|
|
712
763
|
display_name: string;
|
|
@@ -728,8 +779,15 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
728
779
|
card_id?: string | undefined;
|
|
729
780
|
credential_id?: string | undefined;
|
|
730
781
|
} | undefined;
|
|
782
|
+
assa_abloy_vostio_metadata?: {
|
|
783
|
+
endpoint_id?: string | undefined;
|
|
784
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
785
|
+
key_id?: string | undefined;
|
|
786
|
+
key_issuing_request_id?: string | undefined;
|
|
787
|
+
door_names?: string[] | undefined;
|
|
788
|
+
} | undefined;
|
|
731
789
|
is_one_time_use?: boolean | undefined;
|
|
732
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
790
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
733
791
|
external_type_display_name?: string | undefined;
|
|
734
792
|
acs_user_id?: string | undefined;
|
|
735
793
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -738,8 +796,8 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
738
796
|
is_issued?: boolean | undefined;
|
|
739
797
|
issued_at?: string | null | undefined;
|
|
740
798
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
741
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
742
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
799
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
800
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
743
801
|
} | {
|
|
744
802
|
created_at: string;
|
|
745
803
|
errors: {
|
|
@@ -764,7 +822,11 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
764
822
|
created_at: string;
|
|
765
823
|
} | {
|
|
766
824
|
message: string;
|
|
767
|
-
warning_code: "
|
|
825
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
826
|
+
created_at: string;
|
|
827
|
+
} | {
|
|
828
|
+
message: string;
|
|
829
|
+
warning_code: "needs_to_be_reissued";
|
|
768
830
|
created_at: string;
|
|
769
831
|
})[];
|
|
770
832
|
display_name: string;
|
|
@@ -786,8 +848,15 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
786
848
|
card_id?: string | undefined;
|
|
787
849
|
credential_id?: string | undefined;
|
|
788
850
|
} | undefined;
|
|
851
|
+
assa_abloy_vostio_metadata?: {
|
|
852
|
+
endpoint_id?: string | undefined;
|
|
853
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
854
|
+
key_id?: string | undefined;
|
|
855
|
+
key_issuing_request_id?: string | undefined;
|
|
856
|
+
door_names?: string[] | undefined;
|
|
857
|
+
} | undefined;
|
|
789
858
|
is_one_time_use?: boolean | undefined;
|
|
790
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
859
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
791
860
|
external_type_display_name?: string | undefined;
|
|
792
861
|
acs_user_id?: string | undefined;
|
|
793
862
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -796,8 +865,8 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
796
865
|
is_issued?: boolean | undefined;
|
|
797
866
|
issued_at?: string | null | undefined;
|
|
798
867
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
799
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
800
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
868
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
869
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
801
870
|
} | null;
|
|
802
871
|
};
|
|
803
872
|
action_type: "SCAN_CREDENTIAL";
|
|
@@ -850,7 +919,11 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
850
919
|
created_at: string;
|
|
851
920
|
} | {
|
|
852
921
|
message: string;
|
|
853
|
-
warning_code: "
|
|
922
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
923
|
+
created_at: string;
|
|
924
|
+
} | {
|
|
925
|
+
message: string;
|
|
926
|
+
warning_code: "needs_to_be_reissued";
|
|
854
927
|
created_at: string;
|
|
855
928
|
})[];
|
|
856
929
|
display_name: string;
|
|
@@ -872,8 +945,15 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
872
945
|
card_id?: string | undefined;
|
|
873
946
|
credential_id?: string | undefined;
|
|
874
947
|
} | undefined;
|
|
948
|
+
assa_abloy_vostio_metadata?: {
|
|
949
|
+
endpoint_id?: string | undefined;
|
|
950
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
951
|
+
key_id?: string | undefined;
|
|
952
|
+
key_issuing_request_id?: string | undefined;
|
|
953
|
+
door_names?: string[] | undefined;
|
|
954
|
+
} | undefined;
|
|
875
955
|
is_one_time_use?: boolean | undefined;
|
|
876
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
956
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
877
957
|
external_type_display_name?: string | undefined;
|
|
878
958
|
acs_user_id?: string | undefined;
|
|
879
959
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -882,8 +962,8 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
882
962
|
is_issued?: boolean | undefined;
|
|
883
963
|
issued_at?: string | null | undefined;
|
|
884
964
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
885
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
886
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
965
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
966
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
887
967
|
} | {
|
|
888
968
|
created_at: string;
|
|
889
969
|
errors: {
|
|
@@ -908,7 +988,11 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
908
988
|
created_at: string;
|
|
909
989
|
} | {
|
|
910
990
|
message: string;
|
|
911
|
-
warning_code: "
|
|
991
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
992
|
+
created_at: string;
|
|
993
|
+
} | {
|
|
994
|
+
message: string;
|
|
995
|
+
warning_code: "needs_to_be_reissued";
|
|
912
996
|
created_at: string;
|
|
913
997
|
})[];
|
|
914
998
|
display_name: string;
|
|
@@ -930,8 +1014,15 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
930
1014
|
card_id?: string | undefined;
|
|
931
1015
|
credential_id?: string | undefined;
|
|
932
1016
|
} | undefined;
|
|
1017
|
+
assa_abloy_vostio_metadata?: {
|
|
1018
|
+
endpoint_id?: string | undefined;
|
|
1019
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
1020
|
+
key_id?: string | undefined;
|
|
1021
|
+
key_issuing_request_id?: string | undefined;
|
|
1022
|
+
door_names?: string[] | undefined;
|
|
1023
|
+
} | undefined;
|
|
933
1024
|
is_one_time_use?: boolean | undefined;
|
|
934
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
1025
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
935
1026
|
external_type_display_name?: string | undefined;
|
|
936
1027
|
acs_user_id?: string | undefined;
|
|
937
1028
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -940,8 +1031,8 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
940
1031
|
is_issued?: boolean | undefined;
|
|
941
1032
|
issued_at?: string | null | undefined;
|
|
942
1033
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
943
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
944
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
1034
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
1035
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
945
1036
|
};
|
|
946
1037
|
action_type: "ENCODE_CREDENTIAL";
|
|
947
1038
|
} | {
|
|
@@ -957,6 +1048,9 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
957
1048
|
} | {
|
|
958
1049
|
type: "incompatible_card_format";
|
|
959
1050
|
message: string;
|
|
1051
|
+
} | {
|
|
1052
|
+
type: "credential_cannot_be_reissued";
|
|
1053
|
+
message: string;
|
|
960
1054
|
};
|
|
961
1055
|
status: "error";
|
|
962
1056
|
action_attempt_id: string;
|
|
@@ -1308,7 +1402,11 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1308
1402
|
created_at: string;
|
|
1309
1403
|
} | {
|
|
1310
1404
|
message: string;
|
|
1311
|
-
warning_code: "
|
|
1405
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
1406
|
+
created_at: string;
|
|
1407
|
+
} | {
|
|
1408
|
+
message: string;
|
|
1409
|
+
warning_code: "needs_to_be_reissued";
|
|
1312
1410
|
created_at: string;
|
|
1313
1411
|
})[];
|
|
1314
1412
|
display_name: string;
|
|
@@ -1330,8 +1428,15 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1330
1428
|
card_id?: string | undefined;
|
|
1331
1429
|
credential_id?: string | undefined;
|
|
1332
1430
|
} | undefined;
|
|
1431
|
+
assa_abloy_vostio_metadata?: {
|
|
1432
|
+
endpoint_id?: string | undefined;
|
|
1433
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
1434
|
+
key_id?: string | undefined;
|
|
1435
|
+
key_issuing_request_id?: string | undefined;
|
|
1436
|
+
door_names?: string[] | undefined;
|
|
1437
|
+
} | undefined;
|
|
1333
1438
|
is_one_time_use?: boolean | undefined;
|
|
1334
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
1439
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1335
1440
|
external_type_display_name?: string | undefined;
|
|
1336
1441
|
acs_user_id?: string | undefined;
|
|
1337
1442
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1340,8 +1445,8 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1340
1445
|
is_issued?: boolean | undefined;
|
|
1341
1446
|
issued_at?: string | null | undefined;
|
|
1342
1447
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1343
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
1344
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
1448
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
1449
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1345
1450
|
} | {
|
|
1346
1451
|
created_at: string;
|
|
1347
1452
|
errors: {
|
|
@@ -1366,7 +1471,11 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1366
1471
|
created_at: string;
|
|
1367
1472
|
} | {
|
|
1368
1473
|
message: string;
|
|
1369
|
-
warning_code: "
|
|
1474
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
1475
|
+
created_at: string;
|
|
1476
|
+
} | {
|
|
1477
|
+
message: string;
|
|
1478
|
+
warning_code: "needs_to_be_reissued";
|
|
1370
1479
|
created_at: string;
|
|
1371
1480
|
})[];
|
|
1372
1481
|
display_name: string;
|
|
@@ -1388,8 +1497,15 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1388
1497
|
card_id?: string | undefined;
|
|
1389
1498
|
credential_id?: string | undefined;
|
|
1390
1499
|
} | undefined;
|
|
1500
|
+
assa_abloy_vostio_metadata?: {
|
|
1501
|
+
endpoint_id?: string | undefined;
|
|
1502
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
1503
|
+
key_id?: string | undefined;
|
|
1504
|
+
key_issuing_request_id?: string | undefined;
|
|
1505
|
+
door_names?: string[] | undefined;
|
|
1506
|
+
} | undefined;
|
|
1391
1507
|
is_one_time_use?: boolean | undefined;
|
|
1392
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
1508
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1393
1509
|
external_type_display_name?: string | undefined;
|
|
1394
1510
|
acs_user_id?: string | undefined;
|
|
1395
1511
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1398,8 +1514,8 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1398
1514
|
is_issued?: boolean | undefined;
|
|
1399
1515
|
issued_at?: string | null | undefined;
|
|
1400
1516
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1401
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
1402
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
1517
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
1518
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1403
1519
|
} | null;
|
|
1404
1520
|
};
|
|
1405
1521
|
action_type: "SCAN_CREDENTIAL";
|
|
@@ -1452,7 +1568,11 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1452
1568
|
created_at: string;
|
|
1453
1569
|
} | {
|
|
1454
1570
|
message: string;
|
|
1455
|
-
warning_code: "
|
|
1571
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
1572
|
+
created_at: string;
|
|
1573
|
+
} | {
|
|
1574
|
+
message: string;
|
|
1575
|
+
warning_code: "needs_to_be_reissued";
|
|
1456
1576
|
created_at: string;
|
|
1457
1577
|
})[];
|
|
1458
1578
|
display_name: string;
|
|
@@ -1474,8 +1594,15 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1474
1594
|
card_id?: string | undefined;
|
|
1475
1595
|
credential_id?: string | undefined;
|
|
1476
1596
|
} | undefined;
|
|
1597
|
+
assa_abloy_vostio_metadata?: {
|
|
1598
|
+
endpoint_id?: string | undefined;
|
|
1599
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
1600
|
+
key_id?: string | undefined;
|
|
1601
|
+
key_issuing_request_id?: string | undefined;
|
|
1602
|
+
door_names?: string[] | undefined;
|
|
1603
|
+
} | undefined;
|
|
1477
1604
|
is_one_time_use?: boolean | undefined;
|
|
1478
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
1605
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1479
1606
|
external_type_display_name?: string | undefined;
|
|
1480
1607
|
acs_user_id?: string | undefined;
|
|
1481
1608
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1484,8 +1611,8 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1484
1611
|
is_issued?: boolean | undefined;
|
|
1485
1612
|
issued_at?: string | null | undefined;
|
|
1486
1613
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1487
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
1488
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
1614
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
1615
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1489
1616
|
} | {
|
|
1490
1617
|
created_at: string;
|
|
1491
1618
|
errors: {
|
|
@@ -1510,7 +1637,11 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1510
1637
|
created_at: string;
|
|
1511
1638
|
} | {
|
|
1512
1639
|
message: string;
|
|
1513
|
-
warning_code: "
|
|
1640
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
1641
|
+
created_at: string;
|
|
1642
|
+
} | {
|
|
1643
|
+
message: string;
|
|
1644
|
+
warning_code: "needs_to_be_reissued";
|
|
1514
1645
|
created_at: string;
|
|
1515
1646
|
})[];
|
|
1516
1647
|
display_name: string;
|
|
@@ -1532,8 +1663,15 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1532
1663
|
card_id?: string | undefined;
|
|
1533
1664
|
credential_id?: string | undefined;
|
|
1534
1665
|
} | undefined;
|
|
1666
|
+
assa_abloy_vostio_metadata?: {
|
|
1667
|
+
endpoint_id?: string | undefined;
|
|
1668
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
1669
|
+
key_id?: string | undefined;
|
|
1670
|
+
key_issuing_request_id?: string | undefined;
|
|
1671
|
+
door_names?: string[] | undefined;
|
|
1672
|
+
} | undefined;
|
|
1535
1673
|
is_one_time_use?: boolean | undefined;
|
|
1536
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
1674
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1537
1675
|
external_type_display_name?: string | undefined;
|
|
1538
1676
|
acs_user_id?: string | undefined;
|
|
1539
1677
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1542,8 +1680,8 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1542
1680
|
is_issued?: boolean | undefined;
|
|
1543
1681
|
issued_at?: string | null | undefined;
|
|
1544
1682
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1545
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
1546
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
1683
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
1684
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1547
1685
|
};
|
|
1548
1686
|
action_type: "ENCODE_CREDENTIAL";
|
|
1549
1687
|
} | {
|
|
@@ -1559,6 +1697,9 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1559
1697
|
} | {
|
|
1560
1698
|
type: "incompatible_card_format";
|
|
1561
1699
|
message: string;
|
|
1700
|
+
} | {
|
|
1701
|
+
type: "credential_cannot_be_reissued";
|
|
1702
|
+
message: string;
|
|
1562
1703
|
};
|
|
1563
1704
|
status: "error";
|
|
1564
1705
|
action_attempt_id: string;
|
|
@@ -1910,7 +2051,11 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1910
2051
|
created_at: string;
|
|
1911
2052
|
} | {
|
|
1912
2053
|
message: string;
|
|
1913
|
-
warning_code: "
|
|
2054
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
2055
|
+
created_at: string;
|
|
2056
|
+
} | {
|
|
2057
|
+
message: string;
|
|
2058
|
+
warning_code: "needs_to_be_reissued";
|
|
1914
2059
|
created_at: string;
|
|
1915
2060
|
})[];
|
|
1916
2061
|
display_name: string;
|
|
@@ -1932,8 +2077,15 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1932
2077
|
card_id?: string | undefined;
|
|
1933
2078
|
credential_id?: string | undefined;
|
|
1934
2079
|
} | undefined;
|
|
2080
|
+
assa_abloy_vostio_metadata?: {
|
|
2081
|
+
endpoint_id?: string | undefined;
|
|
2082
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
2083
|
+
key_id?: string | undefined;
|
|
2084
|
+
key_issuing_request_id?: string | undefined;
|
|
2085
|
+
door_names?: string[] | undefined;
|
|
2086
|
+
} | undefined;
|
|
1935
2087
|
is_one_time_use?: boolean | undefined;
|
|
1936
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
2088
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1937
2089
|
external_type_display_name?: string | undefined;
|
|
1938
2090
|
acs_user_id?: string | undefined;
|
|
1939
2091
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1942,8 +2094,8 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1942
2094
|
is_issued?: boolean | undefined;
|
|
1943
2095
|
issued_at?: string | null | undefined;
|
|
1944
2096
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1945
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
1946
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
2097
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
2098
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1947
2099
|
} | {
|
|
1948
2100
|
created_at: string;
|
|
1949
2101
|
errors: {
|
|
@@ -1968,7 +2120,11 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1968
2120
|
created_at: string;
|
|
1969
2121
|
} | {
|
|
1970
2122
|
message: string;
|
|
1971
|
-
warning_code: "
|
|
2123
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
2124
|
+
created_at: string;
|
|
2125
|
+
} | {
|
|
2126
|
+
message: string;
|
|
2127
|
+
warning_code: "needs_to_be_reissued";
|
|
1972
2128
|
created_at: string;
|
|
1973
2129
|
})[];
|
|
1974
2130
|
display_name: string;
|
|
@@ -1990,8 +2146,15 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1990
2146
|
card_id?: string | undefined;
|
|
1991
2147
|
credential_id?: string | undefined;
|
|
1992
2148
|
} | undefined;
|
|
2149
|
+
assa_abloy_vostio_metadata?: {
|
|
2150
|
+
endpoint_id?: string | undefined;
|
|
2151
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
2152
|
+
key_id?: string | undefined;
|
|
2153
|
+
key_issuing_request_id?: string | undefined;
|
|
2154
|
+
door_names?: string[] | undefined;
|
|
2155
|
+
} | undefined;
|
|
1993
2156
|
is_one_time_use?: boolean | undefined;
|
|
1994
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
2157
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1995
2158
|
external_type_display_name?: string | undefined;
|
|
1996
2159
|
acs_user_id?: string | undefined;
|
|
1997
2160
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2000,8 +2163,8 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
2000
2163
|
is_issued?: boolean | undefined;
|
|
2001
2164
|
issued_at?: string | null | undefined;
|
|
2002
2165
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
2003
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
2004
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
2166
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
2167
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
2005
2168
|
} | null;
|
|
2006
2169
|
};
|
|
2007
2170
|
action_type: "SCAN_CREDENTIAL";
|
|
@@ -2054,7 +2217,11 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
2054
2217
|
created_at: string;
|
|
2055
2218
|
} | {
|
|
2056
2219
|
message: string;
|
|
2057
|
-
warning_code: "
|
|
2220
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
2221
|
+
created_at: string;
|
|
2222
|
+
} | {
|
|
2223
|
+
message: string;
|
|
2224
|
+
warning_code: "needs_to_be_reissued";
|
|
2058
2225
|
created_at: string;
|
|
2059
2226
|
})[];
|
|
2060
2227
|
display_name: string;
|
|
@@ -2076,8 +2243,15 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
2076
2243
|
card_id?: string | undefined;
|
|
2077
2244
|
credential_id?: string | undefined;
|
|
2078
2245
|
} | undefined;
|
|
2246
|
+
assa_abloy_vostio_metadata?: {
|
|
2247
|
+
endpoint_id?: string | undefined;
|
|
2248
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
2249
|
+
key_id?: string | undefined;
|
|
2250
|
+
key_issuing_request_id?: string | undefined;
|
|
2251
|
+
door_names?: string[] | undefined;
|
|
2252
|
+
} | undefined;
|
|
2079
2253
|
is_one_time_use?: boolean | undefined;
|
|
2080
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
2254
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
2081
2255
|
external_type_display_name?: string | undefined;
|
|
2082
2256
|
acs_user_id?: string | undefined;
|
|
2083
2257
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2086,8 +2260,8 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
2086
2260
|
is_issued?: boolean | undefined;
|
|
2087
2261
|
issued_at?: string | null | undefined;
|
|
2088
2262
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
2089
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
2090
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
2263
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
2264
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
2091
2265
|
} | {
|
|
2092
2266
|
created_at: string;
|
|
2093
2267
|
errors: {
|
|
@@ -2112,7 +2286,11 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
2112
2286
|
created_at: string;
|
|
2113
2287
|
} | {
|
|
2114
2288
|
message: string;
|
|
2115
|
-
warning_code: "
|
|
2289
|
+
warning_code: "unknown_issue_with_acs_credential";
|
|
2290
|
+
created_at: string;
|
|
2291
|
+
} | {
|
|
2292
|
+
message: string;
|
|
2293
|
+
warning_code: "needs_to_be_reissued";
|
|
2116
2294
|
created_at: string;
|
|
2117
2295
|
})[];
|
|
2118
2296
|
display_name: string;
|
|
@@ -2134,8 +2312,15 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
2134
2312
|
card_id?: string | undefined;
|
|
2135
2313
|
credential_id?: string | undefined;
|
|
2136
2314
|
} | undefined;
|
|
2315
|
+
assa_abloy_vostio_metadata?: {
|
|
2316
|
+
endpoint_id?: string | undefined;
|
|
2317
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
2318
|
+
key_id?: string | undefined;
|
|
2319
|
+
key_issuing_request_id?: string | undefined;
|
|
2320
|
+
door_names?: string[] | undefined;
|
|
2321
|
+
} | undefined;
|
|
2137
2322
|
is_one_time_use?: boolean | undefined;
|
|
2138
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
|
|
2323
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
2139
2324
|
external_type_display_name?: string | undefined;
|
|
2140
2325
|
acs_user_id?: string | undefined;
|
|
2141
2326
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2144,8 +2329,8 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
2144
2329
|
is_issued?: boolean | undefined;
|
|
2145
2330
|
issued_at?: string | null | undefined;
|
|
2146
2331
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
2147
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
2148
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
2332
|
+
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
2333
|
+
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
2149
2334
|
};
|
|
2150
2335
|
action_type: "ENCODE_CREDENTIAL";
|
|
2151
2336
|
} | {
|
|
@@ -2161,6 +2346,9 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
2161
2346
|
} | {
|
|
2162
2347
|
type: "incompatible_card_format";
|
|
2163
2348
|
message: string;
|
|
2349
|
+
} | {
|
|
2350
|
+
type: "credential_cannot_be_reissued";
|
|
2351
|
+
message: string;
|
|
2164
2352
|
};
|
|
2165
2353
|
status: "error";
|
|
2166
2354
|
action_attempt_id: string;
|