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
|
@@ -11,69 +11,35 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
import {
|
|
12
12
|
AssociatedOption,
|
|
13
13
|
AssociatedOption$inboundSchema,
|
|
14
|
-
AssociatedOption$Outbound,
|
|
15
|
-
AssociatedOption$outboundSchema,
|
|
16
14
|
} from "./associatedoption.js";
|
|
17
15
|
import {
|
|
18
16
|
LotBatchDetail,
|
|
19
17
|
LotBatchDetail$inboundSchema,
|
|
20
|
-
LotBatchDetail$Outbound,
|
|
21
|
-
LotBatchDetail$outboundSchema,
|
|
22
18
|
} from "./lotbatchdetail.js";
|
|
23
19
|
import {
|
|
24
20
|
ProductAttribute,
|
|
25
21
|
ProductAttribute$inboundSchema,
|
|
26
|
-
ProductAttribute$Outbound,
|
|
27
|
-
ProductAttribute$outboundSchema,
|
|
28
22
|
} from "./productattribute.js";
|
|
29
|
-
import {
|
|
30
|
-
ProductImage,
|
|
31
|
-
ProductImage$inboundSchema,
|
|
32
|
-
ProductImage$Outbound,
|
|
33
|
-
ProductImage$outboundSchema,
|
|
34
|
-
} from "./productimage.js";
|
|
23
|
+
import { ProductImage, ProductImage$inboundSchema } from "./productimage.js";
|
|
35
24
|
import {
|
|
36
25
|
ProductPricing,
|
|
37
26
|
ProductPricing$inboundSchema,
|
|
38
|
-
ProductPricing$Outbound,
|
|
39
|
-
ProductPricing$outboundSchema,
|
|
40
27
|
} from "./productpricing.js";
|
|
41
28
|
import {
|
|
42
29
|
ProductPromotion,
|
|
43
30
|
ProductPromotion$inboundSchema,
|
|
44
|
-
ProductPromotion$Outbound,
|
|
45
|
-
ProductPromotion$outboundSchema,
|
|
46
31
|
} from "./productpromotion.js";
|
|
47
32
|
import {
|
|
48
33
|
ProductShipping,
|
|
49
34
|
ProductShipping$inboundSchema,
|
|
50
|
-
ProductShipping$Outbound,
|
|
51
|
-
ProductShipping$outboundSchema,
|
|
52
35
|
} from "./productshipping.js";
|
|
53
36
|
import {
|
|
54
37
|
ProductSubscription,
|
|
55
38
|
ProductSubscription$inboundSchema,
|
|
56
|
-
ProductSubscription$Outbound,
|
|
57
|
-
ProductSubscription$outboundSchema,
|
|
58
39
|
} from "./productsubscription.js";
|
|
59
|
-
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
ProductVideo$Outbound,
|
|
63
|
-
ProductVideo$outboundSchema,
|
|
64
|
-
} from "./productvideo.js";
|
|
65
|
-
import {
|
|
66
|
-
Seo,
|
|
67
|
-
Seo$inboundSchema,
|
|
68
|
-
Seo$Outbound,
|
|
69
|
-
Seo$outboundSchema,
|
|
70
|
-
} from "./seo.js";
|
|
71
|
-
import {
|
|
72
|
-
VariantOption,
|
|
73
|
-
VariantOption$inboundSchema,
|
|
74
|
-
VariantOption$Outbound,
|
|
75
|
-
VariantOption$outboundSchema,
|
|
76
|
-
} from "./variantoption.js";
|
|
40
|
+
import { ProductVideo, ProductVideo$inboundSchema } from "./productvideo.js";
|
|
41
|
+
import { Seo, Seo$inboundSchema } from "./seo.js";
|
|
42
|
+
import { VariantOption, VariantOption$inboundSchema } from "./variantoption.js";
|
|
77
43
|
|
|
78
44
|
export const VariantDetailProductType = {
|
|
79
45
|
Physical: "physical",
|
|
@@ -152,22 +118,6 @@ export const VariantDetailProductType$inboundSchema: z.ZodNativeEnum<
|
|
|
152
118
|
typeof VariantDetailProductType
|
|
153
119
|
> = z.nativeEnum(VariantDetailProductType);
|
|
154
120
|
|
|
155
|
-
/** @internal */
|
|
156
|
-
export const VariantDetailProductType$outboundSchema: z.ZodNativeEnum<
|
|
157
|
-
typeof VariantDetailProductType
|
|
158
|
-
> = VariantDetailProductType$inboundSchema;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @internal
|
|
162
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
163
|
-
*/
|
|
164
|
-
export namespace VariantDetailProductType$ {
|
|
165
|
-
/** @deprecated use `VariantDetailProductType$inboundSchema` instead. */
|
|
166
|
-
export const inboundSchema = VariantDetailProductType$inboundSchema;
|
|
167
|
-
/** @deprecated use `VariantDetailProductType$outboundSchema` instead. */
|
|
168
|
-
export const outboundSchema = VariantDetailProductType$outboundSchema;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
121
|
/** @internal */
|
|
172
122
|
export const VariantDetail$inboundSchema: z.ZodType<
|
|
173
123
|
VariantDetail,
|
|
@@ -228,120 +178,6 @@ export const VariantDetail$inboundSchema: z.ZodType<
|
|
|
228
178
|
});
|
|
229
179
|
});
|
|
230
180
|
|
|
231
|
-
/** @internal */
|
|
232
|
-
export type VariantDetail$Outbound = {
|
|
233
|
-
id: string;
|
|
234
|
-
product_id: string;
|
|
235
|
-
sku: string | null;
|
|
236
|
-
slug: string;
|
|
237
|
-
name: string;
|
|
238
|
-
product_name: string;
|
|
239
|
-
short_description: string | null;
|
|
240
|
-
active: boolean;
|
|
241
|
-
stock_available: boolean;
|
|
242
|
-
backorder?: boolean | undefined;
|
|
243
|
-
on_promotion: boolean;
|
|
244
|
-
on_subscription: boolean;
|
|
245
|
-
is_default: boolean;
|
|
246
|
-
associated_options: { [k: string]: AssociatedOption$Outbound };
|
|
247
|
-
images: Array<ProductImage$Outbound>;
|
|
248
|
-
pricing: ProductPricing$Outbound;
|
|
249
|
-
subscription: Array<ProductSubscription$Outbound>;
|
|
250
|
-
promotion: ProductPromotion$Outbound | null;
|
|
251
|
-
inventory?: Array<LotBatchDetail$Outbound> | undefined;
|
|
252
|
-
product_type: string;
|
|
253
|
-
description: string | null;
|
|
254
|
-
category_ids: Array<string>;
|
|
255
|
-
tags: Array<string> | null;
|
|
256
|
-
reviews_rating_sum: number | null;
|
|
257
|
-
reviews_count: number;
|
|
258
|
-
hsn_code: string | null;
|
|
259
|
-
variant_options: Array<VariantOption$Outbound>;
|
|
260
|
-
product_attributes: Array<ProductAttribute$Outbound>;
|
|
261
|
-
variant_attributes: Array<ProductAttribute$Outbound>;
|
|
262
|
-
videos: Array<ProductVideo$Outbound>;
|
|
263
|
-
shipping: ProductShipping$Outbound | null;
|
|
264
|
-
seo: Seo$Outbound;
|
|
265
|
-
metadata: { [k: string]: string } | null;
|
|
266
|
-
};
|
|
267
|
-
|
|
268
|
-
/** @internal */
|
|
269
|
-
export const VariantDetail$outboundSchema: z.ZodType<
|
|
270
|
-
VariantDetail$Outbound,
|
|
271
|
-
z.ZodTypeDef,
|
|
272
|
-
VariantDetail
|
|
273
|
-
> = z.object({
|
|
274
|
-
id: z.string(),
|
|
275
|
-
productId: z.string(),
|
|
276
|
-
sku: z.nullable(z.string()),
|
|
277
|
-
slug: z.string(),
|
|
278
|
-
name: z.string(),
|
|
279
|
-
productName: z.string(),
|
|
280
|
-
shortDescription: z.nullable(z.string()),
|
|
281
|
-
active: z.boolean(),
|
|
282
|
-
stockAvailable: z.boolean(),
|
|
283
|
-
backorder: z.boolean().optional(),
|
|
284
|
-
onPromotion: z.boolean(),
|
|
285
|
-
onSubscription: z.boolean(),
|
|
286
|
-
isDefault: z.boolean(),
|
|
287
|
-
associatedOptions: z.record(AssociatedOption$outboundSchema),
|
|
288
|
-
images: z.array(ProductImage$outboundSchema),
|
|
289
|
-
pricing: ProductPricing$outboundSchema,
|
|
290
|
-
subscription: z.array(ProductSubscription$outboundSchema),
|
|
291
|
-
promotion: z.nullable(ProductPromotion$outboundSchema),
|
|
292
|
-
inventory: z.array(LotBatchDetail$outboundSchema).optional(),
|
|
293
|
-
productType: VariantDetailProductType$outboundSchema,
|
|
294
|
-
description: z.nullable(z.string()),
|
|
295
|
-
categoryIds: z.array(z.string()),
|
|
296
|
-
tags: z.nullable(z.array(z.string())),
|
|
297
|
-
reviewsRatingSum: z.nullable(z.number()),
|
|
298
|
-
reviewsCount: z.number().int(),
|
|
299
|
-
hsnCode: z.nullable(z.string()),
|
|
300
|
-
variantOptions: z.array(VariantOption$outboundSchema),
|
|
301
|
-
productAttributes: z.array(ProductAttribute$outboundSchema),
|
|
302
|
-
variantAttributes: z.array(ProductAttribute$outboundSchema),
|
|
303
|
-
videos: z.array(ProductVideo$outboundSchema),
|
|
304
|
-
shipping: z.nullable(ProductShipping$outboundSchema),
|
|
305
|
-
seo: Seo$outboundSchema,
|
|
306
|
-
metadata: z.nullable(z.record(z.string())),
|
|
307
|
-
}).transform((v) => {
|
|
308
|
-
return remap$(v, {
|
|
309
|
-
productId: "product_id",
|
|
310
|
-
productName: "product_name",
|
|
311
|
-
shortDescription: "short_description",
|
|
312
|
-
stockAvailable: "stock_available",
|
|
313
|
-
onPromotion: "on_promotion",
|
|
314
|
-
onSubscription: "on_subscription",
|
|
315
|
-
isDefault: "is_default",
|
|
316
|
-
associatedOptions: "associated_options",
|
|
317
|
-
productType: "product_type",
|
|
318
|
-
categoryIds: "category_ids",
|
|
319
|
-
reviewsRatingSum: "reviews_rating_sum",
|
|
320
|
-
reviewsCount: "reviews_count",
|
|
321
|
-
hsnCode: "hsn_code",
|
|
322
|
-
variantOptions: "variant_options",
|
|
323
|
-
productAttributes: "product_attributes",
|
|
324
|
-
variantAttributes: "variant_attributes",
|
|
325
|
-
});
|
|
326
|
-
});
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* @internal
|
|
330
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
331
|
-
*/
|
|
332
|
-
export namespace VariantDetail$ {
|
|
333
|
-
/** @deprecated use `VariantDetail$inboundSchema` instead. */
|
|
334
|
-
export const inboundSchema = VariantDetail$inboundSchema;
|
|
335
|
-
/** @deprecated use `VariantDetail$outboundSchema` instead. */
|
|
336
|
-
export const outboundSchema = VariantDetail$outboundSchema;
|
|
337
|
-
/** @deprecated use `VariantDetail$Outbound` instead. */
|
|
338
|
-
export type Outbound = VariantDetail$Outbound;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
export function variantDetailToJSON(variantDetail: VariantDetail): string {
|
|
342
|
-
return JSON.stringify(VariantDetail$outboundSchema.parse(variantDetail));
|
|
343
|
-
}
|
|
344
|
-
|
|
345
181
|
export function variantDetailFromJSON(
|
|
346
182
|
jsonString: string,
|
|
347
183
|
): SafeParseResult<VariantDetail, SDKValidationError> {
|
|
@@ -56,49 +56,10 @@ export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
|
56
56
|
Type,
|
|
57
57
|
);
|
|
58
58
|
|
|
59
|
-
/** @internal */
|
|
60
|
-
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
61
|
-
Type$inboundSchema;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
-
*/
|
|
67
|
-
export namespace Type$ {
|
|
68
|
-
/** @deprecated use `Type$inboundSchema` instead. */
|
|
69
|
-
export const inboundSchema = Type$inboundSchema;
|
|
70
|
-
/** @deprecated use `Type$outboundSchema` instead. */
|
|
71
|
-
export const outboundSchema = Type$outboundSchema;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
59
|
/** @internal */
|
|
75
60
|
export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z
|
|
76
61
|
.object({});
|
|
77
62
|
|
|
78
|
-
/** @internal */
|
|
79
|
-
export type Two$Outbound = {};
|
|
80
|
-
|
|
81
|
-
/** @internal */
|
|
82
|
-
export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
83
|
-
.object({});
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
-
*/
|
|
89
|
-
export namespace Two$ {
|
|
90
|
-
/** @deprecated use `Two$inboundSchema` instead. */
|
|
91
|
-
export const inboundSchema = Two$inboundSchema;
|
|
92
|
-
/** @deprecated use `Two$outboundSchema` instead. */
|
|
93
|
-
export const outboundSchema = Two$outboundSchema;
|
|
94
|
-
/** @deprecated use `Two$Outbound` instead. */
|
|
95
|
-
export type Outbound = Two$Outbound;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export function twoToJSON(two: Two): string {
|
|
99
|
-
return JSON.stringify(Two$outboundSchema.parse(two));
|
|
100
|
-
}
|
|
101
|
-
|
|
102
63
|
export function twoFromJSON(
|
|
103
64
|
jsonString: string,
|
|
104
65
|
): SafeParseResult<Two, SDKValidationError> {
|
|
@@ -116,37 +77,6 @@ export const VariantOptionValue$inboundSchema: z.ZodType<
|
|
|
116
77
|
unknown
|
|
117
78
|
> = z.union([z.string(), z.lazy(() => Two$inboundSchema)]);
|
|
118
79
|
|
|
119
|
-
/** @internal */
|
|
120
|
-
export type VariantOptionValue$Outbound = string | Two$Outbound;
|
|
121
|
-
|
|
122
|
-
/** @internal */
|
|
123
|
-
export const VariantOptionValue$outboundSchema: z.ZodType<
|
|
124
|
-
VariantOptionValue$Outbound,
|
|
125
|
-
z.ZodTypeDef,
|
|
126
|
-
VariantOptionValue
|
|
127
|
-
> = z.union([z.string(), z.lazy(() => Two$outboundSchema)]);
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
132
|
-
*/
|
|
133
|
-
export namespace VariantOptionValue$ {
|
|
134
|
-
/** @deprecated use `VariantOptionValue$inboundSchema` instead. */
|
|
135
|
-
export const inboundSchema = VariantOptionValue$inboundSchema;
|
|
136
|
-
/** @deprecated use `VariantOptionValue$outboundSchema` instead. */
|
|
137
|
-
export const outboundSchema = VariantOptionValue$outboundSchema;
|
|
138
|
-
/** @deprecated use `VariantOptionValue$Outbound` instead. */
|
|
139
|
-
export type Outbound = VariantOptionValue$Outbound;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export function variantOptionValueToJSON(
|
|
143
|
-
variantOptionValue: VariantOptionValue,
|
|
144
|
-
): string {
|
|
145
|
-
return JSON.stringify(
|
|
146
|
-
VariantOptionValue$outboundSchema.parse(variantOptionValue),
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
80
|
export function variantOptionValueFromJSON(
|
|
151
81
|
jsonString: string,
|
|
152
82
|
): SafeParseResult<VariantOptionValue, SDKValidationError> {
|
|
@@ -169,43 +99,6 @@ export const VariantOption$inboundSchema: z.ZodType<
|
|
|
169
99
|
value: z.array(z.union([z.string(), z.lazy(() => Two$inboundSchema)])),
|
|
170
100
|
});
|
|
171
101
|
|
|
172
|
-
/** @internal */
|
|
173
|
-
export type VariantOption$Outbound = {
|
|
174
|
-
name: string;
|
|
175
|
-
key: string;
|
|
176
|
-
type: string;
|
|
177
|
-
value: Array<string | Two$Outbound>;
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
/** @internal */
|
|
181
|
-
export const VariantOption$outboundSchema: z.ZodType<
|
|
182
|
-
VariantOption$Outbound,
|
|
183
|
-
z.ZodTypeDef,
|
|
184
|
-
VariantOption
|
|
185
|
-
> = z.object({
|
|
186
|
-
name: z.string(),
|
|
187
|
-
key: z.string(),
|
|
188
|
-
type: Type$outboundSchema,
|
|
189
|
-
value: z.array(z.union([z.string(), z.lazy(() => Two$outboundSchema)])),
|
|
190
|
-
});
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
195
|
-
*/
|
|
196
|
-
export namespace VariantOption$ {
|
|
197
|
-
/** @deprecated use `VariantOption$inboundSchema` instead. */
|
|
198
|
-
export const inboundSchema = VariantOption$inboundSchema;
|
|
199
|
-
/** @deprecated use `VariantOption$outboundSchema` instead. */
|
|
200
|
-
export const outboundSchema = VariantOption$outboundSchema;
|
|
201
|
-
/** @deprecated use `VariantOption$Outbound` instead. */
|
|
202
|
-
export type Outbound = VariantOption$Outbound;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export function variantOptionToJSON(variantOption: VariantOption): string {
|
|
206
|
-
return JSON.stringify(VariantOption$outboundSchema.parse(variantOption));
|
|
207
|
-
}
|
|
208
|
-
|
|
209
102
|
export function variantOptionFromJSON(
|
|
210
103
|
jsonString: string,
|
|
211
104
|
): SafeParseResult<VariantOption, SDKValidationError> {
|
|
@@ -43,23 +43,6 @@ export const VolumeBasedPromotionPromotionType$inboundSchema: z.ZodNativeEnum<
|
|
|
43
43
|
typeof VolumeBasedPromotionPromotionType
|
|
44
44
|
> = z.nativeEnum(VolumeBasedPromotionPromotionType);
|
|
45
45
|
|
|
46
|
-
/** @internal */
|
|
47
|
-
export const VolumeBasedPromotionPromotionType$outboundSchema: z.ZodNativeEnum<
|
|
48
|
-
typeof VolumeBasedPromotionPromotionType
|
|
49
|
-
> = VolumeBasedPromotionPromotionType$inboundSchema;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
-
*/
|
|
55
|
-
export namespace VolumeBasedPromotionPromotionType$ {
|
|
56
|
-
/** @deprecated use `VolumeBasedPromotionPromotionType$inboundSchema` instead. */
|
|
57
|
-
export const inboundSchema = VolumeBasedPromotionPromotionType$inboundSchema;
|
|
58
|
-
/** @deprecated use `VolumeBasedPromotionPromotionType$outboundSchema` instead. */
|
|
59
|
-
export const outboundSchema =
|
|
60
|
-
VolumeBasedPromotionPromotionType$outboundSchema;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
46
|
/** @internal */
|
|
64
47
|
export const Slabs$inboundSchema: z.ZodType<Slabs, z.ZodTypeDef, unknown> = z
|
|
65
48
|
.object({
|
|
@@ -72,44 +55,6 @@ export const Slabs$inboundSchema: z.ZodType<Slabs, z.ZodTypeDef, unknown> = z
|
|
|
72
55
|
});
|
|
73
56
|
});
|
|
74
57
|
|
|
75
|
-
/** @internal */
|
|
76
|
-
export type Slabs$Outbound = {
|
|
77
|
-
quantity_limit: number;
|
|
78
|
-
discount_percent: number;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
/** @internal */
|
|
82
|
-
export const Slabs$outboundSchema: z.ZodType<
|
|
83
|
-
Slabs$Outbound,
|
|
84
|
-
z.ZodTypeDef,
|
|
85
|
-
Slabs
|
|
86
|
-
> = z.object({
|
|
87
|
-
quantityLimit: z.number().int(),
|
|
88
|
-
discountPercent: z.number(),
|
|
89
|
-
}).transform((v) => {
|
|
90
|
-
return remap$(v, {
|
|
91
|
-
quantityLimit: "quantity_limit",
|
|
92
|
-
discountPercent: "discount_percent",
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
99
|
-
*/
|
|
100
|
-
export namespace Slabs$ {
|
|
101
|
-
/** @deprecated use `Slabs$inboundSchema` instead. */
|
|
102
|
-
export const inboundSchema = Slabs$inboundSchema;
|
|
103
|
-
/** @deprecated use `Slabs$outboundSchema` instead. */
|
|
104
|
-
export const outboundSchema = Slabs$outboundSchema;
|
|
105
|
-
/** @deprecated use `Slabs$Outbound` instead. */
|
|
106
|
-
export type Outbound = Slabs$Outbound;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export function slabsToJSON(slabs: Slabs): string {
|
|
110
|
-
return JSON.stringify(Slabs$outboundSchema.parse(slabs));
|
|
111
|
-
}
|
|
112
|
-
|
|
113
58
|
export function slabsFromJSON(
|
|
114
59
|
jsonString: string,
|
|
115
60
|
): SafeParseResult<Slabs, SDKValidationError> {
|
|
@@ -134,47 +79,6 @@ export const VolumeBasedPromotion$inboundSchema: z.ZodType<
|
|
|
134
79
|
});
|
|
135
80
|
});
|
|
136
81
|
|
|
137
|
-
/** @internal */
|
|
138
|
-
export type VolumeBasedPromotion$Outbound = {
|
|
139
|
-
promotion_type: "volume-based";
|
|
140
|
-
slabs: Array<Slabs$Outbound>;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
/** @internal */
|
|
144
|
-
export const VolumeBasedPromotion$outboundSchema: z.ZodType<
|
|
145
|
-
VolumeBasedPromotion$Outbound,
|
|
146
|
-
z.ZodTypeDef,
|
|
147
|
-
VolumeBasedPromotion
|
|
148
|
-
> = z.object({
|
|
149
|
-
promotionType: z.literal("volume-based"),
|
|
150
|
-
slabs: z.array(z.lazy(() => Slabs$outboundSchema)),
|
|
151
|
-
}).transform((v) => {
|
|
152
|
-
return remap$(v, {
|
|
153
|
-
promotionType: "promotion_type",
|
|
154
|
-
});
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
160
|
-
*/
|
|
161
|
-
export namespace VolumeBasedPromotion$ {
|
|
162
|
-
/** @deprecated use `VolumeBasedPromotion$inboundSchema` instead. */
|
|
163
|
-
export const inboundSchema = VolumeBasedPromotion$inboundSchema;
|
|
164
|
-
/** @deprecated use `VolumeBasedPromotion$outboundSchema` instead. */
|
|
165
|
-
export const outboundSchema = VolumeBasedPromotion$outboundSchema;
|
|
166
|
-
/** @deprecated use `VolumeBasedPromotion$Outbound` instead. */
|
|
167
|
-
export type Outbound = VolumeBasedPromotion$Outbound;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export function volumeBasedPromotionToJSON(
|
|
171
|
-
volumeBasedPromotion: VolumeBasedPromotion,
|
|
172
|
-
): string {
|
|
173
|
-
return JSON.stringify(
|
|
174
|
-
VolumeBasedPromotion$outboundSchema.parse(volumeBasedPromotion),
|
|
175
|
-
);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
82
|
export function volumeBasedPromotionFromJSON(
|
|
179
83
|
jsonString: string,
|
|
180
84
|
): SafeParseResult<VolumeBasedPromotion, SDKValidationError> {
|
|
@@ -50,43 +50,11 @@ export const WalletPaymentTransactionType$inboundSchema: z.ZodNativeEnum<
|
|
|
50
50
|
typeof WalletPaymentTransactionType
|
|
51
51
|
> = z.nativeEnum(WalletPaymentTransactionType);
|
|
52
52
|
|
|
53
|
-
/** @internal */
|
|
54
|
-
export const WalletPaymentTransactionType$outboundSchema: z.ZodNativeEnum<
|
|
55
|
-
typeof WalletPaymentTransactionType
|
|
56
|
-
> = WalletPaymentTransactionType$inboundSchema;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
-
*/
|
|
62
|
-
export namespace WalletPaymentTransactionType$ {
|
|
63
|
-
/** @deprecated use `WalletPaymentTransactionType$inboundSchema` instead. */
|
|
64
|
-
export const inboundSchema = WalletPaymentTransactionType$inboundSchema;
|
|
65
|
-
/** @deprecated use `WalletPaymentTransactionType$outboundSchema` instead. */
|
|
66
|
-
export const outboundSchema = WalletPaymentTransactionType$outboundSchema;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
53
|
/** @internal */
|
|
70
54
|
export const WalletPaymentPaymentStatus$inboundSchema: z.ZodNativeEnum<
|
|
71
55
|
typeof WalletPaymentPaymentStatus
|
|
72
56
|
> = z.nativeEnum(WalletPaymentPaymentStatus);
|
|
73
57
|
|
|
74
|
-
/** @internal */
|
|
75
|
-
export const WalletPaymentPaymentStatus$outboundSchema: z.ZodNativeEnum<
|
|
76
|
-
typeof WalletPaymentPaymentStatus
|
|
77
|
-
> = WalletPaymentPaymentStatus$inboundSchema;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
82
|
-
*/
|
|
83
|
-
export namespace WalletPaymentPaymentStatus$ {
|
|
84
|
-
/** @deprecated use `WalletPaymentPaymentStatus$inboundSchema` instead. */
|
|
85
|
-
export const inboundSchema = WalletPaymentPaymentStatus$inboundSchema;
|
|
86
|
-
/** @deprecated use `WalletPaymentPaymentStatus$outboundSchema` instead. */
|
|
87
|
-
export const outboundSchema = WalletPaymentPaymentStatus$outboundSchema;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
58
|
/** @internal */
|
|
91
59
|
export const WalletPayment$inboundSchema: z.ZodType<
|
|
92
60
|
WalletPayment,
|
|
@@ -117,64 +85,6 @@ export const WalletPayment$inboundSchema: z.ZodType<
|
|
|
117
85
|
});
|
|
118
86
|
});
|
|
119
87
|
|
|
120
|
-
/** @internal */
|
|
121
|
-
export type WalletPayment$Outbound = {
|
|
122
|
-
transaction_type?: string | undefined;
|
|
123
|
-
request_number?: string | undefined;
|
|
124
|
-
amount?: number | undefined;
|
|
125
|
-
payment_status?: string | undefined;
|
|
126
|
-
payment_date?: string | undefined;
|
|
127
|
-
payment_reference_number?: string | null | undefined;
|
|
128
|
-
payment_method?: string | null | undefined;
|
|
129
|
-
icon_url?: string | null | undefined;
|
|
130
|
-
wallet_name?: string | undefined;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
/** @internal */
|
|
134
|
-
export const WalletPayment$outboundSchema: z.ZodType<
|
|
135
|
-
WalletPayment$Outbound,
|
|
136
|
-
z.ZodTypeDef,
|
|
137
|
-
WalletPayment
|
|
138
|
-
> = z.object({
|
|
139
|
-
transactionType: WalletPaymentTransactionType$outboundSchema.optional(),
|
|
140
|
-
requestNumber: z.string().optional(),
|
|
141
|
-
amount: z.number().optional(),
|
|
142
|
-
paymentStatus: WalletPaymentPaymentStatus$outboundSchema.optional(),
|
|
143
|
-
paymentDate: z.date().transform(v => v.toISOString()).optional(),
|
|
144
|
-
paymentReferenceNumber: z.nullable(z.string()).optional(),
|
|
145
|
-
paymentMethod: z.nullable(z.string()).optional(),
|
|
146
|
-
iconUrl: z.nullable(z.string()).optional(),
|
|
147
|
-
walletName: z.string().optional(),
|
|
148
|
-
}).transform((v) => {
|
|
149
|
-
return remap$(v, {
|
|
150
|
-
transactionType: "transaction_type",
|
|
151
|
-
requestNumber: "request_number",
|
|
152
|
-
paymentStatus: "payment_status",
|
|
153
|
-
paymentDate: "payment_date",
|
|
154
|
-
paymentReferenceNumber: "payment_reference_number",
|
|
155
|
-
paymentMethod: "payment_method",
|
|
156
|
-
iconUrl: "icon_url",
|
|
157
|
-
walletName: "wallet_name",
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
164
|
-
*/
|
|
165
|
-
export namespace WalletPayment$ {
|
|
166
|
-
/** @deprecated use `WalletPayment$inboundSchema` instead. */
|
|
167
|
-
export const inboundSchema = WalletPayment$inboundSchema;
|
|
168
|
-
/** @deprecated use `WalletPayment$outboundSchema` instead. */
|
|
169
|
-
export const outboundSchema = WalletPayment$outboundSchema;
|
|
170
|
-
/** @deprecated use `WalletPayment$Outbound` instead. */
|
|
171
|
-
export type Outbound = WalletPayment$Outbound;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export function walletPaymentToJSON(walletPayment: WalletPayment): string {
|
|
175
|
-
return JSON.stringify(WalletPayment$outboundSchema.parse(walletPayment));
|
|
176
|
-
}
|
|
177
|
-
|
|
178
88
|
export function walletPaymentFromJSON(
|
|
179
89
|
jsonString: string,
|
|
180
90
|
): SafeParseResult<WalletPayment, SDKValidationError> {
|
|
@@ -50,33 +50,6 @@ export class BadRequest extends CeStorefrontError {
|
|
|
50
50
|
export const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown> = z
|
|
51
51
|
.object({});
|
|
52
52
|
|
|
53
|
-
/** @internal */
|
|
54
|
-
export type ErrorT$Outbound = {};
|
|
55
|
-
|
|
56
|
-
/** @internal */
|
|
57
|
-
export const ErrorT$outboundSchema: z.ZodType<
|
|
58
|
-
ErrorT$Outbound,
|
|
59
|
-
z.ZodTypeDef,
|
|
60
|
-
ErrorT
|
|
61
|
-
> = z.object({});
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
-
*/
|
|
67
|
-
export namespace ErrorT$ {
|
|
68
|
-
/** @deprecated use `ErrorT$inboundSchema` instead. */
|
|
69
|
-
export const inboundSchema = ErrorT$inboundSchema;
|
|
70
|
-
/** @deprecated use `ErrorT$outboundSchema` instead. */
|
|
71
|
-
export const outboundSchema = ErrorT$outboundSchema;
|
|
72
|
-
/** @deprecated use `ErrorT$Outbound` instead. */
|
|
73
|
-
export type Outbound = ErrorT$Outbound;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function errorToJSON(errorT: ErrorT): string {
|
|
77
|
-
return JSON.stringify(ErrorT$outboundSchema.parse(errorT));
|
|
78
|
-
}
|
|
79
|
-
|
|
80
53
|
export function errorFromJSON(
|
|
81
54
|
jsonString: string,
|
|
82
55
|
): SafeParseResult<ErrorT, SDKValidationError> {
|
|
@@ -108,38 +81,3 @@ export const BadRequest$inboundSchema: z.ZodType<
|
|
|
108
81
|
body: v.body$,
|
|
109
82
|
});
|
|
110
83
|
});
|
|
111
|
-
|
|
112
|
-
/** @internal */
|
|
113
|
-
export type BadRequest$Outbound = {
|
|
114
|
-
message: string;
|
|
115
|
-
success: boolean;
|
|
116
|
-
code: string;
|
|
117
|
-
error?: ErrorT$Outbound | undefined;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
/** @internal */
|
|
121
|
-
export const BadRequest$outboundSchema: z.ZodType<
|
|
122
|
-
BadRequest$Outbound,
|
|
123
|
-
z.ZodTypeDef,
|
|
124
|
-
BadRequest
|
|
125
|
-
> = z.instanceof(BadRequest)
|
|
126
|
-
.transform(v => v.data$)
|
|
127
|
-
.pipe(z.object({
|
|
128
|
-
message: z.string(),
|
|
129
|
-
success: z.boolean(),
|
|
130
|
-
code: z.string(),
|
|
131
|
-
error: z.lazy(() => ErrorT$outboundSchema).optional(),
|
|
132
|
-
}));
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
137
|
-
*/
|
|
138
|
-
export namespace BadRequest$ {
|
|
139
|
-
/** @deprecated use `BadRequest$inboundSchema` instead. */
|
|
140
|
-
export const inboundSchema = BadRequest$inboundSchema;
|
|
141
|
-
/** @deprecated use `BadRequest$outboundSchema` instead. */
|
|
142
|
-
export const outboundSchema = BadRequest$outboundSchema;
|
|
143
|
-
/** @deprecated use `BadRequest$Outbound` instead. */
|
|
144
|
-
export type Outbound = BadRequest$Outbound;
|
|
145
|
-
}
|
|
@@ -58,36 +58,3 @@ export const NotFound$inboundSchema: z.ZodType<
|
|
|
58
58
|
body: v.body$,
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
|
-
|
|
62
|
-
/** @internal */
|
|
63
|
-
export type NotFound$Outbound = {
|
|
64
|
-
message: string;
|
|
65
|
-
success: boolean;
|
|
66
|
-
code: string;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
/** @internal */
|
|
70
|
-
export const NotFound$outboundSchema: z.ZodType<
|
|
71
|
-
NotFound$Outbound,
|
|
72
|
-
z.ZodTypeDef,
|
|
73
|
-
NotFound
|
|
74
|
-
> = z.instanceof(NotFound)
|
|
75
|
-
.transform(v => v.data$)
|
|
76
|
-
.pipe(z.object({
|
|
77
|
-
message: z.string(),
|
|
78
|
-
success: z.boolean(),
|
|
79
|
-
code: z.string(),
|
|
80
|
-
}));
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
85
|
-
*/
|
|
86
|
-
export namespace NotFound$ {
|
|
87
|
-
/** @deprecated use `NotFound$inboundSchema` instead. */
|
|
88
|
-
export const inboundSchema = NotFound$inboundSchema;
|
|
89
|
-
/** @deprecated use `NotFound$outboundSchema` instead. */
|
|
90
|
-
export const outboundSchema = NotFound$outboundSchema;
|
|
91
|
-
/** @deprecated use `NotFound$Outbound` instead. */
|
|
92
|
-
export type Outbound = NotFound$Outbound;
|
|
93
|
-
}
|