ce-storefront 0.16.0 → 0.16.2
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/docs/sdks/auth/README.md +10 -10
- package/docs/sdks/carts/README.md +17 -15
- package/docs/sdks/catalog/README.md +11 -11
- package/docs/sdks/common/README.md +1 -1
- package/docs/sdks/customers/README.md +7 -7
- package/docs/sdks/orders/README.md +7 -7
- package/docs/sdks/shipping/README.md +3 -3
- package/esm/funcs/authGenerateOtp.d.ts +1 -1
- package/esm/funcs/authGenerateOtp.js +1 -1
- package/esm/funcs/authGetAnonymousToken.d.ts +1 -1
- package/esm/funcs/authGetAnonymousToken.js +1 -1
- package/esm/funcs/authGetUserDetail.d.ts +1 -1
- package/esm/funcs/authGetUserDetail.js +1 -1
- package/esm/funcs/authLoginWithEmail.d.ts +1 -1
- package/esm/funcs/authLoginWithEmail.js +1 -1
- package/esm/funcs/authLoginWithPhone.d.ts +1 -1
- package/esm/funcs/authLoginWithPhone.js +1 -1
- package/esm/funcs/authLoginWithWhatsapp.d.ts +1 -1
- package/esm/funcs/authLoginWithWhatsapp.js +1 -1
- package/esm/funcs/authLogout.d.ts +1 -1
- package/esm/funcs/authLogout.js +1 -1
- package/esm/funcs/authRefreshToken.d.ts +1 -1
- package/esm/funcs/authRefreshToken.js +1 -1
- package/esm/funcs/authUpdateUser.d.ts +1 -1
- package/esm/funcs/authUpdateUser.js +1 -1
- package/esm/funcs/authVerifyOtp.d.ts +1 -1
- package/esm/funcs/authVerifyOtp.js +1 -1
- package/esm/funcs/cartsAddShippingMethod.d.ts +1 -1
- package/esm/funcs/cartsAddShippingMethod.js +1 -1
- package/esm/funcs/cartsApplyCoupon.d.ts +1 -1
- package/esm/funcs/cartsApplyCoupon.js +1 -1
- package/esm/funcs/cartsCreateCart.d.ts +1 -1
- package/esm/funcs/cartsCreateCart.js +1 -1
- package/esm/funcs/cartsCreateCartAddress.d.ts +1 -1
- package/esm/funcs/cartsCreateCartAddress.js +1 -1
- package/esm/funcs/cartsDeleteCart.d.ts +1 -1
- package/esm/funcs/cartsDeleteCart.js +1 -1
- package/esm/funcs/cartsGetCart.d.ts +1 -1
- package/esm/funcs/cartsGetCart.js +1 -1
- package/esm/funcs/cartsGetUserCart.d.ts +1 -1
- package/esm/funcs/cartsGetUserCart.js +1 -1
- package/esm/funcs/cartsRedeemLoyaltyPoints.d.ts +1 -1
- package/esm/funcs/cartsRedeemLoyaltyPoints.js +1 -1
- package/esm/funcs/cartsRemoveCoupon.d.ts +1 -1
- package/esm/funcs/cartsRemoveCoupon.js +1 -1
- package/esm/funcs/cartsRemoveLoyaltyPoints.d.ts +1 -1
- package/esm/funcs/cartsRemoveLoyaltyPoints.js +1 -1
- package/esm/funcs/cartsRemoveUserCart.d.ts +1 -1
- package/esm/funcs/cartsRemoveUserCart.js +1 -1
- package/esm/funcs/cartsUpdateCart.d.ts +1 -1
- package/esm/funcs/cartsUpdateCart.js +1 -1
- package/esm/funcs/cartsUpdateFulfillmentPreference.d.ts +1 -1
- package/esm/funcs/cartsUpdateFulfillmentPreference.js +4 -2
- package/esm/funcs/cartsUpdateFulfillmentPreference.js.map +1 -1
- package/esm/funcs/catalogGetProductDetail.d.ts +1 -1
- package/esm/funcs/catalogGetProductDetail.js +1 -1
- package/esm/funcs/catalogGetVariantDetail.d.ts +1 -1
- package/esm/funcs/catalogGetVariantDetail.js +1 -1
- package/esm/funcs/catalogListCategories.d.ts +1 -1
- package/esm/funcs/catalogListCategories.js +1 -1
- package/esm/funcs/catalogListCrosssellProducts.d.ts +1 -1
- package/esm/funcs/catalogListCrosssellProducts.js +1 -1
- package/esm/funcs/catalogListProductReviews.d.ts +1 -1
- package/esm/funcs/catalogListProductReviews.js +1 -1
- package/esm/funcs/catalogListProductVariants.d.ts +1 -1
- package/esm/funcs/catalogListProductVariants.js +1 -1
- package/esm/funcs/catalogListProducts.d.ts +1 -1
- package/esm/funcs/catalogListProducts.js +1 -1
- package/esm/funcs/catalogListSimilarProducts.d.ts +1 -1
- package/esm/funcs/catalogListSimilarProducts.js +1 -1
- package/esm/funcs/catalogListSkus.d.ts +1 -1
- package/esm/funcs/catalogListSkus.js +1 -1
- package/esm/funcs/catalogListUpsellProducts.d.ts +1 -1
- package/esm/funcs/catalogListUpsellProducts.js +1 -1
- package/esm/funcs/catalogSearchProducts.d.ts +1 -1
- package/esm/funcs/catalogSearchProducts.js +1 -1
- package/esm/funcs/commonListCountryPincodes.d.ts +1 -1
- package/esm/funcs/commonListCountryPincodes.js +1 -1
- package/esm/funcs/customersCreateAddress.d.ts +1 -1
- package/esm/funcs/customersCreateAddress.js +1 -1
- package/esm/funcs/customersDeleteAddress.d.ts +1 -1
- package/esm/funcs/customersDeleteAddress.js +1 -1
- package/esm/funcs/customersGetAddressDetail.d.ts +1 -1
- package/esm/funcs/customersGetAddressDetail.js +1 -1
- package/esm/funcs/customersGetLoyaltyDetails.d.ts +1 -1
- package/esm/funcs/customersGetLoyaltyDetails.js +1 -1
- package/esm/funcs/customersListAddresses.d.ts +1 -1
- package/esm/funcs/customersListAddresses.js +1 -1
- package/esm/funcs/customersListUserReviews.d.ts +1 -1
- package/esm/funcs/customersListUserReviews.js +1 -1
- package/esm/funcs/customersUpdateAddressDetail.d.ts +1 -1
- package/esm/funcs/customersUpdateAddressDetail.js +1 -1
- package/esm/funcs/ordersCancelOrder.d.ts +1 -1
- package/esm/funcs/ordersCancelOrder.js +1 -1
- package/esm/funcs/ordersCreateOrder.d.ts +1 -1
- package/esm/funcs/ordersCreateOrder.js +1 -1
- package/esm/funcs/ordersGetOrderDetail.d.ts +1 -1
- package/esm/funcs/ordersGetOrderDetail.js +1 -1
- package/esm/funcs/ordersGetPaymentStatus.d.ts +1 -1
- package/esm/funcs/ordersGetPaymentStatus.js +1 -1
- package/esm/funcs/ordersListOrderShipments.d.ts +1 -1
- package/esm/funcs/ordersListOrderShipments.js +1 -1
- package/esm/funcs/ordersListOrders.d.ts +1 -1
- package/esm/funcs/ordersListOrders.js +1 -1
- package/esm/funcs/ordersRetryOrderPayment.d.ts +1 -1
- package/esm/funcs/ordersRetryOrderPayment.js +1 -1
- package/esm/funcs/shippingCheckServiceability.d.ts +1 -1
- package/esm/funcs/shippingCheckServiceability.js +1 -1
- package/esm/funcs/shippingFulfillmentOptions.d.ts +1 -1
- package/esm/funcs/shippingFulfillmentOptions.js +1 -1
- package/esm/funcs/shippingShippingMethods.d.ts +1 -1
- package/esm/funcs/shippingShippingMethods.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/anonymoususer.d.ts +1 -1
- package/esm/models/components/appliedcoupon.d.ts +1 -1
- package/esm/models/components/appliedpromotion.d.ts +1 -1
- package/esm/models/components/banktransfer.d.ts +1 -1
- package/esm/models/components/booleanattribute.d.ts +1 -1
- package/esm/models/components/cardpayment.d.ts +1 -1
- package/esm/models/components/cart.d.ts +1 -12
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +0 -21
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts +1 -1
- package/esm/models/components/cartitem.d.ts +1 -1
- package/esm/models/components/category.d.ts +1 -1
- package/esm/models/components/collectinstore.d.ts +1 -1
- package/esm/models/components/collectinstorefulfillment.d.ts +1 -1
- package/esm/models/components/colorattribute.d.ts +1 -1
- package/esm/models/components/coloroption.d.ts +1 -1
- package/esm/models/components/currency.d.ts +1 -1
- package/esm/models/components/customeraddress.d.ts +1 -1
- package/esm/models/components/customeraddressinput.d.ts +1 -1
- package/esm/models/components/customerloyalty.d.ts +1 -1
- package/esm/models/components/customerreadyforreview.d.ts +1 -1
- package/esm/models/components/customerreview.d.ts +1 -1
- package/esm/models/components/dateattribute.d.ts +1 -1
- package/esm/models/components/deliveryfulfillment.d.ts +3 -3
- package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillment.js +2 -2
- package/esm/models/components/deliveryfulfillment.js.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.d.ts +36 -0
- package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -0
- package/esm/models/components/deliveryfulfillmentinput.js +48 -0
- package/esm/models/components/deliveryfulfillmentinput.js.map +1 -0
- package/esm/models/components/discountbasedpromotion.d.ts +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +1 -1
- package/esm/models/components/fulfillmentitem.d.ts +40 -0
- package/esm/models/components/fulfillmentitem.d.ts.map +1 -0
- package/esm/models/components/fulfillmentitem.js +54 -0
- package/esm/models/components/fulfillmentitem.js.map +1 -0
- package/esm/models/components/fulfillmentiteminput.d.ts +36 -0
- package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -0
- package/esm/models/components/fulfillmentiteminput.js +46 -0
- package/esm/models/components/fulfillmentiteminput.js.map +1 -0
- package/esm/models/components/fulfillmentpreference.d.ts +15 -3
- package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreference.js +12 -6
- package/esm/models/components/fulfillmentpreference.js.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.d.ts +43 -0
- package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -0
- package/esm/models/components/fulfillmentpreferenceinput.js +44 -0
- package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -0
- package/esm/models/components/generateotpwithemail.d.ts +1 -1
- package/esm/models/components/generateotpwithphone.d.ts +1 -1
- package/esm/models/components/index.d.ts +4 -1
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +4 -1
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/item.d.ts +1 -1
- package/esm/models/components/juspaypaymentgatewayparams.d.ts +1 -1
- package/esm/models/components/juspaypaymentinfo.d.ts +1 -1
- package/esm/models/components/lotbatchdetail.d.ts +1 -1
- package/esm/models/components/multiselectattribute.d.ts +1 -1
- package/esm/models/components/netbankingpayment.d.ts +1 -1
- package/esm/models/components/notificationchannelpreferences.d.ts +1 -1
- package/esm/models/components/notificationpreferences.d.ts +1 -1
- package/esm/models/components/numberattribute.d.ts +1 -1
- package/esm/models/components/order.d.ts +1 -12
- package/esm/models/components/order.d.ts.map +1 -1
- package/esm/models/components/order.js +0 -21
- package/esm/models/components/order.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +1 -12
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +0 -21
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/orderitem.d.ts +1 -1
- package/esm/models/components/orderlist.d.ts +1 -1
- package/esm/models/components/orderpayment.d.ts +1 -1
- package/esm/models/components/ordershipment.d.ts +1 -1
- package/esm/models/components/pagination.d.ts +1 -1
- package/esm/models/components/partialcollectanddelivery.d.ts +27 -115
- package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddelivery.js +30 -138
- package/esm/models/components/partialcollectanddelivery.js.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.d.ts +25 -105
- package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.js +28 -118
- package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
- package/esm/models/components/paymentgateway.d.ts +2 -2
- package/esm/models/components/paymentgateway.js +1 -1
- package/esm/models/components/paymentgatewayparams.d.ts +1 -1
- package/esm/models/components/payupaymentgatewayparams.d.ts +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +1 -1
- package/esm/models/components/pincode.d.ts +1 -1
- package/esm/models/components/pincodeserviceability.d.ts +1 -1
- package/esm/models/components/product.d.ts +1 -1
- package/esm/models/components/productattribute.d.ts +1 -1
- package/esm/models/components/productbundleitem.d.ts +1 -1
- package/esm/models/components/productcategory.d.ts +1 -1
- package/esm/models/components/productdetail.d.ts +1 -1
- package/esm/models/components/productimage.d.ts +1 -1
- package/esm/models/components/productpricing.d.ts +1 -1
- package/esm/models/components/productpromotion.d.ts +1 -1
- package/esm/models/components/productreview.d.ts +1 -1
- package/esm/models/components/productshipping.d.ts +1 -1
- package/esm/models/components/productsubscription.d.ts +1 -1
- package/esm/models/components/productvideo.d.ts +1 -1
- package/esm/models/components/searchproduct.d.ts +1 -1
- package/esm/models/components/seo.d.ts +1 -1
- package/esm/models/components/shipmentitem.d.ts +1 -1
- package/esm/models/components/singleselectattribute.d.ts +1 -1
- package/esm/models/components/singleselectoption.d.ts +1 -1
- package/esm/models/components/textattribute.d.ts +1 -1
- package/esm/models/components/updatecartitem.d.ts +1 -1
- package/esm/models/components/upipayment.d.ts +1 -1
- package/esm/models/components/user.d.ts +2 -2
- package/esm/models/components/variant.d.ts +1 -1
- package/esm/models/components/variantdetail.d.ts +1 -1
- package/esm/models/components/variantoption.d.ts +1 -1
- package/esm/models/components/volumebasedpromotion.d.ts +1 -1
- package/esm/models/components/walletpayment.d.ts +1 -1
- package/esm/models/operations/createaddress.d.ts +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +1 -1
- package/esm/models/operations/listaddresses.d.ts +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +1 -1
- package/esm/models/operations/updatefulfillmentpreference.d.ts +32 -23
- package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.js +31 -41
- package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
- package/esm/sdk/auth.d.ts +10 -10
- package/esm/sdk/auth.js +10 -10
- package/esm/sdk/carts.d.ts +13 -13
- package/esm/sdk/carts.js +13 -13
- package/esm/sdk/catalog.d.ts +11 -11
- package/esm/sdk/catalog.js +11 -11
- package/esm/sdk/common.d.ts +1 -1
- package/esm/sdk/common.js +1 -1
- package/esm/sdk/customers.d.ts +7 -7
- package/esm/sdk/customers.js +7 -7
- package/esm/sdk/orders.d.ts +7 -7
- package/esm/sdk/orders.js +7 -7
- package/esm/sdk/shipping.d.ts +3 -3
- package/esm/sdk/shipping.js +3 -3
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authGenerateOtp.ts +1 -1
- package/src/funcs/authGetAnonymousToken.ts +1 -1
- package/src/funcs/authGetUserDetail.ts +1 -1
- package/src/funcs/authLoginWithEmail.ts +1 -1
- package/src/funcs/authLoginWithPhone.ts +1 -1
- package/src/funcs/authLoginWithWhatsapp.ts +1 -1
- package/src/funcs/authLogout.ts +1 -1
- package/src/funcs/authRefreshToken.ts +1 -1
- package/src/funcs/authUpdateUser.ts +1 -1
- package/src/funcs/authVerifyOtp.ts +1 -1
- package/src/funcs/cartsAddShippingMethod.ts +1 -1
- package/src/funcs/cartsApplyCoupon.ts +1 -1
- package/src/funcs/cartsCreateCart.ts +1 -1
- package/src/funcs/cartsCreateCartAddress.ts +1 -1
- package/src/funcs/cartsDeleteCart.ts +1 -1
- package/src/funcs/cartsGetCart.ts +1 -1
- package/src/funcs/cartsGetUserCart.ts +1 -1
- package/src/funcs/cartsRedeemLoyaltyPoints.ts +1 -1
- package/src/funcs/cartsRemoveCoupon.ts +1 -1
- package/src/funcs/cartsRemoveLoyaltyPoints.ts +1 -1
- package/src/funcs/cartsRemoveUserCart.ts +1 -1
- package/src/funcs/cartsUpdateCart.ts +1 -1
- package/src/funcs/cartsUpdateFulfillmentPreference.ts +4 -2
- package/src/funcs/catalogGetProductDetail.ts +1 -1
- package/src/funcs/catalogGetVariantDetail.ts +1 -1
- package/src/funcs/catalogListCategories.ts +1 -1
- package/src/funcs/catalogListCrosssellProducts.ts +1 -1
- package/src/funcs/catalogListProductReviews.ts +1 -1
- package/src/funcs/catalogListProductVariants.ts +1 -1
- package/src/funcs/catalogListProducts.ts +1 -1
- package/src/funcs/catalogListSimilarProducts.ts +1 -1
- package/src/funcs/catalogListSkus.ts +1 -1
- package/src/funcs/catalogListUpsellProducts.ts +1 -1
- package/src/funcs/catalogSearchProducts.ts +1 -1
- package/src/funcs/commonListCountryPincodes.ts +1 -1
- package/src/funcs/customersCreateAddress.ts +1 -1
- package/src/funcs/customersDeleteAddress.ts +1 -1
- package/src/funcs/customersGetAddressDetail.ts +1 -1
- package/src/funcs/customersGetLoyaltyDetails.ts +1 -1
- package/src/funcs/customersListAddresses.ts +1 -1
- package/src/funcs/customersListUserReviews.ts +1 -1
- package/src/funcs/customersUpdateAddressDetail.ts +1 -1
- package/src/funcs/ordersCancelOrder.ts +1 -1
- package/src/funcs/ordersCreateOrder.ts +1 -1
- package/src/funcs/ordersGetOrderDetail.ts +1 -1
- package/src/funcs/ordersGetPaymentStatus.ts +1 -1
- package/src/funcs/ordersListOrderShipments.ts +1 -1
- package/src/funcs/ordersListOrders.ts +1 -1
- package/src/funcs/ordersRetryOrderPayment.ts +1 -1
- package/src/funcs/shippingCheckServiceability.ts +1 -1
- package/src/funcs/shippingFulfillmentOptions.ts +1 -1
- package/src/funcs/shippingShippingMethods.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/anonymoususer.ts +1 -1
- package/src/models/components/appliedcoupon.ts +1 -1
- package/src/models/components/appliedpromotion.ts +1 -1
- package/src/models/components/banktransfer.ts +1 -1
- package/src/models/components/booleanattribute.ts +1 -1
- package/src/models/components/cardpayment.ts +1 -1
- package/src/models/components/cart.ts +1 -36
- package/src/models/components/cartbasedserviceabilitycheck.ts +1 -1
- package/src/models/components/cartitem.ts +1 -1
- package/src/models/components/category.ts +1 -1
- package/src/models/components/collectinstore.ts +1 -1
- package/src/models/components/collectinstorefulfillment.ts +1 -1
- package/src/models/components/colorattribute.ts +1 -1
- package/src/models/components/coloroption.ts +1 -1
- package/src/models/components/currency.ts +1 -1
- package/src/models/components/customeraddress.ts +1 -1
- package/src/models/components/customeraddressinput.ts +1 -1
- package/src/models/components/customerloyalty.ts +1 -1
- package/src/models/components/customerreadyforreview.ts +1 -1
- package/src/models/components/customerreview.ts +1 -1
- package/src/models/components/dateattribute.ts +1 -1
- package/src/models/components/deliveryfulfillment.ts +5 -5
- package/src/models/components/deliveryfulfillmentinput.ts +90 -0
- package/src/models/components/discountbasedpromotion.ts +1 -1
- package/src/models/components/fixedpricepromotion.ts +1 -1
- package/src/models/components/freegoodspromotion.ts +1 -1
- package/src/models/components/fulfillmentitem.ts +98 -0
- package/src/models/components/fulfillmentiteminput.ts +88 -0
- package/src/models/components/fulfillmentpreference.ts +41 -13
- package/src/models/components/fulfillmentpreferenceinput.ts +121 -0
- package/src/models/components/generateotpwithemail.ts +1 -1
- package/src/models/components/generateotpwithphone.ts +1 -1
- package/src/models/components/index.ts +4 -1
- package/src/models/components/item.ts +1 -1
- package/src/models/components/juspaypaymentgatewayparams.ts +1 -1
- package/src/models/components/juspaypaymentinfo.ts +1 -1
- package/src/models/components/lotbatchdetail.ts +1 -1
- package/src/models/components/multiselectattribute.ts +1 -1
- package/src/models/components/netbankingpayment.ts +1 -1
- package/src/models/components/notificationchannelpreferences.ts +1 -1
- package/src/models/components/notificationpreferences.ts +1 -1
- package/src/models/components/numberattribute.ts +1 -1
- package/src/models/components/order.ts +1 -36
- package/src/models/components/orderdetail.ts +1 -36
- package/src/models/components/orderitem.ts +1 -1
- package/src/models/components/orderlist.ts +1 -1
- package/src/models/components/orderpayment.ts +1 -1
- package/src/models/components/ordershipment.ts +1 -1
- package/src/models/components/pagination.ts +1 -1
- package/src/models/components/partialcollectanddelivery.ts +71 -254
- package/src/models/components/partialcollectanddeliveryinput.ts +59 -265
- package/src/models/components/paymentgateway.ts +2 -2
- package/src/models/components/paymentgatewayparams.ts +1 -1
- package/src/models/components/payupaymentgatewayparams.ts +1 -1
- package/src/models/components/payupaymentinfo.ts +1 -1
- package/src/models/components/pincode.ts +1 -1
- package/src/models/components/pincodeserviceability.ts +1 -1
- package/src/models/components/product.ts +1 -1
- package/src/models/components/productattribute.ts +1 -1
- package/src/models/components/productbundleitem.ts +1 -1
- package/src/models/components/productcategory.ts +1 -1
- package/src/models/components/productdetail.ts +1 -1
- package/src/models/components/productimage.ts +1 -1
- package/src/models/components/productpricing.ts +1 -1
- package/src/models/components/productpromotion.ts +1 -1
- package/src/models/components/productreview.ts +1 -1
- package/src/models/components/productshipping.ts +1 -1
- package/src/models/components/productsubscription.ts +1 -1
- package/src/models/components/productvideo.ts +1 -1
- package/src/models/components/searchproduct.ts +1 -1
- package/src/models/components/seo.ts +1 -1
- package/src/models/components/shipmentitem.ts +1 -1
- package/src/models/components/singleselectattribute.ts +1 -1
- package/src/models/components/singleselectoption.ts +1 -1
- package/src/models/components/textattribute.ts +1 -1
- package/src/models/components/updatecartitem.ts +1 -1
- package/src/models/components/upipayment.ts +1 -1
- package/src/models/components/user.ts +2 -2
- package/src/models/components/variant.ts +1 -1
- package/src/models/components/variantdetail.ts +1 -1
- package/src/models/components/variantoption.ts +1 -1
- package/src/models/components/volumebasedpromotion.ts +1 -1
- package/src/models/components/walletpayment.ts +1 -1
- package/src/models/operations/createaddress.ts +1 -1
- package/src/models/operations/getaddressdetail.ts +1 -1
- package/src/models/operations/listaddresses.ts +1 -1
- package/src/models/operations/updateaddressdetail.ts +1 -1
- package/src/models/operations/updatefulfillmentpreference.ts +75 -90
- package/src/sdk/auth.ts +10 -10
- package/src/sdk/carts.ts +13 -13
- package/src/sdk/catalog.ts +11 -11
- package/src/sdk/common.ts +1 -1
- package/src/sdk/customers.ts +7 -7
- package/src/sdk/orders.ts +7 -7
- package/src/sdk/shipping.ts +3 -3
- package/esm/models/components/fulfillmenttype.d.ts +0 -37
- package/esm/models/components/fulfillmenttype.d.ts.map +0 -1
- package/esm/models/components/fulfillmenttype.js +0 -28
- package/esm/models/components/fulfillmenttype.js.map +0 -1
- package/src/models/components/fulfillmenttype.ts +0 -40
|
@@ -7,214 +7,66 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
items?: Array<Items> | undefined;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export type PartialCollectAndDeliveryItems = {
|
|
24
|
-
productId: string;
|
|
25
|
-
productName: string;
|
|
26
|
-
variantId: string | null;
|
|
27
|
-
variantName: string | null;
|
|
28
|
-
quantity: number;
|
|
10
|
+
import {
|
|
11
|
+
FulfillmentItem,
|
|
12
|
+
FulfillmentItem$inboundSchema,
|
|
13
|
+
FulfillmentItem$Outbound,
|
|
14
|
+
FulfillmentItem$outboundSchema,
|
|
15
|
+
} from "./fulfillmentitem.js";
|
|
16
|
+
|
|
17
|
+
export type PartialCollectAndDeliveryCollectInStore = {
|
|
18
|
+
pickupLocationId?: string | undefined;
|
|
19
|
+
items?: Array<FulfillmentItem> | undefined;
|
|
29
20
|
};
|
|
30
21
|
|
|
31
22
|
export type Delivery = {
|
|
32
23
|
shippingProviderId: string | null;
|
|
33
|
-
shippingProviderName
|
|
24
|
+
shippingProviderName?: string | null | undefined;
|
|
34
25
|
courierCompanyId?: string | null | undefined;
|
|
35
26
|
courierCompanyName?: string | null | undefined;
|
|
36
|
-
items: Array<
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export type Preference = {
|
|
40
|
-
pickup: Pickup;
|
|
41
|
-
delivery: Delivery;
|
|
27
|
+
items: Array<FulfillmentItem>;
|
|
42
28
|
};
|
|
43
29
|
|
|
44
30
|
/**
|
|
45
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PartialCollectAndDelivery} - API reference for the PartialCollectAndDelivery schema
|
|
31
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PartialCollectAndDelivery} - API reference for the PartialCollectAndDelivery schema
|
|
46
32
|
*/
|
|
47
33
|
export type PartialCollectAndDelivery = {
|
|
48
34
|
fulfillmentType?: "partial-collect-and-delivery" | undefined;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/** @internal */
|
|
53
|
-
export const Items$inboundSchema: z.ZodType<Items, z.ZodTypeDef, unknown> = z
|
|
54
|
-
.object({
|
|
55
|
-
product_id: z.string(),
|
|
56
|
-
product_name: z.string(),
|
|
57
|
-
variant_id: z.nullable(z.string()),
|
|
58
|
-
variant_name: z.nullable(z.string()),
|
|
59
|
-
quantity: z.number().int(),
|
|
60
|
-
}).transform((v) => {
|
|
61
|
-
return remap$(v, {
|
|
62
|
-
"product_id": "productId",
|
|
63
|
-
"product_name": "productName",
|
|
64
|
-
"variant_id": "variantId",
|
|
65
|
-
"variant_name": "variantName",
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
/** @internal */
|
|
70
|
-
export type Items$Outbound = {
|
|
71
|
-
product_id: string;
|
|
72
|
-
product_name: string;
|
|
73
|
-
variant_id: string | null;
|
|
74
|
-
variant_name: string | null;
|
|
75
|
-
quantity: number;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
/** @internal */
|
|
79
|
-
export const Items$outboundSchema: z.ZodType<
|
|
80
|
-
Items$Outbound,
|
|
81
|
-
z.ZodTypeDef,
|
|
82
|
-
Items
|
|
83
|
-
> = z.object({
|
|
84
|
-
productId: z.string(),
|
|
85
|
-
productName: z.string(),
|
|
86
|
-
variantId: z.nullable(z.string()),
|
|
87
|
-
variantName: z.nullable(z.string()),
|
|
88
|
-
quantity: z.number().int(),
|
|
89
|
-
}).transform((v) => {
|
|
90
|
-
return remap$(v, {
|
|
91
|
-
productId: "product_id",
|
|
92
|
-
productName: "product_name",
|
|
93
|
-
variantId: "variant_id",
|
|
94
|
-
variantName: "variant_name",
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
101
|
-
*/
|
|
102
|
-
export namespace Items$ {
|
|
103
|
-
/** @deprecated use `Items$inboundSchema` instead. */
|
|
104
|
-
export const inboundSchema = Items$inboundSchema;
|
|
105
|
-
/** @deprecated use `Items$outboundSchema` instead. */
|
|
106
|
-
export const outboundSchema = Items$outboundSchema;
|
|
107
|
-
/** @deprecated use `Items$Outbound` instead. */
|
|
108
|
-
export type Outbound = Items$Outbound;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export function itemsToJSON(items: Items): string {
|
|
112
|
-
return JSON.stringify(Items$outboundSchema.parse(items));
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export function itemsFromJSON(
|
|
116
|
-
jsonString: string,
|
|
117
|
-
): SafeParseResult<Items, SDKValidationError> {
|
|
118
|
-
return safeParse(
|
|
119
|
-
jsonString,
|
|
120
|
-
(x) => Items$inboundSchema.parse(JSON.parse(x)),
|
|
121
|
-
`Failed to parse 'Items' from JSON`,
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/** @internal */
|
|
126
|
-
export const Pickup$inboundSchema: z.ZodType<Pickup, z.ZodTypeDef, unknown> = z
|
|
127
|
-
.object({
|
|
128
|
-
items: z.array(z.lazy(() => Items$inboundSchema)).optional(),
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
/** @internal */
|
|
132
|
-
export type Pickup$Outbound = {
|
|
133
|
-
items?: Array<Items$Outbound> | undefined;
|
|
35
|
+
collectInStore: PartialCollectAndDeliveryCollectInStore;
|
|
36
|
+
delivery: Delivery;
|
|
134
37
|
};
|
|
135
38
|
|
|
136
39
|
/** @internal */
|
|
137
|
-
export const
|
|
138
|
-
|
|
139
|
-
z.ZodTypeDef,
|
|
140
|
-
Pickup
|
|
141
|
-
> = z.object({
|
|
142
|
-
items: z.array(z.lazy(() => Items$outboundSchema)).optional(),
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
148
|
-
*/
|
|
149
|
-
export namespace Pickup$ {
|
|
150
|
-
/** @deprecated use `Pickup$inboundSchema` instead. */
|
|
151
|
-
export const inboundSchema = Pickup$inboundSchema;
|
|
152
|
-
/** @deprecated use `Pickup$outboundSchema` instead. */
|
|
153
|
-
export const outboundSchema = Pickup$outboundSchema;
|
|
154
|
-
/** @deprecated use `Pickup$Outbound` instead. */
|
|
155
|
-
export type Outbound = Pickup$Outbound;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export function pickupToJSON(pickup: Pickup): string {
|
|
159
|
-
return JSON.stringify(Pickup$outboundSchema.parse(pickup));
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export function pickupFromJSON(
|
|
163
|
-
jsonString: string,
|
|
164
|
-
): SafeParseResult<Pickup, SDKValidationError> {
|
|
165
|
-
return safeParse(
|
|
166
|
-
jsonString,
|
|
167
|
-
(x) => Pickup$inboundSchema.parse(JSON.parse(x)),
|
|
168
|
-
`Failed to parse 'Pickup' from JSON`,
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/** @internal */
|
|
173
|
-
export const PartialCollectAndDeliveryItems$inboundSchema: z.ZodType<
|
|
174
|
-
PartialCollectAndDeliveryItems,
|
|
40
|
+
export const PartialCollectAndDeliveryCollectInStore$inboundSchema: z.ZodType<
|
|
41
|
+
PartialCollectAndDeliveryCollectInStore,
|
|
175
42
|
z.ZodTypeDef,
|
|
176
43
|
unknown
|
|
177
44
|
> = z.object({
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
variant_id: z.nullable(z.string()),
|
|
181
|
-
variant_name: z.nullable(z.string()),
|
|
182
|
-
quantity: z.number().int(),
|
|
45
|
+
pickup_location_id: z.string().optional(),
|
|
46
|
+
items: z.array(FulfillmentItem$inboundSchema).optional(),
|
|
183
47
|
}).transform((v) => {
|
|
184
48
|
return remap$(v, {
|
|
185
|
-
"
|
|
186
|
-
"product_name": "productName",
|
|
187
|
-
"variant_id": "variantId",
|
|
188
|
-
"variant_name": "variantName",
|
|
49
|
+
"pickup_location_id": "pickupLocationId",
|
|
189
50
|
});
|
|
190
51
|
});
|
|
191
52
|
|
|
192
53
|
/** @internal */
|
|
193
|
-
export type
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
variant_id: string | null;
|
|
197
|
-
variant_name: string | null;
|
|
198
|
-
quantity: number;
|
|
54
|
+
export type PartialCollectAndDeliveryCollectInStore$Outbound = {
|
|
55
|
+
pickup_location_id?: string | undefined;
|
|
56
|
+
items?: Array<FulfillmentItem$Outbound> | undefined;
|
|
199
57
|
};
|
|
200
58
|
|
|
201
59
|
/** @internal */
|
|
202
|
-
export const
|
|
203
|
-
|
|
60
|
+
export const PartialCollectAndDeliveryCollectInStore$outboundSchema: z.ZodType<
|
|
61
|
+
PartialCollectAndDeliveryCollectInStore$Outbound,
|
|
204
62
|
z.ZodTypeDef,
|
|
205
|
-
|
|
63
|
+
PartialCollectAndDeliveryCollectInStore
|
|
206
64
|
> = z.object({
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
variantId: z.nullable(z.string()),
|
|
210
|
-
variantName: z.nullable(z.string()),
|
|
211
|
-
quantity: z.number().int(),
|
|
65
|
+
pickupLocationId: z.string().optional(),
|
|
66
|
+
items: z.array(FulfillmentItem$outboundSchema).optional(),
|
|
212
67
|
}).transform((v) => {
|
|
213
68
|
return remap$(v, {
|
|
214
|
-
|
|
215
|
-
productName: "product_name",
|
|
216
|
-
variantId: "variant_id",
|
|
217
|
-
variantName: "variant_name",
|
|
69
|
+
pickupLocationId: "pickup_location_id",
|
|
218
70
|
});
|
|
219
71
|
});
|
|
220
72
|
|
|
@@ -222,32 +74,41 @@ export const PartialCollectAndDeliveryItems$outboundSchema: z.ZodType<
|
|
|
222
74
|
* @internal
|
|
223
75
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
224
76
|
*/
|
|
225
|
-
export namespace
|
|
226
|
-
/** @deprecated use `
|
|
227
|
-
export const inboundSchema =
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
77
|
+
export namespace PartialCollectAndDeliveryCollectInStore$ {
|
|
78
|
+
/** @deprecated use `PartialCollectAndDeliveryCollectInStore$inboundSchema` instead. */
|
|
79
|
+
export const inboundSchema =
|
|
80
|
+
PartialCollectAndDeliveryCollectInStore$inboundSchema;
|
|
81
|
+
/** @deprecated use `PartialCollectAndDeliveryCollectInStore$outboundSchema` instead. */
|
|
82
|
+
export const outboundSchema =
|
|
83
|
+
PartialCollectAndDeliveryCollectInStore$outboundSchema;
|
|
84
|
+
/** @deprecated use `PartialCollectAndDeliveryCollectInStore$Outbound` instead. */
|
|
85
|
+
export type Outbound = PartialCollectAndDeliveryCollectInStore$Outbound;
|
|
232
86
|
}
|
|
233
87
|
|
|
234
|
-
export function
|
|
235
|
-
|
|
88
|
+
export function partialCollectAndDeliveryCollectInStoreToJSON(
|
|
89
|
+
partialCollectAndDeliveryCollectInStore:
|
|
90
|
+
PartialCollectAndDeliveryCollectInStore,
|
|
236
91
|
): string {
|
|
237
92
|
return JSON.stringify(
|
|
238
|
-
|
|
239
|
-
|
|
93
|
+
PartialCollectAndDeliveryCollectInStore$outboundSchema.parse(
|
|
94
|
+
partialCollectAndDeliveryCollectInStore,
|
|
240
95
|
),
|
|
241
96
|
);
|
|
242
97
|
}
|
|
243
98
|
|
|
244
|
-
export function
|
|
99
|
+
export function partialCollectAndDeliveryCollectInStoreFromJSON(
|
|
245
100
|
jsonString: string,
|
|
246
|
-
): SafeParseResult<
|
|
101
|
+
): SafeParseResult<
|
|
102
|
+
PartialCollectAndDeliveryCollectInStore,
|
|
103
|
+
SDKValidationError
|
|
104
|
+
> {
|
|
247
105
|
return safeParse(
|
|
248
106
|
jsonString,
|
|
249
|
-
(x) =>
|
|
250
|
-
|
|
107
|
+
(x) =>
|
|
108
|
+
PartialCollectAndDeliveryCollectInStore$inboundSchema.parse(
|
|
109
|
+
JSON.parse(x),
|
|
110
|
+
),
|
|
111
|
+
`Failed to parse 'PartialCollectAndDeliveryCollectInStore' from JSON`,
|
|
251
112
|
);
|
|
252
113
|
}
|
|
253
114
|
|
|
@@ -258,10 +119,10 @@ export const Delivery$inboundSchema: z.ZodType<
|
|
|
258
119
|
unknown
|
|
259
120
|
> = z.object({
|
|
260
121
|
shipping_provider_id: z.nullable(z.string()),
|
|
261
|
-
shipping_provider_name: z.nullable(z.string()),
|
|
122
|
+
shipping_provider_name: z.nullable(z.string()).optional(),
|
|
262
123
|
courier_company_id: z.nullable(z.string()).optional(),
|
|
263
124
|
courier_company_name: z.nullable(z.string()).optional(),
|
|
264
|
-
items: z.array(
|
|
125
|
+
items: z.array(FulfillmentItem$inboundSchema),
|
|
265
126
|
}).transform((v) => {
|
|
266
127
|
return remap$(v, {
|
|
267
128
|
"shipping_provider_id": "shippingProviderId",
|
|
@@ -274,10 +135,10 @@ export const Delivery$inboundSchema: z.ZodType<
|
|
|
274
135
|
/** @internal */
|
|
275
136
|
export type Delivery$Outbound = {
|
|
276
137
|
shipping_provider_id: string | null;
|
|
277
|
-
shipping_provider_name
|
|
138
|
+
shipping_provider_name?: string | null | undefined;
|
|
278
139
|
courier_company_id?: string | null | undefined;
|
|
279
140
|
courier_company_name?: string | null | undefined;
|
|
280
|
-
items: Array<
|
|
141
|
+
items: Array<FulfillmentItem$Outbound>;
|
|
281
142
|
};
|
|
282
143
|
|
|
283
144
|
/** @internal */
|
|
@@ -287,10 +148,10 @@ export const Delivery$outboundSchema: z.ZodType<
|
|
|
287
148
|
Delivery
|
|
288
149
|
> = z.object({
|
|
289
150
|
shippingProviderId: z.nullable(z.string()),
|
|
290
|
-
shippingProviderName: z.nullable(z.string()),
|
|
151
|
+
shippingProviderName: z.nullable(z.string()).optional(),
|
|
291
152
|
courierCompanyId: z.nullable(z.string()).optional(),
|
|
292
153
|
courierCompanyName: z.nullable(z.string()).optional(),
|
|
293
|
-
items: z.array(
|
|
154
|
+
items: z.array(FulfillmentItem$outboundSchema),
|
|
294
155
|
}).transform((v) => {
|
|
295
156
|
return remap$(v, {
|
|
296
157
|
shippingProviderId: "shipping_provider_id",
|
|
@@ -327,59 +188,6 @@ export function deliveryFromJSON(
|
|
|
327
188
|
);
|
|
328
189
|
}
|
|
329
190
|
|
|
330
|
-
/** @internal */
|
|
331
|
-
export const Preference$inboundSchema: z.ZodType<
|
|
332
|
-
Preference,
|
|
333
|
-
z.ZodTypeDef,
|
|
334
|
-
unknown
|
|
335
|
-
> = z.object({
|
|
336
|
-
pickup: z.lazy(() => Pickup$inboundSchema),
|
|
337
|
-
delivery: z.lazy(() => Delivery$inboundSchema),
|
|
338
|
-
});
|
|
339
|
-
|
|
340
|
-
/** @internal */
|
|
341
|
-
export type Preference$Outbound = {
|
|
342
|
-
pickup: Pickup$Outbound;
|
|
343
|
-
delivery: Delivery$Outbound;
|
|
344
|
-
};
|
|
345
|
-
|
|
346
|
-
/** @internal */
|
|
347
|
-
export const Preference$outboundSchema: z.ZodType<
|
|
348
|
-
Preference$Outbound,
|
|
349
|
-
z.ZodTypeDef,
|
|
350
|
-
Preference
|
|
351
|
-
> = z.object({
|
|
352
|
-
pickup: z.lazy(() => Pickup$outboundSchema),
|
|
353
|
-
delivery: z.lazy(() => Delivery$outboundSchema),
|
|
354
|
-
});
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* @internal
|
|
358
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
359
|
-
*/
|
|
360
|
-
export namespace Preference$ {
|
|
361
|
-
/** @deprecated use `Preference$inboundSchema` instead. */
|
|
362
|
-
export const inboundSchema = Preference$inboundSchema;
|
|
363
|
-
/** @deprecated use `Preference$outboundSchema` instead. */
|
|
364
|
-
export const outboundSchema = Preference$outboundSchema;
|
|
365
|
-
/** @deprecated use `Preference$Outbound` instead. */
|
|
366
|
-
export type Outbound = Preference$Outbound;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export function preferenceToJSON(preference: Preference): string {
|
|
370
|
-
return JSON.stringify(Preference$outboundSchema.parse(preference));
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
export function preferenceFromJSON(
|
|
374
|
-
jsonString: string,
|
|
375
|
-
): SafeParseResult<Preference, SDKValidationError> {
|
|
376
|
-
return safeParse(
|
|
377
|
-
jsonString,
|
|
378
|
-
(x) => Preference$inboundSchema.parse(JSON.parse(x)),
|
|
379
|
-
`Failed to parse 'Preference' from JSON`,
|
|
380
|
-
);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
191
|
/** @internal */
|
|
384
192
|
export const PartialCollectAndDelivery$inboundSchema: z.ZodType<
|
|
385
193
|
PartialCollectAndDelivery,
|
|
@@ -389,17 +197,22 @@ export const PartialCollectAndDelivery$inboundSchema: z.ZodType<
|
|
|
389
197
|
fulfillment_type: z.literal("partial-collect-and-delivery").default(
|
|
390
198
|
"partial-collect-and-delivery",
|
|
391
199
|
).optional(),
|
|
392
|
-
|
|
200
|
+
"collect-in-store": z.lazy(() =>
|
|
201
|
+
PartialCollectAndDeliveryCollectInStore$inboundSchema
|
|
202
|
+
),
|
|
203
|
+
delivery: z.lazy(() => Delivery$inboundSchema),
|
|
393
204
|
}).transform((v) => {
|
|
394
205
|
return remap$(v, {
|
|
395
206
|
"fulfillment_type": "fulfillmentType",
|
|
207
|
+
"collect-in-store": "collectInStore",
|
|
396
208
|
});
|
|
397
209
|
});
|
|
398
210
|
|
|
399
211
|
/** @internal */
|
|
400
212
|
export type PartialCollectAndDelivery$Outbound = {
|
|
401
213
|
fulfillment_type: "partial-collect-and-delivery";
|
|
402
|
-
|
|
214
|
+
"collect-in-store": PartialCollectAndDeliveryCollectInStore$Outbound;
|
|
215
|
+
delivery: Delivery$Outbound;
|
|
403
216
|
};
|
|
404
217
|
|
|
405
218
|
/** @internal */
|
|
@@ -411,10 +224,14 @@ export const PartialCollectAndDelivery$outboundSchema: z.ZodType<
|
|
|
411
224
|
fulfillmentType: z.literal("partial-collect-and-delivery").default(
|
|
412
225
|
"partial-collect-and-delivery" as const,
|
|
413
226
|
),
|
|
414
|
-
|
|
227
|
+
collectInStore: z.lazy(() =>
|
|
228
|
+
PartialCollectAndDeliveryCollectInStore$outboundSchema
|
|
229
|
+
),
|
|
230
|
+
delivery: z.lazy(() => Delivery$outboundSchema),
|
|
415
231
|
}).transform((v) => {
|
|
416
232
|
return remap$(v, {
|
|
417
233
|
fulfillmentType: "fulfillment_type",
|
|
234
|
+
collectInStore: "collect-in-store",
|
|
418
235
|
});
|
|
419
236
|
});
|
|
420
237
|
|