@ecomiq/core 0.1.7 → 0.1.8
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/client.cjs +26 -16
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +26 -16
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +27 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +27 -17
- package/dist/index.js.map +1 -1
- package/dist/models/collections.cjs +9 -1
- package/dist/models/collections.cjs.map +1 -1
- package/dist/models/collections.d.cts +6 -6
- package/dist/models/collections.d.ts +6 -6
- package/dist/models/collections.js +9 -1
- package/dist/models/collections.js.map +1 -1
- package/dist/models/storefront-checkout.cjs +18 -7
- package/dist/models/storefront-checkout.cjs.map +1 -1
- package/dist/models/storefront-checkout.d.cts +530 -2158
- package/dist/models/storefront-checkout.d.ts +530 -2158
- package/dist/models/storefront-checkout.js +18 -8
- package/dist/models/storefront-checkout.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
type CheckoutMetadataValue = string | number | boolean | null | CheckoutMetadataValue[] | {
|
|
4
|
+
[key: string]: CheckoutMetadataValue;
|
|
5
|
+
};
|
|
6
|
+
declare const CheckoutMetadataValueSchema: z.ZodType<CheckoutMetadataValue>;
|
|
3
7
|
declare const CartBuyerParamsSchema: z.ZodObject<{
|
|
4
8
|
cartId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
5
9
|
email: z.ZodString;
|
|
@@ -1166,75 +1170,51 @@ declare const CartCheckoutPaymentActionSchema: z.ZodObject<{
|
|
|
1166
1170
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1167
1171
|
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1168
1172
|
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1169
|
-
}, "
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
},
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
}
|
|
1182
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1183
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1184
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1185
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1186
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1187
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1188
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1189
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1190
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1191
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1192
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1193
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1194
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1195
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1196
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1197
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1198
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1199
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1200
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1201
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1203
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1204
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1205
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1206
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1207
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1208
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1209
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1210
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1211
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1212
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1213
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1214
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1216
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1217
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1218
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1219
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1220
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1221
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1222
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1223
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1224
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1225
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1226
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1227
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1228
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1229
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1230
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1231
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1173
|
+
}, "strip", z.ZodTypeAny, {
|
|
1174
|
+
phoneNumber?: string | null | undefined;
|
|
1175
|
+
accountHolder?: string | null | undefined;
|
|
1176
|
+
qrImageUrl?: string | null | undefined;
|
|
1177
|
+
publishableKey?: string | null | undefined;
|
|
1178
|
+
checkoutMode?: string | null | undefined;
|
|
1179
|
+
}, {
|
|
1180
|
+
phoneNumber?: string | null | undefined;
|
|
1181
|
+
accountHolder?: string | null | undefined;
|
|
1182
|
+
qrImageUrl?: string | null | undefined;
|
|
1183
|
+
publishableKey?: string | null | undefined;
|
|
1184
|
+
checkoutMode?: string | null | undefined;
|
|
1185
|
+
}>>>;
|
|
1232
1186
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1233
1187
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1234
1188
|
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1235
1189
|
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1236
1190
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1237
|
-
}, z.ZodTypeAny,
|
|
1191
|
+
}, "strip", z.ZodTypeAny, {
|
|
1192
|
+
url?: string | null | undefined;
|
|
1193
|
+
publicConfiguration?: {
|
|
1194
|
+
phoneNumber?: string | null | undefined;
|
|
1195
|
+
accountHolder?: string | null | undefined;
|
|
1196
|
+
qrImageUrl?: string | null | undefined;
|
|
1197
|
+
publishableKey?: string | null | undefined;
|
|
1198
|
+
checkoutMode?: string | null | undefined;
|
|
1199
|
+
} | null | undefined;
|
|
1200
|
+
html?: string | null | undefined;
|
|
1201
|
+
clientSecret?: string | null | undefined;
|
|
1202
|
+
qrCode?: string | null | undefined;
|
|
1203
|
+
expiresAt?: string | null | undefined;
|
|
1204
|
+
}, {
|
|
1205
|
+
url?: string | null | undefined;
|
|
1206
|
+
publicConfiguration?: {
|
|
1207
|
+
phoneNumber?: string | null | undefined;
|
|
1208
|
+
accountHolder?: string | null | undefined;
|
|
1209
|
+
qrImageUrl?: string | null | undefined;
|
|
1210
|
+
publishableKey?: string | null | undefined;
|
|
1211
|
+
checkoutMode?: string | null | undefined;
|
|
1212
|
+
} | null | undefined;
|
|
1213
|
+
html?: string | null | undefined;
|
|
1214
|
+
clientSecret?: string | null | undefined;
|
|
1215
|
+
qrCode?: string | null | undefined;
|
|
1216
|
+
expiresAt?: string | null | undefined;
|
|
1217
|
+
}>;
|
|
1238
1218
|
declare const CartCheckoutPaymentSchema: z.ZodObject<{
|
|
1239
1219
|
transactionId: z.ZodString;
|
|
1240
1220
|
paymentMethodCode: z.ZodString;
|
|
@@ -1251,246 +1231,98 @@ declare const CartCheckoutPaymentSchema: z.ZodObject<{
|
|
|
1251
1231
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1252
1232
|
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1253
1233
|
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1254
|
-
}, "
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
},
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
}
|
|
1267
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1269
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1271
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1272
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1273
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1274
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1275
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1276
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1277
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1278
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1279
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1280
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1281
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1282
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1283
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1284
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1285
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1286
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1287
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1288
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1289
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1290
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1291
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1292
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1293
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1294
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1295
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1296
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1297
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1298
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1299
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1300
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1301
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1302
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1303
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1304
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1305
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1306
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1307
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1308
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1309
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1310
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1311
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1312
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1313
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1314
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1315
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1316
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1317
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1318
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1319
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1320
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1321
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1322
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1323
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1324
|
-
transactionId: z.ZodString;
|
|
1325
|
-
paymentMethodCode: z.ZodString;
|
|
1326
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1327
|
-
status: z.ZodString;
|
|
1328
|
-
amount: z.ZodNumber;
|
|
1329
|
-
reference: z.ZodString;
|
|
1330
|
-
actionType: z.ZodString;
|
|
1331
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1332
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1333
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1334
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1335
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1336
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1337
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1338
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1339
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1340
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1341
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1342
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1343
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1344
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1345
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1346
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1347
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1348
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1349
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1350
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1351
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1352
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1353
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1354
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1355
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1356
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1357
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1358
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1359
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1360
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1361
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1362
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1363
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1364
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1365
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1366
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1367
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1368
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1369
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1370
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1371
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1372
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1373
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1374
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1375
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1376
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1377
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1378
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1379
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1380
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1381
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1382
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1383
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1384
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1385
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1386
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1387
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1388
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1389
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1390
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1391
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1392
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1393
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1395
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1396
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1397
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1398
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1399
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1400
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1401
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1402
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1403
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1404
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1405
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1406
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1407
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1408
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1409
|
-
transactionId: z.ZodString;
|
|
1410
|
-
paymentMethodCode: z.ZodString;
|
|
1411
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1412
|
-
status: z.ZodString;
|
|
1413
|
-
amount: z.ZodNumber;
|
|
1414
|
-
reference: z.ZodString;
|
|
1415
|
-
actionType: z.ZodString;
|
|
1416
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1417
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1418
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1419
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1420
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1421
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1422
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1423
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1424
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1425
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1426
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1427
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1428
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1429
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1430
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1431
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1432
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1433
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1434
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1435
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1436
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1437
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1438
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1439
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1440
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1441
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1442
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1443
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1444
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1445
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1446
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1447
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1448
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1449
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1450
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1451
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1452
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1453
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1455
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1456
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1457
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1458
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1459
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1460
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1461
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1234
|
+
}, "strip", z.ZodTypeAny, {
|
|
1235
|
+
phoneNumber?: string | null | undefined;
|
|
1236
|
+
accountHolder?: string | null | undefined;
|
|
1237
|
+
qrImageUrl?: string | null | undefined;
|
|
1238
|
+
publishableKey?: string | null | undefined;
|
|
1239
|
+
checkoutMode?: string | null | undefined;
|
|
1240
|
+
}, {
|
|
1241
|
+
phoneNumber?: string | null | undefined;
|
|
1242
|
+
accountHolder?: string | null | undefined;
|
|
1243
|
+
qrImageUrl?: string | null | undefined;
|
|
1244
|
+
publishableKey?: string | null | undefined;
|
|
1245
|
+
checkoutMode?: string | null | undefined;
|
|
1246
|
+
}>>>;
|
|
1462
1247
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1463
1248
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1464
1249
|
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1465
1250
|
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1466
1251
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1467
|
-
}, z.ZodTypeAny,
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
phoneNumber
|
|
1484
|
-
accountHolder
|
|
1485
|
-
qrImageUrl
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
}
|
|
1252
|
+
}, "strip", z.ZodTypeAny, {
|
|
1253
|
+
url?: string | null | undefined;
|
|
1254
|
+
publicConfiguration?: {
|
|
1255
|
+
phoneNumber?: string | null | undefined;
|
|
1256
|
+
accountHolder?: string | null | undefined;
|
|
1257
|
+
qrImageUrl?: string | null | undefined;
|
|
1258
|
+
publishableKey?: string | null | undefined;
|
|
1259
|
+
checkoutMode?: string | null | undefined;
|
|
1260
|
+
} | null | undefined;
|
|
1261
|
+
html?: string | null | undefined;
|
|
1262
|
+
clientSecret?: string | null | undefined;
|
|
1263
|
+
qrCode?: string | null | undefined;
|
|
1264
|
+
expiresAt?: string | null | undefined;
|
|
1265
|
+
}, {
|
|
1266
|
+
url?: string | null | undefined;
|
|
1267
|
+
publicConfiguration?: {
|
|
1268
|
+
phoneNumber?: string | null | undefined;
|
|
1269
|
+
accountHolder?: string | null | undefined;
|
|
1270
|
+
qrImageUrl?: string | null | undefined;
|
|
1271
|
+
publishableKey?: string | null | undefined;
|
|
1272
|
+
checkoutMode?: string | null | undefined;
|
|
1273
|
+
} | null | undefined;
|
|
1274
|
+
html?: string | null | undefined;
|
|
1275
|
+
clientSecret?: string | null | undefined;
|
|
1276
|
+
qrCode?: string | null | undefined;
|
|
1277
|
+
expiresAt?: string | null | undefined;
|
|
1278
|
+
}>>>;
|
|
1279
|
+
}, "strip", z.ZodTypeAny, {
|
|
1280
|
+
status: string;
|
|
1281
|
+
transactionId: string;
|
|
1282
|
+
paymentMethodCode: string;
|
|
1283
|
+
amount: number;
|
|
1284
|
+
reference: string;
|
|
1285
|
+
actionType: string;
|
|
1286
|
+
providerId?: string | null | undefined;
|
|
1287
|
+
receiptUrl?: string | null | undefined;
|
|
1288
|
+
action?: {
|
|
1289
|
+
url?: string | null | undefined;
|
|
1290
|
+
publicConfiguration?: {
|
|
1291
|
+
phoneNumber?: string | null | undefined;
|
|
1292
|
+
accountHolder?: string | null | undefined;
|
|
1293
|
+
qrImageUrl?: string | null | undefined;
|
|
1294
|
+
publishableKey?: string | null | undefined;
|
|
1295
|
+
checkoutMode?: string | null | undefined;
|
|
1296
|
+
} | null | undefined;
|
|
1297
|
+
html?: string | null | undefined;
|
|
1298
|
+
clientSecret?: string | null | undefined;
|
|
1299
|
+
qrCode?: string | null | undefined;
|
|
1300
|
+
expiresAt?: string | null | undefined;
|
|
1301
|
+
} | null | undefined;
|
|
1302
|
+
}, {
|
|
1303
|
+
status: string;
|
|
1304
|
+
transactionId: string;
|
|
1305
|
+
paymentMethodCode: string;
|
|
1306
|
+
amount: number;
|
|
1307
|
+
reference: string;
|
|
1308
|
+
actionType: string;
|
|
1309
|
+
providerId?: string | null | undefined;
|
|
1310
|
+
receiptUrl?: string | null | undefined;
|
|
1311
|
+
action?: {
|
|
1312
|
+
url?: string | null | undefined;
|
|
1313
|
+
publicConfiguration?: {
|
|
1314
|
+
phoneNumber?: string | null | undefined;
|
|
1315
|
+
accountHolder?: string | null | undefined;
|
|
1316
|
+
qrImageUrl?: string | null | undefined;
|
|
1317
|
+
publishableKey?: string | null | undefined;
|
|
1318
|
+
checkoutMode?: string | null | undefined;
|
|
1319
|
+
} | null | undefined;
|
|
1320
|
+
html?: string | null | undefined;
|
|
1321
|
+
clientSecret?: string | null | undefined;
|
|
1322
|
+
qrCode?: string | null | undefined;
|
|
1323
|
+
expiresAt?: string | null | undefined;
|
|
1324
|
+
} | null | undefined;
|
|
1325
|
+
}>;
|
|
1494
1326
|
type CartCheckoutPayment = z.infer<typeof CartCheckoutPaymentSchema>;
|
|
1495
1327
|
declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
1496
1328
|
publicKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1517,246 +1349,98 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
1517
1349
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1518
1350
|
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1519
1351
|
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1520
|
-
}, "
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
},
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
}
|
|
1533
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1534
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1535
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1536
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1537
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1538
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1539
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1540
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1541
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1542
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1543
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1544
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1545
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1546
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1547
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1548
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1549
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1550
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1551
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1552
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1553
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1554
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1555
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1556
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1557
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1558
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1559
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1560
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1561
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1562
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1563
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1564
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1565
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1566
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1567
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1568
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1569
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1570
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1571
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1572
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1573
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1574
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1575
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1576
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1577
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1578
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1579
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1580
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1581
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1582
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1583
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1584
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1585
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1586
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1587
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1588
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1589
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1590
|
-
transactionId: z.ZodString;
|
|
1591
|
-
paymentMethodCode: z.ZodString;
|
|
1592
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
|
-
status: z.ZodString;
|
|
1594
|
-
amount: z.ZodNumber;
|
|
1595
|
-
reference: z.ZodString;
|
|
1596
|
-
actionType: z.ZodString;
|
|
1597
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1598
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1599
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1600
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1601
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1602
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1603
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1604
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1605
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1606
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1607
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1608
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1609
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1610
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1611
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1612
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1613
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1614
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1615
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1616
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1617
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1618
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1619
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1620
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1621
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1622
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1623
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1624
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1625
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1626
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1627
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1628
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1629
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1630
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1631
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1633
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1634
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1635
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1636
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1637
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1638
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1639
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1640
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1641
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1642
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1643
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1644
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1645
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1646
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1647
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1648
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1649
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1650
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1651
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1652
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1653
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1654
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1655
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1656
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1657
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1658
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1659
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1660
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1661
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1662
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1663
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1664
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1665
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1666
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1667
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1668
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1669
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1670
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1671
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1672
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1673
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1674
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1675
|
-
transactionId: z.ZodString;
|
|
1676
|
-
paymentMethodCode: z.ZodString;
|
|
1677
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1678
|
-
status: z.ZodString;
|
|
1679
|
-
amount: z.ZodNumber;
|
|
1680
|
-
reference: z.ZodString;
|
|
1681
|
-
actionType: z.ZodString;
|
|
1682
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1683
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1684
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1685
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1686
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1687
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1688
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1689
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1690
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1691
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1692
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1693
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1694
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1695
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1696
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1697
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1698
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1699
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1700
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1701
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1702
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1703
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1704
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1705
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1706
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1707
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1708
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1709
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1710
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1711
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1712
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1713
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1714
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1715
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1716
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1717
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1718
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1719
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1720
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1721
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1722
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1723
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1724
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1725
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1726
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1727
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1728
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1729
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1730
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1731
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1732
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1733
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1734
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1735
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1736
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1737
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1738
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1739
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1740
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1741
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1742
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1743
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1744
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1745
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1746
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1747
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1748
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1749
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1750
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1751
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1752
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1352
|
+
}, "strip", z.ZodTypeAny, {
|
|
1353
|
+
phoneNumber?: string | null | undefined;
|
|
1354
|
+
accountHolder?: string | null | undefined;
|
|
1355
|
+
qrImageUrl?: string | null | undefined;
|
|
1356
|
+
publishableKey?: string | null | undefined;
|
|
1357
|
+
checkoutMode?: string | null | undefined;
|
|
1358
|
+
}, {
|
|
1359
|
+
phoneNumber?: string | null | undefined;
|
|
1360
|
+
accountHolder?: string | null | undefined;
|
|
1361
|
+
qrImageUrl?: string | null | undefined;
|
|
1362
|
+
publishableKey?: string | null | undefined;
|
|
1363
|
+
checkoutMode?: string | null | undefined;
|
|
1364
|
+
}>>>;
|
|
1753
1365
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1754
1366
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1755
1367
|
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1756
1368
|
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1757
1369
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
|
-
}, z.ZodTypeAny,
|
|
1759
|
-
|
|
1370
|
+
}, "strip", z.ZodTypeAny, {
|
|
1371
|
+
url?: string | null | undefined;
|
|
1372
|
+
publicConfiguration?: {
|
|
1373
|
+
phoneNumber?: string | null | undefined;
|
|
1374
|
+
accountHolder?: string | null | undefined;
|
|
1375
|
+
qrImageUrl?: string | null | undefined;
|
|
1376
|
+
publishableKey?: string | null | undefined;
|
|
1377
|
+
checkoutMode?: string | null | undefined;
|
|
1378
|
+
} | null | undefined;
|
|
1379
|
+
html?: string | null | undefined;
|
|
1380
|
+
clientSecret?: string | null | undefined;
|
|
1381
|
+
qrCode?: string | null | undefined;
|
|
1382
|
+
expiresAt?: string | null | undefined;
|
|
1383
|
+
}, {
|
|
1384
|
+
url?: string | null | undefined;
|
|
1385
|
+
publicConfiguration?: {
|
|
1386
|
+
phoneNumber?: string | null | undefined;
|
|
1387
|
+
accountHolder?: string | null | undefined;
|
|
1388
|
+
qrImageUrl?: string | null | undefined;
|
|
1389
|
+
publishableKey?: string | null | undefined;
|
|
1390
|
+
checkoutMode?: string | null | undefined;
|
|
1391
|
+
} | null | undefined;
|
|
1392
|
+
html?: string | null | undefined;
|
|
1393
|
+
clientSecret?: string | null | undefined;
|
|
1394
|
+
qrCode?: string | null | undefined;
|
|
1395
|
+
expiresAt?: string | null | undefined;
|
|
1396
|
+
}>>>;
|
|
1397
|
+
}, "strip", z.ZodTypeAny, {
|
|
1398
|
+
status: string;
|
|
1399
|
+
transactionId: string;
|
|
1400
|
+
paymentMethodCode: string;
|
|
1401
|
+
amount: number;
|
|
1402
|
+
reference: string;
|
|
1403
|
+
actionType: string;
|
|
1404
|
+
providerId?: string | null | undefined;
|
|
1405
|
+
receiptUrl?: string | null | undefined;
|
|
1406
|
+
action?: {
|
|
1407
|
+
url?: string | null | undefined;
|
|
1408
|
+
publicConfiguration?: {
|
|
1409
|
+
phoneNumber?: string | null | undefined;
|
|
1410
|
+
accountHolder?: string | null | undefined;
|
|
1411
|
+
qrImageUrl?: string | null | undefined;
|
|
1412
|
+
publishableKey?: string | null | undefined;
|
|
1413
|
+
checkoutMode?: string | null | undefined;
|
|
1414
|
+
} | null | undefined;
|
|
1415
|
+
html?: string | null | undefined;
|
|
1416
|
+
clientSecret?: string | null | undefined;
|
|
1417
|
+
qrCode?: string | null | undefined;
|
|
1418
|
+
expiresAt?: string | null | undefined;
|
|
1419
|
+
} | null | undefined;
|
|
1420
|
+
}, {
|
|
1421
|
+
status: string;
|
|
1422
|
+
transactionId: string;
|
|
1423
|
+
paymentMethodCode: string;
|
|
1424
|
+
amount: number;
|
|
1425
|
+
reference: string;
|
|
1426
|
+
actionType: string;
|
|
1427
|
+
providerId?: string | null | undefined;
|
|
1428
|
+
receiptUrl?: string | null | undefined;
|
|
1429
|
+
action?: {
|
|
1430
|
+
url?: string | null | undefined;
|
|
1431
|
+
publicConfiguration?: {
|
|
1432
|
+
phoneNumber?: string | null | undefined;
|
|
1433
|
+
accountHolder?: string | null | undefined;
|
|
1434
|
+
qrImageUrl?: string | null | undefined;
|
|
1435
|
+
publishableKey?: string | null | undefined;
|
|
1436
|
+
checkoutMode?: string | null | undefined;
|
|
1437
|
+
} | null | undefined;
|
|
1438
|
+
html?: string | null | undefined;
|
|
1439
|
+
clientSecret?: string | null | undefined;
|
|
1440
|
+
qrCode?: string | null | undefined;
|
|
1441
|
+
expiresAt?: string | null | undefined;
|
|
1442
|
+
} | null | undefined;
|
|
1443
|
+
}>>;
|
|
1760
1444
|
cart: z.ZodOptional<z.ZodObject<{
|
|
1761
1445
|
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1762
1446
|
cartNumber: z.ZodString;
|
|
@@ -2179,1206 +1863,9 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
2179
1863
|
warrantyTotal: number;
|
|
2180
1864
|
};
|
|
2181
1865
|
}>>;
|
|
2182
|
-
}, "
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
stripePublicKey: z.ZodOptional<z.ZodString>;
|
|
2186
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
2187
|
-
intentClientSecret: z.ZodOptional<z.ZodString>;
|
|
2188
|
-
orderId: z.ZodOptional<z.ZodString>;
|
|
2189
|
-
orderGroup: z.ZodOptional<z.ZodString>;
|
|
2190
|
-
orderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2191
|
-
payment: z.ZodOptional<z.ZodObject<{
|
|
2192
|
-
transactionId: z.ZodString;
|
|
2193
|
-
paymentMethodCode: z.ZodString;
|
|
2194
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2195
|
-
status: z.ZodString;
|
|
2196
|
-
amount: z.ZodNumber;
|
|
2197
|
-
reference: z.ZodString;
|
|
2198
|
-
actionType: z.ZodString;
|
|
2199
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2200
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2201
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2202
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2203
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2204
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2205
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2206
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2207
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2208
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2209
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2210
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2211
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2212
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2213
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2214
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2215
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2216
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2217
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2218
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2219
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2220
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2221
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2222
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2223
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2224
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2225
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2226
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2227
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2228
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2229
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2230
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2231
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2232
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2233
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2234
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2235
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2236
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2237
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2238
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2239
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2240
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2241
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2242
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2243
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2244
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2245
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2246
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2247
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2248
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2249
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2250
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2251
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2252
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2253
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2254
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2255
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2256
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2257
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2258
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2259
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2260
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2261
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2262
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2263
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2264
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2265
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2266
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2267
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2268
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2269
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2270
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2271
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2272
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2273
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2274
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2275
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2276
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2277
|
-
transactionId: z.ZodString;
|
|
2278
|
-
paymentMethodCode: z.ZodString;
|
|
2279
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2280
|
-
status: z.ZodString;
|
|
2281
|
-
amount: z.ZodNumber;
|
|
2282
|
-
reference: z.ZodString;
|
|
2283
|
-
actionType: z.ZodString;
|
|
2284
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2285
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2286
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2287
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2288
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2289
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2290
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2291
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2292
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2293
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2294
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2295
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2296
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2297
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2298
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2299
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2300
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2301
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2302
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2304
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2305
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2306
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2307
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2308
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2309
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2310
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2311
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2312
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2313
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2314
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2315
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2316
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2317
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2318
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2319
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2320
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2321
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2322
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2323
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2324
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2325
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2326
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2327
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2328
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2329
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2330
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2331
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2332
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2333
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2334
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2335
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2336
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2337
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2338
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2339
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2340
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2341
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2342
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2343
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2344
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2345
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2346
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2347
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2348
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2349
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2350
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2351
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2352
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2353
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2354
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2355
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2356
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2357
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2358
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2359
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2360
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2361
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2362
|
-
transactionId: z.ZodString;
|
|
2363
|
-
paymentMethodCode: z.ZodString;
|
|
2364
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2365
|
-
status: z.ZodString;
|
|
2366
|
-
amount: z.ZodNumber;
|
|
2367
|
-
reference: z.ZodString;
|
|
2368
|
-
actionType: z.ZodString;
|
|
2369
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2370
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2371
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2372
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2373
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2374
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2375
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2376
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2377
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2378
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2379
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2380
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2381
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2382
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2383
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2384
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2385
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2386
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2387
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2388
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2389
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2390
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2391
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2392
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2393
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2394
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2395
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2396
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2397
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2398
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2399
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2400
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2401
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2402
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2403
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2404
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2405
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2406
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2407
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2408
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2409
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2410
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2411
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2412
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2413
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2414
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2415
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2416
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2417
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2419
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2420
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2421
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2422
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2423
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2424
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2425
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2426
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2427
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2428
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2429
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2430
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2431
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2432
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2433
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2434
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2435
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2436
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2437
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2438
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2439
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2440
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2441
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2442
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2443
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2444
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2445
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2446
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
2447
|
-
cart: z.ZodOptional<z.ZodObject<{
|
|
2448
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2449
|
-
cartNumber: z.ZodString;
|
|
2450
|
-
email: z.ZodNullable<z.ZodString>;
|
|
2451
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
2452
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
2453
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
2454
|
-
currencyCode: z.ZodString;
|
|
2455
|
-
status: z.ZodEnum<["inProgress", "pending", "completed", "abandoned", "cancelled", "expired", "failed"]>;
|
|
2456
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
2457
|
-
shippingAddress: z.ZodNullable<z.ZodObject<{
|
|
2458
|
-
name: z.ZodNullable<z.ZodString>;
|
|
2459
|
-
address1: z.ZodString;
|
|
2460
|
-
city: z.ZodString;
|
|
2461
|
-
countryCode: z.ZodString;
|
|
2462
|
-
company: z.ZodNullable<z.ZodString>;
|
|
2463
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
2464
|
-
province: z.ZodNullable<z.ZodString>;
|
|
2465
|
-
postalCode: z.ZodNullable<z.ZodString>;
|
|
2466
|
-
district: z.ZodNullable<z.ZodString>;
|
|
2467
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
2468
|
-
latitude: z.ZodNullable<z.ZodNumber>;
|
|
2469
|
-
longitude: z.ZodNullable<z.ZodNumber>;
|
|
2470
|
-
}, "strip", z.ZodTypeAny, {
|
|
2471
|
-
name: string | null;
|
|
2472
|
-
address1: string;
|
|
2473
|
-
city: string;
|
|
2474
|
-
countryCode: string;
|
|
2475
|
-
company: string | null;
|
|
2476
|
-
address2: string | null;
|
|
2477
|
-
province: string | null;
|
|
2478
|
-
postalCode: string | null;
|
|
2479
|
-
district: string | null;
|
|
2480
|
-
phone: string | null;
|
|
2481
|
-
latitude: number | null;
|
|
2482
|
-
longitude: number | null;
|
|
2483
|
-
}, {
|
|
2484
|
-
name: string | null;
|
|
2485
|
-
address1: string;
|
|
2486
|
-
city: string;
|
|
2487
|
-
countryCode: string;
|
|
2488
|
-
company: string | null;
|
|
2489
|
-
address2: string | null;
|
|
2490
|
-
province: string | null;
|
|
2491
|
-
postalCode: string | null;
|
|
2492
|
-
district: string | null;
|
|
2493
|
-
phone: string | null;
|
|
2494
|
-
latitude: number | null;
|
|
2495
|
-
longitude: number | null;
|
|
2496
|
-
}>>;
|
|
2497
|
-
billingAddress: z.ZodNullable<z.ZodObject<{
|
|
2498
|
-
name: z.ZodNullable<z.ZodString>;
|
|
2499
|
-
address1: z.ZodString;
|
|
2500
|
-
city: z.ZodString;
|
|
2501
|
-
countryCode: z.ZodString;
|
|
2502
|
-
company: z.ZodNullable<z.ZodString>;
|
|
2503
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
2504
|
-
province: z.ZodNullable<z.ZodString>;
|
|
2505
|
-
postalCode: z.ZodNullable<z.ZodString>;
|
|
2506
|
-
district: z.ZodNullable<z.ZodString>;
|
|
2507
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
2508
|
-
latitude: z.ZodNullable<z.ZodNumber>;
|
|
2509
|
-
longitude: z.ZodNullable<z.ZodNumber>;
|
|
2510
|
-
}, "strip", z.ZodTypeAny, {
|
|
2511
|
-
name: string | null;
|
|
2512
|
-
address1: string;
|
|
2513
|
-
city: string;
|
|
2514
|
-
countryCode: string;
|
|
2515
|
-
company: string | null;
|
|
2516
|
-
address2: string | null;
|
|
2517
|
-
province: string | null;
|
|
2518
|
-
postalCode: string | null;
|
|
2519
|
-
district: string | null;
|
|
2520
|
-
phone: string | null;
|
|
2521
|
-
latitude: number | null;
|
|
2522
|
-
longitude: number | null;
|
|
2523
|
-
}, {
|
|
2524
|
-
name: string | null;
|
|
2525
|
-
address1: string;
|
|
2526
|
-
city: string;
|
|
2527
|
-
countryCode: string;
|
|
2528
|
-
company: string | null;
|
|
2529
|
-
address2: string | null;
|
|
2530
|
-
province: string | null;
|
|
2531
|
-
postalCode: string | null;
|
|
2532
|
-
district: string | null;
|
|
2533
|
-
phone: string | null;
|
|
2534
|
-
latitude: number | null;
|
|
2535
|
-
longitude: number | null;
|
|
2536
|
-
}>>;
|
|
2537
|
-
promotionCodes: z.ZodArray<z.ZodString, "many">;
|
|
2538
|
-
items: z.ZodArray<z.ZodObject<{
|
|
2539
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2540
|
-
productId: z.ZodNumber;
|
|
2541
|
-
title: z.ZodString;
|
|
2542
|
-
variantLabel: z.ZodNullable<z.ZodString>;
|
|
2543
|
-
productHandle: z.ZodNullable<z.ZodString>;
|
|
2544
|
-
thumbnail: z.ZodNullable<z.ZodString>;
|
|
2545
|
-
quantity: z.ZodNumber;
|
|
2546
|
-
variantId: z.ZodNumber;
|
|
2547
|
-
variantSku: z.ZodNullable<z.ZodString>;
|
|
2548
|
-
unitPrice: z.ZodNumber;
|
|
2549
|
-
compareAtUnitPrice: z.ZodNullable<z.ZodNumber>;
|
|
2550
|
-
bundleItems: z.ZodArray<z.ZodObject<{
|
|
2551
|
-
productId: z.ZodNumber;
|
|
2552
|
-
variantId: z.ZodNumber;
|
|
2553
|
-
productName: z.ZodString;
|
|
2554
|
-
variantName: z.ZodNullable<z.ZodString>;
|
|
2555
|
-
sku: z.ZodNullable<z.ZodString>;
|
|
2556
|
-
brand: z.ZodNullable<z.ZodString>;
|
|
2557
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
2558
|
-
quantity: z.ZodNumber;
|
|
2559
|
-
}, "strip", z.ZodTypeAny, {
|
|
2560
|
-
imageUrl: string | null;
|
|
2561
|
-
brand: string | null;
|
|
2562
|
-
productId: number;
|
|
2563
|
-
sku: string | null;
|
|
2564
|
-
quantity: number;
|
|
2565
|
-
variantId: number;
|
|
2566
|
-
productName: string;
|
|
2567
|
-
variantName: string | null;
|
|
2568
|
-
}, {
|
|
2569
|
-
imageUrl: string | null;
|
|
2570
|
-
brand: string | null;
|
|
2571
|
-
productId: number;
|
|
2572
|
-
sku: string | null;
|
|
2573
|
-
quantity: number;
|
|
2574
|
-
variantId: number;
|
|
2575
|
-
productName: string;
|
|
2576
|
-
variantName: string | null;
|
|
2577
|
-
}>, "many">;
|
|
2578
|
-
}, "strip", z.ZodTypeAny, {
|
|
2579
|
-
id: string;
|
|
2580
|
-
productId: number;
|
|
2581
|
-
quantity: number;
|
|
2582
|
-
variantId: number;
|
|
2583
|
-
unitPrice: number;
|
|
2584
|
-
bundleItems: {
|
|
2585
|
-
imageUrl: string | null;
|
|
2586
|
-
brand: string | null;
|
|
2587
|
-
productId: number;
|
|
2588
|
-
sku: string | null;
|
|
2589
|
-
quantity: number;
|
|
2590
|
-
variantId: number;
|
|
2591
|
-
productName: string;
|
|
2592
|
-
variantName: string | null;
|
|
2593
|
-
}[];
|
|
2594
|
-
title: string;
|
|
2595
|
-
variantLabel: string | null;
|
|
2596
|
-
productHandle: string | null;
|
|
2597
|
-
thumbnail: string | null;
|
|
2598
|
-
variantSku: string | null;
|
|
2599
|
-
compareAtUnitPrice: number | null;
|
|
2600
|
-
}, {
|
|
2601
|
-
id: string;
|
|
2602
|
-
productId: number;
|
|
2603
|
-
quantity: number;
|
|
2604
|
-
variantId: number;
|
|
2605
|
-
unitPrice: number;
|
|
2606
|
-
bundleItems: {
|
|
2607
|
-
imageUrl: string | null;
|
|
2608
|
-
brand: string | null;
|
|
2609
|
-
productId: number;
|
|
2610
|
-
sku: string | null;
|
|
2611
|
-
quantity: number;
|
|
2612
|
-
variantId: number;
|
|
2613
|
-
productName: string;
|
|
2614
|
-
variantName: string | null;
|
|
2615
|
-
}[];
|
|
2616
|
-
title: string;
|
|
2617
|
-
variantLabel: string | null;
|
|
2618
|
-
productHandle: string | null;
|
|
2619
|
-
thumbnail: string | null;
|
|
2620
|
-
variantSku: string | null;
|
|
2621
|
-
compareAtUnitPrice: number | null;
|
|
2622
|
-
}>, "many">;
|
|
2623
|
-
shippingMethods: z.ZodArray<z.ZodObject<{
|
|
2624
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2625
|
-
shippingMethodId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2626
|
-
rateId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2627
|
-
name: z.ZodString;
|
|
2628
|
-
description: z.ZodNullable<z.ZodString>;
|
|
2629
|
-
total: z.ZodNumber;
|
|
2630
|
-
locationId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2631
|
-
estimatedDays: z.ZodNullable<z.ZodNumber>;
|
|
2632
|
-
pickupPointId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2633
|
-
scheduledDate: z.ZodNullable<z.ZodString>;
|
|
2634
|
-
scheduledTime: z.ZodNullable<z.ZodString>;
|
|
2635
|
-
serviceCode: z.ZodNullable<z.ZodString>;
|
|
2636
|
-
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2637
|
-
shippingProfileId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2638
|
-
}, "strip", z.ZodTypeAny, {
|
|
2639
|
-
id: string;
|
|
2640
|
-
name: string;
|
|
2641
|
-
description: string | null;
|
|
2642
|
-
sellerId: string | null;
|
|
2643
|
-
locationId: string | null;
|
|
2644
|
-
shippingMethodId: string | null;
|
|
2645
|
-
rateId: string | null;
|
|
2646
|
-
total: number;
|
|
2647
|
-
estimatedDays: number | null;
|
|
2648
|
-
pickupPointId: string | null;
|
|
2649
|
-
scheduledDate: string | null;
|
|
2650
|
-
scheduledTime: string | null;
|
|
2651
|
-
serviceCode: string | null;
|
|
2652
|
-
shippingProfileId: string | null;
|
|
2653
|
-
}, {
|
|
2654
|
-
id: string;
|
|
2655
|
-
name: string;
|
|
2656
|
-
description: string | null;
|
|
2657
|
-
sellerId: string | null;
|
|
2658
|
-
locationId: string | null;
|
|
2659
|
-
shippingMethodId: string | null;
|
|
2660
|
-
rateId: string | null;
|
|
2661
|
-
total: number;
|
|
2662
|
-
estimatedDays: number | null;
|
|
2663
|
-
pickupPointId: string | null;
|
|
2664
|
-
scheduledDate: string | null;
|
|
2665
|
-
scheduledTime: string | null;
|
|
2666
|
-
serviceCode: string | null;
|
|
2667
|
-
shippingProfileId: string | null;
|
|
2668
|
-
}>, "many">;
|
|
2669
|
-
totals: z.ZodObject<{
|
|
2670
|
-
subtotal: z.ZodNumber;
|
|
2671
|
-
discountTotal: z.ZodNumber;
|
|
2672
|
-
shippingOriginalTotal: z.ZodNumber;
|
|
2673
|
-
shippingTotal: z.ZodNumber;
|
|
2674
|
-
taxTotal: z.ZodNumber;
|
|
2675
|
-
warrantyTotal: z.ZodNumber;
|
|
2676
|
-
total: z.ZodNumber;
|
|
2677
|
-
}, "strip", z.ZodTypeAny, {
|
|
2678
|
-
total: number;
|
|
2679
|
-
subtotal: number;
|
|
2680
|
-
discountTotal: number;
|
|
2681
|
-
shippingOriginalTotal: number;
|
|
2682
|
-
shippingTotal: number;
|
|
2683
|
-
taxTotal: number;
|
|
2684
|
-
warrantyTotal: number;
|
|
2685
|
-
}, {
|
|
2686
|
-
total: number;
|
|
2687
|
-
subtotal: number;
|
|
2688
|
-
discountTotal: number;
|
|
2689
|
-
shippingOriginalTotal: number;
|
|
2690
|
-
shippingTotal: number;
|
|
2691
|
-
taxTotal: number;
|
|
2692
|
-
warrantyTotal: number;
|
|
2693
|
-
}>;
|
|
2694
|
-
}, "strip", z.ZodTypeAny, {
|
|
2695
|
-
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
2696
|
-
id: string;
|
|
2697
|
-
phone: string | null;
|
|
2698
|
-
cartNumber: string;
|
|
2699
|
-
email: string | null;
|
|
2700
|
-
firstName: string | null;
|
|
2701
|
-
lastName: string | null;
|
|
2702
|
-
currencyCode: string;
|
|
2703
|
-
completedAt: string | null;
|
|
2704
|
-
shippingAddress: {
|
|
2705
|
-
name: string | null;
|
|
2706
|
-
address1: string;
|
|
2707
|
-
city: string;
|
|
2708
|
-
countryCode: string;
|
|
2709
|
-
company: string | null;
|
|
2710
|
-
address2: string | null;
|
|
2711
|
-
province: string | null;
|
|
2712
|
-
postalCode: string | null;
|
|
2713
|
-
district: string | null;
|
|
2714
|
-
phone: string | null;
|
|
2715
|
-
latitude: number | null;
|
|
2716
|
-
longitude: number | null;
|
|
2717
|
-
} | null;
|
|
2718
|
-
billingAddress: {
|
|
2719
|
-
name: string | null;
|
|
2720
|
-
address1: string;
|
|
2721
|
-
city: string;
|
|
2722
|
-
countryCode: string;
|
|
2723
|
-
company: string | null;
|
|
2724
|
-
address2: string | null;
|
|
2725
|
-
province: string | null;
|
|
2726
|
-
postalCode: string | null;
|
|
2727
|
-
district: string | null;
|
|
2728
|
-
phone: string | null;
|
|
2729
|
-
latitude: number | null;
|
|
2730
|
-
longitude: number | null;
|
|
2731
|
-
} | null;
|
|
2732
|
-
promotionCodes: string[];
|
|
2733
|
-
items: {
|
|
2734
|
-
id: string;
|
|
2735
|
-
productId: number;
|
|
2736
|
-
quantity: number;
|
|
2737
|
-
variantId: number;
|
|
2738
|
-
unitPrice: number;
|
|
2739
|
-
bundleItems: {
|
|
2740
|
-
imageUrl: string | null;
|
|
2741
|
-
brand: string | null;
|
|
2742
|
-
productId: number;
|
|
2743
|
-
sku: string | null;
|
|
2744
|
-
quantity: number;
|
|
2745
|
-
variantId: number;
|
|
2746
|
-
productName: string;
|
|
2747
|
-
variantName: string | null;
|
|
2748
|
-
}[];
|
|
2749
|
-
title: string;
|
|
2750
|
-
variantLabel: string | null;
|
|
2751
|
-
productHandle: string | null;
|
|
2752
|
-
thumbnail: string | null;
|
|
2753
|
-
variantSku: string | null;
|
|
2754
|
-
compareAtUnitPrice: number | null;
|
|
2755
|
-
}[];
|
|
2756
|
-
shippingMethods: {
|
|
2757
|
-
id: string;
|
|
2758
|
-
name: string;
|
|
2759
|
-
description: string | null;
|
|
2760
|
-
sellerId: string | null;
|
|
2761
|
-
locationId: string | null;
|
|
2762
|
-
shippingMethodId: string | null;
|
|
2763
|
-
rateId: string | null;
|
|
2764
|
-
total: number;
|
|
2765
|
-
estimatedDays: number | null;
|
|
2766
|
-
pickupPointId: string | null;
|
|
2767
|
-
scheduledDate: string | null;
|
|
2768
|
-
scheduledTime: string | null;
|
|
2769
|
-
serviceCode: string | null;
|
|
2770
|
-
shippingProfileId: string | null;
|
|
2771
|
-
}[];
|
|
2772
|
-
totals: {
|
|
2773
|
-
total: number;
|
|
2774
|
-
subtotal: number;
|
|
2775
|
-
discountTotal: number;
|
|
2776
|
-
shippingOriginalTotal: number;
|
|
2777
|
-
shippingTotal: number;
|
|
2778
|
-
taxTotal: number;
|
|
2779
|
-
warrantyTotal: number;
|
|
2780
|
-
};
|
|
2781
|
-
}, {
|
|
2782
|
-
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
2783
|
-
id: string;
|
|
2784
|
-
phone: string | null;
|
|
2785
|
-
cartNumber: string;
|
|
2786
|
-
email: string | null;
|
|
2787
|
-
firstName: string | null;
|
|
2788
|
-
lastName: string | null;
|
|
2789
|
-
currencyCode: string;
|
|
2790
|
-
completedAt: string | null;
|
|
2791
|
-
shippingAddress: {
|
|
2792
|
-
name: string | null;
|
|
2793
|
-
address1: string;
|
|
2794
|
-
city: string;
|
|
2795
|
-
countryCode: string;
|
|
2796
|
-
company: string | null;
|
|
2797
|
-
address2: string | null;
|
|
2798
|
-
province: string | null;
|
|
2799
|
-
postalCode: string | null;
|
|
2800
|
-
district: string | null;
|
|
2801
|
-
phone: string | null;
|
|
2802
|
-
latitude: number | null;
|
|
2803
|
-
longitude: number | null;
|
|
2804
|
-
} | null;
|
|
2805
|
-
billingAddress: {
|
|
2806
|
-
name: string | null;
|
|
2807
|
-
address1: string;
|
|
2808
|
-
city: string;
|
|
2809
|
-
countryCode: string;
|
|
2810
|
-
company: string | null;
|
|
2811
|
-
address2: string | null;
|
|
2812
|
-
province: string | null;
|
|
2813
|
-
postalCode: string | null;
|
|
2814
|
-
district: string | null;
|
|
2815
|
-
phone: string | null;
|
|
2816
|
-
latitude: number | null;
|
|
2817
|
-
longitude: number | null;
|
|
2818
|
-
} | null;
|
|
2819
|
-
promotionCodes: string[];
|
|
2820
|
-
items: {
|
|
2821
|
-
id: string;
|
|
2822
|
-
productId: number;
|
|
2823
|
-
quantity: number;
|
|
2824
|
-
variantId: number;
|
|
2825
|
-
unitPrice: number;
|
|
2826
|
-
bundleItems: {
|
|
2827
|
-
imageUrl: string | null;
|
|
2828
|
-
brand: string | null;
|
|
2829
|
-
productId: number;
|
|
2830
|
-
sku: string | null;
|
|
2831
|
-
quantity: number;
|
|
2832
|
-
variantId: number;
|
|
2833
|
-
productName: string;
|
|
2834
|
-
variantName: string | null;
|
|
2835
|
-
}[];
|
|
2836
|
-
title: string;
|
|
2837
|
-
variantLabel: string | null;
|
|
2838
|
-
productHandle: string | null;
|
|
2839
|
-
thumbnail: string | null;
|
|
2840
|
-
variantSku: string | null;
|
|
2841
|
-
compareAtUnitPrice: number | null;
|
|
2842
|
-
}[];
|
|
2843
|
-
shippingMethods: {
|
|
2844
|
-
id: string;
|
|
2845
|
-
name: string;
|
|
2846
|
-
description: string | null;
|
|
2847
|
-
sellerId: string | null;
|
|
2848
|
-
locationId: string | null;
|
|
2849
|
-
shippingMethodId: string | null;
|
|
2850
|
-
rateId: string | null;
|
|
2851
|
-
total: number;
|
|
2852
|
-
estimatedDays: number | null;
|
|
2853
|
-
pickupPointId: string | null;
|
|
2854
|
-
scheduledDate: string | null;
|
|
2855
|
-
scheduledTime: string | null;
|
|
2856
|
-
serviceCode: string | null;
|
|
2857
|
-
shippingProfileId: string | null;
|
|
2858
|
-
}[];
|
|
2859
|
-
totals: {
|
|
2860
|
-
total: number;
|
|
2861
|
-
subtotal: number;
|
|
2862
|
-
discountTotal: number;
|
|
2863
|
-
shippingOriginalTotal: number;
|
|
2864
|
-
shippingTotal: number;
|
|
2865
|
-
taxTotal: number;
|
|
2866
|
-
warrantyTotal: number;
|
|
2867
|
-
};
|
|
2868
|
-
}>>;
|
|
2869
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2870
|
-
publicKey: z.ZodOptional<z.ZodString>;
|
|
2871
|
-
publishableKey: z.ZodOptional<z.ZodString>;
|
|
2872
|
-
stripePublicKey: z.ZodOptional<z.ZodString>;
|
|
2873
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
2874
|
-
intentClientSecret: z.ZodOptional<z.ZodString>;
|
|
2875
|
-
orderId: z.ZodOptional<z.ZodString>;
|
|
2876
|
-
orderGroup: z.ZodOptional<z.ZodString>;
|
|
2877
|
-
orderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2878
|
-
payment: z.ZodOptional<z.ZodObject<{
|
|
2879
|
-
transactionId: z.ZodString;
|
|
2880
|
-
paymentMethodCode: z.ZodString;
|
|
2881
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2882
|
-
status: z.ZodString;
|
|
2883
|
-
amount: z.ZodNumber;
|
|
2884
|
-
reference: z.ZodString;
|
|
2885
|
-
actionType: z.ZodString;
|
|
2886
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2887
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2888
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2889
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2890
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2891
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2892
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2893
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2894
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2895
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2896
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2897
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2898
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2899
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2900
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2901
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2902
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2903
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2904
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2905
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2906
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2907
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2908
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2909
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2910
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2911
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2912
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2913
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2914
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2915
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2916
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2917
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2918
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2919
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2920
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2921
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2922
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2923
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2924
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2925
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2926
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2927
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2928
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2929
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2930
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2931
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2932
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2933
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2934
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2935
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2936
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2937
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2938
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2939
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2940
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2941
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2942
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2943
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2944
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2945
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2946
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2947
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2948
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2949
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2950
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2951
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2952
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2953
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2954
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2955
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2956
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2957
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2958
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2959
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2960
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2961
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2962
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2963
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2964
|
-
transactionId: z.ZodString;
|
|
2965
|
-
paymentMethodCode: z.ZodString;
|
|
2966
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2967
|
-
status: z.ZodString;
|
|
2968
|
-
amount: z.ZodNumber;
|
|
2969
|
-
reference: z.ZodString;
|
|
2970
|
-
actionType: z.ZodString;
|
|
2971
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2972
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2973
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2974
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2975
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2976
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2977
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2978
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2979
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2980
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2981
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2982
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2983
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2984
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2985
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2986
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2987
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2988
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2989
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2990
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2991
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2992
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2993
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2994
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2995
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2996
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2997
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2998
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2999
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3000
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3001
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3002
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3003
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3004
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3005
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3006
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3007
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3008
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3009
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3010
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3011
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3012
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3013
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3014
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3015
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3016
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3017
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3018
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3019
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3020
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3021
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3022
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3023
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3024
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3025
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3026
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3027
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3028
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3029
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3030
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3031
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3032
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3033
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3034
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3035
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3036
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3037
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3038
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3039
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3040
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3041
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3042
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3043
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3044
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3045
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3046
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3047
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3048
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3049
|
-
transactionId: z.ZodString;
|
|
3050
|
-
paymentMethodCode: z.ZodString;
|
|
3051
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3052
|
-
status: z.ZodString;
|
|
3053
|
-
amount: z.ZodNumber;
|
|
3054
|
-
reference: z.ZodString;
|
|
3055
|
-
actionType: z.ZodString;
|
|
3056
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3057
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3058
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3059
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3060
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3061
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3062
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3063
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3064
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3065
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3066
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3067
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3068
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3069
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3070
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3071
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3072
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3073
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3074
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3075
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3076
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3077
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3078
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3079
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3080
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3081
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3082
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3083
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3084
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3085
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3086
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3087
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3088
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3089
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3090
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3091
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3092
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3093
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3094
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3095
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3096
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3097
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3098
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3099
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3100
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3101
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3102
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3103
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3104
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3105
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3106
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3107
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3108
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3109
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3110
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3111
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3112
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3113
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3114
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3115
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3116
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3117
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3118
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3119
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3120
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3121
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3122
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3123
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3124
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3125
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3126
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3127
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3128
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3129
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3130
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3131
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3132
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3133
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
3134
|
-
cart: z.ZodOptional<z.ZodObject<{
|
|
3135
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3136
|
-
cartNumber: z.ZodString;
|
|
3137
|
-
email: z.ZodNullable<z.ZodString>;
|
|
3138
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
3139
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
3140
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
3141
|
-
currencyCode: z.ZodString;
|
|
3142
|
-
status: z.ZodEnum<["inProgress", "pending", "completed", "abandoned", "cancelled", "expired", "failed"]>;
|
|
3143
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
3144
|
-
shippingAddress: z.ZodNullable<z.ZodObject<{
|
|
3145
|
-
name: z.ZodNullable<z.ZodString>;
|
|
3146
|
-
address1: z.ZodString;
|
|
3147
|
-
city: z.ZodString;
|
|
3148
|
-
countryCode: z.ZodString;
|
|
3149
|
-
company: z.ZodNullable<z.ZodString>;
|
|
3150
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
3151
|
-
province: z.ZodNullable<z.ZodString>;
|
|
3152
|
-
postalCode: z.ZodNullable<z.ZodString>;
|
|
3153
|
-
district: z.ZodNullable<z.ZodString>;
|
|
3154
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
3155
|
-
latitude: z.ZodNullable<z.ZodNumber>;
|
|
3156
|
-
longitude: z.ZodNullable<z.ZodNumber>;
|
|
3157
|
-
}, "strip", z.ZodTypeAny, {
|
|
3158
|
-
name: string | null;
|
|
3159
|
-
address1: string;
|
|
3160
|
-
city: string;
|
|
3161
|
-
countryCode: string;
|
|
3162
|
-
company: string | null;
|
|
3163
|
-
address2: string | null;
|
|
3164
|
-
province: string | null;
|
|
3165
|
-
postalCode: string | null;
|
|
3166
|
-
district: string | null;
|
|
3167
|
-
phone: string | null;
|
|
3168
|
-
latitude: number | null;
|
|
3169
|
-
longitude: number | null;
|
|
3170
|
-
}, {
|
|
3171
|
-
name: string | null;
|
|
3172
|
-
address1: string;
|
|
3173
|
-
city: string;
|
|
3174
|
-
countryCode: string;
|
|
3175
|
-
company: string | null;
|
|
3176
|
-
address2: string | null;
|
|
3177
|
-
province: string | null;
|
|
3178
|
-
postalCode: string | null;
|
|
3179
|
-
district: string | null;
|
|
3180
|
-
phone: string | null;
|
|
3181
|
-
latitude: number | null;
|
|
3182
|
-
longitude: number | null;
|
|
3183
|
-
}>>;
|
|
3184
|
-
billingAddress: z.ZodNullable<z.ZodObject<{
|
|
3185
|
-
name: z.ZodNullable<z.ZodString>;
|
|
3186
|
-
address1: z.ZodString;
|
|
3187
|
-
city: z.ZodString;
|
|
3188
|
-
countryCode: z.ZodString;
|
|
3189
|
-
company: z.ZodNullable<z.ZodString>;
|
|
3190
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
3191
|
-
province: z.ZodNullable<z.ZodString>;
|
|
3192
|
-
postalCode: z.ZodNullable<z.ZodString>;
|
|
3193
|
-
district: z.ZodNullable<z.ZodString>;
|
|
3194
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
3195
|
-
latitude: z.ZodNullable<z.ZodNumber>;
|
|
3196
|
-
longitude: z.ZodNullable<z.ZodNumber>;
|
|
3197
|
-
}, "strip", z.ZodTypeAny, {
|
|
3198
|
-
name: string | null;
|
|
3199
|
-
address1: string;
|
|
3200
|
-
city: string;
|
|
3201
|
-
countryCode: string;
|
|
3202
|
-
company: string | null;
|
|
3203
|
-
address2: string | null;
|
|
3204
|
-
province: string | null;
|
|
3205
|
-
postalCode: string | null;
|
|
3206
|
-
district: string | null;
|
|
3207
|
-
phone: string | null;
|
|
3208
|
-
latitude: number | null;
|
|
3209
|
-
longitude: number | null;
|
|
3210
|
-
}, {
|
|
3211
|
-
name: string | null;
|
|
3212
|
-
address1: string;
|
|
3213
|
-
city: string;
|
|
3214
|
-
countryCode: string;
|
|
3215
|
-
company: string | null;
|
|
3216
|
-
address2: string | null;
|
|
3217
|
-
province: string | null;
|
|
3218
|
-
postalCode: string | null;
|
|
3219
|
-
district: string | null;
|
|
3220
|
-
phone: string | null;
|
|
3221
|
-
latitude: number | null;
|
|
3222
|
-
longitude: number | null;
|
|
3223
|
-
}>>;
|
|
3224
|
-
promotionCodes: z.ZodArray<z.ZodString, "many">;
|
|
3225
|
-
items: z.ZodArray<z.ZodObject<{
|
|
3226
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3227
|
-
productId: z.ZodNumber;
|
|
3228
|
-
title: z.ZodString;
|
|
3229
|
-
variantLabel: z.ZodNullable<z.ZodString>;
|
|
3230
|
-
productHandle: z.ZodNullable<z.ZodString>;
|
|
3231
|
-
thumbnail: z.ZodNullable<z.ZodString>;
|
|
3232
|
-
quantity: z.ZodNumber;
|
|
3233
|
-
variantId: z.ZodNumber;
|
|
3234
|
-
variantSku: z.ZodNullable<z.ZodString>;
|
|
3235
|
-
unitPrice: z.ZodNumber;
|
|
3236
|
-
compareAtUnitPrice: z.ZodNullable<z.ZodNumber>;
|
|
3237
|
-
bundleItems: z.ZodArray<z.ZodObject<{
|
|
3238
|
-
productId: z.ZodNumber;
|
|
3239
|
-
variantId: z.ZodNumber;
|
|
3240
|
-
productName: z.ZodString;
|
|
3241
|
-
variantName: z.ZodNullable<z.ZodString>;
|
|
3242
|
-
sku: z.ZodNullable<z.ZodString>;
|
|
3243
|
-
brand: z.ZodNullable<z.ZodString>;
|
|
3244
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
3245
|
-
quantity: z.ZodNumber;
|
|
3246
|
-
}, "strip", z.ZodTypeAny, {
|
|
3247
|
-
imageUrl: string | null;
|
|
3248
|
-
brand: string | null;
|
|
3249
|
-
productId: number;
|
|
3250
|
-
sku: string | null;
|
|
3251
|
-
quantity: number;
|
|
3252
|
-
variantId: number;
|
|
3253
|
-
productName: string;
|
|
3254
|
-
variantName: string | null;
|
|
3255
|
-
}, {
|
|
3256
|
-
imageUrl: string | null;
|
|
3257
|
-
brand: string | null;
|
|
3258
|
-
productId: number;
|
|
3259
|
-
sku: string | null;
|
|
3260
|
-
quantity: number;
|
|
3261
|
-
variantId: number;
|
|
3262
|
-
productName: string;
|
|
3263
|
-
variantName: string | null;
|
|
3264
|
-
}>, "many">;
|
|
3265
|
-
}, "strip", z.ZodTypeAny, {
|
|
3266
|
-
id: string;
|
|
3267
|
-
productId: number;
|
|
3268
|
-
quantity: number;
|
|
3269
|
-
variantId: number;
|
|
3270
|
-
unitPrice: number;
|
|
3271
|
-
bundleItems: {
|
|
3272
|
-
imageUrl: string | null;
|
|
3273
|
-
brand: string | null;
|
|
3274
|
-
productId: number;
|
|
3275
|
-
sku: string | null;
|
|
3276
|
-
quantity: number;
|
|
3277
|
-
variantId: number;
|
|
3278
|
-
productName: string;
|
|
3279
|
-
variantName: string | null;
|
|
3280
|
-
}[];
|
|
3281
|
-
title: string;
|
|
3282
|
-
variantLabel: string | null;
|
|
3283
|
-
productHandle: string | null;
|
|
3284
|
-
thumbnail: string | null;
|
|
3285
|
-
variantSku: string | null;
|
|
3286
|
-
compareAtUnitPrice: number | null;
|
|
3287
|
-
}, {
|
|
3288
|
-
id: string;
|
|
3289
|
-
productId: number;
|
|
3290
|
-
quantity: number;
|
|
3291
|
-
variantId: number;
|
|
3292
|
-
unitPrice: number;
|
|
3293
|
-
bundleItems: {
|
|
3294
|
-
imageUrl: string | null;
|
|
3295
|
-
brand: string | null;
|
|
3296
|
-
productId: number;
|
|
3297
|
-
sku: string | null;
|
|
3298
|
-
quantity: number;
|
|
3299
|
-
variantId: number;
|
|
3300
|
-
productName: string;
|
|
3301
|
-
variantName: string | null;
|
|
3302
|
-
}[];
|
|
3303
|
-
title: string;
|
|
3304
|
-
variantLabel: string | null;
|
|
3305
|
-
productHandle: string | null;
|
|
3306
|
-
thumbnail: string | null;
|
|
3307
|
-
variantSku: string | null;
|
|
3308
|
-
compareAtUnitPrice: number | null;
|
|
3309
|
-
}>, "many">;
|
|
3310
|
-
shippingMethods: z.ZodArray<z.ZodObject<{
|
|
3311
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3312
|
-
shippingMethodId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3313
|
-
rateId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3314
|
-
name: z.ZodString;
|
|
3315
|
-
description: z.ZodNullable<z.ZodString>;
|
|
3316
|
-
total: z.ZodNumber;
|
|
3317
|
-
locationId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3318
|
-
estimatedDays: z.ZodNullable<z.ZodNumber>;
|
|
3319
|
-
pickupPointId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3320
|
-
scheduledDate: z.ZodNullable<z.ZodString>;
|
|
3321
|
-
scheduledTime: z.ZodNullable<z.ZodString>;
|
|
3322
|
-
serviceCode: z.ZodNullable<z.ZodString>;
|
|
3323
|
-
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3324
|
-
shippingProfileId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3325
|
-
}, "strip", z.ZodTypeAny, {
|
|
3326
|
-
id: string;
|
|
3327
|
-
name: string;
|
|
3328
|
-
description: string | null;
|
|
3329
|
-
sellerId: string | null;
|
|
3330
|
-
locationId: string | null;
|
|
3331
|
-
shippingMethodId: string | null;
|
|
3332
|
-
rateId: string | null;
|
|
3333
|
-
total: number;
|
|
3334
|
-
estimatedDays: number | null;
|
|
3335
|
-
pickupPointId: string | null;
|
|
3336
|
-
scheduledDate: string | null;
|
|
3337
|
-
scheduledTime: string | null;
|
|
3338
|
-
serviceCode: string | null;
|
|
3339
|
-
shippingProfileId: string | null;
|
|
3340
|
-
}, {
|
|
3341
|
-
id: string;
|
|
3342
|
-
name: string;
|
|
3343
|
-
description: string | null;
|
|
3344
|
-
sellerId: string | null;
|
|
3345
|
-
locationId: string | null;
|
|
3346
|
-
shippingMethodId: string | null;
|
|
3347
|
-
rateId: string | null;
|
|
3348
|
-
total: number;
|
|
3349
|
-
estimatedDays: number | null;
|
|
3350
|
-
pickupPointId: string | null;
|
|
3351
|
-
scheduledDate: string | null;
|
|
3352
|
-
scheduledTime: string | null;
|
|
3353
|
-
serviceCode: string | null;
|
|
3354
|
-
shippingProfileId: string | null;
|
|
3355
|
-
}>, "many">;
|
|
3356
|
-
totals: z.ZodObject<{
|
|
3357
|
-
subtotal: z.ZodNumber;
|
|
3358
|
-
discountTotal: z.ZodNumber;
|
|
3359
|
-
shippingOriginalTotal: z.ZodNumber;
|
|
3360
|
-
shippingTotal: z.ZodNumber;
|
|
3361
|
-
taxTotal: z.ZodNumber;
|
|
3362
|
-
warrantyTotal: z.ZodNumber;
|
|
3363
|
-
total: z.ZodNumber;
|
|
3364
|
-
}, "strip", z.ZodTypeAny, {
|
|
3365
|
-
total: number;
|
|
3366
|
-
subtotal: number;
|
|
3367
|
-
discountTotal: number;
|
|
3368
|
-
shippingOriginalTotal: number;
|
|
3369
|
-
shippingTotal: number;
|
|
3370
|
-
taxTotal: number;
|
|
3371
|
-
warrantyTotal: number;
|
|
3372
|
-
}, {
|
|
3373
|
-
total: number;
|
|
3374
|
-
subtotal: number;
|
|
3375
|
-
discountTotal: number;
|
|
3376
|
-
shippingOriginalTotal: number;
|
|
3377
|
-
shippingTotal: number;
|
|
3378
|
-
taxTotal: number;
|
|
3379
|
-
warrantyTotal: number;
|
|
3380
|
-
}>;
|
|
3381
|
-
}, "strip", z.ZodTypeAny, {
|
|
1866
|
+
}, "strip", z.ZodTypeAny, {
|
|
1867
|
+
orderId?: string | undefined;
|
|
1868
|
+
cart?: {
|
|
3382
1869
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
3383
1870
|
id: string;
|
|
3384
1871
|
phone: string | null;
|
|
@@ -3465,7 +1952,41 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
3465
1952
|
taxTotal: number;
|
|
3466
1953
|
warrantyTotal: number;
|
|
3467
1954
|
};
|
|
3468
|
-
}
|
|
1955
|
+
} | undefined;
|
|
1956
|
+
publishableKey?: string | undefined;
|
|
1957
|
+
clientSecret?: string | undefined;
|
|
1958
|
+
publicKey?: string | undefined;
|
|
1959
|
+
stripePublicKey?: string | undefined;
|
|
1960
|
+
intentClientSecret?: string | undefined;
|
|
1961
|
+
orderGroup?: string | undefined;
|
|
1962
|
+
orderIds?: string[] | undefined;
|
|
1963
|
+
payment?: {
|
|
1964
|
+
status: string;
|
|
1965
|
+
transactionId: string;
|
|
1966
|
+
paymentMethodCode: string;
|
|
1967
|
+
amount: number;
|
|
1968
|
+
reference: string;
|
|
1969
|
+
actionType: string;
|
|
1970
|
+
providerId?: string | null | undefined;
|
|
1971
|
+
receiptUrl?: string | null | undefined;
|
|
1972
|
+
action?: {
|
|
1973
|
+
url?: string | null | undefined;
|
|
1974
|
+
publicConfiguration?: {
|
|
1975
|
+
phoneNumber?: string | null | undefined;
|
|
1976
|
+
accountHolder?: string | null | undefined;
|
|
1977
|
+
qrImageUrl?: string | null | undefined;
|
|
1978
|
+
publishableKey?: string | null | undefined;
|
|
1979
|
+
checkoutMode?: string | null | undefined;
|
|
1980
|
+
} | null | undefined;
|
|
1981
|
+
html?: string | null | undefined;
|
|
1982
|
+
clientSecret?: string | null | undefined;
|
|
1983
|
+
qrCode?: string | null | undefined;
|
|
1984
|
+
expiresAt?: string | null | undefined;
|
|
1985
|
+
} | null | undefined;
|
|
1986
|
+
} | undefined;
|
|
1987
|
+
}, {
|
|
1988
|
+
orderId?: string | undefined;
|
|
1989
|
+
cart?: {
|
|
3469
1990
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
3470
1991
|
id: string;
|
|
3471
1992
|
phone: string | null;
|
|
@@ -3552,8 +2073,39 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
3552
2073
|
taxTotal: number;
|
|
3553
2074
|
warrantyTotal: number;
|
|
3554
2075
|
};
|
|
3555
|
-
}
|
|
3556
|
-
|
|
2076
|
+
} | undefined;
|
|
2077
|
+
publishableKey?: string | undefined;
|
|
2078
|
+
clientSecret?: string | undefined;
|
|
2079
|
+
publicKey?: string | undefined;
|
|
2080
|
+
stripePublicKey?: string | undefined;
|
|
2081
|
+
intentClientSecret?: string | undefined;
|
|
2082
|
+
orderGroup?: string | undefined;
|
|
2083
|
+
orderIds?: string[] | undefined;
|
|
2084
|
+
payment?: {
|
|
2085
|
+
status: string;
|
|
2086
|
+
transactionId: string;
|
|
2087
|
+
paymentMethodCode: string;
|
|
2088
|
+
amount: number;
|
|
2089
|
+
reference: string;
|
|
2090
|
+
actionType: string;
|
|
2091
|
+
providerId?: string | null | undefined;
|
|
2092
|
+
receiptUrl?: string | null | undefined;
|
|
2093
|
+
action?: {
|
|
2094
|
+
url?: string | null | undefined;
|
|
2095
|
+
publicConfiguration?: {
|
|
2096
|
+
phoneNumber?: string | null | undefined;
|
|
2097
|
+
accountHolder?: string | null | undefined;
|
|
2098
|
+
qrImageUrl?: string | null | undefined;
|
|
2099
|
+
publishableKey?: string | null | undefined;
|
|
2100
|
+
checkoutMode?: string | null | undefined;
|
|
2101
|
+
} | null | undefined;
|
|
2102
|
+
html?: string | null | undefined;
|
|
2103
|
+
clientSecret?: string | null | undefined;
|
|
2104
|
+
qrCode?: string | null | undefined;
|
|
2105
|
+
expiresAt?: string | null | undefined;
|
|
2106
|
+
} | null | undefined;
|
|
2107
|
+
} | undefined;
|
|
2108
|
+
}>;
|
|
3557
2109
|
type CartCheckoutResponse = z.infer<typeof CartCheckoutResponseSchema>;
|
|
3558
2110
|
declare const CartCheckoutParamsSchema: z.ZodObject<{
|
|
3559
2111
|
cartId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -3586,180 +2138,46 @@ declare const ShippingRateSchema: z.ZodObject<{
|
|
|
3586
2138
|
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3587
2139
|
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3588
2140
|
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3589
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3590
|
-
}, "
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
metadata
|
|
3605
|
-
},
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
metadata
|
|
3620
|
-
}
|
|
3621
|
-
type ShippingRate = z.infer<typeof ShippingRateSchema>;
|
|
3622
|
-
declare const ShippingOptionGroupSchema: z.ZodObject<{
|
|
3623
|
-
sellerId: z.ZodString;
|
|
3624
|
-
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3625
|
-
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
3626
|
-
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
3627
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3628
|
-
rates: z.ZodArray<z.ZodObject<{
|
|
3629
|
-
shippingMethodId: z.ZodString;
|
|
3630
|
-
name: z.ZodString;
|
|
3631
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3632
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3633
|
-
price: z.ZodNumber;
|
|
3634
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3635
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3636
|
-
rateId: z.ZodString;
|
|
3637
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3638
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3639
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3640
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3641
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3642
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3643
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3644
|
-
shippingMethodId: z.ZodString;
|
|
3645
|
-
name: z.ZodString;
|
|
3646
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3647
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3648
|
-
price: z.ZodNumber;
|
|
3649
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3650
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3651
|
-
rateId: z.ZodString;
|
|
3652
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3653
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3654
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3655
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3656
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3657
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3658
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3659
|
-
shippingMethodId: z.ZodString;
|
|
3660
|
-
name: z.ZodString;
|
|
3661
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3662
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3663
|
-
price: z.ZodNumber;
|
|
3664
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3665
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3666
|
-
rateId: z.ZodString;
|
|
3667
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3668
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3669
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3670
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3671
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3672
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3673
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3674
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3675
|
-
sellerId: z.ZodString;
|
|
3676
|
-
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3677
|
-
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
3678
|
-
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
3679
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3680
|
-
rates: z.ZodArray<z.ZodObject<{
|
|
3681
|
-
shippingMethodId: z.ZodString;
|
|
3682
|
-
name: z.ZodString;
|
|
3683
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3684
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3685
|
-
price: z.ZodNumber;
|
|
3686
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3687
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3688
|
-
rateId: z.ZodString;
|
|
3689
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3690
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3691
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3692
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3693
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3694
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3695
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3696
|
-
shippingMethodId: z.ZodString;
|
|
3697
|
-
name: z.ZodString;
|
|
3698
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3699
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3700
|
-
price: z.ZodNumber;
|
|
3701
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3702
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3703
|
-
rateId: z.ZodString;
|
|
3704
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3705
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3706
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3707
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3708
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3709
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3710
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3711
|
-
shippingMethodId: z.ZodString;
|
|
3712
|
-
name: z.ZodString;
|
|
3713
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3714
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3715
|
-
price: z.ZodNumber;
|
|
3716
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3717
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3718
|
-
rateId: z.ZodString;
|
|
3719
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3720
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3721
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3722
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3723
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3724
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3725
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3726
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3727
|
-
sellerId: z.ZodString;
|
|
3728
|
-
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3729
|
-
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
3730
|
-
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
3731
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3732
|
-
rates: z.ZodArray<z.ZodObject<{
|
|
3733
|
-
shippingMethodId: z.ZodString;
|
|
3734
|
-
name: z.ZodString;
|
|
3735
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3736
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3737
|
-
price: z.ZodNumber;
|
|
3738
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3739
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3740
|
-
rateId: z.ZodString;
|
|
3741
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3742
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3743
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3744
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3745
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3746
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3747
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3748
|
-
shippingMethodId: z.ZodString;
|
|
3749
|
-
name: z.ZodString;
|
|
3750
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3751
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3752
|
-
price: z.ZodNumber;
|
|
3753
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3754
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3755
|
-
rateId: z.ZodString;
|
|
3756
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3757
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3758
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3759
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3760
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3761
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3762
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2141
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<CheckoutMetadataValue, z.ZodTypeDef, CheckoutMetadataValue>>>;
|
|
2142
|
+
}, "strip", z.ZodTypeAny, {
|
|
2143
|
+
name: string;
|
|
2144
|
+
price: number;
|
|
2145
|
+
shippingMethodId: string;
|
|
2146
|
+
rateId: string;
|
|
2147
|
+
type?: string | undefined;
|
|
2148
|
+
description?: string | null | undefined;
|
|
2149
|
+
serviceCode?: string | null | undefined;
|
|
2150
|
+
sortOrder?: number | undefined;
|
|
2151
|
+
displayName?: string | undefined;
|
|
2152
|
+
currency?: string | undefined;
|
|
2153
|
+
deliveryLocationId?: string | null | undefined;
|
|
2154
|
+
deliveryLocationName?: string | null | undefined;
|
|
2155
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2156
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2157
|
+
}, {
|
|
2158
|
+
name: string;
|
|
2159
|
+
price: number;
|
|
2160
|
+
shippingMethodId: string;
|
|
2161
|
+
rateId: string;
|
|
2162
|
+
type?: string | undefined;
|
|
2163
|
+
description?: string | null | undefined;
|
|
2164
|
+
serviceCode?: string | null | undefined;
|
|
2165
|
+
sortOrder?: number | undefined;
|
|
2166
|
+
displayName?: string | undefined;
|
|
2167
|
+
currency?: string | undefined;
|
|
2168
|
+
deliveryLocationId?: string | null | undefined;
|
|
2169
|
+
deliveryLocationName?: string | null | undefined;
|
|
2170
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2171
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2172
|
+
}>;
|
|
2173
|
+
type ShippingRate = z.infer<typeof ShippingRateSchema>;
|
|
2174
|
+
declare const ShippingOptionGroupSchema: z.ZodObject<{
|
|
2175
|
+
sellerId: z.ZodString;
|
|
2176
|
+
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2177
|
+
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
2178
|
+
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
2179
|
+
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2180
|
+
rates: z.ZodArray<z.ZodObject<{
|
|
3763
2181
|
shippingMethodId: z.ZodString;
|
|
3764
2182
|
name: z.ZodString;
|
|
3765
2183
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -3773,9 +2191,83 @@ declare const ShippingOptionGroupSchema: z.ZodObject<{
|
|
|
3773
2191
|
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3774
2192
|
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3775
2193
|
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3776
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3777
|
-
}, z.ZodTypeAny,
|
|
3778
|
-
|
|
2194
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<CheckoutMetadataValue, z.ZodTypeDef, CheckoutMetadataValue>>>;
|
|
2195
|
+
}, "strip", z.ZodTypeAny, {
|
|
2196
|
+
name: string;
|
|
2197
|
+
price: number;
|
|
2198
|
+
shippingMethodId: string;
|
|
2199
|
+
rateId: string;
|
|
2200
|
+
type?: string | undefined;
|
|
2201
|
+
description?: string | null | undefined;
|
|
2202
|
+
serviceCode?: string | null | undefined;
|
|
2203
|
+
sortOrder?: number | undefined;
|
|
2204
|
+
displayName?: string | undefined;
|
|
2205
|
+
currency?: string | undefined;
|
|
2206
|
+
deliveryLocationId?: string | null | undefined;
|
|
2207
|
+
deliveryLocationName?: string | null | undefined;
|
|
2208
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2209
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2210
|
+
}, {
|
|
2211
|
+
name: string;
|
|
2212
|
+
price: number;
|
|
2213
|
+
shippingMethodId: string;
|
|
2214
|
+
rateId: string;
|
|
2215
|
+
type?: string | undefined;
|
|
2216
|
+
description?: string | null | undefined;
|
|
2217
|
+
serviceCode?: string | null | undefined;
|
|
2218
|
+
sortOrder?: number | undefined;
|
|
2219
|
+
displayName?: string | undefined;
|
|
2220
|
+
currency?: string | undefined;
|
|
2221
|
+
deliveryLocationId?: string | null | undefined;
|
|
2222
|
+
deliveryLocationName?: string | null | undefined;
|
|
2223
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2224
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2225
|
+
}>, "many">;
|
|
2226
|
+
}, "strip", z.ZodTypeAny, {
|
|
2227
|
+
sellerId: string;
|
|
2228
|
+
rates: {
|
|
2229
|
+
name: string;
|
|
2230
|
+
price: number;
|
|
2231
|
+
shippingMethodId: string;
|
|
2232
|
+
rateId: string;
|
|
2233
|
+
type?: string | undefined;
|
|
2234
|
+
description?: string | null | undefined;
|
|
2235
|
+
serviceCode?: string | null | undefined;
|
|
2236
|
+
sortOrder?: number | undefined;
|
|
2237
|
+
displayName?: string | undefined;
|
|
2238
|
+
currency?: string | undefined;
|
|
2239
|
+
deliveryLocationId?: string | null | undefined;
|
|
2240
|
+
deliveryLocationName?: string | null | undefined;
|
|
2241
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2242
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2243
|
+
}[];
|
|
2244
|
+
shippingProfileId?: string | null | undefined;
|
|
2245
|
+
orderAmount?: number | undefined;
|
|
2246
|
+
totalWeight?: number | undefined;
|
|
2247
|
+
itemIds?: string[] | undefined;
|
|
2248
|
+
}, {
|
|
2249
|
+
sellerId: string;
|
|
2250
|
+
rates: {
|
|
2251
|
+
name: string;
|
|
2252
|
+
price: number;
|
|
2253
|
+
shippingMethodId: string;
|
|
2254
|
+
rateId: string;
|
|
2255
|
+
type?: string | undefined;
|
|
2256
|
+
description?: string | null | undefined;
|
|
2257
|
+
serviceCode?: string | null | undefined;
|
|
2258
|
+
sortOrder?: number | undefined;
|
|
2259
|
+
displayName?: string | undefined;
|
|
2260
|
+
currency?: string | undefined;
|
|
2261
|
+
deliveryLocationId?: string | null | undefined;
|
|
2262
|
+
deliveryLocationName?: string | null | undefined;
|
|
2263
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2264
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2265
|
+
}[];
|
|
2266
|
+
shippingProfileId?: string | null | undefined;
|
|
2267
|
+
orderAmount?: number | undefined;
|
|
2268
|
+
totalWeight?: number | undefined;
|
|
2269
|
+
itemIds?: string[] | undefined;
|
|
2270
|
+
}>;
|
|
3779
2271
|
type ShippingOptionGroup = z.infer<typeof ShippingOptionGroupSchema>;
|
|
3780
2272
|
declare const ShippingOptionsResponseSchema: z.ZodObject<{
|
|
3781
2273
|
groups: z.ZodArray<z.ZodObject<{
|
|
@@ -3798,251 +2290,131 @@ declare const ShippingOptionsResponseSchema: z.ZodObject<{
|
|
|
3798
2290
|
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3799
2291
|
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3800
2292
|
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3801
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3802
|
-
}, "
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
metadata
|
|
3817
|
-
},
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
metadata
|
|
3832
|
-
}
|
|
3833
|
-
}, "
|
|
3834
|
-
sellerId:
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
currency
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
price:
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
description
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3879
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3880
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3881
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3882
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3883
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3884
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3885
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3886
|
-
sellerId: z.ZodString;
|
|
3887
|
-
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3888
|
-
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
3889
|
-
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
3890
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3891
|
-
rates: z.ZodArray<z.ZodObject<{
|
|
3892
|
-
shippingMethodId: z.ZodString;
|
|
3893
|
-
name: z.ZodString;
|
|
3894
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3895
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3896
|
-
price: z.ZodNumber;
|
|
3897
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3898
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3899
|
-
rateId: z.ZodString;
|
|
3900
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3901
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3902
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3903
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3904
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3905
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3906
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3907
|
-
shippingMethodId: z.ZodString;
|
|
3908
|
-
name: z.ZodString;
|
|
3909
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3910
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3911
|
-
price: z.ZodNumber;
|
|
3912
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3913
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3914
|
-
rateId: z.ZodString;
|
|
3915
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3916
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3917
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3918
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3919
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3920
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3921
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3922
|
-
shippingMethodId: z.ZodString;
|
|
3923
|
-
name: z.ZodString;
|
|
3924
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3925
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3926
|
-
price: z.ZodNumber;
|
|
3927
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3928
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3929
|
-
rateId: z.ZodString;
|
|
3930
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3931
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3932
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3933
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3934
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3935
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3936
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3937
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
2293
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<CheckoutMetadataValue, z.ZodTypeDef, CheckoutMetadataValue>>>;
|
|
2294
|
+
}, "strip", z.ZodTypeAny, {
|
|
2295
|
+
name: string;
|
|
2296
|
+
price: number;
|
|
2297
|
+
shippingMethodId: string;
|
|
2298
|
+
rateId: string;
|
|
2299
|
+
type?: string | undefined;
|
|
2300
|
+
description?: string | null | undefined;
|
|
2301
|
+
serviceCode?: string | null | undefined;
|
|
2302
|
+
sortOrder?: number | undefined;
|
|
2303
|
+
displayName?: string | undefined;
|
|
2304
|
+
currency?: string | undefined;
|
|
2305
|
+
deliveryLocationId?: string | null | undefined;
|
|
2306
|
+
deliveryLocationName?: string | null | undefined;
|
|
2307
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2308
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2309
|
+
}, {
|
|
2310
|
+
name: string;
|
|
2311
|
+
price: number;
|
|
2312
|
+
shippingMethodId: string;
|
|
2313
|
+
rateId: string;
|
|
2314
|
+
type?: string | undefined;
|
|
2315
|
+
description?: string | null | undefined;
|
|
2316
|
+
serviceCode?: string | null | undefined;
|
|
2317
|
+
sortOrder?: number | undefined;
|
|
2318
|
+
displayName?: string | undefined;
|
|
2319
|
+
currency?: string | undefined;
|
|
2320
|
+
deliveryLocationId?: string | null | undefined;
|
|
2321
|
+
deliveryLocationName?: string | null | undefined;
|
|
2322
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2323
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2324
|
+
}>, "many">;
|
|
2325
|
+
}, "strip", z.ZodTypeAny, {
|
|
2326
|
+
sellerId: string;
|
|
2327
|
+
rates: {
|
|
2328
|
+
name: string;
|
|
2329
|
+
price: number;
|
|
2330
|
+
shippingMethodId: string;
|
|
2331
|
+
rateId: string;
|
|
2332
|
+
type?: string | undefined;
|
|
2333
|
+
description?: string | null | undefined;
|
|
2334
|
+
serviceCode?: string | null | undefined;
|
|
2335
|
+
sortOrder?: number | undefined;
|
|
2336
|
+
displayName?: string | undefined;
|
|
2337
|
+
currency?: string | undefined;
|
|
2338
|
+
deliveryLocationId?: string | null | undefined;
|
|
2339
|
+
deliveryLocationName?: string | null | undefined;
|
|
2340
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2341
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2342
|
+
}[];
|
|
2343
|
+
shippingProfileId?: string | null | undefined;
|
|
2344
|
+
orderAmount?: number | undefined;
|
|
2345
|
+
totalWeight?: number | undefined;
|
|
2346
|
+
itemIds?: string[] | undefined;
|
|
2347
|
+
}, {
|
|
2348
|
+
sellerId: string;
|
|
2349
|
+
rates: {
|
|
2350
|
+
name: string;
|
|
2351
|
+
price: number;
|
|
2352
|
+
shippingMethodId: string;
|
|
2353
|
+
rateId: string;
|
|
2354
|
+
type?: string | undefined;
|
|
2355
|
+
description?: string | null | undefined;
|
|
2356
|
+
serviceCode?: string | null | undefined;
|
|
2357
|
+
sortOrder?: number | undefined;
|
|
2358
|
+
displayName?: string | undefined;
|
|
2359
|
+
currency?: string | undefined;
|
|
2360
|
+
deliveryLocationId?: string | null | undefined;
|
|
2361
|
+
deliveryLocationName?: string | null | undefined;
|
|
2362
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2363
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2364
|
+
}[];
|
|
2365
|
+
shippingProfileId?: string | null | undefined;
|
|
2366
|
+
orderAmount?: number | undefined;
|
|
2367
|
+
totalWeight?: number | undefined;
|
|
2368
|
+
itemIds?: string[] | undefined;
|
|
2369
|
+
}>, "many">;
|
|
3938
2370
|
}, "strip", z.ZodTypeAny, {
|
|
3939
|
-
groups:
|
|
3940
|
-
sellerId:
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
currency
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
name: z.ZodString;
|
|
3963
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3964
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3965
|
-
price: z.ZodNumber;
|
|
3966
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3967
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3968
|
-
rateId: z.ZodString;
|
|
3969
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3970
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3971
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3972
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3973
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3974
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3975
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3976
|
-
shippingMethodId: z.ZodString;
|
|
3977
|
-
name: z.ZodString;
|
|
3978
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3979
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3980
|
-
price: z.ZodNumber;
|
|
3981
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3982
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3983
|
-
rateId: z.ZodString;
|
|
3984
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3985
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3986
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3987
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3988
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3989
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3990
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3991
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
2371
|
+
groups: {
|
|
2372
|
+
sellerId: string;
|
|
2373
|
+
rates: {
|
|
2374
|
+
name: string;
|
|
2375
|
+
price: number;
|
|
2376
|
+
shippingMethodId: string;
|
|
2377
|
+
rateId: string;
|
|
2378
|
+
type?: string | undefined;
|
|
2379
|
+
description?: string | null | undefined;
|
|
2380
|
+
serviceCode?: string | null | undefined;
|
|
2381
|
+
sortOrder?: number | undefined;
|
|
2382
|
+
displayName?: string | undefined;
|
|
2383
|
+
currency?: string | undefined;
|
|
2384
|
+
deliveryLocationId?: string | null | undefined;
|
|
2385
|
+
deliveryLocationName?: string | null | undefined;
|
|
2386
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2387
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2388
|
+
}[];
|
|
2389
|
+
shippingProfileId?: string | null | undefined;
|
|
2390
|
+
orderAmount?: number | undefined;
|
|
2391
|
+
totalWeight?: number | undefined;
|
|
2392
|
+
itemIds?: string[] | undefined;
|
|
2393
|
+
}[];
|
|
3992
2394
|
}, {
|
|
3993
|
-
groups:
|
|
3994
|
-
sellerId:
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
currency
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
name: z.ZodString;
|
|
4017
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
4018
|
-
type: z.ZodOptional<z.ZodString>;
|
|
4019
|
-
price: z.ZodNumber;
|
|
4020
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
4021
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
4022
|
-
rateId: z.ZodString;
|
|
4023
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4024
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4025
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4026
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4027
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4028
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4029
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4030
|
-
shippingMethodId: z.ZodString;
|
|
4031
|
-
name: z.ZodString;
|
|
4032
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
4033
|
-
type: z.ZodOptional<z.ZodString>;
|
|
4034
|
-
price: z.ZodNumber;
|
|
4035
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
4036
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
4037
|
-
rateId: z.ZodString;
|
|
4038
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4039
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4040
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4041
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4042
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4043
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4044
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
4045
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
2395
|
+
groups: {
|
|
2396
|
+
sellerId: string;
|
|
2397
|
+
rates: {
|
|
2398
|
+
name: string;
|
|
2399
|
+
price: number;
|
|
2400
|
+
shippingMethodId: string;
|
|
2401
|
+
rateId: string;
|
|
2402
|
+
type?: string | undefined;
|
|
2403
|
+
description?: string | null | undefined;
|
|
2404
|
+
serviceCode?: string | null | undefined;
|
|
2405
|
+
sortOrder?: number | undefined;
|
|
2406
|
+
displayName?: string | undefined;
|
|
2407
|
+
currency?: string | undefined;
|
|
2408
|
+
deliveryLocationId?: string | null | undefined;
|
|
2409
|
+
deliveryLocationName?: string | null | undefined;
|
|
2410
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2411
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2412
|
+
}[];
|
|
2413
|
+
shippingProfileId?: string | null | undefined;
|
|
2414
|
+
orderAmount?: number | undefined;
|
|
2415
|
+
totalWeight?: number | undefined;
|
|
2416
|
+
itemIds?: string[] | undefined;
|
|
2417
|
+
}[];
|
|
4046
2418
|
}>;
|
|
4047
2419
|
type ShippingOptionsResponse = z.infer<typeof ShippingOptionsResponseSchema>;
|
|
4048
2420
|
declare const GetShippingOptionsParamsSchema: z.ZodObject<{
|
|
@@ -4119,4 +2491,4 @@ declare const CartPromotionCodeParamsSchema: z.ZodObject<{
|
|
|
4119
2491
|
}>;
|
|
4120
2492
|
type CartPromotionCodeParams = z.input<typeof CartPromotionCodeParamsSchema>;
|
|
4121
2493
|
|
|
4122
|
-
export { type CartAddressWrite, CartAddressWriteSchema, type CartAddressesParams, CartAddressesParamsSchema, type CartBuyerParams, CartBuyerParamsSchema, type CartCheckoutParams, CartCheckoutParamsSchema, type CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, type CartCheckoutReadParams, CartCheckoutReadParamsSchema, type CartCheckoutReadResponse, CartCheckoutReadResponseSchema, type CartCheckoutResponse, CartCheckoutResponseSchema, type CartPaymentMethod, CartPaymentMethodSchema, type CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, type CartPromotionCodeParams, CartPromotionCodeParamsSchema, type GetShippingOptionsParams, GetShippingOptionsParamsSchema, type PutShippingMethodParams, PutShippingMethodParamsSchema, type ShippingOptionGroup, ShippingOptionGroupSchema, type ShippingOptionsResponse, ShippingOptionsResponseSchema, type ShippingRate, ShippingRateSchema, type StorefrontOrderBump, StorefrontOrderBumpSchema, type UploadPaymentReceiptParams };
|
|
2494
|
+
export { type CartAddressWrite, CartAddressWriteSchema, type CartAddressesParams, CartAddressesParamsSchema, type CartBuyerParams, CartBuyerParamsSchema, type CartCheckoutParams, CartCheckoutParamsSchema, type CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, type CartCheckoutReadParams, CartCheckoutReadParamsSchema, type CartCheckoutReadResponse, CartCheckoutReadResponseSchema, type CartCheckoutResponse, CartCheckoutResponseSchema, type CartPaymentMethod, CartPaymentMethodSchema, type CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, type CartPromotionCodeParams, CartPromotionCodeParamsSchema, type CheckoutMetadataValue, CheckoutMetadataValueSchema, type GetShippingOptionsParams, GetShippingOptionsParamsSchema, type PutShippingMethodParams, PutShippingMethodParamsSchema, type ShippingOptionGroup, ShippingOptionGroupSchema, type ShippingOptionsResponse, ShippingOptionsResponseSchema, type ShippingRate, ShippingRateSchema, type StorefrontOrderBump, StorefrontOrderBumpSchema, type UploadPaymentReceiptParams };
|