@seamapi/types 1.332.1 → 1.334.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 +1541 -161
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4917 -923
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +902 -35
- package/lib/seam/connect/models/access-codes/managed-access-code.js +238 -6
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +568 -25
- package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
- package/lib/seam/connect/models/acs/acs-credential.js +4 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +20 -0
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +7 -0
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +216 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +94 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +122 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +85 -23
- package/lib/seam/connect/models/connected-accounts/connected-account.js +27 -9
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +28 -7
- package/lib/seam/connect/models/devices/phone.d.ts +28 -7
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -7
- package/lib/seam/connect/openapi.d.ts +309 -164
- package/lib/seam/connect/openapi.js +1346 -104
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2391 -310
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +282 -7
- package/src/lib/seam/connect/models/acs/acs-credential.ts +7 -1
- package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +12 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +32 -9
- package/src/lib/seam/connect/openapi.ts +1518 -173
- package/src/lib/seam/connect/route-types.ts +3016 -297
|
@@ -2526,20 +2526,33 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2526
2526
|
message: string;
|
|
2527
2527
|
error_code: "subscription_required";
|
|
2528
2528
|
is_device_error: true;
|
|
2529
|
-
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2529
|
+
}>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2530
2530
|
message: z.ZodString;
|
|
2531
2531
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
2532
2532
|
}, {
|
|
2533
|
-
error_code: z.
|
|
2533
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
2534
2534
|
}>, "strip", z.ZodTypeAny, {
|
|
2535
2535
|
message: string;
|
|
2536
2536
|
is_connected_account_error: true;
|
|
2537
|
-
error_code:
|
|
2537
|
+
error_code: "account_disconnected";
|
|
2538
2538
|
}, {
|
|
2539
2539
|
message: string;
|
|
2540
2540
|
is_connected_account_error: true;
|
|
2541
|
-
error_code:
|
|
2542
|
-
}
|
|
2541
|
+
error_code: "account_disconnected";
|
|
2542
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2543
|
+
message: z.ZodString;
|
|
2544
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
2545
|
+
}, {
|
|
2546
|
+
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
2547
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2548
|
+
message: string;
|
|
2549
|
+
is_connected_account_error: true;
|
|
2550
|
+
error_code: "invalid_credentials";
|
|
2551
|
+
}, {
|
|
2552
|
+
message: string;
|
|
2553
|
+
is_connected_account_error: true;
|
|
2554
|
+
error_code: "invalid_credentials";
|
|
2555
|
+
}>]>]>, "many">;
|
|
2543
2556
|
warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2544
2557
|
message: z.ZodString;
|
|
2545
2558
|
}, {
|
|
@@ -2717,7 +2730,11 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2717
2730
|
errors: ({
|
|
2718
2731
|
message: string;
|
|
2719
2732
|
is_connected_account_error: true;
|
|
2720
|
-
error_code:
|
|
2733
|
+
error_code: "account_disconnected";
|
|
2734
|
+
} | {
|
|
2735
|
+
message: string;
|
|
2736
|
+
is_connected_account_error: true;
|
|
2737
|
+
error_code: "invalid_credentials";
|
|
2721
2738
|
} | {
|
|
2722
2739
|
message: string;
|
|
2723
2740
|
error_code: "device_offline";
|
|
@@ -3222,7 +3239,11 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3222
3239
|
errors: ({
|
|
3223
3240
|
message: string;
|
|
3224
3241
|
is_connected_account_error: true;
|
|
3225
|
-
error_code:
|
|
3242
|
+
error_code: "account_disconnected";
|
|
3243
|
+
} | {
|
|
3244
|
+
message: string;
|
|
3245
|
+
is_connected_account_error: true;
|
|
3246
|
+
error_code: "invalid_credentials";
|
|
3226
3247
|
} | {
|
|
3227
3248
|
message: string;
|
|
3228
3249
|
error_code: "device_offline";
|
|
@@ -2012,20 +2012,33 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2012
2012
|
message: string;
|
|
2013
2013
|
error_code: "subscription_required";
|
|
2014
2014
|
is_device_error: true;
|
|
2015
|
-
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2015
|
+
}>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2016
2016
|
message: z.ZodString;
|
|
2017
2017
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
2018
2018
|
}, {
|
|
2019
|
-
error_code: z.
|
|
2019
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
2020
2020
|
}>, "strip", z.ZodTypeAny, {
|
|
2021
2021
|
message: string;
|
|
2022
2022
|
is_connected_account_error: true;
|
|
2023
|
-
error_code:
|
|
2023
|
+
error_code: "account_disconnected";
|
|
2024
2024
|
}, {
|
|
2025
2025
|
message: string;
|
|
2026
2026
|
is_connected_account_error: true;
|
|
2027
|
-
error_code:
|
|
2028
|
-
}
|
|
2027
|
+
error_code: "account_disconnected";
|
|
2028
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2029
|
+
message: z.ZodString;
|
|
2030
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
2031
|
+
}, {
|
|
2032
|
+
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
2033
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2034
|
+
message: string;
|
|
2035
|
+
is_connected_account_error: true;
|
|
2036
|
+
error_code: "invalid_credentials";
|
|
2037
|
+
}, {
|
|
2038
|
+
message: string;
|
|
2039
|
+
is_connected_account_error: true;
|
|
2040
|
+
error_code: "invalid_credentials";
|
|
2041
|
+
}>]>]>, "many">;
|
|
2029
2042
|
warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2030
2043
|
message: z.ZodString;
|
|
2031
2044
|
}, {
|
|
@@ -2248,7 +2261,11 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2248
2261
|
errors: ({
|
|
2249
2262
|
message: string;
|
|
2250
2263
|
is_connected_account_error: true;
|
|
2251
|
-
error_code:
|
|
2264
|
+
error_code: "account_disconnected";
|
|
2265
|
+
} | {
|
|
2266
|
+
message: string;
|
|
2267
|
+
is_connected_account_error: true;
|
|
2268
|
+
error_code: "invalid_credentials";
|
|
2252
2269
|
} | {
|
|
2253
2270
|
message: string;
|
|
2254
2271
|
error_code: "device_offline";
|
|
@@ -2385,7 +2402,11 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2385
2402
|
errors: ({
|
|
2386
2403
|
message: string;
|
|
2387
2404
|
is_connected_account_error: true;
|
|
2388
|
-
error_code:
|
|
2405
|
+
error_code: "account_disconnected";
|
|
2406
|
+
} | {
|
|
2407
|
+
message: string;
|
|
2408
|
+
is_connected_account_error: true;
|
|
2409
|
+
error_code: "invalid_credentials";
|
|
2389
2410
|
} | {
|
|
2390
2411
|
message: string;
|
|
2391
2412
|
error_code: "device_offline";
|
|
@@ -2011,20 +2011,33 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2011
2011
|
message: string;
|
|
2012
2012
|
error_code: "subscription_required";
|
|
2013
2013
|
is_device_error: true;
|
|
2014
|
-
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2014
|
+
}>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2015
2015
|
message: z.ZodString;
|
|
2016
2016
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
2017
2017
|
}, {
|
|
2018
|
-
error_code: z.
|
|
2018
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
2019
2019
|
}>, "strip", z.ZodTypeAny, {
|
|
2020
2020
|
message: string;
|
|
2021
2021
|
is_connected_account_error: true;
|
|
2022
|
-
error_code:
|
|
2022
|
+
error_code: "account_disconnected";
|
|
2023
2023
|
}, {
|
|
2024
2024
|
message: string;
|
|
2025
2025
|
is_connected_account_error: true;
|
|
2026
|
-
error_code:
|
|
2027
|
-
}
|
|
2026
|
+
error_code: "account_disconnected";
|
|
2027
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2028
|
+
message: z.ZodString;
|
|
2029
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
2030
|
+
}, {
|
|
2031
|
+
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
2032
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2033
|
+
message: string;
|
|
2034
|
+
is_connected_account_error: true;
|
|
2035
|
+
error_code: "invalid_credentials";
|
|
2036
|
+
}, {
|
|
2037
|
+
message: string;
|
|
2038
|
+
is_connected_account_error: true;
|
|
2039
|
+
error_code: "invalid_credentials";
|
|
2040
|
+
}>]>]>, "many">;
|
|
2028
2041
|
warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2029
2042
|
message: z.ZodString;
|
|
2030
2043
|
}, {
|
|
@@ -2351,7 +2364,11 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2351
2364
|
errors: ({
|
|
2352
2365
|
message: string;
|
|
2353
2366
|
is_connected_account_error: true;
|
|
2354
|
-
error_code:
|
|
2367
|
+
error_code: "account_disconnected";
|
|
2368
|
+
} | {
|
|
2369
|
+
message: string;
|
|
2370
|
+
is_connected_account_error: true;
|
|
2371
|
+
error_code: "invalid_credentials";
|
|
2355
2372
|
} | {
|
|
2356
2373
|
message: string;
|
|
2357
2374
|
error_code: "device_offline";
|
|
@@ -2506,7 +2523,11 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2506
2523
|
errors: ({
|
|
2507
2524
|
message: string;
|
|
2508
2525
|
is_connected_account_error: true;
|
|
2509
|
-
error_code:
|
|
2526
|
+
error_code: "account_disconnected";
|
|
2527
|
+
} | {
|
|
2528
|
+
message: string;
|
|
2529
|
+
is_connected_account_error: true;
|
|
2530
|
+
error_code: "invalid_credentials";
|
|
2510
2531
|
} | {
|
|
2511
2532
|
message: string;
|
|
2512
2533
|
error_code: "device_offline";
|