@kizlo/woocommerce 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,9 @@
1
- import { a as StorefrontCountry, c as StorefrontFieldOverride, d as StorefrontPricing, f as CheckoutRegisteredFieldReference, i as StorefrontCheckout, l as StorefrontFieldRule, m as CheckoutValidationIssue, n as StorefrontAddress, o as StorefrontField, p as CheckoutValidationData, r as StorefrontCatalog, s as StorefrontFieldOption, t as Storefront, u as StorefrontFieldSchema } from "./schema-ScTHhVY4.js";
1
+ import { a as StorefrontCountry, c as StorefrontFieldOverride, d as StorefrontPricing, f as CheckoutRegisteredFieldReference, i as StorefrontCheckout, l as StorefrontFieldRule, m as CheckoutValidationIssue, n as StorefrontAddress, o as StorefrontField, p as CheckoutValidationData, r as StorefrontCatalog, s as StorefrontFieldOption, t as Storefront, u as StorefrontFieldSchema } from "./schema-CWDJjtW7.js";
2
2
  import * as kizlo0 from "kizlo";
3
3
  import { WP_CustomFields, WP_Schema } from "kizlo";
4
4
  import * as _kizlo_shared0 from "@kizlo/shared";
5
5
  import z$1, { z } from "zod/v4";
6
- import * as zod0 from "zod";
7
6
  import z$2 from "zod";
8
- import * as zod_v4_core0 from "zod/v4/core";
9
7
 
10
8
  //#region src/field-projections.d.ts
11
9
  /** The native API is a projection of a registered value, never a second storage field. */
@@ -58,6 +56,12 @@ declare const AddressAdditionalFieldsSchema: z$1.ZodType<AddressAdditionalFields
58
56
  declare const CheckoutAdditionalFieldsSchema: z$1.ZodType<CheckoutAdditionalFields$1, CheckoutAdditionalFieldsInput>;
59
57
  //#endregion
60
58
  //#region src/checkout/error.d.ts
