@seamapi/types 1.373.3 → 1.375.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.
@@ -941,39 +941,65 @@ declare const access_code: z.ZodObject<{
941
941
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
942
942
  created_at: z.ZodString;
943
943
  message: z.ZodString;
944
- is_connected_account_error: z.ZodLiteral<true>;
944
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
945
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
945
946
  }, {
946
947
  error_code: z.ZodLiteral<"account_disconnected">;
947
948
  }>, "strip", z.ZodTypeAny, {
948
949
  message: string;
949
950
  created_at: string;
950
951
  error_code: "account_disconnected";
951
- is_connected_account_error: true;
952
+ is_connected_account_error?: boolean | undefined;
953
+ is_bridge_error?: boolean | undefined;
952
954
  }, {
953
955
  message: string;
954
956
  created_at: string;
955
957
  error_code: "account_disconnected";
956
- is_connected_account_error: true;
958
+ is_connected_account_error?: boolean | undefined;
959
+ is_bridge_error?: boolean | undefined;
957
960
  }> | z.ZodObject<z.objectUtil.extendShape<{
958
961
  created_at: z.ZodString;
959
962
  message: z.ZodString;
960
- is_connected_account_error: z.ZodLiteral<true>;
963
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
964
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
961
965
  }, {
962
966
  error_code: z.ZodLiteral<"invalid_credentials">;
963
967
  }>, "strip", z.ZodTypeAny, {
964
968
  message: string;
965
969
  created_at: string;
966
970
  error_code: "invalid_credentials";
967
- is_connected_account_error: true;
971
+ is_connected_account_error?: boolean | undefined;
972
+ is_bridge_error?: boolean | undefined;
968
973
  }, {
969
974
  message: string;
970
975
  created_at: string;
971
976
  error_code: "invalid_credentials";
972
- is_connected_account_error: true;
977
+ is_connected_account_error?: boolean | undefined;
978
+ is_bridge_error?: boolean | undefined;
973
979
  }> | z.ZodObject<z.objectUtil.extendShape<{
974
980
  created_at: z.ZodString;
975
981
  message: z.ZodString;
976
- is_connected_account_error: z.ZodLiteral<true>;
982
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
983
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
984
+ }, {
985
+ error_code: z.ZodLiteral<"bridge_disconnected">;
986
+ }>, "strip", z.ZodTypeAny, {
987
+ message: string;
988
+ created_at: string;
989
+ error_code: "bridge_disconnected";
990
+ is_connected_account_error?: boolean | undefined;
991
+ is_bridge_error?: boolean | undefined;
992
+ }, {
993
+ message: string;
994
+ created_at: string;
995
+ error_code: "bridge_disconnected";
996
+ is_connected_account_error?: boolean | undefined;
997
+ is_bridge_error?: boolean | undefined;
998
+ }> | z.ZodObject<z.objectUtil.extendShape<{
999
+ created_at: z.ZodString;
1000
+ message: z.ZodString;
1001
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
1002
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
977
1003
  }, {
978
1004
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
979
1005
  salto_ks_metadata: z.ZodObject<{
@@ -1012,7 +1038,6 @@ declare const access_code: z.ZodObject<{
1012
1038
  message: string;
1013
1039
  created_at: string;
1014
1040
  error_code: "salto_ks_subscription_limit_exceeded";
1015
- is_connected_account_error: true;
1016
1041
  salto_ks_metadata: {
1017
1042
  sites: {
1018
1043
  site_id: string;
@@ -1021,11 +1046,12 @@ declare const access_code: z.ZodObject<{
1021
1046
  site_user_subscription_limit: number;
1022
1047
  }[];
1023
1048
  };
1049
+ is_connected_account_error?: boolean | undefined;
1050
+ is_bridge_error?: boolean | undefined;
1024
1051
  }, {
1025
1052
  message: string;
1026
1053
  created_at: string;
1027
1054
  error_code: "salto_ks_subscription_limit_exceeded";
1028
- is_connected_account_error: true;
1029
1055
  salto_ks_metadata: {
1030
1056
  sites: {
1031
1057
  site_id: string;
@@ -1034,6 +1060,8 @@ declare const access_code: z.ZodObject<{
1034
1060
  site_user_subscription_limit: number;
1035
1061
  }[];
1036
1062
  };
1063
+ is_connected_account_error?: boolean | undefined;
1064
+ is_bridge_error?: boolean | undefined;
1037
1065
  }> | z.ZodObject<z.objectUtil.extendShape<{
1038
1066
  message: z.ZodString;
1039
1067
  is_device_error: z.ZodLiteral<true>;
@@ -1102,6 +1130,26 @@ declare const access_code: z.ZodObject<{
1102
1130
  message: z.ZodString;
1103
1131
  is_device_error: z.ZodLiteral<true>;
1104
1132
  created_at: z.ZodString;
1133
+ }, {
1134
+ error_code: z.ZodLiteral<"account_disconnected">;
1135
+ is_connected_account_error: z.ZodLiteral<true>;
1136
+ is_device_error: z.ZodLiteral<false>;
1137
+ }>, "strip", z.ZodTypeAny, {
1138
+ message: string;
1139
+ created_at: string;
1140
+ error_code: "account_disconnected";
1141
+ is_connected_account_error: true;
1142
+ is_device_error: false;
1143
+ }, {
1144
+ message: string;
1145
+ created_at: string;
1146
+ error_code: "account_disconnected";
1147
+ is_connected_account_error: true;
1148
+ is_device_error: false;
1149
+ }> | z.ZodObject<z.objectUtil.extendShape<{
1150
+ message: z.ZodString;
1151
+ is_device_error: z.ZodLiteral<true>;
1152
+ created_at: z.ZodString;
1105
1153
  }, {
1106
1154
  error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
1107
1155
  }>, "strip", z.ZodTypeAny, {
@@ -1409,17 +1457,24 @@ declare const access_code: z.ZodObject<{
1409
1457
  message: string;
1410
1458
  created_at: string;
1411
1459
  error_code: "account_disconnected";
1412
- is_connected_account_error: true;
1460
+ is_connected_account_error?: boolean | undefined;
1461
+ is_bridge_error?: boolean | undefined;
1413
1462
  } | {
1414
1463
  message: string;
1415
1464
  created_at: string;
1416
1465
  error_code: "invalid_credentials";
1417
- is_connected_account_error: true;
1466
+ is_connected_account_error?: boolean | undefined;
1467
+ is_bridge_error?: boolean | undefined;
1468
+ } | {
1469
+ message: string;
1470
+ created_at: string;
1471
+ error_code: "bridge_disconnected";
1472
+ is_connected_account_error?: boolean | undefined;
1473
+ is_bridge_error?: boolean | undefined;
1418
1474
  } | {
1419
1475
  message: string;
1420
1476
  created_at: string;
1421
1477
  error_code: "salto_ks_subscription_limit_exceeded";
1422
- is_connected_account_error: true;
1423
1478
  salto_ks_metadata: {
1424
1479
  sites: {
1425
1480
  site_id: string;
@@ -1428,6 +1483,8 @@ declare const access_code: z.ZodObject<{
1428
1483
  site_user_subscription_limit: number;
1429
1484
  }[];
1430
1485
  };
1486
+ is_connected_account_error?: boolean | undefined;
1487
+ is_bridge_error?: boolean | undefined;
1431
1488
  } | {
1432
1489
  message: string;
1433
1490
  created_at: string;
@@ -1448,6 +1505,12 @@ declare const access_code: z.ZodObject<{
1448
1505
  created_at: string;
1449
1506
  error_code: "device_disconnected";
1450
1507
  is_device_error: true;
1508
+ } | {
1509
+ message: string;
1510
+ created_at: string;
1511
+ error_code: "account_disconnected";
1512
+ is_connected_account_error: true;
1513
+ is_device_error: false;
1451
1514
  } | {
1452
1515
  message: string;
1453
1516
  created_at: string;
@@ -1683,17 +1746,24 @@ declare const access_code: z.ZodObject<{
1683
1746
  message: string;
1684
1747
  created_at: string;
1685
1748
  error_code: "account_disconnected";
1686
- is_connected_account_error: true;
1749
+ is_connected_account_error?: boolean | undefined;
1750
+ is_bridge_error?: boolean | undefined;
1687
1751
  } | {
1688
1752
  message: string;
1689
1753
  created_at: string;
1690
1754
  error_code: "invalid_credentials";
1691
- is_connected_account_error: true;
1755
+ is_connected_account_error?: boolean | undefined;
1756
+ is_bridge_error?: boolean | undefined;
1757
+ } | {
1758
+ message: string;
1759
+ created_at: string;
1760
+ error_code: "bridge_disconnected";
1761
+ is_connected_account_error?: boolean | undefined;
1762
+ is_bridge_error?: boolean | undefined;
1692
1763
  } | {
1693
1764
  message: string;
1694
1765
  created_at: string;
1695
1766
  error_code: "salto_ks_subscription_limit_exceeded";
1696
- is_connected_account_error: true;
1697
1767
  salto_ks_metadata: {
1698
1768
  sites: {
1699
1769
  site_id: string;
@@ -1702,6 +1772,8 @@ declare const access_code: z.ZodObject<{
1702
1772
  site_user_subscription_limit: number;
1703
1773
  }[];
1704
1774
  };
1775
+ is_connected_account_error?: boolean | undefined;
1776
+ is_bridge_error?: boolean | undefined;
1705
1777
  } | {
1706
1778
  message: string;
1707
1779
  created_at: string;
@@ -1722,6 +1794,12 @@ declare const access_code: z.ZodObject<{
1722
1794
  created_at: string;
1723
1795
  error_code: "device_disconnected";
1724
1796
  is_device_error: true;
1797
+ } | {
1798
+ message: string;
1799
+ created_at: string;
1800
+ error_code: "account_disconnected";
1801
+ is_connected_account_error: true;
1802
+ is_device_error: false;
1725
1803
  } | {
1726
1804
  message: string;
1727
1805
  created_at: string;
@@ -2346,39 +2424,65 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2346
2424
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
2347
2425
  created_at: z.ZodString;
2348
2426
  message: z.ZodString;
2349
- is_connected_account_error: z.ZodLiteral<true>;
2427
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2428
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2350
2429
  }, {
2351
2430
  error_code: z.ZodLiteral<"account_disconnected">;
2352
2431
  }>, "strip", z.ZodTypeAny, {
2353
2432
  message: string;
2354
2433
  created_at: string;
2355
2434
  error_code: "account_disconnected";
2356
- is_connected_account_error: true;
2435
+ is_connected_account_error?: boolean | undefined;
2436
+ is_bridge_error?: boolean | undefined;
2357
2437
  }, {
2358
2438
  message: string;
2359
2439
  created_at: string;
2360
2440
  error_code: "account_disconnected";
2361
- is_connected_account_error: true;
2441
+ is_connected_account_error?: boolean | undefined;
2442
+ is_bridge_error?: boolean | undefined;
2362
2443
  }> | z.ZodObject<z.objectUtil.extendShape<{
2363
2444
  created_at: z.ZodString;
2364
2445
  message: z.ZodString;
2365
- is_connected_account_error: z.ZodLiteral<true>;
2446
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2447
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2366
2448
  }, {
2367
2449
  error_code: z.ZodLiteral<"invalid_credentials">;
2368
2450
  }>, "strip", z.ZodTypeAny, {
2369
2451
  message: string;
2370
2452
  created_at: string;
2371
2453
  error_code: "invalid_credentials";
2372
- is_connected_account_error: true;
2454
+ is_connected_account_error?: boolean | undefined;
2455
+ is_bridge_error?: boolean | undefined;
2373
2456
  }, {
2374
2457
  message: string;
2375
2458
  created_at: string;
2376
2459
  error_code: "invalid_credentials";
2377
- is_connected_account_error: true;
2460
+ is_connected_account_error?: boolean | undefined;
2461
+ is_bridge_error?: boolean | undefined;
2378
2462
  }> | z.ZodObject<z.objectUtil.extendShape<{
2379
2463
  created_at: z.ZodString;
2380
2464
  message: z.ZodString;
2381
- is_connected_account_error: z.ZodLiteral<true>;
2465
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2466
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2467
+ }, {
2468
+ error_code: z.ZodLiteral<"bridge_disconnected">;
2469
+ }>, "strip", z.ZodTypeAny, {
2470
+ message: string;
2471
+ created_at: string;
2472
+ error_code: "bridge_disconnected";
2473
+ is_connected_account_error?: boolean | undefined;
2474
+ is_bridge_error?: boolean | undefined;
2475
+ }, {
2476
+ message: string;
2477
+ created_at: string;
2478
+ error_code: "bridge_disconnected";
2479
+ is_connected_account_error?: boolean | undefined;
2480
+ is_bridge_error?: boolean | undefined;
2481
+ }> | z.ZodObject<z.objectUtil.extendShape<{
2482
+ created_at: z.ZodString;
2483
+ message: z.ZodString;
2484
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2485
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2382
2486
  }, {
2383
2487
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
2384
2488
  salto_ks_metadata: z.ZodObject<{
@@ -2417,7 +2521,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2417
2521
  message: string;
2418
2522
  created_at: string;
2419
2523
  error_code: "salto_ks_subscription_limit_exceeded";
2420
- is_connected_account_error: true;
2421
2524
  salto_ks_metadata: {
2422
2525
  sites: {
2423
2526
  site_id: string;
@@ -2426,11 +2529,12 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2426
2529
  site_user_subscription_limit: number;
2427
2530
  }[];
2428
2531
  };
2532
+ is_connected_account_error?: boolean | undefined;
2533
+ is_bridge_error?: boolean | undefined;
2429
2534
  }, {
2430
2535
  message: string;
2431
2536
  created_at: string;
2432
2537
  error_code: "salto_ks_subscription_limit_exceeded";
2433
- is_connected_account_error: true;
2434
2538
  salto_ks_metadata: {
2435
2539
  sites: {
2436
2540
  site_id: string;
@@ -2439,6 +2543,8 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2439
2543
  site_user_subscription_limit: number;
2440
2544
  }[];
2441
2545
  };
2546
+ is_connected_account_error?: boolean | undefined;
2547
+ is_bridge_error?: boolean | undefined;
2442
2548
  }> | z.ZodObject<z.objectUtil.extendShape<{
2443
2549
  message: z.ZodString;
2444
2550
  is_device_error: z.ZodLiteral<true>;
@@ -2507,6 +2613,26 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2507
2613
  message: z.ZodString;
2508
2614
  is_device_error: z.ZodLiteral<true>;
2509
2615
  created_at: z.ZodString;
2616
+ }, {
2617
+ error_code: z.ZodLiteral<"account_disconnected">;
2618
+ is_connected_account_error: z.ZodLiteral<true>;
2619
+ is_device_error: z.ZodLiteral<false>;
2620
+ }>, "strip", z.ZodTypeAny, {
2621
+ message: string;
2622
+ created_at: string;
2623
+ error_code: "account_disconnected";
2624
+ is_connected_account_error: true;
2625
+ is_device_error: false;
2626
+ }, {
2627
+ message: string;
2628
+ created_at: string;
2629
+ error_code: "account_disconnected";
2630
+ is_connected_account_error: true;
2631
+ is_device_error: false;
2632
+ }> | z.ZodObject<z.objectUtil.extendShape<{
2633
+ message: z.ZodString;
2634
+ is_device_error: z.ZodLiteral<true>;
2635
+ created_at: z.ZodString;
2510
2636
  }, {
2511
2637
  error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
2512
2638
  }>, "strip", z.ZodTypeAny, {
@@ -2817,17 +2943,24 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2817
2943
  message: string;
2818
2944
  created_at: string;
2819
2945
  error_code: "account_disconnected";
2820
- is_connected_account_error: true;
2946
+ is_connected_account_error?: boolean | undefined;
2947
+ is_bridge_error?: boolean | undefined;
2821
2948
  } | {
2822
2949
  message: string;
2823
2950
  created_at: string;
2824
2951
  error_code: "invalid_credentials";
2825
- is_connected_account_error: true;
2952
+ is_connected_account_error?: boolean | undefined;
2953
+ is_bridge_error?: boolean | undefined;
2954
+ } | {
2955
+ message: string;
2956
+ created_at: string;
2957
+ error_code: "bridge_disconnected";
2958
+ is_connected_account_error?: boolean | undefined;
2959
+ is_bridge_error?: boolean | undefined;
2826
2960
  } | {
2827
2961
  message: string;
2828
2962
  created_at: string;
2829
2963
  error_code: "salto_ks_subscription_limit_exceeded";
2830
- is_connected_account_error: true;
2831
2964
  salto_ks_metadata: {
2832
2965
  sites: {
2833
2966
  site_id: string;
@@ -2836,6 +2969,8 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2836
2969
  site_user_subscription_limit: number;
2837
2970
  }[];
2838
2971
  };
2972
+ is_connected_account_error?: boolean | undefined;
2973
+ is_bridge_error?: boolean | undefined;
2839
2974
  } | {
2840
2975
  message: string;
2841
2976
  created_at: string;
@@ -2856,6 +2991,12 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2856
2991
  created_at: string;
2857
2992
  error_code: "device_disconnected";
2858
2993
  is_device_error: true;
2994
+ } | {
2995
+ message: string;
2996
+ created_at: string;
2997
+ error_code: "account_disconnected";
2998
+ is_connected_account_error: true;
2999
+ is_device_error: false;
2859
3000
  } | {
2860
3001
  message: string;
2861
3002
  created_at: string;
@@ -3082,17 +3223,24 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
3082
3223
  message: string;
3083
3224
  created_at: string;
3084
3225
  error_code: "account_disconnected";
3085
- is_connected_account_error: true;
3226
+ is_connected_account_error?: boolean | undefined;
3227
+ is_bridge_error?: boolean | undefined;
3086
3228
  } | {
3087
3229
  message: string;
3088
3230
  created_at: string;
3089
3231
  error_code: "invalid_credentials";
3090
- is_connected_account_error: true;
3232
+ is_connected_account_error?: boolean | undefined;
3233
+ is_bridge_error?: boolean | undefined;
3234
+ } | {
3235
+ message: string;
3236
+ created_at: string;
3237
+ error_code: "bridge_disconnected";
3238
+ is_connected_account_error?: boolean | undefined;
3239
+ is_bridge_error?: boolean | undefined;
3091
3240
  } | {
3092
3241
  message: string;
3093
3242
  created_at: string;
3094
3243
  error_code: "salto_ks_subscription_limit_exceeded";
3095
- is_connected_account_error: true;
3096
3244
  salto_ks_metadata: {
3097
3245
  sites: {
3098
3246
  site_id: string;
@@ -3101,6 +3249,8 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
3101
3249
  site_user_subscription_limit: number;
3102
3250
  }[];
3103
3251
  };
3252
+ is_connected_account_error?: boolean | undefined;
3253
+ is_bridge_error?: boolean | undefined;
3104
3254
  } | {
3105
3255
  message: string;
3106
3256
  created_at: string;
@@ -3121,6 +3271,12 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
3121
3271
  created_at: string;
3122
3272
  error_code: "device_disconnected";
3123
3273
  is_device_error: true;
3274
+ } | {
3275
+ message: string;
3276
+ created_at: string;
3277
+ error_code: "account_disconnected";
3278
+ is_connected_account_error: true;
3279
+ is_device_error: false;
3124
3280
  } | {
3125
3281
  message: string;
3126
3282
  created_at: string;
@@ -4338,6 +4494,8 @@ type AcsEntrance = z.infer<typeof acs_entrance>;
4338
4494
  declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4339
4495
  default_credential_manager_acs_system_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4340
4496
  acs_system_id: z.ZodString;
4497
+ acs_users_count: z.ZodOptional<z.ZodNumber>;
4498
+ acs_access_group_count: z.ZodOptional<z.ZodNumber>;
4341
4499
  external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "salto_space_system", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community_site", "legic_connect_credential_service", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>>;
4342
4500
  external_type_display_name: z.ZodOptional<z.ZodString>;
4343
4501
  is_credential_manager: z.ZodBoolean;
@@ -4386,6 +4544,22 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4386
4544
  }>, z.ZodObject<z.objectUtil.extendShape<{
4387
4545
  created_at: z.ZodString;
4388
4546
  message: z.ZodString;
4547
+ }, {
4548
+ error_code: z.ZodLiteral<"bridge_disconnected">;
4549
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
4550
+ }>, "strip", z.ZodTypeAny, {
4551
+ message: string;
4552
+ created_at: string;
4553
+ error_code: "bridge_disconnected";
4554
+ is_bridge_error?: boolean | undefined;
4555
+ }, {
4556
+ message: string;
4557
+ created_at: string;
4558
+ error_code: "bridge_disconnected";
4559
+ is_bridge_error?: boolean | undefined;
4560
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4561
+ created_at: z.ZodString;
4562
+ message: z.ZodString;
4389
4563
  }, {
4390
4564
  error_code: z.ZodLiteral<"visionline_instance_unreachable">;
4391
4565
  }>, "strip", z.ZodTypeAny, {
@@ -4491,6 +4665,11 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4491
4665
  message: string;
4492
4666
  created_at: string;
4493
4667
  error_code: "seam_bridge_disconnected";
4668
+ } | {
4669
+ message: string;
4670
+ created_at: string;
4671
+ error_code: "bridge_disconnected";
4672
+ is_bridge_error?: boolean | undefined;
4494
4673
  } | {
4495
4674
  message: string;
4496
4675
  created_at: string;
@@ -4544,6 +4723,8 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4544
4723
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
4545
4724
  can_add_acs_users_to_acs_access_groups?: boolean | undefined;
4546
4725
  default_credential_manager_acs_system_id?: string | null | undefined;
4726
+ acs_users_count?: number | undefined;
4727
+ acs_access_group_count?: number | undefined;
4547
4728
  system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
4548
4729
  system_type_display_name?: string | undefined;
4549
4730
  }, {
@@ -4553,6 +4734,11 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4553
4734
  message: string;
4554
4735
  created_at: string;
4555
4736
  error_code: "seam_bridge_disconnected";
4737
+ } | {
4738
+ message: string;
4739
+ created_at: string;
4740
+ error_code: "bridge_disconnected";
4741
+ is_bridge_error?: boolean | undefined;
4556
4742
  } | {
4557
4743
  message: string;
4558
4744
  created_at: string;
@@ -4606,6 +4792,8 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4606
4792
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
4607
4793
  can_add_acs_users_to_acs_access_groups?: boolean | undefined;
4608
4794
  default_credential_manager_acs_system_id?: string | null | undefined;
4795
+ acs_users_count?: number | undefined;
4796
+ acs_access_group_count?: number | undefined;
4609
4797
  system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
4610
4798
  system_type_display_name?: string | undefined;
4611
4799
  }>;
@@ -9508,39 +9696,65 @@ declare const connected_account: z.ZodObject<{
9508
9696
  errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
9509
9697
  created_at: z.ZodString;
9510
9698
  message: z.ZodString;
9511
- is_connected_account_error: z.ZodLiteral<true>;
9699
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
9700
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
9512
9701
  }, {
9513
9702
  error_code: z.ZodLiteral<"account_disconnected">;
9514
9703
  }>, "strip", z.ZodTypeAny, {
9515
9704
  message: string;
9516
9705
  created_at: string;
9517
9706
  error_code: "account_disconnected";
9518
- is_connected_account_error: true;
9707
+ is_connected_account_error?: boolean | undefined;
9708
+ is_bridge_error?: boolean | undefined;
9519
9709
  }, {
9520
9710
  message: string;
9521
9711
  created_at: string;
9522
9712
  error_code: "account_disconnected";
9523
- is_connected_account_error: true;
9713
+ is_connected_account_error?: boolean | undefined;
9714
+ is_bridge_error?: boolean | undefined;
9524
9715
  }>, z.ZodObject<z.objectUtil.extendShape<{
9525
9716
  created_at: z.ZodString;
9526
9717
  message: z.ZodString;
9527
- is_connected_account_error: z.ZodLiteral<true>;
9718
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
9719
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
9528
9720
  }, {
9529
9721
  error_code: z.ZodLiteral<"invalid_credentials">;
9530
9722
  }>, "strip", z.ZodTypeAny, {
9531
9723
  message: string;
9532
9724
  created_at: string;
9533
9725
  error_code: "invalid_credentials";
9534
- is_connected_account_error: true;
9726
+ is_connected_account_error?: boolean | undefined;
9727
+ is_bridge_error?: boolean | undefined;
9535
9728
  }, {
9536
9729
  message: string;
9537
9730
  created_at: string;
9538
9731
  error_code: "invalid_credentials";
9539
- is_connected_account_error: true;
9732
+ is_connected_account_error?: boolean | undefined;
9733
+ is_bridge_error?: boolean | undefined;
9540
9734
  }>, z.ZodObject<z.objectUtil.extendShape<{
9541
9735
  created_at: z.ZodString;
9542
9736
  message: z.ZodString;
9543
- is_connected_account_error: z.ZodLiteral<true>;
9737
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
9738
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
9739
+ }, {
9740
+ error_code: z.ZodLiteral<"bridge_disconnected">;
9741
+ }>, "strip", z.ZodTypeAny, {
9742
+ message: string;
9743
+ created_at: string;
9744
+ error_code: "bridge_disconnected";
9745
+ is_connected_account_error?: boolean | undefined;
9746
+ is_bridge_error?: boolean | undefined;
9747
+ }, {
9748
+ message: string;
9749
+ created_at: string;
9750
+ error_code: "bridge_disconnected";
9751
+ is_connected_account_error?: boolean | undefined;
9752
+ is_bridge_error?: boolean | undefined;
9753
+ }>, z.ZodObject<z.objectUtil.extendShape<{
9754
+ created_at: z.ZodString;
9755
+ message: z.ZodString;
9756
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
9757
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
9544
9758
  }, {
9545
9759
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
9546
9760
  salto_ks_metadata: z.ZodObject<{
@@ -9579,7 +9793,6 @@ declare const connected_account: z.ZodObject<{
9579
9793
  message: string;
9580
9794
  created_at: string;
9581
9795
  error_code: "salto_ks_subscription_limit_exceeded";
9582
- is_connected_account_error: true;
9583
9796
  salto_ks_metadata: {
9584
9797
  sites: {
9585
9798
  site_id: string;
@@ -9588,11 +9801,12 @@ declare const connected_account: z.ZodObject<{
9588
9801
  site_user_subscription_limit: number;
9589
9802
  }[];
9590
9803
  };
9804
+ is_connected_account_error?: boolean | undefined;
9805
+ is_bridge_error?: boolean | undefined;
9591
9806
  }, {
9592
9807
  message: string;
9593
9808
  created_at: string;
9594
9809
  error_code: "salto_ks_subscription_limit_exceeded";
9595
- is_connected_account_error: true;
9596
9810
  salto_ks_metadata: {
9597
9811
  sites: {
9598
9812
  site_id: string;
@@ -9601,6 +9815,8 @@ declare const connected_account: z.ZodObject<{
9601
9815
  site_user_subscription_limit: number;
9602
9816
  }[];
9603
9817
  };
9818
+ is_connected_account_error?: boolean | undefined;
9819
+ is_bridge_error?: boolean | undefined;
9604
9820
  }>]>, "many">;
9605
9821
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
9606
9822
  created_at: z.ZodString;
@@ -9697,17 +9913,24 @@ declare const connected_account: z.ZodObject<{
9697
9913
  message: string;
9698
9914
  created_at: string;
9699
9915
  error_code: "account_disconnected";
9700
- is_connected_account_error: true;
9916
+ is_connected_account_error?: boolean | undefined;
9917
+ is_bridge_error?: boolean | undefined;
9701
9918
  } | {
9702
9919
  message: string;
9703
9920
  created_at: string;
9704
9921
  error_code: "invalid_credentials";
9705
- is_connected_account_error: true;
9922
+ is_connected_account_error?: boolean | undefined;
9923
+ is_bridge_error?: boolean | undefined;
9924
+ } | {
9925
+ message: string;
9926
+ created_at: string;
9927
+ error_code: "bridge_disconnected";
9928
+ is_connected_account_error?: boolean | undefined;
9929
+ is_bridge_error?: boolean | undefined;
9706
9930
  } | {
9707
9931
  message: string;
9708
9932
  created_at: string;
9709
9933
  error_code: "salto_ks_subscription_limit_exceeded";
9710
- is_connected_account_error: true;
9711
9934
  salto_ks_metadata: {
9712
9935
  sites: {
9713
9936
  site_id: string;
@@ -9716,6 +9939,8 @@ declare const connected_account: z.ZodObject<{
9716
9939
  site_user_subscription_limit: number;
9717
9940
  }[];
9718
9941
  };
9942
+ is_connected_account_error?: boolean | undefined;
9943
+ is_bridge_error?: boolean | undefined;
9719
9944
  })[];
9720
9945
  account_type_display_name: string;
9721
9946
  warnings: ({
@@ -9756,17 +9981,24 @@ declare const connected_account: z.ZodObject<{
9756
9981
  message: string;
9757
9982
  created_at: string;
9758
9983
  error_code: "account_disconnected";
9759
- is_connected_account_error: true;
9984
+ is_connected_account_error?: boolean | undefined;
9985
+ is_bridge_error?: boolean | undefined;
9760
9986
  } | {
9761
9987
  message: string;
9762
9988
  created_at: string;
9763
9989
  error_code: "invalid_credentials";
9764
- is_connected_account_error: true;
9990
+ is_connected_account_error?: boolean | undefined;
9991
+ is_bridge_error?: boolean | undefined;
9992
+ } | {
9993
+ message: string;
9994
+ created_at: string;
9995
+ error_code: "bridge_disconnected";
9996
+ is_connected_account_error?: boolean | undefined;
9997
+ is_bridge_error?: boolean | undefined;
9765
9998
  } | {
9766
9999
  message: string;
9767
10000
  created_at: string;
9768
10001
  error_code: "salto_ks_subscription_limit_exceeded";
9769
- is_connected_account_error: true;
9770
10002
  salto_ks_metadata: {
9771
10003
  sites: {
9772
10004
  site_id: string;
@@ -9775,6 +10007,8 @@ declare const connected_account: z.ZodObject<{
9775
10007
  site_user_subscription_limit: number;
9776
10008
  }[];
9777
10009
  };
10010
+ is_connected_account_error?: boolean | undefined;
10011
+ is_bridge_error?: boolean | undefined;
9778
10012
  })[];
9779
10013
  account_type_display_name: string;
9780
10014
  warnings: ({
@@ -12349,39 +12583,65 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12349
12583
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
12350
12584
  created_at: z.ZodString;
12351
12585
  message: z.ZodString;
12352
- is_connected_account_error: z.ZodLiteral<true>;
12586
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
12587
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
12353
12588
  }, {
12354
12589
  error_code: z.ZodLiteral<"account_disconnected">;
12355
12590
  }>, "strip", z.ZodTypeAny, {
12356
12591
  message: string;
12357
12592
  created_at: string;
12358
12593
  error_code: "account_disconnected";
12359
- is_connected_account_error: true;
12594
+ is_connected_account_error?: boolean | undefined;
12595
+ is_bridge_error?: boolean | undefined;
12360
12596
  }, {
12361
12597
  message: string;
12362
12598
  created_at: string;
12363
12599
  error_code: "account_disconnected";
12364
- is_connected_account_error: true;
12600
+ is_connected_account_error?: boolean | undefined;
12601
+ is_bridge_error?: boolean | undefined;
12365
12602
  }> | z.ZodObject<z.objectUtil.extendShape<{
12366
12603
  created_at: z.ZodString;
12367
12604
  message: z.ZodString;
12368
- is_connected_account_error: z.ZodLiteral<true>;
12605
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
12606
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
12369
12607
  }, {
12370
12608
  error_code: z.ZodLiteral<"invalid_credentials">;
12371
12609
  }>, "strip", z.ZodTypeAny, {
12372
12610
  message: string;
12373
12611
  created_at: string;
12374
12612
  error_code: "invalid_credentials";
12375
- is_connected_account_error: true;
12613
+ is_connected_account_error?: boolean | undefined;
12614
+ is_bridge_error?: boolean | undefined;
12376
12615
  }, {
12377
12616
  message: string;
12378
12617
  created_at: string;
12379
12618
  error_code: "invalid_credentials";
12380
- is_connected_account_error: true;
12619
+ is_connected_account_error?: boolean | undefined;
12620
+ is_bridge_error?: boolean | undefined;
12381
12621
  }> | z.ZodObject<z.objectUtil.extendShape<{
12382
12622
  created_at: z.ZodString;
12383
12623
  message: z.ZodString;
12384
- is_connected_account_error: z.ZodLiteral<true>;
12624
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
12625
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
12626
+ }, {
12627
+ error_code: z.ZodLiteral<"bridge_disconnected">;
12628
+ }>, "strip", z.ZodTypeAny, {
12629
+ message: string;
12630
+ created_at: string;
12631
+ error_code: "bridge_disconnected";
12632
+ is_connected_account_error?: boolean | undefined;
12633
+ is_bridge_error?: boolean | undefined;
12634
+ }, {
12635
+ message: string;
12636
+ created_at: string;
12637
+ error_code: "bridge_disconnected";
12638
+ is_connected_account_error?: boolean | undefined;
12639
+ is_bridge_error?: boolean | undefined;
12640
+ }> | z.ZodObject<z.objectUtil.extendShape<{
12641
+ created_at: z.ZodString;
12642
+ message: z.ZodString;
12643
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
12644
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
12385
12645
  }, {
12386
12646
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
12387
12647
  salto_ks_metadata: z.ZodObject<{
@@ -12420,7 +12680,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12420
12680
  message: string;
12421
12681
  created_at: string;
12422
12682
  error_code: "salto_ks_subscription_limit_exceeded";
12423
- is_connected_account_error: true;
12424
12683
  salto_ks_metadata: {
12425
12684
  sites: {
12426
12685
  site_id: string;
@@ -12429,11 +12688,12 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12429
12688
  site_user_subscription_limit: number;
12430
12689
  }[];
12431
12690
  };
12691
+ is_connected_account_error?: boolean | undefined;
12692
+ is_bridge_error?: boolean | undefined;
12432
12693
  }, {
12433
12694
  message: string;
12434
12695
  created_at: string;
12435
12696
  error_code: "salto_ks_subscription_limit_exceeded";
12436
- is_connected_account_error: true;
12437
12697
  salto_ks_metadata: {
12438
12698
  sites: {
12439
12699
  site_id: string;
@@ -12442,6 +12702,8 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12442
12702
  site_user_subscription_limit: number;
12443
12703
  }[];
12444
12704
  };
12705
+ is_connected_account_error?: boolean | undefined;
12706
+ is_bridge_error?: boolean | undefined;
12445
12707
  }>)[]]>, "many">;
12446
12708
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
12447
12709
  message: z.ZodString;
@@ -12676,17 +12938,24 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12676
12938
  message: string;
12677
12939
  created_at: string;
12678
12940
  error_code: "account_disconnected";
12679
- is_connected_account_error: true;
12941
+ is_connected_account_error?: boolean | undefined;
12942
+ is_bridge_error?: boolean | undefined;
12680
12943
  } | {
12681
12944
  message: string;
12682
12945
  created_at: string;
12683
12946
  error_code: "invalid_credentials";
12684
- is_connected_account_error: true;
12947
+ is_connected_account_error?: boolean | undefined;
12948
+ is_bridge_error?: boolean | undefined;
12949
+ } | {
12950
+ message: string;
12951
+ created_at: string;
12952
+ error_code: "bridge_disconnected";
12953
+ is_connected_account_error?: boolean | undefined;
12954
+ is_bridge_error?: boolean | undefined;
12685
12955
  } | {
12686
12956
  message: string;
12687
12957
  created_at: string;
12688
12958
  error_code: "salto_ks_subscription_limit_exceeded";
12689
- is_connected_account_error: true;
12690
12959
  salto_ks_metadata: {
12691
12960
  sites: {
12692
12961
  site_id: string;
@@ -12695,6 +12964,8 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12695
12964
  site_user_subscription_limit: number;
12696
12965
  }[];
12697
12966
  };
12967
+ is_connected_account_error?: boolean | undefined;
12968
+ is_bridge_error?: boolean | undefined;
12698
12969
  } | {
12699
12970
  message: string;
12700
12971
  created_at: string;
@@ -13243,17 +13514,24 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13243
13514
  message: string;
13244
13515
  created_at: string;
13245
13516
  error_code: "account_disconnected";
13246
- is_connected_account_error: true;
13517
+ is_connected_account_error?: boolean | undefined;
13518
+ is_bridge_error?: boolean | undefined;
13247
13519
  } | {
13248
13520
  message: string;
13249
13521
  created_at: string;
13250
13522
  error_code: "invalid_credentials";
13251
- is_connected_account_error: true;
13523
+ is_connected_account_error?: boolean | undefined;
13524
+ is_bridge_error?: boolean | undefined;
13525
+ } | {
13526
+ message: string;
13527
+ created_at: string;
13528
+ error_code: "bridge_disconnected";
13529
+ is_connected_account_error?: boolean | undefined;
13530
+ is_bridge_error?: boolean | undefined;
13252
13531
  } | {
13253
13532
  message: string;
13254
13533
  created_at: string;
13255
13534
  error_code: "salto_ks_subscription_limit_exceeded";
13256
- is_connected_account_error: true;
13257
13535
  salto_ks_metadata: {
13258
13536
  sites: {
13259
13537
  site_id: string;
@@ -13262,6 +13540,8 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13262
13540
  site_user_subscription_limit: number;
13263
13541
  }[];
13264
13542
  };
13543
+ is_connected_account_error?: boolean | undefined;
13544
+ is_bridge_error?: boolean | undefined;
13265
13545
  } | {
13266
13546
  message: string;
13267
13547
  created_at: string;
@@ -16012,39 +16292,65 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16012
16292
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
16013
16293
  created_at: z.ZodString;
16014
16294
  message: z.ZodString;
16015
- is_connected_account_error: z.ZodLiteral<true>;
16295
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
16296
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
16016
16297
  }, {
16017
16298
  error_code: z.ZodLiteral<"account_disconnected">;
16018
16299
  }>, "strip", z.ZodTypeAny, {
16019
16300
  message: string;
16020
16301
  created_at: string;
16021
16302
  error_code: "account_disconnected";
16022
- is_connected_account_error: true;
16303
+ is_connected_account_error?: boolean | undefined;
16304
+ is_bridge_error?: boolean | undefined;
16023
16305
  }, {
16024
16306
  message: string;
16025
16307
  created_at: string;
16026
16308
  error_code: "account_disconnected";
16027
- is_connected_account_error: true;
16309
+ is_connected_account_error?: boolean | undefined;
16310
+ is_bridge_error?: boolean | undefined;
16028
16311
  }> | z.ZodObject<z.objectUtil.extendShape<{
16029
16312
  created_at: z.ZodString;
16030
16313
  message: z.ZodString;
16031
- is_connected_account_error: z.ZodLiteral<true>;
16314
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
16315
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
16032
16316
  }, {
16033
16317
  error_code: z.ZodLiteral<"invalid_credentials">;
16034
16318
  }>, "strip", z.ZodTypeAny, {
16035
16319
  message: string;
16036
16320
  created_at: string;
16037
16321
  error_code: "invalid_credentials";
16038
- is_connected_account_error: true;
16322
+ is_connected_account_error?: boolean | undefined;
16323
+ is_bridge_error?: boolean | undefined;
16039
16324
  }, {
16040
16325
  message: string;
16041
16326
  created_at: string;
16042
16327
  error_code: "invalid_credentials";
16043
- is_connected_account_error: true;
16328
+ is_connected_account_error?: boolean | undefined;
16329
+ is_bridge_error?: boolean | undefined;
16044
16330
  }> | z.ZodObject<z.objectUtil.extendShape<{
16045
16331
  created_at: z.ZodString;
16046
16332
  message: z.ZodString;
16047
- is_connected_account_error: z.ZodLiteral<true>;
16333
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
16334
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
16335
+ }, {
16336
+ error_code: z.ZodLiteral<"bridge_disconnected">;
16337
+ }>, "strip", z.ZodTypeAny, {
16338
+ message: string;
16339
+ created_at: string;
16340
+ error_code: "bridge_disconnected";
16341
+ is_connected_account_error?: boolean | undefined;
16342
+ is_bridge_error?: boolean | undefined;
16343
+ }, {
16344
+ message: string;
16345
+ created_at: string;
16346
+ error_code: "bridge_disconnected";
16347
+ is_connected_account_error?: boolean | undefined;
16348
+ is_bridge_error?: boolean | undefined;
16349
+ }> | z.ZodObject<z.objectUtil.extendShape<{
16350
+ created_at: z.ZodString;
16351
+ message: z.ZodString;
16352
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
16353
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
16048
16354
  }, {
16049
16355
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
16050
16356
  salto_ks_metadata: z.ZodObject<{
@@ -16083,7 +16389,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16083
16389
  message: string;
16084
16390
  created_at: string;
16085
16391
  error_code: "salto_ks_subscription_limit_exceeded";
16086
- is_connected_account_error: true;
16087
16392
  salto_ks_metadata: {
16088
16393
  sites: {
16089
16394
  site_id: string;
@@ -16092,11 +16397,12 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16092
16397
  site_user_subscription_limit: number;
16093
16398
  }[];
16094
16399
  };
16400
+ is_connected_account_error?: boolean | undefined;
16401
+ is_bridge_error?: boolean | undefined;
16095
16402
  }, {
16096
16403
  message: string;
16097
16404
  created_at: string;
16098
16405
  error_code: "salto_ks_subscription_limit_exceeded";
16099
- is_connected_account_error: true;
16100
16406
  salto_ks_metadata: {
16101
16407
  sites: {
16102
16408
  site_id: string;
@@ -16105,6 +16411,8 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16105
16411
  site_user_subscription_limit: number;
16106
16412
  }[];
16107
16413
  };
16414
+ is_connected_account_error?: boolean | undefined;
16415
+ is_bridge_error?: boolean | undefined;
16108
16416
  }>)[]]>, "many">;
16109
16417
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
16110
16418
  message: z.ZodString;
@@ -16487,17 +16795,24 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16487
16795
  message: string;
16488
16796
  created_at: string;
16489
16797
  error_code: "account_disconnected";
16490
- is_connected_account_error: true;
16798
+ is_connected_account_error?: boolean | undefined;
16799
+ is_bridge_error?: boolean | undefined;
16491
16800
  } | {
16492
16801
  message: string;
16493
16802
  created_at: string;
16494
16803
  error_code: "invalid_credentials";
16495
- is_connected_account_error: true;
16804
+ is_connected_account_error?: boolean | undefined;
16805
+ is_bridge_error?: boolean | undefined;
16806
+ } | {
16807
+ message: string;
16808
+ created_at: string;
16809
+ error_code: "bridge_disconnected";
16810
+ is_connected_account_error?: boolean | undefined;
16811
+ is_bridge_error?: boolean | undefined;
16496
16812
  } | {
16497
16813
  message: string;
16498
16814
  created_at: string;
16499
16815
  error_code: "salto_ks_subscription_limit_exceeded";
16500
- is_connected_account_error: true;
16501
16816
  salto_ks_metadata: {
16502
16817
  sites: {
16503
16818
  site_id: string;
@@ -16506,6 +16821,8 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16506
16821
  site_user_subscription_limit: number;
16507
16822
  }[];
16508
16823
  };
16824
+ is_connected_account_error?: boolean | undefined;
16825
+ is_bridge_error?: boolean | undefined;
16509
16826
  } | {
16510
16827
  message: string;
16511
16828
  created_at: string;
@@ -16695,17 +17012,24 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16695
17012
  message: string;
16696
17013
  created_at: string;
16697
17014
  error_code: "account_disconnected";
16698
- is_connected_account_error: true;
17015
+ is_connected_account_error?: boolean | undefined;
17016
+ is_bridge_error?: boolean | undefined;
16699
17017
  } | {
16700
17018
  message: string;
16701
17019
  created_at: string;
16702
17020
  error_code: "invalid_credentials";
16703
- is_connected_account_error: true;
17021
+ is_connected_account_error?: boolean | undefined;
17022
+ is_bridge_error?: boolean | undefined;
17023
+ } | {
17024
+ message: string;
17025
+ created_at: string;
17026
+ error_code: "bridge_disconnected";
17027
+ is_connected_account_error?: boolean | undefined;
17028
+ is_bridge_error?: boolean | undefined;
16704
17029
  } | {
16705
17030
  message: string;
16706
17031
  created_at: string;
16707
17032
  error_code: "salto_ks_subscription_limit_exceeded";
16708
- is_connected_account_error: true;
16709
17033
  salto_ks_metadata: {
16710
17034
  sites: {
16711
17035
  site_id: string;
@@ -16714,6 +17038,8 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16714
17038
  site_user_subscription_limit: number;
16715
17039
  }[];
16716
17040
  };
17041
+ is_connected_account_error?: boolean | undefined;
17042
+ is_bridge_error?: boolean | undefined;
16717
17043
  } | {
16718
17044
  message: string;
16719
17045
  created_at: string;
@@ -19459,6 +19785,7 @@ declare const _default: {
19459
19785
  };
19460
19786
  is_connected_account_error?: never;
19461
19787
  is_device_error?: never;
19788
+ is_bridge_error?: never;
19462
19789
  };
19463
19790
  required: string[];
19464
19791
  type: string;
@@ -19487,6 +19814,7 @@ declare const _default: {
19487
19814
  type: string;
19488
19815
  };
19489
19816
  is_access_code_error?: never;
19817
+ is_bridge_error?: never;
19490
19818
  };
19491
19819
  required: string[];
19492
19820
  type: string;
@@ -19512,6 +19840,7 @@ declare const _default: {
19512
19840
  };
19513
19841
  is_access_code_error?: never;
19514
19842
  is_connected_account_error?: never;
19843
+ is_bridge_error?: never;
19515
19844
  };
19516
19845
  required: string[];
19517
19846
  type: string;
@@ -19528,9 +19857,12 @@ declare const _default: {
19528
19857
  enum: string[];
19529
19858
  type: string;
19530
19859
  };
19860
+ is_bridge_error: {
19861
+ type: string;
19862
+ };
19531
19863
  is_connected_account_error: {
19532
- enum: boolean[];
19533
19864
  type: string;
19865
+ enum?: never;
19534
19866
  };
19535
19867
  message: {
19536
19868
  type: string;
@@ -20247,11 +20579,19 @@ declare const _default: {
20247
20579
  acs_system: {
20248
20580
  description: string;
20249
20581
  properties: {
20582
+ acs_access_group_count: {
20583
+ format: string;
20584
+ type: string;
20585
+ };
20250
20586
  acs_system_id: {
20251
20587
  description: string;
20252
20588
  format: string;
20253
20589
  type: string;
20254
20590
  };
20591
+ acs_users_count: {
20592
+ format: string;
20593
+ type: string;
20594
+ };
20255
20595
  can_add_acs_users_to_acs_access_groups: {
20256
20596
  description: string;
20257
20597
  type: string;
@@ -20301,7 +20641,7 @@ declare const _default: {
20301
20641
  discriminator: {
20302
20642
  propertyName: string;
20303
20643
  };
20304
- oneOf: {
20644
+ oneOf: ({
20305
20645
  description: string;
20306
20646
  properties: {
20307
20647
  created_at: {
@@ -20318,10 +20658,34 @@ declare const _default: {
20318
20658
  description: string;
20319
20659
  type: string;
20320
20660
  };
20661
+ is_bridge_error?: never;
20321
20662
  };
20322
20663
  required: string[];
20323
20664
  type: string;
20324
- }[];
20665
+ } | {
20666
+ description: string;
20667
+ properties: {
20668
+ created_at: {
20669
+ description: string;
20670
+ format: string;
20671
+ type: string;
20672
+ };
20673
+ error_code: {
20674
+ description: string;
20675
+ enum: string[];
20676
+ type: string;
20677
+ };
20678
+ is_bridge_error: {
20679
+ type: string;
20680
+ };
20681
+ message: {
20682
+ description: string;
20683
+ type: string;
20684
+ };
20685
+ };
20686
+ required: string[];
20687
+ type: string;
20688
+ })[];
20325
20689
  };
20326
20690
  type: string;
20327
20691
  };
@@ -22220,8 +22584,10 @@ declare const _default: {
22220
22584
  enum: string[];
22221
22585
  type: string;
22222
22586
  };
22587
+ is_bridge_error: {
22588
+ type: string;
22589
+ };
22223
22590
  is_connected_account_error: {
22224
- enum: boolean[];
22225
22591
  type: string;
22226
22592
  };
22227
22593
  message: {
@@ -22244,8 +22610,10 @@ declare const _default: {
22244
22610
  enum: string[];
22245
22611
  type: string;
22246
22612
  };
22613
+ is_bridge_error: {
22614
+ type: string;
22615
+ };
22247
22616
  is_connected_account_error: {
22248
- enum: boolean[];
22249
22617
  type: string;
22250
22618
  };
22251
22619
  message: {
@@ -22502,6 +22870,7 @@ declare const _default: {
22502
22870
  message: {
22503
22871
  type: string;
22504
22872
  };
22873
+ is_bridge_error?: never;
22505
22874
  };
22506
22875
  required: string[];
22507
22876
  type: string;
@@ -22526,6 +22895,7 @@ declare const _default: {
22526
22895
  type: string;
22527
22896
  };
22528
22897
  is_connected_account_error?: never;
22898
+ is_bridge_error?: never;
22529
22899
  };
22530
22900
  required: string[];
22531
22901
  type: string;
@@ -22542,9 +22912,12 @@ declare const _default: {
22542
22912
  enum: string[];
22543
22913
  type: string;
22544
22914
  };
22915
+ is_bridge_error: {
22916
+ type: string;
22917
+ };
22545
22918
  is_connected_account_error: {
22546
- enum: boolean[];
22547
22919
  type: string;
22920
+ enum?: never;
22548
22921
  };
22549
22922
  message: {
22550
22923
  type: string;
@@ -27278,6 +27651,7 @@ declare const _default: {
27278
27651
  };
27279
27652
  is_connected_account_error?: never;
27280
27653
  is_device_error?: never;
27654
+ is_bridge_error?: never;
27281
27655
  };
27282
27656
  required: string[];
27283
27657
  type: string;
@@ -27306,6 +27680,7 @@ declare const _default: {
27306
27680
  type: string;
27307
27681
  };
27308
27682
  is_access_code_error?: never;
27683
+ is_bridge_error?: never;
27309
27684
  };
27310
27685
  required: string[];
27311
27686
  type: string;
@@ -27331,6 +27706,7 @@ declare const _default: {
27331
27706
  };
27332
27707
  is_access_code_error?: never;
27333
27708
  is_connected_account_error?: never;
27709
+ is_bridge_error?: never;
27334
27710
  };
27335
27711
  required: string[];
27336
27712
  type: string;
@@ -27347,9 +27723,12 @@ declare const _default: {
27347
27723
  enum: string[];
27348
27724
  type: string;
27349
27725
  };
27726
+ is_bridge_error: {
27727
+ type: string;
27728
+ };
27350
27729
  is_connected_account_error: {
27351
- enum: boolean[];
27352
27730
  type: string;
27731
+ enum?: never;
27353
27732
  };
27354
27733
  message: {
27355
27734
  type: string;
@@ -28245,6 +28624,7 @@ declare const _default: {
28245
28624
  message: {
28246
28625
  type: string;
28247
28626
  };
28627
+ is_bridge_error?: never;
28248
28628
  };
28249
28629
  required: string[];
28250
28630
  type: string;
@@ -28269,6 +28649,7 @@ declare const _default: {
28269
28649
  type: string;
28270
28650
  };
28271
28651
  is_connected_account_error?: never;
28652
+ is_bridge_error?: never;
28272
28653
  };
28273
28654
  required: string[];
28274
28655
  type: string;
@@ -28285,9 +28666,12 @@ declare const _default: {
28285
28666
  enum: string[];
28286
28667
  type: string;
28287
28668
  };
28669
+ is_bridge_error: {
28670
+ type: string;
28671
+ };
28288
28672
  is_connected_account_error: {
28289
- enum: boolean[];
28290
28673
  type: string;
28674
+ enum?: never;
28291
28675
  };
28292
28676
  message: {
28293
28677
  type: string;
@@ -48183,9 +48567,18 @@ interface Routes {
48183
48567
  /** Date and time at which Seam created the error. */
48184
48568
  created_at: string;
48185
48569
  message: string;
48186
- is_connected_account_error: true;
48570
+ is_connected_account_error?: boolean | undefined;
48571
+ is_bridge_error?: boolean | undefined;
48187
48572
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48188
48573
  error_code: 'invalid_credentials';
48574
+ } | {
48575
+ /** Date and time at which Seam created the error. */
48576
+ created_at: string;
48577
+ message: string;
48578
+ is_connected_account_error?: boolean | undefined;
48579
+ is_bridge_error?: boolean | undefined;
48580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48581
+ error_code: 'bridge_disconnected';
48189
48582
  }>;
48190
48583
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
48191
48584
  warnings: Array<{
@@ -48547,9 +48940,18 @@ interface Routes {
48547
48940
  /** Date and time at which Seam created the error. */
48548
48941
  created_at: string;
48549
48942
  message: string;
48550
- is_connected_account_error: true;
48943
+ is_connected_account_error?: boolean | undefined;
48944
+ is_bridge_error?: boolean | undefined;
48551
48945
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48552
48946
  error_code: 'invalid_credentials';
48947
+ } | {
48948
+ /** Date and time at which Seam created the error. */
48949
+ created_at: string;
48950
+ message: string;
48951
+ is_connected_account_error?: boolean | undefined;
48952
+ is_bridge_error?: boolean | undefined;
48953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48954
+ error_code: 'bridge_disconnected';
48553
48955
  }>;
48554
48956
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
48555
48957
  warnings: Array<{
@@ -49879,9 +50281,18 @@ interface Routes {
49879
50281
  /** Date and time at which Seam created the error. */
49880
50282
  created_at: string;
49881
50283
  message: string;
49882
- is_connected_account_error: true;
50284
+ is_connected_account_error?: boolean | undefined;
50285
+ is_bridge_error?: boolean | undefined;
49883
50286
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49884
50287
  error_code: 'invalid_credentials';
50288
+ } | {
50289
+ /** Date and time at which Seam created the error. */
50290
+ created_at: string;
50291
+ message: string;
50292
+ is_connected_account_error?: boolean | undefined;
50293
+ is_bridge_error?: boolean | undefined;
50294
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50295
+ error_code: 'bridge_disconnected';
49885
50296
  }>;
49886
50297
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
49887
50298
  warnings: Array<{
@@ -50230,9 +50641,18 @@ interface Routes {
50230
50641
  /** Date and time at which Seam created the error. */
50231
50642
  created_at: string;
50232
50643
  message: string;
50233
- is_connected_account_error: true;
50644
+ is_connected_account_error?: boolean | undefined;
50645
+ is_bridge_error?: boolean | undefined;
50234
50646
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50235
50647
  error_code: 'invalid_credentials';
50648
+ } | {
50649
+ /** Date and time at which Seam created the error. */
50650
+ created_at: string;
50651
+ message: string;
50652
+ is_connected_account_error?: boolean | undefined;
50653
+ is_bridge_error?: boolean | undefined;
50654
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50655
+ error_code: 'bridge_disconnected';
50236
50656
  }>;
50237
50657
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
50238
50658
  warnings: Array<{
@@ -50580,9 +51000,18 @@ interface Routes {
50580
51000
  /** Date and time at which Seam created the error. */
50581
51001
  created_at: string;
50582
51002
  message: string;
50583
- is_connected_account_error: true;
51003
+ is_connected_account_error?: boolean | undefined;
51004
+ is_bridge_error?: boolean | undefined;
50584
51005
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50585
51006
  error_code: 'invalid_credentials';
51007
+ } | {
51008
+ /** Date and time at which Seam created the error. */
51009
+ created_at: string;
51010
+ message: string;
51011
+ is_connected_account_error?: boolean | undefined;
51012
+ is_bridge_error?: boolean | undefined;
51013
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51014
+ error_code: 'bridge_disconnected';
50586
51015
  }>;
50587
51016
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
50588
51017
  warnings: Array<{
@@ -50918,9 +51347,18 @@ interface Routes {
50918
51347
  /** Date and time at which Seam created the error. */
50919
51348
  created_at: string;
50920
51349
  message: string;
50921
- is_connected_account_error: true;
51350
+ is_connected_account_error?: boolean | undefined;
51351
+ is_bridge_error?: boolean | undefined;
50922
51352
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50923
51353
  error_code: 'invalid_credentials';
51354
+ } | {
51355
+ /** Date and time at which Seam created the error. */
51356
+ created_at: string;
51357
+ message: string;
51358
+ is_connected_account_error?: boolean | undefined;
51359
+ is_bridge_error?: boolean | undefined;
51360
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51361
+ error_code: 'bridge_disconnected';
50924
51362
  }>;
50925
51363
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
50926
51364
  warnings: Array<{
@@ -51264,9 +51702,18 @@ interface Routes {
51264
51702
  /** Date and time at which Seam created the error. */
51265
51703
  created_at: string;
51266
51704
  message: string;
51267
- is_connected_account_error: true;
51705
+ is_connected_account_error?: boolean | undefined;
51706
+ is_bridge_error?: boolean | undefined;
51268
51707
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51269
51708
  error_code: 'invalid_credentials';
51709
+ } | {
51710
+ /** Date and time at which Seam created the error. */
51711
+ created_at: string;
51712
+ message: string;
51713
+ is_connected_account_error?: boolean | undefined;
51714
+ is_bridge_error?: boolean | undefined;
51715
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51716
+ error_code: 'bridge_disconnected';
51270
51717
  }>;
51271
51718
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
51272
51719
  warnings: Array<{
@@ -52572,9 +53019,18 @@ interface Routes {
52572
53019
  /** Date and time at which Seam created the error. */
52573
53020
  created_at: string;
52574
53021
  message: string;
52575
- is_connected_account_error: true;
53022
+ is_connected_account_error?: boolean | undefined;
53023
+ is_bridge_error?: boolean | undefined;
52576
53024
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52577
53025
  error_code: 'invalid_credentials';
53026
+ } | {
53027
+ /** Date and time at which Seam created the error. */
53028
+ created_at: string;
53029
+ message: string;
53030
+ is_connected_account_error?: boolean | undefined;
53031
+ is_bridge_error?: boolean | undefined;
53032
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53033
+ error_code: 'bridge_disconnected';
52578
53034
  }>;
52579
53035
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
52580
53036
  warnings: Array<{
@@ -52900,9 +53356,18 @@ interface Routes {
52900
53356
  /** Date and time at which Seam created the error. */
52901
53357
  created_at: string;
52902
53358
  message: string;
52903
- is_connected_account_error: true;
53359
+ is_connected_account_error?: boolean | undefined;
53360
+ is_bridge_error?: boolean | undefined;
52904
53361
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52905
53362
  error_code: 'invalid_credentials';
53363
+ } | {
53364
+ /** Date and time at which Seam created the error. */
53365
+ created_at: string;
53366
+ message: string;
53367
+ is_connected_account_error?: boolean | undefined;
53368
+ is_bridge_error?: boolean | undefined;
53369
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53370
+ error_code: 'bridge_disconnected';
52906
53371
  }>;
52907
53372
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
52908
53373
  warnings: Array<{
@@ -58180,6 +58645,8 @@ interface Routes {
58180
58645
  default_credential_manager_acs_system_id?: (string | null) | undefined;
58181
58646
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
58182
58647
  acs_system_id: string;
58648
+ acs_users_count?: number | undefined;
58649
+ acs_access_group_count?: number | undefined;
58183
58650
  /** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
58184
58651
  external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
58185
58652
  /** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
@@ -58227,6 +58694,14 @@ interface Routes {
58227
58694
  message: string;
58228
58695
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58229
58696
  error_code: 'seam_bridge_disconnected';
58697
+ } | {
58698
+ /** Date and time at which Seam created the error. */
58699
+ created_at: string;
58700
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58701
+ message: string;
58702
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58703
+ error_code: 'bridge_disconnected';
58704
+ is_bridge_error?: boolean | undefined;
58230
58705
  } | {
58231
58706
  /** Date and time at which Seam created the error. */
58232
58707
  created_at: string;
@@ -58309,6 +58784,8 @@ interface Routes {
58309
58784
  default_credential_manager_acs_system_id?: (string | null) | undefined;
58310
58785
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
58311
58786
  acs_system_id: string;
58787
+ acs_users_count?: number | undefined;
58788
+ acs_access_group_count?: number | undefined;
58312
58789
  /** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
58313
58790
  external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
58314
58791
  /** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
@@ -58356,6 +58833,14 @@ interface Routes {
58356
58833
  message: string;
58357
58834
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58358
58835
  error_code: 'seam_bridge_disconnected';
58836
+ } | {
58837
+ /** Date and time at which Seam created the error. */
58838
+ created_at: string;
58839
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58840
+ message: string;
58841
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58842
+ error_code: 'bridge_disconnected';
58843
+ is_bridge_error?: boolean | undefined;
58359
58844
  } | {
58360
58845
  /** Date and time at which Seam created the error. */
58361
58846
  created_at: string;
@@ -58438,6 +58923,8 @@ interface Routes {
58438
58923
  default_credential_manager_acs_system_id?: (string | null) | undefined;
58439
58924
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
58440
58925
  acs_system_id: string;
58926
+ acs_users_count?: number | undefined;
58927
+ acs_access_group_count?: number | undefined;
58441
58928
  /** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
58442
58929
  external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
58443
58930
  /** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
@@ -58485,6 +58972,14 @@ interface Routes {
58485
58972
  message: string;
58486
58973
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58487
58974
  error_code: 'seam_bridge_disconnected';
58975
+ } | {
58976
+ /** Date and time at which Seam created the error. */
58977
+ created_at: string;
58978
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58979
+ message: string;
58980
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58981
+ error_code: 'bridge_disconnected';
58982
+ is_bridge_error?: boolean | undefined;
58488
58983
  } | {
58489
58984
  /** Date and time at which Seam created the error. */
58490
58985
  created_at: string;
@@ -61897,21 +62392,32 @@ interface Routes {
61897
62392
  /** Date and time at which Seam created the error. */
61898
62393
  created_at: string;
61899
62394
  message: string;
61900
- is_connected_account_error: true;
62395
+ is_connected_account_error?: boolean | undefined;
62396
+ is_bridge_error?: boolean | undefined;
61901
62397
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61902
62398
  error_code: 'account_disconnected';
61903
62399
  } | {
61904
62400
  /** Date and time at which Seam created the error. */
61905
62401
  created_at: string;
61906
62402
  message: string;
61907
- is_connected_account_error: true;
62403
+ is_connected_account_error?: boolean | undefined;
62404
+ is_bridge_error?: boolean | undefined;
61908
62405
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61909
62406
  error_code: 'invalid_credentials';
61910
62407
  } | {
61911
62408
  /** Date and time at which Seam created the error. */
61912
62409
  created_at: string;
61913
62410
  message: string;
61914
- is_connected_account_error: true;
62411
+ is_connected_account_error?: boolean | undefined;
62412
+ is_bridge_error?: boolean | undefined;
62413
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62414
+ error_code: 'bridge_disconnected';
62415
+ } | {
62416
+ /** Date and time at which Seam created the error. */
62417
+ created_at: string;
62418
+ message: string;
62419
+ is_connected_account_error?: boolean | undefined;
62420
+ is_bridge_error?: boolean | undefined;
61915
62421
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61916
62422
  error_code: 'salto_ks_subscription_limit_exceeded';
61917
62423
  salto_ks_metadata: {
@@ -61988,21 +62494,32 @@ interface Routes {
61988
62494
  /** Date and time at which Seam created the error. */
61989
62495
  created_at: string;
61990
62496
  message: string;
61991
- is_connected_account_error: true;
62497
+ is_connected_account_error?: boolean | undefined;
62498
+ is_bridge_error?: boolean | undefined;
61992
62499
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61993
62500
  error_code: 'account_disconnected';
61994
62501
  } | {
61995
62502
  /** Date and time at which Seam created the error. */
61996
62503
  created_at: string;
61997
62504
  message: string;
61998
- is_connected_account_error: true;
62505
+ is_connected_account_error?: boolean | undefined;
62506
+ is_bridge_error?: boolean | undefined;
61999
62507
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62000
62508
  error_code: 'invalid_credentials';
62001
62509
  } | {
62002
62510
  /** Date and time at which Seam created the error. */
62003
62511
  created_at: string;
62004
62512
  message: string;
62005
- is_connected_account_error: true;
62513
+ is_connected_account_error?: boolean | undefined;
62514
+ is_bridge_error?: boolean | undefined;
62515
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62516
+ error_code: 'bridge_disconnected';
62517
+ } | {
62518
+ /** Date and time at which Seam created the error. */
62519
+ created_at: string;
62520
+ message: string;
62521
+ is_connected_account_error?: boolean | undefined;
62522
+ is_bridge_error?: boolean | undefined;
62006
62523
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62007
62524
  error_code: 'salto_ks_subscription_limit_exceeded';
62008
62525
  salto_ks_metadata: {
@@ -62084,21 +62601,32 @@ interface Routes {
62084
62601
  /** Date and time at which Seam created the error. */
62085
62602
  created_at: string;
62086
62603
  message: string;
62087
- is_connected_account_error: true;
62604
+ is_connected_account_error?: boolean | undefined;
62605
+ is_bridge_error?: boolean | undefined;
62088
62606
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62089
62607
  error_code: 'account_disconnected';
62090
62608
  } | {
62091
62609
  /** Date and time at which Seam created the error. */
62092
62610
  created_at: string;
62093
62611
  message: string;
62094
- is_connected_account_error: true;
62612
+ is_connected_account_error?: boolean | undefined;
62613
+ is_bridge_error?: boolean | undefined;
62095
62614
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62096
62615
  error_code: 'invalid_credentials';
62097
62616
  } | {
62098
62617
  /** Date and time at which Seam created the error. */
62099
62618
  created_at: string;
62100
62619
  message: string;
62101
- is_connected_account_error: true;
62620
+ is_connected_account_error?: boolean | undefined;
62621
+ is_bridge_error?: boolean | undefined;
62622
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62623
+ error_code: 'bridge_disconnected';
62624
+ } | {
62625
+ /** Date and time at which Seam created the error. */
62626
+ created_at: string;
62627
+ message: string;
62628
+ is_connected_account_error?: boolean | undefined;
62629
+ is_bridge_error?: boolean | undefined;
62102
62630
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62103
62631
  error_code: 'salto_ks_subscription_limit_exceeded';
62104
62632
  salto_ks_metadata: {
@@ -62756,9 +63284,18 @@ interface Routes {
62756
63284
  /** Date and time at which Seam created the error. */
62757
63285
  created_at: string;
62758
63286
  message: string;
62759
- is_connected_account_error: true;
63287
+ is_connected_account_error?: boolean | undefined;
63288
+ is_bridge_error?: boolean | undefined;
62760
63289
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62761
63290
  error_code: 'invalid_credentials';
63291
+ } | {
63292
+ /** Date and time at which Seam created the error. */
63293
+ created_at: string;
63294
+ message: string;
63295
+ is_connected_account_error?: boolean | undefined;
63296
+ is_bridge_error?: boolean | undefined;
63297
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63298
+ error_code: 'bridge_disconnected';
62762
63299
  }>;
62763
63300
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
62764
63301
  warnings: Array<{
@@ -63489,9 +64026,18 @@ interface Routes {
63489
64026
  /** Date and time at which Seam created the error. */
63490
64027
  created_at: string;
63491
64028
  message: string;
63492
- is_connected_account_error: true;
64029
+ is_connected_account_error?: boolean | undefined;
64030
+ is_bridge_error?: boolean | undefined;
63493
64031
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63494
64032
  error_code: 'invalid_credentials';
64033
+ } | {
64034
+ /** Date and time at which Seam created the error. */
64035
+ created_at: string;
64036
+ message: string;
64037
+ is_connected_account_error?: boolean | undefined;
64038
+ is_bridge_error?: boolean | undefined;
64039
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64040
+ error_code: 'bridge_disconnected';
63495
64041
  }>;
63496
64042
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
63497
64043
  warnings: Array<{
@@ -63795,9 +64341,18 @@ interface Routes {
63795
64341
  /** Date and time at which Seam created the error. */
63796
64342
  created_at: string;
63797
64343
  message: string;
63798
- is_connected_account_error: true;
64344
+ is_connected_account_error?: boolean | undefined;
64345
+ is_bridge_error?: boolean | undefined;
63799
64346
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63800
64347
  error_code: 'invalid_credentials';
64348
+ } | {
64349
+ /** Date and time at which Seam created the error. */
64350
+ created_at: string;
64351
+ message: string;
64352
+ is_connected_account_error?: boolean | undefined;
64353
+ is_bridge_error?: boolean | undefined;
64354
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64355
+ error_code: 'bridge_disconnected';
63801
64356
  }>;
63802
64357
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
63803
64358
  warnings: Array<{
@@ -64088,9 +64643,18 @@ interface Routes {
64088
64643
  /** Date and time at which Seam created the error. */
64089
64644
  created_at: string;
64090
64645
  message: string;
64091
- is_connected_account_error: true;
64646
+ is_connected_account_error?: boolean | undefined;
64647
+ is_bridge_error?: boolean | undefined;
64092
64648
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64093
64649
  error_code: 'invalid_credentials';
64650
+ } | {
64651
+ /** Date and time at which Seam created the error. */
64652
+ created_at: string;
64653
+ message: string;
64654
+ is_connected_account_error?: boolean | undefined;
64655
+ is_bridge_error?: boolean | undefined;
64656
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64657
+ error_code: 'bridge_disconnected';
64094
64658
  }>;
64095
64659
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
64096
64660
  warnings: Array<{
@@ -67407,9 +67971,18 @@ interface Routes {
67407
67971
  /** Date and time at which Seam created the error. */
67408
67972
  created_at: string;
67409
67973
  message: string;
67410
- is_connected_account_error: true;
67974
+ is_connected_account_error?: boolean | undefined;
67975
+ is_bridge_error?: boolean | undefined;
67411
67976
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67412
67977
  error_code: 'invalid_credentials';
67978
+ } | {
67979
+ /** Date and time at which Seam created the error. */
67980
+ created_at: string;
67981
+ message: string;
67982
+ is_connected_account_error?: boolean | undefined;
67983
+ is_bridge_error?: boolean | undefined;
67984
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67985
+ error_code: 'bridge_disconnected';
67413
67986
  }>;
67414
67987
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
67415
67988
  warnings: Array<{
@@ -68102,9 +68675,18 @@ interface Routes {
68102
68675
  /** Date and time at which Seam created the error. */
68103
68676
  created_at: string;
68104
68677
  message: string;
68105
- is_connected_account_error: true;
68678
+ is_connected_account_error?: boolean | undefined;
68679
+ is_bridge_error?: boolean | undefined;
68106
68680
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68107
68681
  error_code: 'invalid_credentials';
68682
+ } | {
68683
+ /** Date and time at which Seam created the error. */
68684
+ created_at: string;
68685
+ message: string;
68686
+ is_connected_account_error?: boolean | undefined;
68687
+ is_bridge_error?: boolean | undefined;
68688
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68689
+ error_code: 'bridge_disconnected';
68108
68690
  }>;
68109
68691
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
68110
68692
  warnings: Array<{
@@ -68835,9 +69417,18 @@ interface Routes {
68835
69417
  /** Date and time at which Seam created the error. */
68836
69418
  created_at: string;
68837
69419
  message: string;
68838
- is_connected_account_error: true;
69420
+ is_connected_account_error?: boolean | undefined;
69421
+ is_bridge_error?: boolean | undefined;
68839
69422
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68840
69423
  error_code: 'invalid_credentials';
69424
+ } | {
69425
+ /** Date and time at which Seam created the error. */
69426
+ created_at: string;
69427
+ message: string;
69428
+ is_connected_account_error?: boolean | undefined;
69429
+ is_bridge_error?: boolean | undefined;
69430
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69431
+ error_code: 'bridge_disconnected';
68841
69432
  }>;
68842
69433
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
68843
69434
  warnings: Array<{
@@ -69529,9 +70120,18 @@ interface Routes {
69529
70120
  /** Date and time at which Seam created the error. */
69530
70121
  created_at: string;
69531
70122
  message: string;
69532
- is_connected_account_error: true;
70123
+ is_connected_account_error?: boolean | undefined;
70124
+ is_bridge_error?: boolean | undefined;
69533
70125
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69534
70126
  error_code: 'invalid_credentials';
70127
+ } | {
70128
+ /** Date and time at which Seam created the error. */
70129
+ created_at: string;
70130
+ message: string;
70131
+ is_connected_account_error?: boolean | undefined;
70132
+ is_bridge_error?: boolean | undefined;
70133
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
70134
+ error_code: 'bridge_disconnected';
69535
70135
  }>;
69536
70136
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
69537
70137
  warnings: Array<{
@@ -72223,9 +72823,18 @@ interface Routes {
72223
72823
  /** Date and time at which Seam created the error. */
72224
72824
  created_at: string;
72225
72825
  message: string;
72226
- is_connected_account_error: true;
72826
+ is_connected_account_error?: boolean | undefined;
72827
+ is_bridge_error?: boolean | undefined;
72227
72828
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72228
72829
  error_code: 'invalid_credentials';
72830
+ } | {
72831
+ /** Date and time at which Seam created the error. */
72832
+ created_at: string;
72833
+ message: string;
72834
+ is_connected_account_error?: boolean | undefined;
72835
+ is_bridge_error?: boolean | undefined;
72836
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72837
+ error_code: 'bridge_disconnected';
72229
72838
  }>;
72230
72839
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
72231
72840
  warnings: Array<{
@@ -72917,9 +73526,18 @@ interface Routes {
72917
73526
  /** Date and time at which Seam created the error. */
72918
73527
  created_at: string;
72919
73528
  message: string;
72920
- is_connected_account_error: true;
73529
+ is_connected_account_error?: boolean | undefined;
73530
+ is_bridge_error?: boolean | undefined;
72921
73531
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72922
73532
  error_code: 'invalid_credentials';
73533
+ } | {
73534
+ /** Date and time at which Seam created the error. */
73535
+ created_at: string;
73536
+ message: string;
73537
+ is_connected_account_error?: boolean | undefined;
73538
+ is_bridge_error?: boolean | undefined;
73539
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
73540
+ error_code: 'bridge_disconnected';
72923
73541
  }>;
72924
73542
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
72925
73543
  warnings: Array<{
@@ -78949,9 +79567,18 @@ interface Routes {
78949
79567
  /** Date and time at which Seam created the error. */
78950
79568
  created_at: string;
78951
79569
  message: string;
78952
- is_connected_account_error: true;
79570
+ is_connected_account_error?: boolean | undefined;
79571
+ is_bridge_error?: boolean | undefined;
78953
79572
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78954
79573
  error_code: 'invalid_credentials';
79574
+ } | {
79575
+ /** Date and time at which Seam created the error. */
79576
+ created_at: string;
79577
+ message: string;
79578
+ is_connected_account_error?: boolean | undefined;
79579
+ is_bridge_error?: boolean | undefined;
79580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
79581
+ error_code: 'bridge_disconnected';
78955
79582
  }>;
78956
79583
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
78957
79584
  warnings: Array<{
@@ -81624,9 +82251,18 @@ interface Routes {
81624
82251
  /** Date and time at which Seam created the error. */
81625
82252
  created_at: string;
81626
82253
  message: string;
81627
- is_connected_account_error: true;
82254
+ is_connected_account_error?: boolean | undefined;
82255
+ is_bridge_error?: boolean | undefined;
81628
82256
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81629
82257
  error_code: 'invalid_credentials';
82258
+ } | {
82259
+ /** Date and time at which Seam created the error. */
82260
+ created_at: string;
82261
+ message: string;
82262
+ is_connected_account_error?: boolean | undefined;
82263
+ is_bridge_error?: boolean | undefined;
82264
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82265
+ error_code: 'bridge_disconnected';
81630
82266
  }>;
81631
82267
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
81632
82268
  warnings: Array<{
@@ -82318,9 +82954,18 @@ interface Routes {
82318
82954
  /** Date and time at which Seam created the error. */
82319
82955
  created_at: string;
82320
82956
  message: string;
82321
- is_connected_account_error: true;
82957
+ is_connected_account_error?: boolean | undefined;
82958
+ is_bridge_error?: boolean | undefined;
82322
82959
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82323
82960
  error_code: 'invalid_credentials';
82961
+ } | {
82962
+ /** Date and time at which Seam created the error. */
82963
+ created_at: string;
82964
+ message: string;
82965
+ is_connected_account_error?: boolean | undefined;
82966
+ is_bridge_error?: boolean | undefined;
82967
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82968
+ error_code: 'bridge_disconnected';
82324
82969
  }>;
82325
82970
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
82326
82971
  warnings: Array<{
@@ -86713,9 +87358,18 @@ interface Routes {
86713
87358
  /** Date and time at which Seam created the error. */
86714
87359
  created_at: string;
86715
87360
  message: string;
86716
- is_connected_account_error: true;
87361
+ is_connected_account_error?: boolean | undefined;
87362
+ is_bridge_error?: boolean | undefined;
86717
87363
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86718
87364
  error_code: 'invalid_credentials';
87365
+ } | {
87366
+ /** Date and time at which Seam created the error. */
87367
+ created_at: string;
87368
+ message: string;
87369
+ is_connected_account_error?: boolean | undefined;
87370
+ is_bridge_error?: boolean | undefined;
87371
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
87372
+ error_code: 'bridge_disconnected';
86719
87373
  }>;
86720
87374
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
86721
87375
  warnings: Array<{
@@ -87409,9 +88063,18 @@ interface Routes {
87409
88063
  /** Date and time at which Seam created the error. */
87410
88064
  created_at: string;
87411
88065
  message: string;
87412
- is_connected_account_error: true;
88066
+ is_connected_account_error?: boolean | undefined;
88067
+ is_bridge_error?: boolean | undefined;
87413
88068
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
87414
88069
  error_code: 'invalid_credentials';
88070
+ } | {
88071
+ /** Date and time at which Seam created the error. */
88072
+ created_at: string;
88073
+ message: string;
88074
+ is_connected_account_error?: boolean | undefined;
88075
+ is_bridge_error?: boolean | undefined;
88076
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
88077
+ error_code: 'bridge_disconnected';
87415
88078
  }>;
87416
88079
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
87417
88080
  warnings: Array<{
@@ -87530,6 +88193,8 @@ interface Routes {
87530
88193
  default_credential_manager_acs_system_id?: (string | null) | undefined;
87531
88194
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
87532
88195
  acs_system_id: string;
88196
+ acs_users_count?: number | undefined;
88197
+ acs_access_group_count?: number | undefined;
87533
88198
  /** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
87534
88199
  external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
87535
88200
  /** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
@@ -87577,6 +88242,14 @@ interface Routes {
87577
88242
  message: string;
87578
88243
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
87579
88244
  error_code: 'seam_bridge_disconnected';
88245
+ } | {
88246
+ /** Date and time at which Seam created the error. */
88247
+ created_at: string;
88248
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
88249
+ message: string;
88250
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
88251
+ error_code: 'bridge_disconnected';
88252
+ is_bridge_error?: boolean | undefined;
87580
88253
  } | {
87581
88254
  /** Date and time at which Seam created the error. */
87582
88255
  created_at: string;