@seamapi/http 1.32.0 → 1.34.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.
Files changed (58) hide show
  1. package/dist/connect.cjs +637 -210
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +537 -85
  4. package/lib/seam/connect/resolve-action-attempt.d.ts +488 -52
  5. package/lib/seam/connect/routes/access-codes.d.ts +4 -0
  6. package/lib/seam/connect/routes/access-codes.js +8 -0
  7. package/lib/seam/connect/routes/access-codes.js.map +1 -1
  8. package/lib/seam/connect/routes/access-grants.d.ts +35 -0
  9. package/lib/seam/connect/routes/access-grants.js +116 -0
  10. package/lib/seam/connect/routes/access-grants.js.map +1 -0
  11. package/lib/seam/connect/routes/{networks.d.ts → access-methods.d.ts} +19 -15
  12. package/lib/seam/connect/routes/{bridges.js → access-methods.js} +20 -12
  13. package/lib/seam/connect/routes/access-methods.js.map +1 -0
  14. package/lib/seam/connect/routes/acs-encoders.d.ts +4 -0
  15. package/lib/seam/connect/routes/acs-encoders.js +9 -0
  16. package/lib/seam/connect/routes/acs-encoders.js.map +1 -1
  17. package/lib/seam/connect/routes/connected-accounts.d.ts +4 -0
  18. package/lib/seam/connect/routes/connected-accounts.js +8 -0
  19. package/lib/seam/connect/routes/connected-accounts.js.map +1 -1
  20. package/lib/seam/connect/routes/index.d.ts +5 -2
  21. package/lib/seam/connect/routes/index.js +5 -2
  22. package/lib/seam/connect/routes/index.js.map +1 -1
  23. package/lib/seam/connect/routes/spaces.d.ts +55 -0
  24. package/lib/seam/connect/routes/spaces.js +156 -0
  25. package/lib/seam/connect/routes/spaces.js.map +1 -0
  26. package/lib/seam/connect/routes/thermostats-daily-programs.d.ts +31 -0
  27. package/lib/seam/connect/routes/thermostats-daily-programs.js +109 -0
  28. package/lib/seam/connect/routes/thermostats-daily-programs.js.map +1 -0
  29. package/lib/seam/connect/routes/thermostats.d.ts +6 -0
  30. package/lib/seam/connect/routes/thermostats.js +13 -0
  31. package/lib/seam/connect/routes/thermostats.js.map +1 -1
  32. package/lib/seam/connect/routes/{bridges.d.ts → unstable-partner.d.ts} +8 -18
  33. package/lib/seam/connect/routes/{networks.js → unstable-partner.js} +8 -25
  34. package/lib/seam/connect/routes/unstable-partner.js.map +1 -0
  35. package/lib/seam/connect/routes/workspaces.d.ts +4 -0
  36. package/lib/seam/connect/routes/workspaces.js +8 -0
  37. package/lib/seam/connect/routes/workspaces.js.map +1 -1
  38. package/lib/seam/connect/seam-http.d.ts +4 -2
  39. package/lib/seam/connect/seam-http.js +10 -4
  40. package/lib/seam/connect/seam-http.js.map +1 -1
  41. package/lib/version.d.ts +1 -1
  42. package/lib/version.js +1 -1
  43. package/package.json +4 -4
  44. package/src/lib/seam/connect/routes/access-codes.ts +20 -0
  45. package/src/lib/seam/connect/routes/access-grants.ts +237 -0
  46. package/src/lib/seam/connect/routes/{networks.ts → access-methods.ts} +47 -29
  47. package/src/lib/seam/connect/routes/acs-encoders.ts +25 -0
  48. package/src/lib/seam/connect/routes/connected-accounts.ts +18 -0
  49. package/src/lib/seam/connect/routes/index.ts +5 -2
  50. package/src/lib/seam/connect/routes/spaces.ts +329 -0
  51. package/src/lib/seam/connect/routes/thermostats-daily-programs.ts +234 -0
  52. package/src/lib/seam/connect/routes/thermostats.ts +33 -0
  53. package/src/lib/seam/connect/routes/{bridges.ts → unstable-partner.ts} +14 -53
  54. package/src/lib/seam/connect/routes/workspaces.ts +17 -0
  55. package/src/lib/seam/connect/seam-http.ts +15 -5
  56. package/src/lib/version.ts +1 -1
  57. package/lib/seam/connect/routes/bridges.js.map +0 -1
  58. package/lib/seam/connect/routes/networks.js.map +0 -1
@@ -62,9 +62,9 @@ export declare const resolveActionAttempt: <T extends {
62
62
  warning_message: string;
63
63
  }[];
