@seamapi/types 1.282.0 → 1.284.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 (31) hide show
  1. package/dist/connect.cjs +85 -14
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +336 -79
  4. package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
  5. package/lib/seam/connect/models/acs/acs-system.js +3 -0
  6. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +62 -2
  8. package/lib/seam/connect/models/action-attempts/common.d.ts +19 -0
  9. package/lib/seam/connect/models/action-attempts/common.js +10 -0
  10. package/lib/seam/connect/models/action-attempts/common.js.map +1 -1
  11. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +30 -0
  12. package/lib/seam/connect/models/action-attempts/encode-card.js +2 -1
  13. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/scan-card.d.ts +32 -2
  15. package/lib/seam/connect/models/action-attempts/scan-card.js +6 -2
  16. package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -2
  18. package/lib/seam/connect/models/devices/device-provider.js +3 -2
  19. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  20. package/lib/seam/connect/openapi.d.ts +15 -60
  21. package/lib/seam/connect/openapi.js +60 -8
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +250 -10
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/acs/acs-system.ts +3 -0
  26. package/src/lib/seam/connect/models/action-attempts/common.ts +11 -0
  27. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +2 -0
  28. package/src/lib/seam/connect/models/action-attempts/scan-card.ts +7 -1
  29. package/src/lib/seam/connect/models/devices/device-provider.ts +3 -2
  30. package/src/lib/seam/connect/openapi.ts +60 -8
  31. package/src/lib/seam/connect/route-types.ts +450 -82
@@ -864,7 +864,7 @@ type AcsEntrance = z.infer<typeof acs_entrance>;
864
864
  declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
865
865
  default_credential_manager_acs_system_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
866
866
  acs_system_id: z.ZodString;
867
- external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community"]>>;
867
+ external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community", "legic_connect", "assa_abloy_vostio", "vostio_credential_service"]>>;
868
868
  external_type_display_name: z.ZodOptional<z.ZodString>;
869
869
  is_credential_manager: z.ZodBoolean;
870
870
  visionline_metadata: z.ZodOptional<z.ZodObject<{
@@ -880,7 +880,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
880
880
  system_id: string;
881
881
  lan_address: string;
882
882
  }>>;
883
- system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community"]>>;
883
+ system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community", "legic_connect", "assa_abloy_vostio", "vostio_credential_service"]>>;
884
884
  system_type_display_name: z.ZodOptional<z.ZodString>;
885
885
  name: z.ZodString;
886
886
  created_at: z.ZodString;
@@ -1013,14 +1013,14 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
1013
1013
  system_id: string;
1014
1014
  lan_address: string;
1015
1015
  } | undefined;
1016
- external_type?: "dormakaba_community" | "assa_abloy_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
1016
+ external_type?: "dormakaba_community" | "legic_connect" | "assa_abloy_credential_service" | "assa_abloy_vostio" | "vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
1017
1017
  external_type_display_name?: string | undefined;
1018
1018
  can_automate_enrollment?: boolean | undefined;
1019
1019
  can_create_acs_access_groups?: boolean | undefined;
1020
1020
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
1021
1021
  can_add_acs_users_to_acs_access_groups?: boolean | undefined;
1022
1022
  default_credential_manager_acs_system_id?: string | null | undefined;
1023
- system_type?: "dormakaba_community" | "assa_abloy_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
1023
+ system_type?: "dormakaba_community" | "legic_connect" | "assa_abloy_credential_service" | "assa_abloy_vostio" | "vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
1024
1024
  system_type_display_name?: string | undefined;
1025
1025
  }, {
1026
1026
  created_at: string;
@@ -1062,14 +1062,14 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
1062
1062
  system_id: string;
1063
1063
  lan_address: string;
1064
1064
  } | undefined;
1065
- external_type?: "dormakaba_community" | "assa_abloy_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
1065
+ external_type?: "dormakaba_community" | "legic_connect" | "assa_abloy_credential_service" | "assa_abloy_vostio" | "vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
1066
1066
  external_type_display_name?: string | undefined;
1067
1067
  can_automate_enrollment?: boolean | undefined;
1068
1068
  can_create_acs_access_groups?: boolean | undefined;
1069
1069
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
1070
1070
  can_add_acs_users_to_acs_access_groups?: boolean | undefined;
1071
1071
  default_credential_manager_acs_system_id?: string | null | undefined;
1072
- system_type?: "dormakaba_community" | "assa_abloy_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
1072
+ system_type?: "dormakaba_community" | "legic_connect" | "assa_abloy_credential_service" | "assa_abloy_vostio" | "vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
1073
1073
  system_type_display_name?: string | undefined;