59
+ declare const GET_CHECKOUT_ERROR_MAP: {
60
+ readonly CHECKOUT_ORDER_NOT_FOUND: {
61
+ readonly status: 404;
62
+ readonly message: "No checkout order found.";
63
+ };
64
+ };
61
65
  declare const CONFIRM_CHECKOUT_ERROR_MAP: {
62
66
  readonly CHECKOUT_ADDRESS_COUNTRY_INVALID: {
63
67
  readonly status: 400;
@@ -1072,39 +1076,1746 @@ declare const CONFIRM_CHECKOUT_ERROR_MAP: {
1072
1076
  code: z$2.ZodString;
1073
1077
  message: z$2.ZodString;
1074
1078
  }, z$2.core.$strip>>;
1075
- totals: z$2.ZodObject<{
1076
- itemsTotal: z$2.ZodNumber;
1077
- itemsTaxTotal: z$2.ZodNumber;
1078
- feesTotal: z$2.ZodNumber;
1079
- feesTaxTotal: z$2.ZodNumber;
1080
- discountTotal: z$2.ZodNumber;
1081
- discountTaxTotal: z$2.ZodNumber;
1082
- shippingTotal: z$2.ZodNullable<z$2.ZodNumber>;
1083
- shippingTaxTotal: z$2.ZodNullable<z$2.ZodNumber>;
1084
- total: z$2.ZodNumber;
1085
- taxTotal: z$2.ZodNumber;
1086
- taxLines: z$2.ZodArray<z$2.ZodObject<{
1087
- name: z$2.ZodString;
1088
- price: z$2.ZodNumber;
1089
- rate: z$2.ZodString;
1090
- }, z$2.core.$strip>>;
1091
- }, z$2.core.$strip>;
1092
- currencyFormat: z$2.ZodObject<{
1093
- currencyCode: z$2.ZodString;
1094
- currencySymbol: z$2.ZodString;
1095
- currencyPrefix: z$2.ZodString;
1096
- currencySuffix: z$2.ZodString;
1097
- currencyMinorUnit: z$2.ZodNumber;
1098
- currencyDecimalSeparator: z$2.ZodString;
1099
- currencyThousandSeparator: z$2.ZodString;
1100
- }, z$2.core.$strip>;
1101
- extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1102
- }, z$2.core.$strip>>;
1103
- }, z$2.core.$strip>;
1079
+ totals: z$2.ZodObject<{
1080
+ itemsTotal: z$2.ZodNumber;
1081
+ itemsTaxTotal: z$2.ZodNumber;
1082
+ feesTotal: z$2.ZodNumber;
1083
+ feesTaxTotal: z$2.ZodNumber;
1084
+ discountTotal: z$2.ZodNumber;
1085
+ discountTaxTotal: z$2.ZodNumber;
1086
+ shippingTotal: z$2.ZodNullable<z$2.ZodNumber>;
1087
+ shippingTaxTotal: z$2.ZodNullable<z$2.ZodNumber>;
1088
+ total: z$2.ZodNumber;
1089
+ taxTotal: z$2.ZodNumber;
1090
+ taxLines: z$2.ZodArray<z$2.ZodObject<{
1091
+ name: z$2.ZodString;
1092
+ price: z$2.ZodNumber;
1093
+ rate: z$2.ZodString;
1094
+ }, z$2.core.$strip>>;
1095
+ }, z$2.core.$strip>;
1096
+ currencyFormat: z$2.ZodObject<{
1097
+ currencyCode: z$2.ZodString;
1098
+ currencySymbol: z$2.ZodString;
1099
+ currencyPrefix: z$2.ZodString;
1100
+ currencySuffix: z$2.ZodString;
1101
+ currencyMinorUnit: z$2.ZodNumber;
1102
+ currencyDecimalSeparator: z$2.ZodString;
1103
+ currencyThousandSeparator: z$2.ZodString;
1104
+ }, z$2.core.$strip>;
1105
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1106
+ }, z$2.core.$strip>>;
1107
+ }, z$2.core.$strip>;
1108
+ };
1109
+ readonly CHECKOUT_COUPONS_REMOVED: {
1110
+ readonly status: 409;
1111
+ readonly message: "One or more coupons were removed from the cart.";
1112
+ readonly data: z$2.ZodObject<{
1113
+ cart: z$2.ZodNullable<z$2.ZodObject<{
1114
+ items: z$2.ZodArray<z$2.ZodObject<{
1115
+ key: z$2.ZodString;
1116
+ productId: z$2.ZodNumber;
1117
+ variationId: z$2.ZodNullable<z$2.ZodNumber>;
1118
+ type: z$2.ZodString;
1119
+ name: z$2.ZodString;
1120
+ sku: z$2.ZodNullable<z$2.ZodString>;
1121
+ slug: z$2.ZodString;
1122
+ url: z$2.ZodNullable<z$2.ZodString>;
1123
+ shortDescription: z$2.ZodString;
1124
+ description: z$2.ZodString;
1125
+ quantity: z$2.ZodNumber;
1126
+ quantityLimits: z$2.ZodObject<{
1127
+ minimum: z$2.ZodNumber;
1128
+ maximum: z$2.ZodNumber;
1129
+ multipleOf: z$2.ZodNumber;
1130
+ editable: z$2.ZodBoolean;
1131
+ }, z$2.core.$strip>;
1132
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
1133
+ allowsBackorders: z$2.ZodBoolean;
1134
+ showsBackorderBadge: z$2.ZodBoolean;
1135
+ isSoldIndividually: z$2.ZodBoolean;
1136
+ catalogVisibility: z$2.ZodString;
1137
+ images: z$2.ZodArray<z$2.ZodObject<{
1138
+ id: z$2.ZodNumber;
1139
+ name: z$2.ZodString;
1140
+ src: z$2.ZodString;
1141
+ mime: z$2.ZodOptional<z$2.ZodString>;
1142
+ type: z$2.ZodLiteral<"image">;
1143
+ alt: z$2.ZodString;
1144
+ width: z$2.ZodOptional<z$2.ZodNumber>;
1145
+ height: z$2.ZodOptional<z$2.ZodNumber>;
1146
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
1147
+ src: z$2.ZodString;
1148
+ width: z$2.ZodNumber;
1149
+ height: z$2.ZodNumber;
1150
+ }, z$2.core.$strict>>>;
1151
+ srcset: z$2.ZodOptional<z$2.ZodString>;
1152
+ }, z$2.core.$strict>>;
1153
+ selectedAttributes: z$2.ZodArray<z$2.ZodObject<{
1154
+ name: z$2.ZodString;
1155
+ attribute: z$2.ZodString;
1156
+ value: z$2.ZodString;
1157
+ }, z$2.core.$strip>>;
1158
+ itemData: z$2.ZodArray<z$2.ZodObject<{
1159
+ name: z$2.ZodString;
1160
+ value: z$2.ZodString;
1161
+ display: z$2.ZodNullable<z$2.ZodString>;
1162
+ }, z$2.core.$strip>>;
1163
+ prices: z$2.ZodObject<{
1164
+ price: z$2.ZodNumber;
1165
+ regularPrice: z$2.ZodNumber;
1166
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
1167
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
1168
+ minAmount: z$2.ZodNumber;
1169
+ maxAmount: z$2.ZodNumber;
1170
+ }, z$2.core.$strip>>;
1171
+ }, z$2.core.$strip>;
1172
+ totals: z$2.ZodObject<{
1173
+ subtotal: z$2.ZodNumber;
1174
+ subtotalTax: z$2.ZodNumber;
1175
+ total: z$2.ZodNumber;
1176
+ totalTax: z$2.ZodNumber;
1177
+ }, z$2.core.$strip>;
1178
+ custom: z$2.ZodType<Record<string, unknown>, Record<string, unknown>, z$2.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1179
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1180
+ }, z$2.core.$strip>>;
1181
+ itemCount: z$2.ZodNumber;
1182
+ itemsWeight: z$2.ZodNumber;
1183
+ billingAddress: z$2.ZodObject<{
1184
+ additionalFields: z$2.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, z$2.core.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
1185
+ taxId: z$2.ZodDefault<z$2.ZodString>;
1186
+ email: z$2.ZodString;
1187
+ firstName: z$2.ZodString;
1188
+ lastName: z$2.ZodString;
1189
+ company: z$2.ZodString;
1190
+ address1: z$2.ZodString;
1191
+ address2: z$2.ZodString;
1192
+ city: z$2.ZodString;
1193
+ state: z$2.ZodString;
1194
+ postcode: z$2.ZodString;
1195
+ country: z$2.ZodString;
1196
+ phone: z$2.ZodString;
1197
+ }, z$2.core.$strip>;
1198
+ shippingAddress: z$2.ZodObject<{
1199
+ firstName: z$2.ZodString;
1200
+ lastName: z$2.ZodString;
1201
+ company: z$2.ZodString;
1202
+ address1: z$2.ZodString;
1203
+ address2: z$2.ZodString;
1204
+ city: z$2.ZodString;
1205
+ state: z$2.ZodString;
1206
+ postcode: z$2.ZodString;
1207
+ country: z$2.ZodString;
1208
+ phone: z$2.ZodString;
1209
+ additionalFields: z$2.ZodType<{
1210
+ [x: string]: string | boolean | undefined;
1211
+ }, Partial<{
1212
+ [x: string]: string | boolean | undefined;
1213
+ }>, z$2.core.$ZodTypeInternals<{
1214
+ [x: string]: string | boolean | undefined;
1215
+ }, Partial<{
1216
+ [x: string]: string | boolean | undefined;
1217
+ }>>>;
1218
+ }, z$2.core.$strip>;
1219
+ shippingPackages: z$2.ZodArray<z$2.ZodObject<{
1220
+ id: z$2.ZodUnion<readonly [z$2.ZodNumber, z$2.ZodString]>;
1221
+ name: z$2.ZodString;
1222
+ destination: z$2.ZodObject<{
1223
+ address1: z$2.ZodString;
1224
+ address2: z$2.ZodString;
1225
+ city: z$2.ZodString;
1226
+ state: z$2.ZodString;
1227
+ postcode: z$2.ZodString;
1228
+ country: z$2.ZodString;
1229
+ }, z$2.core.$strip>;
1230
+ items: z$2.ZodArray<z$2.ZodObject<{
1231
+ key: z$2.ZodString;
1232
+ name: z$2.ZodString;
1233
+ quantity: z$2.ZodNumber;
1234
+ }, z$2.core.$strip>>;
1235
+ rates: z$2.ZodArray<z$2.ZodObject<{
1236
+ id: z$2.ZodString;
1237
+ name: z$2.ZodString;
1238
+ description: z$2.ZodString;
1239
+ deliveryTime: z$2.ZodString;
1240
+ price: z$2.ZodNumber;
1241
+ taxes: z$2.ZodNumber;
1242
+ methodId: z$2.ZodString;
1243
+ instanceId: z$2.ZodNumber;
1244
+ metadata: z$2.ZodArray<z$2.ZodObject<{
1245
+ key: z$2.ZodString;
1246
+ value: z$2.ZodString;
1247
+ }, z$2.core.$strip>>;
1248
+ selected: z$2.ZodBoolean;
1249
+ }, z$2.core.$strip>>;
1250
+ }, z$2.core.$strip>>;
1251
+ coupons: z$2.ZodArray<z$2.ZodObject<{
1252
+ code: z$2.ZodString;
1253
+ discountType: z$2.ZodString;
1254
+ totals: z$2.ZodObject<{
1255
+ discount: z$2.ZodNumber;
1256
+ discountTax: z$2.ZodNumber;
1257
+ }, z$2.core.$strip>;
1258
+ }, z$2.core.$strip>>;
1259
+ fees: z$2.ZodArray<z$2.ZodObject<{
1260
+ id: z$2.ZodString;
1261
+ name: z$2.ZodString;
1262
+ totals: z$2.ZodObject<{
1263
+ total: z$2.ZodNumber;
1264
+ tax: z$2.ZodNumber;
1265
+ }, z$2.core.$strip>;
1266
+ }, z$2.core.$strip>>;
1267
+ crossSells: z$2.ZodArray<z$2.ZodObject<{
1268
+ id: z$2.ZodNumber;
1269
+ name: z$2.ZodString;
1270
+ slug: z$2.ZodString;
1271
+ parentId: z$2.ZodNullable<z$2.ZodNumber>;
1272
+ type: z$2.ZodString;
1273
+ variationDescription: z$2.ZodString;
1274
+ url: z$2.ZodNullable<z$2.ZodString>;
1275
+ sku: z$2.ZodNullable<z$2.ZodString>;
1276
+ shortDescription: z$2.ZodString;
1277
+ description: z$2.ZodString;
1278
+ isPasswordProtected: z$2.ZodBoolean;
1279
+ isOnSale: z$2.ZodBoolean;
1280
+ prices: z$2.ZodObject<{
1281
+ price: z$2.ZodNumber;
1282
+ regularPrice: z$2.ZodNumber;
1283
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
1284
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
1285
+ minAmount: z$2.ZodNumber;
1286
+ maxAmount: z$2.ZodNumber;
1287
+ }, z$2.core.$strip>>;
1288
+ }, z$2.core.$strip>;
1289
+ currencyFormat: z$2.ZodObject<{
1290
+ currencyCode: z$2.ZodString;
1291
+ currencySymbol: z$2.ZodString;
1292
+ currencyPrefix: z$2.ZodString;
1293
+ currencySuffix: z$2.ZodString;
1294
+ currencyMinorUnit: z$2.ZodNumber;
1295
+ currencyDecimalSeparator: z$2.ZodString;
1296
+ currencyThousandSeparator: z$2.ZodString;
1297
+ }, z$2.core.$strip>;
1298
+ priceHtml: z$2.ZodString;
1299
+ averageRating: z$2.ZodNumber;
1300
+ reviewCount: z$2.ZodNumber;
1301
+ images: z$2.ZodArray<z$2.ZodObject<{
1302
+ id: z$2.ZodNumber;
1303
+ name: z$2.ZodString;
1304
+ src: z$2.ZodString;
1305
+ mime: z$2.ZodOptional<z$2.ZodString>;
1306
+ type: z$2.ZodLiteral<"image">;
1307
+ alt: z$2.ZodString;
1308
+ width: z$2.ZodOptional<z$2.ZodNumber>;
1309
+ height: z$2.ZodOptional<z$2.ZodNumber>;
1310
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
1311
+ src: z$2.ZodString;
1312
+ width: z$2.ZodNumber;
1313
+ height: z$2.ZodNumber;
1314
+ }, z$2.core.$strict>>>;
1315
+ srcset: z$2.ZodOptional<z$2.ZodString>;
1316
+ }, z$2.core.$strict>>;
1317
+ categories: z$2.ZodArray<z$2.ZodObject<{
1318
+ id: z$2.ZodNumber;
1319
+ name: z$2.ZodString;
1320
+ slug: z$2.ZodString;
1321
+ url: z$2.ZodNullable<z$2.ZodString>;
1322
+ }, z$2.core.$strip>>;
1323
+ tags: z$2.ZodArray<z$2.ZodObject<{
1324
+ id: z$2.ZodNumber;
1325
+ name: z$2.ZodString;
1326
+ slug: z$2.ZodString;
1327
+ url: z$2.ZodNullable<z$2.ZodString>;
1328
+ }, z$2.core.$strip>>;
1329
+ brands: z$2.ZodArray<z$2.ZodObject<{
1330
+ id: z$2.ZodNumber;
1331
+ name: z$2.ZodString;
1332
+ slug: z$2.ZodString;
1333
+ url: z$2.ZodNullable<z$2.ZodString>;
1334
+ }, z$2.core.$strip>>;
1335
+ attributes: z$2.ZodArray<z$2.ZodObject<{
1336
+ id: z$2.ZodNumber;
1337
+ name: z$2.ZodString;
1338
+ taxonomy: z$2.ZodNullable<z$2.ZodString>;
1339
+ hasVariations: z$2.ZodBoolean;
1340
+ terms: z$2.ZodArray<z$2.ZodObject<{
1341
+ id: z$2.ZodNumber;
1342
+ name: z$2.ZodString;
1343
+ slug: z$2.ZodString;
1344
+ isDefault: z$2.ZodBoolean;
1345
+ }, z$2.core.$strip>>;
1346
+ }, z$2.core.$strip>>;
1347
+ variations: z$2.ZodArray<z$2.ZodObject<{
1348
+ id: z$2.ZodNumber;
1349
+ attributes: z$2.ZodArray<z$2.ZodObject<{
1350
+ name: z$2.ZodString;
1351
+ value: z$2.ZodNullable<z$2.ZodString>;
1352
+ }, z$2.core.$strip>>;
1353
+ }, z$2.core.$strip>>;
1354
+ groupedProductIds: z$2.ZodArray<z$2.ZodNumber>;
1355
+ hasOptions: z$2.ZodBoolean;
1356
+ isPurchasable: z$2.ZodBoolean;
1357
+ isInStock: z$2.ZodBoolean;
1358
+ isOnBackorder: z$2.ZodBoolean;
1359
+ stockAvailability: z$2.ZodObject<{
1360
+ text: z$2.ZodString;
1361
+ class: z$2.ZodString;
1362
+ }, z$2.core.$strip>;
1363
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
1364
+ isSoldIndividually: z$2.ZodBoolean;
1365
+ addToCart: z$2.ZodObject<{
1366
+ text: z$2.ZodString;
1367
+ description: z$2.ZodString;
1368
+ singleText: z$2.ZodString;
1369
+ minimum: z$2.ZodNumber;
1370
+ maximum: z$2.ZodNumber;
1371
+ multipleOf: z$2.ZodNumber;
1372
+ }, z$2.core.$strip>;
1373
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1374
+ }, z$2.core.$strip>>;
1375
+ needsPayment: z$2.ZodBoolean;
1376
+ needsShipping: z$2.ZodBoolean;
1377
+ hasCalculatedShipping: z$2.ZodBoolean;
1378
+ paymentMethods: z$2.ZodArray<z$2.ZodObject<{
1379
+ id: z$2.ZodString;
1380
+ title: z$2.ZodString;
1381
+ description: z$2.ZodString;
1382
+ order: z$2.ZodNumber;
1383
+ enabled: z$2.ZodBoolean;
1384
+ }, z$2.core.$strip>>;
1385
+ paymentRequirements: z$2.ZodArray<z$2.ZodString>;
1386
+ errors: z$2.ZodArray<z$2.ZodObject<{
1387
+ code: z$2.ZodString;
1388
+ message: z$2.ZodString;
1389
+ }, z$2.core.$strip>>;
1390
+ totals: z$2.ZodObject<{
1391
+ itemsTotal: z$2.ZodNumber;
1392
+ itemsTaxTotal: z$2.ZodNumber;
1393
+ feesTotal: z$2.ZodNumber;
1394
+ feesTaxTotal: z$2.ZodNumber;
1395
+ discountTotal: z$2.ZodNumber;
1396
+ discountTaxTotal: z$2.ZodNumber;
1397
+ shippingTotal: z$2.ZodNullable<z$2.ZodNumber>;
1398
+ shippingTaxTotal: z$2.ZodNullable<z$2.ZodNumber>;
1399
+ total: z$2.ZodNumber;
1400
+ taxTotal: z$2.ZodNumber;
1401
+ taxLines: z$2.ZodArray<z$2.ZodObject<{
1402
+ name: z$2.ZodString;
1403
+ price: z$2.ZodNumber;
1404
+ rate: z$2.ZodString;
1405
+ }, z$2.core.$strip>>;
1406
+ }, z$2.core.$strip>;
1407
+ currencyFormat: z$2.ZodObject<{
1408
+ currencyCode: z$2.ZodString;
1409
+ currencySymbol: z$2.ZodString;
1410
+ currencyPrefix: z$2.ZodString;
1411
+ currencySuffix: z$2.ZodString;
1412
+ currencyMinorUnit: z$2.ZodNumber;
1413
+ currencyDecimalSeparator: z$2.ZodString;
1414
+ currencyThousandSeparator: z$2.ZodString;
1415
+ }, z$2.core.$strip>;
1416
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1417
+ }, z$2.core.$strip>>;
1418
+ }, z$2.core.$strip>;
1419
+ };
1420
+ readonly CHECKOUT_COUPON_RESERVATION_FAILED: {
1421
+ readonly status: 409;
1422
+ readonly message: "A coupon could not be reserved for this order.";
1423
+ readonly data: z$2.ZodObject<{
1424
+ cart: z$2.ZodNullable<z$2.ZodObject<{
1425
+ items: z$2.ZodArray<z$2.ZodObject<{
1426
+ key: z$2.ZodString;
1427
+ productId: z$2.ZodNumber;
1428
+ variationId: z$2.ZodNullable<z$2.ZodNumber>;
1429
+ type: z$2.ZodString;
1430
+ name: z$2.ZodString;
1431
+ sku: z$2.ZodNullable<z$2.ZodString>;
1432
+ slug: z$2.ZodString;
1433
+ url: z$2.ZodNullable<z$2.ZodString>;
1434
+ shortDescription: z$2.ZodString;
1435
+ description: z$2.ZodString;
1436
+ quantity: z$2.ZodNumber;
1437
+ quantityLimits: z$2.ZodObject<{
1438
+ minimum: z$2.ZodNumber;
1439
+ maximum: z$2.ZodNumber;
1440
+ multipleOf: z$2.ZodNumber;
1441
+ editable: z$2.ZodBoolean;
1442
+ }, z$2.core.$strip>;
1443
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
1444
+ allowsBackorders: z$2.ZodBoolean;
1445
+ showsBackorderBadge: z$2.ZodBoolean;
1446
+ isSoldIndividually: z$2.ZodBoolean;
1447
+ catalogVisibility: z$2.ZodString;
1448
+ images: z$2.ZodArray<z$2.ZodObject<{
1449
+ id: z$2.ZodNumber;
1450
+ name: z$2.ZodString;
1451
+ src: z$2.ZodString;
1452
+ mime: z$2.ZodOptional<z$2.ZodString>;
1453
+ type: z$2.ZodLiteral<"image">;
1454
+ alt: z$2.ZodString;
1455
+ width: z$2.ZodOptional<z$2.ZodNumber>;
1456
+ height: z$2.ZodOptional<z$2.ZodNumber>;
1457
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
1458
+ src: z$2.ZodString;
1459
+ width: z$2.ZodNumber;
1460
+ height: z$2.ZodNumber;
1461
+ }, z$2.core.$strict>>>;
1462
+ srcset: z$2.ZodOptional<z$2.ZodString>;
1463
+ }, z$2.core.$strict>>;
1464
+ selectedAttributes: z$2.ZodArray<z$2.ZodObject<{
1465
+ name: z$2.ZodString;
1466
+ attribute: z$2.ZodString;
1467
+ value: z$2.ZodString;
1468
+ }, z$2.core.$strip>>;
1469
+ itemData: z$2.ZodArray<z$2.ZodObject<{
1470
+ name: z$2.ZodString;
1471
+ value: z$2.ZodString;
1472
+ display: z$2.ZodNullable<z$2.ZodString>;
1473
+ }, z$2.core.$strip>>;
1474
+ prices: z$2.ZodObject<{
1475
+ price: z$2.ZodNumber;
1476
+ regularPrice: z$2.ZodNumber;
1477
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
1478
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
1479
+ minAmount: z$2.ZodNumber;
1480
+ maxAmount: z$2.ZodNumber;
1481
+ }, z$2.core.$strip>>;
1482
+ }, z$2.core.$strip>;
1483
+ totals: z$2.ZodObject<{
1484
+ subtotal: z$2.ZodNumber;
1485
+ subtotalTax: z$2.ZodNumber;
1486
+ total: z$2.ZodNumber;
1487
+ totalTax: z$2.ZodNumber;
1488
+ }, z$2.core.$strip>;
1489
+ custom: z$2.ZodType<Record<string, unknown>, Record<string, unknown>, z$2.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1490
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1491
+ }, z$2.core.$strip>>;
1492
+ itemCount: z$2.ZodNumber;
1493
+ itemsWeight: z$2.ZodNumber;
1494
+ billingAddress: z$2.ZodObject<{
1495
+ additionalFields: z$2.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, z$2.core.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
1496
+ taxId: z$2.ZodDefault<z$2.ZodString>;
1497
+ email: z$2.ZodString;
1498
+ firstName: z$2.ZodString;
1499
+ lastName: z$2.ZodString;
1500
+ company: z$2.ZodString;
1501
+ address1: z$2.ZodString;
1502
+ address2: z$2.ZodString;
1503
+ city: z$2.ZodString;
1504
+ state: z$2.ZodString;
1505
+ postcode: z$2.ZodString;
1506
+ country: z$2.ZodString;
1507
+ phone: z$2.ZodString;
1508
+ }, z$2.core.$strip>;
1509
+ shippingAddress: z$2.ZodObject<{
1510
+ firstName: z$2.ZodString;
1511
+ lastName: z$2.ZodString;
1512
+ company: z$2.ZodString;
1513
+ address1: z$2.ZodString;
1514
+ address2: z$2.ZodString;
1515
+ city: z$2.ZodString;
1516
+ state: z$2.ZodString;
1517
+ postcode: z$2.ZodString;
1518
+ country: z$2.ZodString;
1519
+ phone: z$2.ZodString;
1520
+ additionalFields: z$2.ZodType<{
1521
+ [x: string]: string | boolean | undefined;
1522
+ }, Partial<{
1523
+ [x: string]: string | boolean | undefined;
1524
+ }>, z$2.core.$ZodTypeInternals<{
1525
+ [x: string]: string | boolean | undefined;
1526
+ }, Partial<{
1527
+ [x: string]: string | boolean | undefined;
1528
+ }>>>;
1529
+ }, z$2.core.$strip>;
1530
+ shippingPackages: z$2.ZodArray<z$2.ZodObject<{
1531
+ id: z$2.ZodUnion<readonly [z$2.ZodNumber, z$2.ZodString]>;
1532
+ name: z$2.ZodString;
1533
+ destination: z$2.ZodObject<{
1534
+ address1: z$2.ZodString;
1535
+ address2: z$2.ZodString;
1536
+ city: z$2.ZodString;
1537
+ state: z$2.ZodString;
1538
+ postcode: z$2.ZodString;
1539
+ country: z$2.ZodString;
1540
+ }, z$2.core.$strip>;
1541
+ items: z$2.ZodArray<z$2.ZodObject<{
1542
+ key: z$2.ZodString;
1543
+ name: z$2.ZodString;
1544
+ quantity: z$2.ZodNumber;
1545
+ }, z$2.core.$strip>>;
1546
+ rates: z$2.ZodArray<z$2.ZodObject<{
1547
+ id: z$2.ZodString;
1548
+ name: z$2.ZodString;
1549
+ description: z$2.ZodString;
1550
+ deliveryTime: z$2.ZodString;
1551
+ price: z$2.ZodNumber;
1552
+ taxes: z$2.ZodNumber;
1553
+ methodId: z$2.ZodString;
1554
+ instanceId: z$2.ZodNumber;
1555
+ metadata: z$2.ZodArray<z$2.ZodObject<{
1556
+ key: z$2.ZodString;
1557
+ value: z$2.ZodString;
1558
+ }, z$2.core.$strip>>;
1559
+ selected: z$2.ZodBoolean;
1560
+ }, z$2.core.$strip>>;
1561
+ }, z$2.core.$strip>>;
1562
+ coupons: z$2.ZodArray<z$2.ZodObject<{
1563
+ code: z$2.ZodString;
1564
+ discountType: z$2.ZodString;
1565
+ totals: z$2.ZodObject<{
1566
+ discount: z$2.ZodNumber;
1567
+ discountTax: z$2.ZodNumber;
1568
+ }, z$2.core.$strip>;
1569
+ }, z$2.core.$strip>>;
1570
+ fees: z$2.ZodArray<z$2.ZodObject<{
1571
+ id: z$2.ZodString;
1572
+ name: z$2.ZodString;
1573
+ totals: z$2.ZodObject<{
1574
+ total: z$2.ZodNumber;
1575
+ tax: z$2.ZodNumber;
1576
+ }, z$2.core.$strip>;
1577
+ }, z$2.core.$strip>>;
1578
+ crossSells: z$2.ZodArray<z$2.ZodObject<{
1579
+ id: z$2.ZodNumber;
1580
+ name: z$2.ZodString;
1581
+ slug: z$2.ZodString;
1582
+ parentId: z$2.ZodNullable<z$2.ZodNumber>;
1583
+ type: z$2.ZodString;
1584
+ variationDescription: z$2.ZodString;
1585
+ url: z$2.ZodNullable<z$2.ZodString>;
1586
+ sku: z$2.ZodNullable<z$2.ZodString>;
1587
+ shortDescription: z$2.ZodString;
1588
+ description: z$2.ZodString;
1589
+ isPasswordProtected: z$2.ZodBoolean;
1590
+ isOnSale: z$2.ZodBoolean;
1591
+ prices: z$2.ZodObject<{
1592
+ price: z$2.ZodNumber;
1593
+ regularPrice: z$2.ZodNumber;
1594
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
1595
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
1596
+ minAmount: z$2.ZodNumber;
1597
+ maxAmount: z$2.ZodNumber;
1598
+ }, z$2.core.$strip>>;
1599
+ }, z$2.core.$strip>;
1600
+ currencyFormat: z$2.ZodObject<{
1601
+ currencyCode: z$2.ZodString;
1602
+ currencySymbol: z$2.ZodString;
1603
+ currencyPrefix: z$2.ZodString;
1604
+ currencySuffix: z$2.ZodString;
1605
+ currencyMinorUnit: z$2.ZodNumber;
1606
+ currencyDecimalSeparator: z$2.ZodString;
1607
+ currencyThousandSeparator: z$2.ZodString;
1608
+ }, z$2.core.$strip>;
1609
+ priceHtml: z$2.ZodString;
1610
+ averageRating: z$2.ZodNumber;
1611
+ reviewCount: z$2.ZodNumber;
1612
+ images: z$2.ZodArray<z$2.ZodObject<{
1613
+ id: z$2.ZodNumber;
1614
+ name: z$2.ZodString;
1615
+ src: z$2.ZodString;
1616
+ mime: z$2.ZodOptional<z$2.ZodString>;
1617
+ type: z$2.ZodLiteral<"image">;
1618
+ alt: z$2.ZodString;
1619
+ width: z$2.ZodOptional<z$2.ZodNumber>;
1620
+ height: z$2.ZodOptional<z$2.ZodNumber>;
1621
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
1622
+ src: z$2.ZodString;
1623
+ width: z$2.ZodNumber;
1624
+ height: z$2.ZodNumber;
1625
+ }, z$2.core.$strict>>>;
1626
+ srcset: z$2.ZodOptional<z$2.ZodString>;
1627
+ }, z$2.core.$strict>>;
1628
+ categories: z$2.ZodArray<z$2.ZodObject<{
1629
+ id: z$2.ZodNumber;
1630
+ name: z$2.ZodString;
1631
+ slug: z$2.ZodString;
1632
+ url: z$2.ZodNullable<z$2.ZodString>;
1633
+ }, z$2.core.$strip>>;
1634
+ tags: z$2.ZodArray<z$2.ZodObject<{
1635
+ id: z$2.ZodNumber;
1636
+ name: z$2.ZodString;
1637
+ slug: z$2.ZodString;
1638
+ url: z$2.ZodNullable<z$2.ZodString>;
1639
+ }, z$2.core.$strip>>;
1640
+ brands: z$2.ZodArray<z$2.ZodObject<{
1641
+ id: z$2.ZodNumber;
1642
+ name: z$2.ZodString;
1643
+ slug: z$2.ZodString;
1644
+ url: z$2.ZodNullable<z$2.ZodString>;
1645
+ }, z$2.core.$strip>>;
1646
+ attributes: z$2.ZodArray<z$2.ZodObject<{
1647
+ id: z$2.ZodNumber;
1648
+ name: z$2.ZodString;
1649
+ taxonomy: z$2.ZodNullable<z$2.ZodString>;
1650
+ hasVariations: z$2.ZodBoolean;
1651
+ terms: z$2.ZodArray<z$2.ZodObject<{
1652
+ id: z$2.ZodNumber;
1653
+ name: z$2.ZodString;
1654
+ slug: z$2.ZodString;
1655
+ isDefault: z$2.ZodBoolean;
1656
+ }, z$2.core.$strip>>;
1657
+ }, z$2.core.$strip>>;
1658
+ variations: z$2.ZodArray<z$2.ZodObject<{
1659
+ id: z$2.ZodNumber;
1660
+ attributes: z$2.ZodArray<z$2.ZodObject<{
1661
+ name: z$2.ZodString;
1662
+ value: z$2.ZodNullable<z$2.ZodString>;
1663
+ }, z$2.core.$strip>>;
1664
+ }, z$2.core.$strip>>;
1665
+ groupedProductIds: z$2.ZodArray<z$2.ZodNumber>;
1666
+ hasOptions: z$2.ZodBoolean;
1667
+ isPurchasable: z$2.ZodBoolean;
1668
+ isInStock: z$2.ZodBoolean;
1669
+ isOnBackorder: z$2.ZodBoolean;
1670
+ stockAvailability: z$2.ZodObject<{
1671
+ text: z$2.ZodString;
1672
+ class: z$2.ZodString;
1673
+ }, z$2.core.$strip>;
1674
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
1675
+ isSoldIndividually: z$2.ZodBoolean;
1676
+ addToCart: z$2.ZodObject<{
1677
+ text: z$2.ZodString;
1678
+ description: z$2.ZodString;
1679
+ singleText: z$2.ZodString;
1680
+ minimum: z$2.ZodNumber;
1681
+ maximum: z$2.ZodNumber;
1682
+ multipleOf: z$2.ZodNumber;
1683
+ }, z$2.core.$strip>;
1684
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1685
+ }, z$2.core.$strip>>;
1686
+ needsPayment: z$2.ZodBoolean;
1687
+ needsShipping: z$2.ZodBoolean;
1688
+ hasCalculatedShipping: z$2.ZodBoolean;
1689
+ paymentMethods: z$2.ZodArray<z$2.ZodObject<{
1690
+ id: z$2.ZodString;
1691
+ title: z$2.ZodString;
1692
+ description: z$2.ZodString;
1693
+ order: z$2.ZodNumber;
1694
+ enabled: z$2.ZodBoolean;
1695
+ }, z$2.core.$strip>>;
1696
+ paymentRequirements: z$2.ZodArray<z$2.ZodString>;
1697
+ errors: z$2.ZodArray<z$2.ZodObject<{
1698
+ code: z$2.ZodString;
1699
+ message: z$2.ZodString;
1700
+ }, z$2.core.$strip>>;
1701
+ totals: z$2.ZodObject<{
1702
+ itemsTotal: z$2.ZodNumber;
1703
+ itemsTaxTotal: z$2.ZodNumber;
1704
+ feesTotal: z$2.ZodNumber;
1705
+ feesTaxTotal: z$2.ZodNumber;
1706
+ discountTotal: z$2.ZodNumber;
1707
+ discountTaxTotal: z$2.ZodNumber;
1708
+ shippingTotal: z$2.ZodNullable<z$2.ZodNumber>;
1709
+ shippingTaxTotal: z$2.ZodNullable<z$2.ZodNumber>;
1710
+ total: z$2.ZodNumber;
1711
+ taxTotal: z$2.ZodNumber;
1712
+ taxLines: z$2.ZodArray<z$2.ZodObject<{
1713
+ name: z$2.ZodString;
1714
+ price: z$2.ZodNumber;
1715
+ rate: z$2.ZodString;
1716
+ }, z$2.core.$strip>>;
1717
+ }, z$2.core.$strip>;
1718
+ currencyFormat: z$2.ZodObject<{
1719
+ currencyCode: z$2.ZodString;
1720
+ currencySymbol: z$2.ZodString;
1721
+ currencyPrefix: z$2.ZodString;
1722
+ currencySuffix: z$2.ZodString;
1723
+ currencyMinorUnit: z$2.ZodNumber;
1724
+ currencyDecimalSeparator: z$2.ZodString;
1725
+ currencyThousandSeparator: z$2.ZodString;
1726
+ }, z$2.core.$strip>;
1727
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1728
+ }, z$2.core.$strip>>;
1729
+ }, z$2.core.$strip>;
1730
+ };
1731
+ readonly CHECKOUT_PRODUCT_INSUFFICIENT_STOCK: {
1732
+ readonly status: 409;
1733
+ readonly message: "Not enough stock for one or more items in the cart.";
1734
+ readonly data: z$2.ZodObject<{
1735
+ cart: z$2.ZodNullable<z$2.ZodObject<{
1736
+ items: z$2.ZodArray<z$2.ZodObject<{
1737
+ key: z$2.ZodString;
1738
+ productId: z$2.ZodNumber;
1739
+ variationId: z$2.ZodNullable<z$2.ZodNumber>;
1740
+ type: z$2.ZodString;
1741
+ name: z$2.ZodString;
1742
+ sku: z$2.ZodNullable<z$2.ZodString>;
1743
+ slug: z$2.ZodString;
1744
+ url: z$2.ZodNullable<z$2.ZodString>;
1745
+ shortDescription: z$2.ZodString;
1746
+ description: z$2.ZodString;
1747
+ quantity: z$2.ZodNumber;
1748
+ quantityLimits: z$2.ZodObject<{
1749
+ minimum: z$2.ZodNumber;
1750
+ maximum: z$2.ZodNumber;
1751
+ multipleOf: z$2.ZodNumber;
1752
+ editable: z$2.ZodBoolean;
1753
+ }, z$2.core.$strip>;
1754
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
1755
+ allowsBackorders: z$2.ZodBoolean;
1756
+ showsBackorderBadge: z$2.ZodBoolean;
1757
+ isSoldIndividually: z$2.ZodBoolean;
1758
+ catalogVisibility: z$2.ZodString;
1759
+ images: z$2.ZodArray<z$2.ZodObject<{
1760
+ id: z$2.ZodNumber;
1761
+ name: z$2.ZodString;
1762
+ src: z$2.ZodString;
1763
+ mime: z$2.ZodOptional<z$2.ZodString>;
1764
+ type: z$2.ZodLiteral<"image">;
1765
+ alt: z$2.ZodString;
1766
+ width: z$2.ZodOptional<z$2.ZodNumber>;
1767
+ height: z$2.ZodOptional<z$2.ZodNumber>;
1768
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
1769
+ src: z$2.ZodString;
1770
+ width: z$2.ZodNumber;
1771
+ height: z$2.ZodNumber;
1772
+ }, z$2.core.$strict>>>;
1773
+ srcset: z$2.ZodOptional<z$2.ZodString>;
1774
+ }, z$2.core.$strict>>;
1775
+ selectedAttributes: z$2.ZodArray<z$2.ZodObject<{
1776
+ name: z$2.ZodString;
1777
+ attribute: z$2.ZodString;
1778
+ value: z$2.ZodString;
1779
+ }, z$2.core.$strip>>;
1780
+ itemData: z$2.ZodArray<z$2.ZodObject<{
1781
+ name: z$2.ZodString;
1782
+ value: z$2.ZodString;
1783
+ display: z$2.ZodNullable<z$2.ZodString>;
1784
+ }, z$2.core.$strip>>;
1785
+ prices: z$2.ZodObject<{
1786
+ price: z$2.ZodNumber;
1787
+ regularPrice: z$2.ZodNumber;
1788
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
1789
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
1790
+ minAmount: z$2.ZodNumber;
1791
+ maxAmount: z$2.ZodNumber;
1792
+ }, z$2.core.$strip>>;
1793
+ }, z$2.core.$strip>;
1794
+ totals: z$2.ZodObject<{
1795
+ subtotal: z$2.ZodNumber;
1796
+ subtotalTax: z$2.ZodNumber;
1797
+ total: z$2.ZodNumber;
1798
+ totalTax: z$2.ZodNumber;
1799
+ }, z$2.core.$strip>;
1800
+ custom: z$2.ZodType<Record<string, unknown>, Record<string, unknown>, z$2.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1801
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1802
+ }, z$2.core.$strip>>;
1803
+ itemCount: z$2.ZodNumber;
1804
+ itemsWeight: z$2.ZodNumber;
1805
+ billingAddress: z$2.ZodObject<{
1806
+ additionalFields: z$2.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, z$2.core.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
1807
+ taxId: z$2.ZodDefault<z$2.ZodString>;
1808
+ email: z$2.ZodString;
1809
+ firstName: z$2.ZodString;
1810
+ lastName: z$2.ZodString;
1811
+ company: z$2.ZodString;
1812
+ address1: z$2.ZodString;
1813
+ address2: z$2.ZodString;
1814
+ city: z$2.ZodString;
1815
+ state: z$2.ZodString;
1816
+ postcode: z$2.ZodString;
1817
+ country: z$2.ZodString;
1818
+ phone: z$2.ZodString;
1819
+ }, z$2.core.$strip>;
1820
+ shippingAddress: z$2.ZodObject<{
1821
+ firstName: z$2.ZodString;
1822
+ lastName: z$2.ZodString;
1823
+ company: z$2.ZodString;
1824
+ address1: z$2.ZodString;
1825
+ address2: z$2.ZodString;
1826
+ city: z$2.ZodString;
1827
+ state: z$2.ZodString;
1828
+ postcode: z$2.ZodString;
1829
+ country: z$2.ZodString;
1830
+ phone: z$2.ZodString;
1831
+ additionalFields: z$2.ZodType<{
1832
+ [x: string]: string | boolean | undefined;
1833
+ }, Partial<{
1834
+ [x: string]: string | boolean | undefined;
1835
+ }>, z$2.core.$ZodTypeInternals<{
1836
+ [x: string]: string | boolean | undefined;
1837
+ }, Partial<{
1838
+ [x: string]: string | boolean | undefined;
1839
+ }>>>;
1840
+ }, z$2.core.$strip>;
1841
+ shippingPackages: z$2.ZodArray<z$2.ZodObject<{
1842
+ id: z$2.ZodUnion<readonly [z$2.ZodNumber, z$2.ZodString]>;
1843
+ name: z$2.ZodString;
1844
+ destination: z$2.ZodObject<{
1845
+ address1: z$2.ZodString;
1846
+ address2: z$2.ZodString;
1847
+ city: z$2.ZodString;
1848
+ state: z$2.ZodString;
1849
+ postcode: z$2.ZodString;
1850
+ country: z$2.ZodString;
1851
+ }, z$2.core.$strip>;
1852
+ items: z$2.ZodArray<z$2.ZodObject<{
1853
+ key: z$2.ZodString;
1854
+ name: z$2.ZodString;
1855
+ quantity: z$2.ZodNumber;
1856
+ }, z$2.core.$strip>>;
1857
+ rates: z$2.ZodArray<z$2.ZodObject<{
1858
+ id: z$2.ZodString;
1859
+ name: z$2.ZodString;
1860
+ description: z$2.ZodString;
1861
+ deliveryTime: z$2.ZodString;
1862
+ price: z$2.ZodNumber;
1863
+ taxes: z$2.ZodNumber;
1864
+ methodId: z$2.ZodString;
1865
+ instanceId: z$2.ZodNumber;
1866
+ metadata: z$2.ZodArray<z$2.ZodObject<{
1867
+ key: z$2.ZodString;
1868
+ value: z$2.ZodString;
1869
+ }, z$2.core.$strip>>;
1870
+ selected: z$2.ZodBoolean;
1871
+ }, z$2.core.$strip>>;
1872
+ }, z$2.core.$strip>>;
1873
+ coupons: z$2.ZodArray<z$2.ZodObject<{
1874
+ code: z$2.ZodString;
1875
+ discountType: z$2.ZodString;
1876
+ totals: z$2.ZodObject<{
1877
+ discount: z$2.ZodNumber;
1878
+ discountTax: z$2.ZodNumber;
1879
+ }, z$2.core.$strip>;
1880
+ }, z$2.core.$strip>>;
1881
+ fees: z$2.ZodArray<z$2.ZodObject<{
1882
+ id: z$2.ZodString;
1883
+ name: z$2.ZodString;
1884
+ totals: z$2.ZodObject<{
1885
+ total: z$2.ZodNumber;
1886
+ tax: z$2.ZodNumber;
1887
+ }, z$2.core.$strip>;
1888
+ }, z$2.core.$strip>>;
1889
+ crossSells: z$2.ZodArray<z$2.ZodObject<{
1890
+ id: z$2.ZodNumber;
1891
+ name: z$2.ZodString;
1892
+ slug: z$2.ZodString;
1893
+ parentId: z$2.ZodNullable<z$2.ZodNumber>;
1894
+ type: z$2.ZodString;
1895
+ variationDescription: z$2.ZodString;
1896
+ url: z$2.ZodNullable<z$2.ZodString>;
1897
+ sku: z$2.ZodNullable<z$2.ZodString>;
1898
+ shortDescription: z$2.ZodString;
1899
+ description: z$2.ZodString;
1900
+ isPasswordProtected: z$2.ZodBoolean;
1901
+ isOnSale: z$2.ZodBoolean;
1902
+ prices: z$2.ZodObject<{
1903
+ price: z$2.ZodNumber;
1904
+ regularPrice: z$2.ZodNumber;
1905
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
1906
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
1907
+ minAmount: z$2.ZodNumber;
1908
+ maxAmount: z$2.ZodNumber;
1909
+ }, z$2.core.$strip>>;
1910
+ }, z$2.core.$strip>;
1911
+ currencyFormat: z$2.ZodObject<{
1912
+ currencyCode: z$2.ZodString;
1913
+ currencySymbol: z$2.ZodString;
1914
+ currencyPrefix: z$2.ZodString;
1915
+ currencySuffix: z$2.ZodString;
1916
+ currencyMinorUnit: z$2.ZodNumber;
1917
+ currencyDecimalSeparator: z$2.ZodString;
1918
+ currencyThousandSeparator: z$2.ZodString;
1919
+ }, z$2.core.$strip>;
1920
+ priceHtml: z$2.ZodString;
1921
+ averageRating: z$2.ZodNumber;
1922
+ reviewCount: z$2.ZodNumber;
1923
+ images: z$2.ZodArray<z$2.ZodObject<{
1924
+ id: z$2.ZodNumber;
1925
+ name: z$2.ZodString;
1926
+ src: z$2.ZodString;
1927
+ mime: z$2.ZodOptional<z$2.ZodString>;
1928
+ type: z$2.ZodLiteral<"image">;
1929
+ alt: z$2.ZodString;
1930
+ width: z$2.ZodOptional<z$2.ZodNumber>;
1931
+ height: z$2.ZodOptional<z$2.ZodNumber>;
1932
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
1933
+ src: z$2.ZodString;
1934
+ width: z$2.ZodNumber;
1935
+ height: z$2.ZodNumber;
1936
+ }, z$2.core.$strict>>>;
1937
+ srcset: z$2.ZodOptional<z$2.ZodString>;
1938
+ }, z$2.core.$strict>>;
1939
+ categories: z$2.ZodArray<z$2.ZodObject<{
1940
+ id: z$2.ZodNumber;
1941
+ name: z$2.ZodString;
1942
+ slug: z$2.ZodString;
1943
+ url: z$2.ZodNullable<z$2.ZodString>;
1944
+ }, z$2.core.$strip>>;
1945
+ tags: z$2.ZodArray<z$2.ZodObject<{
1946
+ id: z$2.ZodNumber;
1947
+ name: z$2.ZodString;
1948
+ slug: z$2.ZodString;
1949
+ url: z$2.ZodNullable<z$2.ZodString>;
1950
+ }, z$2.core.$strip>>;
1951
+ brands: z$2.ZodArray<z$2.ZodObject<{
1952
+ id: z$2.ZodNumber;
1953
+ name: z$2.ZodString;
1954
+ slug: z$2.ZodString;
1955
+ url: z$2.ZodNullable<z$2.ZodString>;
1956
+ }, z$2.core.$strip>>;
1957
+ attributes: z$2.ZodArray<z$2.ZodObject<{
1958
+ id: z$2.ZodNumber;
1959
+ name: z$2.ZodString;
1960
+ taxonomy: z$2.ZodNullable<z$2.ZodString>;
1961
+ hasVariations: z$2.ZodBoolean;
1962
+ terms: z$2.ZodArray<z$2.ZodObject<{
1963
+ id: z$2.ZodNumber;
1964
+ name: z$2.ZodString;
1965
+ slug: z$2.ZodString;
1966
+ isDefault: z$2.ZodBoolean;
1967
+ }, z$2.core.$strip>>;
1968
+ }, z$2.core.$strip>>;
1969
+ variations: z$2.ZodArray<z$2.ZodObject<{
1970
+ id: z$2.ZodNumber;
1971
+ attributes: z$2.ZodArray<z$2.ZodObject<{
1972
+ name: z$2.ZodString;
1973
+ value: z$2.ZodNullable<z$2.ZodString>;
1974
+ }, z$2.core.$strip>>;
1975
+ }, z$2.core.$strip>>;
1976
+ groupedProductIds: z$2.ZodArray<z$2.ZodNumber>;
1977
+ hasOptions: z$2.ZodBoolean;
1978
+ isPurchasable: z$2.ZodBoolean;
1979
+ isInStock: z$2.ZodBoolean;
1980
+ isOnBackorder: z$2.ZodBoolean;
1981
+ stockAvailability: z$2.ZodObject<{
1982
+ text: z$2.ZodString;
1983
+ class: z$2.ZodString;
1984
+ }, z$2.core.$strip>;
1985
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
1986
+ isSoldIndividually: z$2.ZodBoolean;
1987
+ addToCart: z$2.ZodObject<{
1988
+ text: z$2.ZodString;
1989
+ description: z$2.ZodString;
1990
+ singleText: z$2.ZodString;
1991
+ minimum: z$2.ZodNumber;
1992
+ maximum: z$2.ZodNumber;
1993
+ multipleOf: z$2.ZodNumber;
1994
+ }, z$2.core.$strip>;
1995
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
1996
+ }, z$2.core.$strip>>;
1997
+ needsPayment: z$2.ZodBoolean;
1998
+ needsShipping: z$2.ZodBoolean;
1999
+ hasCalculatedShipping: z$2.ZodBoolean;
2000
+ paymentMethods: z$2.ZodArray<z$2.ZodObject<{
2001
+ id: z$2.ZodString;
2002
+ title: z$2.ZodString;
2003
+ description: z$2.ZodString;
2004
+ order: z$2.ZodNumber;
2005
+ enabled: z$2.ZodBoolean;
2006
+ }, z$2.core.$strip>>;
2007
+ paymentRequirements: z$2.ZodArray<z$2.ZodString>;
2008
+ errors: z$2.ZodArray<z$2.ZodObject<{
2009
+ code: z$2.ZodString;
2010
+ message: z$2.ZodString;
2011
+ }, z$2.core.$strip>>;
2012
+ totals: z$2.ZodObject<{
2013
+ itemsTotal: z$2.ZodNumber;
2014
+ itemsTaxTotal: z$2.ZodNumber;
2015
+ feesTotal: z$2.ZodNumber;
2016
+ feesTaxTotal: z$2.ZodNumber;
2017
+ discountTotal: z$2.ZodNumber;
2018
+ discountTaxTotal: z$2.ZodNumber;
2019
+ shippingTotal: z$2.ZodNullable<z$2.ZodNumber>;
2020
+ shippingTaxTotal: z$2.ZodNullable<z$2.ZodNumber>;
2021
+ total: z$2.ZodNumber;
2022
+ taxTotal: z$2.ZodNumber;
2023
+ taxLines: z$2.ZodArray<z$2.ZodObject<{
2024
+ name: z$2.ZodString;
2025
+ price: z$2.ZodNumber;
2026
+ rate: z$2.ZodString;
2027
+ }, z$2.core.$strip>>;
2028
+ }, z$2.core.$strip>;
2029
+ currencyFormat: z$2.ZodObject<{
2030
+ currencyCode: z$2.ZodString;
2031
+ currencySymbol: z$2.ZodString;
2032
+ currencyPrefix: z$2.ZodString;
2033
+ currencySuffix: z$2.ZodString;
2034
+ currencyMinorUnit: z$2.ZodNumber;
2035
+ currencyDecimalSeparator: z$2.ZodString;
2036
+ currencyThousandSeparator: z$2.ZodString;
2037
+ }, z$2.core.$strip>;
2038
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
2039
+ }, z$2.core.$strip>>;
2040
+ }, z$2.core.$strip>;
2041
+ };
2042
+ readonly CHECKOUT_PRODUCT_NOT_PURCHASABLE: {
2043
+ readonly status: 409;
2044
+ readonly message: "An item in the cart is no longer purchasable.";
2045
+ readonly data: z$2.ZodObject<{
2046
+ cart: z$2.ZodNullable<z$2.ZodObject<{
2047
+ items: z$2.ZodArray<z$2.ZodObject<{
2048
+ key: z$2.ZodString;
2049
+ productId: z$2.ZodNumber;
2050
+ variationId: z$2.ZodNullable<z$2.ZodNumber>;
2051
+ type: z$2.ZodString;
2052
+ name: z$2.ZodString;
2053
+ sku: z$2.ZodNullable<z$2.ZodString>;
2054
+ slug: z$2.ZodString;
2055
+ url: z$2.ZodNullable<z$2.ZodString>;
2056
+ shortDescription: z$2.ZodString;
2057
+ description: z$2.ZodString;
2058
+ quantity: z$2.ZodNumber;
2059
+ quantityLimits: z$2.ZodObject<{
2060
+ minimum: z$2.ZodNumber;
2061
+ maximum: z$2.ZodNumber;
2062
+ multipleOf: z$2.ZodNumber;
2063
+ editable: z$2.ZodBoolean;
2064
+ }, z$2.core.$strip>;
2065
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
2066
+ allowsBackorders: z$2.ZodBoolean;
2067
+ showsBackorderBadge: z$2.ZodBoolean;
2068
+ isSoldIndividually: z$2.ZodBoolean;
2069
+ catalogVisibility: z$2.ZodString;
2070
+ images: z$2.ZodArray<z$2.ZodObject<{
2071
+ id: z$2.ZodNumber;
2072
+ name: z$2.ZodString;
2073
+ src: z$2.ZodString;
2074
+ mime: z$2.ZodOptional<z$2.ZodString>;
2075
+ type: z$2.ZodLiteral<"image">;
2076
+ alt: z$2.ZodString;
2077
+ width: z$2.ZodOptional<z$2.ZodNumber>;
2078
+ height: z$2.ZodOptional<z$2.ZodNumber>;
2079
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
2080
+ src: z$2.ZodString;
2081
+ width: z$2.ZodNumber;
2082
+ height: z$2.ZodNumber;
2083
+ }, z$2.core.$strict>>>;
2084
+ srcset: z$2.ZodOptional<z$2.ZodString>;
2085
+ }, z$2.core.$strict>>;
2086
+ selectedAttributes: z$2.ZodArray<z$2.ZodObject<{
2087
+ name: z$2.ZodString;
2088
+ attribute: z$2.ZodString;
2089
+ value: z$2.ZodString;
2090
+ }, z$2.core.$strip>>;
2091
+ itemData: z$2.ZodArray<z$2.ZodObject<{
2092
+ name: z$2.ZodString;
2093
+ value: z$2.ZodString;
2094
+ display: z$2.ZodNullable<z$2.ZodString>;
2095
+ }, z$2.core.$strip>>;
2096
+ prices: z$2.ZodObject<{
2097
+ price: z$2.ZodNumber;
2098
+ regularPrice: z$2.ZodNumber;
2099
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
2100
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
2101
+ minAmount: z$2.ZodNumber;
2102
+ maxAmount: z$2.ZodNumber;
2103
+ }, z$2.core.$strip>>;
2104
+ }, z$2.core.$strip>;
2105
+ totals: z$2.ZodObject<{
2106
+ subtotal: z$2.ZodNumber;
2107
+ subtotalTax: z$2.ZodNumber;
2108
+ total: z$2.ZodNumber;
2109
+ totalTax: z$2.ZodNumber;
2110
+ }, z$2.core.$strip>;
2111
+ custom: z$2.ZodType<Record<string, unknown>, Record<string, unknown>, z$2.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2112
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
2113
+ }, z$2.core.$strip>>;
2114
+ itemCount: z$2.ZodNumber;
2115
+ itemsWeight: z$2.ZodNumber;
2116
+ billingAddress: z$2.ZodObject<{
2117
+ additionalFields: z$2.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, z$2.core.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
2118
+ taxId: z$2.ZodDefault<z$2.ZodString>;
2119
+ email: z$2.ZodString;
2120
+ firstName: z$2.ZodString;
2121
+ lastName: z$2.ZodString;
2122
+ company: z$2.ZodString;
2123
+ address1: z$2.ZodString;
2124
+ address2: z$2.ZodString;
2125
+ city: z$2.ZodString;
2126
+ state: z$2.ZodString;
2127
+ postcode: z$2.ZodString;
2128
+ country: z$2.ZodString;
2129
+ phone: z$2.ZodString;
2130
+ }, z$2.core.$strip>;
2131
+ shippingAddress: z$2.ZodObject<{
2132
+ firstName: z$2.ZodString;
2133
+ lastName: z$2.ZodString;
2134
+ company: z$2.ZodString;
2135
+ address1: z$2.ZodString;
2136
+ address2: z$2.ZodString;
2137
+ city: z$2.ZodString;
2138
+ state: z$2.ZodString;
2139
+ postcode: z$2.ZodString;
2140
+ country: z$2.ZodString;
2141
+ phone: z$2.ZodString;
2142
+ additionalFields: z$2.ZodType<{
2143
+ [x: string]: string | boolean | undefined;
2144
+ }, Partial<{
2145
+ [x: string]: string | boolean | undefined;
2146
+ }>, z$2.core.$ZodTypeInternals<{
2147
+ [x: string]: string | boolean | undefined;
2148
+ }, Partial<{
2149
+ [x: string]: string | boolean | undefined;
2150
+ }>>>;
2151
+ }, z$2.core.$strip>;
2152
+ shippingPackages: z$2.ZodArray<z$2.ZodObject<{
2153
+ id: z$2.ZodUnion<readonly [z$2.ZodNumber, z$2.ZodString]>;
2154
+ name: z$2.ZodString;
2155
+ destination: z$2.ZodObject<{
2156
+ address1: z$2.ZodString;
2157
+ address2: z$2.ZodString;
2158
+ city: z$2.ZodString;
2159
+ state: z$2.ZodString;
2160
+ postcode: z$2.ZodString;
2161
+ country: z$2.ZodString;
2162
+ }, z$2.core.$strip>;
2163
+ items: z$2.ZodArray<z$2.ZodObject<{
2164
+ key: z$2.ZodString;
2165
+ name: z$2.ZodString;
2166
+ quantity: z$2.ZodNumber;
2167
+ }, z$2.core.$strip>>;
2168
+ rates: z$2.ZodArray<z$2.ZodObject<{
2169
+ id: z$2.ZodString;
2170
+ name: z$2.ZodString;
2171
+ description: z$2.ZodString;
2172
+ deliveryTime: z$2.ZodString;
2173
+ price: z$2.ZodNumber;
2174
+ taxes: z$2.ZodNumber;
2175
+ methodId: z$2.ZodString;
2176
+ instanceId: z$2.ZodNumber;
2177
+ metadata: z$2.ZodArray<z$2.ZodObject<{
2178
+ key: z$2.ZodString;
2179
+ value: z$2.ZodString;
2180
+ }, z$2.core.$strip>>;
2181
+ selected: z$2.ZodBoolean;
2182
+ }, z$2.core.$strip>>;
2183
+ }, z$2.core.$strip>>;
2184
+ coupons: z$2.ZodArray<z$2.ZodObject<{
2185
+ code: z$2.ZodString;
2186
+ discountType: z$2.ZodString;
2187
+ totals: z$2.ZodObject<{
2188
+ discount: z$2.ZodNumber;
2189
+ discountTax: z$2.ZodNumber;
2190
+ }, z$2.core.$strip>;
2191
+ }, z$2.core.$strip>>;
2192
+ fees: z$2.ZodArray<z$2.ZodObject<{
2193
+ id: z$2.ZodString;
2194
+ name: z$2.ZodString;
2195
+ totals: z$2.ZodObject<{
2196
+ total: z$2.ZodNumber;
2197
+ tax: z$2.ZodNumber;
2198
+ }, z$2.core.$strip>;
2199
+ }, z$2.core.$strip>>;
2200
+ crossSells: z$2.ZodArray<z$2.ZodObject<{
2201
+ id: z$2.ZodNumber;
2202
+ name: z$2.ZodString;
2203
+ slug: z$2.ZodString;
2204
+ parentId: z$2.ZodNullable<z$2.ZodNumber>;
2205
+ type: z$2.ZodString;
2206
+ variationDescription: z$2.ZodString;
2207
+ url: z$2.ZodNullable<z$2.ZodString>;
2208
+ sku: z$2.ZodNullable<z$2.ZodString>;
2209
+ shortDescription: z$2.ZodString;
2210
+ description: z$2.ZodString;
2211
+ isPasswordProtected: z$2.ZodBoolean;
2212
+ isOnSale: z$2.ZodBoolean;
2213
+ prices: z$2.ZodObject<{
2214
+ price: z$2.ZodNumber;
2215
+ regularPrice: z$2.ZodNumber;
2216
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
2217
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
2218
+ minAmount: z$2.ZodNumber;
2219
+ maxAmount: z$2.ZodNumber;
2220
+ }, z$2.core.$strip>>;
2221
+ }, z$2.core.$strip>;
2222
+ currencyFormat: z$2.ZodObject<{
2223
+ currencyCode: z$2.ZodString;
2224
+ currencySymbol: z$2.ZodString;
2225
+ currencyPrefix: z$2.ZodString;
2226
+ currencySuffix: z$2.ZodString;
2227
+ currencyMinorUnit: z$2.ZodNumber;
2228
+ currencyDecimalSeparator: z$2.ZodString;
2229
+ currencyThousandSeparator: z$2.ZodString;
2230
+ }, z$2.core.$strip>;
2231
+ priceHtml: z$2.ZodString;
2232
+ averageRating: z$2.ZodNumber;
2233
+ reviewCount: z$2.ZodNumber;
2234
+ images: z$2.ZodArray<z$2.ZodObject<{
2235
+ id: z$2.ZodNumber;
2236
+ name: z$2.ZodString;
2237
+ src: z$2.ZodString;
2238
+ mime: z$2.ZodOptional<z$2.ZodString>;
2239
+ type: z$2.ZodLiteral<"image">;
2240
+ alt: z$2.ZodString;
2241
+ width: z$2.ZodOptional<z$2.ZodNumber>;
2242
+ height: z$2.ZodOptional<z$2.ZodNumber>;
2243
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
2244
+ src: z$2.ZodString;
2245
+ width: z$2.ZodNumber;
2246
+ height: z$2.ZodNumber;
2247
+ }, z$2.core.$strict>>>;
2248
+ srcset: z$2.ZodOptional<z$2.ZodString>;
2249
+ }, z$2.core.$strict>>;
2250
+ categories: z$2.ZodArray<z$2.ZodObject<{
2251
+ id: z$2.ZodNumber;
2252
+ name: z$2.ZodString;
2253
+ slug: z$2.ZodString;
2254
+ url: z$2.ZodNullable<z$2.ZodString>;
2255
+ }, z$2.core.$strip>>;
2256
+ tags: z$2.ZodArray<z$2.ZodObject<{
2257
+ id: z$2.ZodNumber;
2258
+ name: z$2.ZodString;
2259
+ slug: z$2.ZodString;
2260
+ url: z$2.ZodNullable<z$2.ZodString>;
2261
+ }, z$2.core.$strip>>;
2262
+ brands: z$2.ZodArray<z$2.ZodObject<{
2263
+ id: z$2.ZodNumber;
2264
+ name: z$2.ZodString;
2265
+ slug: z$2.ZodString;
2266
+ url: z$2.ZodNullable<z$2.ZodString>;
2267
+ }, z$2.core.$strip>>;
2268
+ attributes: z$2.ZodArray<z$2.ZodObject<{
2269
+ id: z$2.ZodNumber;
2270
+ name: z$2.ZodString;
2271
+ taxonomy: z$2.ZodNullable<z$2.ZodString>;
2272
+ hasVariations: z$2.ZodBoolean;
2273
+ terms: z$2.ZodArray<z$2.ZodObject<{
2274
+ id: z$2.ZodNumber;
2275
+ name: z$2.ZodString;
2276
+ slug: z$2.ZodString;
2277
+ isDefault: z$2.ZodBoolean;
2278
+ }, z$2.core.$strip>>;
2279
+ }, z$2.core.$strip>>;
2280
+ variations: z$2.ZodArray<z$2.ZodObject<{
2281
+ id: z$2.ZodNumber;
2282
+ attributes: z$2.ZodArray<z$2.ZodObject<{
2283
+ name: z$2.ZodString;
2284
+ value: z$2.ZodNullable<z$2.ZodString>;
2285
+ }, z$2.core.$strip>>;
2286
+ }, z$2.core.$strip>>;
2287
+ groupedProductIds: z$2.ZodArray<z$2.ZodNumber>;
2288
+ hasOptions: z$2.ZodBoolean;
2289
+ isPurchasable: z$2.ZodBoolean;
2290
+ isInStock: z$2.ZodBoolean;
2291
+ isOnBackorder: z$2.ZodBoolean;
2292
+ stockAvailability: z$2.ZodObject<{
2293
+ text: z$2.ZodString;
2294
+ class: z$2.ZodString;
2295
+ }, z$2.core.$strip>;
2296
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
2297
+ isSoldIndividually: z$2.ZodBoolean;
2298
+ addToCart: z$2.ZodObject<{
2299
+ text: z$2.ZodString;
2300
+ description: z$2.ZodString;
2301
+ singleText: z$2.ZodString;
2302
+ minimum: z$2.ZodNumber;
2303
+ maximum: z$2.ZodNumber;
2304
+ multipleOf: z$2.ZodNumber;
2305
+ }, z$2.core.$strip>;
2306
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
2307
+ }, z$2.core.$strip>>;
2308
+ needsPayment: z$2.ZodBoolean;
2309
+ needsShipping: z$2.ZodBoolean;
2310
+ hasCalculatedShipping: z$2.ZodBoolean;
2311
+ paymentMethods: z$2.ZodArray<z$2.ZodObject<{
2312
+ id: z$2.ZodString;
2313
+ title: z$2.ZodString;
2314
+ description: z$2.ZodString;
2315
+ order: z$2.ZodNumber;
2316
+ enabled: z$2.ZodBoolean;
2317
+ }, z$2.core.$strip>>;
2318
+ paymentRequirements: z$2.ZodArray<z$2.ZodString>;
2319
+ errors: z$2.ZodArray<z$2.ZodObject<{
2320
+ code: z$2.ZodString;
2321
+ message: z$2.ZodString;
2322
+ }, z$2.core.$strip>>;
2323
+ totals: z$2.ZodObject<{
2324
+ itemsTotal: z$2.ZodNumber;
2325
+ itemsTaxTotal: z$2.ZodNumber;
2326
+ feesTotal: z$2.ZodNumber;
2327
+ feesTaxTotal: z$2.ZodNumber;
2328
+ discountTotal: z$2.ZodNumber;
2329
+ discountTaxTotal: z$2.ZodNumber;
2330
+ shippingTotal: z$2.ZodNullable<z$2.ZodNumber>;
2331
+ shippingTaxTotal: z$2.ZodNullable<z$2.ZodNumber>;
2332
+ total: z$2.ZodNumber;
2333
+ taxTotal: z$2.ZodNumber;
2334
+ taxLines: z$2.ZodArray<z$2.ZodObject<{
2335
+ name: z$2.ZodString;
2336
+ price: z$2.ZodNumber;
2337
+ rate: z$2.ZodString;
2338
+ }, z$2.core.$strip>>;
2339
+ }, z$2.core.$strip>;
2340
+ currencyFormat: z$2.ZodObject<{
2341
+ currencyCode: z$2.ZodString;
2342
+ currencySymbol: z$2.ZodString;
2343
+ currencyPrefix: z$2.ZodString;
2344
+ currencySuffix: z$2.ZodString;
2345
+ currencyMinorUnit: z$2.ZodNumber;
2346
+ currencyDecimalSeparator: z$2.ZodString;
2347
+ currencyThousandSeparator: z$2.ZodString;
2348
+ }, z$2.core.$strip>;
2349
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
2350
+ }, z$2.core.$strip>>;
2351
+ }, z$2.core.$strip>;
2352
+ };
2353
+ readonly CHECKOUT_PRODUCT_OUT_OF_STOCK: {
2354
+ readonly status: 409;
2355
+ readonly message: "An item in the cart is out of stock.";
2356
+ readonly data: z$2.ZodObject<{
2357
+ cart: z$2.ZodNullable<z$2.ZodObject<{
2358
+ items: z$2.ZodArray<z$2.ZodObject<{
2359
+ key: z$2.ZodString;
2360
+ productId: z$2.ZodNumber;
2361
+ variationId: z$2.ZodNullable<z$2.ZodNumber>;
2362
+ type: z$2.ZodString;
2363
+ name: z$2.ZodString;
2364
+ sku: z$2.ZodNullable<z$2.ZodString>;
2365
+ slug: z$2.ZodString;
2366
+ url: z$2.ZodNullable<z$2.ZodString>;
2367
+ shortDescription: z$2.ZodString;
2368
+ description: z$2.ZodString;
2369
+ quantity: z$2.ZodNumber;
2370
+ quantityLimits: z$2.ZodObject<{
2371
+ minimum: z$2.ZodNumber;
2372
+ maximum: z$2.ZodNumber;
2373
+ multipleOf: z$2.ZodNumber;
2374
+ editable: z$2.ZodBoolean;
2375
+ }, z$2.core.$strip>;
2376
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
2377
+ allowsBackorders: z$2.ZodBoolean;
2378
+ showsBackorderBadge: z$2.ZodBoolean;
2379
+ isSoldIndividually: z$2.ZodBoolean;
2380
+ catalogVisibility: z$2.ZodString;
2381
+ images: z$2.ZodArray<z$2.ZodObject<{
2382
+ id: z$2.ZodNumber;
2383
+ name: z$2.ZodString;
2384
+ src: z$2.ZodString;
2385
+ mime: z$2.ZodOptional<z$2.ZodString>;
2386
+ type: z$2.ZodLiteral<"image">;
2387
+ alt: z$2.ZodString;
2388
+ width: z$2.ZodOptional<z$2.ZodNumber>;
2389
+ height: z$2.ZodOptional<z$2.ZodNumber>;
2390
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
2391
+ src: z$2.ZodString;
2392
+ width: z$2.ZodNumber;
2393
+ height: z$2.ZodNumber;
2394
+ }, z$2.core.$strict>>>;
2395
+ srcset: z$2.ZodOptional<z$2.ZodString>;
2396
+ }, z$2.core.$strict>>;
2397
+ selectedAttributes: z$2.ZodArray<z$2.ZodObject<{
2398
+ name: z$2.ZodString;
2399
+ attribute: z$2.ZodString;
2400
+ value: z$2.ZodString;
2401
+ }, z$2.core.$strip>>;
2402
+ itemData: z$2.ZodArray<z$2.ZodObject<{
2403
+ name: z$2.ZodString;
2404
+ value: z$2.ZodString;
2405
+ display: z$2.ZodNullable<z$2.ZodString>;
2406
+ }, z$2.core.$strip>>;
2407
+ prices: z$2.ZodObject<{
2408
+ price: z$2.ZodNumber;
2409
+ regularPrice: z$2.ZodNumber;
2410
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
2411
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
2412
+ minAmount: z$2.ZodNumber;
2413
+ maxAmount: z$2.ZodNumber;
2414
+ }, z$2.core.$strip>>;
2415
+ }, z$2.core.$strip>;
2416
+ totals: z$2.ZodObject<{
2417
+ subtotal: z$2.ZodNumber;
2418
+ subtotalTax: z$2.ZodNumber;
2419
+ total: z$2.ZodNumber;
2420
+ totalTax: z$2.ZodNumber;
2421
+ }, z$2.core.$strip>;
2422
+ custom: z$2.ZodType<Record<string, unknown>, Record<string, unknown>, z$2.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2423
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
2424
+ }, z$2.core.$strip>>;
2425
+ itemCount: z$2.ZodNumber;
2426
+ itemsWeight: z$2.ZodNumber;
2427
+ billingAddress: z$2.ZodObject<{
2428
+ additionalFields: z$2.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, z$2.core.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
2429
+ taxId: z$2.ZodDefault<z$2.ZodString>;
2430
+ email: z$2.ZodString;
2431
+ firstName: z$2.ZodString;
2432
+ lastName: z$2.ZodString;
2433
+ company: z$2.ZodString;
2434
+ address1: z$2.ZodString;
2435
+ address2: z$2.ZodString;
2436
+ city: z$2.ZodString;
2437
+ state: z$2.ZodString;
2438
+ postcode: z$2.ZodString;
2439
+ country: z$2.ZodString;
2440
+ phone: z$2.ZodString;
2441
+ }, z$2.core.$strip>;
2442
+ shippingAddress: z$2.ZodObject<{
2443
+ firstName: z$2.ZodString;
2444
+ lastName: z$2.ZodString;
2445
+ company: z$2.ZodString;
2446
+ address1: z$2.ZodString;
2447
+ address2: z$2.ZodString;
2448
+ city: z$2.ZodString;
2449
+ state: z$2.ZodString;
2450
+ postcode: z$2.ZodString;
2451
+ country: z$2.ZodString;
2452
+ phone: z$2.ZodString;
2453
+ additionalFields: z$2.ZodType<{
2454
+ [x: string]: string | boolean | undefined;
2455
+ }, Partial<{
2456
+ [x: string]: string | boolean | undefined;
2457
+ }>, z$2.core.$ZodTypeInternals<{
2458
+ [x: string]: string | boolean | undefined;
2459
+ }, Partial<{
2460
+ [x: string]: string | boolean | undefined;
2461
+ }>>>;
2462
+ }, z$2.core.$strip>;
2463
+ shippingPackages: z$2.ZodArray<z$2.ZodObject<{
2464
+ id: z$2.ZodUnion<readonly [z$2.ZodNumber, z$2.ZodString]>;
2465
+ name: z$2.ZodString;
2466
+ destination: z$2.ZodObject<{
2467
+ address1: z$2.ZodString;
2468
+ address2: z$2.ZodString;
2469
+ city: z$2.ZodString;
2470
+ state: z$2.ZodString;
2471
+ postcode: z$2.ZodString;
2472
+ country: z$2.ZodString;
2473
+ }, z$2.core.$strip>;
2474
+ items: z$2.ZodArray<z$2.ZodObject<{
2475
+ key: z$2.ZodString;
2476
+ name: z$2.ZodString;
2477
+ quantity: z$2.ZodNumber;
2478
+ }, z$2.core.$strip>>;
2479
+ rates: z$2.ZodArray<z$2.ZodObject<{
2480
+ id: z$2.ZodString;
2481
+ name: z$2.ZodString;
2482
+ description: z$2.ZodString;
2483
+ deliveryTime: z$2.ZodString;
2484
+ price: z$2.ZodNumber;
2485
+ taxes: z$2.ZodNumber;
2486
+ methodId: z$2.ZodString;
2487
+ instanceId: z$2.ZodNumber;
2488
+ metadata: z$2.ZodArray<z$2.ZodObject<{
2489
+ key: z$2.ZodString;
2490
+ value: z$2.ZodString;
2491
+ }, z$2.core.$strip>>;
2492
+ selected: z$2.ZodBoolean;
2493
+ }, z$2.core.$strip>>;
2494
+ }, z$2.core.$strip>>;
2495
+ coupons: z$2.ZodArray<z$2.ZodObject<{
2496
+ code: z$2.ZodString;
2497
+ discountType: z$2.ZodString;
2498
+ totals: z$2.ZodObject<{
2499
+ discount: z$2.ZodNumber;
2500
+ discountTax: z$2.ZodNumber;
2501
+ }, z$2.core.$strip>;
2502
+ }, z$2.core.$strip>>;
2503
+ fees: z$2.ZodArray<z$2.ZodObject<{
2504
+ id: z$2.ZodString;
2505
+ name: z$2.ZodString;
2506
+ totals: z$2.ZodObject<{
2507
+ total: z$2.ZodNumber;
2508
+ tax: z$2.ZodNumber;
2509
+ }, z$2.core.$strip>;
2510
+ }, z$2.core.$strip>>;
2511
+ crossSells: z$2.ZodArray<z$2.ZodObject<{
2512
+ id: z$2.ZodNumber;
2513
+ name: z$2.ZodString;
2514
+ slug: z$2.ZodString;
2515
+ parentId: z$2.ZodNullable<z$2.ZodNumber>;
2516
+ type: z$2.ZodString;
2517
+ variationDescription: z$2.ZodString;
2518
+ url: z$2.ZodNullable<z$2.ZodString>;
2519
+ sku: z$2.ZodNullable<z$2.ZodString>;
2520
+ shortDescription: z$2.ZodString;
2521
+ description: z$2.ZodString;
2522
+ isPasswordProtected: z$2.ZodBoolean;
2523
+ isOnSale: z$2.ZodBoolean;
2524
+ prices: z$2.ZodObject<{
2525
+ price: z$2.ZodNumber;
2526
+ regularPrice: z$2.ZodNumber;
2527
+ salePrice: z$2.ZodNullable<z$2.ZodNumber>;
2528
+ priceRange: z$2.ZodNullable<z$2.ZodObject<{
2529
+ minAmount: z$2.ZodNumber;
2530
+ maxAmount: z$2.ZodNumber;
2531
+ }, z$2.core.$strip>>;
2532
+ }, z$2.core.$strip>;
2533
+ currencyFormat: z$2.ZodObject<{
2534
+ currencyCode: z$2.ZodString;
2535
+ currencySymbol: z$2.ZodString;
2536
+ currencyPrefix: z$2.ZodString;
2537
+ currencySuffix: z$2.ZodString;
2538
+ currencyMinorUnit: z$2.ZodNumber;
2539
+ currencyDecimalSeparator: z$2.ZodString;
2540
+ currencyThousandSeparator: z$2.ZodString;
2541
+ }, z$2.core.$strip>;
2542
+ priceHtml: z$2.ZodString;
2543
+ averageRating: z$2.ZodNumber;
2544
+ reviewCount: z$2.ZodNumber;
2545
+ images: z$2.ZodArray<z$2.ZodObject<{
2546
+ id: z$2.ZodNumber;
2547
+ name: z$2.ZodString;
2548
+ src: z$2.ZodString;
2549
+ mime: z$2.ZodOptional<z$2.ZodString>;
2550
+ type: z$2.ZodLiteral<"image">;
2551
+ alt: z$2.ZodString;
2552
+ width: z$2.ZodOptional<z$2.ZodNumber>;
2553
+ height: z$2.ZodOptional<z$2.ZodNumber>;
2554
+ variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
2555
+ src: z$2.ZodString;
2556
+ width: z$2.ZodNumber;
2557
+ height: z$2.ZodNumber;
2558
+ }, z$2.core.$strict>>>;
2559
+ srcset: z$2.ZodOptional<z$2.ZodString>;
2560
+ }, z$2.core.$strict>>;
2561
+ categories: z$2.ZodArray<z$2.ZodObject<{
2562
+ id: z$2.ZodNumber;
2563
+ name: z$2.ZodString;
2564
+ slug: z$2.ZodString;
2565
+ url: z$2.ZodNullable<z$2.ZodString>;
2566
+ }, z$2.core.$strip>>;
2567
+ tags: z$2.ZodArray<z$2.ZodObject<{
2568
+ id: z$2.ZodNumber;
2569
+ name: z$2.ZodString;
2570
+ slug: z$2.ZodString;
2571
+ url: z$2.ZodNullable<z$2.ZodString>;
2572
+ }, z$2.core.$strip>>;
2573
+ brands: z$2.ZodArray<z$2.ZodObject<{
2574
+ id: z$2.ZodNumber;
2575
+ name: z$2.ZodString;
2576
+ slug: z$2.ZodString;
2577
+ url: z$2.ZodNullable<z$2.ZodString>;
2578
+ }, z$2.core.$strip>>;
2579
+ attributes: z$2.ZodArray<z$2.ZodObject<{
2580
+ id: z$2.ZodNumber;
2581
+ name: z$2.ZodString;
2582
+ taxonomy: z$2.ZodNullable<z$2.ZodString>;
2583
+ hasVariations: z$2.ZodBoolean;
2584
+ terms: z$2.ZodArray<z$2.ZodObject<{
2585
+ id: z$2.ZodNumber;
2586
+ name: z$2.ZodString;
2587
+ slug: z$2.ZodString;
2588
+ isDefault: z$2.ZodBoolean;
2589
+ }, z$2.core.$strip>>;
2590
+ }, z$2.core.$strip>>;
2591
+ variations: z$2.ZodArray<z$2.ZodObject<{
2592
+ id: z$2.ZodNumber;
2593
+ attributes: z$2.ZodArray<z$2.ZodObject<{
2594
+ name: z$2.ZodString;
2595
+ value: z$2.ZodNullable<z$2.ZodString>;
2596
+ }, z$2.core.$strip>>;
2597
+ }, z$2.core.$strip>>;
2598
+ groupedProductIds: z$2.ZodArray<z$2.ZodNumber>;
2599
+ hasOptions: z$2.ZodBoolean;
2600
+ isPurchasable: z$2.ZodBoolean;
2601
+ isInStock: z$2.ZodBoolean;
2602
+ isOnBackorder: z$2.ZodBoolean;
2603
+ stockAvailability: z$2.ZodObject<{
2604
+ text: z$2.ZodString;
2605
+ class: z$2.ZodString;
2606
+ }, z$2.core.$strip>;
2607
+ lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
2608
+ isSoldIndividually: z$2.ZodBoolean;
2609
+ addToCart: z$2.ZodObject<{
2610
+ text: z$2.ZodString;
2611
+ description: z$2.ZodString;
2612
+ singleText: z$2.ZodString;
2613
+ minimum: z$2.ZodNumber;
2614
+ maximum: z$2.ZodNumber;
2615
+ multipleOf: z$2.ZodNumber;
2616
+ }, z$2.core.$strip>;
2617
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
2618
+ }, z$2.core.$strip>>;
2619
+ needsPayment: z$2.ZodBoolean;
2620
+ needsShipping: z$2.ZodBoolean;
2621
+ hasCalculatedShipping: z$2.ZodBoolean;
2622
+ paymentMethods: z$2.ZodArray<z$2.ZodObject<{
2623
+ id: z$2.ZodString;
2624
+ title: z$2.ZodString;
2625
+ description: z$2.ZodString;
2626
+ order: z$2.ZodNumber;
2627
+ enabled: z$2.ZodBoolean;
2628
+ }, z$2.core.$strip>>;
2629
+ paymentRequirements: z$2.ZodArray<z$2.ZodString>;
2630
+ errors: z$2.ZodArray<z$2.ZodObject<{
2631
+ code: z$2.ZodString;
2632
+ message: z$2.ZodString;
2633
+ }, z$2.core.$strip>>;
2634
+ totals: z$2.ZodObject<{
2635
+ itemsTotal: z$2.ZodNumber;
2636
+ itemsTaxTotal: z$2.ZodNumber;
2637
+ feesTotal: z$2.ZodNumber;
2638
+ feesTaxTotal: z$2.ZodNumber;
2639
+ discountTotal: z$2.ZodNumber;
2640
+ discountTaxTotal: z$2.ZodNumber;
2641
+ shippingTotal: z$2.ZodNullable<z$2.ZodNumber>;
2642
+ shippingTaxTotal: z$2.ZodNullable<z$2.ZodNumber>;
2643
+ total: z$2.ZodNumber;
2644
+ taxTotal: z$2.ZodNumber;
2645
+ taxLines: z$2.ZodArray<z$2.ZodObject<{
2646
+ name: z$2.ZodString;
2647
+ price: z$2.ZodNumber;
2648
+ rate: z$2.ZodString;
2649
+ }, z$2.core.$strip>>;
2650
+ }, z$2.core.$strip>;
2651
+ currencyFormat: z$2.ZodObject<{
2652
+ currencyCode: z$2.ZodString;
2653
+ currencySymbol: z$2.ZodString;
2654
+ currencyPrefix: z$2.ZodString;
2655
+ currencySuffix: z$2.ZodString;
2656
+ currencyMinorUnit: z$2.ZodNumber;
2657
+ currencyDecimalSeparator: z$2.ZodString;
2658
+ currencyThousandSeparator: z$2.ZodString;
2659
+ }, z$2.core.$strip>;
2660
+ extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
2661
+ }, z$2.core.$strip>>;
2662
+ }, z$2.core.$strip>;
2663
+ };
2664
+ };
2665
+ declare const RETRY_CHECKOUT_ERROR_MAP: {
2666
+ readonly CHECKOUT_EMAIL_INVALID: {
2667
+ readonly status: 400;
2668
+ readonly message: "The billing email is invalid.";
2669
+ };
2670
+ readonly CHECKOUT_PAYMENT_FAILED: {
2671
+ readonly status: 400;
2672
+ readonly message: "Payment could not be processed.";
2673
+ };
2674
+ readonly CHECKOUT_PAYMENT_METHOD_DISABLED: {
2675
+ readonly status: 400;
2676
+ readonly message: "The selected payment method is not available.";
2677
+ };
2678
+ readonly CHECKOUT_PAYMENT_METHOD_MISSING: {
2679
+ readonly status: 400;
2680
+ readonly message: "A payment method is required.";
2681
+ };
2682
+ readonly CHECKOUT_VALIDATION_FAILED: {
2683
+ readonly status: 400;
2684
+ readonly message: "Checkout validation failed.";
2685
+ readonly data: z$2.ZodObject<{
2686
+ issues: z$2.ZodArray<z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
2687
+ source: z$2.ZodNullable<z$2.ZodString>;
2688
+ sourcePath: z$2.ZodArray<z$2.ZodString>;
2689
+ code: z$2.ZodNullable<z$2.ZodString>;
2690
+ message: z$2.ZodString;
2691
+ registeredFields: z$2.ZodArray<z$2.ZodObject<{
2692
+ id: z$2.ZodString;
2693
+ bucket: z$2.ZodNullable<z$2.ZodEnum<{
2694
+ billingAddress: "billingAddress";
2695
+ shippingAddress: "shippingAddress";
2696
+ additionalFields: "additionalFields";
2697
+ }>>;
2698
+ }, z$2.core.$strip>>;
2699
+ scope: z$2.ZodLiteral<"field">;
2700
+ target: z$2.ZodArray<z$2.ZodString>;
2701
+ }, z$2.core.$strip>, z$2.ZodObject<{
2702
+ source: z$2.ZodNullable<z$2.ZodString>;
2703
+ sourcePath: z$2.ZodArray<z$2.ZodString>;
2704
+ code: z$2.ZodNullable<z$2.ZodString>;
2705
+ message: z$2.ZodString;
2706
+ registeredFields: z$2.ZodArray<z$2.ZodObject<{
2707
+ id: z$2.ZodString;
2708
+ bucket: z$2.ZodNullable<z$2.ZodEnum<{
2709
+ billingAddress: "billingAddress";
2710
+ shippingAddress: "shippingAddress";
2711
+ additionalFields: "additionalFields";
2712
+ }>>;
2713
+ }, z$2.core.$strip>>;
2714
+ scope: z$2.ZodLiteral<"group">;
2715
+ target: z$2.ZodArray<z$2.ZodString>;
2716
+ }, z$2.core.$strip>, z$2.ZodObject<{
2717
+ source: z$2.ZodNullable<z$2.ZodString>;
2718
+ sourcePath: z$2.ZodArray<z$2.ZodString>;
2719
+ code: z$2.ZodNullable<z$2.ZodString>;
2720
+ message: z$2.ZodString;
2721
+ registeredFields: z$2.ZodArray<z$2.ZodObject<{
2722
+ id: z$2.ZodString;
2723
+ bucket: z$2.ZodNullable<z$2.ZodEnum<{
2724
+ billingAddress: "billingAddress";
2725
+ shippingAddress: "shippingAddress";
2726
+ additionalFields: "additionalFields";
2727
+ }>>;
2728
+ }, z$2.core.$strip>>;
2729
+ scope: z$2.ZodLiteral<"unresolved">;
2730
+ target: z$2.ZodNull;
2731
+ }, z$2.core.$strip>], "scope">>;
2732
+ }, z$2.core.$strict>;
2733
+ };
2734
+ readonly CHECKOUT_PAYMENT_RESULT_INVALID: {
2735
+ readonly status: 500;
2736
+ readonly message: "The payment gateway returned an invalid result.";
2737
+ };
2738
+ readonly CHECKOUT_ORDER_FORBIDDEN: {
2739
+ readonly status: 403;
2740
+ readonly message: "You are not allowed to pay for this order.";
2741
+ };
2742
+ readonly CHECKOUT_ORDER_NOT_FOUND: {
2743
+ readonly status: 404;
2744
+ readonly message: "Order not found.";
2745
+ };
2746
+ readonly CHECKOUT_ORDER_STATUS_INVALID: {
2747
+ readonly status: 409;
2748
+ readonly message: "This order is not in a state that can be paid.";
2749
+ };
2750
+ };
2751
+ declare const UPDATE_CHECKOUT_ERROR_MAP: {
2752
+ readonly CHECKOUT_COUPON_INVALID: {
2753
+ readonly status: 400;
2754
+ readonly message: "A coupon on the cart is no longer valid.";
2755
+ };
2756
+ readonly CHECKOUT_PAYMENT_METHOD_DISABLED: {
2757
+ readonly status: 400;
2758
+ readonly message: "The selected payment method is not available.";
2759
+ };
2760
+ readonly CHECKOUT_VALIDATION_FAILED: {
2761
+ readonly status: 400;
2762
+ readonly message: "Checkout validation failed.";
2763
+ readonly data: z$2.ZodObject<{
2764
+ issues: z$2.ZodArray<z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
2765
+ source: z$2.ZodNullable<z$2.ZodString>;
2766
+ sourcePath: z$2.ZodArray<z$2.ZodString>;
2767
+ code: z$2.ZodNullable<z$2.ZodString>;
2768
+ message: z$2.ZodString;
2769
+ registeredFields: z$2.ZodArray<z$2.ZodObject<{
2770
+ id: z$2.ZodString;
2771
+ bucket: z$2.ZodNullable<z$2.ZodEnum<{
2772
+ billingAddress: "billingAddress";
2773
+ shippingAddress: "shippingAddress";
2774
+ additionalFields: "additionalFields";
2775
+ }>>;
2776
+ }, z$2.core.$strip>>;
2777
+ scope: z$2.ZodLiteral<"field">;
2778
+ target: z$2.ZodArray<z$2.ZodString>;
2779
+ }, z$2.core.$strip>, z$2.ZodObject<{
2780
+ source: z$2.ZodNullable<z$2.ZodString>;
2781
+ sourcePath: z$2.ZodArray<z$2.ZodString>;
2782
+ code: z$2.ZodNullable<z$2.ZodString>;
2783
+ message: z$2.ZodString;
2784
+ registeredFields: z$2.ZodArray<z$2.ZodObject<{
2785
+ id: z$2.ZodString;
2786
+ bucket: z$2.ZodNullable<z$2.ZodEnum<{
2787
+ billingAddress: "billingAddress";
2788
+ shippingAddress: "shippingAddress";
2789
+ additionalFields: "additionalFields";
2790
+ }>>;
2791
+ }, z$2.core.$strip>>;
2792
+ scope: z$2.ZodLiteral<"group">;
2793
+ target: z$2.ZodArray<z$2.ZodString>;
2794
+ }, z$2.core.$strip>, z$2.ZodObject<{
2795
+ source: z$2.ZodNullable<z$2.ZodString>;
2796
+ sourcePath: z$2.ZodArray<z$2.ZodString>;
2797
+ code: z$2.ZodNullable<z$2.ZodString>;
2798
+ message: z$2.ZodString;
2799
+ registeredFields: z$2.ZodArray<z$2.ZodObject<{
2800
+ id: z$2.ZodString;
2801
+ bucket: z$2.ZodNullable<z$2.ZodEnum<{
2802
+ billingAddress: "billingAddress";
2803
+ shippingAddress: "shippingAddress";
2804
+ additionalFields: "additionalFields";
2805
+ }>>;
2806
+ }, z$2.core.$strip>>;
2807
+ scope: z$2.ZodLiteral<"unresolved">;
2808
+ target: z$2.ZodNull;
2809
+ }, z$2.core.$strip>], "scope">>;
2810
+ }, z$2.core.$strict>;
1104
2811
  };
