@seamapi/types 1.610.0 → 1.612.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 +61 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +258 -1
- package/dist/index.cjs +61 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +71 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +11 -0
- 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 +26 -0
- package/lib/seam/connect/models/batch.d.ts +144 -0
- package/lib/seam/connect/openapi.js +54 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +118 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +62 -2
- package/src/lib/seam/connect/route-types.ts +131 -1
package/dist/connect.d.cts
CHANGED
|
@@ -400,6 +400,22 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
400
400
|
error_code: "kwikset_insufficient_permissions";
|
|
401
401
|
is_access_code_error: true;
|
|
402
402
|
created_at?: string | undefined;
|
|
403
|
+
}>, z.ZodObject<{
|
|
404
|
+
message: z.ZodString;
|
|
405
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
406
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
407
|
+
} & {
|
|
408
|
+
error_code: z.ZodLiteral<"keynest_unsupported_third_party_locker">;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
message: string;
|
|
411
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
412
|
+
is_access_code_error: true;
|
|
413
|
+
created_at?: string | undefined;
|
|
414
|
+
}, {
|
|
415
|
+
message: string;
|
|
416
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
417
|
+
is_access_code_error: true;
|
|
418
|
+
created_at?: string | undefined;
|
|
403
419
|
}>]>;
|
|
404
420
|
type AccessCodeError = z.infer<typeof access_code_error>;
|
|
405
421
|
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -971,6 +987,22 @@ declare const access_code: z.ZodObject<{
|
|
|
971
987
|
error_code: "kwikset_insufficient_permissions";
|
|
972
988
|
is_access_code_error: true;
|
|
973
989
|
created_at?: string | undefined;
|
|
990
|
+
}>, z.ZodObject<{
|
|
991
|
+
message: z.ZodString;
|
|
992
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
993
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
994
|
+
} & {
|
|
995
|
+
error_code: z.ZodLiteral<"keynest_unsupported_third_party_locker">;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
message: string;
|
|
998
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
999
|
+
is_access_code_error: true;
|
|
1000
|
+
created_at?: string | undefined;
|
|
1001
|
+
}, {
|
|
1002
|
+
message: string;
|
|
1003
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
1004
|
+
is_access_code_error: true;
|
|
1005
|
+
created_at?: string | undefined;
|
|
974
1006
|
}>, ...(z.ZodObject<{
|
|
975
1007
|
created_at: z.ZodString;
|
|
976
1008
|
message: z.ZodString;
|
|
@@ -1705,6 +1737,11 @@ declare const access_code: z.ZodObject<{
|
|
|
1705
1737
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
1706
1738
|
is_access_code_error: true;
|
|
1707
1739
|
created_at?: string | undefined;
|
|
1740
|
+
} | {
|
|
1741
|
+
message: string;
|
|
1742
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
1743
|
+
is_access_code_error: true;
|
|
1744
|
+
created_at?: string | undefined;
|
|
1708
1745
|
})[];
|
|
1709
1746
|
warnings: ({
|
|
1710
1747
|
message: string;
|
|
@@ -1999,6 +2036,11 @@ declare const access_code: z.ZodObject<{
|
|
|
1999
2036
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
2000
2037
|
is_access_code_error: true;
|
|
2001
2038
|
created_at?: string | undefined;
|
|
2039
|
+
} | {
|
|
2040
|
+
message: string;
|
|
2041
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
2042
|
+
is_access_code_error: true;
|
|
2043
|
+
created_at?: string | undefined;
|
|
2002
2044
|
})[];
|
|
2003
2045
|
warnings: ({
|
|
2004
2046
|
message: string;
|
|
@@ -2474,6 +2516,22 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2474
2516
|
error_code: "kwikset_insufficient_permissions";
|
|
2475
2517
|
is_access_code_error: true;
|
|
2476
2518
|
created_at?: string | undefined;
|
|
2519
|
+
}>, z.ZodObject<{
|
|
2520
|
+
message: z.ZodString;
|
|
2521
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
2522
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
} & {
|
|
2524
|
+
error_code: z.ZodLiteral<"keynest_unsupported_third_party_locker">;
|
|
2525
|
+
}, "strip", z.ZodTypeAny, {
|
|
2526
|
+
message: string;
|
|
2527
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
2528
|
+
is_access_code_error: true;
|
|
2529
|
+
created_at?: string | undefined;
|
|
2530
|
+
}, {
|
|
2531
|
+
message: string;
|
|
2532
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
2533
|
+
is_access_code_error: true;
|
|
2534
|
+
created_at?: string | undefined;
|
|
2477
2535
|
}>, ...(z.ZodObject<{
|
|
2478
2536
|
created_at: z.ZodString;
|
|
2479
2537
|
message: z.ZodString;
|
|
@@ -3202,6 +3260,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3202
3260
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
3203
3261
|
is_access_code_error: true;
|
|
3204
3262
|
created_at?: string | undefined;
|
|
3263
|
+
} | {
|
|
3264
|
+
message: string;
|
|
3265
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
3266
|
+
is_access_code_error: true;
|
|
3267
|
+
created_at?: string | undefined;
|
|
3205
3268
|
})[];
|
|
3206
3269
|
warnings: ({
|
|
3207
3270
|
message: string;
|
|
@@ -3487,6 +3550,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3487
3550
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
3488
3551
|
is_access_code_error: true;
|
|
3489
3552
|
created_at?: string | undefined;
|
|
3553
|
+
} | {
|
|
3554
|
+
message: string;
|
|
3555
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
3556
|
+
is_access_code_error: true;
|
|
3557
|
+
created_at?: string | undefined;
|
|
3490
3558
|
})[];
|
|
3491
3559
|
warnings: ({
|
|
3492
3560
|
message: string;
|
|
@@ -28281,6 +28349,22 @@ declare const batch: z.ZodObject<{
|
|
|
28281
28349
|
error_code: "kwikset_insufficient_permissions";
|
|
28282
28350
|
is_access_code_error: true;
|
|
28283
28351
|
created_at?: string | undefined;
|
|
28352
|
+
}>, z.ZodObject<{
|
|
28353
|
+
message: z.ZodString;
|
|
28354
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
28355
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
28356
|
+
} & {
|
|
28357
|
+
error_code: z.ZodLiteral<"keynest_unsupported_third_party_locker">;
|
|
28358
|
+
}, "strip", z.ZodTypeAny, {
|
|
28359
|
+
message: string;
|
|
28360
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
28361
|
+
is_access_code_error: true;
|
|
28362
|
+
created_at?: string | undefined;
|
|
28363
|
+
}, {
|
|
28364
|
+
message: string;
|
|
28365
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
28366
|
+
is_access_code_error: true;
|
|
28367
|
+
created_at?: string | undefined;
|
|
28284
28368
|
}>, ...(z.ZodObject<{
|
|
28285
28369
|
created_at: z.ZodString;
|
|
28286
28370
|
message: z.ZodString;
|
|
@@ -29015,6 +29099,11 @@ declare const batch: z.ZodObject<{
|
|
|
29015
29099
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
29016
29100
|
is_access_code_error: true;
|
|
29017
29101
|
created_at?: string | undefined;
|
|
29102
|
+
} | {
|
|
29103
|
+
message: string;
|
|
29104
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
29105
|
+
is_access_code_error: true;
|
|
29106
|
+
created_at?: string | undefined;
|
|
29018
29107
|
})[];
|
|
29019
29108
|
warnings: ({
|
|
29020
29109
|
message: string;
|
|
@@ -29309,6 +29398,11 @@ declare const batch: z.ZodObject<{
|
|
|
29309
29398
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
29310
29399
|
is_access_code_error: true;
|
|
29311
29400
|
created_at?: string | undefined;
|
|
29401
|
+
} | {
|
|
29402
|
+
message: string;
|
|
29403
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
29404
|
+
is_access_code_error: true;
|
|
29405
|
+
created_at?: string | undefined;
|
|
29312
29406
|
})[];
|
|
29313
29407
|
warnings: ({
|
|
29314
29408
|
message: string;
|
|
@@ -29782,6 +29876,22 @@ declare const batch: z.ZodObject<{
|
|
|
29782
29876
|
error_code: "kwikset_insufficient_permissions";
|
|
29783
29877
|
is_access_code_error: true;
|
|
29784
29878
|
created_at?: string | undefined;
|
|
29879
|
+
}>, z.ZodObject<{
|
|
29880
|
+
message: z.ZodString;
|
|
29881
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
29882
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
29883
|
+
} & {
|
|
29884
|
+
error_code: z.ZodLiteral<"keynest_unsupported_third_party_locker">;
|
|
29885
|
+
}, "strip", z.ZodTypeAny, {
|
|
29886
|
+
message: string;
|
|
29887
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
29888
|
+
is_access_code_error: true;
|
|
29889
|
+
created_at?: string | undefined;
|
|
29890
|
+
}, {
|
|
29891
|
+
message: string;
|
|
29892
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
29893
|
+
is_access_code_error: true;
|
|
29894
|
+
created_at?: string | undefined;
|
|
29785
29895
|
}>, ...(z.ZodObject<{
|
|
29786
29896
|
created_at: z.ZodString;
|
|
29787
29897
|
message: z.ZodString;
|
|
@@ -30510,6 +30620,11 @@ declare const batch: z.ZodObject<{
|
|
|
30510
30620
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
30511
30621
|
is_access_code_error: true;
|
|
30512
30622
|
created_at?: string | undefined;
|
|
30623
|
+
} | {
|
|
30624
|
+
message: string;
|
|
30625
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
30626
|
+
is_access_code_error: true;
|
|
30627
|
+
created_at?: string | undefined;
|
|
30513
30628
|
})[];
|
|
30514
30629
|
warnings: ({
|
|
30515
30630
|
message: string;
|
|
@@ -30795,6 +30910,11 @@ declare const batch: z.ZodObject<{
|
|
|
30795
30910
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
30796
30911
|
is_access_code_error: true;
|
|
30797
30912
|
created_at?: string | undefined;
|
|
30913
|
+
} | {
|
|
30914
|
+
message: string;
|
|
30915
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
30916
|
+
is_access_code_error: true;
|
|
30917
|
+
created_at?: string | undefined;
|
|
30798
30918
|
})[];
|
|
30799
30919
|
warnings: ({
|
|
30800
30920
|
message: string;
|
|
@@ -34516,6 +34636,11 @@ declare const batch: z.ZodObject<{
|
|
|
34516
34636
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
34517
34637
|
is_access_code_error: true;
|
|
34518
34638
|
created_at?: string | undefined;
|
|
34639
|
+
} | {
|
|
34640
|
+
message: string;
|
|
34641
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
34642
|
+
is_access_code_error: true;
|
|
34643
|
+
created_at?: string | undefined;
|
|
34519
34644
|
})[];
|
|
34520
34645
|
warnings: ({
|
|
34521
34646
|
message: string;
|
|
@@ -34811,6 +34936,11 @@ declare const batch: z.ZodObject<{
|
|
|
34811
34936
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
34812
34937
|
is_access_code_error: true;
|
|
34813
34938
|
created_at?: string | undefined;
|
|
34939
|
+
} | {
|
|
34940
|
+
message: string;
|
|
34941
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
34942
|
+
is_access_code_error: true;
|
|
34943
|
+
created_at?: string | undefined;
|
|
34814
34944
|
})[];
|
|
34815
34945
|
warnings: ({
|
|
34816
34946
|
message: string;
|
|
@@ -38427,6 +38557,11 @@ declare const batch: z.ZodObject<{
|
|
|
38427
38557
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
38428
38558
|
is_access_code_error: true;
|
|
38429
38559
|
created_at?: string | undefined;
|
|
38560
|
+
} | {
|
|
38561
|
+
message: string;
|
|
38562
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
38563
|
+
is_access_code_error: true;
|
|
38564
|
+
created_at?: string | undefined;
|
|
38430
38565
|
})[];
|
|
38431
38566
|
warnings: ({
|
|
38432
38567
|
message: string;
|
|
@@ -38722,6 +38857,11 @@ declare const batch: z.ZodObject<{
|
|
|
38722
38857
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
38723
38858
|
is_access_code_error: true;
|
|
38724
38859
|
created_at?: string | undefined;
|
|
38860
|
+
} | {
|
|
38861
|
+
message: string;
|
|
38862
|
+
error_code: "keynest_unsupported_third_party_locker";
|
|
38863
|
+
is_access_code_error: true;
|
|
38864
|
+
created_at?: string | undefined;
|
|
38725
38865
|
})[];
|
|
38726
38866
|
warnings: ({
|
|
38727
38867
|
message: string;
|
|
@@ -110409,6 +110549,15 @@ type Routes = {
|
|
|
110409
110549
|
created_at?: string | undefined;
|
|
110410
110550
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
110411
110551
|
error_code: 'kwikset_insufficient_permissions';
|
|
110552
|
+
} | {
|
|
110553
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
110554
|
+
message: string;
|
|
110555
|
+
/** Indicates that this is an access code error. */
|
|
110556
|
+
is_access_code_error: true;
|
|
110557
|
+
/** Date and time at which Seam created the error. */
|
|
110558
|
+
created_at?: string | undefined;
|
|
110559
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
110560
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
110412
110561
|
} | {
|
|
110413
110562
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
110414
110563
|
message: string;
|
|
@@ -110954,6 +111103,15 @@ type Routes = {
|
|
|
110954
111103
|
created_at?: string | undefined;
|
|
110955
111104
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
110956
111105
|
error_code: 'kwikset_insufficient_permissions';
|
|
111106
|
+
} | {
|
|
111107
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
111108
|
+
message: string;
|
|
111109
|
+
/** Indicates that this is an access code error. */
|
|
111110
|
+
is_access_code_error: true;
|
|
111111
|
+
/** Date and time at which Seam created the error. */
|
|
111112
|
+
created_at?: string | undefined;
|
|
111113
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
111114
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
110957
111115
|
} | {
|
|
110958
111116
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
110959
111117
|
message: string;
|
|
@@ -112763,6 +112921,15 @@ type Routes = {
|
|
|
112763
112921
|
created_at?: string | undefined;
|
|
112764
112922
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
112765
112923
|
error_code: 'kwikset_insufficient_permissions';
|
|
112924
|
+
} | {
|
|
112925
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
112926
|
+
message: string;
|
|
112927
|
+
/** Indicates that this is an access code error. */
|
|
112928
|
+
is_access_code_error: true;
|
|
112929
|
+
/** Date and time at which Seam created the error. */
|
|
112930
|
+
created_at?: string | undefined;
|
|
112931
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
112932
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
112766
112933
|
} | {
|
|
112767
112934
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
112768
112935
|
message: string;
|
|
@@ -113282,6 +113449,15 @@ type Routes = {
|
|
|
113282
113449
|
created_at?: string | undefined;
|
|
113283
113450
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
113284
113451
|
error_code: 'kwikset_insufficient_permissions';
|
|
113452
|
+
} | {
|
|
113453
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
113454
|
+
message: string;
|
|
113455
|
+
/** Indicates that this is an access code error. */
|
|
113456
|
+
is_access_code_error: true;
|
|
113457
|
+
/** Date and time at which Seam created the error. */
|
|
113458
|
+
created_at?: string | undefined;
|
|
113459
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
113460
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
113285
113461
|
} | {
|
|
113286
113462
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
113287
113463
|
message: string;
|
|
@@ -113807,6 +113983,15 @@ type Routes = {
|
|
|
113807
113983
|
created_at?: string | undefined;
|
|
113808
113984
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
113809
113985
|
error_code: 'kwikset_insufficient_permissions';
|
|
113986
|
+
} | {
|
|
113987
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
113988
|
+
message: string;
|
|
113989
|
+
/** Indicates that this is an access code error. */
|
|
113990
|
+
is_access_code_error: true;
|
|
113991
|
+
/** Date and time at which Seam created the error. */
|
|
113992
|
+
created_at?: string | undefined;
|
|
113993
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
113994
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
113810
113995
|
} | {
|
|
113811
113996
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
113812
113997
|
message: string;
|
|
@@ -114310,6 +114495,15 @@ type Routes = {
|
|
|
114310
114495
|
created_at?: string | undefined;
|
|
114311
114496
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
114312
114497
|
error_code: 'kwikset_insufficient_permissions';
|
|
114498
|
+
} | {
|
|
114499
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
114500
|
+
message: string;
|
|
114501
|
+
/** Indicates that this is an access code error. */
|
|
114502
|
+
is_access_code_error: true;
|
|
114503
|
+
/** Date and time at which Seam created the error. */
|
|
114504
|
+
created_at?: string | undefined;
|
|
114505
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
114506
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
114313
114507
|
} | {
|
|
114314
114508
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
114315
114509
|
message: string;
|
|
@@ -114846,6 +115040,15 @@ type Routes = {
|
|
|
114846
115040
|
created_at?: string | undefined;
|
|
114847
115041
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
114848
115042
|
error_code: 'kwikset_insufficient_permissions';
|
|
115043
|
+
} | {
|
|
115044
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
115045
|
+
message: string;
|
|
115046
|
+
/** Indicates that this is an access code error. */
|
|
115047
|
+
is_access_code_error: true;
|
|
115048
|
+
/** Date and time at which Seam created the error. */
|
|
115049
|
+
created_at?: string | undefined;
|
|
115050
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
115051
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
114849
115052
|
} | {
|
|
114850
115053
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
114851
115054
|
message: string;
|
|
@@ -116642,6 +116845,15 @@ type Routes = {
|
|
|
116642
116845
|
created_at?: string | undefined;
|
|
116643
116846
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
116644
116847
|
error_code: 'kwikset_insufficient_permissions';
|
|
116848
|
+
} | {
|
|
116849
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
116850
|
+
message: string;
|
|
116851
|
+
/** Indicates that this is an access code error. */
|
|
116852
|
+
is_access_code_error: true;
|
|
116853
|
+
/** Date and time at which Seam created the error. */
|
|
116854
|
+
created_at?: string | undefined;
|
|
116855
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
116856
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
116645
116857
|
} | {
|
|
116646
116858
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
116647
116859
|
message: string;
|
|
@@ -117139,6 +117351,15 @@ type Routes = {
|
|
|
117139
117351
|
created_at?: string | undefined;
|
|
117140
117352
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
117141
117353
|
error_code: 'kwikset_insufficient_permissions';
|
|
117354
|
+
} | {
|
|
117355
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
117356
|
+
message: string;
|
|
117357
|
+
/** Indicates that this is an access code error. */
|
|
117358
|
+
is_access_code_error: true;
|
|
117359
|
+
/** Date and time at which Seam created the error. */
|
|
117360
|
+
created_at?: string | undefined;
|
|
117361
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
117362
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
117142
117363
|
} | {
|
|
117143
117364
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
117144
117365
|
message: string;
|
|
@@ -128616,6 +128837,15 @@ type Routes = {
|
|
|
128616
128837
|
created_at?: string | undefined;
|
|
128617
128838
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
128618
128839
|
error_code: 'kwikset_insufficient_permissions';
|
|
128840
|
+
} | {
|
|
128841
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
128842
|
+
message: string;
|
|
128843
|
+
/** Indicates that this is an access code error. */
|
|
128844
|
+
is_access_code_error: true;
|
|
128845
|
+
/** Date and time at which Seam created the error. */
|
|
128846
|
+
created_at?: string | undefined;
|
|
128847
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
128848
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
128619
128849
|
} | {
|
|
128620
128850
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
128621
128851
|
message: string;
|
|
@@ -129106,6 +129336,15 @@ type Routes = {
|
|
|
129106
129336
|
created_at?: string | undefined;
|
|
129107
129337
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
129108
129338
|
error_code: 'kwikset_insufficient_permissions';
|
|
129339
|
+
} | {
|
|
129340
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
129341
|
+
message: string;
|
|
129342
|
+
/** Indicates that this is an access code error. */
|
|
129343
|
+
is_access_code_error: true;
|
|
129344
|
+
/** Date and time at which Seam created the error. */
|
|
129345
|
+
created_at?: string | undefined;
|
|
129346
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
129347
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
129109
129348
|
} | {
|
|
129110
129349
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
129111
129350
|
message: string;
|
|
@@ -189639,7 +189878,7 @@ type Routes = {
|
|
|
189639
189878
|
queryParams: {};
|
|
189640
189879
|
jsonBody: {};
|
|
189641
189880
|
commonParams: {
|
|
189642
|
-
/** String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `
|
|
189881
|
+
/** String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `user_identity_id` or `acs_system_id`. */
|
|
189643
189882
|
search?: string | undefined;
|
|
189644
189883
|
/** Maximum number of records to return per page. */
|
|
189645
189884
|
limit?: number;
|
|
@@ -196308,6 +196547,15 @@ type Routes = {
|
|
|
196308
196547
|
created_at?: string | undefined;
|
|
196309
196548
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
196310
196549
|
error_code: 'kwikset_insufficient_permissions';
|
|
196550
|
+
} | {
|
|
196551
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
196552
|
+
message: string;
|
|
196553
|
+
/** Indicates that this is an access code error. */
|
|
196554
|
+
is_access_code_error: true;
|
|
196555
|
+
/** Date and time at which Seam created the error. */
|
|
196556
|
+
created_at?: string | undefined;
|
|
196557
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
196558
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
196311
196559
|
} | {
|
|
196312
196560
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
196313
196561
|
message: string;
|
|
@@ -196798,6 +197046,15 @@ type Routes = {
|
|
|
196798
197046
|
created_at?: string | undefined;
|
|
196799
197047
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
196800
197048
|
error_code: 'kwikset_insufficient_permissions';
|
|
197049
|
+
} | {
|
|
197050
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
197051
|
+
message: string;
|
|
197052
|
+
/** Indicates that this is an access code error. */
|
|
197053
|
+
is_access_code_error: true;
|
|
197054
|
+
/** Date and time at which Seam created the error. */
|
|
197055
|
+
created_at?: string | undefined;
|
|
197056
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
197057
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
196801
197058
|
} | {
|
|
196802
197059
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
196803
197060
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2037,6 +2037,9 @@ var wyze_potential_duplicate_code = common_access_code_error.extend({
|
|
|
2037
2037
|
var dormakaba_oracode_no_valid_user_level = common_access_code_error.extend({
|
|
2038
2038
|
error_code: zod.z.literal("dormakaba_oracode_no_valid_user_level").describe(error_code_description3)
|
|
2039
2039
|
}).describe("No valid user level for Oracode.");
|
|
2040
|
+
var keynest_unsupported_third_party_locker = common_access_code_error.extend({
|
|
2041
|
+
error_code: zod.z.literal("keynest_unsupported_third_party_locker").describe(error_code_description3)
|
|
2042
|
+
}).describe("KeyNest locker is not supported.");
|
|
2040
2043
|
var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
2041
2044
|
smartthings_failed_to_set_access_code_error,
|
|
2042
2045
|
smartthings_failed_to_set_after_multiple_retries,
|
|
@@ -2062,7 +2065,8 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2062
2065
|
wyze_duplicate_code_name,
|
|
2063
2066
|
wyze_potential_duplicate_code,
|
|
2064
2067
|
dormakaba_oracode_no_valid_user_level,
|
|
2065
|
-
kwikset_insufficient_permissions
|
|
2068
|
+
kwikset_insufficient_permissions,
|
|
2069
|
+
keynest_unsupported_third_party_locker
|
|
2066
2070
|
]).describe(
|
|
2067
2071
|
"Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
|
|
2068
2072
|
);
|
|
@@ -2091,7 +2095,8 @@ zod.z.object({
|
|
|
2091
2095
|
hubitat_no_free_positions_available: hubitat_no_free_positions_available.optional().nullable(),
|
|
2092
2096
|
wyze_duplicate_code_name: wyze_duplicate_code_name.optional().nullable(),
|
|
2093
2097
|
wyze_potential_duplicate_code: wyze_potential_duplicate_code.optional().nullable(),
|
|
2094
|
-
dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level.optional().nullable()
|
|
2098
|
+
dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level.optional().nullable(),
|
|
2099
|
+
keynest_unsupported_third_party_locker: keynest_unsupported_third_party_locker.optional().nullable()
|
|
2095
2100
|
});
|
|
2096
2101
|
var common_access_code_warning = zod.z.object({
|
|
2097
2102
|
message: zod.z.string().describe(
|
|
@@ -6502,6 +6507,32 @@ var openapi_default = {
|
|
|
6502
6507
|
required: ["message", "is_access_code_error", "error_code"],
|
|
6503
6508
|
type: "object"
|
|
6504
6509
|
},
|
|
6510
|
+
{
|
|
6511
|
+
description: "KeyNest locker is not supported.",
|
|
6512
|
+
properties: {
|
|
6513
|
+
created_at: {
|
|
6514
|
+
description: "Date and time at which Seam created the error.",
|
|
6515
|
+
format: "date-time",
|
|
6516
|
+
type: "string"
|
|
6517
|
+
},
|
|
6518
|
+
error_code: {
|
|
6519
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
6520
|
+
enum: ["keynest_unsupported_third_party_locker"],
|
|
6521
|
+
type: "string"
|
|
6522
|
+
},
|
|
6523
|
+
is_access_code_error: {
|
|
6524
|
+
description: "Indicates that this is an access code error.",
|
|
6525
|
+
enum: [true],
|
|
6526
|
+
type: "boolean"
|
|
6527
|
+
},
|
|
6528
|
+
message: {
|
|
6529
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
6530
|
+
type: "string"
|
|
6531
|
+
}
|
|
6532
|
+
},
|
|
6533
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
6534
|
+
type: "object"
|
|
6535
|
+
},
|
|
6505
6536
|
{
|
|
6506
6537
|
description: "Indicates that the account is disconnected.",
|
|
6507
6538
|
properties: {
|
|
@@ -25449,6 +25480,32 @@ var openapi_default = {
|
|
|
25449
25480
|
required: ["message", "is_access_code_error", "error_code"],
|
|
25450
25481
|
type: "object"
|
|
25451
25482
|
},
|
|
25483
|
+
{
|
|
25484
|
+
description: "KeyNest locker is not supported.",
|
|
25485
|
+
properties: {
|
|
25486
|
+
created_at: {
|
|
25487
|
+
description: "Date and time at which Seam created the error.",
|
|
25488
|
+
format: "date-time",
|
|
25489
|
+
type: "string"
|
|
25490
|
+
},
|
|
25491
|
+
error_code: {
|
|
25492
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
25493
|
+
enum: ["keynest_unsupported_third_party_locker"],
|
|
25494
|
+
type: "string"
|
|
25495
|
+
},
|
|
25496
|
+
is_access_code_error: {
|
|
25497
|
+
description: "Indicates that this is an access code error.",
|
|
25498
|
+
enum: [true],
|
|
25499
|
+
type: "boolean"
|
|
25500
|
+
},
|
|
25501
|
+
message: {
|
|
25502
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
25503
|
+
type: "string"
|
|
25504
|
+
}
|
|
25505
|
+
},
|
|
25506
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
25507
|
+
type: "object"
|
|
25508
|
+
},
|
|
25452
25509
|
{
|
|
25453
25510
|
description: "Indicates that the account is disconnected.",
|
|
25454
25511
|
properties: {
|
|
@@ -63280,7 +63337,7 @@ var openapi_default = {
|
|
|
63280
63337
|
in: "query",
|
|
63281
63338
|
name: "search",
|
|
63282
63339
|
schema: {
|
|
63283
|
-
description: "String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `
|
|
63340
|
+
description: "String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `user_identity_id` or `acs_system_id`.",
|
|
63284
63341
|
type: "string"
|
|
63285
63342
|
}
|
|
63286
63343
|
},
|
|
@@ -63542,7 +63599,7 @@ var openapi_default = {
|
|
|
63542
63599
|
type: "string"
|
|
63543
63600
|
},
|
|
63544
63601
|
search: {
|
|
63545
|
-
description: "String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `
|
|
63602
|
+
description: "String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `user_identity_id` or `acs_system_id`.",
|
|
63546
63603
|
type: "string"
|
|
63547
63604
|
}
|
|
63548
63605
|
},
|