1074
1074
  }>;
1075
1075
  type AcsSystem = z.output<typeof acs_system>;
@@ -2585,7 +2585,25 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2585
2585
  result: z.ZodNull;
2586
2586
  }>, {
2587
2587
  action_type: z.ZodLiteral<"SCAN_CARD">;
2588
- error: z.ZodObject<{
2588
+ error: z.ZodUnion<[z.ZodObject<{
2589
+ type: z.ZodLiteral<"uncategorized_error">;
2590
+ message: z.ZodString;
2591
+ }, "strip", z.ZodTypeAny, {
2592
+ message: string;
2593
+ type: "uncategorized_error";
2594
+ }, {
2595
+ message: string;
2596
+ type: "uncategorized_error";
2597
+ }>, z.ZodObject<{
2598
+ type: z.ZodLiteral<"action_attempt_expired">;
2599
+ message: z.ZodString;
2600
+ }, "strip", z.ZodTypeAny, {
2601
+ message: string;
2602
+ type: "action_attempt_expired";
2603
+ }, {
2604
+ message: string;
2605
+ type: "action_attempt_expired";
2606
+ }>, z.ZodObject<{
2589
2607
  type: z.ZodLiteral<"no_card_on_encoder">;
2590
2608
  message: z.ZodString;
2591
2609
  }, "strip", z.ZodTypeAny, {
@@ -2594,11 +2612,17 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2594
2612
  }, {
2595
2613
  message: string;
2596
2614
  type: "no_card_on_encoder";
2597
- }>;
2615
+ }>]>;
2598
2616
  }>, "strip", z.ZodTypeAny, {
2599
2617
  status: "error";
2600
2618
  action_attempt_id: string;
2601
2619
  error: {
2620
+ message: string;
2621
+ type: "uncategorized_error";
2622
+ } | {
2623
+ message: string;
2624
+ type: "action_attempt_expired";
2625
+ } | {
2602
2626
  message: string;
2603
2627
  type: "no_card_on_encoder";
2604
2628
  };
@@ -2608,6 +2632,12 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2608
2632
  status: "error";
2609
2633
  action_attempt_id: string;
2610
2634
  error: {
2635
+ message: string;
2636
+ type: "uncategorized_error";
2637
+ } | {
2638
+ message: string;
2639
+ type: "action_attempt_expired";
2640
+ } | {
2611
2641
  message: string;
2612
2642
  type: "no_card_on_encoder";
2613
2643
  };
@@ -3126,6 +3156,24 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3126
3156
  }>, {
3127
3157
  action_type: z.ZodLiteral<"ENCODE_CARD">;
3128
3158
  error: z.ZodUnion<[z.ZodObject<{
3159
+ type: z.ZodLiteral<"uncategorized_error">;
3160
+ message: z.ZodString;
3161
+ }, "strip", z.ZodTypeAny, {
3162
+ message: string;
3163
+ type: "uncategorized_error";
3164
+ }, {
3165
+ message: string;
3166
+ type: "uncategorized_error";
3167
+ }>, z.ZodObject<{
3168
+ type: z.ZodLiteral<"action_attempt_expired">;
3169
+ message: z.ZodString;
3170
+ }, "strip", z.ZodTypeAny, {
3171
+ message: string;
3172
+ type: "action_attempt_expired";
3173
+ }, {
3174
+ message: string;
3175
+ type: "action_attempt_expired";
3176
+ }>, z.ZodObject<{
3129
3177
  type: z.ZodLiteral<"no_card_on_encoder">;
3130
3178
  message: z.ZodString;
3131
3179
  }, "strip", z.ZodTypeAny, {
@@ -3148,6 +3196,12 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3148
3196
  status: "error";
3149
3197
  action_attempt_id: string;
3150
3198
  error: {
3199
+ message: string;
3200
+ type: "uncategorized_error";
3201
+ } | {
3202
+ message: string;
3203
+ type: "action_attempt_expired";
3204
+ } | {
3151
3205
  message: string;
3152
3206
  type: "no_card_on_encoder";
3153
3207
  } | {
@@ -3160,6 +3214,12 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3160
3214
  status: "error";
3161
3215
  action_attempt_id: string;
3162
3216
  error: {
3217
+ message: string;
3218
+ type: "uncategorized_error";
3219
+ } | {
3220
+ message: string;
3221
+ type: "action_attempt_expired";
3222
+ } | {
3163
3223
  message: string;
3164
3224
  type: "no_card_on_encoder";
3165
3225
  } | {
@@ -7251,6 +7311,7 @@ type Device = z.infer<typeof device>;
7251
7311
 
7252
7312
  declare const DEVICE_PROVIDERS: {
7253
7313
  readonly DORMAKABA_COMMUNITY: "dormakaba_community";
7314
+ readonly LEGIC_CONNECT: "legic_connect";
7254
7315
  readonly AKUVOX: "akuvox";
7255
7316
  readonly AUGUST: "august";
7256
7317
  readonly AVIGILON_ALTA: "avigilon_alta";
@@ -7289,7 +7350,8 @@ declare const DEVICE_PROVIDERS: {
7289
7350
  readonly HONEYWELL_RESIDEO: "honeywell_resideo";
7290
7351
  readonly LATCH: "latch";
7291
7352
  readonly AKILES: "akiles";
7292
- readonly VOSTIO: "vostio";
7353
+ readonly VOSTIO: "assa_abloy_vostio";
7354
+ readonly VOSTIO_CREDENTIAL_SERVICE: "vostio_credential_service";
7293
7355
  };
7294
7356
  type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
7295
7357
  declare const device_provider: z.ZodObject<z.objectUtil.extendShape<{
@@ -12473,7 +12535,6 @@ declare const _default: {
12473
12535
  };
12474
12536
  type: {
12475
12537
  type: string;
12476
- enum?: never;
12477
12538
  };
12478
12539
  };
12479
12540
  required: string[];
@@ -12831,19 +12892,23 @@ declare const _default: {
12831
12892
  type: string;
12832
12893
  };
12833
12894
  error: {
12834
- properties: {
12835
- message: {
12836
- type: string;
12837
- };
12838
- type: {
12839
- enum: string[];
12840
- type: string;
12895
+ oneOf: {
12896
+ properties: {
12897
+ message: {
12898
+ type: string;
12899
+ };
12900
+ type: {
12901
+ enum: string[];
12902
+ type: string;
12903
+ };
12841
12904
  };
12842
- };
12843
- required: string[];
12844
- type: string;
12905
+ required: string[];
12906
+ type: string;
12907
+ }[];
12845
12908
  nullable?: never;
12846
- oneOf?: never;
12909
+ properties?: never;
12910
+ required?: never;
12911
+ type?: never;
12847
12912
  };
12848
12913
  result: {
12849
12914
  nullable: boolean;
@@ -13070,53 +13135,6 @@ declare const _default: {
13070
13135
  };
13071
13136
  required: string[];
13072
13137
  type: string;
13073
- } | {
13074
- description: string;
13075
- properties: {
13076
- action_attempt_id: {
13077
- description: string;
13078
- format: string;
13079
- type: string;
13080
- 'x-title': string;
13081
- };
13082
- action_type: {
13083
- enum: string[];
13084
- type: string;
13085
- };
13086
- error: {
13087
- oneOf: {
13088
- properties: {
13089
- message: {
13090
- type: string;
13091
- };
13092
- type: {
13093
- enum: string[];
13094
- type: string;
13095
- };
13096
- };
13097
- required: string[];
13098
- type: string;
13099
- }[];
13100
- nullable?: never;
13101
- properties?: never;
13102
- required?: never;
13103
- type?: never;
13104
- };
13105
- result: {
13106
- nullable: boolean;
13107
- properties?: never;
13108
- type?: never;
13109
- required?: never;
13110
- description?: never;
13111
- oneOf?: never;
13112
- };
13113
- status: {
13114
- enum: string[];
13115
- type: string;
13116
- };
13117
- };
13118
- required: string[];
13119
- type: string;
13120
13138
  } | {
13121
13139
  properties: {
13122
13140
  action_attempt_id: {
@@ -13212,7 +13230,6 @@ declare const _default: {
13212
13230
  };
13213
13231
  type: {
13214
13232
  type: string;
13215
- enum?: never;
13216
13233
  };
13217
13234
  };
13218
13235
  required: string[];
@@ -31633,6 +31650,12 @@ interface Routes {
31633
31650
  result: null;
31634
31651
  action_type: 'SCAN_CARD';
31635
31652
  error: {
31653
+ type: 'uncategorized_error';
31654
+ message: string;
31655
+ } | {
31656
+ type: 'action_attempt_expired';
31657
+ message: string;
31658
+ } | {
31636
31659
  type: 'no_card_on_encoder';
31637
31660
  message: string;
31638
31661
  };
@@ -31774,6 +31797,12 @@ interface Routes {
31774
31797
  result: null;
31775
31798
  action_type: 'ENCODE_CARD';
31776
31799
  error: {
31800
+ type: 'uncategorized_error';
31801
+ message: string;
31802
+ } | {
31803
+ type: 'action_attempt_expired';
31804
+ message: string;
31805
+ } | {
31777
31806
  type: 'no_card_on_encoder';
31778
31807
  message: string;
31779
31808
  } | {
@@ -32505,6 +32534,12 @@ interface Routes {
32505
32534
  result: null;
32506
32535
  action_type: 'SCAN_CARD';
32507
32536
  error: {
32537
+ type: 'uncategorized_error';
32538
+ message: string;
32539
+ } | {
32540
+ type: 'action_attempt_expired';
32541
+ message: string;
32542
+ } | {
32508
32543
  type: 'no_card_on_encoder';
32509
32544
  message: string;
32510
32545
  };
@@ -32646,6 +32681,12 @@ interface Routes {
32646
32681
  result: null;
32647
32682
  action_type: 'ENCODE_CARD';
32648
32683
  error: {
32684
+ type: 'uncategorized_error';
32685
+ message: string;
32686
+ } | {
32687
+ type: 'action_attempt_expired';
32688
+ message: string;
32689
+ } | {
32649
32690
  type: 'no_card_on_encoder';
32650
32691
  message: string;
32651
32692
  } | {
@@ -33534,6 +33575,12 @@ interface Routes {
33534
33575
  result: null;
33535
33576
  action_type: 'SCAN_CARD';
33536
33577
  error: {
33578
+ type: 'uncategorized_error';
33579
+ message: string;
33580
+ } | {
33581
+ type: 'action_attempt_expired';
33582
+ message: string;
33583
+ } | {
33537
33584
  type: 'no_card_on_encoder';
33538
33585
  message: string;
33539
33586
  };
@@ -33675,6 +33722,12 @@ interface Routes {
33675
33722
  result: null;
33676
33723
  action_type: 'ENCODE_CARD';
33677
33724
  error: {
33725
+ type: 'uncategorized_error';
33726
+ message: string;
33727
+ } | {
33728
+ type: 'action_attempt_expired';
33729
+ message: string;
33730
+ } | {
33678
33731
  type: 'no_card_on_encoder';
33679
33732
  message: string;
33680
33733
  } | {
@@ -34393,6 +34446,12 @@ interface Routes {
34393
34446
  result: null;
34394
34447
  action_type: 'SCAN_CARD';
34395
34448
  error: {
34449
+ type: 'uncategorized_error';
34450
+ message: string;
34451
+ } | {
34452
+ type: 'action_attempt_expired';
34453
+ message: string;
34454
+ } | {
34396
34455
  type: 'no_card_on_encoder';
34397
34456
  message: string;
34398
34457
  };
@@ -34534,6 +34593,12 @@ interface Routes {
34534
34593
  result: null;
34535
34594
  action_type: 'ENCODE_CARD';
34536
34595
  error: {
34596
+ type: 'uncategorized_error';
34597
+ message: string;
34598
+ } | {
34599
+ type: 'action_attempt_expired';
34600
+ message: string;
34601
+ } | {
34537
34602
  type: 'no_card_on_encoder';
34538
34603
  message: string;
34539
34604
  } | {
@@ -36232,6 +36297,12 @@ interface Routes {
36232
36297
  result: null;
36233
36298
  action_type: 'SCAN_CARD';
36234
36299
  error: {
36300
+ type: 'uncategorized_error';
36301
+ message: string;
36302
+ } | {
36303
+ type: 'action_attempt_expired';
36304
+ message: string;
36305
+ } | {
36235
36306
  type: 'no_card_on_encoder';
36236
36307
  message: string;
36237
36308
  };
@@ -36373,6 +36444,12 @@ interface Routes {
36373
36444
  result: null;
36374
36445
  action_type: 'ENCODE_CARD';
36375
36446
  error: {
36447
+ type: 'uncategorized_error';
36448
+ message: string;
36449
+ } | {
36450
+ type: 'action_attempt_expired';
36451
+ message: string;
36452
+ } | {
36376
36453
  type: 'no_card_on_encoder';
36377
36454
  message: string;
36378
36455
  } | {
@@ -37433,6 +37510,12 @@ interface Routes {
37433
37510
  result: null;
37434
37511
  action_type: 'SCAN_CARD';
37435
37512
  error: {
37513
+ type: 'uncategorized_error';
37514
+ message: string;
37515
+ } | {
37516
+ type: 'action_attempt_expired';
37517
+ message: string;
37518
+ } | {
37436
37519
  type: 'no_card_on_encoder';
37437
37520
  message: string;
37438
37521
  };
@@ -37574,6 +37657,12 @@ interface Routes {
37574
37657
  result: null;
37575
37658
  action_type: 'ENCODE_CARD';
37576
37659
  error: {
37660
+ type: 'uncategorized_error';
37661
+ message: string;
37662
+ } | {
37663
+ type: 'action_attempt_expired';
37664
+ message: string;
37665
+ } | {
37577
37666
  type: 'no_card_on_encoder';
37578
37667
  message: string;
37579
37668
  } | {
@@ -38135,7 +38224,7 @@ interface Routes {
38135
38224
  /** ID of the `acs_system`. */
38136
38225
  acs_system_id: string;
38137
38226
  /** Brand-specific terminology for the `acs_system` type. */
38138
- external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community') | undefined;
38227
+ external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'vostio_credential_service') | undefined;
38139
38228
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
38140
38229
  external_type_display_name?: string | undefined;
38141
38230
  /** Indicates if the `acs_system` is a credential manager. */
@@ -38150,7 +38239,7 @@ interface Routes {
38150
38239
  } | undefined;
38151
38240
  /**
38152
38241
  * @deprecated Use `external_type`. */
38153
- system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community') | undefined;
38242
+ system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'vostio_credential_service') | undefined;
38154
38243
  /**
38155
38244
  * @deprecated Use `external_type_display_name`. */
38156
38245
  system_type_display_name?: string | undefined;
@@ -38240,7 +38329,7 @@ interface Routes {
38240
38329
  /** ID of the `acs_system`. */
38241
38330
  acs_system_id: string;
38242
38331
  /** Brand-specific terminology for the `acs_system` type. */
38243
- external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community') | undefined;
38332
+ external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'vostio_credential_service') | undefined;
38244
38333
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
38245
38334
  external_type_display_name?: string | undefined;
38246
38335
  /** Indicates if the `acs_system` is a credential manager. */
@@ -38255,7 +38344,7 @@ interface Routes {
38255
38344
  } | undefined;
38256
38345
  /**
38257
38346
  * @deprecated Use `external_type`. */
38258
- system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community') | undefined;
38347
+ system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'vostio_credential_service') | undefined;
38259
38348
  /**
38260
38349
  * @deprecated Use `external_type_display_name`. */
38261
38350
  system_type_display_name?: string | undefined;
@@ -38345,7 +38434,7 @@ interface Routes {
38345
38434
  /** ID of the `acs_system`. */
38346
38435
  acs_system_id: string;
38347
38436
  /** Brand-specific terminology for the `acs_system` type. */
38348
- external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community') | undefined;
38437
+ external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'vostio_credential_service') | undefined;
38349
38438
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
38350
38439
  external_type_display_name?: string | undefined;
38351
38440
  /** Indicates if the `acs_system` is a credential manager. */
@@ -38360,7 +38449,7 @@ interface Routes {
38360
38449
  } | undefined;
38361
38450
  /**
38362
38451
  * @deprecated Use `external_type`. */
38363
- system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community') | undefined;
38452
+ system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'vostio_credential_service') | undefined;
38364
38453
  /**
38365
38454
  * @deprecated Use `external_type_display_name`. */
38366
38455
  system_type_display_name?: string | undefined;
@@ -39350,6 +39439,12 @@ interface Routes {
39350
39439
  result: null;
39351
39440
  action_type: 'SCAN_CARD';
39352
39441
  error: {
39442
+ type: 'uncategorized_error';
39443
+ message: string;
39444
+ } | {
39445
+ type: 'action_attempt_expired';
39446
+ message: string;
39447
+ } | {
39353
39448
  type: 'no_card_on_encoder';
39354
39449
  message: string;
39355
39450
  };
@@ -39491,6 +39586,12 @@ interface Routes {
39491
39586
  result: null;
39492
39587
  action_type: 'ENCODE_CARD';
39493
39588
  error: {
39589
+ type: 'uncategorized_error';
39590
+ message: string;
39591
+ } | {
39592
+ type: 'action_attempt_expired';
39593
+ message: string;
39594
+ } | {
39494
39595
  type: 'no_card_on_encoder';
39495
39596
  message: string;
39496
39597
  } | {
@@ -40071,6 +40172,12 @@ interface Routes {
40071
40172
  result: null;
40072
40173
  action_type: 'SCAN_CARD';
40073
40174
  error: {
40175
+ type: 'uncategorized_error';
40176
+ message: string;
40177
+ } | {
40178
+ type: 'action_attempt_expired';
40179
+ message: string;
40180
+ } | {
40074
40181
  type: 'no_card_on_encoder';
40075
40182
  message: string;
40076
40183
  };
@@ -40212,6 +40319,12 @@ interface Routes {
40212
40319
  result: null;
40213
40320
  action_type: 'ENCODE_CARD';
40214
40321
  error: {
40322
+ type: 'uncategorized_error';
40323
+ message: string;
40324
+ } | {
40325
+ type: 'action_attempt_expired';
40326
+ message: string;
40327
+ } | {
40215
40328
  type: 'no_card_on_encoder';
40216
40329
  message: string;
40217
40330
  } | {
@@ -40727,7 +40840,7 @@ interface Routes {
40727
40840
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
40728
40841
  custom_redirect_url?: string | undefined;
40729
40842
  custom_redirect_failure_url?: string | undefined;
40730
- accepted_providers?: Array<'dormakaba_community' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'vostio' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
40843
+ accepted_providers?: Array<'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'vostio_credential_service' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
40731
40844
  provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
40732
40845
  custom_metadata?: Record<string, string | boolean | null> | undefined;
40733
40846
  automatically_manage_new_devices?: boolean;
@@ -41957,7 +42070,7 @@ interface Routes {
41957
42070
  formData: {};
41958
42071
  jsonResponse: {
41959
42072
  device_providers: Array<{
41960
- device_provider_name: 'dormakaba_community' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'vostio';
42073
+ device_provider_name: 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'vostio_credential_service';
41961
42074
  display_name: string;
41962
42075
  image_url: string;
41963
42076
  provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
@@ -44463,6 +44576,12 @@ interface Routes {
44463
44576
  result: null;
44464
44577
  action_type: 'SCAN_CARD';
44465
44578
  error: {
44579
+ type: 'uncategorized_error';
44580
+ message: string;
44581
+ } | {
44582
+ type: 'action_attempt_expired';
44583
+ message: string;
44584
+ } | {
44466
44585
  type: 'no_card_on_encoder';
44467
44586
  message: string;
44468
44587
  };
@@ -44604,6 +44723,12 @@ interface Routes {
44604
44723
  result: null;
44605
44724
  action_type: 'ENCODE_CARD';
44606
44725
  error: {
44726
+ type: 'uncategorized_error';
44727
+ message: string;
44728
+ } | {
44729
+ type: 'action_attempt_expired';
44730
+ message: string;
44731
+ } | {
44607
44732
  type: 'no_card_on_encoder';
44608
44733
  message: string;
44609
44734
  } | {
@@ -45185,6 +45310,12 @@ interface Routes {
45185
45310
  result: null;
45186
45311
  action_type: 'SCAN_CARD';
45187
45312
  error: {
45313
+ type: 'uncategorized_error';
45314
+ message: string;
45315
+ } | {
45316
+ type: 'action_attempt_expired';
45317
+ message: string;
45318
+ } | {
45188
45319
  type: 'no_card_on_encoder';
45189
45320
  message: string;
45190
45321
  };
@@ -45326,6 +45457,12 @@ interface Routes {
45326
45457
  result: null;
45327
45458
  action_type: 'ENCODE_CARD';
45328
45459
  error: {
45460
+ type: 'uncategorized_error';
45461
+ message: string;
45462
+ } | {
45463
+ type: 'action_attempt_expired';
45464
+ message: string;
45465
+ } | {
45329
45466
  type: 'no_card_on_encoder';
45330
45467
  message: string;
45331
45468
  } | {
@@ -46889,6 +47026,12 @@ interface Routes {
46889
47026
  result: null;
46890
47027
  action_type: 'SCAN_CARD';
46891
47028
  error: {
47029
+ type: 'uncategorized_error';
47030
+ message: string;
47031
+ } | {
47032
+ type: 'action_attempt_expired';
47033
+ message: string;
47034
+ } | {
46892
47035
  type: 'no_card_on_encoder';
46893
47036
  message: string;
46894
47037
  };
@@ -47030,6 +47173,12 @@ interface Routes {
47030
47173
  result: null;
47031
47174
  action_type: 'ENCODE_CARD';
47032
47175
  error: {
47176
+ type: 'uncategorized_error';
47177
+ message: string;
47178
+ } | {
47179
+ type: 'action_attempt_expired';
47180
+ message: string;
47181
+ } | {
47033
47182
  type: 'no_card_on_encoder';
47034
47183
  message: string;
47035
47184
  } | {
@@ -47621,6 +47770,12 @@ interface Routes {
47621
47770
  result: null;
47622
47771
  action_type: 'SCAN_CARD';
47623
47772
  error: {
47773
+ type: 'uncategorized_error';
47774
+ message: string;
47775
+ } | {
47776
+ type: 'action_attempt_expired';
47777
+ message: string;
47778
+ } | {
47624
47779
  type: 'no_card_on_encoder';
47625
47780
  message: string;
47626
47781
  };
@@ -47762,6 +47917,12 @@ interface Routes {
47762
47917
  result: null;
47763
47918
  action_type: 'ENCODE_CARD';
47764
47919
  error: {
47920
+ type: 'uncategorized_error';
47921
+ message: string;
47922
+ } | {
47923
+ type: 'action_attempt_expired';
47924
+ message: string;
47925
+ } | {
47765
47926
  type: 'no_card_on_encoder';
47766
47927
  message: string;
47767
47928
  } | {
@@ -48392,6 +48553,12 @@ interface Routes {
48392
48553
  result: null;
48393
48554
  action_type: 'SCAN_CARD';
48394
48555
  error: {
48556
+ type: 'uncategorized_error';
48557
+ message: string;
48558
+ } | {
48559
+ type: 'action_attempt_expired';
48560
+ message: string;
48561
+ } | {
48395
48562
  type: 'no_card_on_encoder';
48396
48563
  message: string;
48397
48564
  };
@@ -48533,6 +48700,12 @@ interface Routes {
48533
48700
  result: null;
48534
48701
  action_type: 'ENCODE_CARD';
48535
48702
  error: {
48703
+ type: 'uncategorized_error';
48704
+ message: string;
48705
+ } | {
48706
+ type: 'action_attempt_expired';
48707
+ message: string;
48708
+ } | {
48536
48709
  type: 'no_card_on_encoder';
48537
48710
  message: string;
48538
48711
  } | {
@@ -49296,6 +49469,12 @@ interface Routes {
49296
49469
  result: null;
49297
49470
  action_type: 'SCAN_CARD';
49298
49471
  error: {
49472
+ type: 'uncategorized_error';
49473
+ message: string;
49474
+ } | {
49475
+ type: 'action_attempt_expired';
49476
+ message: string;
49477
+ } | {
49299
49478
  type: 'no_card_on_encoder';
49300
49479
  message: string;
49301
49480
  };
@@ -49437,6 +49616,12 @@ interface Routes {
49437
49616
  result: null;
49438
49617
  action_type: 'ENCODE_CARD';
49439
49618
  error: {
49619
+ type: 'uncategorized_error';
49620
+ message: string;
49621
+ } | {
49622
+ type: 'action_attempt_expired';
49623
+ message: string;
49624
+ } | {
49440
49625
  type: 'no_card_on_encoder';
49441
49626
  message: string;
49442
49627
  } | {
@@ -50020,6 +50205,12 @@ interface Routes {
50020
50205
  result: null;
50021
50206
  action_type: 'SCAN_CARD';
50022
50207
  error: {
50208
+ type: 'uncategorized_error';
50209
+ message: string;
50210
+ } | {
50211
+ type: 'action_attempt_expired';
50212
+ message: string;
50213
+ } | {
50023
50214
  type: 'no_card_on_encoder';
50024
50215
  message: string;
50025
50216
  };
@@ -50161,6 +50352,12 @@ interface Routes {
50161
50352
  result: null;
50162
50353
  action_type: 'ENCODE_CARD';
50163
50354
  error: {
50355
+ type: 'uncategorized_error';
50356
+ message: string;
50357
+ } | {
50358
+ type: 'action_attempt_expired';
50359
+ message: string;
50360
+ } | {
50164
50361
  type: 'no_card_on_encoder';
50165
50362
  message: string;
50166
50363
  } | {
@@ -51248,6 +51445,12 @@ interface Routes {
51248
51445
  result: null;
51249
51446
  action_type: 'SCAN_CARD';
51250
51447
  error: {
51448
+ type: 'uncategorized_error';
51449
+ message: string;
51450
+ } | {
51451
+ type: 'action_attempt_expired';
51452
+ message: string;
51453
+ } | {
51251
51454
  type: 'no_card_on_encoder';
51252
51455
  message: string;
51253
51456
  };
@@ -51389,6 +51592,12 @@ interface Routes {
51389
51592
  result: null;
51390
51593
  action_type: 'ENCODE_CARD';
51391
51594
  error: {
51595
+ type: 'uncategorized_error';
51596
+ message: string;
51597
+ } | {
51598
+ type: 'action_attempt_expired';
51599
+ message: string;
51600
+ } | {
51392
51601
  type: 'no_card_on_encoder';
51393
51602
  message: string;
51394
51603
  } | {
@@ -51974,6 +52183,12 @@ interface Routes {
51974
52183
  result: null;
51975
52184
  action_type: 'SCAN_CARD';
51976
52185
  error: {
52186
+ type: 'uncategorized_error';
52187
+ message: string;
52188
+ } | {
52189
+ type: 'action_attempt_expired';
52190
+ message: string;
52191
+ } | {
51977
52192
  type: 'no_card_on_encoder';
51978
52193
  message: string;
51979
52194
  };
@@ -52115,6 +52330,12 @@ interface Routes {
52115
52330
  result: null;
52116
52331
  action_type: 'ENCODE_CARD';
52117
52332
  error: {
52333
+ type: 'uncategorized_error';
52334
+ message: string;
52335
+ } | {
52336
+ type: 'action_attempt_expired';
52337
+ message: string;
52338
+ } | {
52118
52339
  type: 'no_card_on_encoder';
52119
52340
  message: string;
52120
52341
  } | {
@@ -53639,6 +53860,12 @@ interface Routes {
53639
53860
  result: null;
53640
53861
  action_type: 'SCAN_CARD';
53641
53862
  error: {
53863
+ type: 'uncategorized_error';
53864
+ message: string;
53865
+ } | {
53866
+ type: 'action_attempt_expired';
53867
+ message: string;
53868
+ } | {
53642
53869
  type: 'no_card_on_encoder';
53643
53870
  message: string;
53644
53871
  };
@@ -53780,6 +54007,12 @@ interface Routes {
53780
54007
  result: null;
53781
54008
  action_type: 'ENCODE_CARD';
53782
54009
  error: {
54010
+ type: 'uncategorized_error';
54011
+ message: string;
54012
+ } | {
54013
+ type: 'action_attempt_expired';
54014
+ message: string;
54015
+ } | {
53783
54016
  type: 'no_card_on_encoder';
53784
54017
  message: string;
53785
54018
  } | {
@@ -54482,6 +54715,12 @@ interface Routes {
54482
54715
  result: null;
54483
54716
  action_type: 'SCAN_CARD';
54484
54717
  error: {
54718
+ type: 'uncategorized_error';
54719
+ message: string;
54720
+ } | {
54721
+ type: 'action_attempt_expired';
54722
+ message: string;
54723
+ } | {
54485
54724
  type: 'no_card_on_encoder';
54486
54725
  message: string;
54487
54726
  };
@@ -54623,6 +54862,12 @@ interface Routes {
54623
54862
  result: null;
54624
54863
  action_type: 'ENCODE_CARD';
54625
54864
  error: {
54865
+ type: 'uncategorized_error';
54866
+ message: string;
54867
+ } | {
54868
+ type: 'action_attempt_expired';
54869
+ message: string;
54870
+ } | {
54626
54871
  type: 'no_card_on_encoder';
54627
54872
  message: string;
54628
54873
  } | {
@@ -56138,7 +56383,7 @@ interface Routes {
56138
56383
  /** ID of the `acs_system`. */
56139
56384
  acs_system_id: string;
56140
56385
  /** Brand-specific terminology for the `acs_system` type. */
56141
- external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community') | undefined;
56386
+ external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'vostio_credential_service') | undefined;
56142
56387
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
56143
56388
  external_type_display_name?: string | undefined;
56144
56389
  /** Indicates if the `acs_system` is a credential manager. */
@@ -56153,7 +56398,7 @@ interface Routes {
56153
56398
  } | undefined;
56154
56399
  /**
56155
56400
  * @deprecated Use `external_type`. */
56156
- system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community') | undefined;
56401
+ system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'vostio_credential_service') | undefined;
56157
56402
  /**
56158
56403
  * @deprecated Use `external_type_display_name`. */
56159
56404
  system_type_display_name?: string | undefined;
@@ -56733,6 +56978,12 @@ interface Routes {
56733
56978
  result: null;
56734
56979
  action_type: 'SCAN_CARD';
56735
56980
  error: {
56981
+ type: 'uncategorized_error';
56982
+ message: string;
56983
+ } | {
56984
+ type: 'action_attempt_expired';
56985
+ message: string;
56986
+ } | {
56736
56987
  type: 'no_card_on_encoder';
56737
56988
  message: string;
56738
56989
  };
@@ -56874,6 +57125,12 @@ interface Routes {
56874
57125
  result: null;
56875
57126
  action_type: 'ENCODE_CARD';
56876
57127
  error: {
57128
+ type: 'uncategorized_error';
57129
+ message: string;
57130
+ } | {
57131
+ type: 'action_attempt_expired';
57132
+ message: string;
57133
+ } | {
56877
57134
  type: 'no_card_on_encoder';
56878
57135
  message: string;
56879
57136
  } | {