@seamapi/types 1.264.0 → 1.264.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +74 -41
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +506 -336
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +64 -39
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +61 -21
- package/lib/seam/connect/models/action-attempts/deprecated.js +13 -5
- package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.d.ts +3 -18
- package/lib/seam/connect/models/action-attempts/encode-card.js +1 -12
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/index.d.ts +1 -0
- package/lib/seam/connect/models/action-attempts/index.js +1 -0
- package/lib/seam/connect/models/action-attempts/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +69 -36
- package/lib/seam/connect/openapi.js +57 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +320 -260
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/deprecated.ts +13 -5
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -12
- package/src/lib/seam/connect/models/action-attempts/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +57 -33
- package/src/lib/seam/connect/route-types.ts +320 -260
- package/src/lib/seam/connect/schemas.ts +3 -0
|
@@ -1056,33 +1056,18 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1056
1056
|
error: z.ZodNull;
|
|
1057
1057
|
}>, {
|
|
1058
1058
|
action_type: z.ZodLiteral<"ENCODE_CARD">;
|
|
1059
|
-
result: z.ZodObject<{
|
|
1060
|
-
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
1061
|
-
card_number: z.ZodNullable<z.ZodString>;
|
|
1062
|
-
}, "strip", z.ZodTypeAny, {
|
|
1063
|
-
acs_credential_id: string | null;
|
|
1064
|
-
card_number: string | null;
|
|
1065
|
-
}, {
|
|
1066
|
-
acs_credential_id: string | null;
|
|
1067
|
-
card_number: string | null;
|
|
1068
|
-
}>;
|
|
1059
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1069
1060
|
}>, "strip", z.ZodTypeAny, {
|
|
1070
1061
|
error: null;
|
|
1071
1062
|
status: "success";
|
|
1072
1063
|
action_attempt_id: string;
|
|
1073
|
-
result: {
|
|
1074
|
-
acs_credential_id: string | null;
|
|
1075
|
-
card_number: string | null;
|
|
1076
|
-
};
|
|
1064
|
+
result: {};
|
|
1077
1065
|
action_type: "ENCODE_CARD";
|
|
1078
1066
|
}, {
|
|
1079
1067
|
error: null;
|
|
1080
1068
|
status: "success";
|
|
1081
1069
|
action_attempt_id: string;
|
|
1082
|
-
result: {
|
|
1083
|
-
acs_credential_id: string | null;
|
|
1084
|
-
card_number: string | null;
|
|
1085
|
-
};
|
|
1070
|
+
result: {};
|
|
1086
1071
|
action_type: "ENCODE_CARD";
|
|
1087
1072
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1088
1073
|
action_attempt_id: z.ZodString;
|
|
@@ -1695,19 +1680,19 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1695
1680
|
error: z.ZodNull;
|
|
1696
1681
|
}>, {
|
|
1697
1682
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
1698
|
-
result: z.
|
|
1683
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1699
1684
|
}>, "strip", z.ZodTypeAny, {
|
|
1700
1685
|
error: null;
|
|
1701
1686
|
status: "success";
|
|
1702
1687
|
action_attempt_id: string;
|
|
1688
|
+
result: {};
|
|
1703
1689
|
action_type: "SYNC_ACCESS_CODES";
|
|
1704
|
-
result?: any;
|
|
1705
1690
|
}, {
|
|
1706
1691
|
error: null;
|
|
1707
1692
|
status: "success";
|
|
1708
1693
|
action_attempt_id: string;
|
|
1694
|
+
result: {};
|
|
1709
1695
|
action_type: "SYNC_ACCESS_CODES";
|
|
1710
|
-
result?: any;
|
|
1711
1696
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1712
1697
|
action_attempt_id: z.ZodString;
|
|
1713
1698
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -1773,19 +1758,29 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1773
1758
|
error: z.ZodNull;
|
|
1774
1759
|
}>, {
|
|
1775
1760
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
1776
|
-
result: z.
|
|
1761
|
+
result: z.ZodObject<{
|
|
1762
|
+
access_code: z.ZodAny;
|
|
1763
|
+
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
access_code?: any;
|
|
1765
|
+
}, {
|
|
1766
|
+
access_code?: any;
|
|
1767
|
+
}>;
|
|
1777
1768
|
}>, "strip", z.ZodTypeAny, {
|
|
1778
1769
|
error: null;
|
|
1779
1770
|
status: "success";
|
|
1780
1771
|
action_attempt_id: string;
|
|
1772
|
+
result: {
|
|
1773
|
+
access_code?: any;
|
|
1774
|
+
};
|
|
1781
1775
|
action_type: "CREATE_ACCESS_CODE";
|
|
1782
|
-
result?: any;
|
|
1783
1776
|
}, {
|
|
1784
1777
|
error: null;
|
|
1785
1778
|
status: "success";
|
|
1786
1779
|
action_attempt_id: string;
|
|
1780
|
+
result: {
|
|
1781
|
+
access_code?: any;
|
|
1782
|
+
};
|
|
1787
1783
|
action_type: "CREATE_ACCESS_CODE";
|
|
1788
|
-
result?: any;
|
|
1789
1784
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1790
1785
|
action_attempt_id: z.ZodString;
|
|
1791
1786
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -1851,19 +1846,19 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1851
1846
|
error: z.ZodNull;
|
|
1852
1847
|
}>, {
|
|
1853
1848
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
1854
|
-
result: z.
|
|
1849
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1855
1850
|
}>, "strip", z.ZodTypeAny, {
|
|
1856
1851
|
error: null;
|
|
1857
1852
|
status: "success";
|
|
1858
1853
|
action_attempt_id: string;
|
|
1854
|
+
result: {};
|
|
1859
1855
|
action_type: "DELETE_ACCESS_CODE";
|
|
1860
|
-
result?: any;
|
|
1861
1856
|
}, {
|
|
1862
1857
|
error: null;
|
|
1863
1858
|
status: "success";
|
|
1864
1859
|
action_attempt_id: string;
|
|
1860
|
+
result: {};
|
|
1865
1861
|
action_type: "DELETE_ACCESS_CODE";
|
|
1866
|
-
result?: any;
|
|
1867
1862
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1868
1863
|
action_attempt_id: z.ZodString;
|
|
1869
1864
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -1929,19 +1924,29 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1929
1924
|
error: z.ZodNull;
|
|
1930
1925
|
}>, {
|
|
1931
1926
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
1932
|
-
result: z.
|
|
1927
|
+
result: z.ZodObject<{
|
|
1928
|
+
access_code: z.ZodAny;
|
|
1929
|
+
}, "strip", z.ZodTypeAny, {
|
|
1930
|
+
access_code?: any;
|
|
1931
|
+
}, {
|
|
1932
|
+
access_code?: any;
|
|
1933
|
+
}>;
|
|
1933
1934
|
}>, "strip", z.ZodTypeAny, {
|
|
1934
1935
|
error: null;
|
|
1935
1936
|
status: "success";
|
|
1936
1937
|
action_attempt_id: string;
|
|
1938
|
+
result: {
|
|
1939
|
+
access_code?: any;
|
|
1940
|
+
};
|
|
1937
1941
|
action_type: "UPDATE_ACCESS_CODE";
|
|
1938
|
-
result?: any;
|
|
1939
1942
|
}, {
|
|
1940
1943
|
error: null;
|
|
1941
1944
|
status: "success";
|
|
1942
1945
|
action_attempt_id: string;
|
|
1946
|
+
result: {
|
|
1947
|
+
access_code?: any;
|
|
1948
|
+
};
|
|
1943
1949
|
action_type: "UPDATE_ACCESS_CODE";
|
|
1944
|
-
result?: any;
|
|
1945
1950
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1946
1951
|
action_attempt_id: z.ZodString;
|
|
1947
1952
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -2007,19 +2012,29 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2007
2012
|
error: z.ZodNull;
|
|
2008
2013
|
}>, {
|
|
2009
2014
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
2010
|
-
result: z.
|
|
2015
|
+
result: z.ZodObject<{
|
|
2016
|
+
noise_threshold: z.ZodAny;
|
|
2017
|
+
}, "strip", z.ZodTypeAny, {
|
|
2018
|
+
noise_threshold?: any;
|
|
2019
|
+
}, {
|
|
2020
|
+
noise_threshold?: any;
|
|
2021
|
+
}>;
|
|
2011
2022
|
}>, "strip", z.ZodTypeAny, {
|
|
2012
2023
|
error: null;
|
|
2013
2024
|
status: "success";
|
|
2014
2025
|
action_attempt_id: string;
|
|
2026
|
+
result: {
|
|
2027
|
+
noise_threshold?: any;
|
|
2028
|
+
};
|
|
2015
2029
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
2016
|
-
result?: any;
|
|
2017
2030
|
}, {
|
|
2018
2031
|
error: null;
|
|
2019
2032
|
status: "success";
|
|
2020
2033
|
action_attempt_id: string;
|
|
2034
|
+
result: {
|
|
2035
|
+
noise_threshold?: any;
|
|
2036
|
+
};
|
|
2021
2037
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
2022
|
-
result?: any;
|
|
2023
2038
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2024
2039
|
action_attempt_id: z.ZodString;
|
|
2025
2040
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -2085,19 +2100,19 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2085
2100
|
error: z.ZodNull;
|
|
2086
2101
|
}>, {
|
|
2087
2102
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
2088
|
-
result: z.
|
|
2103
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2089
2104
|
}>, "strip", z.ZodTypeAny, {
|
|
2090
2105
|
error: null;
|
|
2091
2106
|
status: "success";
|
|
2092
2107
|
action_attempt_id: string;
|
|
2108
|
+
result: {};
|
|
2093
2109
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
2094
|
-
result?: any;
|
|
2095
2110
|
}, {
|
|
2096
2111
|
error: null;
|
|
2097
2112
|
status: "success";
|
|
2098
2113
|
action_attempt_id: string;
|
|
2114
|
+
result: {};
|
|
2099
2115
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
2100
|
-
result?: any;
|
|
2101
2116
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2102
2117
|
action_attempt_id: z.ZodString;
|
|
2103
2118
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -2163,19 +2178,29 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2163
2178
|
error: z.ZodNull;
|
|
2164
2179
|
}>, {
|
|
2165
2180
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
2166
|
-
result: z.
|
|
2181
|
+
result: z.ZodObject<{
|
|
2182
|
+
noise_threshold: z.ZodAny;
|
|
2183
|
+
}, "strip", z.ZodTypeAny, {
|
|
2184
|
+
noise_threshold?: any;
|
|
2185
|
+
}, {
|
|
2186
|
+
noise_threshold?: any;
|
|
2187
|
+
}>;
|
|
2167
2188
|
}>, "strip", z.ZodTypeAny, {
|
|
2168
2189
|
error: null;
|
|
2169
2190
|
status: "success";
|
|
2170
2191
|
action_attempt_id: string;
|
|
2192
|
+
result: {
|
|
2193
|
+
noise_threshold?: any;
|
|
2194
|
+
};
|
|
2171
2195
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
2172
|
-
result?: any;
|
|
2173
2196
|
}, {
|
|
2174
2197
|
error: null;
|
|
2175
2198
|
status: "success";
|
|
2176
2199
|
action_attempt_id: string;
|
|
2200
|
+
result: {
|
|
2201
|
+
noise_threshold?: any;
|
|
2202
|
+
};
|
|
2177
2203
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
2178
|
-
result?: any;
|
|
2179
2204
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2180
2205
|
action_attempt_id: z.ZodString;
|
|
2181
2206
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -28,19 +28,19 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
28
28
|
error: z.ZodNull;
|
|
29
29
|
}>, {
|
|
30
30
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
31
|
-
result: z.
|
|
31
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
32
32
|
}>, "strip", z.ZodTypeAny, {
|
|
33
33
|
error: null;
|
|
34
34
|
status: "success";
|
|
35
35
|
action_attempt_id: string;
|
|
36
|
+
result: {};
|
|
36
37
|
action_type: "SYNC_ACCESS_CODES";
|
|
37
|
-
result?: any;
|
|
38
38
|
}, {
|
|
39
39
|
error: null;
|
|
40
40
|
status: "success";
|
|
41
41
|
action_attempt_id: string;
|
|
42
|
+
result: {};
|
|
42
43
|
action_type: "SYNC_ACCESS_CODES";
|
|
43
|
-
result?: any;
|
|
44
44
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
45
45
|
action_attempt_id: z.ZodString;
|
|
46
46
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -106,19 +106,29 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
106
106
|
error: z.ZodNull;
|
|
107
107
|
}>, {
|
|
108
108
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
109
|
-
result: z.
|
|
109
|
+
result: z.ZodObject<{
|
|
110
|
+
access_code: z.ZodAny;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
access_code?: any;
|
|
113
|
+
}, {
|
|
114
|
+
access_code?: any;
|
|
115
|
+
}>;
|
|
110
116
|
}>, "strip", z.ZodTypeAny, {
|
|
111
117
|
error: null;
|
|
112
118
|
status: "success";
|
|
113
119
|
action_attempt_id: string;
|
|
120
|
+
result: {
|
|
121
|
+
access_code?: any;
|
|
122
|
+
};
|
|
114
123
|
action_type: "CREATE_ACCESS_CODE";
|
|
115
|
-
result?: any;
|
|
116
124
|
}, {
|
|
117
125
|
error: null;
|
|
118
126
|
status: "success";
|
|
119
127
|
action_attempt_id: string;
|
|
128
|
+
result: {
|
|
129
|
+
access_code?: any;
|
|
130
|
+
};
|
|
120
131
|
action_type: "CREATE_ACCESS_CODE";
|
|
121
|
-
result?: any;
|
|
122
132
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
123
133
|
action_attempt_id: z.ZodString;
|
|
124
134
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -184,19 +194,19 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
184
194
|
error: z.ZodNull;
|
|
185
195
|
}>, {
|
|
186
196
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
187
|
-
result: z.
|
|
197
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
188
198
|
}>, "strip", z.ZodTypeAny, {
|
|
189
199
|
error: null;
|
|
190
200
|
status: "success";
|
|
191
201
|
action_attempt_id: string;
|
|
202
|
+
result: {};
|
|
192
203
|
action_type: "DELETE_ACCESS_CODE";
|
|
193
|
-
result?: any;
|
|
194
204
|
}, {
|
|
195
205
|
error: null;
|
|
196
206
|
status: "success";
|
|
197
207
|
action_attempt_id: string;
|
|
208
|
+
result: {};
|
|
198
209
|
action_type: "DELETE_ACCESS_CODE";
|
|
199
|
-
result?: any;
|
|
200
210
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
201
211
|
action_attempt_id: z.ZodString;
|
|
202
212
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -262,19 +272,29 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
262
272
|
error: z.ZodNull;
|
|
263
273
|
}>, {
|
|
264
274
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
265
|
-
result: z.
|
|
275
|
+
result: z.ZodObject<{
|
|
276
|
+
access_code: z.ZodAny;
|
|
277
|
+
}, "strip", z.ZodTypeAny, {
|
|
278
|
+
access_code?: any;
|
|
279
|
+
}, {
|
|
280
|
+
access_code?: any;
|
|
281
|
+
}>;
|
|
266
282
|
}>, "strip", z.ZodTypeAny, {
|
|
267
283
|
error: null;
|
|
268
284
|
status: "success";
|
|
269
285
|
action_attempt_id: string;
|
|
286
|
+
result: {
|
|
287
|
+
access_code?: any;
|
|
288
|
+
};
|
|
270
289
|
action_type: "UPDATE_ACCESS_CODE";
|
|
271
|
-
result?: any;
|
|
272
290
|
}, {
|
|
273
291
|
error: null;
|
|
274
292
|
status: "success";
|
|
275
293
|
action_attempt_id: string;
|
|
294
|
+
result: {
|
|
295
|
+
access_code?: any;
|
|
296
|
+
};
|
|
276
297
|
action_type: "UPDATE_ACCESS_CODE";
|
|
277
|
-
result?: any;
|
|
278
298
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
279
299
|
action_attempt_id: z.ZodString;
|
|
280
300
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -340,19 +360,29 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
340
360
|
error: z.ZodNull;
|
|
341
361
|
}>, {
|
|
342
362
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
343
|
-
result: z.
|
|
363
|
+
result: z.ZodObject<{
|
|
364
|
+
noise_threshold: z.ZodAny;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
noise_threshold?: any;
|
|
367
|
+
}, {
|
|
368
|
+
noise_threshold?: any;
|
|
369
|
+
}>;
|
|
344
370
|
}>, "strip", z.ZodTypeAny, {
|
|
345
371
|
error: null;
|
|
346
372
|
status: "success";
|
|
347
373
|
action_attempt_id: string;
|
|
374
|
+
result: {
|
|
375
|
+
noise_threshold?: any;
|
|
376
|
+
};
|
|
348
377
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
349
|
-
result?: any;
|
|
350
378
|
}, {
|
|
351
379
|
error: null;
|
|
352
380
|
status: "success";
|
|
353
381
|
action_attempt_id: string;
|
|
382
|
+
result: {
|
|
383
|
+
noise_threshold?: any;
|
|
384
|
+
};
|
|
354
385
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
355
|
-
result?: any;
|
|
356
386
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
357
387
|
action_attempt_id: z.ZodString;
|
|
358
388
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -418,19 +448,19 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
418
448
|
error: z.ZodNull;
|
|
419
449
|
}>, {
|
|
420
450
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
421
|
-
result: z.
|
|
451
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
422
452
|
}>, "strip", z.ZodTypeAny, {
|
|
423
453
|
error: null;
|
|
424
454
|
status: "success";
|
|
425
455
|
action_attempt_id: string;
|
|
456
|
+
result: {};
|
|
426
457
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
427
|
-
result?: any;
|
|
428
458
|
}, {
|
|
429
459
|
error: null;
|
|
430
460
|
status: "success";
|
|
431
461
|
action_attempt_id: string;
|
|
462
|
+
result: {};
|
|
432
463
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
433
|
-
result?: any;
|
|
434
464
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
435
465
|
action_attempt_id: z.ZodString;
|
|
436
466
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -496,19 +526,29 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
496
526
|
error: z.ZodNull;
|
|
497
527
|
}>, {
|
|
498
528
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
499
|
-
result: z.
|
|
529
|
+
result: z.ZodObject<{
|
|
530
|
+
noise_threshold: z.ZodAny;
|
|
531
|
+
}, "strip", z.ZodTypeAny, {
|
|
532
|
+
noise_threshold?: any;
|
|
533
|
+
}, {
|
|
534
|
+
noise_threshold?: any;
|
|
535
|
+
}>;
|
|
500
536
|
}>, "strip", z.ZodTypeAny, {
|
|
501
537
|
error: null;
|
|
502
538
|
status: "success";
|
|
503
539
|
action_attempt_id: string;
|
|
540
|
+
result: {
|
|
541
|
+
noise_threshold?: any;
|
|
542
|
+
};
|
|
504
543
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
505
|
-
result?: any;
|
|
506
544
|
}, {
|
|
507
545
|
error: null;
|
|
508
546
|
status: "success";
|
|
509
547
|
action_attempt_id: string;
|
|
548
|
+
result: {
|
|
549
|
+
noise_threshold?: any;
|
|
550
|
+
};
|
|
510
551
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
511
|
-
result?: any;
|
|
512
552
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
513
553
|
action_attempt_id: z.ZodString;
|
|
514
554
|
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
@@ -4,7 +4,7 @@ const error = z.object({
|
|
|
4
4
|
type: z.string(),
|
|
5
5
|
message: z.string(),
|
|
6
6
|
});
|
|
7
|
-
const result = z.
|
|
7
|
+
const result = z.object({});
|
|
8
8
|
const sync_access_codes_action_attempt = z.discriminatedUnion('status', [
|
|
9
9
|
common_pending_action_attempt.extend({
|
|
10
10
|
action_type: z.literal('SYNC_ACCESS_CODES'),
|
|
@@ -24,7 +24,9 @@ const create_access_code_action_attempt = z.discriminatedUnion('status', [
|
|
|
24
24
|
}),
|
|
25
25
|
common_succeeded_action_attempt.extend({
|
|
26
26
|
action_type: z.literal('CREATE_ACCESS_CODE'),
|
|
27
|
-
result
|
|
27
|
+
result: z.object({
|
|
28
|
+
access_code: z.any(),
|
|
29
|
+
}),
|
|
28
30
|
}),
|
|
29
31
|
common_failed_action_attempt.extend({
|
|
30
32
|
action_type: z.literal('CREATE_ACCESS_CODE'),
|
|
@@ -50,7 +52,9 @@ const update_access_code_action_attempt = z.discriminatedUnion('status', [
|
|
|
50
52
|
}),
|
|
51
53
|
common_succeeded_action_attempt.extend({
|
|
52
54
|
action_type: z.literal('UPDATE_ACCESS_CODE'),
|
|
53
|
-
result
|
|
55
|
+
result: z.object({
|
|
56
|
+
access_code: z.any(),
|
|
57
|
+
}),
|
|
54
58
|
}),
|
|
55
59
|
common_failed_action_attempt.extend({
|
|
56
60
|
action_type: z.literal('UPDATE_ACCESS_CODE'),
|
|
@@ -63,7 +67,9 @@ const create_noise_threshold_action_attempt = z.discriminatedUnion('status', [
|
|
|
63
67
|
}),
|
|
64
68
|
common_succeeded_action_attempt.extend({
|
|
65
69
|
action_type: z.literal('CREATE_NOISE_THRESHOLD'),
|
|
66
|
-
result
|
|
70
|
+
result: z.object({
|
|
71
|
+
noise_threshold: z.any(),
|
|
72
|
+
}),
|
|
67
73
|
}),
|
|
68
74
|
common_failed_action_attempt.extend({
|
|
69
75
|
action_type: z.literal('CREATE_NOISE_THRESHOLD'),
|
|
@@ -89,7 +95,9 @@ const update_noise_threshold_action_attempt = z.discriminatedUnion('status', [
|
|
|
89
95
|
}),
|
|
90
96
|
common_succeeded_action_attempt.extend({
|
|
91
97
|
action_type: z.literal('UPDATE_NOISE_THRESHOLD'),
|
|
92
|
-
result
|
|
98
|
+
result: z.object({
|
|
99
|
+
noise_threshold: z.any(),
|
|
100
|
+
}),
|
|
93
101
|
}),
|
|
94
102
|
common_failed_action_attempt.extend({
|
|
95
103
|
action_type: z.literal('UPDATE_NOISE_THRESHOLD'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecated.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"deprecated.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA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AAG,qCAAqC,CAAC,OAAO;CACxC,CAAA"}
|
|
@@ -28,33 +28,18 @@ export declare const encode_card_action_attempt: z.ZodDiscriminatedUnion<"status
|
|
|
28
28
|
error: z.ZodNull;
|
|
29
29
|
}>, {
|
|
30
30
|
action_type: z.ZodLiteral<"ENCODE_CARD">;
|
|
31
|
-
result: z.ZodObject<{
|
|
32
|
-
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
33
|
-
card_number: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
acs_credential_id: string | null;
|
|
36
|
-
card_number: string | null;
|
|
37
|
-
}, {
|
|
38
|
-
acs_credential_id: string | null;
|
|
39
|
-
card_number: string | null;
|
|
40
|
-
}>;
|
|
31
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
41
32
|
}>, "strip", z.ZodTypeAny, {
|
|
42
33
|
error: null;
|
|
43
34
|
status: "success";
|
|
44
35
|
action_attempt_id: string;
|
|
45
|
-
result: {
|
|
46
|
-
acs_credential_id: string | null;
|
|
47
|
-
card_number: string | null;
|
|
48
|
-
};
|
|
36
|
+
result: {};
|
|
49
37
|
action_type: "ENCODE_CARD";
|
|
50
38
|
}, {
|
|
51
39
|
error: null;
|
|
52
40
|
status: "success";
|
|
53
41
|
action_attempt_id: string;
|
|
54
|
-
result: {
|
|
55
|
-
acs_credential_id: string | null;
|
|
56
|
-
card_number: string | null;
|
|
57
|
-
};
|
|
42
|
+
result: {};
|
|
58
43
|
action_type: "ENCODE_CARD";
|
|
59
44
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
60
45
|
action_attempt_id: z.ZodString;
|
|
@@ -5,18 +5,7 @@ const error = z.object({
|
|
|
5
5
|
type: z.string(), // TODO This should be typed properly with the possible errors
|
|
6
6
|
message: z.string(),
|
|
7
7
|
});
|
|
8
|
-
const result = z.object({
|
|
9
|
-
acs_credential_id: z
|
|
10
|
-
.string()
|
|
11
|
-
.uuid()
|
|
12
|
-
.nullable()
|
|
13
|
-
.describe('Matching acs_credential currently encoded on this card.'),
|
|
14
|
-
card_number: z
|
|
15
|
-
.string()
|
|
16
|
-
.nullable()
|
|
17
|
-
.describe('A number or string that physically identifies this card.'),
|
|
18
|
-
// TODO visionline_metadata: visionline_credential_metadata,
|
|
19
|
-
});
|
|
8
|
+
const result = z.object({});
|
|
20
9
|
export const encode_card_action_attempt = z.discriminatedUnion('status', [
|
|
21
10
|
common_pending_action_attempt
|
|
22
11
|
.extend({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,2CAA2C,CAAC;IACxD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,qDAAqD,CAAC;IAClE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA"}
|