@seamapi/types 1.558.0 → 1.559.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.
- package/dist/connect.cjs +0 -150
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -775
- package/dist/index.cjs +0 -150
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -31
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -31
- package/lib/seam/connect/models/batch.d.ts +0 -602
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +0 -104
- package/lib/seam/connect/models/connected-accounts/connected-account.js +0 -9
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +0 -50
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -31
- package/lib/seam/connect/openapi.js +0 -145
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -429
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +0 -10
- package/src/lib/seam/connect/openapi.ts +0 -175
- package/src/lib/seam/connect/route-types.ts +0 -468
|
@@ -19,26 +19,6 @@ export declare const account_disconnected: z.ZodObject<{
|
|
|
19
19
|
is_connected_account_error?: boolean | undefined;
|
|
20
20
|
is_bridge_error?: boolean | undefined;
|
|
21
21
|
}>;
|
|
22
|
-
export declare const invalid_credentials: z.ZodObject<{
|
|
23
|
-
created_at: z.ZodString;
|
|
24
|
-
message: z.ZodString;
|
|
25
|
-
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
-
} & {
|
|
28
|
-
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
29
|
-
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
message: string;
|
|
31
|
-
created_at: string;
|
|
32
|
-
error_code: "invalid_credentials";
|
|
33
|
-
is_connected_account_error?: boolean | undefined;
|
|
34
|
-
is_bridge_error?: boolean | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
message: string;
|
|
37
|
-
created_at: string;
|
|
38
|
-
error_code: "invalid_credentials";
|
|
39
|
-
is_connected_account_error?: boolean | undefined;
|
|
40
|
-
is_bridge_error?: boolean | undefined;
|
|
41
|
-
}>;
|
|
42
22
|
export declare const bridge_disconnected: z.ZodObject<{
|
|
43
23
|
created_at: z.ZodString;
|
|
44
24
|
message: z.ZodString;
|
|
@@ -151,25 +131,6 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
|
|
|
151
131
|
message: z.ZodString;
|
|
152
132
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
153
133
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
-
} & {
|
|
155
|
-
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
156
|
-
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
message: string;
|
|
158
|
-
created_at: string;
|
|
159
|
-
error_code: "invalid_credentials";
|
|
160
|
-
is_connected_account_error?: boolean | undefined;
|
|
161
|
-
is_bridge_error?: boolean | undefined;
|
|
162
|
-
}, {
|
|
163
|
-
message: string;
|
|
164
|
-
created_at: string;
|
|
165
|
-
error_code: "invalid_credentials";
|
|
166
|
-
is_connected_account_error?: boolean | undefined;
|
|
167
|
-
is_bridge_error?: boolean | undefined;
|
|
168
|
-
}>, z.ZodObject<{
|
|
169
|
-
created_at: z.ZodString;
|
|
170
|
-
message: z.ZodString;
|
|
171
|
-
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
173
134
|
} & {
|
|
174
135
|
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
175
136
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -275,26 +236,6 @@ declare const _connected_account_error_map: z.ZodObject<{
|
|
|
275
236
|
is_connected_account_error?: boolean | undefined;
|
|
276
237
|
is_bridge_error?: boolean | undefined;
|
|
277
238
|
}>>>;
|
|
278
|
-
invalid_credentials: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
279
|
-
created_at: z.ZodString;
|
|
280
|
-
message: z.ZodString;
|
|
281
|
-
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
282
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
-
} & {
|
|
284
|
-
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
285
|
-
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
message: string;
|
|
287
|
-
created_at: string;
|
|
288
|
-
error_code: "invalid_credentials";
|
|
289
|
-
is_connected_account_error?: boolean | undefined;
|
|
290
|
-
is_bridge_error?: boolean | undefined;
|
|
291
|
-
}, {
|
|
292
|
-
message: string;
|
|
293
|
-
created_at: string;
|
|
294
|
-
error_code: "invalid_credentials";
|
|
295
|
-
is_connected_account_error?: boolean | undefined;
|
|
296
|
-
is_bridge_error?: boolean | undefined;
|
|
297
|
-
}>>>;
|
|
298
239
|
bridge_disconnected: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
299
240
|
created_at: z.ZodString;
|
|
300
241
|
message: z.ZodString;
|
|
@@ -391,13 +332,6 @@ declare const _connected_account_error_map: z.ZodObject<{
|
|
|
391
332
|
is_connected_account_error?: boolean | undefined;
|
|
392
333
|
is_bridge_error?: boolean | undefined;
|
|
393
334
|
} | null | undefined;
|
|
394
|
-
invalid_credentials?: {
|
|
395
|
-
message: string;
|
|
396
|
-
created_at: string;
|
|
397
|
-
error_code: "invalid_credentials";
|
|
398
|
-
is_connected_account_error?: boolean | undefined;
|
|
399
|
-
is_bridge_error?: boolean | undefined;
|
|
400
|
-
} | null | undefined;
|
|
401
335
|
bridge_disconnected?: {
|
|
402
336
|
message: string;
|
|
403
337
|
created_at: string;
|
|
@@ -428,13 +362,6 @@ declare const _connected_account_error_map: z.ZodObject<{
|
|
|
428
362
|
is_connected_account_error?: boolean | undefined;
|
|
429
363
|
is_bridge_error?: boolean | undefined;
|
|
430
364
|
} | null | undefined;
|
|
431
|
-
invalid_credentials?: {
|
|
432
|
-
message: string;
|
|
433
|
-
created_at: string;
|
|
434
|
-
error_code: "invalid_credentials";
|
|
435
|
-
is_connected_account_error?: boolean | undefined;
|
|
436
|
-
is_bridge_error?: boolean | undefined;
|
|
437
|
-
} | null | undefined;
|
|
438
365
|
bridge_disconnected?: {
|
|
439
366
|
message: string;
|
|
440
367
|
created_at: string;
|
|
@@ -750,25 +677,6 @@ export declare const connected_account: z.ZodObject<{
|
|
|
750
677
|
message: z.ZodString;
|
|
751
678
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
752
679
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
753
|
-
} & {
|
|
754
|
-
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
755
|
-
}, "strip", z.ZodTypeAny, {
|
|
756
|
-
message: string;
|
|
757
|
-
created_at: string;
|
|
758
|
-
error_code: "invalid_credentials";
|
|
759
|
-
is_connected_account_error?: boolean | undefined;
|
|
760
|
-
is_bridge_error?: boolean | undefined;
|
|
761
|
-
}, {
|
|
762
|
-
message: string;
|
|
763
|
-
created_at: string;
|
|
764
|
-
error_code: "invalid_credentials";
|
|
765
|
-
is_connected_account_error?: boolean | undefined;
|
|
766
|
-
is_bridge_error?: boolean | undefined;
|
|
767
|
-
}>, z.ZodObject<{
|
|
768
|
-
created_at: z.ZodString;
|
|
769
|
-
message: z.ZodString;
|
|
770
|
-
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
771
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
772
680
|
} & {
|
|
773
681
|
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
774
682
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -950,12 +858,6 @@ export declare const connected_account: z.ZodObject<{
|
|
|
950
858
|
error_code: "account_disconnected";
|
|
951
859
|
is_connected_account_error?: boolean | undefined;
|
|
952
860
|
is_bridge_error?: boolean | undefined;
|
|
953
|
-
} | {
|
|
954
|
-
message: string;
|
|
955
|
-
created_at: string;
|
|
956
|
-
error_code: "invalid_credentials";
|
|
957
|
-
is_connected_account_error?: boolean | undefined;
|
|
958
|
-
is_bridge_error?: boolean | undefined;
|
|
959
861
|
} | {
|
|
960
862
|
message: string;
|
|
961
863
|
created_at: string;
|
|
@@ -1020,12 +922,6 @@ export declare const connected_account: z.ZodObject<{
|
|
|
1020
922
|
error_code: "account_disconnected";
|
|
1021
923
|
is_connected_account_error?: boolean | undefined;
|
|
1022
924
|
is_bridge_error?: boolean | undefined;
|
|
1023
|
-
} | {
|
|
1024
|
-
message: string;
|
|
1025
|
-
created_at: string;
|
|
1026
|
-
error_code: "invalid_credentials";
|
|
1027
|
-
is_connected_account_error?: boolean | undefined;
|
|
1028
|
-
is_bridge_error?: boolean | undefined;
|
|
1029
925
|
} | {
|
|
1030
926
|
message: string;
|
|
1031
927
|
created_at: string;
|
|
@@ -36,13 +36,6 @@ export const account_disconnected = common_connected_account_error
|
|
|
36
36
|
.describe(error_code_description),
|
|
37
37
|
})
|
|
38
38
|
.describe('Indicates that the account is disconnected.');
|
|
39
|
-
export const invalid_credentials = common_connected_account_error
|
|
40
|
-
.extend({
|
|
41
|
-
error_code: z
|
|
42
|
-
.literal('invalid_credentials')
|
|
43
|
-
.describe(error_code_description),
|
|
44
|
-
})
|
|
45
|
-
.describe('Indicates that the credentials provided were invalid.');
|
|
46
39
|
export const bridge_disconnected = common_connected_account_error
|
|
47
40
|
.extend({
|
|
48
41
|
error_code: z
|
|
@@ -85,13 +78,11 @@ export const salto_ks_subscription_limit_exceeded = common_connected_account_err
|
|
|
85
78
|
.describe('Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.');
|
|
86
79
|
export const connected_account_error = z.discriminatedUnion('error_code', [
|
|
87
80
|
account_disconnected,
|
|
88
|
-
invalid_credentials,
|
|
89
81
|
bridge_disconnected,
|
|
90
82
|
salto_ks_subscription_limit_exceeded,
|
|
91
83
|
]);
|
|
92
84
|
const _connected_account_error_map = z.object({
|
|
93
85
|
account_disconnected: account_disconnected.nullable().optional(),
|
|
94
|
-
invalid_credentials: invalid_credentials.nullable().optional(),
|
|
95
86
|
bridge_disconnected: bridge_disconnected.nullable().optional(),
|
|
96
87
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
|
|
97
88
|
.nullable()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected-account.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connected-accounts/connected-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,0BAA0B,EAAE,CAAC;SAC1B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,+EAA+E,CAChF;IACH,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qHAAqH,CACtH;CACJ,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,8BAA8B;KAC/D,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,sBAAsB,CAAC;SAC/B,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC;KACD,QAAQ,CAAC,6CAA6C,CAAC,CAAA;AAE1D,MAAM,CAAC,MAAM,mBAAmB,GAAG,8BAA8B;KAC9D,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,qBAAqB,CAAC;SAC9B,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC;KACD,QAAQ,
|
|
1
|
+
{"version":3,"file":"connected-account.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connected-accounts/connected-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,0BAA0B,EAAE,CAAC;SAC1B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,+EAA+E,CAChF;IACH,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qHAAqH,CACtH;CACJ,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAA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ACP,0EAA0E,CAC3E;IACH,qBAAqB,EAAE,CAAC;SACrB,KAAK,CAAC,mBAAmB,CAAC;SAC1B,QAAQ,CACP,gFAAgF,CACjF;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -1543,25 +1543,6 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<{
|
|
|
1543
1543
|
message: z.ZodString;
|
|
1544
1544
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
1545
1545
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1546
|
-
} & {
|
|
1547
|
-
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
1548
|
-
}, "strip", z.ZodTypeAny, {
|
|
1549
|
-
message: string;
|
|
1550
|
-
created_at: string;
|
|
1551
|
-
error_code: "invalid_credentials";
|
|
1552
|
-
is_connected_account_error?: boolean | undefined;
|
|
1553
|
-
is_bridge_error?: boolean | undefined;
|
|
1554
|
-
}, {
|
|
1555
|
-
message: string;
|
|
1556
|
-
created_at: string;
|
|
1557
|
-
error_code: "invalid_credentials";
|
|
1558
|
-
is_connected_account_error?: boolean | undefined;
|
|
1559
|
-
is_bridge_error?: boolean | undefined;
|
|
1560
|
-
}> | z.ZodObject<{
|
|
1561
|
-
created_at: z.ZodString;
|
|
1562
|
-
message: z.ZodString;
|
|
1563
|
-
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
1564
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1565
1546
|
} & {
|
|
1566
1547
|
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
1567
1548
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4380,25 +4361,6 @@ export declare const device: z.ZodObject<{
|
|
|
4380
4361
|
message: z.ZodString;
|
|
4381
4362
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
4382
4363
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
4383
|
-
} & {
|
|
4384
|
-
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
4385
|
-
}, "strip", z.ZodTypeAny, {
|
|
4386
|
-
message: string;
|
|
4387
|
-
created_at: string;
|
|
4388
|
-
error_code: "invalid_credentials";
|
|
4389
|
-
is_connected_account_error?: boolean | undefined;
|
|
4390
|
-
is_bridge_error?: boolean | undefined;
|
|
4391
|
-
}, {
|
|
4392
|
-
message: string;
|
|
4393
|
-
created_at: string;
|
|
4394
|
-
error_code: "invalid_credentials";
|
|
4395
|
-
is_connected_account_error?: boolean | undefined;
|
|
4396
|
-
is_bridge_error?: boolean | undefined;
|
|
4397
|
-
}> | z.ZodObject<{
|
|
4398
|
-
created_at: z.ZodString;
|
|
4399
|
-
message: z.ZodString;
|
|
4400
|
-
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
4401
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
4402
4364
|
} & {
|
|
4403
4365
|
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
4404
4366
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4734,12 +4696,6 @@ export declare const device: z.ZodObject<{
|
|
|
4734
4696
|
error_code: "account_disconnected";
|
|
4735
4697
|
is_connected_account_error?: boolean | undefined;
|
|
4736
4698
|
is_bridge_error?: boolean | undefined;
|
|
4737
|
-
} | {
|
|
4738
|
-
message: string;
|
|
4739
|
-
created_at: string;
|
|
4740
|
-
error_code: "invalid_credentials";
|
|
4741
|
-
is_connected_account_error?: boolean | undefined;
|
|
4742
|
-
is_bridge_error?: boolean | undefined;
|
|
4743
4699
|
} | {
|
|
4744
4700
|
message: string;
|
|
4745
4701
|
created_at: string;
|
|
@@ -5394,12 +5350,6 @@ export declare const device: z.ZodObject<{
|
|
|
5394
5350
|
error_code: "account_disconnected";
|
|
5395
5351
|
is_connected_account_error?: boolean | undefined;
|
|
5396
5352
|
is_bridge_error?: boolean | undefined;
|
|
5397
|
-
} | {
|
|
5398
|
-
message: string;
|
|
5399
|
-
created_at: string;
|
|
5400
|
-
error_code: "invalid_credentials";
|
|
5401
|
-
is_connected_account_error?: boolean | undefined;
|
|
5402
|
-
is_bridge_error?: boolean | undefined;
|
|
5403
5353
|
} | {
|
|
5404
5354
|
message: string;
|
|
5405
5355
|
created_at: string;
|
|
@@ -2505,25 +2505,6 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2505
2505
|
message: z.ZodString;
|
|
2506
2506
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2507
2507
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2508
|
-
} & {
|
|
2509
|
-
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
2510
|
-
}, "strip", z.ZodTypeAny, {
|
|
2511
|
-
message: string;
|
|
2512
|
-
created_at: string;
|
|
2513
|
-
error_code: "invalid_credentials";
|
|
2514
|
-
is_connected_account_error?: boolean | undefined;
|
|
2515
|
-
is_bridge_error?: boolean | undefined;
|
|
2516
|
-
}, {
|
|
2517
|
-
message: string;
|
|
2518
|
-
created_at: string;
|
|
2519
|
-
error_code: "invalid_credentials";
|
|
2520
|
-
is_connected_account_error?: boolean | undefined;
|
|
2521
|
-
is_bridge_error?: boolean | undefined;
|
|
2522
|
-
}> | z.ZodObject<{
|
|
2523
|
-
created_at: z.ZodString;
|
|
2524
|
-
message: z.ZodString;
|
|
2525
|
-
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2526
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2527
2508
|
} & {
|
|
2528
2509
|
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
2529
2510
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3011,12 +2992,6 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3011
2992
|
error_code: "account_disconnected";
|
|
3012
2993
|
is_connected_account_error?: boolean | undefined;
|
|
3013
2994
|
is_bridge_error?: boolean | undefined;
|
|
3014
|
-
} | {
|
|
3015
|
-
message: string;
|
|
3016
|
-
created_at: string;
|
|
3017
|
-
error_code: "invalid_credentials";
|
|
3018
|
-
is_connected_account_error?: boolean | undefined;
|
|
3019
|
-
is_bridge_error?: boolean | undefined;
|
|
3020
2995
|
} | {
|
|
3021
2996
|
message: string;
|
|
3022
2997
|
created_at: string;
|
|
@@ -3243,12 +3218,6 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3243
3218
|
error_code: "account_disconnected";
|
|
3244
3219
|
is_connected_account_error?: boolean | undefined;
|
|
3245
3220
|
is_bridge_error?: boolean | undefined;
|
|
3246
|
-
} | {
|
|
3247
|
-
message: string;
|
|
3248
|
-
created_at: string;
|
|
3249
|
-
error_code: "invalid_credentials";
|
|
3250
|
-
is_connected_account_error?: boolean | undefined;
|
|
3251
|
-
is_bridge_error?: boolean | undefined;
|
|
3252
3221
|
} | {
|
|
3253
3222
|
message: string;
|
|
3254
3223
|
created_at: string;
|
|
@@ -1145,35 +1145,6 @@ export default {
|
|
|
1145
1145
|
],
|
|
1146
1146
|
type: 'object',
|
|
1147
1147
|
},
|
|
1148
|
-
{
|
|
1149
|
-
description: 'Indicates that the credentials provided were invalid.',
|
|
1150
|
-
properties: {
|
|
1151
|
-
created_at: {
|
|
1152
|
-
description: 'Date and time at which Seam created the error.',
|
|
1153
|
-
format: 'date-time',
|
|
1154
|
-
type: 'string',
|
|
1155
|
-
},
|
|
1156
|
-
error_code: {
|
|
1157
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
1158
|
-
enum: ['invalid_credentials'],
|
|
1159
|
-
type: 'string',
|
|
1160
|
-
},
|
|
1161
|
-
is_bridge_error: {
|
|
1162
|
-
description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
1163
|
-
type: 'boolean',
|
|
1164
|
-
},
|
|
1165
|
-
is_connected_account_error: {
|
|
1166
|
-
description: 'Indicates whether the error is related specifically to the connected account.',
|
|
1167
|
-
type: 'boolean',
|
|
1168
|
-
},
|
|
1169
|
-
message: {
|
|
1170
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
1171
|
-
type: 'string',
|
|
1172
|
-
},
|
|
1173
|
-
},
|
|
1174
|
-
required: ['created_at', 'message', 'error_code'],
|
|
1175
|
-
type: 'object',
|
|
1176
|
-
},
|
|
1177
1148
|
{
|
|
1178
1149
|
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
1179
1150
|
properties: {
|
|
@@ -7952,35 +7923,6 @@ export default {
|
|
|
7952
7923
|
required: ['created_at', 'message', 'error_code'],
|
|
7953
7924
|
type: 'object',
|
|
7954
7925
|
},
|
|
7955
|
-
{
|
|
7956
|
-
description: 'Indicates that the credentials provided were invalid.',
|
|
7957
|
-
properties: {
|
|
7958
|
-
created_at: {
|
|
7959
|
-
description: 'Date and time at which Seam created the error.',
|
|
7960
|
-
format: 'date-time',
|
|
7961
|
-
type: 'string',
|
|
7962
|
-
},
|
|
7963
|
-
error_code: {
|
|
7964
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
7965
|
-
enum: ['invalid_credentials'],
|
|
7966
|
-
type: 'string',
|
|
7967
|
-
},
|
|
7968
|
-
is_bridge_error: {
|
|
7969
|
-
description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
7970
|
-
type: 'boolean',
|
|
7971
|
-
},
|
|
7972
|
-
is_connected_account_error: {
|
|
7973
|
-
description: 'Indicates whether the error is related specifically to the connected account.',
|
|
7974
|
-
type: 'boolean',
|
|
7975
|
-
},
|
|
7976
|
-
message: {
|
|
7977
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7978
|
-
type: 'string',
|
|
7979
|
-
},
|
|
7980
|
-
},
|
|
7981
|
-
required: ['created_at', 'message', 'error_code'],
|
|
7982
|
-
type: 'object',
|
|
7983
|
-
},
|
|
7984
7926
|
{
|
|
7985
7927
|
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
7986
7928
|
properties: {
|
|
@@ -8851,35 +8793,6 @@ export default {
|
|
|
8851
8793
|
],
|
|
8852
8794
|
type: 'object',
|
|
8853
8795
|
},
|
|
8854
|
-
{
|
|
8855
|
-
description: 'Indicates that the credentials provided were invalid.',
|
|
8856
|
-
properties: {
|
|
8857
|
-
created_at: {
|
|
8858
|
-
description: 'Date and time at which Seam created the error.',
|
|
8859
|
-
format: 'date-time',
|
|
8860
|
-
type: 'string',
|
|
8861
|
-
},
|
|
8862
|
-
error_code: {
|
|
8863
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
8864
|
-
enum: ['invalid_credentials'],
|
|
8865
|
-
type: 'string',
|
|
8866
|
-
},
|
|
8867
|
-
is_bridge_error: {
|
|
8868
|
-
description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
8869
|
-
type: 'boolean',
|
|
8870
|
-
},
|
|
8871
|
-
is_connected_account_error: {
|
|
8872
|
-
description: 'Indicates whether the error is related specifically to the connected account.',
|
|
8873
|
-
type: 'boolean',
|
|
8874
|
-
},
|
|
8875
|
-
message: {
|
|
8876
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8877
|
-
type: 'string',
|
|
8878
|
-
},
|
|
8879
|
-
},
|
|
8880
|
-
required: ['created_at', 'message', 'error_code'],
|
|
8881
|
-
type: 'object',
|
|
8882
|
-
},
|
|
8883
8796
|
{
|
|
8884
8797
|
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
8885
8798
|
properties: {
|
|
@@ -19989,35 +19902,6 @@ export default {
|
|
|
19989
19902
|
],
|
|
19990
19903
|
type: 'object',
|
|
19991
19904
|
},
|
|
19992
|
-
{
|
|
19993
|
-
description: 'Indicates that the credentials provided were invalid.',
|
|
19994
|
-
properties: {
|
|
19995
|
-
created_at: {
|
|
19996
|
-
description: 'Date and time at which Seam created the error.',
|
|
19997
|
-
format: 'date-time',
|
|
19998
|
-
type: 'string',
|
|
19999
|
-
},
|
|
20000
|
-
error_code: {
|
|
20001
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
20002
|
-
enum: ['invalid_credentials'],
|
|
20003
|
-
type: 'string',
|
|
20004
|
-
},
|
|
20005
|
-
is_bridge_error: {
|
|
20006
|
-
description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
20007
|
-
type: 'boolean',
|
|
20008
|
-
},
|
|
20009
|
-
is_connected_account_error: {
|
|
20010
|
-
description: 'Indicates whether the error is related specifically to the connected account.',
|
|
20011
|
-
type: 'boolean',
|
|
20012
|
-
},
|
|
20013
|
-
message: {
|
|
20014
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
20015
|
-
type: 'string',
|
|
20016
|
-
},
|
|
20017
|
-
},
|
|
20018
|
-
required: ['created_at', 'message', 'error_code'],
|
|
20019
|
-
type: 'object',
|
|
20020
|
-
},
|
|
20021
19905
|
{
|
|
20022
19906
|
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
20023
19907
|
properties: {
|
|
@@ -22061,35 +21945,6 @@ export default {
|
|
|
22061
21945
|
],
|
|
22062
21946
|
type: 'object',
|
|
22063
21947
|
},
|
|
22064
|
-
{
|
|
22065
|
-
description: 'Indicates that the credentials provided were invalid.',
|
|
22066
|
-
properties: {
|
|
22067
|
-
created_at: {
|
|
22068
|
-
description: 'Date and time at which Seam created the error.',
|
|
22069
|
-
format: 'date-time',
|
|
22070
|
-
type: 'string',
|
|
22071
|
-
},
|
|
22072
|
-
error_code: {
|
|
22073
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
22074
|
-
enum: ['invalid_credentials'],
|
|
22075
|
-
type: 'string',
|
|
22076
|
-
},
|
|
22077
|
-
is_bridge_error: {
|
|
22078
|
-
description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
22079
|
-
type: 'boolean',
|
|
22080
|
-
},
|
|
22081
|
-
is_connected_account_error: {
|
|
22082
|
-
description: 'Indicates whether the error is related specifically to the connected account.',
|
|
22083
|
-
type: 'boolean',
|
|
22084
|
-
},
|
|
22085
|
-
message: {
|
|
22086
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
22087
|
-
type: 'string',
|
|
22088
|
-
},
|
|
22089
|
-
},
|
|
22090
|
-
required: ['created_at', 'message', 'error_code'],
|
|
22091
|
-
type: 'object',
|
|
22092
|
-
},
|
|
22093
21948
|
{
|
|
22094
21949
|
description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
|
|
22095
21950
|
properties: {
|