64
64
  acs_credential_on_encoder: {
65
+ created_at: string | null;
65
66
  starts_at: string | null;
66
67
  ends_at: string | null;
67
- created_at: string | null;
68
68
  card_number: string | null;
69
69
  is_issued: boolean | null;
70
70
  visionline_metadata?: {
@@ -84,6 +84,7 @@ export declare const resolveActionAttempt: <T extends {
84
84
  } | null;
85
85
  acs_credential_on_seam: {
86
86
  display_name: string;
87
+ workspace_id: string;
87
88
  created_at: string;
88
89
  errors: {
89
90
  message: string;
@@ -114,7 +115,6 @@ export declare const resolveActionAttempt: <T extends {
114
115
  created_at: string;
115
116
  warning_code: "needs_to_be_reissued";
116
117
  })[];
117
- workspace_id: string;
118
118
  is_managed: true;
119
119
  acs_system_id: string;
120
120
  acs_credential_id: string;
@@ -124,16 +124,17 @@ export declare const resolveActionAttempt: <T extends {
124
124
  ends_at?: string | undefined;
125
125
  visionline_metadata?: {
126
126
  card_function_type: "guest" | "staff";
127
+ auto_join?: boolean | undefined;
127
128
  joiner_acs_credential_ids?: string[] | undefined;
128
129
  guest_acs_entrance_ids?: string[] | undefined;
129
130
  common_acs_entrance_ids?: string[] | undefined;
130
131
  is_valid?: boolean | undefined;
131
- auto_join?: boolean | undefined;
132
132
  card_id?: string | undefined;
133
133
  credential_id?: string | undefined;
134
134
  } | undefined;
135
135
  assa_abloy_vostio_metadata?: {
136
136
  endpoint_id?: string | undefined;
137
+ auto_join?: boolean | undefined;
137
138
  override_guest_acs_entrance_ids?: string[] | undefined;
138
139
  key_id?: string | undefined;
139
140
  key_issuing_request_id?: string | undefined;
@@ -141,7 +142,7 @@ export declare const resolveActionAttempt: <T extends {
141
142
  } | undefined;
142
143
  is_one_time_use?: boolean | undefined;
143
144
  issued_at?: string | null | undefined;
144
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
145
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
145
146
  external_type_display_name?: string | undefined;
146
147
  acs_user_id?: string | undefined;
147
148
  acs_credential_pool_id?: string | undefined;
@@ -153,6 +154,7 @@ export declare const resolveActionAttempt: <T extends {
153
154
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
154
155
  } | {
155
156
  display_name: string;
157
+ workspace_id: string;
156
158
  created_at: string;
157
159
  errors: {
158
160
  message: string;
@@ -183,7 +185,6 @@ export declare const resolveActionAttempt: <T extends {
183
185
  created_at: string;
184
186
  warning_code: "needs_to_be_reissued";
185
187
  })[];
186
- workspace_id: string;
187
188
  is_managed: false;
188
189
  acs_system_id: string;
189
190
  acs_credential_id: string;
@@ -193,16 +194,17 @@ export declare const resolveActionAttempt: <T extends {
193
194
  ends_at?: string | undefined;
194
195
  visionline_metadata?: {
195
196
  card_function_type: "guest" | "staff";
197
+ auto_join?: boolean | undefined;
196
198
  joiner_acs_credential_ids?: string[] | undefined;
197
199
  guest_acs_entrance_ids?: string[] | undefined;
198
200
  common_acs_entrance_ids?: string[] | undefined;
199
201
  is_valid?: boolean | undefined;
200
- auto_join?: boolean | undefined;
201
202
  card_id?: string | undefined;
202
203
  credential_id?: string | undefined;
203
204
  } | undefined;
204
205
  assa_abloy_vostio_metadata?: {
205
206
  endpoint_id?: string | undefined;
207
+ auto_join?: boolean | undefined;
206
208
  override_guest_acs_entrance_ids?: string[] | undefined;
207
209
  key_id?: string | undefined;
208
210
  key_issuing_request_id?: string | undefined;
@@ -210,7 +212,7 @@ export declare const resolveActionAttempt: <T extends {
210
212
  } | undefined;
211
213
  is_one_time_use?: boolean | undefined;
212
214
  issued_at?: string | null | undefined;
213
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
215
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
214
216
  external_type_display_name?: string | undefined;
215
217
  acs_user_id?: string | undefined;
216
218
  acs_credential_pool_id?: string | undefined;
@@ -238,6 +240,48 @@ export declare const resolveActionAttempt: <T extends {
238
240
  action_attempt_id: string;
239
241
  result: null;
240
242
  action_type: "SCAN_CREDENTIAL";
243
+ } | {
244
+ error: null;
245
+ status: "pending";
246
+ action_attempt_id: string;
247
+ result: null;
248
+ action_type: "ENCODE_ACCESS_METHOD";
249
+ } | {
250
+ error: null;
251
+ status: "success";
252
+ action_attempt_id: string;
253
+ result: {
254
+ display_name: string;
255
+ workspace_id: string;
256
+ created_at: string;
257
+ mode: "code" | "card" | "mobile_key";
258
+ access_method_id: string;
259
+ issued_at?: string | undefined;
260
+ instant_key_url?: string | undefined;
261
+ is_card_encoding_required?: boolean | undefined;
262
+ };
263
+ action_type: "ENCODE_ACCESS_METHOD";
264
+ } | {
265
+ error: {
266
+ type: "uncategorized_error";
267
+ message: string;
268
+ } | {
269
+ type: "action_attempt_expired";
270
+ message: string;
271
+ } | {
272
+ type: "no_credential_on_encoder";
273
+ message: string;
274
+ } | {
275
+ type: "incompatible_card_format";
276
+ message: string;
277
+ } | {
278
+ type: "credential_cannot_be_reissued";
279
+ message: string;
280
+ };
281
+ status: "error";
282
+ action_attempt_id: string;
283
+ result: null;
284
+ action_type: "ENCODE_ACCESS_METHOD";
241
285
  } | {
242
286
  error: null;
243
287
  status: "pending";
@@ -250,6 +294,7 @@ export declare const resolveActionAttempt: <T extends {
250
294
  action_attempt_id: string;
251
295
  result: {
252
296
  display_name: string;
297
+ workspace_id: string;
253
298
  created_at: string;
254
299
  errors: {
255
300
  message: string;
@@ -280,7 +325,6 @@ export declare const resolveActionAttempt: <T extends {
280
325
  created_at: string;
281
326
  warning_code: "needs_to_be_reissued";
282
327
  })[];
283
- workspace_id: string;
284
328
  is_managed: true;
285
329
  acs_system_id: string;
286
330
  acs_credential_id: string;
@@ -290,16 +334,17 @@ export declare const resolveActionAttempt: <T extends {
290
334
  ends_at?: string | undefined;
291
335
  visionline_metadata?: {
292
336
  card_function_type: "guest" | "staff";
337
+ auto_join?: boolean | undefined;
293
338
  joiner_acs_credential_ids?: string[] | undefined;
294
339
  guest_acs_entrance_ids?: string[] | undefined;
295
340
  common_acs_entrance_ids?: string[] | undefined;
296
341
  is_valid?: boolean | undefined;
297
- auto_join?: boolean | undefined;
298
342
  card_id?: string | undefined;
299
343
  credential_id?: string | undefined;
300
344
  } | undefined;
301
345
  assa_abloy_vostio_metadata?: {
302
346
  endpoint_id?: string | undefined;
347
+ auto_join?: boolean | undefined;
303
348
  override_guest_acs_entrance_ids?: string[] | undefined;
304
349
  key_id?: string | undefined;
305
350
  key_issuing_request_id?: string | undefined;
@@ -307,7 +352,7 @@ export declare const resolveActionAttempt: <T extends {
307
352
  } | undefined;
308
353
  is_one_time_use?: boolean | undefined;
309
354
  issued_at?: string | null | undefined;
310
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
355
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
311
356
  external_type_display_name?: string | undefined;
312
357
  acs_user_id?: string | undefined;
313
358
  acs_credential_pool_id?: string | undefined;
@@ -319,6 +364,7 @@ export declare const resolveActionAttempt: <T extends {
319
364
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
320
365
  } | {
321
366
  display_name: string;
367
+ workspace_id: string;
322
368
  created_at: string;
323
369
  errors: {
324
370
  message: string;
@@ -349,7 +395,6 @@ export declare const resolveActionAttempt: <T extends {
349
395
  created_at: string;
350
396
  warning_code: "needs_to_be_reissued";
351
397
  })[];
352
- workspace_id: string;
353
398
  is_managed: false;
354
399
  acs_system_id: string;
355
400
  acs_credential_id: string;
@@ -359,16 +404,17 @@ export declare const resolveActionAttempt: <T extends {
359
404
  ends_at?: string | undefined;
360
405
  visionline_metadata?: {
361
406
  card_function_type: "guest" | "staff";
407
+ auto_join?: boolean | undefined;
362
408
  joiner_acs_credential_ids?: string[] | undefined;
363
409
  guest_acs_entrance_ids?: string[] | undefined;
364
410
  common_acs_entrance_ids?: string[] | undefined;
365
411
  is_valid?: boolean | undefined;
366
- auto_join?: boolean | undefined;
367
412
  card_id?: string | undefined;
368
413
  credential_id?: string | undefined;
369
414
  } | undefined;
370
415
  assa_abloy_vostio_metadata?: {
371
416
  endpoint_id?: string | undefined;
417
+ auto_join?: boolean | undefined;
372
418
  override_guest_acs_entrance_ids?: string[] | undefined;
373
419
  key_id?: string | undefined;
374
420
  key_issuing_request_id?: string | undefined;
@@ -376,7 +422,7 @@ export declare const resolveActionAttempt: <T extends {
376
422
  } | undefined;
377
423
  is_one_time_use?: boolean | undefined;
378
424
  issued_at?: string | null | undefined;
379
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
425
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
380
426
  external_type_display_name?: string | undefined;
381
427
  acs_user_id?: string | undefined;
382
428
  acs_credential_pool_id?: string | undefined;
@@ -493,6 +539,69 @@ export declare const resolveActionAttempt: <T extends {
493
539
  action_attempt_id: string;
494
540
  result: null;
495
541
  action_type: "ACTIVATE_CLIMATE_PRESET";
542
+ } | {
543
+ error: null;
544
+ status: "pending";
545
+ action_attempt_id: string;
546
+ result: null;
547
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
548
+ } | {
549
+ error: null;
550
+ status: "success";
551
+ action_attempt_id: string;
552
+ result: {};
553
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
554
+ } | {
555
+ error: {
556
+ type: string;
557
+ message: string;
558
+ };
559
+ status: "error";
560
+ action_attempt_id: string;
561
+ result: null;
562
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
563
+ } | {
564
+ error: null;
565
+ status: "pending";
566
+ action_attempt_id: string;
567
+ result: null;
568
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
569
+ } | {
570
+ error: null;
571
+ status: "success";
572
+ action_attempt_id: string;
573
+ result: {};
574
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
575
+ } | {
576
+ error: {
577
+ type: string;
578
+ message: string;
579
+ };
580
+ status: "error";
581
+ action_attempt_id: string;
582
+ result: null;
583
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
584
+ } | {
585
+ error: null;
586
+ status: "pending";
587
+ action_attempt_id: string;
588
+ result: null;
589
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
590
+ } | {
591
+ error: null;
592
+ status: "success";
593
+ action_attempt_id: string;
594
+ result: {};
595
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
596
+ } | {
597
+ error: {
598
+ type: string;
599
+ message: string;
600
+ };
601
+ status: "error";
602
+ action_attempt_id: string;
603
+ result: null;
604
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
496
605
  } | {
497
606
  error: null;
498
607
  status: "pending";
@@ -709,9 +818,9 @@ export declare const isSeamActionAttemptError: <T extends {
709
818
  warning_message: string;
710
819
  }[];
711
820
  acs_credential_on_encoder: {
821
+ created_at: string | null;
712
822
  starts_at: string | null;
713
823
  ends_at: string | null;
714
- created_at: string | null;
715
824
  card_number: string | null;
716
825
  is_issued: boolean | null;
717
826
  visionline_metadata?: {
@@ -731,6 +840,7 @@ export declare const isSeamActionAttemptError: <T extends {
731
840
  } | null;
732
841
  acs_credential_on_seam: {
733
842
  display_name: string;
843
+ workspace_id: string;
734
844
  created_at: string;
735
845
  errors: {
736
846
  message: string;
@@ -761,7 +871,6 @@ export declare const isSeamActionAttemptError: <T extends {
761
871
  created_at: string;
762
872
  warning_code: "needs_to_be_reissued";
763
873
  })[];
764
- workspace_id: string;
765
874
  is_managed: true;
766
875
  acs_system_id: string;
767
876
  acs_credential_id: string;
@@ -771,16 +880,17 @@ export declare const isSeamActionAttemptError: <T extends {
771
880
  ends_at?: string | undefined;
772
881
  visionline_metadata?: {
773
882
  card_function_type: "guest" | "staff";
883
+ auto_join?: boolean | undefined;
774
884
  joiner_acs_credential_ids?: string[] | undefined;
775
885
  guest_acs_entrance_ids?: string[] | undefined;
776
886
  common_acs_entrance_ids?: string[] | undefined;
777
887
  is_valid?: boolean | undefined;
778
- auto_join?: boolean | undefined;
779
888
  card_id?: string | undefined;
780
889
  credential_id?: string | undefined;
781
890
  } | undefined;
782
891
  assa_abloy_vostio_metadata?: {
783
892
  endpoint_id?: string | undefined;
893
+ auto_join?: boolean | undefined;
784
894
  override_guest_acs_entrance_ids?: string[] | undefined;
785
895
  key_id?: string | undefined;
786
896
  key_issuing_request_id?: string | undefined;
@@ -788,7 +898,7 @@ export declare const isSeamActionAttemptError: <T extends {
788
898
  } | undefined;
789
899
  is_one_time_use?: boolean | undefined;
790
900
  issued_at?: string | null | undefined;
791
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
901
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
792
902
  external_type_display_name?: string | undefined;
793
903
  acs_user_id?: string | undefined;
794
904
  acs_credential_pool_id?: string | undefined;
@@ -800,6 +910,7 @@ export declare const isSeamActionAttemptError: <T extends {
800
910
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
801
911
  } | {
802
912
  display_name: string;
913
+ workspace_id: string;
803
914
  created_at: string;
804
915
  errors: {
805
916
  message: string;
@@ -830,7 +941,6 @@ export declare const isSeamActionAttemptError: <T extends {
830
941
  created_at: string;
831
942
  warning_code: "needs_to_be_reissued";
832
943
  })[];
833
- workspace_id: string;
834
944
  is_managed: false;
835
945
  acs_system_id: string;
836
946
  acs_credential_id: string;
@@ -840,16 +950,17 @@ export declare const isSeamActionAttemptError: <T extends {
840
950
  ends_at?: string | undefined;
841
951
  visionline_metadata?: {
842
952
  card_function_type: "guest" | "staff";
953
+ auto_join?: boolean | undefined;
843
954
  joiner_acs_credential_ids?: string[] | undefined;
844
955
  guest_acs_entrance_ids?: string[] | undefined;
845
956
  common_acs_entrance_ids?: string[] | undefined;
846
957
  is_valid?: boolean | undefined;
847
- auto_join?: boolean | undefined;
848
958
  card_id?: string | undefined;
849
959
  credential_id?: string | undefined;
850
960
  } | undefined;
851
961
  assa_abloy_vostio_metadata?: {
852
962
  endpoint_id?: string | undefined;
963
+ auto_join?: boolean | undefined;
853
964
  override_guest_acs_entrance_ids?: string[] | undefined;
854
965
  key_id?: string | undefined;
855
966
  key_issuing_request_id?: string | undefined;
@@ -857,7 +968,7 @@ export declare const isSeamActionAttemptError: <T extends {
857
968
  } | undefined;
858
969
  is_one_time_use?: boolean | undefined;
859
970
  issued_at?: string | null | undefined;
860
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
971
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
861
972
  external_type_display_name?: string | undefined;
862
973
  acs_user_id?: string | undefined;
863
974
  acs_credential_pool_id?: string | undefined;
@@ -885,6 +996,48 @@ export declare const isSeamActionAttemptError: <T extends {
885
996
  action_attempt_id: string;
886
997
  result: null;
887
998
  action_type: "SCAN_CREDENTIAL";
999
+ } | {
1000
+ error: null;
1001
+ status: "pending";
1002
+ action_attempt_id: string;
1003
+ result: null;
1004
+ action_type: "ENCODE_ACCESS_METHOD";
1005
+ } | {
1006
+ error: null;
1007
+ status: "success";
1008
+ action_attempt_id: string;
1009
+ result: {
1010
+ display_name: string;
1011
+ workspace_id: string;
1012
+ created_at: string;
1013
+ mode: "code" | "card" | "mobile_key";
1014
+ access_method_id: string;
1015
+ issued_at?: string | undefined;
1016
+ instant_key_url?: string | undefined;
1017
+ is_card_encoding_required?: boolean | undefined;
1018
+ };
1019
+ action_type: "ENCODE_ACCESS_METHOD";
1020
+ } | {
1021
+ error: {
1022
+ type: "uncategorized_error";
1023
+ message: string;
1024
+ } | {
1025
+ type: "action_attempt_expired";
1026
+ message: string;
1027
+ } | {
1028
+ type: "no_credential_on_encoder";
1029
+ message: string;
1030
+ } | {
1031
+ type: "incompatible_card_format";
1032
+ message: string;
1033
+ } | {
1034
+ type: "credential_cannot_be_reissued";
1035
+ message: string;
1036
+ };
1037
+ status: "error";
1038
+ action_attempt_id: string;
1039
+ result: null;
1040
+ action_type: "ENCODE_ACCESS_METHOD";
888
1041
  } | {
889
1042
  error: null;
890
1043
  status: "pending";
@@ -897,6 +1050,7 @@ export declare const isSeamActionAttemptError: <T extends {
897
1050
  action_attempt_id: string;
898
1051
  result: {
899
1052
  display_name: string;
1053
+ workspace_id: string;
900
1054
  created_at: string;
901
1055
  errors: {
902
1056
  message: string;
@@ -927,7 +1081,6 @@ export declare const isSeamActionAttemptError: <T extends {
927
1081
  created_at: string;
928
1082
  warning_code: "needs_to_be_reissued";
929
1083
  })[];
930
- workspace_id: string;
931
1084
  is_managed: true;
932
1085
  acs_system_id: string;
933
1086
  acs_credential_id: string;
@@ -937,16 +1090,17 @@ export declare const isSeamActionAttemptError: <T extends {
937
1090
  ends_at?: string | undefined;
938
1091
  visionline_metadata?: {
939
1092
  card_function_type: "guest" | "staff";
1093
+ auto_join?: boolean | undefined;
940
1094
  joiner_acs_credential_ids?: string[] | undefined;
941
1095
  guest_acs_entrance_ids?: string[] | undefined;
942
1096
  common_acs_entrance_ids?: string[] | undefined;
943
1097
  is_valid?: boolean | undefined;
944
- auto_join?: boolean | undefined;
945
1098
  card_id?: string | undefined;
946
1099
  credential_id?: string | undefined;
947
1100
  } | undefined;
948
1101
  assa_abloy_vostio_metadata?: {
949
1102
  endpoint_id?: string | undefined;
1103
+ auto_join?: boolean | undefined;
950
1104
  override_guest_acs_entrance_ids?: string[] | undefined;
951
1105
  key_id?: string | undefined;
952
1106
  key_issuing_request_id?: string | undefined;
@@ -954,7 +1108,7 @@ export declare const isSeamActionAttemptError: <T extends {
954
1108
  } | undefined;
955
1109
  is_one_time_use?: boolean | undefined;
956
1110
  issued_at?: string | null | undefined;
957
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1111
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
958
1112
  external_type_display_name?: string | undefined;
959
1113
  acs_user_id?: string | undefined;
960
1114
  acs_credential_pool_id?: string | undefined;
@@ -966,6 +1120,7 @@ export declare const isSeamActionAttemptError: <T extends {
966
1120
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
967
1121
  } | {
968
1122
  display_name: string;
1123
+ workspace_id: string;
969
1124
  created_at: string;
970
1125
  errors: {
971
1126
  message: string;
@@ -996,7 +1151,6 @@ export declare const isSeamActionAttemptError: <T extends {
996
1151
  created_at: string;
997
1152
  warning_code: "needs_to_be_reissued";
998
1153
  })[];
999
- workspace_id: string;
1000
1154
  is_managed: false;
1001
1155
  acs_system_id: string;
1002
1156
  acs_credential_id: string;
@@ -1006,16 +1160,17 @@ export declare const isSeamActionAttemptError: <T extends {
1006
1160
  ends_at?: string | undefined;
1007
1161
  visionline_metadata?: {
1008
1162
  card_function_type: "guest" | "staff";
1163
+ auto_join?: boolean | undefined;
1009
1164
  joiner_acs_credential_ids?: string[] | undefined;
1010
1165
  guest_acs_entrance_ids?: string[] | undefined;
1011
1166
  common_acs_entrance_ids?: string[] | undefined;
1012
1167
  is_valid?: boolean | undefined;
1013
- auto_join?: boolean | undefined;
1014
1168
  card_id?: string | undefined;
1015
1169
  credential_id?: string | undefined;
1016
1170
  } | undefined;
1017
1171
  assa_abloy_vostio_metadata?: {
1018
1172
  endpoint_id?: string | undefined;
1173
+ auto_join?: boolean | undefined;
1019
1174
  override_guest_acs_entrance_ids?: string[] | undefined;
1020
1175
  key_id?: string | undefined;
1021
1176
  key_issuing_request_id?: string | undefined;
@@ -1023,7 +1178,7 @@ export declare const isSeamActionAttemptError: <T extends {
1023
1178
  } | undefined;
1024
1179
  is_one_time_use?: boolean | undefined;
1025
1180
  issued_at?: string | null | undefined;
1026
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1181
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1027
1182
  external_type_display_name?: string | undefined;
1028
1183
  acs_user_id?: string | undefined;
1029
1184
  acs_credential_pool_id?: string | undefined;
@@ -1140,6 +1295,69 @@ export declare const isSeamActionAttemptError: <T extends {
1140
1295
  action_attempt_id: string;
1141
1296
  result: null;
1142
1297
  action_type: "ACTIVATE_CLIMATE_PRESET";
1298
+ } | {
1299
+ error: null;
1300
+ status: "pending";
1301
+ action_attempt_id: string;
1302
+ result: null;
1303
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
1304
+ } | {
1305
+ error: null;
1306
+ status: "success";
1307
+ action_attempt_id: string;
1308
+ result: {};
1309
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
1310
+ } | {
1311
+ error: {
1312
+ type: string;
1313
+ message: string;
1314
+ };
1315
+ status: "error";
1316
+ action_attempt_id: string;
1317
+ result: null;
1318
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
1319
+ } | {
1320
+ error: null;
1321
+ status: "pending";
1322
+ action_attempt_id: string;
1323
+ result: null;
1324
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
1325
+ } | {
1326
+ error: null;
1327
+ status: "success";
1328
+ action_attempt_id: string;
1329
+ result: {};
1330
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
1331
+ } | {
1332
+ error: {
1333
+ type: string;
1334
+ message: string;
1335
+ };
1336
+ status: "error";
1337
+ action_attempt_id: string;
1338
+ result: null;
1339
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
1340
+ } | {
1341
+ error: null;
1342
+ status: "pending";
1343
+ action_attempt_id: string;
1344
+ result: null;
1345
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
1346
+ } | {
1347
+ error: null;
1348
+ status: "success";
1349
+ action_attempt_id: string;
1350
+ result: {};
1351
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
1352
+ } | {
1353
+ error: {
1354
+ type: string;
1355
+ message: string;
1356
+ };
1357
+ status: "error";
1358
+ action_attempt_id: string;
1359
+ result: null;
1360
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
1143
1361
  } | {
1144
1362
  error: null;
1145
1363
  status: "pending";
@@ -1358,9 +1576,9 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1358
1576
  warning_message: string;
1359
1577
  }[];
1360
1578
  acs_credential_on_encoder: {
1579
+ created_at: string | null;
1361
1580
  starts_at: string | null;
1362
1581
  ends_at: string | null;
1363
- created_at: string | null;
1364
1582
  card_number: string | null;
1365
1583
  is_issued: boolean | null;
1366
1584
  visionline_metadata?: {
@@ -1380,6 +1598,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1380
1598
  } | null;
1381
1599
  acs_credential_on_seam: {
1382
1600
  display_name: string;
1601
+ workspace_id: string;
1383
1602
  created_at: string;
1384
1603
  errors: {
1385
1604
  message: string;
@@ -1410,7 +1629,6 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1410
1629
  created_at: string;
1411
1630
  warning_code: "needs_to_be_reissued";
1412
1631
  })[];
1413
- workspace_id: string;
1414
1632
  is_managed: true;
1415
1633
  acs_system_id: string;
1416
1634
  acs_credential_id: string;
@@ -1420,16 +1638,17 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1420
1638
  ends_at?: string | undefined;
1421
1639
  visionline_metadata?: {
1422
1640
  card_function_type: "guest" | "staff";
1641
+ auto_join?: boolean | undefined;
1423
1642
  joiner_acs_credential_ids?: string[] | undefined;
1424
1643
  guest_acs_entrance_ids?: string[] | undefined;
1425
1644
  common_acs_entrance_ids?: string[] | undefined;
1426
1645
  is_valid?: boolean | undefined;
1427
- auto_join?: boolean | undefined;
1428
1646
  card_id?: string | undefined;
1429
1647
  credential_id?: string | undefined;
1430
1648
  } | undefined;
1431
1649
  assa_abloy_vostio_metadata?: {
1432
1650
  endpoint_id?: string | undefined;
1651
+ auto_join?: boolean | undefined;
1433
1652
  override_guest_acs_entrance_ids?: string[] | undefined;
1434
1653
  key_id?: string | undefined;
1435
1654
  key_issuing_request_id?: string | undefined;
@@ -1437,7 +1656,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1437
1656
  } | undefined;
1438
1657
  is_one_time_use?: boolean | undefined;
1439
1658
  issued_at?: string | null | undefined;
1440
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1659
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1441
1660
  external_type_display_name?: string | undefined;
1442
1661
  acs_user_id?: string | undefined;
1443
1662
  acs_credential_pool_id?: string | undefined;
@@ -1449,6 +1668,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1449
1668
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
1450
1669
  } | {
1451
1670
  display_name: string;
1671
+ workspace_id: string;
1452
1672
  created_at: string;
1453
1673
  errors: {
1454
1674
  message: string;
@@ -1479,7 +1699,6 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1479
1699
  created_at: string;
1480
1700
  warning_code: "needs_to_be_reissued";
1481
1701
  })[];
1482
- workspace_id: string;
1483
1702
  is_managed: false;
1484
1703
  acs_system_id: string;
1485
1704
  acs_credential_id: string;
@@ -1489,16 +1708,17 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1489
1708
  ends_at?: string | undefined;
1490
1709
  visionline_metadata?: {
1491
1710
  card_function_type: "guest" | "staff";
1711
+ auto_join?: boolean | undefined;
1492
1712
  joiner_acs_credential_ids?: string[] | undefined;
1493
1713
  guest_acs_entrance_ids?: string[] | undefined;
1494
1714
  common_acs_entrance_ids?: string[] | undefined;
1495
1715
  is_valid?: boolean | undefined;
1496
- auto_join?: boolean | undefined;
1497
1716
  card_id?: string | undefined;
1498
1717
  credential_id?: string | undefined;
1499
1718
  } | undefined;
1500
1719
  assa_abloy_vostio_metadata?: {
1501
1720
  endpoint_id?: string | undefined;
1721
+ auto_join?: boolean | undefined;
1502
1722
  override_guest_acs_entrance_ids?: string[] | undefined;
1503
1723
  key_id?: string | undefined;
1504
1724
  key_issuing_request_id?: string | undefined;
@@ -1506,7 +1726,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1506
1726
  } | undefined;
1507
1727
  is_one_time_use?: boolean | undefined;
1508
1728
  issued_at?: string | null | undefined;
1509
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1729
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1510
1730
  external_type_display_name?: string | undefined;
1511
1731
  acs_user_id?: string | undefined;
1512
1732
  acs_credential_pool_id?: string | undefined;
@@ -1534,6 +1754,48 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1534
1754
  action_attempt_id: string;
1535
1755
  result: null;
1536
1756
  action_type: "SCAN_CREDENTIAL";
1757
+ } | {
1758
+ error: null;
1759
+ status: "pending";
1760
+ action_attempt_id: string;
1761
+ result: null;
1762
+ action_type: "ENCODE_ACCESS_METHOD";
1763
+ } | {
1764
+ error: null;
1765
+ status: "success";
1766
+ action_attempt_id: string;
1767
+ result: {
1768
+ display_name: string;
1769
+ workspace_id: string;
1770
+ created_at: string;
1771
+ mode: "code" | "card" | "mobile_key";
1772
+ access_method_id: string;
1773
+ issued_at?: string | undefined;
1774
+ instant_key_url?: string | undefined;
1775
+ is_card_encoding_required?: boolean | undefined;
1776
+ };
1777
+ action_type: "ENCODE_ACCESS_METHOD";
1778
+ } | {
1779
+ error: {
1780
+ type: "uncategorized_error";
1781
+ message: string;
1782
+ } | {
1783
+ type: "action_attempt_expired";
1784
+ message: string;
1785
+ } | {
1786
+ type: "no_credential_on_encoder";
1787
+ message: string;
1788
+ } | {
1789
+ type: "incompatible_card_format";
1790
+ message: string;
1791
+ } | {
1792
+ type: "credential_cannot_be_reissued";
1793
+ message: string;
1794
+ };
1795
+ status: "error";
1796
+ action_attempt_id: string;
1797
+ result: null;
1798
+ action_type: "ENCODE_ACCESS_METHOD";
1537
1799
  } | {
1538
1800
  error: null;
1539
1801
  status: "pending";
@@ -1546,6 +1808,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1546
1808
  action_attempt_id: string;
1547
1809
  result: {
1548
1810
  display_name: string;
1811
+ workspace_id: string;
1549
1812
  created_at: string;
1550
1813
  errors: {
1551
1814
  message: string;
@@ -1576,7 +1839,6 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1576
1839
  created_at: string;
1577
1840
  warning_code: "needs_to_be_reissued";
1578
1841
  })[];
1579
- workspace_id: string;
1580
1842
  is_managed: true;
1581
1843
  acs_system_id: string;
1582
1844
  acs_credential_id: string;
@@ -1586,16 +1848,17 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1586
1848
  ends_at?: string | undefined;
1587
1849
  visionline_metadata?: {
1588
1850
  card_function_type: "guest" | "staff";
1851
+ auto_join?: boolean | undefined;
1589
1852
  joiner_acs_credential_ids?: string[] | undefined;
1590
1853
  guest_acs_entrance_ids?: string[] | undefined;
1591
1854
  common_acs_entrance_ids?: string[] | undefined;
1592
1855
  is_valid?: boolean | undefined;
1593
- auto_join?: boolean | undefined;
1594
1856
  card_id?: string | undefined;
1595
1857
  credential_id?: string | undefined;
1596
1858
  } | undefined;
1597
1859
  assa_abloy_vostio_metadata?: {
1598
1860
  endpoint_id?: string | undefined;
1861
+ auto_join?: boolean | undefined;
1599
1862
  override_guest_acs_entrance_ids?: string[] | undefined;
1600
1863
  key_id?: string | undefined;
1601
1864
  key_issuing_request_id?: string | undefined;
@@ -1603,7 +1866,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1603
1866
  } | undefined;
1604
1867
  is_one_time_use?: boolean | undefined;
1605
1868
  issued_at?: string | null | undefined;
1606
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1869
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1607
1870
  external_type_display_name?: string | undefined;
1608
1871
  acs_user_id?: string | undefined;
1609
1872
  acs_credential_pool_id?: string | undefined;
@@ -1615,6 +1878,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1615
1878
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
1616
1879
  } | {
1617
1880
  display_name: string;
1881
+ workspace_id: string;
1618
1882
  created_at: string;
1619
1883
  errors: {
1620
1884
  message: string;
@@ -1645,7 +1909,6 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1645
1909
  created_at: string;
1646
1910
  warning_code: "needs_to_be_reissued";
1647
1911
  })[];
1648
- workspace_id: string;
1649
1912
  is_managed: false;
1650
1913
  acs_system_id: string;
1651
1914
  acs_credential_id: string;
@@ -1655,16 +1918,17 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1655
1918
  ends_at?: string | undefined;
1656
1919
  visionline_metadata?: {
1657
1920
  card_function_type: "guest" | "staff";
1921
+ auto_join?: boolean | undefined;
1658
1922
  joiner_acs_credential_ids?: string[] | undefined;
1659
1923
  guest_acs_entrance_ids?: string[] | undefined;
1660
1924
  common_acs_entrance_ids?: string[] | undefined;
1661
1925
  is_valid?: boolean | undefined;
1662
- auto_join?: boolean | undefined;
1663
1926
  card_id?: string | undefined;
1664
1927
  credential_id?: string | undefined;
1665
1928
  } | undefined;
1666
1929
  assa_abloy_vostio_metadata?: {
1667
1930
  endpoint_id?: string | undefined;
1931
+ auto_join?: boolean | undefined;
1668
1932
  override_guest_acs_entrance_ids?: string[] | undefined;
1669
1933
  key_id?: string | undefined;
1670
1934
  key_issuing_request_id?: string | undefined;
@@ -1672,7 +1936,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1672
1936
  } | undefined;
1673
1937
  is_one_time_use?: boolean | undefined;
1674
1938
  issued_at?: string | null | undefined;
1675
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1939
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1676
1940
  external_type_display_name?: string | undefined;
1677
1941
  acs_user_id?: string | undefined;
1678
1942
  acs_credential_pool_id?: string | undefined;
@@ -1789,6 +2053,69 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1789
2053
  action_attempt_id: string;
1790
2054
  result: null;
1791
2055
  action_type: "ACTIVATE_CLIMATE_PRESET";
2056
+ } | {
2057
+ error: null;
2058
+ status: "pending";
2059
+ action_attempt_id: string;
2060
+ result: null;
2061
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
2062
+ } | {
2063
+ error: null;
2064
+ status: "success";
2065
+ action_attempt_id: string;
2066
+ result: {};
2067
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
2068
+ } | {
2069
+ error: {
2070
+ type: string;
2071
+ message: string;
2072
+ };
2073
+ status: "error";
2074
+ action_attempt_id: string;
2075
+ result: null;
2076
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
2077
+ } | {
2078
+ error: null;
2079
+ status: "pending";
2080
+ action_attempt_id: string;
2081
+ result: null;
2082
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
2083
+ } | {
2084
+ error: null;
2085
+ status: "success";
2086
+ action_attempt_id: string;
2087
+ result: {};
2088
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
2089
+ } | {
2090
+ error: {
2091
+ type: string;
2092
+ message: string;
2093
+ };
2094
+ status: "error";
2095
+ action_attempt_id: string;
2096
+ result: null;
2097
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
2098
+ } | {
2099
+ error: null;
2100
+ status: "pending";
2101
+ action_attempt_id: string;
2102
+ result: null;
2103
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
2104
+ } | {
2105
+ error: null;
2106
+ status: "success";
2107
+ action_attempt_id: string;
2108
+ result: {};
2109
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
2110
+ } | {
2111
+ error: {
2112
+ type: string;
2113
+ message: string;
2114
+ };
2115
+ status: "error";
2116
+ action_attempt_id: string;
2117
+ result: null;
2118
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
1792
2119
  } | {
1793
2120
  error: null;
1794
2121
  status: "pending";
@@ -2007,9 +2334,9 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2007
2334
  warning_message: string;
2008
2335
  }[];
2009
2336
  acs_credential_on_encoder: {
2337
+ created_at: string | null;
2010
2338
  starts_at: string | null;
2011
2339
  ends_at: string | null;
2012
- created_at: string | null;
2013
2340
  card_number: string | null;
2014
2341
  is_issued: boolean | null;
2015
2342
  visionline_metadata?: {
@@ -2029,6 +2356,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2029
2356
  } | null;
2030
2357
  acs_credential_on_seam: {
2031
2358
  display_name: string;
2359
+ workspace_id: string;
2032
2360
  created_at: string;
2033
2361
  errors: {
2034
2362
  message: string;
@@ -2059,7 +2387,6 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2059
2387
  created_at: string;
2060
2388
  warning_code: "needs_to_be_reissued";
2061
2389
  })[];
2062
- workspace_id: string;
2063
2390
  is_managed: true;
2064
2391
  acs_system_id: string;
2065
2392
  acs_credential_id: string;
@@ -2069,16 +2396,17 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2069
2396
  ends_at?: string | undefined;
2070
2397
  visionline_metadata?: {
2071
2398
  card_function_type: "guest" | "staff";
2399
+ auto_join?: boolean | undefined;
2072
2400
  joiner_acs_credential_ids?: string[] | undefined;
2073
2401
  guest_acs_entrance_ids?: string[] | undefined;
2074
2402
  common_acs_entrance_ids?: string[] | undefined;
2075
2403
  is_valid?: boolean | undefined;
2076
- auto_join?: boolean | undefined;
2077
2404
  card_id?: string | undefined;
2078
2405
  credential_id?: string | undefined;
2079
2406
  } | undefined;
2080
2407
  assa_abloy_vostio_metadata?: {
2081
2408
  endpoint_id?: string | undefined;
2409
+ auto_join?: boolean | undefined;
2082
2410
  override_guest_acs_entrance_ids?: string[] | undefined;
2083
2411
  key_id?: string | undefined;
2084
2412
  key_issuing_request_id?: string | undefined;
@@ -2086,7 +2414,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2086
2414
  } | undefined;
2087
2415
  is_one_time_use?: boolean | undefined;
2088
2416
  issued_at?: string | null | undefined;
2089
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2417
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
2090
2418
  external_type_display_name?: string | undefined;
2091
2419
  acs_user_id?: string | undefined;
2092
2420
  acs_credential_pool_id?: string | undefined;
@@ -2098,6 +2426,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2098
2426
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
2099
2427
  } | {
2100
2428
  display_name: string;
2429
+ workspace_id: string;
2101
2430
  created_at: string;
2102
2431
  errors: {
2103
2432
  message: string;
@@ -2128,7 +2457,6 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2128
2457
  created_at: string;
2129
2458
  warning_code: "needs_to_be_reissued";
2130
2459
  })[];
2131
- workspace_id: string;
2132
2460
  is_managed: false;
2133
2461
  acs_system_id: string;
2134
2462
  acs_credential_id: string;
@@ -2138,16 +2466,17 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2138
2466
  ends_at?: string | undefined;
2139
2467
  visionline_metadata?: {
2140
2468
  card_function_type: "guest" | "staff";
2469
+ auto_join?: boolean | undefined;
2141
2470
  joiner_acs_credential_ids?: string[] | undefined;
2142
2471
  guest_acs_entrance_ids?: string[] | undefined;
2143
2472
  common_acs_entrance_ids?: string[] | undefined;
2144
2473
  is_valid?: boolean | undefined;
2145
- auto_join?: boolean | undefined;
2146
2474
  card_id?: string | undefined;
2147
2475
  credential_id?: string | undefined;
2148
2476
  } | undefined;
2149
2477
  assa_abloy_vostio_metadata?: {
2150
2478
  endpoint_id?: string | undefined;
2479
+ auto_join?: boolean | undefined;
2151
2480
  override_guest_acs_entrance_ids?: string[] | undefined;
2152
2481
  key_id?: string | undefined;
2153
2482
  key_issuing_request_id?: string | undefined;
@@ -2155,7 +2484,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2155
2484
  } | undefined;
2156
2485
  is_one_time_use?: boolean | undefined;
2157
2486
  issued_at?: string | null | undefined;
2158
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2487
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
2159
2488
  external_type_display_name?: string | undefined;
2160
2489
  acs_user_id?: string | undefined;
2161
2490
  acs_credential_pool_id?: string | undefined;
@@ -2183,6 +2512,48 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2183
2512
  action_attempt_id: string;
2184
2513
  result: null;
2185
2514
  action_type: "SCAN_CREDENTIAL";
2515
+ } | {
2516
+ error: null;
2517
+ status: "pending";
2518
+ action_attempt_id: string;
2519
+ result: null;
2520
+ action_type: "ENCODE_ACCESS_METHOD";
2521
+ } | {
2522
+ error: null;
2523
+ status: "success";
2524
+ action_attempt_id: string;
2525
+ result: {
2526
+ display_name: string;
2527
+ workspace_id: string;
2528
+ created_at: string;
2529
+ mode: "code" | "card" | "mobile_key";
2530
+ access_method_id: string;
2531
+ issued_at?: string | undefined;
2532
+ instant_key_url?: string | undefined;
2533
+ is_card_encoding_required?: boolean | undefined;
2534
+ };
2535
+ action_type: "ENCODE_ACCESS_METHOD";
2536
+ } | {
2537
+ error: {
2538
+ type: "uncategorized_error";
2539
+ message: string;
2540
+ } | {
2541
+ type: "action_attempt_expired";
2542
+ message: string;
2543
+ } | {
2544
+ type: "no_credential_on_encoder";
2545
+ message: string;
2546
+ } | {
2547
+ type: "incompatible_card_format";
2548
+ message: string;
2549
+ } | {
2550
+ type: "credential_cannot_be_reissued";
2551
+ message: string;
2552
+ };
2553
+ status: "error";
2554
+ action_attempt_id: string;
2555
+ result: null;
2556
+ action_type: "ENCODE_ACCESS_METHOD";
2186
2557
  } | {
2187
2558
  error: null;
2188
2559
  status: "pending";
@@ -2195,6 +2566,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2195
2566
  action_attempt_id: string;
2196
2567
  result: {
2197
2568
  display_name: string;
2569
+ workspace_id: string;
2198
2570
  created_at: string;
2199
2571
  errors: {
2200
2572
  message: string;
@@ -2225,7 +2597,6 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2225
2597
  created_at: string;
2226
2598
  warning_code: "needs_to_be_reissued";
2227
2599
  })[];
2228
- workspace_id: string;
2229
2600
  is_managed: true;
2230
2601
  acs_system_id: string;
2231
2602
  acs_credential_id: string;
@@ -2235,16 +2606,17 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2235
2606
  ends_at?: string | undefined;
2236
2607
  visionline_metadata?: {
2237
2608
  card_function_type: "guest" | "staff";
2609
+ auto_join?: boolean | undefined;
2238
2610
  joiner_acs_credential_ids?: string[] | undefined;
2239
2611
  guest_acs_entrance_ids?: string[] | undefined;
2240
2612
  common_acs_entrance_ids?: string[] | undefined;
2241
2613
  is_valid?: boolean | undefined;
2242
- auto_join?: boolean | undefined;
2243
2614
  card_id?: string | undefined;
2244
2615
  credential_id?: string | undefined;
2245
2616
  } | undefined;
2246
2617
  assa_abloy_vostio_metadata?: {
2247
2618
  endpoint_id?: string | undefined;
2619
+ auto_join?: boolean | undefined;
2248
2620
  override_guest_acs_entrance_ids?: string[] | undefined;
2249
2621
  key_id?: string | undefined;
2250
2622
  key_issuing_request_id?: string | undefined;
@@ -2252,7 +2624,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2252
2624
  } | undefined;
2253
2625
  is_one_time_use?: boolean | undefined;
2254
2626
  issued_at?: string | null | undefined;
2255
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2627
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
2256
2628
  external_type_display_name?: string | undefined;
2257
2629
  acs_user_id?: string | undefined;
2258
2630
  acs_credential_pool_id?: string | undefined;
@@ -2264,6 +2636,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2264
2636
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
2265
2637
  } | {
2266
2638
  display_name: string;
2639
+ workspace_id: string;
2267
2640
  created_at: string;
2268
2641
  errors: {
2269
2642
  message: string;
@@ -2294,7 +2667,6 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2294
2667
  created_at: string;
2295
2668
  warning_code: "needs_to_be_reissued";
2296
2669
  })[];
2297
- workspace_id: string;
2298
2670
  is_managed: false;
2299
2671
  acs_system_id: string;
2300
2672
  acs_credential_id: string;
@@ -2304,16 +2676,17 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2304
2676
  ends_at?: string | undefined;
2305
2677
  visionline_metadata?: {
2306
2678
  card_function_type: "guest" | "staff";
2679
+ auto_join?: boolean | undefined;
2307
2680
  joiner_acs_credential_ids?: string[] | undefined;
2308
2681
  guest_acs_entrance_ids?: string[] | undefined;
2309
2682
  common_acs_entrance_ids?: string[] | undefined;
2310
2683
  is_valid?: boolean | undefined;
2311
- auto_join?: boolean | undefined;
2312
2684
  card_id?: string | undefined;
2313
2685
  credential_id?: string | undefined;
2314
2686
  } | undefined;
2315
2687
  assa_abloy_vostio_metadata?: {
2316
2688
  endpoint_id?: string | undefined;
2689
+ auto_join?: boolean | undefined;
2317
2690
  override_guest_acs_entrance_ids?: string[] | undefined;
2318
2691
  key_id?: string | undefined;
2319
2692
  key_issuing_request_id?: string | undefined;
@@ -2321,7 +2694,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2321
2694
  } | undefined;
2322
2695
  is_one_time_use?: boolean | undefined;
2323
2696
  issued_at?: string | null | undefined;
2324
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2697
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
2325
2698
  external_type_display_name?: string | undefined;
2326
2699
  acs_user_id?: string | undefined;
2327
2700
  acs_credential_pool_id?: string | undefined;
@@ -2438,6 +2811,69 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2438
2811
  action_attempt_id: string;
2439
2812
  result: null;
2440
2813
  action_type: "ACTIVATE_CLIMATE_PRESET";
2814
+ } | {
2815
+ error: null;
2816
+ status: "pending";
2817
+ action_attempt_id: string;
2818
+ result: null;
2819
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
2820
+ } | {
2821
+ error: null;
2822
+ status: "success";
2823
+ action_attempt_id: string;
2824
+ result: {};
2825
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
2826
+ } | {
2827
+ error: {
2828
+ type: string;
2829
+ message: string;
2830
+ };
2831
+ status: "error";
2832
+ action_attempt_id: string;
2833
+ result: null;
2834
+ action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
2835
+ } | {
2836
+ error: null;
2837
+ status: "pending";
2838
+ action_attempt_id: string;
2839
+ result: null;
2840
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
2841
+ } | {
2842
+ error: null;
2843
+ status: "success";
2844
+ action_attempt_id: string;
2845
+ result: {};
2846
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
2847
+ } | {
2848
+ error: {
2849
+ type: string;
2850
+ message: string;
2851
+ };
2852
+ status: "error";
2853
+ action_attempt_id: string;
2854
+ result: null;
2855
+ action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
2856
+ } | {
2857
+ error: null;
2858
+ status: "pending";
2859
+ action_attempt_id: string;
2860
+ result: null;
2861
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
2862
+ } | {
2863
+ error: null;
2864
+ status: "success";
2865
+ action_attempt_id: string;
2866
+ result: {};
2867
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
2868
+ } | {
2869
+ error: {
2870
+ type: string;
2871
+ message: string;
2872
+ };
2873
+ status: "error";
2874
+ action_attempt_id: string;
2875
+ result: null;
2876
+ action_type: "PUSH_THERMOSTAT_PROGRAMS";
2441
2877
  } | {
2442
2878
  error: null;
2443
2879
  status: "pending";