1105
- readonly CHECKOUT_COUPONS_REMOVED: {
2812
+ readonly CHECKOUT_ORDER_NOT_FOUND: {
2813
+ readonly status: 404;
2814
+ readonly message: "No checkout order found.";
2815
+ };
2816
+ readonly CHECKOUT_CART_EMPTY: {
1106
2817
  readonly status: 409;
1107
- readonly message: "One or more coupons were removed from the cart.";
2818
+ readonly message: "The cart is empty.";
1108
2819
  readonly data: z$2.ZodObject<{
1109
2820
  cart: z$2.ZodNullable<z$2.ZodObject<{
1110
2821
  items: z$2.ZodArray<z$2.ZodObject<{
@@ -1413,9 +3124,9 @@ declare const CONFIRM_CHECKOUT_ERROR_MAP: {
1413
3124
  }, z$2.core.$strip>>;
1414
3125
  }, z$2.core.$strip>;
1415
3126
  };
1416
- readonly CHECKOUT_COUPON_RESERVATION_FAILED: {
3127
+ readonly CHECKOUT_CART_INVALID: {
1417
3128
  readonly status: 409;
1418
- readonly message: "A coupon could not be reserved for this order.";
3129
+ readonly message: "An item in the cart is no longer valid.";
1419
3130
  readonly data: z$2.ZodObject<{
1420
3131
  cart: z$2.ZodNullable<z$2.ZodObject<{
1421
3132
  items: z$2.ZodArray<z$2.ZodObject<{
@@ -2658,92 +4369,6 @@ declare const CONFIRM_CHECKOUT_ERROR_MAP: {
2658
4369
  }, z$2.core.$strip>;
2659
4370
  };
2660
4371
  };
2661
- declare const RETRY_CHECKOUT_ERROR_MAP: {
2662
- readonly CHECKOUT_EMAIL_INVALID: {
2663
- readonly status: 400;
2664
- readonly message: "The billing email is invalid.";
2665
- };
2666
- readonly CHECKOUT_PAYMENT_FAILED: {
2667
- readonly status: 400;
2668
- readonly message: "Payment could not be processed.";
2669
- };
2670
- readonly CHECKOUT_PAYMENT_METHOD_DISABLED: {
2671
- readonly status: 400;
2672
- readonly message: "The selected payment method is not available.";
2673
- };
2674
- readonly CHECKOUT_PAYMENT_METHOD_MISSING: {
2675
- readonly status: 400;
2676
- readonly message: "A payment method is required.";
2677
- };
2678
- readonly CHECKOUT_VALIDATION_FAILED: {
2679
- readonly status: 400;
2680
- readonly message: "Checkout validation failed.";
2681
- readonly data: z$2.ZodObject<{
2682
- issues: z$2.ZodArray<z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
2683
- source: z$2.ZodNullable<z$2.ZodString>;
2684
- sourcePath: z$2.ZodArray<z$2.ZodString>;
2685
- code: z$2.ZodNullable<z$2.ZodString>;
2686
- message: z$2.ZodString;
2687
- registeredFields: z$2.ZodArray<z$2.ZodObject<{
2688
- id: z$2.ZodString;
2689
- bucket: z$2.ZodNullable<z$2.ZodEnum<{
2690
- billingAddress: "billingAddress";
2691
- shippingAddress: "shippingAddress";
2692
- additionalFields: "additionalFields";
2693
- }>>;
2694
- }, z$2.core.$strip>>;
2695
- scope: z$2.ZodLiteral<"field">;
2696
- target: z$2.ZodArray<z$2.ZodString>;
2697
- }, z$2.core.$strip>, z$2.ZodObject<{
2698
- source: z$2.ZodNullable<z$2.ZodString>;
2699
- sourcePath: z$2.ZodArray<z$2.ZodString>;
2700
- code: z$2.ZodNullable<z$2.ZodString>;
2701
- message: z$2.ZodString;
2702
- registeredFields: z$2.ZodArray<z$2.ZodObject<{
2703
- id: z$2.ZodString;
2704
- bucket: z$2.ZodNullable<z$2.ZodEnum<{
2705
- billingAddress: "billingAddress";
2706
- shippingAddress: "shippingAddress";
2707
- additionalFields: "additionalFields";
2708
- }>>;
2709
- }, z$2.core.$strip>>;
2710
- scope: z$2.ZodLiteral<"group">;
2711
- target: z$2.ZodArray<z$2.ZodString>;
2712
- }, z$2.core.$strip>, z$2.ZodObject<{
2713
- source: z$2.ZodNullable<z$2.ZodString>;
2714
- sourcePath: z$2.ZodArray<z$2.ZodString>;
2715
- code: z$2.ZodNullable<z$2.ZodString>;
2716
- message: z$2.ZodString;
2717
- registeredFields: z$2.ZodArray<z$2.ZodObject<{
2718
- id: z$2.ZodString;
2719
- bucket: z$2.ZodNullable<z$2.ZodEnum<{
2720
- billingAddress: "billingAddress";
2721
- shippingAddress: "shippingAddress";
2722
- additionalFields: "additionalFields";
2723
- }>>;
2724
- }, z$2.core.$strip>>;
2725
- scope: z$2.ZodLiteral<"unresolved">;
2726
- target: z$2.ZodNull;
2727
- }, z$2.core.$strip>], "scope">>;
2728
- }, z$2.core.$strict>;
2729
- };
2730
- readonly CHECKOUT_PAYMENT_RESULT_INVALID: {
2731
- readonly status: 500;
2732
- readonly message: "The payment gateway returned an invalid result.";
2733
- };
2734
- readonly CHECKOUT_ORDER_FORBIDDEN: {
2735
- readonly status: 403;
2736
- readonly message: "You are not allowed to pay for this order.";
2737
- };
2738
- readonly CHECKOUT_ORDER_NOT_FOUND: {
2739
- readonly status: 404;
2740
- readonly message: "Order not found.";
2741
- };
2742
- readonly CHECKOUT_ORDER_STATUS_INVALID: {
2743
- readonly status: 409;
2744
- readonly message: "This order is not in a state that can be paid.";
2745
- };
2746
- };
2747
4372
  //#endregion
2748
4373
  //#region src/schema.d.ts
2749
4374
  declare const ShippingAddress: z$1.ZodObject<{
@@ -3687,318 +5312,12 @@ declare const Checkout: z$2.ZodObject<{
3687
5312
  }, Partial<{
3688
5313
  [x: string]: string | boolean | undefined;
3689
5314
  }>>>;
3690
- cart: z$2.ZodNullable<z$2.ZodObject<{
3691
- items: z$2.ZodArray<z$2.ZodObject<{
3692
- key: z$2.ZodString;
3693
- productId: z$2.ZodNumber;
3694
- variationId: z$2.ZodNullable<z$2.ZodNumber>;
3695
- type: z$2.ZodString;
3696
- name: z$2.ZodString;
3697
- sku: z$2.ZodNullable<z$2.ZodString>;
3698
- slug: z$2.ZodString;
3699
- url: z$2.ZodNullable<z$2.ZodString>;
3700
- shortDescription: z$2.ZodString;
3701
- description: z$2.ZodString;
3702
- quantity: z$2.ZodNumber;
3703
- quantityLimits: z$2.ZodObject<{
3704
- minimum: z$2.ZodNumber;
3705
- maximum: z$2.ZodNumber;
3706
- multipleOf: z$2.ZodNumber;
3707
- editable: z$2.ZodBoolean;
3708
- }, z$2.core.$strip>;
3709
- lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
3710
- allowsBackorders: z$2.ZodBoolean;
3711
- showsBackorderBadge: z$2.ZodBoolean;
3712
- isSoldIndividually: z$2.ZodBoolean;
3713
- catalogVisibility: z$2.ZodString;
3714
- images: z$2.ZodArray<z$2.ZodObject<{
3715
- id: z$2.ZodNumber;
3716
- name: z$2.ZodString;
3717
- src: z$2.ZodString;
3718
- mime: z$2.ZodOptional<z$2.ZodString>;
3719
- type: z$2.ZodLiteral<"image">;
3720
- alt: z$2.ZodString;
3721
- width: z$2.ZodOptional<z$2.ZodNumber>;
3722
- height: z$2.ZodOptional<z$2.ZodNumber>;
3723
- variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
3724
- src: z$2.ZodString;
3725
- width: z$2.ZodNumber;
3726
- height: z$2.ZodNumber;
3727
- }, z$2.core.$strict>>>;
3728
- srcset: z$2.ZodOptional<z$2.ZodString>;
3729
- }, z$2.core.$strict>>;
3730
- selectedAttributes: z$2.ZodArray<z$2.ZodObject<{
3731
- name: z$2.ZodString;
3732
- attribute: z$2.ZodString;
3733
- value: z$2.ZodString;
3734
- }, z$2.core.$strip>>;
3735
- itemData: z$2.ZodArray<z$2.ZodObject<{
3736
- name: z$2.ZodString;
3737
- value: z$2.ZodString;
3738
- display: z$2.ZodNullable<z$2.ZodString>;
3739
- }, z$2.core.$strip>>;
3740
- prices: z$2.ZodObject<{
3741
- price: z$2.ZodNumber;
3742
- regularPrice: z$2.ZodNumber;
3743
- salePrice: z$2.ZodNullable<z$2.ZodNumber>;
3744
- priceRange: z$2.ZodNullable<z$2.ZodObject<{
3745
- minAmount: z$2.ZodNumber;
3746
- maxAmount: z$2.ZodNumber;
3747
- }, z$2.core.$strip>>;
3748
- }, z$2.core.$strip>;
3749
- totals: z$2.ZodObject<{
3750
- subtotal: z$2.ZodNumber;
3751
- subtotalTax: z$2.ZodNumber;
3752
- total: z$2.ZodNumber;
3753
- totalTax: z$2.ZodNumber;
3754
- }, z$2.core.$strip>;
3755
- custom: z$2.ZodType<Record<string, unknown>, Record<string, unknown>, z$2.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3756
- extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
3757
- }, z$2.core.$strip>>;
3758
- itemCount: z$2.ZodNumber;
3759
- itemsWeight: z$2.ZodNumber;
3760
- billingAddress: z$2.ZodObject<{
3761
- additionalFields: z$2.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, z$2.core.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
3762
- taxId: z$2.ZodDefault<z$2.ZodString>;
3763
- email: z$2.ZodString;
3764
- firstName: z$2.ZodString;
3765
- lastName: z$2.ZodString;
3766
- company: z$2.ZodString;
3767
- address1: z$2.ZodString;
3768
- address2: z$2.ZodString;
3769
- city: z$2.ZodString;
3770
- state: z$2.ZodString;
3771
- postcode: z$2.ZodString;
3772
- country: z$2.ZodString;
3773
- phone: z$2.ZodString;
3774
- }, z$2.core.$strip>;
3775
- shippingAddress: z$2.ZodObject<{
3776
- firstName: z$2.ZodString;
3777
- lastName: z$2.ZodString;
3778
- company: z$2.ZodString;
3779
- address1: z$2.ZodString;
3780
- address2: z$2.ZodString;
3781
- city: z$2.ZodString;
3782
- state: z$2.ZodString;
3783
- postcode: z$2.ZodString;
3784
- country: z$2.ZodString;
3785
- phone: z$2.ZodString;
3786
- additionalFields: z$2.ZodType<{
3787
- [x: string]: string | boolean | undefined;
3788
- }, Partial<{
3789
- [x: string]: string | boolean | undefined;
3790
- }>, z$2.core.$ZodTypeInternals<{
3791
- [x: string]: string | boolean | undefined;
3792
- }, Partial<{
3793
- [x: string]: string | boolean | undefined;
3794
- }>>>;
3795
- }, z$2.core.$strip>;
3796
- shippingPackages: z$2.ZodArray<z$2.ZodObject<{
3797
- id: z$2.ZodUnion<readonly [z$2.ZodNumber, z$2.ZodString]>;
3798
- name: z$2.ZodString;
3799
- destination: z$2.ZodObject<{
3800
- address1: z$2.ZodString;
3801
- address2: z$2.ZodString;
3802
- city: z$2.ZodString;
3803
- state: z$2.ZodString;
3804
- postcode: z$2.ZodString;
3805
- country: z$2.ZodString;
3806
- }, z$2.core.$strip>;
3807
- items: z$2.ZodArray<z$2.ZodObject<{
3808
- key: z$2.ZodString;
3809
- name: z$2.ZodString;
3810
- quantity: z$2.ZodNumber;
3811
- }, z$2.core.$strip>>;
3812
- rates: z$2.ZodArray<z$2.ZodObject<{
3813
- id: z$2.ZodString;
3814
- name: z$2.ZodString;
3815
- description: z$2.ZodString;
3816
- deliveryTime: z$2.ZodString;
3817
- price: z$2.ZodNumber;
3818
- taxes: z$2.ZodNumber;
3819
- methodId: z$2.ZodString;
3820
- instanceId: z$2.ZodNumber;
3821
- metadata: z$2.ZodArray<z$2.ZodObject<{
3822
- key: z$2.ZodString;
3823
- value: z$2.ZodString;
3824
- }, z$2.core.$strip>>;
3825
- selected: z$2.ZodBoolean;
3826
- }, z$2.core.$strip>>;
3827
- }, z$2.core.$strip>>;
3828
- coupons: z$2.ZodArray<z$2.ZodObject<{
3829
- code: z$2.ZodString;
3830
- discountType: z$2.ZodString;
3831
- totals: z$2.ZodObject<{
3832
- discount: z$2.ZodNumber;
3833
- discountTax: z$2.ZodNumber;
3834
- }, z$2.core.$strip>;
3835
- }, z$2.core.$strip>>;
3836
- fees: z$2.ZodArray<z$2.ZodObject<{
3837
- id: z$2.ZodString;
3838
- name: z$2.ZodString;
3839
- totals: z$2.ZodObject<{
3840
- total: z$2.ZodNumber;
3841
- tax: z$2.ZodNumber;
3842
- }, z$2.core.$strip>;
3843
- }, z$2.core.$strip>>;
3844
- crossSells: z$2.ZodArray<z$2.ZodObject<{
3845
- id: z$2.ZodNumber;
3846
- name: z$2.ZodString;
3847
- slug: z$2.ZodString;
3848
- parentId: z$2.ZodNullable<z$2.ZodNumber>;
3849
- type: z$2.ZodString;
3850
- variationDescription: z$2.ZodString;
3851
- url: z$2.ZodNullable<z$2.ZodString>;
3852
- sku: z$2.ZodNullable<z$2.ZodString>;
3853
- shortDescription: z$2.ZodString;
3854
- description: z$2.ZodString;
3855
- isPasswordProtected: z$2.ZodBoolean;
3856
- isOnSale: z$2.ZodBoolean;
3857
- prices: z$2.ZodObject<{
3858
- price: z$2.ZodNumber;
3859
- regularPrice: z$2.ZodNumber;
3860
- salePrice: z$2.ZodNullable<z$2.ZodNumber>;
3861
- priceRange: z$2.ZodNullable<z$2.ZodObject<{
3862
- minAmount: z$2.ZodNumber;
3863
- maxAmount: z$2.ZodNumber;
3864
- }, z$2.core.$strip>>;
3865
- }, z$2.core.$strip>;
3866
- currencyFormat: z$2.ZodObject<{
3867
- currencyCode: z$2.ZodString;
3868
- currencySymbol: z$2.ZodString;
3869
- currencyPrefix: z$2.ZodString;
3870
- currencySuffix: z$2.ZodString;
3871
- currencyMinorUnit: z$2.ZodNumber;
3872
- currencyDecimalSeparator: z$2.ZodString;
3873
- currencyThousandSeparator: z$2.ZodString;
3874
- }, z$2.core.$strip>;
3875
- priceHtml: z$2.ZodString;
3876
- averageRating: z$2.ZodNumber;
3877
- reviewCount: z$2.ZodNumber;
3878
- images: z$2.ZodArray<z$2.ZodObject<{
3879
- id: z$2.ZodNumber;
3880
- name: z$2.ZodString;
3881
- src: z$2.ZodString;
3882
- mime: z$2.ZodOptional<z$2.ZodString>;
3883
- type: z$2.ZodLiteral<"image">;
3884
- alt: z$2.ZodString;
3885
- width: z$2.ZodOptional<z$2.ZodNumber>;
3886
- height: z$2.ZodOptional<z$2.ZodNumber>;
3887
- variants: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
3888
- src: z$2.ZodString;
3889
- width: z$2.ZodNumber;
3890
- height: z$2.ZodNumber;
3891
- }, z$2.core.$strict>>>;
3892
- srcset: z$2.ZodOptional<z$2.ZodString>;
3893
- }, z$2.core.$strict>>;
3894
- categories: z$2.ZodArray<z$2.ZodObject<{
3895
- id: z$2.ZodNumber;
3896
- name: z$2.ZodString;
3897
- slug: z$2.ZodString;
3898
- url: z$2.ZodNullable<z$2.ZodString>;
3899
- }, z$2.core.$strip>>;
3900
- tags: z$2.ZodArray<z$2.ZodObject<{
3901
- id: z$2.ZodNumber;
3902
- name: z$2.ZodString;
3903
- slug: z$2.ZodString;
3904
- url: z$2.ZodNullable<z$2.ZodString>;
3905
- }, z$2.core.$strip>>;
3906
- brands: z$2.ZodArray<z$2.ZodObject<{
3907
- id: z$2.ZodNumber;
3908
- name: z$2.ZodString;
3909
- slug: z$2.ZodString;
3910
- url: z$2.ZodNullable<z$2.ZodString>;
3911
- }, z$2.core.$strip>>;
3912
- attributes: z$2.ZodArray<z$2.ZodObject<{
3913
- id: z$2.ZodNumber;
3914
- name: z$2.ZodString;
3915
- taxonomy: z$2.ZodNullable<z$2.ZodString>;
3916
- hasVariations: z$2.ZodBoolean;
3917
- terms: z$2.ZodArray<z$2.ZodObject<{
3918
- id: z$2.ZodNumber;
3919
- name: z$2.ZodString;
3920
- slug: z$2.ZodString;
3921
- isDefault: z$2.ZodBoolean;
3922
- }, z$2.core.$strip>>;
3923
- }, z$2.core.$strip>>;
3924
- variations: z$2.ZodArray<z$2.ZodObject<{
3925
- id: z$2.ZodNumber;
3926
- attributes: z$2.ZodArray<z$2.ZodObject<{
3927
- name: z$2.ZodString;
3928
- value: z$2.ZodNullable<z$2.ZodString>;
3929
- }, z$2.core.$strip>>;
3930
- }, z$2.core.$strip>>;
3931
- groupedProductIds: z$2.ZodArray<z$2.ZodNumber>;
3932
- hasOptions: z$2.ZodBoolean;
3933
- isPurchasable: z$2.ZodBoolean;
3934
- isInStock: z$2.ZodBoolean;
3935
- isOnBackorder: z$2.ZodBoolean;
3936
- stockAvailability: z$2.ZodObject<{
3937
- text: z$2.ZodString;
3938
- class: z$2.ZodString;
3939
- }, z$2.core.$strip>;
3940
- lowStockRemaining: z$2.ZodNullable<z$2.ZodNumber>;
3941
- isSoldIndividually: z$2.ZodBoolean;
3942
- addToCart: z$2.ZodObject<{
3943
- text: z$2.ZodString;
3944
- description: z$2.ZodString;
3945
- singleText: z$2.ZodString;
3946
- minimum: z$2.ZodNumber;
3947
- maximum: z$2.ZodNumber;
3948
- multipleOf: z$2.ZodNumber;
3949
- }, z$2.core.$strip>;
3950
- extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
3951
- }, z$2.core.$strip>>;
3952
- needsPayment: z$2.ZodBoolean;
3953
- needsShipping: z$2.ZodBoolean;
3954
- hasCalculatedShipping: z$2.ZodBoolean;
3955
- paymentMethods: z$2.ZodArray<z$2.ZodObject<{
3956
- id: z$2.ZodString;
3957
- title: z$2.ZodString;
3958
- description: z$2.ZodString;
3959
- order: z$2.ZodNumber;
3960
- enabled: z$2.ZodBoolean;
3961
- }, z$2.core.$strip>>;
3962
- paymentRequirements: z$2.ZodArray<z$2.ZodString>;
3963
- errors: z$2.ZodArray<z$2.ZodObject<{
3964
- code: z$2.ZodString;
3965
- message: z$2.ZodString;
3966
- }, z$2.core.$strip>>;
3967
- totals: z$2.ZodObject<{
3968
- itemsTotal: z$2.ZodNumber;
3969
- itemsTaxTotal: z$2.ZodNumber;
3970
- feesTotal: z$2.ZodNumber;
3971
- feesTaxTotal: z$2.ZodNumber;
3972
- discountTotal: z$2.ZodNumber;
3973
- discountTaxTotal: z$2.ZodNumber;
3974
- shippingTotal: z$2.ZodNullable<z$2.ZodNumber>;
3975
- shippingTaxTotal: z$2.ZodNullable<z$2.ZodNumber>;
3976
- total: z$2.ZodNumber;
3977
- taxTotal: z$2.ZodNumber;
3978
- taxLines: z$2.ZodArray<z$2.ZodObject<{
3979
- name: z$2.ZodString;
3980
- price: z$2.ZodNumber;
3981
- rate: z$2.ZodString;
3982
- }, z$2.core.$strip>>;
3983
- }, z$2.core.$strip>;
3984
- currencyFormat: z$2.ZodObject<{
3985
- currencyCode: z$2.ZodString;
3986
- currencySymbol: z$2.ZodString;
3987
- currencyPrefix: z$2.ZodString;
3988
- currencySuffix: z$2.ZodString;
3989
- currencyMinorUnit: z$2.ZodNumber;
3990
- currencyDecimalSeparator: z$2.ZodString;
3991
- currencyThousandSeparator: z$2.ZodString;
3992
- }, z$2.core.$strip>;
3993
- extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
3994
- }, z$2.core.$strip>>;
3995
5315
  extensions: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
3996
5316
  }, z$2.core.$strip>;
3997
- type Checkout = Omit<z$2.output<typeof Checkout>, "additionalFields" | "billingAddress" | "shippingAddress" | "cart"> & {
5317
+ type Checkout = Omit<z$2.output<typeof Checkout>, "additionalFields" | "billingAddress" | "shippingAddress"> & {
3998
5318
  additionalFields: CheckoutAdditionalFields$1;
3999
5319
  billingAddress: CartBillingAddress;
4000
5320
  shippingAddress: CartShippingAddress;
4001
- cart: Cart | null;
4002
5321
  };
4003
5322
  declare const UpdateCheckoutInput: z$2.ZodObject<{
4004
5323
  paymentMethod: z$2.ZodOptional<z$2.ZodString>;
@@ -4456,9 +5775,9 @@ declare const SwatchType: z.ZodEnum<{
4456
5775
  type SwatchType = z.infer<typeof SwatchType>;
4457
5776
  declare const PRODUCT_TYPES: readonly ["simple", "grouped", "external", "variable", "variation"];
4458
5777
  declare const ProductType: z.ZodEnum<{
4459
- external: "external";
4460
5778
  simple: "simple";
4461
5779
  grouped: "grouped";
5780
+ external: "external";
4462
5781
  variable: "variable";
4463
5782
  variation: "variation";
4464
5783
  }>;
@@ -6020,11 +7339,11 @@ declare const RetrieveProductInput: z.ZodObject<{
6020
7339
  }, z.core.$strip>;
6021
7340
  type RetrieveProductInput = z.input<typeof RetrieveProductInput>;
6022
7341
  declare const ProductOrderBy: z.ZodEnum<{
6023
- slug: "slug";
6024
7342
  date: "date";
6025
- price: "price";
6026
7343
  id: "id";
6027
7344
  title: "title";
7345
+ slug: "slug";
7346
+ price: "price";
6028
7347
  modified: "modified";
6029
7348
  include: "include";
6030
7349
  popularity: "popularity";
@@ -6036,8 +7355,8 @@ type ProductOrderBy = z.infer<typeof ProductOrderBy>;
6036
7355
  declare const PRODUCT_DATE_COLUMNS: readonly ["date", "date_gmt", "modified", "modified_gmt"];
6037
7356
  declare const ProductDateColumn: z.ZodEnum<{
6038
7357
  date: "date";
6039
- date_gmt: "date_gmt";
6040
7358
  modified: "modified";
7359
+ date_gmt: "date_gmt";
6041
7360
  modified_gmt: "modified_gmt";
6042
7361
  }>;
6043
7362
  type ProductDateColumn = z.infer<typeof ProductDateColumn>;
@@ -6062,11 +7381,11 @@ declare const ProductStockStatus: z.ZodEnum<{
6062
7381
  type ProductStockStatus = z.infer<typeof ProductStockStatus>;
6063
7382
  declare const PRODUCT_CATALOG_VISIBILITIES: readonly ["any", "visible", "catalog", "search", "hidden"];
6064
7383
  declare const ProductCatalogVisibility: z.ZodEnum<{
6065
- any: "any";
6066
7384
  search: "search";
6067
- visible: "visible";
6068
- catalog: "catalog";
7385
+ any: "any";
6069
7386
  hidden: "hidden";
7387
+ catalog: "catalog";
7388
+ visible: "visible";
6070
7389
  }>;
6071
7390
  type ProductCatalogVisibility = z.infer<typeof ProductCatalogVisibility>;
6072
7391
  declare const PRODUCT_RATINGS: readonly [1, 2, 3, 4, 5];
@@ -6104,8 +7423,8 @@ declare const ListProductInput: z.ZodObject<{
6104
7423
  before: z.ZodOptional<z.ZodString>;
6105
7424
  dateColumn: z.ZodOptional<z.ZodEnum<{
6106
7425
  date: "date";
6107
- date_gmt: "date_gmt";
6108
7426
  modified: "modified";
7427
+ date_gmt: "date_gmt";
6109
7428
  modified_gmt: "modified_gmt";
6110
7429
  }>>;
6111
7430
  exclude: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
@@ -6116,11 +7435,11 @@ declare const ListProductInput: z.ZodObject<{
6116
7435
  desc: "desc";
6117
7436
  }>>;
6118
7437
  orderBy: z.ZodOptional<z.ZodEnum<{
6119
- slug: "slug";
6120
7438
  date: "date";
6121
- price: "price";
6122
7439
  id: "id";
6123
7440
  title: "title";
7441
+ slug: "slug";
7442
+ price: "price";
6124
7443
  modified: "modified";
6125
7444
  include: "include";
6126
7445
  popularity: "popularity";
@@ -6178,11 +7497,11 @@ declare const ListProductInput: z.ZodObject<{
6178
7497
  and: "and";
6179
7498
  }>>;
6180
7499
  catalogVisibility: z.ZodOptional<z.ZodEnum<{
6181
- any: "any";
6182
7500
  search: "search";
6183
- visible: "visible";
6184
- catalog: "catalog";
7501
+ any: "any";
6185
7502
  hidden: "hidden";
7503
+ catalog: "catalog";
7504
+ visible: "visible";
6186
7505
  }>>;
6187
7506
  rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>, z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>]>>;
6188
7507
  related: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
@@ -6347,15 +7666,10 @@ declare const ProductAttributeCount: z.ZodObject<{
6347
7666
  }, z.core.$strip>;
6348
7667
  type ProductAttributeCount = z.input<typeof ProductAttributeCount>;
6349
7668
  declare const RetrieveProductFiltersInput: z.ZodObject<{
6350
- type: z.ZodOptional<z.ZodString>;
6351
- sku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
6352
- slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
6353
- catalogVisibility: z.ZodOptional<z.ZodEnum<{
6354
- any: "any";
6355
- search: "search";
6356
- visible: "visible";
6357
- catalog: "catalog";
6358
- hidden: "hidden";
7669
+ search: z.ZodOptional<z.ZodString>;
7670
+ order: z.ZodOptional<z.ZodEnum<{
7671
+ asc: "asc";
7672
+ desc: "desc";
6359
7673
  }>>;
6360
7674
  attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
6361
7675
  taxonomy: z.ZodString;
@@ -6367,33 +7681,30 @@ declare const RetrieveProductFiltersInput: z.ZodObject<{
6367
7681
  and: "and";
6368
7682
  }>>;
6369
7683
  }, z.core.$strip>>>;
6370
- order: z.ZodOptional<z.ZodEnum<{
6371
- asc: "asc";
6372
- desc: "desc";
6373
- }>>;
6374
- search: z.ZodOptional<z.ZodString>;
7684
+ type: z.ZodOptional<z.ZodString>;
7685
+ slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
7686
+ sku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
6375
7687
  related: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
6376
- parent: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
7688
+ include: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
7689
+ rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>, z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>]>>;
6377
7690
  page: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
6378
7691
  perPage: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
6379
7692
  after: z.ZodOptional<z.ZodString>;
6380
7693
  before: z.ZodOptional<z.ZodString>;
6381
7694
  dateColumn: z.ZodOptional<z.ZodEnum<{
6382
7695
  date: "date";
6383
- date_gmt: "date_gmt";
6384
7696
  modified: "modified";
7697
+ date_gmt: "date_gmt";
6385
7698
  modified_gmt: "modified_gmt";
6386
7699
  }>>;
6387
7700
  exclude: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
6388
- include: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
6389
7701
  offset: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
6390
- rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>, z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>]>>;
6391
7702
  orderBy: z.ZodOptional<z.ZodEnum<{
6392
- slug: "slug";
6393
7703
  date: "date";
6394
- price: "price";
6395
7704
  id: "id";
6396
7705
  title: "title";
7706
+ slug: "slug";
7707
+ price: "price";
6397
7708
  modified: "modified";
6398
7709
  include: "include";
6399
7710
  popularity: "popularity";
@@ -6401,6 +7712,7 @@ declare const RetrieveProductFiltersInput: z.ZodObject<{
6401
7712
  menu_order: "menu_order";
6402
7713
  comment_count: "comment_count";
6403
7714
  }>>;
7715
+ parent: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
6404
7716
  parentExclude: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
6405
7717
  featured: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
6406
7718
  category: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>>]>>;
@@ -6437,6 +7749,13 @@ declare const RetrieveProductFiltersInput: z.ZodObject<{
6437
7749
  in: "in";
6438
7750
  and: "and";
6439
7751
  }>>;
7752
+ catalogVisibility: z.ZodOptional<z.ZodEnum<{
7753
+ search: "search";
7754
+ any: "any";
7755
+ hidden: "hidden";
7756
+ catalog: "catalog";
7757
+ visible: "visible";
7758
+ }>>;
6440
7759
  taxonomies: z.ZodOptional<z.ZodArray<z.ZodObject<{
6441
7760
  taxonomy: z.ZodString;
6442
7761
  termIds: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
@@ -6462,7 +7781,11 @@ type RetrieveProductFiltersInput = z.input<typeof RetrieveProductFiltersInput>;
6462
7781
  type RetrieveProductFiltersInputOut = z.output<typeof RetrieveProductFiltersInput>;
6463
7782
  //#endregion
6464
7783
  //#region src/index.d.ts
6465
- declare function woocommerce(): kizlo0.Integration<"woocommerce", {
7784
+ interface WooCommerceOptions {
7785
+ /** Allow logged-out checkout, subject to the store's guest-checkout settings. @default true */
7786
+ allowGuest?: boolean;
7787
+ }
7788
+ declare function woocommerce(options?: WooCommerceOptions): kizlo0.Integration<"woocommerce", {
6466
7789
  cart: {
6467
7790
  get: kizlo0.Procedure<"api", {}, Cart, {}>;
6468
7791
  update: kizlo0.Procedure<"api", {
@@ -6788,1641 +8111,10 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
6788
8111
  } | null, kizlo0.DefinedErrorMapLike>;
6789
8112
  };
6790
8113
  checkout: {
6791
- get: kizlo0.Procedure<"api", {}, Checkout, {
6792
- readonly CHECKOUT_ORDER_NOT_FOUND: {
6793
- readonly status: 404;
6794
- readonly message: "No checkout order found.";
6795
- };
6796
- }>;
8114
+ get: kizlo0.Procedure<"api", Record<never, never>, Checkout, typeof GET_CHECKOUT_ERROR_MAP>;
6797
8115
  update: kizlo0.Procedure<"api", {
6798
- body: {
6799
- extensions?: Record<string, unknown> | undefined;
6800
- customerNote?: string | undefined;
6801
- paymentMethod?: string | undefined;
6802
- recalculateTotals?: boolean | undefined;
6803
- additionalFields?: CheckoutAdditionalFieldsInput | undefined;
6804
- };
6805
- }, Checkout, {
6806
- readonly CHECKOUT_COUPON_INVALID: {
6807
- readonly status: 400;
6808
- readonly message: "A coupon on the cart is no longer valid.";
6809
- };
6810
- readonly CHECKOUT_PAYMENT_METHOD_DISABLED: {
6811
- readonly status: 400;
6812
- readonly message: "The selected payment method is not available.";
6813
- };
6814
- readonly CHECKOUT_VALIDATION_FAILED: {
6815
- readonly status: 400;
6816
- readonly message: "Checkout validation failed.";
6817
- readonly data: zod0.ZodObject<{
6818
- issues: zod0.ZodArray<zod0.ZodDiscriminatedUnion<[zod0.ZodObject<{
6819
- source: zod0.ZodNullable<zod0.ZodString>;
6820
- sourcePath: zod0.ZodArray<zod0.ZodString>;
6821
- code: zod0.ZodNullable<zod0.ZodString>;
6822
- message: zod0.ZodString;
6823
- registeredFields: zod0.ZodArray<zod0.ZodObject<{
6824
- id: zod0.ZodString;
6825
- bucket: zod0.ZodNullable<zod0.ZodEnum<{
6826
- billingAddress: "billingAddress";
6827
- shippingAddress: "shippingAddress";
6828
- additionalFields: "additionalFields";
6829
- }>>;
6830
- }, zod_v4_core0.$strip>>;
6831
- scope: zod0.ZodLiteral<"field">;
6832
- target: zod0.ZodArray<zod0.ZodString>;
6833
- }, zod_v4_core0.$strip>, zod0.ZodObject<{
6834
- source: zod0.ZodNullable<zod0.ZodString>;
6835
- sourcePath: zod0.ZodArray<zod0.ZodString>;
6836
- code: zod0.ZodNullable<zod0.ZodString>;
6837
- message: zod0.ZodString;
6838
- registeredFields: zod0.ZodArray<zod0.ZodObject<{
6839
- id: zod0.ZodString;
6840
- bucket: zod0.ZodNullable<zod0.ZodEnum<{
6841
- billingAddress: "billingAddress";
6842
- shippingAddress: "shippingAddress";
6843
- additionalFields: "additionalFields";
6844
- }>>;
6845
- }, zod_v4_core0.$strip>>;
6846
- scope: zod0.ZodLiteral<"group">;
6847
- target: zod0.ZodArray<zod0.ZodString>;
6848
- }, zod_v4_core0.$strip>, zod0.ZodObject<{
6849
- source: zod0.ZodNullable<zod0.ZodString>;
6850
- sourcePath: zod0.ZodArray<zod0.ZodString>;
6851
- code: zod0.ZodNullable<zod0.ZodString>;
6852
- message: zod0.ZodString;
6853
- registeredFields: zod0.ZodArray<zod0.ZodObject<{
6854
- id: zod0.ZodString;
6855
- bucket: zod0.ZodNullable<zod0.ZodEnum<{
6856
- billingAddress: "billingAddress";
6857
- shippingAddress: "shippingAddress";
6858
- additionalFields: "additionalFields";
6859
- }>>;
6860
- }, zod_v4_core0.$strip>>;
6861
- scope: zod0.ZodLiteral<"unresolved">;
6862
- target: zod0.ZodNull;
6863
- }, zod_v4_core0.$strip>], "scope">>;
6864
- }, zod_v4_core0.$strict>;
6865
- };
6866
- readonly CHECKOUT_ORDER_NOT_FOUND: {
6867
- readonly status: 404;
6868
- readonly message: "No checkout order found.";
6869
- };
6870
- readonly CHECKOUT_CART_EMPTY: {
6871
- readonly status: 409;
6872
- readonly message: "The cart is empty.";
6873
- readonly data: zod0.ZodObject<{
6874
- cart: zod0.ZodNullable<zod0.ZodObject<{
6875
- items: zod0.ZodArray<zod0.ZodObject<{
6876
- key: zod0.ZodString;
6877
- productId: zod0.ZodNumber;
6878
- variationId: zod0.ZodNullable<zod0.ZodNumber>;
6879
- type: zod0.ZodString;
6880
- name: zod0.ZodString;
6881
- sku: zod0.ZodNullable<zod0.ZodString>;
6882
- slug: zod0.ZodString;
6883
- url: zod0.ZodNullable<zod0.ZodString>;
6884
- shortDescription: zod0.ZodString;
6885
- description: zod0.ZodString;
6886
- quantity: zod0.ZodNumber;
6887
- quantityLimits: zod0.ZodObject<{
6888
- minimum: zod0.ZodNumber;
6889
- maximum: zod0.ZodNumber;
6890
- multipleOf: zod0.ZodNumber;
6891
- editable: zod0.ZodBoolean;
6892
- }, zod_v4_core0.$strip>;
6893
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
6894
- allowsBackorders: zod0.ZodBoolean;
6895
- showsBackorderBadge: zod0.ZodBoolean;
6896
- isSoldIndividually: zod0.ZodBoolean;
6897
- catalogVisibility: zod0.ZodString;
6898
- images: zod0.ZodArray<zod0.ZodObject<{
6899
- id: zod0.ZodNumber;
6900
- name: zod0.ZodString;
6901
- src: zod0.ZodString;
6902
- mime: zod0.ZodOptional<zod0.ZodString>;
6903
- type: zod0.ZodLiteral<"image">;
6904
- alt: zod0.ZodString;
6905
- width: zod0.ZodOptional<zod0.ZodNumber>;
6906
- height: zod0.ZodOptional<zod0.ZodNumber>;
6907
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
6908
- src: zod0.ZodString;
6909
- width: zod0.ZodNumber;
6910
- height: zod0.ZodNumber;
6911
- }, zod_v4_core0.$strict>>>;
6912
- srcset: zod0.ZodOptional<zod0.ZodString>;
6913
- }, zod_v4_core0.$strict>>;
6914
- selectedAttributes: zod0.ZodArray<zod0.ZodObject<{
6915
- name: zod0.ZodString;
6916
- attribute: zod0.ZodString;
6917
- value: zod0.ZodString;
6918
- }, zod_v4_core0.$strip>>;
6919
- itemData: zod0.ZodArray<zod0.ZodObject<{
6920
- name: zod0.ZodString;
6921
- value: zod0.ZodString;
6922
- display: zod0.ZodNullable<zod0.ZodString>;
6923
- }, zod_v4_core0.$strip>>;
6924
- prices: zod0.ZodObject<{
6925
- price: zod0.ZodNumber;
6926
- regularPrice: zod0.ZodNumber;
6927
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
6928
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
6929
- minAmount: zod0.ZodNumber;
6930
- maxAmount: zod0.ZodNumber;
6931
- }, zod_v4_core0.$strip>>;
6932
- }, zod_v4_core0.$strip>;
6933
- totals: zod0.ZodObject<{
6934
- subtotal: zod0.ZodNumber;
6935
- subtotalTax: zod0.ZodNumber;
6936
- total: zod0.ZodNumber;
6937
- totalTax: zod0.ZodNumber;
6938
- }, zod_v4_core0.$strip>;
6939
- custom: zod0.ZodType<Record<string, unknown>, Record<string, unknown>, zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6940
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
6941
- }, zod_v4_core0.$strip>>;
6942
- itemCount: zod0.ZodNumber;
6943
- itemsWeight: zod0.ZodNumber;
6944
- billingAddress: zod0.ZodObject<{
6945
- additionalFields: zod0.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, zod_v4_core0.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
6946
- taxId: zod0.ZodDefault<zod0.ZodString>;
6947
- email: zod0.ZodString;
6948
- firstName: zod0.ZodString;
6949
- lastName: zod0.ZodString;
6950
- company: zod0.ZodString;
6951
- address1: zod0.ZodString;
6952
- address2: zod0.ZodString;
6953
- city: zod0.ZodString;
6954
- state: zod0.ZodString;
6955
- postcode: zod0.ZodString;
6956
- country: zod0.ZodString;
6957
- phone: zod0.ZodString;
6958
- }, zod_v4_core0.$strip>;
6959
- shippingAddress: zod0.ZodObject<{
6960
- firstName: zod0.ZodString;
6961
- lastName: zod0.ZodString;
6962
- company: zod0.ZodString;
6963
- address1: zod0.ZodString;
6964
- address2: zod0.ZodString;
6965
- city: zod0.ZodString;
6966
- state: zod0.ZodString;
6967
- postcode: zod0.ZodString;
6968
- country: zod0.ZodString;
6969
- phone: zod0.ZodString;
6970
- additionalFields: zod0.ZodType<{
6971
- [x: string]: string | boolean | undefined;
6972
- }, Partial<{
6973
- [x: string]: string | boolean | undefined;
6974
- }>, zod_v4_core0.$ZodTypeInternals<{
6975
- [x: string]: string | boolean | undefined;
6976
- }, Partial<{
6977
- [x: string]: string | boolean | undefined;
6978
- }>>>;
6979
- }, zod_v4_core0.$strip>;
6980
- shippingPackages: zod0.ZodArray<zod0.ZodObject<{
6981
- id: zod0.ZodUnion<readonly [zod0.ZodNumber, zod0.ZodString]>;
6982
- name: zod0.ZodString;
6983
- destination: zod0.ZodObject<{
6984
- address1: zod0.ZodString;
6985
- address2: zod0.ZodString;
6986
- city: zod0.ZodString;
6987
- state: zod0.ZodString;
6988
- postcode: zod0.ZodString;
6989
- country: zod0.ZodString;
6990
- }, zod_v4_core0.$strip>;
6991
- items: zod0.ZodArray<zod0.ZodObject<{
6992
- key: zod0.ZodString;
6993
- name: zod0.ZodString;
6994
- quantity: zod0.ZodNumber;
6995
- }, zod_v4_core0.$strip>>;
6996
- rates: zod0.ZodArray<zod0.ZodObject<{
6997
- id: zod0.ZodString;
6998
- name: zod0.ZodString;
6999
- description: zod0.ZodString;
7000
- deliveryTime: zod0.ZodString;
7001
- price: zod0.ZodNumber;
7002
- taxes: zod0.ZodNumber;
7003
- methodId: zod0.ZodString;
7004
- instanceId: zod0.ZodNumber;
7005
- metadata: zod0.ZodArray<zod0.ZodObject<{
7006
- key: zod0.ZodString;
7007
- value: zod0.ZodString;
7008
- }, zod_v4_core0.$strip>>;
7009
- selected: zod0.ZodBoolean;
7010
- }, zod_v4_core0.$strip>>;
7011
- }, zod_v4_core0.$strip>>;
7012
- coupons: zod0.ZodArray<zod0.ZodObject<{
7013
- code: zod0.ZodString;
7014
- discountType: zod0.ZodString;
7015
- totals: zod0.ZodObject<{
7016
- discount: zod0.ZodNumber;
7017
- discountTax: zod0.ZodNumber;
7018
- }, zod_v4_core0.$strip>;
7019
- }, zod_v4_core0.$strip>>;
7020
- fees: zod0.ZodArray<zod0.ZodObject<{
7021
- id: zod0.ZodString;
7022
- name: zod0.ZodString;
7023
- totals: zod0.ZodObject<{
7024
- total: zod0.ZodNumber;
7025
- tax: zod0.ZodNumber;
7026
- }, zod_v4_core0.$strip>;
7027
- }, zod_v4_core0.$strip>>;
7028
- crossSells: zod0.ZodArray<zod0.ZodObject<{
7029
- id: zod0.ZodNumber;
7030
- name: zod0.ZodString;
7031
- slug: zod0.ZodString;
7032
- parentId: zod0.ZodNullable<zod0.ZodNumber>;
7033
- type: zod0.ZodString;
7034
- variationDescription: zod0.ZodString;
7035
- url: zod0.ZodNullable<zod0.ZodString>;
7036
- sku: zod0.ZodNullable<zod0.ZodString>;
7037
- shortDescription: zod0.ZodString;
7038
- description: zod0.ZodString;
7039
- isPasswordProtected: zod0.ZodBoolean;
7040
- isOnSale: zod0.ZodBoolean;
7041
- prices: zod0.ZodObject<{
7042
- price: zod0.ZodNumber;
7043
- regularPrice: zod0.ZodNumber;
7044
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
7045
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
7046
- minAmount: zod0.ZodNumber;
7047
- maxAmount: zod0.ZodNumber;
7048
- }, zod_v4_core0.$strip>>;
7049
- }, zod_v4_core0.$strip>;
7050
- currencyFormat: zod0.ZodObject<{
7051
- currencyCode: zod0.ZodString;
7052
- currencySymbol: zod0.ZodString;
7053
- currencyPrefix: zod0.ZodString;
7054
- currencySuffix: zod0.ZodString;
7055
- currencyMinorUnit: zod0.ZodNumber;
7056
- currencyDecimalSeparator: zod0.ZodString;
7057
- currencyThousandSeparator: zod0.ZodString;
7058
- }, zod_v4_core0.$strip>;
7059
- priceHtml: zod0.ZodString;
7060
- averageRating: zod0.ZodNumber;
7061
- reviewCount: zod0.ZodNumber;
7062
- images: zod0.ZodArray<zod0.ZodObject<{
7063
- id: zod0.ZodNumber;
7064
- name: zod0.ZodString;
7065
- src: zod0.ZodString;
7066
- mime: zod0.ZodOptional<zod0.ZodString>;
7067
- type: zod0.ZodLiteral<"image">;
7068
- alt: zod0.ZodString;
7069
- width: zod0.ZodOptional<zod0.ZodNumber>;
7070
- height: zod0.ZodOptional<zod0.ZodNumber>;
7071
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
7072
- src: zod0.ZodString;
7073
- width: zod0.ZodNumber;
7074
- height: zod0.ZodNumber;
7075
- }, zod_v4_core0.$strict>>>;
7076
- srcset: zod0.ZodOptional<zod0.ZodString>;
7077
- }, zod_v4_core0.$strict>>;
7078
- categories: zod0.ZodArray<zod0.ZodObject<{
7079
- id: zod0.ZodNumber;
7080
- name: zod0.ZodString;
7081
- slug: zod0.ZodString;
7082
- url: zod0.ZodNullable<zod0.ZodString>;
7083
- }, zod_v4_core0.$strip>>;
7084
- tags: zod0.ZodArray<zod0.ZodObject<{
7085
- id: zod0.ZodNumber;
7086
- name: zod0.ZodString;
7087
- slug: zod0.ZodString;
7088
- url: zod0.ZodNullable<zod0.ZodString>;
7089
- }, zod_v4_core0.$strip>>;
7090
- brands: zod0.ZodArray<zod0.ZodObject<{
7091
- id: zod0.ZodNumber;
7092
- name: zod0.ZodString;
7093
- slug: zod0.ZodString;
7094
- url: zod0.ZodNullable<zod0.ZodString>;
7095
- }, zod_v4_core0.$strip>>;
7096
- attributes: zod0.ZodArray<zod0.ZodObject<{
7097
- id: zod0.ZodNumber;
7098
- name: zod0.ZodString;
7099
- taxonomy: zod0.ZodNullable<zod0.ZodString>;
7100
- hasVariations: zod0.ZodBoolean;
7101
- terms: zod0.ZodArray<zod0.ZodObject<{
7102
- id: zod0.ZodNumber;
7103
- name: zod0.ZodString;
7104
- slug: zod0.ZodString;
7105
- isDefault: zod0.ZodBoolean;
7106
- }, zod_v4_core0.$strip>>;
7107
- }, zod_v4_core0.$strip>>;
7108
- variations: zod0.ZodArray<zod0.ZodObject<{
7109
- id: zod0.ZodNumber;
7110
- attributes: zod0.ZodArray<zod0.ZodObject<{
7111
- name: zod0.ZodString;
7112
- value: zod0.ZodNullable<zod0.ZodString>;
7113
- }, zod_v4_core0.$strip>>;
7114
- }, zod_v4_core0.$strip>>;
7115
- groupedProductIds: zod0.ZodArray<zod0.ZodNumber>;
7116
- hasOptions: zod0.ZodBoolean;
7117
- isPurchasable: zod0.ZodBoolean;
7118
- isInStock: zod0.ZodBoolean;
7119
- isOnBackorder: zod0.ZodBoolean;
7120
- stockAvailability: zod0.ZodObject<{
7121
- text: zod0.ZodString;
7122
- class: zod0.ZodString;
7123
- }, zod_v4_core0.$strip>;
7124
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
7125
- isSoldIndividually: zod0.ZodBoolean;
7126
- addToCart: zod0.ZodObject<{
7127
- text: zod0.ZodString;
7128
- description: zod0.ZodString;
7129
- singleText: zod0.ZodString;
7130
- minimum: zod0.ZodNumber;
7131
- maximum: zod0.ZodNumber;
7132
- multipleOf: zod0.ZodNumber;
7133
- }, zod_v4_core0.$strip>;
7134
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7135
- }, zod_v4_core0.$strip>>;
7136
- needsPayment: zod0.ZodBoolean;
7137
- needsShipping: zod0.ZodBoolean;
7138
- hasCalculatedShipping: zod0.ZodBoolean;
7139
- paymentMethods: zod0.ZodArray<zod0.ZodObject<{
7140
- id: zod0.ZodString;
7141
- title: zod0.ZodString;
7142
- description: zod0.ZodString;
7143
- order: zod0.ZodNumber;
7144
- enabled: zod0.ZodBoolean;
7145
- }, zod_v4_core0.$strip>>;
7146
- paymentRequirements: zod0.ZodArray<zod0.ZodString>;
7147
- errors: zod0.ZodArray<zod0.ZodObject<{
7148
- code: zod0.ZodString;
7149
- message: zod0.ZodString;
7150
- }, zod_v4_core0.$strip>>;
7151
- totals: zod0.ZodObject<{
7152
- itemsTotal: zod0.ZodNumber;
7153
- itemsTaxTotal: zod0.ZodNumber;
7154
- feesTotal: zod0.ZodNumber;
7155
- feesTaxTotal: zod0.ZodNumber;
7156
- discountTotal: zod0.ZodNumber;
7157
- discountTaxTotal: zod0.ZodNumber;
7158
- shippingTotal: zod0.ZodNullable<zod0.ZodNumber>;
7159
- shippingTaxTotal: zod0.ZodNullable<zod0.ZodNumber>;
7160
- total: zod0.ZodNumber;
7161
- taxTotal: zod0.ZodNumber;
7162
- taxLines: zod0.ZodArray<zod0.ZodObject<{
7163
- name: zod0.ZodString;
7164
- price: zod0.ZodNumber;
7165
- rate: zod0.ZodString;
7166
- }, zod_v4_core0.$strip>>;
7167
- }, zod_v4_core0.$strip>;
7168
- currencyFormat: zod0.ZodObject<{
7169
- currencyCode: zod0.ZodString;
7170
- currencySymbol: zod0.ZodString;
7171
- currencyPrefix: zod0.ZodString;
7172
- currencySuffix: zod0.ZodString;
7173
- currencyMinorUnit: zod0.ZodNumber;
7174
- currencyDecimalSeparator: zod0.ZodString;
7175
- currencyThousandSeparator: zod0.ZodString;
7176
- }, zod_v4_core0.$strip>;
7177
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7178
- }, zod_v4_core0.$strip>>;
7179
- }, zod_v4_core0.$strip>;
7180
- };
7181
- readonly CHECKOUT_CART_INVALID: {
7182
- readonly status: 409;
7183
- readonly message: "An item in the cart is no longer valid.";
7184
- readonly data: zod0.ZodObject<{
7185
- cart: zod0.ZodNullable<zod0.ZodObject<{
7186
- items: zod0.ZodArray<zod0.ZodObject<{
7187
- key: zod0.ZodString;
7188
- productId: zod0.ZodNumber;
7189
- variationId: zod0.ZodNullable<zod0.ZodNumber>;
7190
- type: zod0.ZodString;
7191
- name: zod0.ZodString;
7192
- sku: zod0.ZodNullable<zod0.ZodString>;
7193
- slug: zod0.ZodString;
7194
- url: zod0.ZodNullable<zod0.ZodString>;
7195
- shortDescription: zod0.ZodString;
7196
- description: zod0.ZodString;
7197
- quantity: zod0.ZodNumber;
7198
- quantityLimits: zod0.ZodObject<{
7199
- minimum: zod0.ZodNumber;
7200
- maximum: zod0.ZodNumber;
7201
- multipleOf: zod0.ZodNumber;
7202
- editable: zod0.ZodBoolean;
7203
- }, zod_v4_core0.$strip>;
7204
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
7205
- allowsBackorders: zod0.ZodBoolean;
7206
- showsBackorderBadge: zod0.ZodBoolean;
7207
- isSoldIndividually: zod0.ZodBoolean;
7208
- catalogVisibility: zod0.ZodString;
7209
- images: zod0.ZodArray<zod0.ZodObject<{
7210
- id: zod0.ZodNumber;
7211
- name: zod0.ZodString;
7212
- src: zod0.ZodString;
7213
- mime: zod0.ZodOptional<zod0.ZodString>;
7214
- type: zod0.ZodLiteral<"image">;
7215
- alt: zod0.ZodString;
7216
- width: zod0.ZodOptional<zod0.ZodNumber>;
7217
- height: zod0.ZodOptional<zod0.ZodNumber>;
7218
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
7219
- src: zod0.ZodString;
7220
- width: zod0.ZodNumber;
7221
- height: zod0.ZodNumber;
7222
- }, zod_v4_core0.$strict>>>;
7223
- srcset: zod0.ZodOptional<zod0.ZodString>;
7224
- }, zod_v4_core0.$strict>>;
7225
- selectedAttributes: zod0.ZodArray<zod0.ZodObject<{
7226
- name: zod0.ZodString;
7227
- attribute: zod0.ZodString;
7228
- value: zod0.ZodString;
7229
- }, zod_v4_core0.$strip>>;
7230
- itemData: zod0.ZodArray<zod0.ZodObject<{
7231
- name: zod0.ZodString;
7232
- value: zod0.ZodString;
7233
- display: zod0.ZodNullable<zod0.ZodString>;
7234
- }, zod_v4_core0.$strip>>;
7235
- prices: zod0.ZodObject<{
7236
- price: zod0.ZodNumber;
7237
- regularPrice: zod0.ZodNumber;
7238
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
7239
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
7240
- minAmount: zod0.ZodNumber;
7241
- maxAmount: zod0.ZodNumber;
7242
- }, zod_v4_core0.$strip>>;
7243
- }, zod_v4_core0.$strip>;
7244
- totals: zod0.ZodObject<{
7245
- subtotal: zod0.ZodNumber;
7246
- subtotalTax: zod0.ZodNumber;
7247
- total: zod0.ZodNumber;
7248
- totalTax: zod0.ZodNumber;
7249
- }, zod_v4_core0.$strip>;
7250
- custom: zod0.ZodType<Record<string, unknown>, Record<string, unknown>, zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7251
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7252
- }, zod_v4_core0.$strip>>;
7253
- itemCount: zod0.ZodNumber;
7254
- itemsWeight: zod0.ZodNumber;
7255
- billingAddress: zod0.ZodObject<{
7256
- additionalFields: zod0.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, zod_v4_core0.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
7257
- taxId: zod0.ZodDefault<zod0.ZodString>;
7258
- email: zod0.ZodString;
7259
- firstName: zod0.ZodString;
7260
- lastName: zod0.ZodString;
7261
- company: zod0.ZodString;
7262
- address1: zod0.ZodString;
7263
- address2: zod0.ZodString;
7264
- city: zod0.ZodString;
7265
- state: zod0.ZodString;
7266
- postcode: zod0.ZodString;
7267
- country: zod0.ZodString;
7268
- phone: zod0.ZodString;
7269
- }, zod_v4_core0.$strip>;
7270
- shippingAddress: zod0.ZodObject<{
7271
- firstName: zod0.ZodString;
7272
- lastName: zod0.ZodString;
7273
- company: zod0.ZodString;
7274
- address1: zod0.ZodString;
7275
- address2: zod0.ZodString;
7276
- city: zod0.ZodString;
7277
- state: zod0.ZodString;
7278
- postcode: zod0.ZodString;
7279
- country: zod0.ZodString;
7280
- phone: zod0.ZodString;
7281
- additionalFields: zod0.ZodType<{
7282
- [x: string]: string | boolean | undefined;
7283
- }, Partial<{
7284
- [x: string]: string | boolean | undefined;
7285
- }>, zod_v4_core0.$ZodTypeInternals<{
7286
- [x: string]: string | boolean | undefined;
7287
- }, Partial<{
7288
- [x: string]: string | boolean | undefined;
7289
- }>>>;
7290
- }, zod_v4_core0.$strip>;
7291
- shippingPackages: zod0.ZodArray<zod0.ZodObject<{
7292
- id: zod0.ZodUnion<readonly [zod0.ZodNumber, zod0.ZodString]>;
7293
- name: zod0.ZodString;
7294
- destination: zod0.ZodObject<{
7295
- address1: zod0.ZodString;
7296
- address2: zod0.ZodString;
7297
- city: zod0.ZodString;
7298
- state: zod0.ZodString;
7299
- postcode: zod0.ZodString;
7300
- country: zod0.ZodString;
7301
- }, zod_v4_core0.$strip>;
7302
- items: zod0.ZodArray<zod0.ZodObject<{
7303
- key: zod0.ZodString;
7304
- name: zod0.ZodString;
7305
- quantity: zod0.ZodNumber;
7306
- }, zod_v4_core0.$strip>>;
7307
- rates: zod0.ZodArray<zod0.ZodObject<{
7308
- id: zod0.ZodString;
7309
- name: zod0.ZodString;
7310
- description: zod0.ZodString;
7311
- deliveryTime: zod0.ZodString;
7312
- price: zod0.ZodNumber;
7313
- taxes: zod0.ZodNumber;
7314
- methodId: zod0.ZodString;
7315
- instanceId: zod0.ZodNumber;
7316
- metadata: zod0.ZodArray<zod0.ZodObject<{
7317
- key: zod0.ZodString;
7318
- value: zod0.ZodString;
7319
- }, zod_v4_core0.$strip>>;
7320
- selected: zod0.ZodBoolean;
7321
- }, zod_v4_core0.$strip>>;
7322
- }, zod_v4_core0.$strip>>;
7323
- coupons: zod0.ZodArray<zod0.ZodObject<{
7324
- code: zod0.ZodString;
7325
- discountType: zod0.ZodString;
7326
- totals: zod0.ZodObject<{
7327
- discount: zod0.ZodNumber;
7328
- discountTax: zod0.ZodNumber;
7329
- }, zod_v4_core0.$strip>;
7330
- }, zod_v4_core0.$strip>>;
7331
- fees: zod0.ZodArray<zod0.ZodObject<{
7332
- id: zod0.ZodString;
7333
- name: zod0.ZodString;
7334
- totals: zod0.ZodObject<{
7335
- total: zod0.ZodNumber;
7336
- tax: zod0.ZodNumber;
7337
- }, zod_v4_core0.$strip>;
7338
- }, zod_v4_core0.$strip>>;
7339
- crossSells: zod0.ZodArray<zod0.ZodObject<{
7340
- id: zod0.ZodNumber;
7341
- name: zod0.ZodString;
7342
- slug: zod0.ZodString;
7343
- parentId: zod0.ZodNullable<zod0.ZodNumber>;
7344
- type: zod0.ZodString;
7345
- variationDescription: zod0.ZodString;
7346
- url: zod0.ZodNullable<zod0.ZodString>;
7347
- sku: zod0.ZodNullable<zod0.ZodString>;
7348
- shortDescription: zod0.ZodString;
7349
- description: zod0.ZodString;
7350
- isPasswordProtected: zod0.ZodBoolean;
7351
- isOnSale: zod0.ZodBoolean;
7352
- prices: zod0.ZodObject<{
7353
- price: zod0.ZodNumber;
7354
- regularPrice: zod0.ZodNumber;
7355
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
7356
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
7357
- minAmount: zod0.ZodNumber;
7358
- maxAmount: zod0.ZodNumber;
7359
- }, zod_v4_core0.$strip>>;
7360
- }, zod_v4_core0.$strip>;
7361
- currencyFormat: zod0.ZodObject<{
7362
- currencyCode: zod0.ZodString;
7363
- currencySymbol: zod0.ZodString;
7364
- currencyPrefix: zod0.ZodString;
7365
- currencySuffix: zod0.ZodString;
7366
- currencyMinorUnit: zod0.ZodNumber;
7367
- currencyDecimalSeparator: zod0.ZodString;
7368
- currencyThousandSeparator: zod0.ZodString;
7369
- }, zod_v4_core0.$strip>;
7370
- priceHtml: zod0.ZodString;
7371
- averageRating: zod0.ZodNumber;
7372
- reviewCount: zod0.ZodNumber;
7373
- images: zod0.ZodArray<zod0.ZodObject<{
7374
- id: zod0.ZodNumber;
7375
- name: zod0.ZodString;
7376
- src: zod0.ZodString;
7377
- mime: zod0.ZodOptional<zod0.ZodString>;
7378
- type: zod0.ZodLiteral<"image">;
7379
- alt: zod0.ZodString;
7380
- width: zod0.ZodOptional<zod0.ZodNumber>;
7381
- height: zod0.ZodOptional<zod0.ZodNumber>;
7382
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
7383
- src: zod0.ZodString;
7384
- width: zod0.ZodNumber;
7385
- height: zod0.ZodNumber;
7386
- }, zod_v4_core0.$strict>>>;
7387
- srcset: zod0.ZodOptional<zod0.ZodString>;
7388
- }, zod_v4_core0.$strict>>;
7389
- categories: zod0.ZodArray<zod0.ZodObject<{
7390
- id: zod0.ZodNumber;
7391
- name: zod0.ZodString;
7392
- slug: zod0.ZodString;
7393
- url: zod0.ZodNullable<zod0.ZodString>;
7394
- }, zod_v4_core0.$strip>>;
7395
- tags: zod0.ZodArray<zod0.ZodObject<{
7396
- id: zod0.ZodNumber;
7397
- name: zod0.ZodString;
7398
- slug: zod0.ZodString;
7399
- url: zod0.ZodNullable<zod0.ZodString>;
7400
- }, zod_v4_core0.$strip>>;
7401
- brands: zod0.ZodArray<zod0.ZodObject<{
7402
- id: zod0.ZodNumber;
7403
- name: zod0.ZodString;
7404
- slug: zod0.ZodString;
7405
- url: zod0.ZodNullable<zod0.ZodString>;
7406
- }, zod_v4_core0.$strip>>;
7407
- attributes: zod0.ZodArray<zod0.ZodObject<{
7408
- id: zod0.ZodNumber;
7409
- name: zod0.ZodString;
7410
- taxonomy: zod0.ZodNullable<zod0.ZodString>;
7411
- hasVariations: zod0.ZodBoolean;
7412
- terms: zod0.ZodArray<zod0.ZodObject<{
7413
- id: zod0.ZodNumber;
7414
- name: zod0.ZodString;
7415
- slug: zod0.ZodString;
7416
- isDefault: zod0.ZodBoolean;
7417
- }, zod_v4_core0.$strip>>;
7418
- }, zod_v4_core0.$strip>>;
7419
- variations: zod0.ZodArray<zod0.ZodObject<{
7420
- id: zod0.ZodNumber;
7421
- attributes: zod0.ZodArray<zod0.ZodObject<{
7422
- name: zod0.ZodString;
7423
- value: zod0.ZodNullable<zod0.ZodString>;
7424
- }, zod_v4_core0.$strip>>;
7425
- }, zod_v4_core0.$strip>>;
7426
- groupedProductIds: zod0.ZodArray<zod0.ZodNumber>;
7427
- hasOptions: zod0.ZodBoolean;
7428
- isPurchasable: zod0.ZodBoolean;
7429
- isInStock: zod0.ZodBoolean;
7430
- isOnBackorder: zod0.ZodBoolean;
7431
- stockAvailability: zod0.ZodObject<{
7432
- text: zod0.ZodString;
7433
- class: zod0.ZodString;
7434
- }, zod_v4_core0.$strip>;
7435
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
7436
- isSoldIndividually: zod0.ZodBoolean;
7437
- addToCart: zod0.ZodObject<{
7438
- text: zod0.ZodString;
7439
- description: zod0.ZodString;
7440
- singleText: zod0.ZodString;
7441
- minimum: zod0.ZodNumber;
7442
- maximum: zod0.ZodNumber;
7443
- multipleOf: zod0.ZodNumber;
7444
- }, zod_v4_core0.$strip>;
7445
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7446
- }, zod_v4_core0.$strip>>;
7447
- needsPayment: zod0.ZodBoolean;
7448
- needsShipping: zod0.ZodBoolean;
7449
- hasCalculatedShipping: zod0.ZodBoolean;
7450
- paymentMethods: zod0.ZodArray<zod0.ZodObject<{
7451
- id: zod0.ZodString;
7452
- title: zod0.ZodString;
7453
- description: zod0.ZodString;
7454
- order: zod0.ZodNumber;
7455
- enabled: zod0.ZodBoolean;
7456
- }, zod_v4_core0.$strip>>;
7457
- paymentRequirements: zod0.ZodArray<zod0.ZodString>;
7458
- errors: zod0.ZodArray<zod0.ZodObject<{
7459
- code: zod0.ZodString;
7460
- message: zod0.ZodString;
7461
- }, zod_v4_core0.$strip>>;
7462
- totals: zod0.ZodObject<{
7463
- itemsTotal: zod0.ZodNumber;
7464
- itemsTaxTotal: zod0.ZodNumber;
7465
- feesTotal: zod0.ZodNumber;
7466
- feesTaxTotal: zod0.ZodNumber;
7467
- discountTotal: zod0.ZodNumber;
7468
- discountTaxTotal: zod0.ZodNumber;
7469
- shippingTotal: zod0.ZodNullable<zod0.ZodNumber>;
7470
- shippingTaxTotal: zod0.ZodNullable<zod0.ZodNumber>;
7471
- total: zod0.ZodNumber;
7472
- taxTotal: zod0.ZodNumber;
7473
- taxLines: zod0.ZodArray<zod0.ZodObject<{
7474
- name: zod0.ZodString;
7475
- price: zod0.ZodNumber;
7476
- rate: zod0.ZodString;
7477
- }, zod_v4_core0.$strip>>;
7478
- }, zod_v4_core0.$strip>;
7479
- currencyFormat: zod0.ZodObject<{
7480
- currencyCode: zod0.ZodString;
7481
- currencySymbol: zod0.ZodString;
7482
- currencyPrefix: zod0.ZodString;
7483
- currencySuffix: zod0.ZodString;
7484
- currencyMinorUnit: zod0.ZodNumber;
7485
- currencyDecimalSeparator: zod0.ZodString;
7486
- currencyThousandSeparator: zod0.ZodString;
7487
- }, zod_v4_core0.$strip>;
7488
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7489
- }, zod_v4_core0.$strip>>;
7490
- }, zod_v4_core0.$strip>;
7491
- };
7492
- readonly CHECKOUT_PRODUCT_INSUFFICIENT_STOCK: {
7493
- readonly status: 409;
7494
- readonly message: "Not enough stock for one or more items in the cart.";
7495
- readonly data: zod0.ZodObject<{
7496
- cart: zod0.ZodNullable<zod0.ZodObject<{
7497
- items: zod0.ZodArray<zod0.ZodObject<{
7498
- key: zod0.ZodString;
7499
- productId: zod0.ZodNumber;
7500
- variationId: zod0.ZodNullable<zod0.ZodNumber>;
7501
- type: zod0.ZodString;
7502
- name: zod0.ZodString;
7503
- sku: zod0.ZodNullable<zod0.ZodString>;
7504
- slug: zod0.ZodString;
7505
- url: zod0.ZodNullable<zod0.ZodString>;
7506
- shortDescription: zod0.ZodString;
7507
- description: zod0.ZodString;
7508
- quantity: zod0.ZodNumber;
7509
- quantityLimits: zod0.ZodObject<{
7510
- minimum: zod0.ZodNumber;
7511
- maximum: zod0.ZodNumber;
7512
- multipleOf: zod0.ZodNumber;
7513
- editable: zod0.ZodBoolean;
7514
- }, zod_v4_core0.$strip>;
7515
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
7516
- allowsBackorders: zod0.ZodBoolean;
7517
- showsBackorderBadge: zod0.ZodBoolean;
7518
- isSoldIndividually: zod0.ZodBoolean;
7519
- catalogVisibility: zod0.ZodString;
7520
- images: zod0.ZodArray<zod0.ZodObject<{
7521
- id: zod0.ZodNumber;
7522
- name: zod0.ZodString;
7523
- src: zod0.ZodString;
7524
- mime: zod0.ZodOptional<zod0.ZodString>;
7525
- type: zod0.ZodLiteral<"image">;
7526
- alt: zod0.ZodString;
7527
- width: zod0.ZodOptional<zod0.ZodNumber>;
7528
- height: zod0.ZodOptional<zod0.ZodNumber>;
7529
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
7530
- src: zod0.ZodString;
7531
- width: zod0.ZodNumber;
7532
- height: zod0.ZodNumber;
7533
- }, zod_v4_core0.$strict>>>;
7534
- srcset: zod0.ZodOptional<zod0.ZodString>;
7535
- }, zod_v4_core0.$strict>>;
7536
- selectedAttributes: zod0.ZodArray<zod0.ZodObject<{
7537
- name: zod0.ZodString;
7538
- attribute: zod0.ZodString;
7539
- value: zod0.ZodString;
7540
- }, zod_v4_core0.$strip>>;
7541
- itemData: zod0.ZodArray<zod0.ZodObject<{
7542
- name: zod0.ZodString;
7543
- value: zod0.ZodString;
7544
- display: zod0.ZodNullable<zod0.ZodString>;
7545
- }, zod_v4_core0.$strip>>;
7546
- prices: zod0.ZodObject<{
7547
- price: zod0.ZodNumber;
7548
- regularPrice: zod0.ZodNumber;
7549
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
7550
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
7551
- minAmount: zod0.ZodNumber;
7552
- maxAmount: zod0.ZodNumber;
7553
- }, zod_v4_core0.$strip>>;
7554
- }, zod_v4_core0.$strip>;
7555
- totals: zod0.ZodObject<{
7556
- subtotal: zod0.ZodNumber;
7557
- subtotalTax: zod0.ZodNumber;
7558
- total: zod0.ZodNumber;
7559
- totalTax: zod0.ZodNumber;
7560
- }, zod_v4_core0.$strip>;
7561
- custom: zod0.ZodType<Record<string, unknown>, Record<string, unknown>, zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7562
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7563
- }, zod_v4_core0.$strip>>;
7564
- itemCount: zod0.ZodNumber;
7565
- itemsWeight: zod0.ZodNumber;
7566
- billingAddress: zod0.ZodObject<{
7567
- additionalFields: zod0.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, zod_v4_core0.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
7568
- taxId: zod0.ZodDefault<zod0.ZodString>;
7569
- email: zod0.ZodString;
7570
- firstName: zod0.ZodString;
7571
- lastName: zod0.ZodString;
7572
- company: zod0.ZodString;
7573
- address1: zod0.ZodString;
7574
- address2: zod0.ZodString;
7575
- city: zod0.ZodString;
7576
- state: zod0.ZodString;
7577
- postcode: zod0.ZodString;
7578
- country: zod0.ZodString;
7579
- phone: zod0.ZodString;
7580
- }, zod_v4_core0.$strip>;
7581
- shippingAddress: zod0.ZodObject<{
7582
- firstName: zod0.ZodString;
7583
- lastName: zod0.ZodString;
7584
- company: zod0.ZodString;
7585
- address1: zod0.ZodString;
7586
- address2: zod0.ZodString;
7587
- city: zod0.ZodString;
7588
- state: zod0.ZodString;
7589
- postcode: zod0.ZodString;
7590
- country: zod0.ZodString;
7591
- phone: zod0.ZodString;
7592
- additionalFields: zod0.ZodType<{
7593
- [x: string]: string | boolean | undefined;
7594
- }, Partial<{
7595
- [x: string]: string | boolean | undefined;
7596
- }>, zod_v4_core0.$ZodTypeInternals<{
7597
- [x: string]: string | boolean | undefined;
7598
- }, Partial<{
7599
- [x: string]: string | boolean | undefined;
7600
- }>>>;
7601
- }, zod_v4_core0.$strip>;
7602
- shippingPackages: zod0.ZodArray<zod0.ZodObject<{
7603
- id: zod0.ZodUnion<readonly [zod0.ZodNumber, zod0.ZodString]>;
7604
- name: zod0.ZodString;
7605
- destination: zod0.ZodObject<{
7606
- address1: zod0.ZodString;
7607
- address2: zod0.ZodString;
7608
- city: zod0.ZodString;
7609
- state: zod0.ZodString;
7610
- postcode: zod0.ZodString;
7611
- country: zod0.ZodString;
7612
- }, zod_v4_core0.$strip>;
7613
- items: zod0.ZodArray<zod0.ZodObject<{
7614
- key: zod0.ZodString;
7615
- name: zod0.ZodString;
7616
- quantity: zod0.ZodNumber;
7617
- }, zod_v4_core0.$strip>>;
7618
- rates: zod0.ZodArray<zod0.ZodObject<{
7619
- id: zod0.ZodString;
7620
- name: zod0.ZodString;
7621
- description: zod0.ZodString;
7622
- deliveryTime: zod0.ZodString;
7623
- price: zod0.ZodNumber;
7624
- taxes: zod0.ZodNumber;
7625
- methodId: zod0.ZodString;
7626
- instanceId: zod0.ZodNumber;
7627
- metadata: zod0.ZodArray<zod0.ZodObject<{
7628
- key: zod0.ZodString;
7629
- value: zod0.ZodString;
7630
- }, zod_v4_core0.$strip>>;
7631
- selected: zod0.ZodBoolean;
7632
- }, zod_v4_core0.$strip>>;
7633
- }, zod_v4_core0.$strip>>;
7634
- coupons: zod0.ZodArray<zod0.ZodObject<{
7635
- code: zod0.ZodString;
7636
- discountType: zod0.ZodString;
7637
- totals: zod0.ZodObject<{
7638
- discount: zod0.ZodNumber;
7639
- discountTax: zod0.ZodNumber;
7640
- }, zod_v4_core0.$strip>;
7641
- }, zod_v4_core0.$strip>>;
7642
- fees: zod0.ZodArray<zod0.ZodObject<{
7643
- id: zod0.ZodString;
7644
- name: zod0.ZodString;
7645
- totals: zod0.ZodObject<{
7646
- total: zod0.ZodNumber;
7647
- tax: zod0.ZodNumber;
7648
- }, zod_v4_core0.$strip>;
7649
- }, zod_v4_core0.$strip>>;
7650
- crossSells: zod0.ZodArray<zod0.ZodObject<{
7651
- id: zod0.ZodNumber;
7652
- name: zod0.ZodString;
7653
- slug: zod0.ZodString;
7654
- parentId: zod0.ZodNullable<zod0.ZodNumber>;
7655
- type: zod0.ZodString;
7656
- variationDescription: zod0.ZodString;
7657
- url: zod0.ZodNullable<zod0.ZodString>;
7658
- sku: zod0.ZodNullable<zod0.ZodString>;
7659
- shortDescription: zod0.ZodString;
7660
- description: zod0.ZodString;
7661
- isPasswordProtected: zod0.ZodBoolean;
7662
- isOnSale: zod0.ZodBoolean;
7663
- prices: zod0.ZodObject<{
7664
- price: zod0.ZodNumber;
7665
- regularPrice: zod0.ZodNumber;
7666
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
7667
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
7668
- minAmount: zod0.ZodNumber;
7669
- maxAmount: zod0.ZodNumber;
7670
- }, zod_v4_core0.$strip>>;
7671
- }, zod_v4_core0.$strip>;
7672
- currencyFormat: zod0.ZodObject<{
7673
- currencyCode: zod0.ZodString;
7674
- currencySymbol: zod0.ZodString;
7675
- currencyPrefix: zod0.ZodString;
7676
- currencySuffix: zod0.ZodString;
7677
- currencyMinorUnit: zod0.ZodNumber;
7678
- currencyDecimalSeparator: zod0.ZodString;
7679
- currencyThousandSeparator: zod0.ZodString;
7680
- }, zod_v4_core0.$strip>;
7681
- priceHtml: zod0.ZodString;
7682
- averageRating: zod0.ZodNumber;
7683
- reviewCount: zod0.ZodNumber;
7684
- images: zod0.ZodArray<zod0.ZodObject<{
7685
- id: zod0.ZodNumber;
7686
- name: zod0.ZodString;
7687
- src: zod0.ZodString;
7688
- mime: zod0.ZodOptional<zod0.ZodString>;
7689
- type: zod0.ZodLiteral<"image">;
7690
- alt: zod0.ZodString;
7691
- width: zod0.ZodOptional<zod0.ZodNumber>;
7692
- height: zod0.ZodOptional<zod0.ZodNumber>;
7693
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
7694
- src: zod0.ZodString;
7695
- width: zod0.ZodNumber;
7696
- height: zod0.ZodNumber;
7697
- }, zod_v4_core0.$strict>>>;
7698
- srcset: zod0.ZodOptional<zod0.ZodString>;
7699
- }, zod_v4_core0.$strict>>;
7700
- categories: zod0.ZodArray<zod0.ZodObject<{
7701
- id: zod0.ZodNumber;
7702
- name: zod0.ZodString;
7703
- slug: zod0.ZodString;
7704
- url: zod0.ZodNullable<zod0.ZodString>;
7705
- }, zod_v4_core0.$strip>>;
7706
- tags: zod0.ZodArray<zod0.ZodObject<{
7707
- id: zod0.ZodNumber;
7708
- name: zod0.ZodString;
7709
- slug: zod0.ZodString;
7710
- url: zod0.ZodNullable<zod0.ZodString>;
7711
- }, zod_v4_core0.$strip>>;
7712
- brands: zod0.ZodArray<zod0.ZodObject<{
7713
- id: zod0.ZodNumber;
7714
- name: zod0.ZodString;
7715
- slug: zod0.ZodString;
7716
- url: zod0.ZodNullable<zod0.ZodString>;
7717
- }, zod_v4_core0.$strip>>;
7718
- attributes: zod0.ZodArray<zod0.ZodObject<{
7719
- id: zod0.ZodNumber;
7720
- name: zod0.ZodString;
7721
- taxonomy: zod0.ZodNullable<zod0.ZodString>;
7722
- hasVariations: zod0.ZodBoolean;
7723
- terms: zod0.ZodArray<zod0.ZodObject<{
7724
- id: zod0.ZodNumber;
7725
- name: zod0.ZodString;
7726
- slug: zod0.ZodString;
7727
- isDefault: zod0.ZodBoolean;
7728
- }, zod_v4_core0.$strip>>;
7729
- }, zod_v4_core0.$strip>>;
7730
- variations: zod0.ZodArray<zod0.ZodObject<{
7731
- id: zod0.ZodNumber;
7732
- attributes: zod0.ZodArray<zod0.ZodObject<{
7733
- name: zod0.ZodString;
7734
- value: zod0.ZodNullable<zod0.ZodString>;
7735
- }, zod_v4_core0.$strip>>;
7736
- }, zod_v4_core0.$strip>>;
7737
- groupedProductIds: zod0.ZodArray<zod0.ZodNumber>;
7738
- hasOptions: zod0.ZodBoolean;
7739
- isPurchasable: zod0.ZodBoolean;
7740
- isInStock: zod0.ZodBoolean;
7741
- isOnBackorder: zod0.ZodBoolean;
7742
- stockAvailability: zod0.ZodObject<{
7743
- text: zod0.ZodString;
7744
- class: zod0.ZodString;
7745
- }, zod_v4_core0.$strip>;
7746
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
7747
- isSoldIndividually: zod0.ZodBoolean;
7748
- addToCart: zod0.ZodObject<{
7749
- text: zod0.ZodString;
7750
- description: zod0.ZodString;
7751
- singleText: zod0.ZodString;
7752
- minimum: zod0.ZodNumber;
7753
- maximum: zod0.ZodNumber;
7754
- multipleOf: zod0.ZodNumber;
7755
- }, zod_v4_core0.$strip>;
7756
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7757
- }, zod_v4_core0.$strip>>;
7758
- needsPayment: zod0.ZodBoolean;
7759
- needsShipping: zod0.ZodBoolean;
7760
- hasCalculatedShipping: zod0.ZodBoolean;
7761
- paymentMethods: zod0.ZodArray<zod0.ZodObject<{
7762
- id: zod0.ZodString;
7763
- title: zod0.ZodString;
7764
- description: zod0.ZodString;
7765
- order: zod0.ZodNumber;
7766
- enabled: zod0.ZodBoolean;
7767
- }, zod_v4_core0.$strip>>;
7768
- paymentRequirements: zod0.ZodArray<zod0.ZodString>;
7769
- errors: zod0.ZodArray<zod0.ZodObject<{
7770
- code: zod0.ZodString;
7771
- message: zod0.ZodString;
7772
- }, zod_v4_core0.$strip>>;
7773
- totals: zod0.ZodObject<{
7774
- itemsTotal: zod0.ZodNumber;
7775
- itemsTaxTotal: zod0.ZodNumber;
7776
- feesTotal: zod0.ZodNumber;
7777
- feesTaxTotal: zod0.ZodNumber;
7778
- discountTotal: zod0.ZodNumber;
7779
- discountTaxTotal: zod0.ZodNumber;
7780
- shippingTotal: zod0.ZodNullable<zod0.ZodNumber>;
7781
- shippingTaxTotal: zod0.ZodNullable<zod0.ZodNumber>;
7782
- total: zod0.ZodNumber;
7783
- taxTotal: zod0.ZodNumber;
7784
- taxLines: zod0.ZodArray<zod0.ZodObject<{
7785
- name: zod0.ZodString;
7786
- price: zod0.ZodNumber;
7787
- rate: zod0.ZodString;
7788
- }, zod_v4_core0.$strip>>;
7789
- }, zod_v4_core0.$strip>;
7790
- currencyFormat: zod0.ZodObject<{
7791
- currencyCode: zod0.ZodString;
7792
- currencySymbol: zod0.ZodString;
7793
- currencyPrefix: zod0.ZodString;
7794
- currencySuffix: zod0.ZodString;
7795
- currencyMinorUnit: zod0.ZodNumber;
7796
- currencyDecimalSeparator: zod0.ZodString;
7797
- currencyThousandSeparator: zod0.ZodString;
7798
- }, zod_v4_core0.$strip>;
7799
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7800
- }, zod_v4_core0.$strip>>;
7801
- }, zod_v4_core0.$strip>;
7802
- };
7803
- readonly CHECKOUT_PRODUCT_NOT_PURCHASABLE: {
7804
- readonly status: 409;
7805
- readonly message: "An item in the cart is no longer purchasable.";
7806
- readonly data: zod0.ZodObject<{
7807
- cart: zod0.ZodNullable<zod0.ZodObject<{
7808
- items: zod0.ZodArray<zod0.ZodObject<{
7809
- key: zod0.ZodString;
7810
- productId: zod0.ZodNumber;
7811
- variationId: zod0.ZodNullable<zod0.ZodNumber>;
7812
- type: zod0.ZodString;
7813
- name: zod0.ZodString;
7814
- sku: zod0.ZodNullable<zod0.ZodString>;
7815
- slug: zod0.ZodString;
7816
- url: zod0.ZodNullable<zod0.ZodString>;
7817
- shortDescription: zod0.ZodString;
7818
- description: zod0.ZodString;
7819
- quantity: zod0.ZodNumber;
7820
- quantityLimits: zod0.ZodObject<{
7821
- minimum: zod0.ZodNumber;
7822
- maximum: zod0.ZodNumber;
7823
- multipleOf: zod0.ZodNumber;
7824
- editable: zod0.ZodBoolean;
7825
- }, zod_v4_core0.$strip>;
7826
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
7827
- allowsBackorders: zod0.ZodBoolean;
7828
- showsBackorderBadge: zod0.ZodBoolean;
7829
- isSoldIndividually: zod0.ZodBoolean;
7830
- catalogVisibility: zod0.ZodString;
7831
- images: zod0.ZodArray<zod0.ZodObject<{
7832
- id: zod0.ZodNumber;
7833
- name: zod0.ZodString;
7834
- src: zod0.ZodString;
7835
- mime: zod0.ZodOptional<zod0.ZodString>;
7836
- type: zod0.ZodLiteral<"image">;
7837
- alt: zod0.ZodString;
7838
- width: zod0.ZodOptional<zod0.ZodNumber>;
7839
- height: zod0.ZodOptional<zod0.ZodNumber>;
7840
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
7841
- src: zod0.ZodString;
7842
- width: zod0.ZodNumber;
7843
- height: zod0.ZodNumber;
7844
- }, zod_v4_core0.$strict>>>;
7845
- srcset: zod0.ZodOptional<zod0.ZodString>;
7846
- }, zod_v4_core0.$strict>>;
7847
- selectedAttributes: zod0.ZodArray<zod0.ZodObject<{
7848
- name: zod0.ZodString;
7849
- attribute: zod0.ZodString;
7850
- value: zod0.ZodString;
7851
- }, zod_v4_core0.$strip>>;
7852
- itemData: zod0.ZodArray<zod0.ZodObject<{
7853
- name: zod0.ZodString;
7854
- value: zod0.ZodString;
7855
- display: zod0.ZodNullable<zod0.ZodString>;
7856
- }, zod_v4_core0.$strip>>;
7857
- prices: zod0.ZodObject<{
7858
- price: zod0.ZodNumber;
7859
- regularPrice: zod0.ZodNumber;
7860
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
7861
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
7862
- minAmount: zod0.ZodNumber;
7863
- maxAmount: zod0.ZodNumber;
7864
- }, zod_v4_core0.$strip>>;
7865
- }, zod_v4_core0.$strip>;
7866
- totals: zod0.ZodObject<{
7867
- subtotal: zod0.ZodNumber;
7868
- subtotalTax: zod0.ZodNumber;
7869
- total: zod0.ZodNumber;
7870
- totalTax: zod0.ZodNumber;
7871
- }, zod_v4_core0.$strip>;
7872
- custom: zod0.ZodType<Record<string, unknown>, Record<string, unknown>, zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7873
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
7874
- }, zod_v4_core0.$strip>>;
7875
- itemCount: zod0.ZodNumber;
7876
- itemsWeight: zod0.ZodNumber;
7877
- billingAddress: zod0.ZodObject<{
7878
- additionalFields: zod0.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, zod_v4_core0.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
7879
- taxId: zod0.ZodDefault<zod0.ZodString>;
7880
- email: zod0.ZodString;
7881
- firstName: zod0.ZodString;
7882
- lastName: zod0.ZodString;
7883
- company: zod0.ZodString;
7884
- address1: zod0.ZodString;
7885
- address2: zod0.ZodString;
7886
- city: zod0.ZodString;
7887
- state: zod0.ZodString;
7888
- postcode: zod0.ZodString;
7889
- country: zod0.ZodString;
7890
- phone: zod0.ZodString;
7891
- }, zod_v4_core0.$strip>;
7892
- shippingAddress: zod0.ZodObject<{
7893
- firstName: zod0.ZodString;
7894
- lastName: zod0.ZodString;
7895
- company: zod0.ZodString;
7896
- address1: zod0.ZodString;
7897
- address2: zod0.ZodString;
7898
- city: zod0.ZodString;
7899
- state: zod0.ZodString;
7900
- postcode: zod0.ZodString;
7901
- country: zod0.ZodString;
7902
- phone: zod0.ZodString;
7903
- additionalFields: zod0.ZodType<{
7904
- [x: string]: string | boolean | undefined;
7905
- }, Partial<{
7906
- [x: string]: string | boolean | undefined;
7907
- }>, zod_v4_core0.$ZodTypeInternals<{
7908
- [x: string]: string | boolean | undefined;
7909
- }, Partial<{
7910
- [x: string]: string | boolean | undefined;
7911
- }>>>;
7912
- }, zod_v4_core0.$strip>;
7913
- shippingPackages: zod0.ZodArray<zod0.ZodObject<{
7914
- id: zod0.ZodUnion<readonly [zod0.ZodNumber, zod0.ZodString]>;
7915
- name: zod0.ZodString;
7916
- destination: zod0.ZodObject<{
7917
- address1: zod0.ZodString;
7918
- address2: zod0.ZodString;
7919
- city: zod0.ZodString;
7920
- state: zod0.ZodString;
7921
- postcode: zod0.ZodString;
7922
- country: zod0.ZodString;
7923
- }, zod_v4_core0.$strip>;
7924
- items: zod0.ZodArray<zod0.ZodObject<{
7925
- key: zod0.ZodString;
7926
- name: zod0.ZodString;
7927
- quantity: zod0.ZodNumber;
7928
- }, zod_v4_core0.$strip>>;
7929
- rates: zod0.ZodArray<zod0.ZodObject<{
7930
- id: zod0.ZodString;
7931
- name: zod0.ZodString;
7932
- description: zod0.ZodString;
7933
- deliveryTime: zod0.ZodString;
7934
- price: zod0.ZodNumber;
7935
- taxes: zod0.ZodNumber;
7936
- methodId: zod0.ZodString;
7937
- instanceId: zod0.ZodNumber;
7938
- metadata: zod0.ZodArray<zod0.ZodObject<{
7939
- key: zod0.ZodString;
7940
- value: zod0.ZodString;
7941
- }, zod_v4_core0.$strip>>;
7942
- selected: zod0.ZodBoolean;
7943
- }, zod_v4_core0.$strip>>;
7944
- }, zod_v4_core0.$strip>>;
7945
- coupons: zod0.ZodArray<zod0.ZodObject<{
7946
- code: zod0.ZodString;
7947
- discountType: zod0.ZodString;
7948
- totals: zod0.ZodObject<{
7949
- discount: zod0.ZodNumber;
7950
- discountTax: zod0.ZodNumber;
7951
- }, zod_v4_core0.$strip>;
7952
- }, zod_v4_core0.$strip>>;
7953
- fees: zod0.ZodArray<zod0.ZodObject<{
7954
- id: zod0.ZodString;
7955
- name: zod0.ZodString;
7956
- totals: zod0.ZodObject<{
7957
- total: zod0.ZodNumber;
7958
- tax: zod0.ZodNumber;
7959
- }, zod_v4_core0.$strip>;
7960
- }, zod_v4_core0.$strip>>;
7961
- crossSells: zod0.ZodArray<zod0.ZodObject<{
7962
- id: zod0.ZodNumber;
7963
- name: zod0.ZodString;
7964
- slug: zod0.ZodString;
7965
- parentId: zod0.ZodNullable<zod0.ZodNumber>;
7966
- type: zod0.ZodString;
7967
- variationDescription: zod0.ZodString;
7968
- url: zod0.ZodNullable<zod0.ZodString>;
7969
- sku: zod0.ZodNullable<zod0.ZodString>;
7970
- shortDescription: zod0.ZodString;
7971
- description: zod0.ZodString;
7972
- isPasswordProtected: zod0.ZodBoolean;
7973
- isOnSale: zod0.ZodBoolean;
7974
- prices: zod0.ZodObject<{
7975
- price: zod0.ZodNumber;
7976
- regularPrice: zod0.ZodNumber;
7977
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
7978
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
7979
- minAmount: zod0.ZodNumber;
7980
- maxAmount: zod0.ZodNumber;
7981
- }, zod_v4_core0.$strip>>;
7982
- }, zod_v4_core0.$strip>;
7983
- currencyFormat: zod0.ZodObject<{
7984
- currencyCode: zod0.ZodString;
7985
- currencySymbol: zod0.ZodString;
7986
- currencyPrefix: zod0.ZodString;
7987
- currencySuffix: zod0.ZodString;
7988
- currencyMinorUnit: zod0.ZodNumber;
7989
- currencyDecimalSeparator: zod0.ZodString;
7990
- currencyThousandSeparator: zod0.ZodString;
7991
- }, zod_v4_core0.$strip>;
7992
- priceHtml: zod0.ZodString;
7993
- averageRating: zod0.ZodNumber;
7994
- reviewCount: zod0.ZodNumber;
7995
- images: zod0.ZodArray<zod0.ZodObject<{
7996
- id: zod0.ZodNumber;
7997
- name: zod0.ZodString;
7998
- src: zod0.ZodString;
7999
- mime: zod0.ZodOptional<zod0.ZodString>;
8000
- type: zod0.ZodLiteral<"image">;
8001
- alt: zod0.ZodString;
8002
- width: zod0.ZodOptional<zod0.ZodNumber>;
8003
- height: zod0.ZodOptional<zod0.ZodNumber>;
8004
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
8005
- src: zod0.ZodString;
8006
- width: zod0.ZodNumber;
8007
- height: zod0.ZodNumber;
8008
- }, zod_v4_core0.$strict>>>;
8009
- srcset: zod0.ZodOptional<zod0.ZodString>;
8010
- }, zod_v4_core0.$strict>>;
8011
- categories: zod0.ZodArray<zod0.ZodObject<{
8012
- id: zod0.ZodNumber;
8013
- name: zod0.ZodString;
8014
- slug: zod0.ZodString;
8015
- url: zod0.ZodNullable<zod0.ZodString>;
8016
- }, zod_v4_core0.$strip>>;
8017
- tags: zod0.ZodArray<zod0.ZodObject<{
8018
- id: zod0.ZodNumber;
8019
- name: zod0.ZodString;
8020
- slug: zod0.ZodString;
8021
- url: zod0.ZodNullable<zod0.ZodString>;
8022
- }, zod_v4_core0.$strip>>;
8023
- brands: zod0.ZodArray<zod0.ZodObject<{
8024
- id: zod0.ZodNumber;
8025
- name: zod0.ZodString;
8026
- slug: zod0.ZodString;
8027
- url: zod0.ZodNullable<zod0.ZodString>;
8028
- }, zod_v4_core0.$strip>>;
8029
- attributes: zod0.ZodArray<zod0.ZodObject<{
8030
- id: zod0.ZodNumber;
8031
- name: zod0.ZodString;
8032
- taxonomy: zod0.ZodNullable<zod0.ZodString>;
8033
- hasVariations: zod0.ZodBoolean;
8034
- terms: zod0.ZodArray<zod0.ZodObject<{
8035
- id: zod0.ZodNumber;
8036
- name: zod0.ZodString;
8037
- slug: zod0.ZodString;
8038
- isDefault: zod0.ZodBoolean;
8039
- }, zod_v4_core0.$strip>>;
8040
- }, zod_v4_core0.$strip>>;
8041
- variations: zod0.ZodArray<zod0.ZodObject<{
8042
- id: zod0.ZodNumber;
8043
- attributes: zod0.ZodArray<zod0.ZodObject<{
8044
- name: zod0.ZodString;
8045
- value: zod0.ZodNullable<zod0.ZodString>;
8046
- }, zod_v4_core0.$strip>>;
8047
- }, zod_v4_core0.$strip>>;
8048
- groupedProductIds: zod0.ZodArray<zod0.ZodNumber>;
8049
- hasOptions: zod0.ZodBoolean;
8050
- isPurchasable: zod0.ZodBoolean;
8051
- isInStock: zod0.ZodBoolean;
8052
- isOnBackorder: zod0.ZodBoolean;
8053
- stockAvailability: zod0.ZodObject<{
8054
- text: zod0.ZodString;
8055
- class: zod0.ZodString;
8056
- }, zod_v4_core0.$strip>;
8057
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
8058
- isSoldIndividually: zod0.ZodBoolean;
8059
- addToCart: zod0.ZodObject<{
8060
- text: zod0.ZodString;
8061
- description: zod0.ZodString;
8062
- singleText: zod0.ZodString;
8063
- minimum: zod0.ZodNumber;
8064
- maximum: zod0.ZodNumber;
8065
- multipleOf: zod0.ZodNumber;
8066
- }, zod_v4_core0.$strip>;
8067
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
8068
- }, zod_v4_core0.$strip>>;
8069
- needsPayment: zod0.ZodBoolean;
8070
- needsShipping: zod0.ZodBoolean;
8071
- hasCalculatedShipping: zod0.ZodBoolean;
8072
- paymentMethods: zod0.ZodArray<zod0.ZodObject<{
8073
- id: zod0.ZodString;
8074
- title: zod0.ZodString;
8075
- description: zod0.ZodString;
8076
- order: zod0.ZodNumber;
8077
- enabled: zod0.ZodBoolean;
8078
- }, zod_v4_core0.$strip>>;
8079
- paymentRequirements: zod0.ZodArray<zod0.ZodString>;
8080
- errors: zod0.ZodArray<zod0.ZodObject<{
8081
- code: zod0.ZodString;
8082
- message: zod0.ZodString;
8083
- }, zod_v4_core0.$strip>>;
8084
- totals: zod0.ZodObject<{
8085
- itemsTotal: zod0.ZodNumber;
8086
- itemsTaxTotal: zod0.ZodNumber;
8087
- feesTotal: zod0.ZodNumber;
8088
- feesTaxTotal: zod0.ZodNumber;
8089
- discountTotal: zod0.ZodNumber;
8090
- discountTaxTotal: zod0.ZodNumber;
8091
- shippingTotal: zod0.ZodNullable<zod0.ZodNumber>;
8092
- shippingTaxTotal: zod0.ZodNullable<zod0.ZodNumber>;
8093
- total: zod0.ZodNumber;
8094
- taxTotal: zod0.ZodNumber;
8095
- taxLines: zod0.ZodArray<zod0.ZodObject<{
8096
- name: zod0.ZodString;
8097
- price: zod0.ZodNumber;
8098
- rate: zod0.ZodString;
8099
- }, zod_v4_core0.$strip>>;
8100
- }, zod_v4_core0.$strip>;
8101
- currencyFormat: zod0.ZodObject<{
8102
- currencyCode: zod0.ZodString;
8103
- currencySymbol: zod0.ZodString;
8104
- currencyPrefix: zod0.ZodString;
8105
- currencySuffix: zod0.ZodString;
8106
- currencyMinorUnit: zod0.ZodNumber;
8107
- currencyDecimalSeparator: zod0.ZodString;
8108
- currencyThousandSeparator: zod0.ZodString;
8109
- }, zod_v4_core0.$strip>;
8110
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
8111
- }, zod_v4_core0.$strip>>;
8112
- }, zod_v4_core0.$strip>;
8113
- };
8114
- readonly CHECKOUT_PRODUCT_OUT_OF_STOCK: {
8115
- readonly status: 409;
8116
- readonly message: "An item in the cart is out of stock.";
8117
- readonly data: zod0.ZodObject<{
8118
- cart: zod0.ZodNullable<zod0.ZodObject<{
8119
- items: zod0.ZodArray<zod0.ZodObject<{
8120
- key: zod0.ZodString;
8121
- productId: zod0.ZodNumber;
8122
- variationId: zod0.ZodNullable<zod0.ZodNumber>;
8123
- type: zod0.ZodString;
8124
- name: zod0.ZodString;
8125
- sku: zod0.ZodNullable<zod0.ZodString>;
8126
- slug: zod0.ZodString;
8127
- url: zod0.ZodNullable<zod0.ZodString>;
8128
- shortDescription: zod0.ZodString;
8129
- description: zod0.ZodString;
8130
- quantity: zod0.ZodNumber;
8131
- quantityLimits: zod0.ZodObject<{
8132
- minimum: zod0.ZodNumber;
8133
- maximum: zod0.ZodNumber;
8134
- multipleOf: zod0.ZodNumber;
8135
- editable: zod0.ZodBoolean;
8136
- }, zod_v4_core0.$strip>;
8137
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
8138
- allowsBackorders: zod0.ZodBoolean;
8139
- showsBackorderBadge: zod0.ZodBoolean;
8140
- isSoldIndividually: zod0.ZodBoolean;
8141
- catalogVisibility: zod0.ZodString;
8142
- images: zod0.ZodArray<zod0.ZodObject<{
8143
- id: zod0.ZodNumber;
8144
- name: zod0.ZodString;
8145
- src: zod0.ZodString;
8146
- mime: zod0.ZodOptional<zod0.ZodString>;
8147
- type: zod0.ZodLiteral<"image">;
8148
- alt: zod0.ZodString;
8149
- width: zod0.ZodOptional<zod0.ZodNumber>;
8150
- height: zod0.ZodOptional<zod0.ZodNumber>;
8151
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
8152
- src: zod0.ZodString;
8153
- width: zod0.ZodNumber;
8154
- height: zod0.ZodNumber;
8155
- }, zod_v4_core0.$strict>>>;
8156
- srcset: zod0.ZodOptional<zod0.ZodString>;
8157
- }, zod_v4_core0.$strict>>;
8158
- selectedAttributes: zod0.ZodArray<zod0.ZodObject<{
8159
- name: zod0.ZodString;
8160
- attribute: zod0.ZodString;
8161
- value: zod0.ZodString;
8162
- }, zod_v4_core0.$strip>>;
8163
- itemData: zod0.ZodArray<zod0.ZodObject<{
8164
- name: zod0.ZodString;
8165
- value: zod0.ZodString;
8166
- display: zod0.ZodNullable<zod0.ZodString>;
8167
- }, zod_v4_core0.$strip>>;
8168
- prices: zod0.ZodObject<{
8169
- price: zod0.ZodNumber;
8170
- regularPrice: zod0.ZodNumber;
8171
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
8172
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
8173
- minAmount: zod0.ZodNumber;
8174
- maxAmount: zod0.ZodNumber;
8175
- }, zod_v4_core0.$strip>>;
8176
- }, zod_v4_core0.$strip>;
8177
- totals: zod0.ZodObject<{
8178
- subtotal: zod0.ZodNumber;
8179
- subtotalTax: zod0.ZodNumber;
8180
- total: zod0.ZodNumber;
8181
- totalTax: zod0.ZodNumber;
8182
- }, zod_v4_core0.$strip>;
8183
- custom: zod0.ZodType<Record<string, unknown>, Record<string, unknown>, zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
8184
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
8185
- }, zod_v4_core0.$strip>>;
8186
- itemCount: zod0.ZodNumber;
8187
- itemsWeight: zod0.ZodNumber;
8188
- billingAddress: zod0.ZodObject<{
8189
- additionalFields: zod0.ZodType<BillingAdditionalFields, BillingAdditionalFieldsInput, zod_v4_core0.$ZodTypeInternals<BillingAdditionalFields, BillingAdditionalFieldsInput>>;
8190
- taxId: zod0.ZodDefault<zod0.ZodString>;
8191
- email: zod0.ZodString;
8192
- firstName: zod0.ZodString;
8193
- lastName: zod0.ZodString;
8194
- company: zod0.ZodString;
8195
- address1: zod0.ZodString;
8196
- address2: zod0.ZodString;
8197
- city: zod0.ZodString;
8198
- state: zod0.ZodString;
8199
- postcode: zod0.ZodString;
8200
- country: zod0.ZodString;
8201
- phone: zod0.ZodString;
8202
- }, zod_v4_core0.$strip>;
8203
- shippingAddress: zod0.ZodObject<{
8204
- firstName: zod0.ZodString;
8205
- lastName: zod0.ZodString;
8206
- company: zod0.ZodString;
8207
- address1: zod0.ZodString;
8208
- address2: zod0.ZodString;
8209
- city: zod0.ZodString;
8210
- state: zod0.ZodString;
8211
- postcode: zod0.ZodString;
8212
- country: zod0.ZodString;
8213
- phone: zod0.ZodString;
8214
- additionalFields: zod0.ZodType<{
8215
- [x: string]: string | boolean | undefined;
8216
- }, Partial<{
8217
- [x: string]: string | boolean | undefined;
8218
- }>, zod_v4_core0.$ZodTypeInternals<{
8219
- [x: string]: string | boolean | undefined;
8220
- }, Partial<{
8221
- [x: string]: string | boolean | undefined;
8222
- }>>>;
8223
- }, zod_v4_core0.$strip>;
8224
- shippingPackages: zod0.ZodArray<zod0.ZodObject<{
8225
- id: zod0.ZodUnion<readonly [zod0.ZodNumber, zod0.ZodString]>;
8226
- name: zod0.ZodString;
8227
- destination: zod0.ZodObject<{
8228
- address1: zod0.ZodString;
8229
- address2: zod0.ZodString;
8230
- city: zod0.ZodString;
8231
- state: zod0.ZodString;
8232
- postcode: zod0.ZodString;
8233
- country: zod0.ZodString;
8234
- }, zod_v4_core0.$strip>;
8235
- items: zod0.ZodArray<zod0.ZodObject<{
8236
- key: zod0.ZodString;
8237
- name: zod0.ZodString;
8238
- quantity: zod0.ZodNumber;
8239
- }, zod_v4_core0.$strip>>;
8240
- rates: zod0.ZodArray<zod0.ZodObject<{
8241
- id: zod0.ZodString;
8242
- name: zod0.ZodString;
8243
- description: zod0.ZodString;
8244
- deliveryTime: zod0.ZodString;
8245
- price: zod0.ZodNumber;
8246
- taxes: zod0.ZodNumber;
8247
- methodId: zod0.ZodString;
8248
- instanceId: zod0.ZodNumber;
8249
- metadata: zod0.ZodArray<zod0.ZodObject<{
8250
- key: zod0.ZodString;
8251
- value: zod0.ZodString;
8252
- }, zod_v4_core0.$strip>>;
8253
- selected: zod0.ZodBoolean;
8254
- }, zod_v4_core0.$strip>>;
8255
- }, zod_v4_core0.$strip>>;
8256
- coupons: zod0.ZodArray<zod0.ZodObject<{
8257
- code: zod0.ZodString;
8258
- discountType: zod0.ZodString;
8259
- totals: zod0.ZodObject<{
8260
- discount: zod0.ZodNumber;
8261
- discountTax: zod0.ZodNumber;
8262
- }, zod_v4_core0.$strip>;
8263
- }, zod_v4_core0.$strip>>;
8264
- fees: zod0.ZodArray<zod0.ZodObject<{
8265
- id: zod0.ZodString;
8266
- name: zod0.ZodString;
8267
- totals: zod0.ZodObject<{
8268
- total: zod0.ZodNumber;
8269
- tax: zod0.ZodNumber;
8270
- }, zod_v4_core0.$strip>;
8271
- }, zod_v4_core0.$strip>>;
8272
- crossSells: zod0.ZodArray<zod0.ZodObject<{
8273
- id: zod0.ZodNumber;
8274
- name: zod0.ZodString;
8275
- slug: zod0.ZodString;
8276
- parentId: zod0.ZodNullable<zod0.ZodNumber>;
8277
- type: zod0.ZodString;
8278
- variationDescription: zod0.ZodString;
8279
- url: zod0.ZodNullable<zod0.ZodString>;
8280
- sku: zod0.ZodNullable<zod0.ZodString>;
8281
- shortDescription: zod0.ZodString;
8282
- description: zod0.ZodString;
8283
- isPasswordProtected: zod0.ZodBoolean;
8284
- isOnSale: zod0.ZodBoolean;
8285
- prices: zod0.ZodObject<{
8286
- price: zod0.ZodNumber;
8287
- regularPrice: zod0.ZodNumber;
8288
- salePrice: zod0.ZodNullable<zod0.ZodNumber>;
8289
- priceRange: zod0.ZodNullable<zod0.ZodObject<{
8290
- minAmount: zod0.ZodNumber;
8291
- maxAmount: zod0.ZodNumber;
8292
- }, zod_v4_core0.$strip>>;
8293
- }, zod_v4_core0.$strip>;
8294
- currencyFormat: zod0.ZodObject<{
8295
- currencyCode: zod0.ZodString;
8296
- currencySymbol: zod0.ZodString;
8297
- currencyPrefix: zod0.ZodString;
8298
- currencySuffix: zod0.ZodString;
8299
- currencyMinorUnit: zod0.ZodNumber;
8300
- currencyDecimalSeparator: zod0.ZodString;
8301
- currencyThousandSeparator: zod0.ZodString;
8302
- }, zod_v4_core0.$strip>;
8303
- priceHtml: zod0.ZodString;
8304
- averageRating: zod0.ZodNumber;
8305
- reviewCount: zod0.ZodNumber;
8306
- images: zod0.ZodArray<zod0.ZodObject<{
8307
- id: zod0.ZodNumber;
8308
- name: zod0.ZodString;
8309
- src: zod0.ZodString;
8310
- mime: zod0.ZodOptional<zod0.ZodString>;
8311
- type: zod0.ZodLiteral<"image">;
8312
- alt: zod0.ZodString;
8313
- width: zod0.ZodOptional<zod0.ZodNumber>;
8314
- height: zod0.ZodOptional<zod0.ZodNumber>;
8315
- variants: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
8316
- src: zod0.ZodString;
8317
- width: zod0.ZodNumber;
8318
- height: zod0.ZodNumber;
8319
- }, zod_v4_core0.$strict>>>;
8320
- srcset: zod0.ZodOptional<zod0.ZodString>;
8321
- }, zod_v4_core0.$strict>>;
8322
- categories: zod0.ZodArray<zod0.ZodObject<{
8323
- id: zod0.ZodNumber;
8324
- name: zod0.ZodString;
8325
- slug: zod0.ZodString;
8326
- url: zod0.ZodNullable<zod0.ZodString>;
8327
- }, zod_v4_core0.$strip>>;
8328
- tags: zod0.ZodArray<zod0.ZodObject<{
8329
- id: zod0.ZodNumber;
8330
- name: zod0.ZodString;
8331
- slug: zod0.ZodString;
8332
- url: zod0.ZodNullable<zod0.ZodString>;
8333
- }, zod_v4_core0.$strip>>;
8334
- brands: zod0.ZodArray<zod0.ZodObject<{
8335
- id: zod0.ZodNumber;
8336
- name: zod0.ZodString;
8337
- slug: zod0.ZodString;
8338
- url: zod0.ZodNullable<zod0.ZodString>;
8339
- }, zod_v4_core0.$strip>>;
8340
- attributes: zod0.ZodArray<zod0.ZodObject<{
8341
- id: zod0.ZodNumber;
8342
- name: zod0.ZodString;
8343
- taxonomy: zod0.ZodNullable<zod0.ZodString>;
8344
- hasVariations: zod0.ZodBoolean;
8345
- terms: zod0.ZodArray<zod0.ZodObject<{
8346
- id: zod0.ZodNumber;
8347
- name: zod0.ZodString;
8348
- slug: zod0.ZodString;
8349
- isDefault: zod0.ZodBoolean;
8350
- }, zod_v4_core0.$strip>>;
8351
- }, zod_v4_core0.$strip>>;
8352
- variations: zod0.ZodArray<zod0.ZodObject<{
8353
- id: zod0.ZodNumber;
8354
- attributes: zod0.ZodArray<zod0.ZodObject<{
8355
- name: zod0.ZodString;
8356
- value: zod0.ZodNullable<zod0.ZodString>;
8357
- }, zod_v4_core0.$strip>>;
8358
- }, zod_v4_core0.$strip>>;
8359
- groupedProductIds: zod0.ZodArray<zod0.ZodNumber>;
8360
- hasOptions: zod0.ZodBoolean;
8361
- isPurchasable: zod0.ZodBoolean;
8362
- isInStock: zod0.ZodBoolean;
8363
- isOnBackorder: zod0.ZodBoolean;
8364
- stockAvailability: zod0.ZodObject<{
8365
- text: zod0.ZodString;
8366
- class: zod0.ZodString;
8367
- }, zod_v4_core0.$strip>;
8368
- lowStockRemaining: zod0.ZodNullable<zod0.ZodNumber>;
8369
- isSoldIndividually: zod0.ZodBoolean;
8370
- addToCart: zod0.ZodObject<{
8371
- text: zod0.ZodString;
8372
- description: zod0.ZodString;
8373
- singleText: zod0.ZodString;
8374
- minimum: zod0.ZodNumber;
8375
- maximum: zod0.ZodNumber;
8376
- multipleOf: zod0.ZodNumber;
8377
- }, zod_v4_core0.$strip>;
8378
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
8379
- }, zod_v4_core0.$strip>>;
8380
- needsPayment: zod0.ZodBoolean;
8381
- needsShipping: zod0.ZodBoolean;
8382
- hasCalculatedShipping: zod0.ZodBoolean;
8383
- paymentMethods: zod0.ZodArray<zod0.ZodObject<{
8384
- id: zod0.ZodString;
8385
- title: zod0.ZodString;
8386
- description: zod0.ZodString;
8387
- order: zod0.ZodNumber;
8388
- enabled: zod0.ZodBoolean;
8389
- }, zod_v4_core0.$strip>>;
8390
- paymentRequirements: zod0.ZodArray<zod0.ZodString>;
8391
- errors: zod0.ZodArray<zod0.ZodObject<{
8392
- code: zod0.ZodString;
8393
- message: zod0.ZodString;
8394
- }, zod_v4_core0.$strip>>;
8395
- totals: zod0.ZodObject<{
8396
- itemsTotal: zod0.ZodNumber;
8397
- itemsTaxTotal: zod0.ZodNumber;
8398
- feesTotal: zod0.ZodNumber;
8399
- feesTaxTotal: zod0.ZodNumber;
8400
- discountTotal: zod0.ZodNumber;
8401
- discountTaxTotal: zod0.ZodNumber;
8402
- shippingTotal: zod0.ZodNullable<zod0.ZodNumber>;
8403
- shippingTaxTotal: zod0.ZodNullable<zod0.ZodNumber>;
8404
- total: zod0.ZodNumber;
8405
- taxTotal: zod0.ZodNumber;
8406
- taxLines: zod0.ZodArray<zod0.ZodObject<{
8407
- name: zod0.ZodString;
8408
- price: zod0.ZodNumber;
8409
- rate: zod0.ZodString;
8410
- }, zod_v4_core0.$strip>>;
8411
- }, zod_v4_core0.$strip>;
8412
- currencyFormat: zod0.ZodObject<{
8413
- currencyCode: zod0.ZodString;
8414
- currencySymbol: zod0.ZodString;
8415
- currencyPrefix: zod0.ZodString;
8416
- currencySuffix: zod0.ZodString;
8417
- currencyMinorUnit: zod0.ZodNumber;
8418
- currencyDecimalSeparator: zod0.ZodString;
8419
- currencyThousandSeparator: zod0.ZodString;
8420
- }, zod_v4_core0.$strip>;
8421
- extensions: zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>;
8422
- }, zod_v4_core0.$strip>>;
8423
- }, zod_v4_core0.$strip>;
8424
- };
8425
- }>;
8116
+ body: UpdateCheckoutInput;
8117
+ }, Checkout, typeof UPDATE_CHECKOUT_ERROR_MAP>;
8426
8118
  confirm: kizlo0.Procedure<"api", {
8427
8119
  body: ConfirmCheckoutInput;
8428
8120
  }, Checkout, typeof CONFIRM_CHECKOUT_ERROR_MAP>;
