@seamapi/types 1.851.0 → 1.853.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 (34) hide show
  1. package/dist/connect.cjs +729 -60
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +8858 -470
  4. package/dist/index.cjs +729 -60
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +558 -0
  7. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  9. package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.d.ts +561 -0
  10. package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.js +38 -0
  11. package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.js.map +1 -0
  12. package/lib/seam/connect/models/batch.d.ts +953 -117
  13. package/lib/seam/connect/models/devices/device-metadata.d.ts +28 -0
  14. package/lib/seam/connect/models/devices/device-metadata.js +12 -0
  15. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  16. package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
  17. package/lib/seam/connect/models/devices/device-provider.js +1 -0
  18. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  19. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  20. package/lib/seam/connect/models/devices/device-type.js +1 -0
  21. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  22. package/lib/seam/connect/models/devices/device.d.ts +43 -3
  23. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +31 -3
  24. package/lib/seam/connect/openapi.js +621 -0
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +7379 -454
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  29. package/src/lib/seam/connect/models/action-attempts/scan-to-assign-credential.ts +69 -0
  30. package/src/lib/seam/connect/models/devices/device-metadata.ts +15 -0
  31. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
  32. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  33. package/src/lib/seam/connect/openapi.ts +709 -0
  34. package/src/lib/seam/connect/route-types.ts +8322 -0
@@ -233,7 +233,7 @@ export declare const batch: z.ZodObject<{
233
233
  }>, "many">>;
234
234
  devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
235
235
  device_id: z.ZodString;
236
- device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera"]>]>;
236
+ device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera"]>]>;
237
237
  space_ids: z.ZodArray<z.ZodString, "many">;
238
238
  nickname: z.ZodOptional<z.ZodString>;
239
239
  display_name: z.ZodString;
@@ -1181,6 +1181,22 @@ export declare const batch: z.ZodObject<{
1181
1181
  }, {
1182
1182
  encoder_name: string;
1183
1183
  }>>;
