ce-storefront 0.19.0 → 0.20.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/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/components/anonymoususer.d.ts +0 -30
- package/esm/models/components/anonymoususer.d.ts.map +1 -1
- package/esm/models/components/anonymoususer.js +0 -41
- package/esm/models/components/anonymoususer.js.map +1 -1
- package/esm/models/components/appliedcoupon.d.ts +0 -53
- package/esm/models/components/appliedcoupon.d.ts.map +1 -1
- package/esm/models/components/appliedcoupon.js +0 -46
- package/esm/models/components/appliedcoupon.js.map +1 -1
- package/esm/models/components/appliedpromotion.d.ts +0 -51
- package/esm/models/components/appliedpromotion.d.ts.map +1 -1
- package/esm/models/components/appliedpromotion.js +0 -49
- package/esm/models/components/appliedpromotion.js.map +1 -1
- package/esm/models/components/associatedoption.d.ts +2 -19
- package/esm/models/components/associatedoption.d.ts.map +1 -1
- package/esm/models/components/associatedoption.js +2 -18
- package/esm/models/components/associatedoption.js.map +1 -1
- package/esm/models/components/banktransfer.d.ts +0 -70
- package/esm/models/components/banktransfer.d.ts.map +1 -1
- package/esm/models/components/banktransfer.js +0 -65
- package/esm/models/components/banktransfer.js.map +1 -1
- package/esm/models/components/booleanattribute.d.ts +0 -23
- package/esm/models/components/booleanattribute.d.ts.map +1 -1
- package/esm/models/components/booleanattribute.js +0 -22
- package/esm/models/components/booleanattribute.js.map +1 -1
- package/esm/models/components/cardpayment.d.ts +0 -92
- package/esm/models/components/cardpayment.d.ts.map +1 -1
- package/esm/models/components/cardpayment.js +0 -78
- package/esm/models/components/cardpayment.js.map +1 -1
- package/esm/models/components/cart.d.ts +6 -69
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +6 -107
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts +0 -17
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.js +0 -25
- package/esm/models/components/cartbasedserviceabilitycheck.js.map +1 -1
- package/esm/models/components/cartitem.d.ts +3 -76
- package/esm/models/components/cartitem.d.ts.map +1 -1
- package/esm/models/components/cartitem.js +3 -96
- package/esm/models/components/cartitem.js.map +1 -1
- package/esm/models/components/category.d.ts +0 -25
- package/esm/models/components/category.d.ts.map +1 -1
- package/esm/models/components/category.js +0 -29
- package/esm/models/components/category.js.map +1 -1
- package/esm/models/components/collectinstore.d.ts +0 -23
- package/esm/models/components/collectinstore.d.ts.map +1 -1
- package/esm/models/components/collectinstore.js +0 -28
- package/esm/models/components/collectinstore.js.map +1 -1
- package/esm/models/components/collectinstorefulfillment.d.ts +0 -40
- package/esm/models/components/collectinstorefulfillment.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillment.js +0 -41
- package/esm/models/components/collectinstorefulfillment.js.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.d.ts +0 -17
- package/esm/models/components/collectinstorefulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.js +0 -26
- package/esm/models/components/collectinstorefulfillmentinput.js.map +1 -1
- package/esm/models/components/colorattribute.d.ts +0 -43
- package/esm/models/components/colorattribute.d.ts.map +1 -1
- package/esm/models/components/colorattribute.js +0 -41
- package/esm/models/components/colorattribute.js.map +1 -1
- package/esm/models/components/coloroption.d.ts +0 -41
- package/esm/models/components/coloroption.d.ts.map +1 -1
- package/esm/models/components/coloroption.js +0 -39
- package/esm/models/components/coloroption.js.map +1 -1
- package/esm/models/components/currency.d.ts +0 -21
- package/esm/models/components/currency.d.ts.map +1 -1
- package/esm/models/components/currency.js +0 -20
- package/esm/models/components/currency.js.map +1 -1
- package/esm/models/components/customeraddress.d.ts +0 -35
- package/esm/models/components/customeraddress.d.ts.map +1 -1
- package/esm/models/components/customeraddress.js +0 -46
- package/esm/models/components/customeraddress.js.map +1 -1
- package/esm/models/components/customeraddressinput.d.ts +0 -17
- package/esm/models/components/customeraddressinput.d.ts.map +1 -1
- package/esm/models/components/customeraddressinput.js +0 -43
- package/esm/models/components/customeraddressinput.js.map +1 -1
- package/esm/models/components/customerloyalty.d.ts +0 -27
- package/esm/models/components/customerloyalty.d.ts.map +1 -1
- package/esm/models/components/customerloyalty.js +0 -38
- package/esm/models/components/customerloyalty.js.map +1 -1
- package/esm/models/components/customerreadyforreview.d.ts +0 -24
- package/esm/models/components/customerreadyforreview.d.ts.map +1 -1
- package/esm/models/components/customerreadyforreview.js +0 -32
- package/esm/models/components/customerreadyforreview.js.map +1 -1
- package/esm/models/components/customerreview.d.ts +0 -99
- package/esm/models/components/customerreview.d.ts.map +1 -1
- package/esm/models/components/customerreview.js +0 -121
- package/esm/models/components/customerreview.js.map +1 -1
- package/esm/models/components/dateattribute.d.ts +0 -23
- package/esm/models/components/dateattribute.d.ts.map +1 -1
- package/esm/models/components/dateattribute.js +0 -22
- package/esm/models/components/dateattribute.js.map +1 -1
- package/esm/models/components/deliveryfulfillment.d.ts +0 -42
- package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillment.js +0 -45
- package/esm/models/components/deliveryfulfillment.js.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.d.ts +0 -17
- package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.js +0 -27
- package/esm/models/components/deliveryfulfillmentinput.js.map +1 -1
- package/esm/models/components/discountbasedpromotion.d.ts +0 -62
- package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
- package/esm/models/components/discountbasedpromotion.js +0 -54
- package/esm/models/components/discountbasedpromotion.js.map +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +0 -42
- package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
- package/esm/models/components/fixedpricepromotion.js +0 -37
- package/esm/models/components/fixedpricepromotion.js.map +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +0 -43
- package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
- package/esm/models/components/freegoodspromotion.js +0 -39
- package/esm/models/components/freegoodspromotion.js.map +1 -1
- package/esm/models/components/fulfillmentitem.d.ts +0 -23
- package/esm/models/components/fulfillmentitem.d.ts.map +1 -1
- package/esm/models/components/fulfillmentitem.js +0 -29
- package/esm/models/components/fulfillmentitem.js.map +1 -1
- package/esm/models/components/fulfillmentiteminput.d.ts +0 -17
- package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentiteminput.js +0 -26
- package/esm/models/components/fulfillmentiteminput.js.map +1 -1
- package/esm/models/components/fulfillmentpreference.d.ts +3 -26
- package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreference.js +3 -26
- package/esm/models/components/fulfillmentpreference.js.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.d.ts +0 -17
- package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.js +3 -27
- package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -1
- package/esm/models/components/generateotpwithemail.d.ts +0 -39
- package/esm/models/components/generateotpwithemail.d.ts.map +1 -1
- package/esm/models/components/generateotpwithemail.js +1 -39
- package/esm/models/components/generateotpwithemail.js.map +1 -1
- package/esm/models/components/generateotpwithphone.d.ts +0 -57
- package/esm/models/components/generateotpwithphone.d.ts.map +1 -1
- package/esm/models/components/generateotpwithphone.js +2 -55
- package/esm/models/components/generateotpwithphone.js.map +1 -1
- package/esm/models/components/item.d.ts +8 -73
- package/esm/models/components/item.d.ts.map +1 -1
- package/esm/models/components/item.js +8 -79
- package/esm/models/components/item.js.map +1 -1
- package/esm/models/components/juspayexpresscheckout.d.ts +0 -17
- package/esm/models/components/juspayexpresscheckout.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckout.js +5 -28
- package/esm/models/components/juspayexpresscheckout.js.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts +0 -129
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.js +0 -147
- package/esm/models/components/juspayexpresscheckoutresponse.js.map +1 -1
- package/esm/models/components/juspayhypercheckout.d.ts +0 -33
- package/esm/models/components/juspayhypercheckout.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckout.js +1 -45
- package/esm/models/components/juspayhypercheckout.js.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.d.ts +0 -125
- package/esm/models/components/juspayhypercheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.js +0 -130
- package/esm/models/components/juspayhypercheckoutresponse.js.map +1 -1
- package/esm/models/components/juspaynetbanking.d.ts +2 -19
- package/esm/models/components/juspaynetbanking.d.ts.map +1 -1
- package/esm/models/components/juspaynetbanking.js +1 -39
- package/esm/models/components/juspaynetbanking.js.map +1 -1
- package/esm/models/components/juspaynewcard.d.ts +2 -39
- package/esm/models/components/juspaynewcard.d.ts.map +1 -1
- package/esm/models/components/juspaynewcard.js +2 -69
- package/esm/models/components/juspaynewcard.js.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.d.ts +2 -39
- package/esm/models/components/juspaysavedcardtoken.d.ts.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.js +2 -63
- package/esm/models/components/juspaysavedcardtoken.js.map +1 -1
- package/esm/models/components/juspayupicollect.d.ts +2 -19
- package/esm/models/components/juspayupicollect.d.ts.map +1 -1
- package/esm/models/components/juspayupicollect.js +1 -41
- package/esm/models/components/juspayupicollect.js.map +1 -1
- package/esm/models/components/juspayupiintent.d.ts +2 -19
- package/esm/models/components/juspayupiintent.d.ts.map +1 -1
- package/esm/models/components/juspayupiintent.js +1 -43
- package/esm/models/components/juspayupiintent.js.map +1 -1
- package/esm/models/components/lotbatchdetail.d.ts +0 -23
- package/esm/models/components/lotbatchdetail.d.ts.map +1 -1
- package/esm/models/components/lotbatchdetail.js +0 -29
- package/esm/models/components/lotbatchdetail.js.map +1 -1
- package/esm/models/components/multiselectattribute.d.ts +0 -23
- package/esm/models/components/multiselectattribute.d.ts.map +1 -1
- package/esm/models/components/multiselectattribute.js +0 -22
- package/esm/models/components/multiselectattribute.js.map +1 -1
- package/esm/models/components/netbankingpayment.d.ts +0 -69
- package/esm/models/components/netbankingpayment.d.ts.map +1 -1
- package/esm/models/components/netbankingpayment.js +0 -63
- package/esm/models/components/netbankingpayment.js.map +1 -1
- package/esm/models/components/notificationchannelpreferences.d.ts +0 -12
- package/esm/models/components/notificationchannelpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationchannelpreferences.js +0 -11
- package/esm/models/components/notificationchannelpreferences.js.map +1 -1
- package/esm/models/components/notificationpreferences.d.ts +0 -12
- package/esm/models/components/notificationpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationpreferences.js +0 -11
- package/esm/models/components/notificationpreferences.js.map +1 -1
- package/esm/models/components/numberattribute.d.ts +0 -23
- package/esm/models/components/numberattribute.d.ts.map +1 -1
- package/esm/models/components/numberattribute.js +0 -22
- package/esm/models/components/numberattribute.js.map +1 -1
- package/esm/models/components/order.d.ts +5 -202
- package/esm/models/components/order.d.ts.map +1 -1
- package/esm/models/components/order.js +5 -207
- package/esm/models/components/order.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +6 -204
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +6 -209
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/orderitem.d.ts +2 -73
- package/esm/models/components/orderitem.d.ts.map +1 -1
- package/esm/models/components/orderitem.js +2 -93
- package/esm/models/components/orderitem.js.map +1 -1
- package/esm/models/components/orderlist.d.ts +1 -122
- package/esm/models/components/orderlist.d.ts.map +1 -1
- package/esm/models/components/orderlist.js +1 -101
- package/esm/models/components/orderlist.js.map +1 -1
- package/esm/models/components/orderpayment.d.ts +5 -22
- package/esm/models/components/orderpayment.d.ts.map +1 -1
- package/esm/models/components/orderpayment.js +5 -27
- package/esm/models/components/orderpayment.js.map +1 -1
- package/esm/models/components/ordershipment.d.ts +1 -76
- package/esm/models/components/ordershipment.d.ts.map +1 -1
- package/esm/models/components/ordershipment.js +1 -71
- package/esm/models/components/ordershipment.js.map +1 -1
- package/esm/models/components/pagination.d.ts +0 -23
- package/esm/models/components/pagination.d.ts.map +1 -1
- package/esm/models/components/pagination.js +0 -29
- package/esm/models/components/pagination.js.map +1 -1
- package/esm/models/components/partialcollectanddelivery.d.ts +1 -85
- package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddelivery.js +1 -96
- package/esm/models/components/partialcollectanddelivery.js.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.d.ts +0 -47
- package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.js +1 -75
- package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
- package/esm/models/components/paymentmethodpayload.d.ts +0 -17
- package/esm/models/components/paymentmethodpayload.d.ts.map +1 -1
- package/esm/models/components/paymentmethodpayload.js +2 -22
- package/esm/models/components/paymentmethodpayload.js.map +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +0 -55
- package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
- package/esm/models/components/payupaymentinfo.js +0 -58
- package/esm/models/components/payupaymentinfo.js.map +1 -1
- package/esm/models/components/pincode.d.ts +0 -23
- package/esm/models/components/pincode.d.ts.map +1 -1
- package/esm/models/components/pincode.js +0 -28
- package/esm/models/components/pincode.js.map +1 -1
- package/esm/models/components/pincodeserviceability.d.ts +0 -123
- package/esm/models/components/pincodeserviceability.d.ts.map +1 -1
- package/esm/models/components/pincodeserviceability.js +0 -130
- package/esm/models/components/pincodeserviceability.js.map +1 -1
- package/esm/models/components/product.d.ts +10 -74
- package/esm/models/components/product.d.ts.map +1 -1
- package/esm/models/components/product.js +10 -80
- package/esm/models/components/product.js.map +1 -1
- package/esm/models/components/productattribute.d.ts +7 -38
- package/esm/models/components/productattribute.d.ts.map +1 -1
- package/esm/models/components/productattribute.js +7 -39
- package/esm/models/components/productattribute.js.map +1 -1
- package/esm/models/components/productbundleitem.d.ts +8 -74
- package/esm/models/components/productbundleitem.d.ts.map +1 -1
- package/esm/models/components/productbundleitem.js +8 -80
- package/esm/models/components/productbundleitem.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +1 -27
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +1 -32
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +13 -87
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +13 -94
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productimage.d.ts +0 -26
- package/esm/models/components/productimage.d.ts.map +1 -1
- package/esm/models/components/productimage.js +0 -34
- package/esm/models/components/productimage.js.map +1 -1
- package/esm/models/components/productpricing.d.ts +0 -28
- package/esm/models/components/productpricing.d.ts.map +1 -1
- package/esm/models/components/productpricing.js +0 -39
- package/esm/models/components/productpricing.js.map +1 -1
- package/esm/models/components/productpromotion.d.ts +4 -59
- package/esm/models/components/productpromotion.d.ts.map +1 -1
- package/esm/models/components/productpromotion.js +4 -72
- package/esm/models/components/productpromotion.js.map +1 -1
- package/esm/models/components/productreview.d.ts +0 -110
- package/esm/models/components/productreview.d.ts.map +1 -1
- package/esm/models/components/productreview.js +0 -122
- package/esm/models/components/productreview.js.map +1 -1
- package/esm/models/components/productshipping.d.ts +0 -22
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +0 -28
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/productsubscription.d.ts +0 -70
- package/esm/models/components/productsubscription.d.ts.map +1 -1
- package/esm/models/components/productsubscription.js +0 -69
- package/esm/models/components/productsubscription.js.map +1 -1
- package/esm/models/components/productvideo.d.ts +0 -26
- package/esm/models/components/productvideo.d.ts.map +1 -1
- package/esm/models/components/productvideo.js +0 -35
- package/esm/models/components/productvideo.js.map +1 -1
- package/esm/models/components/savedpaymentmethod.d.ts +0 -172
- package/esm/models/components/savedpaymentmethod.d.ts.map +1 -1
- package/esm/models/components/savedpaymentmethod.js +0 -227
- package/esm/models/components/savedpaymentmethod.js.map +1 -1
- package/esm/models/components/searchproduct.d.ts +0 -17
- package/esm/models/components/searchproduct.d.ts.map +1 -1
- package/esm/models/components/searchproduct.js +0 -22
- package/esm/models/components/searchproduct.js.map +1 -1
- package/esm/models/components/security.d.ts +0 -17
- package/esm/models/components/security.d.ts.map +1 -1
- package/esm/models/components/security.js +0 -23
- package/esm/models/components/security.js.map +1 -1
- package/esm/models/components/seo.d.ts +0 -22
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +0 -22
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/shipmentitem.d.ts +0 -25
- package/esm/models/components/shipmentitem.d.ts.map +1 -1
- package/esm/models/components/shipmentitem.js +0 -32
- package/esm/models/components/shipmentitem.js.map +1 -1
- package/esm/models/components/singleselectattribute.d.ts +0 -23
- package/esm/models/components/singleselectattribute.d.ts.map +1 -1
- package/esm/models/components/singleselectattribute.js +0 -22
- package/esm/models/components/singleselectattribute.js.map +1 -1
- package/esm/models/components/singleselectoption.d.ts +0 -21
- package/esm/models/components/singleselectoption.d.ts.map +1 -1
- package/esm/models/components/singleselectoption.js +0 -20
- package/esm/models/components/singleselectoption.js.map +1 -1
- package/esm/models/components/textattribute.d.ts +0 -23
- package/esm/models/components/textattribute.d.ts.map +1 -1
- package/esm/models/components/textattribute.js +0 -22
- package/esm/models/components/textattribute.js.map +1 -1
- package/esm/models/components/updatecartitem.d.ts +0 -17
- package/esm/models/components/updatecartitem.d.ts.map +1 -1
- package/esm/models/components/updatecartitem.js +0 -26
- package/esm/models/components/updatecartitem.js.map +1 -1
- package/esm/models/components/upipayment.d.ts +0 -69
- package/esm/models/components/upipayment.d.ts.map +1 -1
- package/esm/models/components/upipayment.js +0 -63
- package/esm/models/components/upipayment.js.map +1 -1
- package/esm/models/components/user.d.ts +0 -68
- package/esm/models/components/user.d.ts.map +1 -1
- package/esm/models/components/user.js +0 -92
- package/esm/models/components/user.js.map +1 -1
- package/esm/models/components/variant.d.ts +6 -45
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +6 -53
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +11 -86
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +11 -93
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/components/variantoption.d.ts +0 -74
- package/esm/models/components/variantoption.d.ts.map +1 -1
- package/esm/models/components/variantoption.js +0 -67
- package/esm/models/components/variantoption.js.map +1 -1
- package/esm/models/components/volumebasedpromotion.d.ts +0 -62
- package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
- package/esm/models/components/volumebasedpromotion.js +0 -60
- package/esm/models/components/volumebasedpromotion.js.map +1 -1
- package/esm/models/components/walletpayment.d.ts +0 -69
- package/esm/models/components/walletpayment.d.ts.map +1 -1
- package/esm/models/components/walletpayment.js +0 -63
- package/esm/models/components/walletpayment.js.map +1 -1
- package/esm/models/errors/badrequest.d.ts +0 -38
- package/esm/models/errors/badrequest.d.ts.map +1 -1
- package/esm/models/errors/badrequest.js +0 -36
- package/esm/models/errors/badrequest.js.map +1 -1
- package/esm/models/errors/notfound.d.ts +0 -20
- package/esm/models/errors/notfound.d.ts.map +1 -1
- package/esm/models/errors/notfound.js +0 -19
- package/esm/models/errors/notfound.js.map +1 -1
- package/esm/models/errors/unauthorized.d.ts +0 -20
- package/esm/models/errors/unauthorized.d.ts.map +1 -1
- package/esm/models/errors/unauthorized.js +0 -19
- package/esm/models/errors/unauthorized.js.map +1 -1
- package/esm/models/operations/applycoupon.d.ts +0 -70
- package/esm/models/operations/applycoupon.d.ts.map +1 -1
- package/esm/models/operations/applycoupon.js +0 -83
- package/esm/models/operations/applycoupon.js.map +1 -1
- package/esm/models/operations/cancelorder.d.ts +0 -88
- package/esm/models/operations/cancelorder.d.ts.map +1 -1
- package/esm/models/operations/cancelorder.js +1 -103
- package/esm/models/operations/cancelorder.js.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.d.ts +0 -55
- package/esm/models/operations/checkpincodeserviceability.d.ts.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.js +0 -60
- package/esm/models/operations/checkpincodeserviceability.js.map +1 -1
- package/esm/models/operations/createaddress.d.ts +0 -70
- package/esm/models/operations/createaddress.d.ts.map +1 -1
- package/esm/models/operations/createaddress.js +0 -108
- package/esm/models/operations/createaddress.js.map +1 -1
- package/esm/models/operations/createcart.d.ts +0 -55
- package/esm/models/operations/createcart.d.ts.map +1 -1
- package/esm/models/operations/createcart.js +0 -57
- package/esm/models/operations/createcart.js.map +1 -1
- package/esm/models/operations/createcartaddress.d.ts +0 -100
- package/esm/models/operations/createcartaddress.d.ts.map +1 -1
- package/esm/models/operations/createcartaddress.js +0 -131
- package/esm/models/operations/createcartaddress.js.map +1 -1
- package/esm/models/operations/createorder.d.ts +0 -74
- package/esm/models/operations/createorder.d.ts.map +1 -1
- package/esm/models/operations/createorder.js +0 -93
- package/esm/models/operations/createorder.js.map +1 -1
- package/esm/models/operations/deleteaddress.d.ts +0 -35
- package/esm/models/operations/deleteaddress.d.ts.map +1 -1
- package/esm/models/operations/deleteaddress.js +0 -43
- package/esm/models/operations/deleteaddress.js.map +1 -1
- package/esm/models/operations/deletecart.d.ts +0 -35
- package/esm/models/operations/deletecart.d.ts.map +1 -1
- package/esm/models/operations/deletecart.js +0 -37
- package/esm/models/operations/deletecart.js.map +1 -1
- package/esm/models/operations/deleteusercart.d.ts +0 -35
- package/esm/models/operations/deleteusercart.d.ts.map +1 -1
- package/esm/models/operations/deleteusercart.js +0 -41
- package/esm/models/operations/deleteusercart.js.map +1 -1
- package/esm/models/operations/generateotp.d.ts +0 -71
- package/esm/models/operations/generateotp.d.ts.map +1 -1
- package/esm/models/operations/generateotp.js +0 -90
- package/esm/models/operations/generateotp.js.map +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +0 -92
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +0 -112
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/getanonymoustoken.d.ts +0 -57
- package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
- package/esm/models/operations/getanonymoustoken.js +0 -67
- package/esm/models/operations/getanonymoustoken.js.map +1 -1
- package/esm/models/operations/getcart.d.ts +0 -55
- package/esm/models/operations/getcart.d.ts.map +1 -1
- package/esm/models/operations/getcart.js +0 -56
- package/esm/models/operations/getcart.js.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.d.ts +0 -82
- package/esm/models/operations/getfulfillmentoptions.d.ts.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.js +0 -81
- package/esm/models/operations/getfulfillmentoptions.js.map +1 -1
- package/esm/models/operations/getloyaltydetails.d.ts +0 -56
- package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
- package/esm/models/operations/getloyaltydetails.js +0 -65
- package/esm/models/operations/getloyaltydetails.js.map +1 -1
- package/esm/models/operations/getorderdetail.d.ts +0 -55
- package/esm/models/operations/getorderdetail.d.ts.map +1 -1
- package/esm/models/operations/getorderdetail.js +0 -60
- package/esm/models/operations/getorderdetail.js.map +1 -1
- package/esm/models/operations/getpaymentstatus.d.ts +0 -80
- package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
- package/esm/models/operations/getpaymentstatus.js +0 -82
- package/esm/models/operations/getpaymentstatus.js.map +1 -1
- package/esm/models/operations/getproductdetail.d.ts +0 -55
- package/esm/models/operations/getproductdetail.d.ts.map +1 -1
- package/esm/models/operations/getproductdetail.js +0 -63
- package/esm/models/operations/getproductdetail.js.map +1 -1
- package/esm/models/operations/getusercart.d.ts +0 -55
- package/esm/models/operations/getusercart.d.ts.map +1 -1
- package/esm/models/operations/getusercart.js +0 -60
- package/esm/models/operations/getusercart.js.map +1 -1
- package/esm/models/operations/getuserdetail.d.ts +0 -55
- package/esm/models/operations/getuserdetail.d.ts.map +1 -1
- package/esm/models/operations/getuserdetail.js +0 -56
- package/esm/models/operations/getuserdetail.js.map +1 -1
- package/esm/models/operations/getvariantdetail.d.ts +0 -55
- package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
- package/esm/models/operations/getvariantdetail.js +0 -65
- package/esm/models/operations/getvariantdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +0 -93
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +0 -114
- package/esm/models/operations/listaddresses.js.map +1 -1
- package/esm/models/operations/listcategories.d.ts +0 -56
- package/esm/models/operations/listcategories.d.ts.map +1 -1
- package/esm/models/operations/listcategories.js +0 -68
- package/esm/models/operations/listcategories.js.map +1 -1
- package/esm/models/operations/listcountrypincodes.d.ts +0 -55
- package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
- package/esm/models/operations/listcountrypincodes.js +0 -63
- package/esm/models/operations/listcountrypincodes.js.map +1 -1
- package/esm/models/operations/listcrosssellproducts.d.ts +0 -56
- package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
- package/esm/models/operations/listcrosssellproducts.js +0 -67
- package/esm/models/operations/listcrosssellproducts.js.map +1 -1
- package/esm/models/operations/listorders.d.ts +0 -56
- package/esm/models/operations/listorders.d.ts.map +1 -1
- package/esm/models/operations/listorders.js +0 -66
- package/esm/models/operations/listorders.js.map +1 -1
- package/esm/models/operations/listordershipments.d.ts +0 -55
- package/esm/models/operations/listordershipments.d.ts.map +1 -1
- package/esm/models/operations/listordershipments.js +0 -60
- package/esm/models/operations/listordershipments.js.map +1 -1
- package/esm/models/operations/listproductreviews.d.ts +0 -57
- package/esm/models/operations/listproductreviews.d.ts.map +1 -1
- package/esm/models/operations/listproductreviews.js +0 -73
- package/esm/models/operations/listproductreviews.js.map +1 -1
- package/esm/models/operations/listproducts.d.ts +0 -56
- package/esm/models/operations/listproducts.d.ts.map +1 -1
- package/esm/models/operations/listproducts.js +0 -70
- package/esm/models/operations/listproducts.js.map +1 -1
- package/esm/models/operations/listproductvariants.d.ts +0 -55
- package/esm/models/operations/listproductvariants.d.ts.map +1 -1
- package/esm/models/operations/listproductvariants.js +0 -63
- package/esm/models/operations/listproductvariants.js.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.d.ts +0 -55
- package/esm/models/operations/listsavedpaymentmethods.d.ts.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.js +0 -65
- package/esm/models/operations/listsavedpaymentmethods.js.map +1 -1
- package/esm/models/operations/listsimilarproducts.d.ts +0 -56
- package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
- package/esm/models/operations/listsimilarproducts.js +0 -67
- package/esm/models/operations/listsimilarproducts.js.map +1 -1
- package/esm/models/operations/listskus.d.ts +0 -56
- package/esm/models/operations/listskus.d.ts.map +1 -1
- package/esm/models/operations/listskus.js +0 -69
- package/esm/models/operations/listskus.js.map +1 -1
- package/esm/models/operations/listupsellproducts.d.ts +0 -56
- package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
- package/esm/models/operations/listupsellproducts.js +0 -67
- package/esm/models/operations/listupsellproducts.js.map +1 -1
- package/esm/models/operations/listuserreviews.d.ts +0 -56
- package/esm/models/operations/listuserreviews.d.ts.map +1 -1
- package/esm/models/operations/listuserreviews.js +0 -66
- package/esm/models/operations/listuserreviews.js.map +1 -1
- package/esm/models/operations/loginwithemail.d.ts +0 -71
- package/esm/models/operations/loginwithemail.d.ts.map +1 -1
- package/esm/models/operations/loginwithemail.js +0 -91
- package/esm/models/operations/loginwithemail.js.map +1 -1
- package/esm/models/operations/loginwithphone.d.ts +0 -71
- package/esm/models/operations/loginwithphone.d.ts.map +1 -1
- package/esm/models/operations/loginwithphone.js +0 -93
- package/esm/models/operations/loginwithphone.js.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.d.ts +0 -71
- package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.js +0 -93
- package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
- package/esm/models/operations/logout.d.ts +0 -42
- package/esm/models/operations/logout.d.ts.map +1 -1
- package/esm/models/operations/logout.js +0 -45
- package/esm/models/operations/logout.js.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.d.ts +0 -70
- package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.js +0 -83
- package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
- package/esm/models/operations/refreshtoken.d.ts +0 -56
- package/esm/models/operations/refreshtoken.d.ts.map +1 -1
- package/esm/models/operations/refreshtoken.js +0 -66
- package/esm/models/operations/refreshtoken.js.map +1 -1
- package/esm/models/operations/removecoupon.d.ts +0 -55
- package/esm/models/operations/removecoupon.d.ts.map +1 -1
- package/esm/models/operations/removecoupon.js +0 -56
- package/esm/models/operations/removecoupon.js.map +1 -1
- package/esm/models/operations/removeloyaltypoints.d.ts +0 -55
- package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/removeloyaltypoints.js +0 -56
- package/esm/models/operations/removeloyaltypoints.js.map +1 -1
- package/esm/models/operations/retryorderpayment.d.ts +0 -87
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +0 -112
- package/esm/models/operations/retryorderpayment.js.map +1 -1
- package/esm/models/operations/searchproducts.d.ts +0 -84
- package/esm/models/operations/searchproducts.d.ts.map +1 -1
- package/esm/models/operations/searchproducts.js +0 -89
- package/esm/models/operations/searchproducts.js.map +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +0 -70
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/updateaddressdetail.js +0 -110
- package/esm/models/operations/updateaddressdetail.js.map +1 -1
- package/esm/models/operations/updatecart.d.ts +0 -55
- package/esm/models/operations/updatecart.d.ts.map +1 -1
- package/esm/models/operations/updatecart.js +0 -61
- package/esm/models/operations/updatecart.js.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.d.ts +0 -55
- package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.js +0 -61
- package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
- package/esm/models/operations/updateuser.d.ts +0 -55
- package/esm/models/operations/updateuser.d.ts.map +1 -1
- package/esm/models/operations/updateuser.js +0 -61
- package/esm/models/operations/updateuser.js.map +1 -1
- package/esm/models/operations/verifyotp.d.ts +0 -85
- package/esm/models/operations/verifyotp.d.ts.map +1 -1
- package/esm/models/operations/verifyotp.js +1 -84
- package/esm/models/operations/verifyotp.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/anonymoususer.ts +0 -65
- package/src/models/components/appliedcoupon.ts +0 -67
- package/src/models/components/appliedpromotion.ts +0 -77
- package/src/models/components/associatedoption.ts +1 -41
- package/src/models/components/banktransfer.ts +0 -93
- package/src/models/components/booleanattribute.ts +0 -43
- package/src/models/components/cardpayment.ts +0 -108
- package/src/models/components/cart.ts +3 -177
- package/src/models/components/cartbasedserviceabilitycheck.ts +0 -41
- package/src/models/components/cartitem.ts +0 -146
- package/src/models/components/category.ts +0 -48
- package/src/models/components/collectinstore.ts +0 -45
- package/src/models/components/collectinstorefulfillment.ts +0 -64
- package/src/models/components/collectinstorefulfillmentinput.ts +0 -42
- package/src/models/components/colorattribute.ts +0 -76
- package/src/models/components/coloroption.ts +0 -68
- package/src/models/components/currency.ts +0 -35
- package/src/models/components/customeraddress.ts +0 -77
- package/src/models/components/customeraddressinput.ts +0 -59
- package/src/models/components/customerloyalty.ts +0 -61
- package/src/models/components/customerreadyforreview.ts +0 -54
- package/src/models/components/customerreview.ts +0 -208
- package/src/models/components/dateattribute.ts +0 -39
- package/src/models/components/deliveryfulfillment.ts +0 -71
- package/src/models/components/deliveryfulfillmentinput.ts +0 -43
- package/src/models/components/discountbasedpromotion.ts +0 -81
- package/src/models/components/fixedpricepromotion.ts +0 -58
- package/src/models/components/freegoodspromotion.ts +0 -61
- package/src/models/components/fulfillmentitem.ts +0 -48
- package/src/models/components/fulfillmentiteminput.ts +0 -42
- package/src/models/components/fulfillmentpreference.ts +0 -59
- package/src/models/components/fulfillmentpreferenceinput.ts +0 -51
- package/src/models/components/generateotpwithemail.ts +1 -58
- package/src/models/components/generateotpwithphone.ts +2 -75
- package/src/models/components/item.ts +1 -128
- package/src/models/components/juspayexpresscheckout.ts +0 -44
- package/src/models/components/juspayexpresscheckoutresponse.ts +0 -246
- package/src/models/components/juspayhypercheckout.ts +1 -63
- package/src/models/components/juspayhypercheckoutresponse.ts +0 -220
- package/src/models/components/juspaynetbanking.ts +3 -57
- package/src/models/components/juspaynewcard.ts +4 -92
- package/src/models/components/juspaysavedcardtoken.ts +4 -87
- package/src/models/components/juspayupicollect.ts +3 -59
- package/src/models/components/juspayupiintent.ts +3 -61
- package/src/models/components/lotbatchdetail.ts +0 -46
- package/src/models/components/multiselectattribute.ts +0 -43
- package/src/models/components/netbankingpayment.ts +0 -94
- package/src/models/components/notificationchannelpreferences.ts +0 -15
- package/src/models/components/notificationpreferences.ts +0 -15
- package/src/models/components/numberattribute.ts +0 -41
- package/src/models/components/order.ts +2 -327
- package/src/models/components/orderdetail.ts +3 -346
- package/src/models/components/orderitem.ts +0 -144
- package/src/models/components/orderlist.ts +1 -161
- package/src/models/components/orderpayment.ts +4 -64
- package/src/models/components/ordershipment.ts +1 -110
- package/src/models/components/pagination.ts +0 -46
- package/src/models/components/partialcollectanddelivery.ts +0 -165
- package/src/models/components/partialcollectanddeliveryinput.ts +0 -133
- package/src/models/components/paymentmethodpayload.ts +0 -38
- package/src/models/components/payupaymentinfo.ts +0 -103
- package/src/models/components/pincode.ts +0 -45
- package/src/models/components/pincodeserviceability.ts +0 -203
- package/src/models/components/product.ts +4 -147
- package/src/models/components/productattribute.ts +2 -90
- package/src/models/components/productbundleitem.ts +1 -137
- package/src/models/components/productcategory.ts +1 -59
- package/src/models/components/productdetail.ts +6 -180
- package/src/models/components/productimage.ts +0 -54
- package/src/models/components/productpricing.ts +0 -61
- package/src/models/components/productpromotion.ts +0 -131
- package/src/models/components/productreview.ts +0 -194
- package/src/models/components/productshipping.ts +0 -46
- package/src/models/components/productsubscription.ts +0 -103
- package/src/models/components/productvideo.ts +0 -55
- package/src/models/components/savedpaymentmethod.ts +0 -362
- package/src/models/components/searchproduct.ts +0 -38
- package/src/models/components/security.ts +0 -39
- package/src/models/components/seo.ts +0 -34
- package/src/models/components/shipmentitem.ts +0 -51
- package/src/models/components/singleselectattribute.ts +0 -43
- package/src/models/components/singleselectoption.ts +0 -39
- package/src/models/components/textattribute.ts +0 -39
- package/src/models/components/updatecartitem.ts +0 -42
- package/src/models/components/upipayment.ts +0 -90
- package/src/models/components/user.ts +0 -131
- package/src/models/components/variant.ts +1 -94
- package/src/models/components/variantdetail.ts +4 -168
- package/src/models/components/variantoption.ts +0 -107
- package/src/models/components/volumebasedpromotion.ts +0 -96
- package/src/models/components/walletpayment.ts +0 -90
- package/src/models/errors/badrequest.ts +0 -62
- package/src/models/errors/notfound.ts +0 -33
- package/src/models/errors/unauthorized.ts +0 -33
- package/src/models/operations/applycoupon.ts +0 -147
- package/src/models/operations/cancelorder.ts +1 -169
- package/src/models/operations/checkpincodeserviceability.ts +0 -119
- package/src/models/operations/createaddress.ts +0 -172
- package/src/models/operations/createcart.ts +0 -107
- package/src/models/operations/createcartaddress.ts +0 -225
- package/src/models/operations/createorder.ts +0 -162
- package/src/models/operations/deleteaddress.ts +0 -75
- package/src/models/operations/deletecart.ts +0 -69
- package/src/models/operations/deleteusercart.ts +0 -73
- package/src/models/operations/generateotp.ts +0 -155
- package/src/models/operations/getaddressdetail.ts +0 -195
- package/src/models/operations/getanonymoustoken.ts +0 -117
- package/src/models/operations/getcart.ts +0 -102
- package/src/models/operations/getfulfillmentoptions.ts +0 -143
- package/src/models/operations/getloyaltydetails.ts +0 -118
- package/src/models/operations/getorderdetail.ts +0 -110
- package/src/models/operations/getpaymentstatus.ts +0 -139
- package/src/models/operations/getproductdetail.ts +0 -115
- package/src/models/operations/getusercart.ts +0 -110
- package/src/models/operations/getuserdetail.ts +0 -106
- package/src/models/operations/getvariantdetail.ts +0 -117
- package/src/models/operations/listaddresses.ts +0 -196
- package/src/models/operations/listcategories.ts +0 -119
- package/src/models/operations/listcountrypincodes.ts +0 -115
- package/src/models/operations/listcrosssellproducts.ts +0 -123
- package/src/models/operations/listorders.ts +0 -117
- package/src/models/operations/listordershipments.ts +0 -112
- package/src/models/operations/listproductreviews.ts +0 -127
- package/src/models/operations/listproducts.ts +0 -121
- package/src/models/operations/listproductvariants.ts +0 -115
- package/src/models/operations/listsavedpaymentmethods.ts +0 -121
- package/src/models/operations/listsimilarproducts.ts +0 -120
- package/src/models/operations/listskus.ts +0 -118
- package/src/models/operations/listupsellproducts.ts +0 -120
- package/src/models/operations/listuserreviews.ts +0 -121
- package/src/models/operations/loginwithemail.ts +0 -156
- package/src/models/operations/loginwithphone.ts +0 -158
- package/src/models/operations/loginwithwhatsapp.ts +0 -160
- package/src/models/operations/logout.ts +0 -79
- package/src/models/operations/redeemloyaltypoints.ts +0 -149
- package/src/models/operations/refreshtoken.ts +0 -117
- package/src/models/operations/removecoupon.ts +0 -106
- package/src/models/operations/removeloyaltypoints.ts +0 -108
- package/src/models/operations/retryorderpayment.ts +0 -201
- package/src/models/operations/searchproducts.ts +0 -156
- package/src/models/operations/updateaddressdetail.ts +0 -178
- package/src/models/operations/updatecart.ts +0 -111
- package/src/models/operations/updatefulfillmentpreference.ts +0 -121
- package/src/models/operations/updateuser.ts +0 -111
- package/src/models/operations/verifyotp.ts +1 -138
- package/docs/sdks/auth/README.md +0 -874
- package/docs/sdks/carts/README.md +0 -1030
- package/docs/sdks/catalog/README.md +0 -876
- package/docs/sdks/common/README.md +0 -87
- package/docs/sdks/customers/README.md +0 -714
- package/docs/sdks/orders/README.md +0 -571
- package/docs/sdks/shipping/README.md +0 -169
- package/examples/README.md +0 -31
|
@@ -4,12 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
7
|
import {
|
|
11
8
|
FulfillmentItemInput,
|
|
12
|
-
FulfillmentItemInput$inboundSchema,
|
|
13
9
|
FulfillmentItemInput$Outbound,
|
|
14
10
|
FulfillmentItemInput$outboundSchema,
|
|
15
11
|
} from "./fulfillmentiteminput.js";
|
|
@@ -34,21 +30,6 @@ export type PartialCollectAndDeliveryInput = {
|
|
|
34
30
|
delivery: PartialCollectAndDeliveryDelivery;
|
|
35
31
|
};
|
|
36
32
|
|
|
37
|
-
/** @internal */
|
|
38
|
-
export const PartialCollectAndDeliveryCollectInStoreInput$inboundSchema:
|
|
39
|
-
z.ZodType<
|
|
40
|
-
PartialCollectAndDeliveryCollectInStoreInput,
|
|
41
|
-
z.ZodTypeDef,
|
|
42
|
-
unknown
|
|
43
|
-
> = z.object({
|
|
44
|
-
pickup_location_id: z.string(),
|
|
45
|
-
items: z.array(FulfillmentItemInput$inboundSchema),
|
|
46
|
-
}).transform((v) => {
|
|
47
|
-
return remap$(v, {
|
|
48
|
-
"pickup_location_id": "pickupLocationId",
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
|
|
52
33
|
/** @internal */
|
|
53
34
|
export type PartialCollectAndDeliveryCollectInStoreInput$Outbound = {
|
|
54
35
|
pickup_location_id: string;
|
|
@@ -70,21 +51,6 @@ export const PartialCollectAndDeliveryCollectInStoreInput$outboundSchema:
|
|
|
70
51
|
});
|
|
71
52
|
});
|
|
72
53
|
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
-
*/
|
|
77
|
-
export namespace PartialCollectAndDeliveryCollectInStoreInput$ {
|
|
78
|
-
/** @deprecated use `PartialCollectAndDeliveryCollectInStoreInput$inboundSchema` instead. */
|
|
79
|
-
export const inboundSchema =
|
|
80
|
-
PartialCollectAndDeliveryCollectInStoreInput$inboundSchema;
|
|
81
|
-
/** @deprecated use `PartialCollectAndDeliveryCollectInStoreInput$outboundSchema` instead. */
|
|
82
|
-
export const outboundSchema =
|
|
83
|
-
PartialCollectAndDeliveryCollectInStoreInput$outboundSchema;
|
|
84
|
-
/** @deprecated use `PartialCollectAndDeliveryCollectInStoreInput$Outbound` instead. */
|
|
85
|
-
export type Outbound = PartialCollectAndDeliveryCollectInStoreInput$Outbound;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
54
|
export function partialCollectAndDeliveryCollectInStoreInputToJSON(
|
|
89
55
|
partialCollectAndDeliveryCollectInStoreInput:
|
|
90
56
|
PartialCollectAndDeliveryCollectInStoreInput,
|
|
@@ -96,38 +62,6 @@ export function partialCollectAndDeliveryCollectInStoreInputToJSON(
|
|
|
96
62
|
);
|
|
97
63
|
}
|
|
98
64
|
|
|
99
|
-
export function partialCollectAndDeliveryCollectInStoreInputFromJSON(
|
|
100
|
-
jsonString: string,
|
|
101
|
-
): SafeParseResult<
|
|
102
|
-
PartialCollectAndDeliveryCollectInStoreInput,
|
|
103
|
-
SDKValidationError
|
|
104
|
-
> {
|
|
105
|
-
return safeParse(
|
|
106
|
-
jsonString,
|
|
107
|
-
(x) =>
|
|
108
|
-
PartialCollectAndDeliveryCollectInStoreInput$inboundSchema.parse(
|
|
109
|
-
JSON.parse(x),
|
|
110
|
-
),
|
|
111
|
-
`Failed to parse 'PartialCollectAndDeliveryCollectInStoreInput' from JSON`,
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/** @internal */
|
|
116
|
-
export const PartialCollectAndDeliveryDelivery$inboundSchema: z.ZodType<
|
|
117
|
-
PartialCollectAndDeliveryDelivery,
|
|
118
|
-
z.ZodTypeDef,
|
|
119
|
-
unknown
|
|
120
|
-
> = z.object({
|
|
121
|
-
shipping_provider_id: z.string(),
|
|
122
|
-
courier_company_id: z.nullable(z.string()).optional(),
|
|
123
|
-
items: z.array(FulfillmentItemInput$inboundSchema),
|
|
124
|
-
}).transform((v) => {
|
|
125
|
-
return remap$(v, {
|
|
126
|
-
"shipping_provider_id": "shippingProviderId",
|
|
127
|
-
"courier_company_id": "courierCompanyId",
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
|
|
131
65
|
/** @internal */
|
|
132
66
|
export type PartialCollectAndDeliveryDelivery$Outbound = {
|
|
133
67
|
shipping_provider_id: string;
|
|
@@ -151,20 +85,6 @@ export const PartialCollectAndDeliveryDelivery$outboundSchema: z.ZodType<
|
|
|
151
85
|
});
|
|
152
86
|
});
|
|
153
87
|
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
157
|
-
*/
|
|
158
|
-
export namespace PartialCollectAndDeliveryDelivery$ {
|
|
159
|
-
/** @deprecated use `PartialCollectAndDeliveryDelivery$inboundSchema` instead. */
|
|
160
|
-
export const inboundSchema = PartialCollectAndDeliveryDelivery$inboundSchema;
|
|
161
|
-
/** @deprecated use `PartialCollectAndDeliveryDelivery$outboundSchema` instead. */
|
|
162
|
-
export const outboundSchema =
|
|
163
|
-
PartialCollectAndDeliveryDelivery$outboundSchema;
|
|
164
|
-
/** @deprecated use `PartialCollectAndDeliveryDelivery$Outbound` instead. */
|
|
165
|
-
export type Outbound = PartialCollectAndDeliveryDelivery$Outbound;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
88
|
export function partialCollectAndDeliveryDeliveryToJSON(
|
|
169
89
|
partialCollectAndDeliveryDelivery: PartialCollectAndDeliveryDelivery,
|
|
170
90
|
): string {
|
|
@@ -175,36 +95,6 @@ export function partialCollectAndDeliveryDeliveryToJSON(
|
|
|
175
95
|
);
|
|
176
96
|
}
|
|
177
97
|
|
|
178
|
-
export function partialCollectAndDeliveryDeliveryFromJSON(
|
|
179
|
-
jsonString: string,
|
|
180
|
-
): SafeParseResult<PartialCollectAndDeliveryDelivery, SDKValidationError> {
|
|
181
|
-
return safeParse(
|
|
182
|
-
jsonString,
|
|
183
|
-
(x) => PartialCollectAndDeliveryDelivery$inboundSchema.parse(JSON.parse(x)),
|
|
184
|
-
`Failed to parse 'PartialCollectAndDeliveryDelivery' from JSON`,
|
|
185
|
-
);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
/** @internal */
|
|
189
|
-
export const PartialCollectAndDeliveryInput$inboundSchema: z.ZodType<
|
|
190
|
-
PartialCollectAndDeliveryInput,
|
|
191
|
-
z.ZodTypeDef,
|
|
192
|
-
unknown
|
|
193
|
-
> = z.object({
|
|
194
|
-
fulfillment_type: z.literal("partial-collect-and-delivery").default(
|
|
195
|
-
"partial-collect-and-delivery",
|
|
196
|
-
).optional(),
|
|
197
|
-
"collect-in-store": z.lazy(() =>
|
|
198
|
-
PartialCollectAndDeliveryCollectInStoreInput$inboundSchema
|
|
199
|
-
),
|
|
200
|
-
delivery: z.lazy(() => PartialCollectAndDeliveryDelivery$inboundSchema),
|
|
201
|
-
}).transform((v) => {
|
|
202
|
-
return remap$(v, {
|
|
203
|
-
"fulfillment_type": "fulfillmentType",
|
|
204
|
-
"collect-in-store": "collectInStore",
|
|
205
|
-
});
|
|
206
|
-
});
|
|
207
|
-
|
|
208
98
|
/** @internal */
|
|
209
99
|
export type PartialCollectAndDeliveryInput$Outbound = {
|
|
210
100
|
fulfillment_type: "partial-collect-and-delivery";
|
|
@@ -230,19 +120,6 @@ export const PartialCollectAndDeliveryInput$outboundSchema: z.ZodType<
|
|
|
230
120
|
});
|
|
231
121
|
});
|
|
232
122
|
|
|
233
|
-
/**
|
|
234
|
-
* @internal
|
|
235
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
236
|
-
*/
|
|
237
|
-
export namespace PartialCollectAndDeliveryInput$ {
|
|
238
|
-
/** @deprecated use `PartialCollectAndDeliveryInput$inboundSchema` instead. */
|
|
239
|
-
export const inboundSchema = PartialCollectAndDeliveryInput$inboundSchema;
|
|
240
|
-
/** @deprecated use `PartialCollectAndDeliveryInput$outboundSchema` instead. */
|
|
241
|
-
export const outboundSchema = PartialCollectAndDeliveryInput$outboundSchema;
|
|
242
|
-
/** @deprecated use `PartialCollectAndDeliveryInput$Outbound` instead. */
|
|
243
|
-
export type Outbound = PartialCollectAndDeliveryInput$Outbound;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
123
|
export function partialCollectAndDeliveryInputToJSON(
|
|
247
124
|
partialCollectAndDeliveryInput: PartialCollectAndDeliveryInput,
|
|
248
125
|
): string {
|
|
@@ -252,13 +129,3 @@ export function partialCollectAndDeliveryInputToJSON(
|
|
|
252
129
|
),
|
|
253
130
|
);
|
|
254
131
|
}
|
|
255
|
-
|
|
256
|
-
export function partialCollectAndDeliveryInputFromJSON(
|
|
257
|
-
jsonString: string,
|
|
258
|
-
): SafeParseResult<PartialCollectAndDeliveryInput, SDKValidationError> {
|
|
259
|
-
return safeParse(
|
|
260
|
-
jsonString,
|
|
261
|
-
(x) => PartialCollectAndDeliveryInput$inboundSchema.parse(JSON.parse(x)),
|
|
262
|
-
`Failed to parse 'PartialCollectAndDeliveryInput' from JSON`,
|
|
263
|
-
);
|
|
264
|
-
}
|
|
@@ -3,18 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
6
|
import {
|
|
10
7
|
JusPayExpressCheckout,
|
|
11
|
-
JusPayExpressCheckout$inboundSchema,
|
|
12
8
|
JusPayExpressCheckout$Outbound,
|
|
13
9
|
JusPayExpressCheckout$outboundSchema,
|
|
14
10
|
} from "./juspayexpresscheckout.js";
|
|
15
11
|
import {
|
|
16
12
|
JusPayHyperCheckout,
|
|
17
|
-
JusPayHyperCheckout$inboundSchema,
|
|
18
13
|
JusPayHyperCheckout$Outbound,
|
|
19
14
|
JusPayHyperCheckout$outboundSchema,
|
|
20
15
|
} from "./juspayhypercheckout.js";
|
|
@@ -24,16 +19,6 @@ import {
|
|
|
24
19
|
*/
|
|
25
20
|
export type PaymentMethodPayload = JusPayHyperCheckout | JusPayExpressCheckout;
|
|
26
21
|
|
|
27
|
-
/** @internal */
|
|
28
|
-
export const PaymentMethodPayload$inboundSchema: z.ZodType<
|
|
29
|
-
PaymentMethodPayload,
|
|
30
|
-
z.ZodTypeDef,
|
|
31
|
-
unknown
|
|
32
|
-
> = z.union([
|
|
33
|
-
JusPayHyperCheckout$inboundSchema,
|
|
34
|
-
JusPayExpressCheckout$inboundSchema,
|
|
35
|
-
]);
|
|
36
|
-
|
|
37
22
|
/** @internal */
|
|
38
23
|
export type PaymentMethodPayload$Outbound =
|
|
39
24
|
| JusPayHyperCheckout$Outbound
|
|
@@ -49,19 +34,6 @@ export const PaymentMethodPayload$outboundSchema: z.ZodType<
|
|
|
49
34
|
JusPayExpressCheckout$outboundSchema,
|
|
50
35
|
]);
|
|
51
36
|
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
-
*/
|
|
56
|
-
export namespace PaymentMethodPayload$ {
|
|
57
|
-
/** @deprecated use `PaymentMethodPayload$inboundSchema` instead. */
|
|
58
|
-
export const inboundSchema = PaymentMethodPayload$inboundSchema;
|
|
59
|
-
/** @deprecated use `PaymentMethodPayload$outboundSchema` instead. */
|
|
60
|
-
export const outboundSchema = PaymentMethodPayload$outboundSchema;
|
|
61
|
-
/** @deprecated use `PaymentMethodPayload$Outbound` instead. */
|
|
62
|
-
export type Outbound = PaymentMethodPayload$Outbound;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
37
|
export function paymentMethodPayloadToJSON(
|
|
66
38
|
paymentMethodPayload: PaymentMethodPayload,
|
|
67
39
|
): string {
|
|
@@ -69,13 +41,3 @@ export function paymentMethodPayloadToJSON(
|
|
|
69
41
|
PaymentMethodPayload$outboundSchema.parse(paymentMethodPayload),
|
|
70
42
|
);
|
|
71
43
|
}
|
|
72
|
-
|
|
73
|
-
export function paymentMethodPayloadFromJSON(
|
|
74
|
-
jsonString: string,
|
|
75
|
-
): SafeParseResult<PaymentMethodPayload, SDKValidationError> {
|
|
76
|
-
return safeParse(
|
|
77
|
-
jsonString,
|
|
78
|
-
(x) => PaymentMethodPayload$inboundSchema.parse(JSON.parse(x)),
|
|
79
|
-
`Failed to parse 'PaymentMethodPayload' from JSON`,
|
|
80
|
-
);
|
|
81
|
-
}
|
|
@@ -91,48 +91,6 @@ export const SiDetails$inboundSchema: z.ZodType<
|
|
|
91
91
|
paymentEndDate: z.string().transform(v => new RFCDate(v)).optional(),
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
/** @internal */
|
|
95
|
-
export type SiDetails$Outbound = {
|
|
96
|
-
billingAmount?: number | undefined;
|
|
97
|
-
billingCurrency: "INR";
|
|
98
|
-
billingCycle: "MONTHLY";
|
|
99
|
-
billingInterval?: number | undefined;
|
|
100
|
-
paymentStartDate?: string | undefined;
|
|
101
|
-
paymentEndDate?: string | undefined;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
/** @internal */
|
|
105
|
-
export const SiDetails$outboundSchema: z.ZodType<
|
|
106
|
-
SiDetails$Outbound,
|
|
107
|
-
z.ZodTypeDef,
|
|
108
|
-
SiDetails
|
|
109
|
-
> = z.object({
|
|
110
|
-
billingAmount: z.number().optional(),
|
|
111
|
-
billingCurrency: z.literal("INR"),
|
|
112
|
-
billingCycle: z.literal("MONTHLY"),
|
|
113
|
-
billingInterval: z.number().int().optional(),
|
|
114
|
-
paymentStartDate: z.instanceof(RFCDate).transform(v => v.toString())
|
|
115
|
-
.optional(),
|
|
116
|
-
paymentEndDate: z.instanceof(RFCDate).transform(v => v.toString()).optional(),
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
122
|
-
*/
|
|
123
|
-
export namespace SiDetails$ {
|
|
124
|
-
/** @deprecated use `SiDetails$inboundSchema` instead. */
|
|
125
|
-
export const inboundSchema = SiDetails$inboundSchema;
|
|
126
|
-
/** @deprecated use `SiDetails$outboundSchema` instead. */
|
|
127
|
-
export const outboundSchema = SiDetails$outboundSchema;
|
|
128
|
-
/** @deprecated use `SiDetails$Outbound` instead. */
|
|
129
|
-
export type Outbound = SiDetails$Outbound;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export function siDetailsToJSON(siDetails: SiDetails): string {
|
|
133
|
-
return JSON.stringify(SiDetails$outboundSchema.parse(siDetails));
|
|
134
|
-
}
|
|
135
|
-
|
|
136
94
|
export function siDetailsFromJSON(
|
|
137
95
|
jsonString: string,
|
|
138
96
|
): SafeParseResult<SiDetails, SDKValidationError> {
|
|
@@ -168,67 +126,6 @@ export const PayuPaymentInfo$inboundSchema: z.ZodType<
|
|
|
168
126
|
});
|
|
169
127
|
});
|
|
170
128
|
|
|
171
|
-
/** @internal */
|
|
172
|
-
export type PayuPaymentInfo$Outbound = {
|
|
173
|
-
key?: string | undefined;
|
|
174
|
-
txnid?: string | undefined;
|
|
175
|
-
amount?: number | undefined;
|
|
176
|
-
productinfo?: string | undefined;
|
|
177
|
-
firstname?: string | undefined;
|
|
178
|
-
lastname?: string | undefined;
|
|
179
|
-
email?: string | undefined;
|
|
180
|
-
phone?: string | undefined;
|
|
181
|
-
si: 1;
|
|
182
|
-
si_details?: SiDetails$Outbound | undefined;
|
|
183
|
-
furl?: string | undefined;
|
|
184
|
-
surl?: string | undefined;
|
|
185
|
-
hash?: string | undefined;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
/** @internal */
|
|
189
|
-
export const PayuPaymentInfo$outboundSchema: z.ZodType<
|
|
190
|
-
PayuPaymentInfo$Outbound,
|
|
191
|
-
z.ZodTypeDef,
|
|
192
|
-
PayuPaymentInfo
|
|
193
|
-
> = z.object({
|
|
194
|
-
key: z.string().optional(),
|
|
195
|
-
txnid: z.string().optional(),
|
|
196
|
-
amount: z.number().optional(),
|
|
197
|
-
productinfo: z.string().optional(),
|
|
198
|
-
firstname: z.string().optional(),
|
|
199
|
-
lastname: z.string().optional(),
|
|
200
|
-
email: z.string().optional(),
|
|
201
|
-
phone: z.string().optional(),
|
|
202
|
-
si: z.literal(1),
|
|
203
|
-
siDetails: z.lazy(() => SiDetails$outboundSchema).optional(),
|
|
204
|
-
furl: z.string().optional(),
|
|
205
|
-
surl: z.string().optional(),
|
|
206
|
-
hash: z.string().optional(),
|
|
207
|
-
}).transform((v) => {
|
|
208
|
-
return remap$(v, {
|
|
209
|
-
siDetails: "si_details",
|
|
210
|
-
});
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @internal
|
|
215
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
216
|
-
*/
|
|
217
|
-
export namespace PayuPaymentInfo$ {
|
|
218
|
-
/** @deprecated use `PayuPaymentInfo$inboundSchema` instead. */
|
|
219
|
-
export const inboundSchema = PayuPaymentInfo$inboundSchema;
|
|
220
|
-
/** @deprecated use `PayuPaymentInfo$outboundSchema` instead. */
|
|
221
|
-
export const outboundSchema = PayuPaymentInfo$outboundSchema;
|
|
222
|
-
/** @deprecated use `PayuPaymentInfo$Outbound` instead. */
|
|
223
|
-
export type Outbound = PayuPaymentInfo$Outbound;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
export function payuPaymentInfoToJSON(
|
|
227
|
-
payuPaymentInfo: PayuPaymentInfo,
|
|
228
|
-
): string {
|
|
229
|
-
return JSON.stringify(PayuPaymentInfo$outboundSchema.parse(payuPaymentInfo));
|
|
230
|
-
}
|
|
231
|
-
|
|
232
129
|
export function payuPaymentInfoFromJSON(
|
|
233
130
|
jsonString: string,
|
|
234
131
|
): SafeParseResult<PayuPaymentInfo, SDKValidationError> {
|
|
@@ -37,51 +37,6 @@ export const Pincode$inboundSchema: z.ZodType<Pincode, z.ZodTypeDef, unknown> =
|
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
/** @internal */
|
|
41
|
-
export type Pincode$Outbound = {
|
|
42
|
-
pincode?: string | undefined;
|
|
43
|
-
city?: string | undefined;
|
|
44
|
-
state_name?: string | undefined;
|
|
45
|
-
country_name?: string | undefined;
|
|
46
|
-
country_iso_code?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
/** @internal */
|
|
50
|
-
export const Pincode$outboundSchema: z.ZodType<
|
|
51
|
-
Pincode$Outbound,
|
|
52
|
-
z.ZodTypeDef,
|
|
53
|
-
Pincode
|
|
54
|
-
> = z.object({
|
|
55
|
-
pincode: z.string().optional(),
|
|
56
|
-
city: z.string().optional(),
|
|
57
|
-
stateName: z.string().optional(),
|
|
58
|
-
countryName: z.string().optional(),
|
|
59
|
-
countryIsoCode: z.string().optional(),
|
|
60
|
-
}).transform((v) => {
|
|
61
|
-
return remap$(v, {
|
|
62
|
-
stateName: "state_name",
|
|
63
|
-
countryName: "country_name",
|
|
64
|
-
countryIsoCode: "country_iso_code",
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
71
|
-
*/
|
|
72
|
-
export namespace Pincode$ {
|
|
73
|
-
/** @deprecated use `Pincode$inboundSchema` instead. */
|
|
74
|
-
export const inboundSchema = Pincode$inboundSchema;
|
|
75
|
-
/** @deprecated use `Pincode$outboundSchema` instead. */
|
|
76
|
-
export const outboundSchema = Pincode$outboundSchema;
|
|
77
|
-
/** @deprecated use `Pincode$Outbound` instead. */
|
|
78
|
-
export type Outbound = Pincode$Outbound;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function pincodeToJSON(pincode: Pincode): string {
|
|
82
|
-
return JSON.stringify(Pincode$outboundSchema.parse(pincode));
|
|
83
|
-
}
|
|
84
|
-
|
|
85
40
|
export function pincodeFromJSON(
|
|
86
41
|
jsonString: string,
|
|
87
42
|
): SafeParseResult<Pincode, SDKValidationError> {
|
|
@@ -61,51 +61,12 @@ export type PincodeServiceability = {
|
|
|
61
61
|
export const ShippingType$inboundSchema: z.ZodNativeEnum<typeof ShippingType> =
|
|
62
62
|
z.nativeEnum(ShippingType);
|
|
63
63
|
|
|
64
|
-
/** @internal */
|
|
65
|
-
export const ShippingType$outboundSchema: z.ZodNativeEnum<typeof ShippingType> =
|
|
66
|
-
ShippingType$inboundSchema;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
71
|
-
*/
|
|
72
|
-
export namespace ShippingType$ {
|
|
73
|
-
/** @deprecated use `ShippingType$inboundSchema` instead. */
|
|
74
|
-
export const inboundSchema = ShippingType$inboundSchema;
|
|
75
|
-
/** @deprecated use `ShippingType$outboundSchema` instead. */
|
|
76
|
-
export const outboundSchema = ShippingType$outboundSchema;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
64
|
/** @internal */
|
|
80
65
|
export const Id$inboundSchema: z.ZodType<Id, z.ZodTypeDef, unknown> = z.union([
|
|
81
66
|
z.string(),
|
|
82
67
|
z.number(),
|
|
83
68
|
]);
|
|
84
69
|
|
|
85
|
-
/** @internal */
|
|
86
|
-
export type Id$Outbound = string | number;
|
|
87
|
-
|
|
88
|
-
/** @internal */
|
|
89
|
-
export const Id$outboundSchema: z.ZodType<Id$Outbound, z.ZodTypeDef, Id> = z
|
|
90
|
-
.union([z.string(), z.number()]);
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
-
*/
|
|
96
|
-
export namespace Id$ {
|
|
97
|
-
/** @deprecated use `Id$inboundSchema` instead. */
|
|
98
|
-
export const inboundSchema = Id$inboundSchema;
|
|
99
|
-
/** @deprecated use `Id$outboundSchema` instead. */
|
|
100
|
-
export const outboundSchema = Id$outboundSchema;
|
|
101
|
-
/** @deprecated use `Id$Outbound` instead. */
|
|
102
|
-
export type Outbound = Id$Outbound;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export function idToJSON(id: Id): string {
|
|
106
|
-
return JSON.stringify(Id$outboundSchema.parse(id));
|
|
107
|
-
}
|
|
108
|
-
|
|
109
70
|
export function idFromJSON(
|
|
110
71
|
jsonString: string,
|
|
111
72
|
): SafeParseResult<Id, SDKValidationError> {
|
|
@@ -121,21 +82,6 @@ export const Mode$inboundSchema: z.ZodNativeEnum<typeof Mode> = z.nativeEnum(
|
|
|
121
82
|
Mode,
|
|
122
83
|
);
|
|
123
84
|
|
|
124
|
-
/** @internal */
|
|
125
|
-
export const Mode$outboundSchema: z.ZodNativeEnum<typeof Mode> =
|
|
126
|
-
Mode$inboundSchema;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
131
|
-
*/
|
|
132
|
-
export namespace Mode$ {
|
|
133
|
-
/** @deprecated use `Mode$inboundSchema` instead. */
|
|
134
|
-
export const inboundSchema = Mode$inboundSchema;
|
|
135
|
-
/** @deprecated use `Mode$outboundSchema` instead. */
|
|
136
|
-
export const outboundSchema = Mode$outboundSchema;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
85
|
/** @internal */
|
|
140
86
|
export const CourierCompanies$inboundSchema: z.ZodType<
|
|
141
87
|
CourierCompanies,
|
|
@@ -159,62 +105,6 @@ export const CourierCompanies$inboundSchema: z.ZodType<
|
|
|
159
105
|
});
|
|
160
106
|
});
|
|
161
107
|
|
|
162
|
-
/** @internal */
|
|
163
|
-
export type CourierCompanies$Outbound = {
|
|
164
|
-
id?: string | number | undefined;
|
|
165
|
-
name?: string | undefined;
|
|
166
|
-
shipping_amount?: number | undefined;
|
|
167
|
-
estimated_delivery_days?: string | undefined;
|
|
168
|
-
is_recommended?: boolean | undefined;
|
|
169
|
-
is_hyperlocal?: boolean | undefined;
|
|
170
|
-
mode?: string | undefined;
|
|
171
|
-
rating?: number | undefined;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
/** @internal */
|
|
175
|
-
export const CourierCompanies$outboundSchema: z.ZodType<
|
|
176
|
-
CourierCompanies$Outbound,
|
|
177
|
-
z.ZodTypeDef,
|
|
178
|
-
CourierCompanies
|
|
179
|
-
> = z.object({
|
|
180
|
-
id: z.union([z.string(), z.number()]).optional(),
|
|
181
|
-
name: z.string().optional(),
|
|
182
|
-
shippingAmount: z.number().optional(),
|
|
183
|
-
estimatedDeliveryDays: z.string().optional(),
|
|
184
|
-
isRecommended: z.boolean().optional(),
|
|
185
|
-
isHyperlocal: z.boolean().optional(),
|
|
186
|
-
mode: Mode$outboundSchema.optional(),
|
|
187
|
-
rating: z.number().optional(),
|
|
188
|
-
}).transform((v) => {
|
|
189
|
-
return remap$(v, {
|
|
190
|
-
shippingAmount: "shipping_amount",
|
|
191
|
-
estimatedDeliveryDays: "estimated_delivery_days",
|
|
192
|
-
isRecommended: "is_recommended",
|
|
193
|
-
isHyperlocal: "is_hyperlocal",
|
|
194
|
-
});
|
|
195
|
-
});
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* @internal
|
|
199
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
200
|
-
*/
|
|
201
|
-
export namespace CourierCompanies$ {
|
|
202
|
-
/** @deprecated use `CourierCompanies$inboundSchema` instead. */
|
|
203
|
-
export const inboundSchema = CourierCompanies$inboundSchema;
|
|
204
|
-
/** @deprecated use `CourierCompanies$outboundSchema` instead. */
|
|
205
|
-
export const outboundSchema = CourierCompanies$outboundSchema;
|
|
206
|
-
/** @deprecated use `CourierCompanies$Outbound` instead. */
|
|
207
|
-
export type Outbound = CourierCompanies$Outbound;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export function courierCompaniesToJSON(
|
|
211
|
-
courierCompanies: CourierCompanies,
|
|
212
|
-
): string {
|
|
213
|
-
return JSON.stringify(
|
|
214
|
-
CourierCompanies$outboundSchema.parse(courierCompanies),
|
|
215
|
-
);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
108
|
export function courierCompaniesFromJSON(
|
|
219
109
|
jsonString: string,
|
|
220
110
|
): SafeParseResult<CourierCompanies, SDKValidationError> {
|
|
@@ -247,57 +137,6 @@ export const ShippingMethods$inboundSchema: z.ZodType<
|
|
|
247
137
|
});
|
|
248
138
|
});
|
|
249
139
|
|
|
250
|
-
/** @internal */
|
|
251
|
-
export type ShippingMethods$Outbound = {
|
|
252
|
-
id?: string | undefined;
|
|
253
|
-
name?: string | undefined;
|
|
254
|
-
shipping_type?: string | undefined;
|
|
255
|
-
shipping_amount?: string | undefined;
|
|
256
|
-
estimated_delivery_days?: string | undefined;
|
|
257
|
-
courier_companies?: Array<CourierCompanies$Outbound> | undefined;
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
/** @internal */
|
|
261
|
-
export const ShippingMethods$outboundSchema: z.ZodType<
|
|
262
|
-
ShippingMethods$Outbound,
|
|
263
|
-
z.ZodTypeDef,
|
|
264
|
-
ShippingMethods
|
|
265
|
-
> = z.object({
|
|
266
|
-
id: z.string().optional(),
|
|
267
|
-
name: z.string().optional(),
|
|
268
|
-
shippingType: ShippingType$outboundSchema.optional(),
|
|
269
|
-
shippingAmount: z.string().optional(),
|
|
270
|
-
estimatedDeliveryDays: z.string().optional(),
|
|
271
|
-
courierCompanies: z.array(z.lazy(() => CourierCompanies$outboundSchema))
|
|
272
|
-
.optional(),
|
|
273
|
-
}).transform((v) => {
|
|
274
|
-
return remap$(v, {
|
|
275
|
-
shippingType: "shipping_type",
|
|
276
|
-
shippingAmount: "shipping_amount",
|
|
277
|
-
estimatedDeliveryDays: "estimated_delivery_days",
|
|
278
|
-
courierCompanies: "courier_companies",
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* @internal
|
|
284
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
285
|
-
*/
|
|
286
|
-
export namespace ShippingMethods$ {
|
|
287
|
-
/** @deprecated use `ShippingMethods$inboundSchema` instead. */
|
|
288
|
-
export const inboundSchema = ShippingMethods$inboundSchema;
|
|
289
|
-
/** @deprecated use `ShippingMethods$outboundSchema` instead. */
|
|
290
|
-
export const outboundSchema = ShippingMethods$outboundSchema;
|
|
291
|
-
/** @deprecated use `ShippingMethods$Outbound` instead. */
|
|
292
|
-
export type Outbound = ShippingMethods$Outbound;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export function shippingMethodsToJSON(
|
|
296
|
-
shippingMethods: ShippingMethods,
|
|
297
|
-
): string {
|
|
298
|
-
return JSON.stringify(ShippingMethods$outboundSchema.parse(shippingMethods));
|
|
299
|
-
}
|
|
300
|
-
|
|
301
140
|
export function shippingMethodsFromJSON(
|
|
302
141
|
jsonString: string,
|
|
303
142
|
): SafeParseResult<ShippingMethods, SDKValidationError> {
|
|
@@ -323,48 +162,6 @@ export const PincodeServiceability$inboundSchema: z.ZodType<
|
|
|
323
162
|
});
|
|
324
163
|
});
|
|
325
164
|
|
|
326
|
-
/** @internal */
|
|
327
|
-
export type PincodeServiceability$Outbound = {
|
|
328
|
-
is_serviceable: boolean;
|
|
329
|
-
shipping_methods: Array<ShippingMethods$Outbound>;
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
/** @internal */
|
|
333
|
-
export const PincodeServiceability$outboundSchema: z.ZodType<
|
|
334
|
-
PincodeServiceability$Outbound,
|
|
335
|
-
z.ZodTypeDef,
|
|
336
|
-
PincodeServiceability
|
|
337
|
-
> = z.object({
|
|
338
|
-
isServiceable: z.boolean(),
|
|
339
|
-
shippingMethods: z.array(z.lazy(() => ShippingMethods$outboundSchema)),
|
|
340
|
-
}).transform((v) => {
|
|
341
|
-
return remap$(v, {
|
|
342
|
-
isServiceable: "is_serviceable",
|
|
343
|
-
shippingMethods: "shipping_methods",
|
|
344
|
-
});
|
|
345
|
-
});
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* @internal
|
|
349
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
350
|
-
*/
|
|
351
|
-
export namespace PincodeServiceability$ {
|
|
352
|
-
/** @deprecated use `PincodeServiceability$inboundSchema` instead. */
|
|
353
|
-
export const inboundSchema = PincodeServiceability$inboundSchema;
|
|
354
|
-
/** @deprecated use `PincodeServiceability$outboundSchema` instead. */
|
|
355
|
-
export const outboundSchema = PincodeServiceability$outboundSchema;
|
|
356
|
-
/** @deprecated use `PincodeServiceability$Outbound` instead. */
|
|
357
|
-
export type Outbound = PincodeServiceability$Outbound;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
export function pincodeServiceabilityToJSON(
|
|
361
|
-
pincodeServiceability: PincodeServiceability,
|
|
362
|
-
): string {
|
|
363
|
-
return JSON.stringify(
|
|
364
|
-
PincodeServiceability$outboundSchema.parse(pincodeServiceability),
|
|
365
|
-
);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
165
|
export function pincodeServiceabilityFromJSON(
|
|
369
166
|
jsonString: string,
|
|
370
167
|
): SafeParseResult<PincodeServiceability, SDKValidationError> {
|