@seamapi/types 1.823.0 → 1.824.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 +14 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +49 -0
- package/dist/index.cjs +14 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +13 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -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 +5 -0
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/openapi.js +10 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +22 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +12 -0
- package/src/lib/seam/connect/route-types.ts +22 -0
package/dist/connect.d.cts
CHANGED
|
@@ -86,16 +86,19 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
86
86
|
created_at: z.ZodOptional<z.ZodString>;
|
|
87
87
|
} & {
|
|
88
88
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
89
|
+
unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
|
|
89
90
|
}, "strip", z.ZodTypeAny, {
|
|
90
91
|
message: string;
|
|
91
92
|
error_code: "duplicate_code_on_device";
|
|
92
93
|
is_access_code_error: true;
|
|
93
94
|
created_at?: string | undefined;
|
|
95
|
+
unmanaged_access_code_id?: string | undefined;
|
|
94
96
|
}, {
|
|
95
97
|
message: string;
|
|
96
98
|
error_code: "duplicate_code_on_device";
|
|
97
99
|
is_access_code_error: true;
|
|
98
100
|
created_at?: string | undefined;
|
|
101
|
+
unmanaged_access_code_id?: string | undefined;
|
|
99
102
|
}>, z.ZodObject<{
|
|
100
103
|
message: z.ZodString;
|
|
101
104
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -661,16 +664,19 @@ declare const access_code: z.ZodObject<{
|
|
|
661
664
|
created_at: z.ZodOptional<z.ZodString>;
|
|
662
665
|
} & {
|
|
663
666
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
667
|
+
unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
|
|
664
668
|
}, "strip", z.ZodTypeAny, {
|
|
665
669
|
message: string;
|
|
666
670
|
error_code: "duplicate_code_on_device";
|
|
667
671
|
is_access_code_error: true;
|
|
668
672
|
created_at?: string | undefined;
|
|
673
|
+
unmanaged_access_code_id?: string | undefined;
|
|
669
674
|
}, {
|
|
670
675
|
message: string;
|
|
671
676
|
error_code: "duplicate_code_on_device";
|
|
672
677
|
is_access_code_error: true;
|
|
673
678
|
created_at?: string | undefined;
|
|
679
|
+
unmanaged_access_code_id?: string | undefined;
|
|
674
680
|
}>, z.ZodObject<{
|
|
675
681
|
message: z.ZodString;
|
|
676
682
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -1816,6 +1822,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1816
1822
|
error_code: "duplicate_code_on_device";
|
|
1817
1823
|
is_access_code_error: true;
|
|
1818
1824
|
created_at?: string | undefined;
|
|
1825
|
+
unmanaged_access_code_id?: string | undefined;
|
|
1819
1826
|
} | {
|
|
1820
1827
|
message: string;
|
|
1821
1828
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -2167,6 +2174,7 @@ declare const access_code: z.ZodObject<{
|
|
|
2167
2174
|
error_code: "duplicate_code_on_device";
|
|
2168
2175
|
is_access_code_error: true;
|
|
2169
2176
|
created_at?: string | undefined;
|
|
2177
|
+
unmanaged_access_code_id?: string | undefined;
|
|
2170
2178
|
} | {
|
|
2171
2179
|
message: string;
|
|
2172
2180
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -2480,16 +2488,19 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2480
2488
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2481
2489
|
} & {
|
|
2482
2490
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
2491
|
+
unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
|
|
2483
2492
|
}, "strip", z.ZodTypeAny, {
|
|
2484
2493
|
message: string;
|
|
2485
2494
|
error_code: "duplicate_code_on_device";
|
|
2486
2495
|
is_access_code_error: true;
|
|
2487
2496
|
created_at?: string | undefined;
|
|
2497
|
+
unmanaged_access_code_id?: string | undefined;
|
|
2488
2498
|
}, {
|
|
2489
2499
|
message: string;
|
|
2490
2500
|
error_code: "duplicate_code_on_device";
|
|
2491
2501
|
is_access_code_error: true;
|
|
2492
2502
|
created_at?: string | undefined;
|
|
2503
|
+
unmanaged_access_code_id?: string | undefined;
|
|
2493
2504
|
}>, z.ZodObject<{
|
|
2494
2505
|
message: z.ZodString;
|
|
2495
2506
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -3459,6 +3470,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3459
3470
|
error_code: "duplicate_code_on_device";
|
|
3460
3471
|
is_access_code_error: true;
|
|
3461
3472
|
created_at?: string | undefined;
|
|
3473
|
+
unmanaged_access_code_id?: string | undefined;
|
|
3462
3474
|
} | {
|
|
3463
3475
|
message: string;
|
|
3464
3476
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -3755,6 +3767,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3755
3767
|
error_code: "duplicate_code_on_device";
|
|
3756
3768
|
is_access_code_error: true;
|
|
3757
3769
|
created_at?: string | undefined;
|
|
3770
|
+
unmanaged_access_code_id?: string | undefined;
|
|
3758
3771
|
} | {
|
|
3759
3772
|
message: string;
|
|
3760
3773
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -34894,16 +34907,19 @@ declare const batch: z.ZodObject<{
|
|
|
34894
34907
|
created_at: z.ZodOptional<z.ZodString>;
|
|
34895
34908
|
} & {
|
|
34896
34909
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
34910
|
+
unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
|
|
34897
34911
|
}, "strip", z.ZodTypeAny, {
|
|
34898
34912
|
message: string;
|
|
34899
34913
|
error_code: "duplicate_code_on_device";
|
|
34900
34914
|
is_access_code_error: true;
|
|
34901
34915
|
created_at?: string | undefined;
|
|
34916
|
+
unmanaged_access_code_id?: string | undefined;
|
|
34902
34917
|
}, {
|
|
34903
34918
|
message: string;
|
|
34904
34919
|
error_code: "duplicate_code_on_device";
|
|
34905
34920
|
is_access_code_error: true;
|
|
34906
34921
|
created_at?: string | undefined;
|
|
34922
|
+
unmanaged_access_code_id?: string | undefined;
|
|
34907
34923
|
}>, z.ZodObject<{
|
|
34908
34924
|
message: z.ZodString;
|
|
34909
34925
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -36049,6 +36065,7 @@ declare const batch: z.ZodObject<{
|
|
|
36049
36065
|
error_code: "duplicate_code_on_device";
|
|
36050
36066
|
is_access_code_error: true;
|
|
36051
36067
|
created_at?: string | undefined;
|
|
36068
|
+
unmanaged_access_code_id?: string | undefined;
|
|
36052
36069
|
} | {
|
|
36053
36070
|
message: string;
|
|
36054
36071
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -36400,6 +36417,7 @@ declare const batch: z.ZodObject<{
|
|
|
36400
36417
|
error_code: "duplicate_code_on_device";
|
|
36401
36418
|
is_access_code_error: true;
|
|
36402
36419
|
created_at?: string | undefined;
|
|
36420
|
+
unmanaged_access_code_id?: string | undefined;
|
|
36403
36421
|
} | {
|
|
36404
36422
|
message: string;
|
|
36405
36423
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -36711,16 +36729,19 @@ declare const batch: z.ZodObject<{
|
|
|
36711
36729
|
created_at: z.ZodOptional<z.ZodString>;
|
|
36712
36730
|
} & {
|
|
36713
36731
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
36732
|
+
unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
|
|
36714
36733
|
}, "strip", z.ZodTypeAny, {
|
|
36715
36734
|
message: string;
|
|
36716
36735
|
error_code: "duplicate_code_on_device";
|
|
36717
36736
|
is_access_code_error: true;
|
|
36718
36737
|
created_at?: string | undefined;
|
|
36738
|
+
unmanaged_access_code_id?: string | undefined;
|
|
36719
36739
|
}, {
|
|
36720
36740
|
message: string;
|
|
36721
36741
|
error_code: "duplicate_code_on_device";
|
|
36722
36742
|
is_access_code_error: true;
|
|
36723
36743
|
created_at?: string | undefined;
|
|
36744
|
+
unmanaged_access_code_id?: string | undefined;
|
|
36724
36745
|
}>, z.ZodObject<{
|
|
36725
36746
|
message: z.ZodString;
|
|
36726
36747
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -37690,6 +37711,7 @@ declare const batch: z.ZodObject<{
|
|
|
37690
37711
|
error_code: "duplicate_code_on_device";
|
|
37691
37712
|
is_access_code_error: true;
|
|
37692
37713
|
created_at?: string | undefined;
|
|
37714
|
+
unmanaged_access_code_id?: string | undefined;
|
|
37693
37715
|
} | {
|
|
37694
37716
|
message: string;
|
|
37695
37717
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -37986,6 +38008,7 @@ declare const batch: z.ZodObject<{
|
|
|
37986
38008
|
error_code: "duplicate_code_on_device";
|
|
37987
38009
|
is_access_code_error: true;
|
|
37988
38010
|
created_at?: string | undefined;
|
|
38011
|
+
unmanaged_access_code_id?: string | undefined;
|
|
37989
38012
|
} | {
|
|
37990
38013
|
message: string;
|
|
37991
38014
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -42721,6 +42744,7 @@ declare const batch: z.ZodObject<{
|
|
|
42721
42744
|
error_code: "duplicate_code_on_device";
|
|
42722
42745
|
is_access_code_error: true;
|
|
42723
42746
|
created_at?: string | undefined;
|
|
42747
|
+
unmanaged_access_code_id?: string | undefined;
|
|
42724
42748
|
} | {
|
|
42725
42749
|
message: string;
|
|
42726
42750
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -43073,6 +43097,7 @@ declare const batch: z.ZodObject<{
|
|
|
43073
43097
|
error_code: "duplicate_code_on_device";
|
|
43074
43098
|
is_access_code_error: true;
|
|
43075
43099
|
created_at?: string | undefined;
|
|
43100
|
+
unmanaged_access_code_id?: string | undefined;
|
|
43076
43101
|
} | {
|
|
43077
43102
|
message: string;
|
|
43078
43103
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -47681,6 +47706,7 @@ declare const batch: z.ZodObject<{
|
|
|
47681
47706
|
error_code: "duplicate_code_on_device";
|
|
47682
47707
|
is_access_code_error: true;
|
|
47683
47708
|
created_at?: string | undefined;
|
|
47709
|
+
unmanaged_access_code_id?: string | undefined;
|
|
47684
47710
|
} | {
|
|
47685
47711
|
message: string;
|
|
47686
47712
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -48033,6 +48059,7 @@ declare const batch: z.ZodObject<{
|
|
|
48033
48059
|
error_code: "duplicate_code_on_device";
|
|
48034
48060
|
is_access_code_error: true;
|
|
48035
48061
|
created_at?: string | undefined;
|
|
48062
|
+
unmanaged_access_code_id?: string | undefined;
|
|
48036
48063
|
} | {
|
|
48037
48064
|
message: string;
|
|
48038
48065
|
error_code: "duplicate_code_attempt_prevented";
|
|
@@ -65184,6 +65211,8 @@ type Routes = {
|
|
|
65184
65211
|
created_at?: string | undefined;
|
|
65185
65212
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
65186
65213
|
error_code: 'duplicate_code_on_device';
|
|
65214
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
65215
|
+
unmanaged_access_code_id?: string | undefined;
|
|
65187
65216
|
} | {
|
|
65188
65217
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
65189
65218
|
message: string;
|
|
@@ -65821,6 +65850,8 @@ type Routes = {
|
|
|
65821
65850
|
created_at?: string | undefined;
|
|
65822
65851
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
65823
65852
|
error_code: 'duplicate_code_on_device';
|
|
65853
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
65854
|
+
unmanaged_access_code_id?: string | undefined;
|
|
65824
65855
|
} | {
|
|
65825
65856
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
65826
65857
|
message: string;
|
|
@@ -67804,6 +67835,8 @@ type Routes = {
|
|
|
67804
67835
|
created_at?: string | undefined;
|
|
67805
67836
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67806
67837
|
error_code: 'duplicate_code_on_device';
|
|
67838
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
67839
|
+
unmanaged_access_code_id?: string | undefined;
|
|
67807
67840
|
} | {
|
|
67808
67841
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67809
67842
|
message: string;
|
|
@@ -68487,6 +68520,8 @@ type Routes = {
|
|
|
68487
68520
|
created_at?: string | undefined;
|
|
68488
68521
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68489
68522
|
error_code: 'duplicate_code_on_device';
|
|
68523
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
68524
|
+
unmanaged_access_code_id?: string | undefined;
|
|
68490
68525
|
} | {
|
|
68491
68526
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68492
68527
|
message: string;
|
|
@@ -69113,6 +69148,8 @@ type Routes = {
|
|
|
69113
69148
|
created_at?: string | undefined;
|
|
69114
69149
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
69115
69150
|
error_code: 'duplicate_code_on_device';
|
|
69151
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
69152
|
+
unmanaged_access_code_id?: string | undefined;
|
|
69116
69153
|
} | {
|
|
69117
69154
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
69118
69155
|
message: string;
|
|
@@ -69716,6 +69753,8 @@ type Routes = {
|
|
|
69716
69753
|
created_at?: string | undefined;
|
|
69717
69754
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
69718
69755
|
error_code: 'duplicate_code_on_device';
|
|
69756
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
69757
|
+
unmanaged_access_code_id?: string | undefined;
|
|
69719
69758
|
} | {
|
|
69720
69759
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
69721
69760
|
message: string;
|
|
@@ -70354,6 +70393,8 @@ type Routes = {
|
|
|
70354
70393
|
created_at?: string | undefined;
|
|
70355
70394
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
70356
70395
|
error_code: 'duplicate_code_on_device';
|
|
70396
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
70397
|
+
unmanaged_access_code_id?: string | undefined;
|
|
70357
70398
|
} | {
|
|
70358
70399
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70359
70400
|
message: string;
|
|
@@ -72244,6 +72285,8 @@ type Routes = {
|
|
|
72244
72285
|
created_at?: string | undefined;
|
|
72245
72286
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72246
72287
|
error_code: 'duplicate_code_on_device';
|
|
72288
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
72289
|
+
unmanaged_access_code_id?: string | undefined;
|
|
72247
72290
|
} | {
|
|
72248
72291
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72249
72292
|
message: string;
|
|
@@ -72764,6 +72807,8 @@ type Routes = {
|
|
|
72764
72807
|
created_at?: string | undefined;
|
|
72765
72808
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72766
72809
|
error_code: 'duplicate_code_on_device';
|
|
72810
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
72811
|
+
unmanaged_access_code_id?: string | undefined;
|
|
72767
72812
|
} | {
|
|
72768
72813
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72769
72814
|
message: string;
|
|
@@ -163542,6 +163587,8 @@ type Routes = {
|
|
|
163542
163587
|
created_at?: string | undefined;
|
|
163543
163588
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
163544
163589
|
error_code: 'duplicate_code_on_device';
|
|
163590
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
163591
|
+
unmanaged_access_code_id?: string | undefined;
|
|
163545
163592
|
} | {
|
|
163546
163593
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
163547
163594
|
message: string;
|
|
@@ -164046,6 +164093,8 @@ type Routes = {
|
|
|
164046
164093
|
created_at?: string | undefined;
|
|
164047
164094
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
164048
164095
|
error_code: 'duplicate_code_on_device';
|
|
164096
|
+
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
164097
|
+
unmanaged_access_code_id?: string | undefined;
|
|
164049
164098
|
} | {
|
|
164050
164099
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
164051
164100
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2260,7 +2260,10 @@ var failed_to_remove_from_device = common_access_code_error.extend({
|
|
|
2260
2260
|
error_code: zod.z.literal("failed_to_remove_from_device").describe(error_code_description3)
|
|
2261
2261
|
}).describe("Failed to remove code from device.");
|
|
2262
2262
|
var duplicate_code_on_device = common_access_code_error.extend({
|
|
2263
|
-
error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3)
|
|
2263
|
+
error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3),
|
|
2264
|
+
unmanaged_access_code_id: zod.z.string().uuid().optional().describe(
|
|
2265
|
+
"ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it."
|
|
2266
|
+
)
|
|
2264
2267
|
}).describe("Duplicate access code detected on device.");
|
|
2265
2268
|
var duplicate_code_attempt_prevented = common_access_code_error.extend({
|
|
2266
2269
|
error_code: zod.z.literal("duplicate_code_attempt_prevented").describe(error_code_description3)
|
|
@@ -7135,6 +7138,11 @@ var openapi = {
|
|
|
7135
7138
|
message: {
|
|
7136
7139
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7137
7140
|
type: "string"
|
|
7141
|
+
},
|
|
7142
|
+
unmanaged_access_code_id: {
|
|
7143
|
+
description: "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.",
|
|
7144
|
+
format: "uuid",
|
|
7145
|
+
type: "string"
|
|
7138
7146
|
}
|
|
7139
7147
|
},
|
|
7140
7148
|
required: ["message", "is_access_code_error", "error_code"],
|
|
@@ -30669,6 +30677,11 @@ var openapi = {
|
|
|
30669
30677
|
message: {
|
|
30670
30678
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
30671
30679
|
type: "string"
|
|
30680
|
+
},
|
|
30681
|
+
unmanaged_access_code_id: {
|
|
30682
|
+
description: "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.",
|
|
30683
|
+
format: "uuid",
|
|
30684
|
+
type: "string"
|
|
30672
30685
|
}
|
|
30673
30686
|
},
|
|
30674
30687
|
required: ["message", "is_access_code_error", "error_code"],
|