@@ -8558,4 +8250,4 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
8558
8250
  };
8559
8251
  }>;
8560
8252
  //#endregion
8561
- export { AddCartItemInput, type AddressAdditionalFields, type AddressAdditionalFieldsInput, ApplyCouponInput, type BillingAdditionalFields, type BillingAdditionalFieldsInput, BillingFieldProjections, Cart, CartAdditionalFields, CartBillingAddress, CartBillingAddressInput, CartBillingAddressSubmission, CartCoupon, CartCouponTotals, CartError, CartFee, CartFeeTotals, CartItem, CartItemData, CartItemQuantityLimits, CartItemTotals, CartPaymentMethod, CartSelectedAttribute, CartShippingAddress, CartShippingAddressInput, CartShippingAddressSubmission, CartShippingDestination, CartShippingItem, CartShippingPackage, CartShippingRate, CartShippingRateMetadata, CartTaxLine, CartTotals, Checkout, CheckoutAdditionalFields, type CheckoutAdditionalFieldsInput, CheckoutExtensions, CheckoutPaymentData, CheckoutPaymentResult, CheckoutRegisteredFieldReference, CheckoutValidationData, CheckoutValidationIssue, ConfirmCheckoutInput, type ContactAdditionalFields, GetOrderInput, ListProductInput, ListProductInputOut, Order, OrderFee, OrderItem, OrderItemProduct, OrderTotals, PRODUCT_ATTRIBUTE_RELATIONS, PRODUCT_CATALOG_VISIBILITIES, PRODUCT_DATE_COLUMNS, PRODUCT_RATINGS, PRODUCT_STOCK_STATUSES, PRODUCT_TYPES, Product, ProductAddToCart, ProductAttributeCount, ProductAttributeFilter, ProductAttributeRelation, ProductAttributeSummary, ProductAttributeTermSummary, ProductBrandSummary, ProductCatalogVisibility, ProductCategorySummary, ProductCustomFieldsSchema, ProductDateColumn, ProductDimensions, ProductExtensions, ProductFilters, ProductFiltersAttributeTerm, ProductFiltersPriceRange, ProductFiltersRatingCount, ProductFiltersStockStatus, ProductFiltersTaxonomyTerm, ProductFiltersTerm, ProductList, ProductOrderBy, ProductPriceRange, ProductPrices, ProductRating, ProductRecommendations, ProductStockAvailability, ProductStockStatus, ProductSummary, ProductTagSummary, ProductTaxonomyFilter, ProductTaxonomyOperator, ProductTermSummary, ProductType, ProductVariationAttributeSummary, ProductVariationSummary, type RegisteredFieldGroup, type RegisteredFieldLocations, type RegisteredFieldTarget, RemoveCartItemInput, RemoveCouponInput, RetrieveProductFiltersInput, RetrieveProductFiltersInputOut, RetrieveProductInput, RetryCheckoutInput, SWATCH_TYPES, SelectCartShippingRateInput, Storefront, StorefrontAddress, StorefrontCatalog, StorefrontCheckout, StorefrontCountry, StorefrontField, StorefrontFieldOption, StorefrontFieldOverride, StorefrontFieldRule, StorefrontFieldSchema, StorefrontPricing, SwatchType, UpdateCartInput, UpdateCartItemInput, UpdateCheckoutInput, resolveRegisteredFieldTarget, woocommerce };
8253
+ export { AddCartItemInput, type AddressAdditionalFields, type AddressAdditionalFieldsInput, ApplyCouponInput, type BillingAdditionalFields, type BillingAdditionalFieldsInput, BillingFieldProjections, Cart, CartAdditionalFields, CartBillingAddress, CartBillingAddressInput, CartBillingAddressSubmission, CartCoupon, CartCouponTotals, CartError, CartFee, CartFeeTotals, CartItem, CartItemData, CartItemQuantityLimits, CartItemTotals, CartPaymentMethod, CartSelectedAttribute, CartShippingAddress, CartShippingAddressInput, CartShippingAddressSubmission, CartShippingDestination, CartShippingItem, CartShippingPackage, CartShippingRate, CartShippingRateMetadata, CartTaxLine, CartTotals, Checkout, CheckoutAdditionalFields, type CheckoutAdditionalFieldsInput, CheckoutExtensions, CheckoutPaymentData, CheckoutPaymentResult, CheckoutRegisteredFieldReference, CheckoutValidationData, CheckoutValidationIssue, ConfirmCheckoutInput, type ContactAdditionalFields, GetOrderInput, ListProductInput, ListProductInputOut, Order, OrderFee, OrderItem, OrderItemProduct, OrderTotals, PRODUCT_ATTRIBUTE_RELATIONS, PRODUCT_CATALOG_VISIBILITIES, PRODUCT_DATE_COLUMNS, PRODUCT_RATINGS, PRODUCT_STOCK_STATUSES, PRODUCT_TYPES, Product, ProductAddToCart, ProductAttributeCount, ProductAttributeFilter, ProductAttributeRelation, ProductAttributeSummary, ProductAttributeTermSummary, ProductBrandSummary, ProductCatalogVisibility, ProductCategorySummary, ProductCustomFieldsSchema, ProductDateColumn, ProductDimensions, ProductExtensions, ProductFilters, ProductFiltersAttributeTerm, ProductFiltersPriceRange, ProductFiltersRatingCount, ProductFiltersStockStatus, ProductFiltersTaxonomyTerm, ProductFiltersTerm, ProductList, ProductOrderBy, ProductPriceRange, ProductPrices, ProductRating, ProductRecommendations, ProductStockAvailability, ProductStockStatus, ProductSummary, ProductTagSummary, ProductTaxonomyFilter, ProductTaxonomyOperator, ProductTermSummary, ProductType, ProductVariationAttributeSummary, ProductVariationSummary, type RegisteredFieldGroup, type RegisteredFieldLocations, type RegisteredFieldTarget, RemoveCartItemInput, RemoveCouponInput, RetrieveProductFiltersInput, RetrieveProductFiltersInputOut, RetrieveProductInput, RetryCheckoutInput, SWATCH_TYPES, SelectCartShippingRateInput, Storefront, StorefrontAddress, StorefrontCatalog, StorefrontCheckout, StorefrontCountry, StorefrontField, StorefrontFieldOption, StorefrontFieldOverride, StorefrontFieldRule, StorefrontFieldSchema, StorefrontPricing, SwatchType, UpdateCartInput, UpdateCartItemInput, UpdateCheckoutInput, WooCommerceOptions, resolveRegisteredFieldTarget, woocommerce };