@seamapi/types 1.374.0 → 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;
@@ -4388,6 +4544,22 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4388
4544
  }>, z.ZodObject<z.objectUtil.extendShape<{
4389
4545
  created_at: z.ZodString;
4390
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;
4391
4563
  }, {
4392
4564
  error_code: z.ZodLiteral<"visionline_instance_unreachable">;
4393
4565
  }>, "strip", z.ZodTypeAny, {
@@ -4493,6 +4665,11 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4493
4665
  message: string;
4494
4666
  created_at: string;
4495
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;
4496
4673
  } | {
4497
4674
  message: string;
4498
4675
  created_at: string;
@@ -4557,6 +4734,11 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4557
4734
  message: string;
4558
4735
  created_at: string;
4559
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;
4560
4742
  } | {
4561
4743
  message: string;
4562
4744
  created_at: string;
@@ -9514,39 +9696,65 @@ declare const connected_account: z.ZodObject<{
9514
9696
  errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
9515
9697
  created_at: z.ZodString;
9516
9698
  message: z.ZodString;
9517
- is_connected_account_error: z.ZodLiteral<true>;
9699
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
9700
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
9518
9701
  }, {
9519
9702
  error_code: z.ZodLiteral<"account_disconnected">;
9520
9703
  }>, "strip", z.ZodTypeAny, {
9521
9704
  message: string;
9522
9705
  created_at: string;
9523
9706
  error_code: "account_disconnected";
9524
- is_connected_account_error: true;
9707
+ is_connected_account_error?: boolean | undefined;
9708
+ is_bridge_error?: boolean | undefined;
9525
9709
  }, {
9526
9710
  message: string;
9527
9711
  created_at: string;
9528
9712
  error_code: "account_disconnected";
9529
- is_connected_account_error: true;
9713
+ is_connected_account_error?: boolean | undefined;
9714
+ is_bridge_error?: boolean | undefined;
9530
9715
  }>, z.ZodObject<z.objectUtil.extendShape<{
9531
9716
  created_at: z.ZodString;
9532
9717
  message: z.ZodString;
9533
- is_connected_account_error: z.ZodLiteral<true>;
9718
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
9719
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
9534
9720
  }, {
9535
9721
  error_code: z.ZodLiteral<"invalid_credentials">;
9536
9722
  }>, "strip", z.ZodTypeAny, {
9537
9723
  message: string;
9538
9724
  created_at: string;
9539
9725
  error_code: "invalid_credentials";
9540
- is_connected_account_error: true;
9726
+ is_connected_account_error?: boolean | undefined;
9727
+ is_bridge_error?: boolean | undefined;
9541
9728
  }, {
9542
9729
  message: string;
9543
9730
  created_at: string;
9544
9731
  error_code: "invalid_credentials";
9545
- is_connected_account_error: true;
9732
+ is_connected_account_error?: boolean | undefined;
9733
+ is_bridge_error?: boolean | undefined;
9546
9734
  }>, z.ZodObject<z.objectUtil.extendShape<{
9547
9735
  created_at: z.ZodString;
9548
9736
  message: z.ZodString;
9549
- 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>;
9550
9758
  }, {
9551
9759
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
9552
9760
  salto_ks_metadata: z.ZodObject<{
@@ -9585,7 +9793,6 @@ declare const connected_account: z.ZodObject<{
9585
9793
  message: string;
9586
9794
  created_at: string;
9587
9795
  error_code: "salto_ks_subscription_limit_exceeded";
9588
- is_connected_account_error: true;
9589
9796
  salto_ks_metadata: {
9590
9797
  sites: {
9591
9798
  site_id: string;
@@ -9594,11 +9801,12 @@ declare const connected_account: z.ZodObject<{
9594
9801
  site_user_subscription_limit: number;
9595
9802
  }[];
9596
9803
  };
9804
+ is_connected_account_error?: boolean | undefined;
9805
+ is_bridge_error?: boolean | undefined;
9597
9806
  }, {
9598
9807
  message: string;
9599
9808
  created_at: string;
9600
9809
  error_code: "salto_ks_subscription_limit_exceeded";
9601
- is_connected_account_error: true;
9602
9810
  salto_ks_metadata: {
9603
9811
  sites: {
9604
9812
  site_id: string;
@@ -9607,6 +9815,8 @@ declare const connected_account: z.ZodObject<{
9607
9815
  site_user_subscription_limit: number;
9608
9816
  }[];
9609
9817
  };
9818
+ is_connected_account_error?: boolean | undefined;
9819
+ is_bridge_error?: boolean | undefined;
9610
9820
  }>]>, "many">;
9611
9821
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
9612
9822
  created_at: z.ZodString;
@@ -9703,17 +9913,24 @@ declare const connected_account: z.ZodObject<{
9703
9913
  message: string;
9704
9914
  created_at: string;
9705
9915
  error_code: "account_disconnected";
9706
- is_connected_account_error: true;
9916
+ is_connected_account_error?: boolean | undefined;
9917
+ is_bridge_error?: boolean | undefined;
9707
9918
  } | {
9708
9919
  message: string;
9709
9920
  created_at: string;
9710
9921
  error_code: "invalid_credentials";
9711
- 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;
9712
9930
  } | {
9713
9931
  message: string;
9714
9932
  created_at: string;
9715
9933
  error_code: "salto_ks_subscription_limit_exceeded";
9716
- is_connected_account_error: true;
9717
9934
  salto_ks_metadata: {
9718
9935
  sites: {
9719
9936
  site_id: string;
@@ -9722,6 +9939,8 @@ declare const connected_account: z.ZodObject<{
9722
9939
  site_user_subscription_limit: number;
9723
9940
  }[];
9724
9941
  };
9942
+ is_connected_account_error?: boolean | undefined;
9943
+ is_bridge_error?: boolean | undefined;
9725
9944
  })[];
9726
9945
  account_type_display_name: string;
9727
9946
  warnings: ({
@@ -9762,17 +9981,24 @@ declare const connected_account: z.ZodObject<{
9762
9981
  message: string;
9763
9982
  created_at: string;
9764
9983
  error_code: "account_disconnected";
9765
- is_connected_account_error: true;
9984
+ is_connected_account_error?: boolean | undefined;
9985
+ is_bridge_error?: boolean | undefined;
9766
9986
  } | {
9767
9987
  message: string;
9768
9988
  created_at: string;
9769
9989
  error_code: "invalid_credentials";
9770
- 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;
9771
9998
  } | {
9772
9999
  message: string;
9773
10000
  created_at: string;
9774
10001
  error_code: "salto_ks_subscription_limit_exceeded";
9775
- is_connected_account_error: true;
9776
10002
  salto_ks_metadata: {
9777
10003
  sites: {
9778
10004
  site_id: string;
@@ -9781,6 +10007,8 @@ declare const connected_account: z.ZodObject<{
9781
10007
  site_user_subscription_limit: number;
9782
10008
  }[];
9783
10009
  };
10010
+ is_connected_account_error?: boolean | undefined;
10011
+ is_bridge_error?: boolean | undefined;
9784
10012
  })[];
9785
10013
  account_type_display_name: string;
9786
10014
  warnings: ({
@@ -12355,39 +12583,65 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12355
12583
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
12356
12584
  created_at: z.ZodString;
12357
12585
  message: z.ZodString;
12358
- is_connected_account_error: z.ZodLiteral<true>;
12586
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
12587
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
12359
12588
  }, {
12360
12589
  error_code: z.ZodLiteral<"account_disconnected">;
12361
12590
  }>, "strip", z.ZodTypeAny, {
12362
12591
  message: string;
12363
12592
  created_at: string;
12364
12593
  error_code: "account_disconnected";
12365
- is_connected_account_error: true;
12594
+ is_connected_account_error?: boolean | undefined;
12595
+ is_bridge_error?: boolean | undefined;
12366
12596
  }, {
12367
12597
  message: string;
12368
12598
  created_at: string;
12369
12599
  error_code: "account_disconnected";
12370
- is_connected_account_error: true;
12600
+ is_connected_account_error?: boolean | undefined;
12601
+ is_bridge_error?: boolean | undefined;
12371
12602
  }> | z.ZodObject<z.objectUtil.extendShape<{
12372
12603
  created_at: z.ZodString;
12373
12604
  message: z.ZodString;
12374
- is_connected_account_error: z.ZodLiteral<true>;
12605
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
12606
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
12375
12607
  }, {
12376
12608
  error_code: z.ZodLiteral<"invalid_credentials">;
12377
12609
  }>, "strip", z.ZodTypeAny, {
12378
12610
  message: string;
12379
12611
  created_at: string;
12380
12612
  error_code: "invalid_credentials";
12381
- is_connected_account_error: true;
12613
+ is_connected_account_error?: boolean | undefined;
12614
+ is_bridge_error?: boolean | undefined;
12382
12615
  }, {
12383
12616
  message: string;
12384
12617
  created_at: string;
12385
12618
  error_code: "invalid_credentials";
12386
- is_connected_account_error: true;
12619
+ is_connected_account_error?: boolean | undefined;
12620
+ is_bridge_error?: boolean | undefined;
12387
12621
  }> | z.ZodObject<z.objectUtil.extendShape<{
12388
12622
  created_at: z.ZodString;
12389
12623
  message: z.ZodString;
12390
- 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>;
12391
12645
  }, {
12392
12646
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
12393
12647
  salto_ks_metadata: z.ZodObject<{
@@ -12426,7 +12680,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12426
12680
  message: string;
12427
12681
  created_at: string;
12428
12682
  error_code: "salto_ks_subscription_limit_exceeded";
12429
- is_connected_account_error: true;
12430
12683
  salto_ks_metadata: {
12431
12684
  sites: {
12432
12685
  site_id: string;
@@ -12435,11 +12688,12 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12435
12688
  site_user_subscription_limit: number;
12436
12689
  }[];
12437
12690
  };
12691
+ is_connected_account_error?: boolean | undefined;
12692
+ is_bridge_error?: boolean | undefined;
12438
12693
  }, {
12439
12694
  message: string;
12440
12695
  created_at: string;
12441
12696
  error_code: "salto_ks_subscription_limit_exceeded";
12442
- is_connected_account_error: true;
12443
12697
  salto_ks_metadata: {
12444
12698
  sites: {
12445
12699
  site_id: string;
@@ -12448,6 +12702,8 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12448
12702
  site_user_subscription_limit: number;
12449
12703
  }[];
12450
12704
  };
12705
+ is_connected_account_error?: boolean | undefined;
12706
+ is_bridge_error?: boolean | undefined;
12451
12707
  }>)[]]>, "many">;
12452
12708
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
12453
12709
  message: z.ZodString;
@@ -12682,17 +12938,24 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12682
12938
  message: string;
12683
12939
  created_at: string;
12684
12940
  error_code: "account_disconnected";
12685
- is_connected_account_error: true;
12941
+ is_connected_account_error?: boolean | undefined;
12942
+ is_bridge_error?: boolean | undefined;
12686
12943
  } | {
12687
12944
  message: string;
12688
12945
  created_at: string;
12689
12946
  error_code: "invalid_credentials";
12690
- 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;
12691
12955
  } | {
12692
12956
  message: string;
12693
12957
  created_at: string;
12694
12958
  error_code: "salto_ks_subscription_limit_exceeded";
12695
- is_connected_account_error: true;
12696
12959
  salto_ks_metadata: {
12697
12960
  sites: {
12698
12961
  site_id: string;
@@ -12701,6 +12964,8 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12701
12964
  site_user_subscription_limit: number;
12702
12965
  }[];
12703
12966
  };
12967
+ is_connected_account_error?: boolean | undefined;
12968
+ is_bridge_error?: boolean | undefined;
12704
12969
  } | {
12705
12970
  message: string;
12706
12971
  created_at: string;
@@ -13249,17 +13514,24 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13249
13514
  message: string;
13250
13515
  created_at: string;
13251
13516
  error_code: "account_disconnected";
13252
- is_connected_account_error: true;
13517
+ is_connected_account_error?: boolean | undefined;
13518
+ is_bridge_error?: boolean | undefined;
13253
13519
  } | {
13254
13520
  message: string;
13255
13521
  created_at: string;
13256
13522
  error_code: "invalid_credentials";
13257
- 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;
13258
13531
  } | {
13259
13532
  message: string;
13260
13533
  created_at: string;
13261
13534
  error_code: "salto_ks_subscription_limit_exceeded";
13262
- is_connected_account_error: true;
13263
13535
  salto_ks_metadata: {
13264
13536
  sites: {
13265
13537
  site_id: string;
@@ -13268,6 +13540,8 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13268
13540
  site_user_subscription_limit: number;
13269
13541
  }[];
13270
13542
  };
13543
+ is_connected_account_error?: boolean | undefined;
13544
+ is_bridge_error?: boolean | undefined;
13271
13545
  } | {
13272
13546
  message: string;
13273
13547
  created_at: string;
@@ -16018,39 +16292,65 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16018
16292
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
16019
16293
  created_at: z.ZodString;
16020
16294
  message: z.ZodString;
16021
- is_connected_account_error: z.ZodLiteral<true>;
16295
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
16296
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
16022
16297
  }, {
16023
16298
  error_code: z.ZodLiteral<"account_disconnected">;
16024
16299
  }>, "strip", z.ZodTypeAny, {
16025
16300
  message: string;
16026
16301
  created_at: string;
16027
16302
  error_code: "account_disconnected";
16028
- is_connected_account_error: true;
16303
+ is_connected_account_error?: boolean | undefined;
16304
+ is_bridge_error?: boolean | undefined;
16029
16305
  }, {
16030
16306
  message: string;
16031
16307
  created_at: string;
16032
16308
  error_code: "account_disconnected";
16033
- is_connected_account_error: true;
16309
+ is_connected_account_error?: boolean | undefined;
16310
+ is_bridge_error?: boolean | undefined;
16034
16311
  }> | z.ZodObject<z.objectUtil.extendShape<{
16035
16312
  created_at: z.ZodString;
16036
16313
  message: z.ZodString;
16037
- is_connected_account_error: z.ZodLiteral<true>;
16314
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
16315
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
16038
16316
  }, {
16039
16317
  error_code: z.ZodLiteral<"invalid_credentials">;
16040
16318
  }>, "strip", z.ZodTypeAny, {
16041
16319
  message: string;
16042
16320
  created_at: string;
16043
16321
  error_code: "invalid_credentials";
16044
- is_connected_account_error: true;
16322
+ is_connected_account_error?: boolean | undefined;
16323
+ is_bridge_error?: boolean | undefined;
16045
16324
  }, {
16046
16325
  message: string;
16047
16326
  created_at: string;
16048
16327
  error_code: "invalid_credentials";
16049
- is_connected_account_error: true;
16328
+ is_connected_account_error?: boolean | undefined;
16329
+ is_bridge_error?: boolean | undefined;
16050
16330
  }> | z.ZodObject<z.objectUtil.extendShape<{
16051
16331
  created_at: z.ZodString;
16052
16332
  message: z.ZodString;
16053
- 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>;
16054
16354
  }, {
16055
16355
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
16056
16356
  salto_ks_metadata: z.ZodObject<{
@@ -16089,7 +16389,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16089
16389
  message: string;
16090
16390
  created_at: string;
16091
16391
  error_code: "salto_ks_subscription_limit_exceeded";
16092
- is_connected_account_error: true;
16093
16392
  salto_ks_metadata: {
16094
16393
  sites: {
16095
16394
  site_id: string;
@@ -16098,11 +16397,12 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16098
16397
  site_user_subscription_limit: number;
16099
16398
  }[];
16100
16399
  };
16400
+ is_connected_account_error?: boolean | undefined;
16401
+ is_bridge_error?: boolean | undefined;
16101
16402
  }, {
16102
16403
  message: string;
16103
16404
  created_at: string;
16104
16405
  error_code: "salto_ks_subscription_limit_exceeded";
16105
- is_connected_account_error: true;
16106
16406
  salto_ks_metadata: {
16107
16407
  sites: {
16108
16408
  site_id: string;
@@ -16111,6 +16411,8 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16111
16411
  site_user_subscription_limit: number;
16112
16412
  }[];
16113
16413
  };
16414
+ is_connected_account_error?: boolean | undefined;
16415
+ is_bridge_error?: boolean | undefined;
16114
16416
  }>)[]]>, "many">;
16115
16417
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
16116
16418
  message: z.ZodString;
@@ -16493,17 +16795,24 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16493
16795
  message: string;
16494
16796
  created_at: string;
16495
16797
  error_code: "account_disconnected";
16496
- is_connected_account_error: true;
16798
+ is_connected_account_error?: boolean | undefined;
16799
+ is_bridge_error?: boolean | undefined;
16497
16800
  } | {
16498
16801
  message: string;
16499
16802
  created_at: string;
16500
16803
  error_code: "invalid_credentials";
16501
- 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;
16502
16812
  } | {
16503
16813
  message: string;
16504
16814
  created_at: string;
16505
16815
  error_code: "salto_ks_subscription_limit_exceeded";
16506
- is_connected_account_error: true;
16507
16816
  salto_ks_metadata: {
16508
16817
  sites: {
16509
16818
  site_id: string;
@@ -16512,6 +16821,8 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16512
16821
  site_user_subscription_limit: number;
16513
16822
  }[];
16514
16823
  };
16824
+ is_connected_account_error?: boolean | undefined;
16825
+ is_bridge_error?: boolean | undefined;
16515
16826
  } | {
16516
16827
  message: string;
16517
16828
  created_at: string;
@@ -16701,17 +17012,24 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16701
17012
  message: string;
16702
17013
  created_at: string;
16703
17014
  error_code: "account_disconnected";
16704
- is_connected_account_error: true;
17015
+ is_connected_account_error?: boolean | undefined;
17016
+ is_bridge_error?: boolean | undefined;
16705
17017
  } | {
16706
17018
  message: string;
16707
17019
  created_at: string;
16708
17020
  error_code: "invalid_credentials";
16709
- 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;
16710
17029
  } | {
16711
17030
  message: string;
16712
17031
  created_at: string;
16713
17032
  error_code: "salto_ks_subscription_limit_exceeded";
16714
- is_connected_account_error: true;
16715
17033
  salto_ks_metadata: {
16716
17034
  sites: {
16717
17035
  site_id: string;
@@ -16720,6 +17038,8 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16720
17038
  site_user_subscription_limit: number;
16721
17039
  }[];
16722
17040
  };
17041
+ is_connected_account_error?: boolean | undefined;
17042
+ is_bridge_error?: boolean | undefined;
16723
17043
  } | {
16724
17044
  message: string;
16725
17045
  created_at: string;
@@ -19465,6 +19785,7 @@ declare const _default: {
19465
19785
  };
19466
19786
  is_connected_account_error?: never;
19467
19787
  is_device_error?: never;
19788
+ is_bridge_error?: never;
19468
19789
  };
19469
19790
  required: string[];
19470
19791
  type: string;
@@ -19493,6 +19814,7 @@ declare const _default: {
19493
19814
  type: string;
19494
19815
  };
19495
19816
  is_access_code_error?: never;
19817
+ is_bridge_error?: never;
19496
19818
  };
19497
19819
  required: string[];
19498
19820
  type: string;
@@ -19518,6 +19840,7 @@ declare const _default: {
19518
19840
  };
19519
19841
  is_access_code_error?: never;
19520
19842
  is_connected_account_error?: never;
19843
+ is_bridge_error?: never;
19521
19844
  };
19522
19845
  required: string[];
19523
19846
  type: string;
@@ -19534,9 +19857,12 @@ declare const _default: {
19534
19857
  enum: string[];
19535
19858
  type: string;
19536
19859
  };
19860
+ is_bridge_error: {
19861
+ type: string;
19862
+ };
19537
19863
  is_connected_account_error: {
19538
- enum: boolean[];
19539
19864
  type: string;
19865
+ enum?: never;
19540
19866
  };
19541
19867
  message: {
19542
19868
  type: string;
@@ -20315,7 +20641,7 @@ declare const _default: {
20315
20641
  discriminator: {
20316
20642
  propertyName: string;
20317
20643
  };
20318
- oneOf: {
20644
+ oneOf: ({
20319
20645
  description: string;
20320
20646
  properties: {
20321
20647
  created_at: {
@@ -20332,10 +20658,34 @@ declare const _default: {
20332
20658
  description: string;
20333
20659
  type: string;
20334
20660
  };
20661
+ is_bridge_error?: never;
20335
20662
  };
20336
20663
  required: string[];
20337
20664
  type: string;
20338
- }[];
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
+ })[];
20339
20689
  };
20340
20690
  type: string;
20341
20691
  };
@@ -22234,8 +22584,10 @@ declare const _default: {
22234
22584
  enum: string[];
22235
22585
  type: string;
22236
22586
  };
22587
+ is_bridge_error: {
22588
+ type: string;
22589
+ };
22237
22590
  is_connected_account_error: {
22238
- enum: boolean[];
22239
22591
  type: string;
22240
22592
  };
22241
22593
  message: {
@@ -22258,8 +22610,10 @@ declare const _default: {
22258
22610
  enum: string[];
22259
22611
  type: string;
22260
22612
  };
22613
+ is_bridge_error: {
22614
+ type: string;
22615
+ };
22261
22616
  is_connected_account_error: {
22262
- enum: boolean[];
22263
22617
  type: string;
22264
22618
  };
22265
22619
  message: {
@@ -22516,6 +22870,7 @@ declare const _default: {
22516
22870
  message: {
22517
22871
  type: string;
22518
22872
  };
22873
+ is_bridge_error?: never;
22519
22874
  };
22520
22875
  required: string[];
22521
22876
  type: string;
@@ -22540,6 +22895,7 @@ declare const _default: {
22540
22895
  type: string;
22541
22896
  };
22542
22897
  is_connected_account_error?: never;
22898
+ is_bridge_error?: never;
22543
22899
  };
22544
22900
  required: string[];
22545
22901
  type: string;
@@ -22556,9 +22912,12 @@ declare const _default: {
22556
22912
  enum: string[];
22557
22913
  type: string;
22558
22914
  };
22915
+ is_bridge_error: {
22916
+ type: string;
22917
+ };
22559
22918
  is_connected_account_error: {
22560
- enum: boolean[];
22561
22919
  type: string;
22920
+ enum?: never;
22562
22921
  };
22563
22922
  message: {
22564
22923
  type: string;
@@ -27292,6 +27651,7 @@ declare const _default: {
27292
27651
  };
27293
27652
  is_connected_account_error?: never;
27294
27653
  is_device_error?: never;
27654
+ is_bridge_error?: never;
27295
27655
  };
27296
27656
  required: string[];
27297
27657
  type: string;
@@ -27320,6 +27680,7 @@ declare const _default: {
27320
27680
  type: string;
27321
27681
  };
27322
27682
  is_access_code_error?: never;
27683
+ is_bridge_error?: never;
27323
27684
  };
27324
27685
  required: string[];
27325
27686
  type: string;
@@ -27345,6 +27706,7 @@ declare const _default: {
27345
27706
  };
27346
27707
  is_access_code_error?: never;
27347
27708
  is_connected_account_error?: never;
27709
+ is_bridge_error?: never;
27348
27710
  };
27349
27711
  required: string[];
27350
27712
  type: string;
@@ -27361,9 +27723,12 @@ declare const _default: {
27361
27723
  enum: string[];
27362
27724
  type: string;
27363
27725
  };
27726
+ is_bridge_error: {
27727
+ type: string;
27728
+ };
27364
27729
  is_connected_account_error: {
27365
- enum: boolean[];
27366
27730
  type: string;
27731
+ enum?: never;
27367
27732
  };
27368
27733
  message: {
27369
27734
  type: string;
@@ -28259,6 +28624,7 @@ declare const _default: {
28259
28624
  message: {
28260
28625
  type: string;
28261
28626
  };
28627
+ is_bridge_error?: never;
28262
28628
  };
28263
28629
  required: string[];
28264
28630
  type: string;
@@ -28283,6 +28649,7 @@ declare const _default: {
28283
28649
  type: string;
28284
28650
  };
28285
28651
  is_connected_account_error?: never;
28652
+ is_bridge_error?: never;
28286
28653
  };
28287
28654
  required: string[];
28288
28655
  type: string;
@@ -28299,9 +28666,12 @@ declare const _default: {
28299
28666
  enum: string[];
28300
28667
  type: string;
28301
28668
  };
28669
+ is_bridge_error: {
28670
+ type: string;
28671
+ };
28302
28672
  is_connected_account_error: {
28303
- enum: boolean[];
28304
28673
  type: string;
28674
+ enum?: never;
28305
28675
  };
28306
28676
  message: {
28307
28677
  type: string;
@@ -48197,9 +48567,18 @@ interface Routes {
48197
48567
  /** Date and time at which Seam created the error. */
48198
48568
  created_at: string;
48199
48569
  message: string;
48200
- is_connected_account_error: true;
48570
+ is_connected_account_error?: boolean | undefined;
48571
+ is_bridge_error?: boolean | undefined;
48201
48572
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48202
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';
48203
48582
  }>;
48204
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. */
48205
48584
  warnings: Array<{
@@ -48561,9 +48940,18 @@ interface Routes {
48561
48940
  /** Date and time at which Seam created the error. */
48562
48941
  created_at: string;
48563
48942
  message: string;
48564
- is_connected_account_error: true;
48943
+ is_connected_account_error?: boolean | undefined;
48944
+ is_bridge_error?: boolean | undefined;
48565
48945
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48566
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';
48567
48955
  }>;
48568
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. */
48569
48957
  warnings: Array<{
@@ -49893,9 +50281,18 @@ interface Routes {
49893
50281
  /** Date and time at which Seam created the error. */
49894
50282
  created_at: string;
49895
50283
  message: string;
49896
- is_connected_account_error: true;
50284
+ is_connected_account_error?: boolean | undefined;
50285
+ is_bridge_error?: boolean | undefined;
49897
50286
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49898
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';
49899
50296
  }>;
49900
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. */
49901
50298
  warnings: Array<{
@@ -50244,9 +50641,18 @@ interface Routes {
50244
50641
  /** Date and time at which Seam created the error. */
50245
50642
  created_at: string;
50246
50643
  message: string;
50247
- is_connected_account_error: true;
50644
+ is_connected_account_error?: boolean | undefined;
50645
+ is_bridge_error?: boolean | undefined;
50248
50646
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50249
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';
50250
50656
  }>;
50251
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. */
50252
50658
  warnings: Array<{
@@ -50594,9 +51000,18 @@ interface Routes {
50594
51000
  /** Date and time at which Seam created the error. */
50595
51001
  created_at: string;
50596
51002
  message: string;
50597
- is_connected_account_error: true;
51003
+ is_connected_account_error?: boolean | undefined;
51004
+ is_bridge_error?: boolean | undefined;
50598
51005
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50599
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';
50600
51015
  }>;
50601
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. */
50602
51017
  warnings: Array<{
@@ -50932,9 +51347,18 @@ interface Routes {
50932
51347
  /** Date and time at which Seam created the error. */
50933
51348
  created_at: string;
50934
51349
  message: string;
50935
- is_connected_account_error: true;
51350
+ is_connected_account_error?: boolean | undefined;
51351
+ is_bridge_error?: boolean | undefined;
50936
51352
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50937
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';
50938
51362
  }>;
50939
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. */
50940
51364
  warnings: Array<{
@@ -51278,9 +51702,18 @@ interface Routes {
51278
51702
  /** Date and time at which Seam created the error. */
51279
51703
  created_at: string;
51280
51704
  message: string;
51281
- is_connected_account_error: true;
51705
+ is_connected_account_error?: boolean | undefined;
51706
+ is_bridge_error?: boolean | undefined;
51282
51707
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51283
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';
51284
51717
  }>;
51285
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. */
51286
51719
  warnings: Array<{
@@ -52586,9 +53019,18 @@ interface Routes {
52586
53019
  /** Date and time at which Seam created the error. */
52587
53020
  created_at: string;
52588
53021
  message: string;
52589
- is_connected_account_error: true;
53022
+ is_connected_account_error?: boolean | undefined;
53023
+ is_bridge_error?: boolean | undefined;
52590
53024
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52591
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';
52592
53034
  }>;
52593
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. */
52594
53036
  warnings: Array<{
@@ -52914,9 +53356,18 @@ interface Routes {
52914
53356
  /** Date and time at which Seam created the error. */
52915
53357
  created_at: string;
52916
53358
  message: string;
52917
- is_connected_account_error: true;
53359
+ is_connected_account_error?: boolean | undefined;
53360
+ is_bridge_error?: boolean | undefined;
52918
53361
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52919
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';
52920
53371
  }>;
52921
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. */
52922
53373
  warnings: Array<{
@@ -58243,6 +58694,14 @@ interface Routes {
58243
58694
  message: string;
58244
58695
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58245
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;
58246
58705
  } | {
58247
58706
  /** Date and time at which Seam created the error. */
58248
58707
  created_at: string;
@@ -58374,6 +58833,14 @@ interface Routes {
58374
58833
  message: string;
58375
58834
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58376
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;
58377
58844
  } | {
58378
58845
  /** Date and time at which Seam created the error. */
58379
58846
  created_at: string;
@@ -58505,6 +58972,14 @@ interface Routes {
58505
58972
  message: string;
58506
58973
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58507
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;
58508
58983
  } | {
58509
58984
  /** Date and time at which Seam created the error. */
58510
58985
  created_at: string;
@@ -61917,21 +62392,32 @@ interface Routes {
61917
62392
  /** Date and time at which Seam created the error. */
61918
62393
  created_at: string;
61919
62394
  message: string;
61920
- is_connected_account_error: true;
62395
+ is_connected_account_error?: boolean | undefined;
62396
+ is_bridge_error?: boolean | undefined;
61921
62397
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61922
62398
  error_code: 'account_disconnected';
61923
62399
  } | {
61924
62400
  /** Date and time at which Seam created the error. */
61925
62401
  created_at: string;
61926
62402
  message: string;
61927
- is_connected_account_error: true;
62403
+ is_connected_account_error?: boolean | undefined;
62404
+ is_bridge_error?: boolean | undefined;
61928
62405
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61929
62406
  error_code: 'invalid_credentials';
61930
62407
  } | {
61931
62408
  /** Date and time at which Seam created the error. */
61932
62409
  created_at: string;
61933
62410
  message: string;
61934
- 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;
61935
62421
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61936
62422
  error_code: 'salto_ks_subscription_limit_exceeded';
61937
62423
  salto_ks_metadata: {
@@ -62008,21 +62494,32 @@ interface Routes {
62008
62494
  /** Date and time at which Seam created the error. */
62009
62495
  created_at: string;
62010
62496
  message: string;
62011
- is_connected_account_error: true;
62497
+ is_connected_account_error?: boolean | undefined;
62498
+ is_bridge_error?: boolean | undefined;
62012
62499
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62013
62500
  error_code: 'account_disconnected';
62014
62501
  } | {
62015
62502
  /** Date and time at which Seam created the error. */
62016
62503
  created_at: string;
62017
62504
  message: string;
62018
- is_connected_account_error: true;
62505
+ is_connected_account_error?: boolean | undefined;
62506
+ is_bridge_error?: boolean | undefined;
62019
62507
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62020
62508
  error_code: 'invalid_credentials';
62021
62509
  } | {
62022
62510
  /** Date and time at which Seam created the error. */
62023
62511
  created_at: string;
62024
62512
  message: string;
62025
- 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;
62026
62523
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62027
62524
  error_code: 'salto_ks_subscription_limit_exceeded';
62028
62525
  salto_ks_metadata: {
@@ -62104,21 +62601,32 @@ interface Routes {
62104
62601
  /** Date and time at which Seam created the error. */
62105
62602
  created_at: string;
62106
62603
  message: string;
62107
- is_connected_account_error: true;
62604
+ is_connected_account_error?: boolean | undefined;
62605
+ is_bridge_error?: boolean | undefined;
62108
62606
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62109
62607
  error_code: 'account_disconnected';
62110
62608
  } | {
62111
62609
  /** Date and time at which Seam created the error. */
62112
62610
  created_at: string;
62113
62611
  message: string;
62114
- is_connected_account_error: true;
62612
+ is_connected_account_error?: boolean | undefined;
62613
+ is_bridge_error?: boolean | undefined;
62115
62614
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62116
62615
  error_code: 'invalid_credentials';
62117
62616
  } | {
62118
62617
  /** Date and time at which Seam created the error. */
62119
62618
  created_at: string;
62120
62619
  message: string;
62121
- 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;
62122
62630
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62123
62631
  error_code: 'salto_ks_subscription_limit_exceeded';
62124
62632
  salto_ks_metadata: {
@@ -62776,9 +63284,18 @@ interface Routes {
62776
63284
  /** Date and time at which Seam created the error. */
62777
63285
  created_at: string;
62778
63286
  message: string;
62779
- is_connected_account_error: true;
63287
+ is_connected_account_error?: boolean | undefined;
63288
+ is_bridge_error?: boolean | undefined;
62780
63289
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62781
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';
62782
63299
  }>;
62783
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. */
62784
63301
  warnings: Array<{
@@ -63509,9 +64026,18 @@ interface Routes {
63509
64026
  /** Date and time at which Seam created the error. */
63510
64027
  created_at: string;
63511
64028
  message: string;
63512
- is_connected_account_error: true;
64029
+ is_connected_account_error?: boolean | undefined;
64030
+ is_bridge_error?: boolean | undefined;
63513
64031
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63514
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';
63515
64041
  }>;
63516
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. */
63517
64043
  warnings: Array<{
@@ -63815,9 +64341,18 @@ interface Routes {
63815
64341
  /** Date and time at which Seam created the error. */
63816
64342
  created_at: string;
63817
64343
  message: string;
63818
- is_connected_account_error: true;
64344
+ is_connected_account_error?: boolean | undefined;
64345
+ is_bridge_error?: boolean | undefined;
63819
64346
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63820
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';
63821
64356
  }>;
63822
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. */
63823
64358
  warnings: Array<{
@@ -64108,9 +64643,18 @@ interface Routes {
64108
64643
  /** Date and time at which Seam created the error. */
64109
64644
  created_at: string;
64110
64645
  message: string;
64111
- is_connected_account_error: true;
64646
+ is_connected_account_error?: boolean | undefined;
64647
+ is_bridge_error?: boolean | undefined;
64112
64648
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64113
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';
64114
64658
  }>;
64115
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. */
64116
64660
  warnings: Array<{
@@ -67427,9 +67971,18 @@ interface Routes {
67427
67971
  /** Date and time at which Seam created the error. */
67428
67972
  created_at: string;
67429
67973
  message: string;
67430
- is_connected_account_error: true;
67974
+ is_connected_account_error?: boolean | undefined;
67975
+ is_bridge_error?: boolean | undefined;
67431
67976
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67432
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';
67433
67986
  }>;
67434
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. */
67435
67988
  warnings: Array<{
@@ -68122,9 +68675,18 @@ interface Routes {
68122
68675
  /** Date and time at which Seam created the error. */
68123
68676
  created_at: string;
68124
68677
  message: string;
68125
- is_connected_account_error: true;
68678
+ is_connected_account_error?: boolean | undefined;
68679
+ is_bridge_error?: boolean | undefined;
68126
68680
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68127
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';
68128
68690
  }>;
68129
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. */
68130
68692
  warnings: Array<{
@@ -68855,9 +69417,18 @@ interface Routes {
68855
69417
  /** Date and time at which Seam created the error. */
68856
69418
  created_at: string;
68857
69419
  message: string;
68858
- is_connected_account_error: true;
69420
+ is_connected_account_error?: boolean | undefined;
69421
+ is_bridge_error?: boolean | undefined;
68859
69422
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68860
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';
68861
69432
  }>;
68862
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. */
68863
69434
  warnings: Array<{
@@ -69549,9 +70120,18 @@ interface Routes {
69549
70120
  /** Date and time at which Seam created the error. */
69550
70121
  created_at: string;
69551
70122
  message: string;
69552
- is_connected_account_error: true;
70123
+ is_connected_account_error?: boolean | undefined;
70124
+ is_bridge_error?: boolean | undefined;
69553
70125
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69554
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';
69555
70135
  }>;
69556
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. */
69557
70137
  warnings: Array<{
@@ -72243,9 +72823,18 @@ interface Routes {
72243
72823
  /** Date and time at which Seam created the error. */
72244
72824
  created_at: string;
72245
72825
  message: string;
72246
- is_connected_account_error: true;
72826
+ is_connected_account_error?: boolean | undefined;
72827
+ is_bridge_error?: boolean | undefined;
72247
72828
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72248
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';
72249
72838
  }>;
72250
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. */
72251
72840
  warnings: Array<{
@@ -72937,9 +73526,18 @@ interface Routes {
72937
73526
  /** Date and time at which Seam created the error. */
72938
73527
  created_at: string;
72939
73528
  message: string;
72940
- is_connected_account_error: true;
73529
+ is_connected_account_error?: boolean | undefined;
73530
+ is_bridge_error?: boolean | undefined;
72941
73531
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72942
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';
72943
73541
  }>;
72944
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. */
72945
73543
  warnings: Array<{
@@ -78969,9 +79567,18 @@ interface Routes {
78969
79567
  /** Date and time at which Seam created the error. */
78970
79568
  created_at: string;
78971
79569
  message: string;
78972
- is_connected_account_error: true;
79570
+ is_connected_account_error?: boolean | undefined;
79571
+ is_bridge_error?: boolean | undefined;
78973
79572
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78974
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';
78975
79582
  }>;
78976
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. */
78977
79584
  warnings: Array<{
@@ -81644,9 +82251,18 @@ interface Routes {
81644
82251
  /** Date and time at which Seam created the error. */
81645
82252
  created_at: string;
81646
82253
  message: string;
81647
- is_connected_account_error: true;
82254
+ is_connected_account_error?: boolean | undefined;
82255
+ is_bridge_error?: boolean | undefined;
81648
82256
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81649
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';
81650
82266
  }>;
81651
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. */
81652
82268
  warnings: Array<{
@@ -82338,9 +82954,18 @@ interface Routes {
82338
82954
  /** Date and time at which Seam created the error. */
82339
82955
  created_at: string;
82340
82956
  message: string;
82341
- is_connected_account_error: true;
82957
+ is_connected_account_error?: boolean | undefined;
82958
+ is_bridge_error?: boolean | undefined;
82342
82959
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82343
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';
82344
82969
  }>;
82345
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. */
82346
82971
  warnings: Array<{
@@ -86733,9 +87358,18 @@ interface Routes {
86733
87358
  /** Date and time at which Seam created the error. */
86734
87359
  created_at: string;
86735
87360
  message: string;
86736
- is_connected_account_error: true;
87361
+ is_connected_account_error?: boolean | undefined;
87362
+ is_bridge_error?: boolean | undefined;
86737
87363
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86738
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';
86739
87373
  }>;
86740
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. */
86741
87375
  warnings: Array<{
@@ -87429,9 +88063,18 @@ interface Routes {
87429
88063
  /** Date and time at which Seam created the error. */
87430
88064
  created_at: string;
87431
88065
  message: string;
87432
- is_connected_account_error: true;
88066
+ is_connected_account_error?: boolean | undefined;
88067
+ is_bridge_error?: boolean | undefined;
87433
88068
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
87434
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';
87435
88078
  }>;
87436
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. */
87437
88080
  warnings: Array<{
@@ -87599,6 +88242,14 @@ interface Routes {
87599
88242
  message: string;
87600
88243
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
87601
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;
87602
88253
  } | {
87603
88254
  /** Date and time at which Seam created the error. */
87604
88255
  created_at: string;