1184
+ omnitec_metadata: z.ZodOptional<z.ZodObject<{
1185
+ lock_id: z.ZodNumber;
1186
+ lock_name: z.ZodString;
1187
+ lock_mac: z.ZodString;
1188
+ has_gateway: z.ZodBoolean;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ lock_id: number;
1191
+ lock_name: string;
1192
+ has_gateway: boolean;
1193
+ lock_mac: string;
1194
+ }, {
1195
+ lock_id: number;
1196
+ lock_name: string;
1197
+ has_gateway: boolean;
1198
+ lock_mac: string;
1199
+ }>>;
1184
1200
  tado_metadata: z.ZodOptional<z.ZodObject<{
1185
1201
  serial_no: z.ZodString;
1186
1202
  device_type: z.ZodString;
@@ -1555,6 +1571,12 @@ export declare const batch: z.ZodObject<{
1555
1571
  assa_abloy_vostio_metadata?: {
1556
1572
  encoder_name: string;
1557
1573
  } | undefined;
1574
+ omnitec_metadata?: {
1575
+ lock_id: number;
1576
+ lock_name: string;
1577
+ has_gateway: boolean;
1578
+ lock_mac: string;
1579
+ } | undefined;
1558
1580
  tado_metadata?: {
1559
1581
  serial_no: string;
1560
1582
  device_type: string;
@@ -1835,6 +1857,12 @@ export declare const batch: z.ZodObject<{
1835
1857
  assa_abloy_vostio_metadata?: {
1836
1858
  encoder_name: string;
1837
1859
  } | undefined;
1860
+ omnitec_metadata?: {
1861
+ lock_id: number;
1862
+ lock_name: string;
1863
+ has_gateway: boolean;
1864
+ lock_mac: string;
1865
+ } | undefined;
1838
1866
  tado_metadata?: {
1839
1867
  serial_no: string;
1840
1868
  device_type: string;
@@ -3527,7 +3555,7 @@ export declare const batch: z.ZodObject<{
3527
3555
  max_active_access_code_count: number;
3528
3556
  })[];
3529
3557
  custom_metadata: Record<string, string | boolean>;
3530
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
3558
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
3531
3559
  space_ids: string[];
3532
3560
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
3533
3561
  properties: {
@@ -3805,6 +3833,12 @@ export declare const batch: z.ZodObject<{
3805
3833
  assa_abloy_vostio_metadata?: {
3806
3834
  encoder_name: string;
3807
3835
  } | undefined;
3836
+ omnitec_metadata?: {
3837
+ lock_id: number;
3838
+ lock_name: string;
3839
+ has_gateway: boolean;
3840
+ lock_mac: string;
3841
+ } | undefined;
3808
3842
  tado_metadata?: {
3809
3843
  serial_no: string;
3810
3844
  device_type: string;
@@ -4255,7 +4289,7 @@ export declare const batch: z.ZodObject<{
4255
4289
  max_active_access_code_count: number;
4256
4290
  })[];
4257
4291
  custom_metadata: Record<string, string | boolean>;
4258
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
4292
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
4259
4293
  space_ids: string[];
4260
4294
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
4261
4295
  properties: {
@@ -4533,6 +4567,12 @@ export declare const batch: z.ZodObject<{
4533
4567
  assa_abloy_vostio_metadata?: {
4534
4568
  encoder_name: string;
4535
4569
  } | undefined;
4570
+ omnitec_metadata?: {
4571
+ lock_id: number;
4572
+ lock_name: string;
4573
+ has_gateway: boolean;
4574
+ lock_mac: string;
4575
+ } | undefined;
4536
4576
  tado_metadata?: {
4537
4577
  serial_no: string;
4538
4578
  device_type: string;
@@ -10528,69 +10568,669 @@ export declare const batch: z.ZodObject<{
10528
10568
  }, {
10529
10569
  message: string;
10530
10570
  type: "no_credential_on_encoder";
10531
- }>, z.ZodObject<{
10532
- type: z.ZodLiteral<"incompatible_card_format">;
10533
- message: z.ZodString;
10534
- }, "strip", z.ZodTypeAny, {
10535
- message: string;
10536
- type: "incompatible_card_format";
10537
- }, {
10538
- message: string;
10539
- type: "incompatible_card_format";
10540
- }>, z.ZodObject<{
10541
- type: z.ZodLiteral<"credential_cannot_be_reissued">;
10542
- message: z.ZodString;
10543
- }, "strip", z.ZodTypeAny, {
10544
- message: string;
10545
- type: "credential_cannot_be_reissued";
10546
- }, {
10547
- message: string;
10548
- type: "credential_cannot_be_reissued";
10549
- }>, z.ZodObject<{
10550
- type: z.ZodLiteral<"encoder_not_online">;
10551
- message: z.ZodString;
10552
- }, "strip", z.ZodTypeAny, {
10553
- message: string;
10554
- type: "encoder_not_online";
10555
- }, {
10556
- message: string;
10557
- type: "encoder_not_online";
10558
- }>, z.ZodObject<{
10559
- type: z.ZodLiteral<"encoder_communication_timeout">;
10560
- message: z.ZodString;
10561
- }, "strip", z.ZodTypeAny, {
10562
- message: string;
10563
- type: "encoder_communication_timeout";
10564
- }, {
10565
- message: string;
10566
- type: "encoder_communication_timeout";
10567
- }>, z.ZodObject<{
10568
- type: z.ZodLiteral<"bridge_disconnected">;
10569
- message: z.ZodString;
10570
- }, "strip", z.ZodTypeAny, {
10571
- message: string;
10572
- type: "bridge_disconnected";
10573
- }, {
10574
- message: string;
10575
- type: "bridge_disconnected";
10576
- }>, z.ZodObject<{
10577
- type: z.ZodLiteral<"encoding_interrupted">;
10578
- message: z.ZodString;
10579
- }, "strip", z.ZodTypeAny, {
10580
- message: string;
10581
- type: "encoding_interrupted";
10582
- }, {
10583
- message: string;
10584
- type: "encoding_interrupted";
10585
- }>, z.ZodObject<{
10586
- type: z.ZodLiteral<"credential_deleted">;
10587
- message: z.ZodString;
10588
- }, "strip", z.ZodTypeAny, {
10589
- message: string;
10590
- type: "credential_deleted";
10591
- }, {
10592
- message: string;
10593
- type: "credential_deleted";
10571
+ }>, z.ZodObject<{
10572
+ type: z.ZodLiteral<"incompatible_card_format">;
10573
+ message: z.ZodString;
10574
+ }, "strip", z.ZodTypeAny, {
10575
+ message: string;
10576
+ type: "incompatible_card_format";
10577
+ }, {
10578
+ message: string;
10579
+ type: "incompatible_card_format";
10580
+ }>, z.ZodObject<{
10581
+ type: z.ZodLiteral<"credential_cannot_be_reissued">;
10582
+ message: z.ZodString;
10583
+ }, "strip", z.ZodTypeAny, {
10584
+ message: string;
10585
+ type: "credential_cannot_be_reissued";
10586
+ }, {
10587
+ message: string;
10588
+ type: "credential_cannot_be_reissued";
10589
+ }>, z.ZodObject<{
10590
+ type: z.ZodLiteral<"encoder_not_online">;
10591
+ message: z.ZodString;
10592
+ }, "strip", z.ZodTypeAny, {
10593
+ message: string;
10594
+ type: "encoder_not_online";
10595
+ }, {
10596
+ message: string;
10597
+ type: "encoder_not_online";
10598
+ }>, z.ZodObject<{
10599
+ type: z.ZodLiteral<"encoder_communication_timeout">;
10600
+ message: z.ZodString;
10601
+ }, "strip", z.ZodTypeAny, {
10602
+ message: string;
10603
+ type: "encoder_communication_timeout";
10604
+ }, {
10605
+ message: string;
10606
+ type: "encoder_communication_timeout";
10607
+ }>, z.ZodObject<{
10608
+ type: z.ZodLiteral<"bridge_disconnected">;
10609
+ message: z.ZodString;
10610
+ }, "strip", z.ZodTypeAny, {
10611
+ message: string;
10612
+ type: "bridge_disconnected";
10613
+ }, {
10614
+ message: string;
10615
+ type: "bridge_disconnected";
10616
+ }>, z.ZodObject<{
10617
+ type: z.ZodLiteral<"encoding_interrupted">;
10618
+ message: z.ZodString;
10619
+ }, "strip", z.ZodTypeAny, {
10620
+ message: string;
10621
+ type: "encoding_interrupted";
10622
+ }, {
10623
+ message: string;
10624
+ type: "encoding_interrupted";
10625
+ }>, z.ZodObject<{
10626
+ type: z.ZodLiteral<"credential_deleted">;
10627
+ message: z.ZodString;
10628
+ }, "strip", z.ZodTypeAny, {
10629
+ message: string;
10630
+ type: "credential_deleted";
10631
+ }, {
10632
+ message: string;
10633
+ type: "credential_deleted";
10634
+ }>]>;
10635
+ }, "strip", z.ZodTypeAny, {
10636
+ status: "error";
10637
+ action_attempt_id: string;
10638
+ error: {
10639
+ message: string;
10640
+ type: "uncategorized_error";
10641
+ } | {
10642
+ message: string;
10643
+ type: "action_attempt_expired";
10644
+ } | {
10645
+ message: string;
10646
+ type: "no_credential_on_encoder";
10647
+ } | {
10648
+ message: string;
10649
+ type: "incompatible_card_format";
10650
+ } | {
10651
+ message: string;
10652
+ type: "credential_cannot_be_reissued";
10653
+ } | {
10654
+ message: string;
10655
+ type: "encoder_not_online";
10656
+ } | {
10657
+ message: string;
10658
+ type: "encoder_communication_timeout";
10659
+ } | {
10660
+ message: string;
10661
+ type: "bridge_disconnected";
10662
+ } | {
10663
+ message: string;
10664
+ type: "encoding_interrupted";
10665
+ } | {
10666
+ message: string;
10667
+ type: "credential_deleted";
10668
+ };
10669
+ result: null;
10670
+ action_type: "ENCODE_CREDENTIAL";
10671
+ }, {
10672
+ status: "error";
10673
+ action_attempt_id: string;
10674
+ error: {
10675
+ message: string;
10676
+ type: "uncategorized_error";
10677
+ } | {
10678
+ message: string;
10679
+ type: "action_attempt_expired";
10680
+ } | {
10681
+ message: string;
10682
+ type: "no_credential_on_encoder";
10683
+ } | {
10684
+ message: string;
10685
+ type: "incompatible_card_format";
10686
+ } | {
10687
+ message: string;
10688
+ type: "credential_cannot_be_reissued";
10689
+ } | {
10690
+ message: string;
10691
+ type: "encoder_not_online";
10692
+ } | {
10693
+ message: string;
10694
+ type: "encoder_communication_timeout";
10695
+ } | {
10696
+ message: string;
10697
+ type: "bridge_disconnected";
10698
+ } | {
10699
+ message: string;
10700
+ type: "encoding_interrupted";
10701
+ } | {
10702
+ message: string;
10703
+ type: "credential_deleted";
10704
+ };
10705
+ result: null;
10706
+ action_type: "ENCODE_CREDENTIAL";
10707
+ }>, z.ZodObject<{
10708
+ action_attempt_id: z.ZodString;
10709
+ } & {
10710
+ status: z.ZodLiteral<"pending">;
10711
+ result: z.ZodNull;
10712
+ error: z.ZodNull;
10713
+ } & {
10714
+ action_type: z.ZodLiteral<"SCAN_TO_ASSIGN_CREDENTIAL">;
10715
+ }, "strip", z.ZodTypeAny, {
10716
+ status: "pending";
10717
+ action_attempt_id: string;
10718
+ error: null;
10719
+ result: null;
10720
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
10721
+ }, {
10722
+ status: "pending";
10723
+ action_attempt_id: string;
10724
+ error: null;
10725
+ result: null;
10726
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
10727
+ }>, z.ZodObject<{
10728
+ action_attempt_id: z.ZodString;
10729
+ } & {
10730
+ status: z.ZodLiteral<"success">;
10731
+ error: z.ZodNull;
10732
+ } & {
10733
+ action_type: z.ZodLiteral<"SCAN_TO_ASSIGN_CREDENTIAL">;
10734
+ result: z.ZodObject<{
10735
+ acs_credential_id: z.ZodString;
10736
+ acs_user_id: z.ZodOptional<z.ZodString>;
10737
+ user_identity_id: z.ZodOptional<z.ZodString>;
10738
+ connected_account_id: z.ZodString;
10739
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
10740
+ acs_system_id: z.ZodString;
10741
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
10742
+ display_name: z.ZodString;
10743
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10744
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
10745
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10746
+ is_issued: z.ZodOptional<z.ZodBoolean>;
10747
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10748
+ access_method: z.ZodEnum<["code", "card", "mobile_key", "cloud_key"]>;
10749
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card", "salto_ks_tag", "avigilon_alta_credential"]>>;
10750
+ external_type_display_name: z.ZodOptional<z.ZodString>;
10751
+ created_at: z.ZodString;
10752
+ workspace_id: z.ZodString;
10753
+ starts_at: z.ZodOptional<z.ZodString>;
10754
+ ends_at: z.ZodOptional<z.ZodString>;
10755
+ errors: z.ZodArray<z.ZodObject<{
10756
+ error_code: z.ZodString;
10757
+ message: z.ZodString;
10758
+ }, "strip", z.ZodTypeAny, {
10759
+ message: string;
10760
+ error_code: string;
10761
+ }, {
10762
+ message: string;
10763
+ error_code: string;
10764
+ }>, "many">;
10765
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
10766
+ created_at: z.ZodString;
10767
+ message: z.ZodString;
10768
+ } & {
10769
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
10770
+ }, "strip", z.ZodTypeAny, {
10771
+ message: string;
10772
+ created_at: string;
10773
+ warning_code: "waiting_to_be_issued";
10774
+ }, {
10775
+ message: string;
10776
+ created_at: string;
10777
+ warning_code: "waiting_to_be_issued";
10778
+ }>, z.ZodObject<{
10779
+ created_at: z.ZodString;
10780
+ message: z.ZodString;
10781
+ } & {
10782
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
10783
+ }, "strip", z.ZodTypeAny, {
10784
+ message: string;
10785
+ created_at: string;
10786
+ warning_code: "schedule_externally_modified";
10787
+ }, {
10788
+ message: string;
10789
+ created_at: string;
10790
+ warning_code: "schedule_externally_modified";
10791
+ }>, z.ZodObject<{
10792
+ created_at: z.ZodString;
10793
+ message: z.ZodString;
10794
+ } & {
10795
+ warning_code: z.ZodLiteral<"schedule_modified">;
10796
+ }, "strip", z.ZodTypeAny, {
10797
+ message: string;
10798
+ created_at: string;
10799
+ warning_code: "schedule_modified";
10800
+ }, {
10801
+ message: string;
10802
+ created_at: string;
10803
+ warning_code: "schedule_modified";
10804
+ }>, z.ZodObject<{
10805
+ created_at: z.ZodString;
10806
+ message: z.ZodString;
10807
+ } & {
10808
+ warning_code: z.ZodLiteral<"being_deleted">;
10809
+ }, "strip", z.ZodTypeAny, {
10810
+ message: string;
10811
+ created_at: string;
10812
+ warning_code: "being_deleted";
10813
+ }, {
10814
+ message: string;
10815
+ created_at: string;
10816
+ warning_code: "being_deleted";
10817
+ }>, z.ZodObject<{
10818
+ created_at: z.ZodString;
10819
+ message: z.ZodString;
10820
+ } & {
10821
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
10822
+ }, "strip", z.ZodTypeAny, {
10823
+ message: string;
10824
+ created_at: string;
10825
+ warning_code: "unknown_issue_with_acs_credential";
10826
+ }, {
10827
+ message: string;
10828
+ created_at: string;
10829
+ warning_code: "unknown_issue_with_acs_credential";
10830
+ }>, z.ZodObject<{
10831
+ created_at: z.ZodString;
10832
+ message: z.ZodString;
10833
+ } & {
10834
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
10835
+ }, "strip", z.ZodTypeAny, {
10836
+ message: string;
10837
+ created_at: string;
10838
+ warning_code: "needs_to_be_reissued";
10839
+ }, {
10840
+ message: string;
10841
+ created_at: string;
10842
+ warning_code: "needs_to_be_reissued";
10843
+ }>]>, "many">;
10844
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
10845
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10846
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10847
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
10848
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
10849
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10850
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10851
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10852
+ is_valid: z.ZodOptional<z.ZodBoolean>;
10853
+ auto_join: z.ZodOptional<z.ZodBoolean>;
10854
+ card_id: z.ZodOptional<z.ZodString>;
10855
+ credential_id: z.ZodOptional<z.ZodString>;
10856
+ }, "strip", z.ZodTypeAny, {
10857
+ card_function_type: "guest" | "staff";
10858
+ auto_join?: boolean | undefined;
10859
+ joiner_acs_credential_ids?: string[] | undefined;
10860
+ guest_acs_entrance_ids?: string[] | undefined;
10861
+ common_acs_entrance_ids?: string[] | undefined;
10862
+ is_valid?: boolean | undefined;
10863
+ card_id?: string | undefined;
10864
+ credential_id?: string | undefined;
10865
+ }, {
10866
+ card_function_type: "guest" | "staff";
10867
+ auto_join?: boolean | undefined;
10868
+ joiner_acs_credential_ids?: string[] | undefined;
10869
+ guest_acs_entrance_ids?: string[] | undefined;
10870
+ common_acs_entrance_ids?: string[] | undefined;
10871
+ is_valid?: boolean | undefined;
10872
+ card_id?: string | undefined;
10873
+ credential_id?: string | undefined;
10874
+ }>>;
10875
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
10876
+ auto_join: z.ZodOptional<z.ZodBoolean>;
10877
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10878
+ key_id: z.ZodOptional<z.ZodString>;
10879
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
10880
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10881
+ endpoint_id: z.ZodOptional<z.ZodString>;
10882
+ }, "strip", z.ZodTypeAny, {
10883
+ key_id?: string | undefined;
10884
+ endpoint_id?: string | undefined;
10885
+ auto_join?: boolean | undefined;
10886
+ override_guest_acs_entrance_ids?: string[] | undefined;
10887
+ key_issuing_request_id?: string | undefined;
10888
+ door_names?: string[] | undefined;
10889
+ }, {
10890
+ key_id?: string | undefined;
10891
+ endpoint_id?: string | undefined;
10892
+ auto_join?: boolean | undefined;
10893
+ override_guest_acs_entrance_ids?: string[] | undefined;
10894
+ key_issuing_request_id?: string | undefined;
10895
+ door_names?: string[] | undefined;
10896
+ }>>;
10897
+ } & {
10898
+ is_managed: z.ZodLiteral<true>;
10899
+ }, "strip", z.ZodTypeAny, {
10900
+ display_name: string;
10901
+ workspace_id: string;
10902
+ created_at: string;
10903
+ errors: {
10904
+ message: string;
10905
+ error_code: string;
10906
+ }[];
10907
+ connected_account_id: string;
10908
+ warnings: ({
10909
+ message: string;
10910
+ created_at: string;
10911
+ warning_code: "waiting_to_be_issued";
10912
+ } | {
10913
+ message: string;
10914
+ created_at: string;
10915
+ warning_code: "schedule_externally_modified";
10916
+ } | {
10917
+ message: string;
10918
+ created_at: string;
10919
+ warning_code: "schedule_modified";
10920
+ } | {
10921
+ message: string;
10922
+ created_at: string;
10923
+ warning_code: "being_deleted";
10924
+ } | {
10925
+ message: string;
10926
+ created_at: string;
10927
+ warning_code: "unknown_issue_with_acs_credential";
10928
+ } | {
10929
+ message: string;
10930
+ created_at: string;
10931
+ warning_code: "needs_to_be_reissued";
10932
+ })[];
10933
+ is_managed: true;
10934
+ acs_system_id: string;
10935
+ acs_credential_id: string;
10936
+ access_method: "code" | "card" | "mobile_key" | "cloud_key";
10937
+ code?: string | null | undefined;
10938
+ starts_at?: string | undefined;
10939
+ ends_at?: string | undefined;
10940
+ visionline_metadata?: {
10941
+ card_function_type: "guest" | "staff";
10942
+ auto_join?: boolean | undefined;
10943
+ joiner_acs_credential_ids?: string[] | undefined;
10944
+ guest_acs_entrance_ids?: string[] | undefined;
10945
+ common_acs_entrance_ids?: string[] | undefined;
10946
+ is_valid?: boolean | undefined;
10947
+ card_id?: string | undefined;
10948
+ credential_id?: string | undefined;
10949
+ } | undefined;
10950
+ assa_abloy_vostio_metadata?: {
10951
+ key_id?: string | undefined;
10952
+ endpoint_id?: string | undefined;
10953
+ auto_join?: boolean | undefined;
10954
+ override_guest_acs_entrance_ids?: string[] | undefined;
10955
+ key_issuing_request_id?: string | undefined;
10956
+ door_names?: string[] | undefined;
10957
+ } | undefined;
10958
+ is_one_time_use?: boolean | undefined;
10959
+ user_identity_id?: string | undefined;
10960
+ issued_at?: string | null | undefined;
10961
+ is_issued?: boolean | undefined;
10962
+ acs_user_id?: string | undefined;
10963
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
10964
+ external_type_display_name?: string | undefined;
10965
+ acs_credential_pool_id?: string | undefined;
10966
+ parent_acs_credential_id?: string | undefined;
10967
+ card_number?: string | null | undefined;
10968
+ is_multi_phone_sync_credential?: boolean | undefined;
10969
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
10970
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
10971
+ }, {
10972
+ display_name: string;
10973
+ workspace_id: string;
10974
+ created_at: string;
10975
+ errors: {
10976
+ message: string;
10977
+ error_code: string;
10978
+ }[];
10979
+ connected_account_id: string;
10980
+ warnings: ({
10981
+ message: string;
10982
+ created_at: string;
10983
+ warning_code: "waiting_to_be_issued";
10984
+ } | {
10985
+ message: string;
10986
+ created_at: string;
10987
+ warning_code: "schedule_externally_modified";
10988
+ } | {
10989
+ message: string;
10990
+ created_at: string;
10991
+ warning_code: "schedule_modified";
10992
+ } | {
10993
+ message: string;
10994
+ created_at: string;
10995
+ warning_code: "being_deleted";
10996
+ } | {
10997
+ message: string;
10998
+ created_at: string;
10999
+ warning_code: "unknown_issue_with_acs_credential";
11000
+ } | {
11001
+ message: string;
11002
+ created_at: string;
11003
+ warning_code: "needs_to_be_reissued";
11004
+ })[];
11005
+ is_managed: true;
11006
+ acs_system_id: string;
11007
+ acs_credential_id: string;
11008
+ access_method: "code" | "card" | "mobile_key" | "cloud_key";
11009
+ code?: string | null | undefined;
11010
+ starts_at?: string | undefined;
11011
+ ends_at?: string | undefined;
11012
+ visionline_metadata?: {
11013
+ card_function_type: "guest" | "staff";
11014
+ auto_join?: boolean | undefined;
11015
+ joiner_acs_credential_ids?: string[] | undefined;
11016
+ guest_acs_entrance_ids?: string[] | undefined;
11017
+ common_acs_entrance_ids?: string[] | undefined;
11018
+ is_valid?: boolean | undefined;
11019
+ card_id?: string | undefined;
11020
+ credential_id?: string | undefined;
11021
+ } | undefined;
11022
+ assa_abloy_vostio_metadata?: {
11023
+ key_id?: string | undefined;
11024
+ endpoint_id?: string | undefined;
11025
+ auto_join?: boolean | undefined;
11026
+ override_guest_acs_entrance_ids?: string[] | undefined;
11027
+ key_issuing_request_id?: string | undefined;
11028
+ door_names?: string[] | undefined;
11029
+ } | undefined;
11030
+ is_one_time_use?: boolean | undefined;
11031
+ user_identity_id?: string | undefined;
11032
+ issued_at?: string | null | undefined;
11033
+ is_issued?: boolean | undefined;
11034
+ acs_user_id?: string | undefined;
11035
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
11036
+ external_type_display_name?: string | undefined;
11037
+ acs_credential_pool_id?: string | undefined;
11038
+ parent_acs_credential_id?: string | undefined;
11039
+ card_number?: string | null | undefined;
11040
+ is_multi_phone_sync_credential?: boolean | undefined;
11041
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
11042
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
11043
+ }>;
11044
+ }, "strip", z.ZodTypeAny, {
11045
+ status: "success";
11046
+ action_attempt_id: string;
11047
+ error: null;
11048
+ result: {
11049
+ display_name: string;
11050
+ workspace_id: string;
11051
+ created_at: string;
11052
+ errors: {
11053
+ message: string;
11054
+ error_code: string;
11055
+ }[];
11056
+ connected_account_id: string;
11057
+ warnings: ({
11058
+ message: string;
11059
+ created_at: string;
11060
+ warning_code: "waiting_to_be_issued";
11061
+ } | {
11062
+ message: string;
11063
+ created_at: string;
11064
+ warning_code: "schedule_externally_modified";
11065
+ } | {
11066
+ message: string;
11067
+ created_at: string;
11068
+ warning_code: "schedule_modified";
11069
+ } | {
11070
+ message: string;
11071
+ created_at: string;
11072
+ warning_code: "being_deleted";
11073
+ } | {
11074
+ message: string;
11075
+ created_at: string;
11076
+ warning_code: "unknown_issue_with_acs_credential";
11077
+ } | {
11078
+ message: string;
11079
+ created_at: string;
11080
+ warning_code: "needs_to_be_reissued";
11081
+ })[];
11082
+ is_managed: true;
11083
+ acs_system_id: string;
11084
+ acs_credential_id: string;
11085
+ access_method: "code" | "card" | "mobile_key" | "cloud_key";
11086
+ code?: string | null | undefined;
11087
+ starts_at?: string | undefined;
11088
+ ends_at?: string | undefined;
11089
+ visionline_metadata?: {
11090
+ card_function_type: "guest" | "staff";
11091
+ auto_join?: boolean | undefined;
11092
+ joiner_acs_credential_ids?: string[] | undefined;
11093
+ guest_acs_entrance_ids?: string[] | undefined;
11094
+ common_acs_entrance_ids?: string[] | undefined;
11095
+ is_valid?: boolean | undefined;
11096
+ card_id?: string | undefined;
11097
+ credential_id?: string | undefined;
11098
+ } | undefined;
11099
+ assa_abloy_vostio_metadata?: {
11100
+ key_id?: string | undefined;
11101
+ endpoint_id?: string | undefined;
11102
+ auto_join?: boolean | undefined;
11103
+ override_guest_acs_entrance_ids?: string[] | undefined;
11104
+ key_issuing_request_id?: string | undefined;
11105
+ door_names?: string[] | undefined;
11106
+ } | undefined;
11107
+ is_one_time_use?: boolean | undefined;
11108
+ user_identity_id?: string | undefined;
11109
+ issued_at?: string | null | undefined;
11110
+ is_issued?: boolean | undefined;
11111
+ acs_user_id?: string | undefined;
11112
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
11113
+ external_type_display_name?: string | undefined;
11114
+ acs_credential_pool_id?: string | undefined;
11115
+ parent_acs_credential_id?: string | undefined;
11116
+ card_number?: string | null | undefined;
11117
+ is_multi_phone_sync_credential?: boolean | undefined;
11118
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
11119
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
11120
+ };
11121
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
11122
+ }, {
11123
+ status: "success";
11124
+ action_attempt_id: string;
11125
+ error: null;
11126
+ result: {
11127
+ display_name: string;
11128
+ workspace_id: string;
11129
+ created_at: string;
11130
+ errors: {
11131
+ message: string;
11132
+ error_code: string;
11133
+ }[];
11134
+ connected_account_id: string;
11135
+ warnings: ({
11136
+ message: string;
11137
+ created_at: string;
11138
+ warning_code: "waiting_to_be_issued";
11139
+ } | {
11140
+ message: string;
11141
+ created_at: string;
11142
+ warning_code: "schedule_externally_modified";
11143
+ } | {
11144
+ message: string;
11145
+ created_at: string;
11146
+ warning_code: "schedule_modified";
11147
+ } | {
11148
+ message: string;
11149
+ created_at: string;
11150
+ warning_code: "being_deleted";
11151
+ } | {
11152
+ message: string;
11153
+ created_at: string;
11154
+ warning_code: "unknown_issue_with_acs_credential";
11155
+ } | {
11156
+ message: string;
11157
+ created_at: string;
11158
+ warning_code: "needs_to_be_reissued";
11159
+ })[];
11160
+ is_managed: true;
11161
+ acs_system_id: string;
11162
+ acs_credential_id: string;
11163
+ access_method: "code" | "card" | "mobile_key" | "cloud_key";
11164
+ code?: string | null | undefined;
11165
+ starts_at?: string | undefined;
11166
+ ends_at?: string | undefined;
11167
+ visionline_metadata?: {
11168
+ card_function_type: "guest" | "staff";
11169
+ auto_join?: boolean | undefined;
11170
+ joiner_acs_credential_ids?: string[] | undefined;
11171
+ guest_acs_entrance_ids?: string[] | undefined;
11172
+ common_acs_entrance_ids?: string[] | undefined;
11173
+ is_valid?: boolean | undefined;
11174
+ card_id?: string | undefined;
11175
+ credential_id?: string | undefined;
11176
+ } | undefined;
11177
+ assa_abloy_vostio_metadata?: {
11178
+ key_id?: string | undefined;
11179
+ endpoint_id?: string | undefined;
11180
+ auto_join?: boolean | undefined;
11181
+ override_guest_acs_entrance_ids?: string[] | undefined;
11182
+ key_issuing_request_id?: string | undefined;
11183
+ door_names?: string[] | undefined;
11184
+ } | undefined;
11185
+ is_one_time_use?: boolean | undefined;
11186
+ user_identity_id?: string | undefined;
11187
+ issued_at?: string | null | undefined;
11188
+ is_issued?: boolean | undefined;
11189
+ acs_user_id?: string | undefined;
11190
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
11191
+ external_type_display_name?: string | undefined;
11192
+ acs_credential_pool_id?: string | undefined;
11193
+ parent_acs_credential_id?: string | undefined;
11194
+ card_number?: string | null | undefined;
11195
+ is_multi_phone_sync_credential?: boolean | undefined;
11196
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
11197
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
11198
+ };
11199
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
11200
+ }>, z.ZodObject<{
11201
+ action_attempt_id: z.ZodString;
11202
+ } & {
11203
+ status: z.ZodLiteral<"error">;
11204
+ result: z.ZodNull;
11205
+ } & {
11206
+ action_type: z.ZodLiteral<"SCAN_TO_ASSIGN_CREDENTIAL">;
11207
+ error: z.ZodUnion<[z.ZodObject<{
11208
+ type: z.ZodLiteral<"uncategorized_error">;
11209
+ message: z.ZodString;
11210
+ }, "strip", z.ZodTypeAny, {
11211
+ message: string;
11212
+ type: "uncategorized_error";
11213
+ }, {
11214
+ message: string;
11215
+ type: "uncategorized_error";
11216
+ }>, z.ZodObject<{
11217
+ type: z.ZodLiteral<"action_attempt_expired">;
11218
+ message: z.ZodString;
11219
+ }, "strip", z.ZodTypeAny, {
11220
+ message: string;
11221
+ type: "action_attempt_expired";
11222
+ }, {
11223
+ message: string;
11224
+ type: "action_attempt_expired";
11225
+ }>, z.ZodObject<{
11226
+ type: z.ZodLiteral<"no_credential_on_encoder">;
11227
+ message: z.ZodString;
11228
+ }, "strip", z.ZodTypeAny, {
11229
+ message: string;
11230
+ type: "no_credential_on_encoder";
11231
+ }, {
11232
+ message: string;
11233
+ type: "no_credential_on_encoder";
10594
11234
  }>]>;
10595
11235
  }, "strip", z.ZodTypeAny, {
10596
11236
  status: "error";
@@ -10604,30 +11244,9 @@ export declare const batch: z.ZodObject<{
10604
11244
  } | {
10605
11245
  message: string;
10606
11246
  type: "no_credential_on_encoder";
10607
- } | {
10608
- message: string;
10609
- type: "incompatible_card_format";
10610
- } | {
10611
- message: string;
10612
- type: "credential_cannot_be_reissued";
10613
- } | {
10614
- message: string;
10615
- type: "encoder_not_online";
10616
- } | {
10617
- message: string;
10618
- type: "encoder_communication_timeout";
10619
- } | {
10620
- message: string;
10621
- type: "bridge_disconnected";
10622
- } | {
10623
- message: string;
10624
- type: "encoding_interrupted";
10625
- } | {
10626
- message: string;
10627
- type: "credential_deleted";
10628
11247
  };
10629
11248
  result: null;
10630
- action_type: "ENCODE_CREDENTIAL";
11249
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
10631
11250
  }, {
10632
11251
  status: "error";
10633
11252
  action_attempt_id: string;
@@ -10640,30 +11259,9 @@ export declare const batch: z.ZodObject<{
10640
11259
  } | {
10641
11260
  message: string;
10642
11261
  type: "no_credential_on_encoder";
10643
- } | {
10644
- message: string;
10645
- type: "incompatible_card_format";
10646
- } | {
10647
- message: string;
10648
- type: "credential_cannot_be_reissued";
10649
- } | {
10650
- message: string;
10651
- type: "encoder_not_online";
10652
- } | {
10653
- message: string;
10654
- type: "encoder_communication_timeout";
10655
- } | {
10656
- message: string;
10657
- type: "bridge_disconnected";
10658
- } | {
10659
- message: string;
10660
- type: "encoding_interrupted";
10661
- } | {
10662
- message: string;
10663
- type: "credential_deleted";
10664
11262
  };
10665
11263
  result: null;
10666
- action_type: "ENCODE_CREDENTIAL";
11264
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
10667
11265
  }>, z.ZodObject<{
10668
11266
  action_attempt_id: z.ZodString;
10669
11267
  } & {
@@ -13104,7 +13702,7 @@ export declare const batch: z.ZodObject<{
13104
13702
  }>, "many">>;
13105
13703
  unmanaged_devices: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
13106
13704
  device_id: z.ZodString;
13107
- device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera"]>]>;
13705
+ device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera"]>]>;
13108
13706
  space_ids: z.ZodArray<z.ZodString, "many">;
13109
13707
  nickname: z.ZodOptional<z.ZodString>;
13110
13708
  display_name: z.ZodString;
@@ -14052,6 +14650,22 @@ export declare const batch: z.ZodObject<{
14052
14650
  }, {
14053
14651
  encoder_name: string;
14054
14652
  }>>;
14653
+ omnitec_metadata: z.ZodOptional<z.ZodObject<{
14654
+ lock_id: z.ZodNumber;
14655
+ lock_name: z.ZodString;
14656
+ lock_mac: z.ZodString;
14657
+ has_gateway: z.ZodBoolean;
14658
+ }, "strip", z.ZodTypeAny, {
14659
+ lock_id: number;
14660
+ lock_name: string;
14661
+ has_gateway: boolean;
14662
+ lock_mac: string;
14663
+ }, {
14664
+ lock_id: number;
14665
+ lock_name: string;
14666
+ has_gateway: boolean;
14667
+ lock_mac: string;
14668
+ }>>;
14055
14669
  tado_metadata: z.ZodOptional<z.ZodObject<{
14056
14670
  serial_no: z.ZodString;
14057
14671
  device_type: z.ZodString;
@@ -14426,6 +15040,12 @@ export declare const batch: z.ZodObject<{
14426
15040
  assa_abloy_vostio_metadata?: {
14427
15041
  encoder_name: string;
14428
15042
  } | undefined;
15043
+ omnitec_metadata?: {
15044
+ lock_id: number;
15045
+ lock_name: string;
15046
+ has_gateway: boolean;
15047
+ lock_mac: string;
15048
+ } | undefined;
14429
15049
  tado_metadata?: {
14430
15050
  serial_no: string;
14431
15051
  device_type: string;
@@ -14706,6 +15326,12 @@ export declare const batch: z.ZodObject<{
14706
15326
  assa_abloy_vostio_metadata?: {
14707
15327
  encoder_name: string;
14708
15328
  } | undefined;
15329
+ omnitec_metadata?: {
15330
+ lock_id: number;
15331
+ lock_name: string;
15332
+ has_gateway: boolean;
15333
+ lock_mac: string;
15334
+ } | undefined;
14709
15335
  tado_metadata?: {
14710
15336
  serial_no: string;
14711
15337
  device_type: string;
@@ -16554,7 +17180,7 @@ export declare const batch: z.ZodObject<{
16554
17180
  max_active_access_code_count: number;
16555
17181
  })[];
16556
17182
  custom_metadata: Record<string, string | boolean>;
16557
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
17183
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
16558
17184
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
16559
17185
  properties: {
16560
17186
  name: string;
@@ -16815,7 +17441,7 @@ export declare const batch: z.ZodObject<{
16815
17441
  max_active_access_code_count: number;
16816
17442
  })[];
16817
17443
  custom_metadata: Record<string, string | boolean>;
16818
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
17444
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
16819
17445
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
16820
17446
  properties: {
16821
17447
  name: string;
@@ -26499,7 +27125,7 @@ export declare const batch: z.ZodObject<{
26499
27125
  max_active_access_code_count: number;
26500
27126
  })[];
26501
27127
  custom_metadata: Record<string, string | boolean>;
26502
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
27128
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
26503
27129
  space_ids: string[];
26504
27130
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
26505
27131
  properties: {
@@ -26777,6 +27403,12 @@ export declare const batch: z.ZodObject<{
26777
27403
  assa_abloy_vostio_metadata?: {
26778
27404
  encoder_name: string;
26779
27405
  } | undefined;
27406
+ omnitec_metadata?: {
27407
+ lock_id: number;
27408
+ lock_name: string;
27409
+ has_gateway: boolean;
27410
+ lock_mac: string;
27411
+ } | undefined;
26780
27412
  tado_metadata?: {
26781
27413
  serial_no: string;
26782
27414
  device_type: string;
@@ -28326,6 +28958,105 @@ export declare const batch: z.ZodObject<{
28326
28958
  };
28327
28959
  result: null;
28328
28960
  action_type: "SCAN_CREDENTIAL";
28961
+ } | {
28962
+ status: "pending";
28963
+ action_attempt_id: string;
28964
+ error: null;
28965
+ result: null;
28966
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
28967
+ } | {
28968
+ status: "success";
28969
+ action_attempt_id: string;
28970
+ error: null;
28971
+ result: {
28972
+ display_name: string;
28973
+ workspace_id: string;
28974
+ created_at: string;
28975
+ errors: {
28976
+ message: string;
28977
+ error_code: string;
28978
+ }[];
28979
+ connected_account_id: string;
28980
+ warnings: ({
28981
+ message: string;
28982
+ created_at: string;
28983
+ warning_code: "waiting_to_be_issued";
28984
+ } | {
28985
+ message: string;
28986
+ created_at: string;
28987
+ warning_code: "schedule_externally_modified";
28988
+ } | {
28989
+ message: string;
28990
+ created_at: string;
28991
+ warning_code: "schedule_modified";
28992
+ } | {
28993
+ message: string;
28994
+ created_at: string;
28995
+ warning_code: "being_deleted";
28996
+ } | {
28997
+ message: string;
28998
+ created_at: string;
28999
+ warning_code: "unknown_issue_with_acs_credential";
29000
+ } | {
29001
+ message: string;
29002
+ created_at: string;
29003
+ warning_code: "needs_to_be_reissued";
29004
+ })[];
29005
+ is_managed: true;
29006
+ acs_system_id: string;
29007
+ acs_credential_id: string;
29008
+ access_method: "code" | "card" | "mobile_key" | "cloud_key";
29009
+ code?: string | null | undefined;
29010
+ starts_at?: string | undefined;
29011
+ ends_at?: string | undefined;
29012
+ visionline_metadata?: {
29013
+ card_function_type: "guest" | "staff";
29014
+ auto_join?: boolean | undefined;
29015
+ joiner_acs_credential_ids?: string[] | undefined;
29016
+ guest_acs_entrance_ids?: string[] | undefined;
29017
+ common_acs_entrance_ids?: string[] | undefined;
29018
+ is_valid?: boolean | undefined;
29019
+ card_id?: string | undefined;
29020
+ credential_id?: string | undefined;
29021
+ } | undefined;
29022
+ assa_abloy_vostio_metadata?: {
29023
+ key_id?: string | undefined;
29024
+ endpoint_id?: string | undefined;
29025
+ auto_join?: boolean | undefined;
29026
+ override_guest_acs_entrance_ids?: string[] | undefined;
29027
+ key_issuing_request_id?: string | undefined;
29028
+ door_names?: string[] | undefined;
29029
+ } | undefined;
29030
+ is_one_time_use?: boolean | undefined;
29031
+ user_identity_id?: string | undefined;
29032
+ issued_at?: string | null | undefined;
29033
+ is_issued?: boolean | undefined;
29034
+ acs_user_id?: string | undefined;
29035
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
29036
+ external_type_display_name?: string | undefined;
29037
+ acs_credential_pool_id?: string | undefined;
29038
+ parent_acs_credential_id?: string | undefined;
29039
+ card_number?: string | null | undefined;
29040
+ is_multi_phone_sync_credential?: boolean | undefined;
29041
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
29042
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
29043
+ };
29044
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
29045
+ } | {
29046
+ status: "error";
29047
+ action_attempt_id: string;
29048
+ error: {
29049
+ message: string;
29050
+ type: "uncategorized_error";
29051
+ } | {
29052
+ message: string;
29053
+ type: "action_attempt_expired";
29054
+ } | {
29055
+ message: string;
29056
+ type: "no_credential_on_encoder";
29057
+ };
29058
+ result: null;
29059
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
28329
29060
  } | {
28330
29061
  status: "pending";
28331
29062
  action_attempt_id: string;
@@ -28893,7 +29624,7 @@ export declare const batch: z.ZodObject<{
28893
29624
  max_active_access_code_count: number;
28894
29625
  })[];
28895
29626
  custom_metadata: Record<string, string | boolean>;
28896
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
29627
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
28897
29628
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
28898
29629
  properties: {
28899
29630
  name: string;
@@ -31517,7 +32248,7 @@ export declare const batch: z.ZodObject<{
31517
32248
  max_active_access_code_count: number;
31518
32249
  })[];
31519
32250
  custom_metadata: Record<string, string | boolean>;
31520
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
32251
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
31521
32252
  space_ids: string[];
31522
32253
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
31523
32254
  properties: {
@@ -31795,6 +32526,12 @@ export declare const batch: z.ZodObject<{
31795
32526
  assa_abloy_vostio_metadata?: {
31796
32527
  encoder_name: string;
31797
32528
  } | undefined;
32529
+ omnitec_metadata?: {
32530
+ lock_id: number;
32531
+ lock_name: string;
32532
+ has_gateway: boolean;
32533
+ lock_mac: string;
32534
+ } | undefined;
31798
32535
  tado_metadata?: {
31799
32536
  serial_no: string;
31800
32537
  device_type: string;
@@ -33344,6 +34081,105 @@ export declare const batch: z.ZodObject<{
33344
34081
  };
33345
34082
  result: null;
33346
34083
  action_type: "SCAN_CREDENTIAL";
34084
+ } | {
34085
+ status: "pending";
34086
+ action_attempt_id: string;
34087
+ error: null;
34088
+ result: null;
34089
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
34090
+ } | {
34091
+ status: "success";
34092
+ action_attempt_id: string;
34093
+ error: null;
34094
+ result: {
34095
+ display_name: string;
34096
+ workspace_id: string;
34097
+ created_at: string;
34098
+ errors: {
34099
+ message: string;
34100
+ error_code: string;
34101
+ }[];
34102
+ connected_account_id: string;
34103
+ warnings: ({
34104
+ message: string;
34105
+ created_at: string;
34106
+ warning_code: "waiting_to_be_issued";
34107
+ } | {
34108
+ message: string;
34109
+ created_at: string;
34110
+ warning_code: "schedule_externally_modified";
34111
+ } | {
34112
+ message: string;
34113
+ created_at: string;
34114
+ warning_code: "schedule_modified";
34115
+ } | {
34116
+ message: string;
34117
+ created_at: string;
34118
+ warning_code: "being_deleted";
34119
+ } | {
34120
+ message: string;
34121
+ created_at: string;
34122
+ warning_code: "unknown_issue_with_acs_credential";
34123
+ } | {
34124
+ message: string;
34125
+ created_at: string;
34126
+ warning_code: "needs_to_be_reissued";
34127
+ })[];
34128
+ is_managed: true;
34129
+ acs_system_id: string;
34130
+ acs_credential_id: string;
34131
+ access_method: "code" | "card" | "mobile_key" | "cloud_key";
34132
+ code?: string | null | undefined;
34133
+ starts_at?: string | undefined;
34134
+ ends_at?: string | undefined;
34135
+ visionline_metadata?: {
34136
+ card_function_type: "guest" | "staff";
34137
+ auto_join?: boolean | undefined;
34138
+ joiner_acs_credential_ids?: string[] | undefined;
34139
+ guest_acs_entrance_ids?: string[] | undefined;
34140
+ common_acs_entrance_ids?: string[] | undefined;
34141
+ is_valid?: boolean | undefined;
34142
+ card_id?: string | undefined;
34143
+ credential_id?: string | undefined;
34144
+ } | undefined;
34145
+ assa_abloy_vostio_metadata?: {
34146
+ key_id?: string | undefined;
34147
+ endpoint_id?: string | undefined;
34148
+ auto_join?: boolean | undefined;
34149
+ override_guest_acs_entrance_ids?: string[] | undefined;
34150
+ key_issuing_request_id?: string | undefined;
34151
+ door_names?: string[] | undefined;
34152
+ } | undefined;
34153
+ is_one_time_use?: boolean | undefined;
34154
+ user_identity_id?: string | undefined;
34155
+ issued_at?: string | null | undefined;
34156
+ is_issued?: boolean | undefined;
34157
+ acs_user_id?: string | undefined;
34158
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
34159
+ external_type_display_name?: string | undefined;
34160
+ acs_credential_pool_id?: string | undefined;
34161
+ parent_acs_credential_id?: string | undefined;
34162
+ card_number?: string | null | undefined;
34163
+ is_multi_phone_sync_credential?: boolean | undefined;
34164
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
34165
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
34166
+ };
34167
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
34168
+ } | {
34169
+ status: "error";
34170
+ action_attempt_id: string;
34171
+ error: {
34172
+ message: string;
34173
+ type: "uncategorized_error";
34174
+ } | {
34175
+ message: string;
34176
+ type: "action_attempt_expired";
34177
+ } | {
34178
+ message: string;
34179
+ type: "no_credential_on_encoder";
34180
+ };
34181
+ result: null;
34182
+ action_type: "SCAN_TO_ASSIGN_CREDENTIAL";
33347
34183
  } | {
33348
34184
  status: "pending";
33349
34185
  action_attempt_id: string;
@@ -33911,7 +34747,7 @@ export declare const batch: z.ZodObject<{
33911
34747
  max_active_access_code_count: number;
33912
34748
  })[];
33913
34749
  custom_metadata: Record<string, string | boolean>;
33914
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
34750
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock" | "omnitec_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
33915
34751
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
33916
34752
  properties: {
33917
34753
  name: string;