@seamapi/types 1.374.0 → 1.375.1
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.
- package/dist/connect.cjs +156 -65
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +775 -124
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +93 -15
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +93 -15
- package/lib/seam/connect/models/acs/acs-system.d.ts +58 -3
- package/lib/seam/connect/models/acs/acs-system.js +10 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +200 -48
- package/lib/seam/connect/models/connected-accounts/connected-account.js +9 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +118 -24
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +61 -15
- package/lib/seam/connect/openapi.d.ts +59 -9
- package/lib/seam/connect/openapi.js +139 -62
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +318 -37
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +11 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +10 -1
- package/src/lib/seam/connect/openapi.ts +158 -62
- package/src/lib/seam/connect/route-types.ts +349 -37
|
@@ -1430,39 +1430,65 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
1430
1430
|
export declare const device_and_connected_account_error_options: (z.ZodObject<z.objectUtil.extendShape<{
|
|
1431
1431
|
created_at: z.ZodString;
|
|
1432
1432
|
message: z.ZodString;
|
|
1433
|
-
is_connected_account_error: z.
|
|
1433
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
1434
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1434
1435
|
}, {
|
|
1435
1436
|
error_code: z.ZodLiteral<"account_disconnected">;
|
|
1436
1437
|
}>, "strip", z.ZodTypeAny, {
|
|
1437
1438
|
message: string;
|
|
1438
1439
|
created_at: string;
|
|
1439
1440
|
error_code: "account_disconnected";
|
|
1440
|
-
is_connected_account_error
|
|
1441
|
+
is_connected_account_error?: boolean | undefined;
|
|
1442
|
+
is_bridge_error?: boolean | undefined;
|
|
1441
1443
|
}, {
|
|
1442
1444
|
message: string;
|
|
1443
1445
|
created_at: string;
|
|
1444
1446
|
error_code: "account_disconnected";
|
|
1445
|
-
is_connected_account_error
|
|
1447
|
+
is_connected_account_error?: boolean | undefined;
|
|
1448
|
+
is_bridge_error?: boolean | undefined;
|
|
1446
1449
|
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
1447
1450
|
created_at: z.ZodString;
|
|
1448
1451
|
message: z.ZodString;
|
|
1449
|
-
is_connected_account_error: z.
|
|
1452
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
1453
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1450
1454
|
}, {
|
|
1451
1455
|
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
1452
1456
|
}>, "strip", z.ZodTypeAny, {
|
|
1453
1457
|
message: string;
|
|
1454
1458
|
created_at: string;
|
|
1455
1459
|
error_code: "invalid_credentials";
|
|
1456
|
-
is_connected_account_error
|
|
1460
|
+
is_connected_account_error?: boolean | undefined;
|
|
1461
|
+
is_bridge_error?: boolean | undefined;
|
|
1457
1462
|
}, {
|
|
1458
1463
|
message: string;
|
|
1459
1464
|
created_at: string;
|
|
1460
1465
|
error_code: "invalid_credentials";
|
|
1461
|
-
is_connected_account_error
|
|
1466
|
+
is_connected_account_error?: boolean | undefined;
|
|
1467
|
+
is_bridge_error?: boolean | undefined;
|
|
1462
1468
|
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
1463
1469
|
created_at: z.ZodString;
|
|
1464
1470
|
message: z.ZodString;
|
|
1465
|
-
is_connected_account_error: z.
|
|
1471
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
1472
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1473
|
+
}, {
|
|
1474
|
+
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
1475
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1476
|
+
message: string;
|
|
1477
|
+
created_at: string;
|
|
1478
|
+
error_code: "bridge_disconnected";
|
|
1479
|
+
is_connected_account_error?: boolean | undefined;
|
|
1480
|
+
is_bridge_error?: boolean | undefined;
|
|
1481
|
+
}, {
|
|
1482
|
+
message: string;
|
|
1483
|
+
created_at: string;
|
|
1484
|
+
error_code: "bridge_disconnected";
|
|
1485
|
+
is_connected_account_error?: boolean | undefined;
|
|
1486
|
+
is_bridge_error?: boolean | undefined;
|
|
1487
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
1488
|
+
created_at: z.ZodString;
|
|
1489
|
+
message: z.ZodString;
|
|
1490
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
1491
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1466
1492
|
}, {
|
|
1467
1493
|
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
1468
1494
|
salto_ks_metadata: z.ZodObject<{
|
|
@@ -1501,7 +1527,6 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<z.
|
|
|
1501
1527
|
message: string;
|
|
1502
1528
|
created_at: string;
|
|
1503
1529
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
1504
|
-
is_connected_account_error: true;
|
|
1505
1530
|
salto_ks_metadata: {
|
|
1506
1531
|
sites: {
|
|
1507
1532
|
site_id: string;
|
|
@@ -1510,11 +1535,12 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<z.
|
|
|
1510
1535
|
site_user_subscription_limit: number;
|
|
1511
1536
|
}[];
|
|
1512
1537
|
};
|
|
1538
|
+
is_connected_account_error?: boolean | undefined;
|
|
1539
|
+
is_bridge_error?: boolean | undefined;
|
|
1513
1540
|
}, {
|
|
1514
1541
|
message: string;
|
|
1515
1542
|
created_at: string;
|
|
1516
1543
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
1517
|
-
is_connected_account_error: true;
|
|
1518
1544
|
salto_ks_metadata: {
|
|
1519
1545
|
sites: {
|
|
1520
1546
|
site_id: string;
|
|
@@ -1523,6 +1549,8 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<z.
|
|
|
1523
1549
|
site_user_subscription_limit: number;
|
|
1524
1550
|
}[];
|
|
1525
1551
|
};
|
|
1552
|
+
is_connected_account_error?: boolean | undefined;
|
|
1553
|
+
is_bridge_error?: boolean | undefined;
|
|
1526
1554
|
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
1527
1555
|
message: z.ZodString;
|
|
1528
1556
|
is_device_error: z.ZodLiteral<true>;
|
|
@@ -1591,6 +1619,26 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<z.
|
|
|
1591
1619
|
message: z.ZodString;
|
|
1592
1620
|
is_device_error: z.ZodLiteral<true>;
|
|
1593
1621
|
created_at: z.ZodString;
|
|
1622
|
+
}, {
|
|
1623
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
1624
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
1625
|
+
is_device_error: z.ZodLiteral<false>;
|
|
1626
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1627
|
+
message: string;
|
|
1628
|
+
created_at: string;
|
|
1629
|
+
error_code: "account_disconnected";
|
|
1630
|
+
is_connected_account_error: true;
|
|
1631
|
+
is_device_error: false;
|
|
1632
|
+
}, {
|
|
1633
|
+
message: string;
|
|
1634
|
+
created_at: string;
|
|
1635
|
+
error_code: "account_disconnected";
|
|
1636
|
+
is_connected_account_error: true;
|
|
1637
|
+
is_device_error: false;
|
|
1638
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
1639
|
+
message: z.ZodString;
|
|
1640
|
+
is_device_error: z.ZodLiteral<true>;
|
|
1641
|
+
created_at: z.ZodString;
|
|
1594
1642
|
}, {
|
|
1595
1643
|
error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
|
|
1596
1644
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -3825,39 +3873,65 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3825
3873
|
}>, ...(z.ZodObject<z.objectUtil.extendShape<{
|
|
3826
3874
|
created_at: z.ZodString;
|
|
3827
3875
|
message: z.ZodString;
|
|
3828
|
-
is_connected_account_error: z.
|
|
3876
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
3877
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
3829
3878
|
}, {
|
|
3830
3879
|
error_code: z.ZodLiteral<"account_disconnected">;
|
|
3831
3880
|
}>, "strip", z.ZodTypeAny, {
|
|
3832
3881
|
message: string;
|
|
3833
3882
|
created_at: string;
|
|
3834
3883
|
error_code: "account_disconnected";
|
|
3835
|
-
is_connected_account_error
|
|
3884
|
+
is_connected_account_error?: boolean | undefined;
|
|
3885
|
+
is_bridge_error?: boolean | undefined;
|
|
3836
3886
|
}, {
|
|
3837
3887
|
message: string;
|
|
3838
3888
|
created_at: string;
|
|
3839
3889
|
error_code: "account_disconnected";
|
|
3840
|
-
is_connected_account_error
|
|
3890
|
+
is_connected_account_error?: boolean | undefined;
|
|
3891
|
+
is_bridge_error?: boolean | undefined;
|
|
3841
3892
|
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
3842
3893
|
created_at: z.ZodString;
|
|
3843
3894
|
message: z.ZodString;
|
|
3844
|
-
is_connected_account_error: z.
|
|
3895
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
3896
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
3845
3897
|
}, {
|
|
3846
3898
|
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
3847
3899
|
}>, "strip", z.ZodTypeAny, {
|
|
3848
3900
|
message: string;
|
|
3849
3901
|
created_at: string;
|
|
3850
3902
|
error_code: "invalid_credentials";
|
|
3851
|
-
is_connected_account_error
|
|
3903
|
+
is_connected_account_error?: boolean | undefined;
|
|
3904
|
+
is_bridge_error?: boolean | undefined;
|
|
3852
3905
|
}, {
|
|
3853
3906
|
message: string;
|
|
3854
3907
|
created_at: string;
|
|
3855
3908
|
error_code: "invalid_credentials";
|
|
3856
|
-
is_connected_account_error
|
|
3909
|
+
is_connected_account_error?: boolean | undefined;
|
|
3910
|
+
is_bridge_error?: boolean | undefined;
|
|
3857
3911
|
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
3858
3912
|
created_at: z.ZodString;
|
|
3859
3913
|
message: z.ZodString;
|
|
3860
|
-
is_connected_account_error: z.
|
|
3914
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
3915
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
3916
|
+
}, {
|
|
3917
|
+
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
3918
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3919
|
+
message: string;
|
|
3920
|
+
created_at: string;
|
|
3921
|
+
error_code: "bridge_disconnected";
|
|
3922
|
+
is_connected_account_error?: boolean | undefined;
|
|
3923
|
+
is_bridge_error?: boolean | undefined;
|
|
3924
|
+
}, {
|
|
3925
|
+
message: string;
|
|
3926
|
+
created_at: string;
|
|
3927
|
+
error_code: "bridge_disconnected";
|
|
3928
|
+
is_connected_account_error?: boolean | undefined;
|
|
3929
|
+
is_bridge_error?: boolean | undefined;
|
|
3930
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
3931
|
+
created_at: z.ZodString;
|
|
3932
|
+
message: z.ZodString;
|
|
3933
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
3934
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
3861
3935
|
}, {
|
|
3862
3936
|
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
3863
3937
|
salto_ks_metadata: z.ZodObject<{
|
|
@@ -3896,7 +3970,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3896
3970
|
message: string;
|
|
3897
3971
|
created_at: string;
|
|
3898
3972
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
3899
|
-
is_connected_account_error: true;
|
|
3900
3973
|
salto_ks_metadata: {
|
|
3901
3974
|
sites: {
|
|
3902
3975
|
site_id: string;
|
|
@@ -3905,11 +3978,12 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3905
3978
|
site_user_subscription_limit: number;
|
|
3906
3979
|
}[];
|
|
3907
3980
|
};
|
|
3981
|
+
is_connected_account_error?: boolean | undefined;
|
|
3982
|
+
is_bridge_error?: boolean | undefined;
|
|
3908
3983
|
}, {
|
|
3909
3984
|
message: string;
|
|
3910
3985
|
created_at: string;
|
|
3911
3986
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
3912
|
-
is_connected_account_error: true;
|
|
3913
3987
|
salto_ks_metadata: {
|
|
3914
3988
|
sites: {
|
|
3915
3989
|
site_id: string;
|
|
@@ -3918,6 +3992,8 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3918
3992
|
site_user_subscription_limit: number;
|
|
3919
3993
|
}[];
|
|
3920
3994
|
};
|
|
3995
|
+
is_connected_account_error?: boolean | undefined;
|
|
3996
|
+
is_bridge_error?: boolean | undefined;
|
|
3921
3997
|
}>)[]]>, "many">;
|
|
3922
3998
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
3923
3999
|
message: z.ZodString;
|
|
@@ -4156,17 +4232,24 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4156
4232
|
message: string;
|
|
4157
4233
|
created_at: string;
|
|
4158
4234
|
error_code: "account_disconnected";
|
|
4159
|
-
is_connected_account_error
|
|
4235
|
+
is_connected_account_error?: boolean | undefined;
|
|
4236
|
+
is_bridge_error?: boolean | undefined;
|
|
4160
4237
|
} | {
|
|
4161
4238
|
message: string;
|
|
4162
4239
|
created_at: string;
|
|
4163
4240
|
error_code: "invalid_credentials";
|
|
4164
|
-
is_connected_account_error
|
|
4241
|
+
is_connected_account_error?: boolean | undefined;
|
|
4242
|
+
is_bridge_error?: boolean | undefined;
|
|
4243
|
+
} | {
|
|
4244
|
+
message: string;
|
|
4245
|
+
created_at: string;
|
|
4246
|
+
error_code: "bridge_disconnected";
|
|
4247
|
+
is_connected_account_error?: boolean | undefined;
|
|
4248
|
+
is_bridge_error?: boolean | undefined;
|
|
4165
4249
|
} | {
|
|
4166
4250
|
message: string;
|
|
4167
4251
|
created_at: string;
|
|
4168
4252
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4169
|
-
is_connected_account_error: true;
|
|
4170
4253
|
salto_ks_metadata: {
|
|
4171
4254
|
sites: {
|
|
4172
4255
|
site_id: string;
|
|
@@ -4175,6 +4258,8 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4175
4258
|
site_user_subscription_limit: number;
|
|
4176
4259
|
}[];
|
|
4177
4260
|
};
|
|
4261
|
+
is_connected_account_error?: boolean | undefined;
|
|
4262
|
+
is_bridge_error?: boolean | undefined;
|
|
4178
4263
|
} | {
|
|
4179
4264
|
message: string;
|
|
4180
4265
|
created_at: string;
|
|
@@ -4723,17 +4808,24 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4723
4808
|
message: string;
|
|
4724
4809
|
created_at: string;
|
|
4725
4810
|
error_code: "account_disconnected";
|
|
4726
|
-
is_connected_account_error
|
|
4811
|
+
is_connected_account_error?: boolean | undefined;
|
|
4812
|
+
is_bridge_error?: boolean | undefined;
|
|
4727
4813
|
} | {
|
|
4728
4814
|
message: string;
|
|
4729
4815
|
created_at: string;
|
|
4730
4816
|
error_code: "invalid_credentials";
|
|
4731
|
-
is_connected_account_error
|
|
4817
|
+
is_connected_account_error?: boolean | undefined;
|
|
4818
|
+
is_bridge_error?: boolean | undefined;
|
|
4819
|
+
} | {
|
|
4820
|
+
message: string;
|
|
4821
|
+
created_at: string;
|
|
4822
|
+
error_code: "bridge_disconnected";
|
|
4823
|
+
is_connected_account_error?: boolean | undefined;
|
|
4824
|
+
is_bridge_error?: boolean | undefined;
|
|
4732
4825
|
} | {
|
|
4733
4826
|
message: string;
|
|
4734
4827
|
created_at: string;
|
|
4735
4828
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4736
|
-
is_connected_account_error: true;
|
|
4737
4829
|
salto_ks_metadata: {
|
|
4738
4830
|
sites: {
|
|
4739
4831
|
site_id: string;
|
|
@@ -4742,6 +4834,8 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4742
4834
|
site_user_subscription_limit: number;
|
|
4743
4835
|
}[];
|
|
4744
4836
|
};
|
|
4837
|
+
is_connected_account_error?: boolean | undefined;
|
|
4838
|
+
is_bridge_error?: boolean | undefined;
|
|
4745
4839
|
} | {
|
|
4746
4840
|
message: string;
|
|
4747
4841
|
created_at: string;
|
|
@@ -2104,39 +2104,65 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2104
2104
|
}>, ...(z.ZodObject<z.objectUtil.extendShape<{
|
|
2105
2105
|
created_at: z.ZodString;
|
|
2106
2106
|
message: z.ZodString;
|
|
2107
|
-
is_connected_account_error: z.
|
|
2107
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2108
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2108
2109
|
}, {
|
|
2109
2110
|
error_code: z.ZodLiteral<"account_disconnected">;
|
|
2110
2111
|
}>, "strip", z.ZodTypeAny, {
|
|
2111
2112
|
message: string;
|
|
2112
2113
|
created_at: string;
|
|
2113
2114
|
error_code: "account_disconnected";
|
|
2114
|
-
is_connected_account_error
|
|
2115
|
+
is_connected_account_error?: boolean | undefined;
|
|
2116
|
+
is_bridge_error?: boolean | undefined;
|
|
2115
2117
|
}, {
|
|
2116
2118
|
message: string;
|
|
2117
2119
|
created_at: string;
|
|
2118
2120
|
error_code: "account_disconnected";
|
|
2119
|
-
is_connected_account_error
|
|
2121
|
+
is_connected_account_error?: boolean | undefined;
|
|
2122
|
+
is_bridge_error?: boolean | undefined;
|
|
2120
2123
|
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
2121
2124
|
created_at: z.ZodString;
|
|
2122
2125
|
message: z.ZodString;
|
|
2123
|
-
is_connected_account_error: z.
|
|
2126
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2127
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2124
2128
|
}, {
|
|
2125
2129
|
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
2126
2130
|
}>, "strip", z.ZodTypeAny, {
|
|
2127
2131
|
message: string;
|
|
2128
2132
|
created_at: string;
|
|
2129
2133
|
error_code: "invalid_credentials";
|
|
2130
|
-
is_connected_account_error
|
|
2134
|
+
is_connected_account_error?: boolean | undefined;
|
|
2135
|
+
is_bridge_error?: boolean | undefined;
|
|
2131
2136
|
}, {
|
|
2132
2137
|
message: string;
|
|
2133
2138
|
created_at: string;
|
|
2134
2139
|
error_code: "invalid_credentials";
|
|
2135
|
-
is_connected_account_error
|
|
2140
|
+
is_connected_account_error?: boolean | undefined;
|
|
2141
|
+
is_bridge_error?: boolean | undefined;
|
|
2136
2142
|
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
2137
2143
|
created_at: z.ZodString;
|
|
2138
2144
|
message: z.ZodString;
|
|
2139
|
-
is_connected_account_error: z.
|
|
2145
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2146
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2147
|
+
}, {
|
|
2148
|
+
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
2149
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2150
|
+
message: string;
|
|
2151
|
+
created_at: string;
|
|
2152
|
+
error_code: "bridge_disconnected";
|
|
2153
|
+
is_connected_account_error?: boolean | undefined;
|
|
2154
|
+
is_bridge_error?: boolean | undefined;
|
|
2155
|
+
}, {
|
|
2156
|
+
message: string;
|
|
2157
|
+
created_at: string;
|
|
2158
|
+
error_code: "bridge_disconnected";
|
|
2159
|
+
is_connected_account_error?: boolean | undefined;
|
|
2160
|
+
is_bridge_error?: boolean | undefined;
|
|
2161
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
2162
|
+
created_at: z.ZodString;
|
|
2163
|
+
message: z.ZodString;
|
|
2164
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2165
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2140
2166
|
}, {
|
|
2141
2167
|
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
2142
2168
|
salto_ks_metadata: z.ZodObject<{
|
|
@@ -2175,7 +2201,6 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2175
2201
|
message: string;
|
|
2176
2202
|
created_at: string;
|
|
2177
2203
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
2178
|
-
is_connected_account_error: true;
|
|
2179
2204
|
salto_ks_metadata: {
|
|
2180
2205
|
sites: {
|
|
2181
2206
|
site_id: string;
|
|
@@ -2184,11 +2209,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2184
2209
|
site_user_subscription_limit: number;
|
|
2185
2210
|
}[];
|
|
2186
2211
|
};
|
|
2212
|
+
is_connected_account_error?: boolean | undefined;
|
|
2213
|
+
is_bridge_error?: boolean | undefined;
|
|
2187
2214
|
}, {
|
|
2188
2215
|
message: string;
|
|
2189
2216
|
created_at: string;
|
|
2190
2217
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
2191
|
-
is_connected_account_error: true;
|
|
2192
2218
|
salto_ks_metadata: {
|
|
2193
2219
|
sites: {
|
|
2194
2220
|
site_id: string;
|
|
@@ -2197,6 +2223,8 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2197
2223
|
site_user_subscription_limit: number;
|
|
2198
2224
|
}[];
|
|
2199
2225
|
};
|
|
2226
|
+
is_connected_account_error?: boolean | undefined;
|
|
2227
|
+
is_bridge_error?: boolean | undefined;
|
|
2200
2228
|
}>)[]]>, "many">;
|
|
2201
2229
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
2202
2230
|
message: z.ZodString;
|
|
@@ -2583,17 +2611,24 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2583
2611
|
message: string;
|
|
2584
2612
|
created_at: string;
|
|
2585
2613
|
error_code: "account_disconnected";
|
|
2586
|
-
is_connected_account_error
|
|
2614
|
+
is_connected_account_error?: boolean | undefined;
|
|
2615
|
+
is_bridge_error?: boolean | undefined;
|
|
2587
2616
|
} | {
|
|
2588
2617
|
message: string;
|
|
2589
2618
|
created_at: string;
|
|
2590
2619
|
error_code: "invalid_credentials";
|
|
2591
|
-
is_connected_account_error
|
|
2620
|
+
is_connected_account_error?: boolean | undefined;
|
|
2621
|
+
is_bridge_error?: boolean | undefined;
|
|
2622
|
+
} | {
|
|
2623
|
+
message: string;
|
|
2624
|
+
created_at: string;
|
|
2625
|
+
error_code: "bridge_disconnected";
|
|
2626
|
+
is_connected_account_error?: boolean | undefined;
|
|
2627
|
+
is_bridge_error?: boolean | undefined;
|
|
2592
2628
|
} | {
|
|
2593
2629
|
message: string;
|
|
2594
2630
|
created_at: string;
|
|
2595
2631
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
2596
|
-
is_connected_account_error: true;
|
|
2597
2632
|
salto_ks_metadata: {
|
|
2598
2633
|
sites: {
|
|
2599
2634
|
site_id: string;
|
|
@@ -2602,6 +2637,8 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2602
2637
|
site_user_subscription_limit: number;
|
|
2603
2638
|
}[];
|
|
2604
2639
|
};
|
|
2640
|
+
is_connected_account_error?: boolean | undefined;
|
|
2641
|
+
is_bridge_error?: boolean | undefined;
|
|
2605
2642
|
} | {
|
|
2606
2643
|
message: string;
|
|
2607
2644
|
created_at: string;
|
|
@@ -2791,17 +2828,24 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2791
2828
|
message: string;
|
|
2792
2829
|
created_at: string;
|
|
2793
2830
|
error_code: "account_disconnected";
|
|
2794
|
-
is_connected_account_error
|
|
2831
|
+
is_connected_account_error?: boolean | undefined;
|
|
2832
|
+
is_bridge_error?: boolean | undefined;
|
|
2795
2833
|
} | {
|
|
2796
2834
|
message: string;
|
|
2797
2835
|
created_at: string;
|
|
2798
2836
|
error_code: "invalid_credentials";
|
|
2799
|
-
is_connected_account_error
|
|
2837
|
+
is_connected_account_error?: boolean | undefined;
|
|
2838
|
+
is_bridge_error?: boolean | undefined;
|
|
2839
|
+
} | {
|
|
2840
|
+
message: string;
|
|
2841
|
+
created_at: string;
|
|
2842
|
+
error_code: "bridge_disconnected";
|
|
2843
|
+
is_connected_account_error?: boolean | undefined;
|
|
2844
|
+
is_bridge_error?: boolean | undefined;
|
|
2800
2845
|
} | {
|
|
2801
2846
|
message: string;
|
|
2802
2847
|
created_at: string;
|
|
2803
2848
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
2804
|
-
is_connected_account_error: true;
|
|
2805
2849
|
salto_ks_metadata: {
|
|
2806
2850
|
sites: {
|
|
2807
2851
|
site_id: string;
|
|
@@ -2810,6 +2854,8 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2810
2854
|
site_user_subscription_limit: number;
|
|
2811
2855
|
}[];
|
|
2812
2856
|
};
|
|
2857
|
+
is_connected_account_error?: boolean | undefined;
|
|
2858
|
+
is_bridge_error?: boolean | undefined;
|
|
2813
2859
|
} | {
|
|
2814
2860
|
message: string;
|
|
2815
2861
|
created_at: string;
|