ce-storefront 0.18.3 → 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/README.md +2 -2
- 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/index.d.ts +0 -3
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +0 -3
- package/esm/models/components/index.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 +2 -89
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +2 -114
- 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/index.ts +0 -3
- 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 +4 -205
- 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 -583
- package/docs/sdks/shipping/README.md +0 -169
- package/esm/models/components/juspaypaymentgatewayparams.d.ts +0 -115
- package/esm/models/components/juspaypaymentgatewayparams.d.ts.map +0 -1
- package/esm/models/components/juspaypaymentgatewayparams.js +0 -98
- package/esm/models/components/juspaypaymentgatewayparams.js.map +0 -1
- package/esm/models/components/paymentgatewayparams.d.ts +0 -38
- package/esm/models/components/paymentgatewayparams.d.ts.map +0 -1
- package/esm/models/components/paymentgatewayparams.js +0 -43
- package/esm/models/components/paymentgatewayparams.js.map +0 -1
- package/esm/models/components/payupaymentgatewayparams.d.ts +0 -36
- package/esm/models/components/payupaymentgatewayparams.d.ts.map +0 -1
- package/esm/models/components/payupaymentgatewayparams.js +0 -44
- package/esm/models/components/payupaymentgatewayparams.js.map +0 -1
- package/examples/README.md +0 -31
- package/src/models/components/juspaypaymentgatewayparams.ts +0 -181
- package/src/models/components/paymentgatewayparams.ts +0 -99
- package/src/models/components/payupaymentgatewayparams.ts +0 -86
|
@@ -49,26 +49,6 @@ export type ListCategoriesResponseBody = {
|
|
|
49
49
|
content: ListCategoriesContent;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
/** @internal */
|
|
53
|
-
export const ListCategoriesRequest$inboundSchema: z.ZodType<
|
|
54
|
-
ListCategoriesRequest,
|
|
55
|
-
z.ZodTypeDef,
|
|
56
|
-
unknown
|
|
57
|
-
> = z.object({
|
|
58
|
-
search: z.string().optional(),
|
|
59
|
-
sort_by: z.string().optional(),
|
|
60
|
-
nested_level: z.number().int().default(0),
|
|
61
|
-
parent_category_id: z.string().optional(),
|
|
62
|
-
parent_category_slug: z.string().optional(),
|
|
63
|
-
}).transform((v) => {
|
|
64
|
-
return remap$(v, {
|
|
65
|
-
"sort_by": "sortBy",
|
|
66
|
-
"nested_level": "nestedLevel",
|
|
67
|
-
"parent_category_id": "parentCategoryId",
|
|
68
|
-
"parent_category_slug": "parentCategorySlug",
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
|
|
72
52
|
/** @internal */
|
|
73
53
|
export type ListCategoriesRequest$Outbound = {
|
|
74
54
|
search?: string | undefined;
|
|
@@ -98,19 +78,6 @@ export const ListCategoriesRequest$outboundSchema: z.ZodType<
|
|
|
98
78
|
});
|
|
99
79
|
});
|
|
100
80
|
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
104
|
-
*/
|
|
105
|
-
export namespace ListCategoriesRequest$ {
|
|
106
|
-
/** @deprecated use `ListCategoriesRequest$inboundSchema` instead. */
|
|
107
|
-
export const inboundSchema = ListCategoriesRequest$inboundSchema;
|
|
108
|
-
/** @deprecated use `ListCategoriesRequest$outboundSchema` instead. */
|
|
109
|
-
export const outboundSchema = ListCategoriesRequest$outboundSchema;
|
|
110
|
-
/** @deprecated use `ListCategoriesRequest$Outbound` instead. */
|
|
111
|
-
export type Outbound = ListCategoriesRequest$Outbound;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
81
|
export function listCategoriesRequestToJSON(
|
|
115
82
|
listCategoriesRequest: ListCategoriesRequest,
|
|
116
83
|
): string {
|
|
@@ -119,16 +86,6 @@ export function listCategoriesRequestToJSON(
|
|
|
119
86
|
);
|
|
120
87
|
}
|
|
121
88
|
|
|
122
|
-
export function listCategoriesRequestFromJSON(
|
|
123
|
-
jsonString: string,
|
|
124
|
-
): SafeParseResult<ListCategoriesRequest, SDKValidationError> {
|
|
125
|
-
return safeParse(
|
|
126
|
-
jsonString,
|
|
127
|
-
(x) => ListCategoriesRequest$inboundSchema.parse(JSON.parse(x)),
|
|
128
|
-
`Failed to parse 'ListCategoriesRequest' from JSON`,
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
89
|
/** @internal */
|
|
133
90
|
export const ListCategoriesContent$inboundSchema: z.ZodType<
|
|
134
91
|
ListCategoriesContent,
|
|
@@ -139,43 +96,6 @@ export const ListCategoriesContent$inboundSchema: z.ZodType<
|
|
|
139
96
|
pagination: components.Pagination$inboundSchema,
|
|
140
97
|
});
|
|
141
98
|
|
|
142
|
-
/** @internal */
|
|
143
|
-
export type ListCategoriesContent$Outbound = {
|
|
144
|
-
categories: Array<components.ProductCategory$Outbound>;
|
|
145
|
-
pagination: components.Pagination$Outbound;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
/** @internal */
|
|
149
|
-
export const ListCategoriesContent$outboundSchema: z.ZodType<
|
|
150
|
-
ListCategoriesContent$Outbound,
|
|
151
|
-
z.ZodTypeDef,
|
|
152
|
-
ListCategoriesContent
|
|
153
|
-
> = z.object({
|
|
154
|
-
categories: z.array(components.ProductCategory$outboundSchema),
|
|
155
|
-
pagination: components.Pagination$outboundSchema,
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
161
|
-
*/
|
|
162
|
-
export namespace ListCategoriesContent$ {
|
|
163
|
-
/** @deprecated use `ListCategoriesContent$inboundSchema` instead. */
|
|
164
|
-
export const inboundSchema = ListCategoriesContent$inboundSchema;
|
|
165
|
-
/** @deprecated use `ListCategoriesContent$outboundSchema` instead. */
|
|
166
|
-
export const outboundSchema = ListCategoriesContent$outboundSchema;
|
|
167
|
-
/** @deprecated use `ListCategoriesContent$Outbound` instead. */
|
|
168
|
-
export type Outbound = ListCategoriesContent$Outbound;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export function listCategoriesContentToJSON(
|
|
172
|
-
listCategoriesContent: ListCategoriesContent,
|
|
173
|
-
): string {
|
|
174
|
-
return JSON.stringify(
|
|
175
|
-
ListCategoriesContent$outboundSchema.parse(listCategoriesContent),
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
99
|
export function listCategoriesContentFromJSON(
|
|
180
100
|
jsonString: string,
|
|
181
101
|
): SafeParseResult<ListCategoriesContent, SDKValidationError> {
|
|
@@ -197,45 +117,6 @@ export const ListCategoriesResponseBody$inboundSchema: z.ZodType<
|
|
|
197
117
|
content: z.lazy(() => ListCategoriesContent$inboundSchema),
|
|
198
118
|
});
|
|
199
119
|
|
|
200
|
-
/** @internal */
|
|
201
|
-
export type ListCategoriesResponseBody$Outbound = {
|
|
202
|
-
message: string;
|
|
203
|
-
success: boolean;
|
|
204
|
-
content: ListCategoriesContent$Outbound;
|
|
205
|
-
};
|
|
206
|
-
|
|
207
|
-
/** @internal */
|
|
208
|
-
export const ListCategoriesResponseBody$outboundSchema: z.ZodType<
|
|
209
|
-
ListCategoriesResponseBody$Outbound,
|
|
210
|
-
z.ZodTypeDef,
|
|
211
|
-
ListCategoriesResponseBody
|
|
212
|
-
> = z.object({
|
|
213
|
-
message: z.string(),
|
|
214
|
-
success: z.boolean(),
|
|
215
|
-
content: z.lazy(() => ListCategoriesContent$outboundSchema),
|
|
216
|
-
});
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @internal
|
|
220
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
221
|
-
*/
|
|
222
|
-
export namespace ListCategoriesResponseBody$ {
|
|
223
|
-
/** @deprecated use `ListCategoriesResponseBody$inboundSchema` instead. */
|
|
224
|
-
export const inboundSchema = ListCategoriesResponseBody$inboundSchema;
|
|
225
|
-
/** @deprecated use `ListCategoriesResponseBody$outboundSchema` instead. */
|
|
226
|
-
export const outboundSchema = ListCategoriesResponseBody$outboundSchema;
|
|
227
|
-
/** @deprecated use `ListCategoriesResponseBody$Outbound` instead. */
|
|
228
|
-
export type Outbound = ListCategoriesResponseBody$Outbound;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export function listCategoriesResponseBodyToJSON(
|
|
232
|
-
listCategoriesResponseBody: ListCategoriesResponseBody,
|
|
233
|
-
): string {
|
|
234
|
-
return JSON.stringify(
|
|
235
|
-
ListCategoriesResponseBody$outboundSchema.parse(listCategoriesResponseBody),
|
|
236
|
-
);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
120
|
export function listCategoriesResponseBodyFromJSON(
|
|
240
121
|
jsonString: string,
|
|
241
122
|
): SafeParseResult<ListCategoriesResponseBody, SDKValidationError> {
|
|
@@ -41,22 +41,6 @@ export type ListCountryPincodesResponseBody = {
|
|
|
41
41
|
content?: ListCountryPincodesContent | undefined;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
/** @internal */
|
|
45
|
-
export const ListCountryPincodesRequest$inboundSchema: z.ZodType<
|
|
46
|
-
ListCountryPincodesRequest,
|
|
47
|
-
z.ZodTypeDef,
|
|
48
|
-
unknown
|
|
49
|
-
> = z.object({
|
|
50
|
-
country_iso_code: z.string(),
|
|
51
|
-
limit: z.number().int().optional(),
|
|
52
|
-
page: z.number().int().optional(),
|
|
53
|
-
pincode: z.string().optional(),
|
|
54
|
-
}).transform((v) => {
|
|
55
|
-
return remap$(v, {
|
|
56
|
-
"country_iso_code": "countryIsoCode",
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
|
|
60
44
|
/** @internal */
|
|
61
45
|
export type ListCountryPincodesRequest$Outbound = {
|
|
62
46
|
country_iso_code: string;
|
|
@@ -81,19 +65,6 @@ export const ListCountryPincodesRequest$outboundSchema: z.ZodType<
|
|
|
81
65
|
});
|
|
82
66
|
});
|
|
83
67
|
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
-
*/
|
|
88
|
-
export namespace ListCountryPincodesRequest$ {
|
|
89
|
-
/** @deprecated use `ListCountryPincodesRequest$inboundSchema` instead. */
|
|
90
|
-
export const inboundSchema = ListCountryPincodesRequest$inboundSchema;
|
|
91
|
-
/** @deprecated use `ListCountryPincodesRequest$outboundSchema` instead. */
|
|
92
|
-
export const outboundSchema = ListCountryPincodesRequest$outboundSchema;
|
|
93
|
-
/** @deprecated use `ListCountryPincodesRequest$Outbound` instead. */
|
|
94
|
-
export type Outbound = ListCountryPincodesRequest$Outbound;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
68
|
export function listCountryPincodesRequestToJSON(
|
|
98
69
|
listCountryPincodesRequest: ListCountryPincodesRequest,
|
|
99
70
|
): string {
|
|
@@ -102,16 +73,6 @@ export function listCountryPincodesRequestToJSON(
|
|
|
102
73
|
);
|
|
103
74
|
}
|
|
104
75
|
|
|
105
|
-
export function listCountryPincodesRequestFromJSON(
|
|
106
|
-
jsonString: string,
|
|
107
|
-
): SafeParseResult<ListCountryPincodesRequest, SDKValidationError> {
|
|
108
|
-
return safeParse(
|
|
109
|
-
jsonString,
|
|
110
|
-
(x) => ListCountryPincodesRequest$inboundSchema.parse(JSON.parse(x)),
|
|
111
|
-
`Failed to parse 'ListCountryPincodesRequest' from JSON`,
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
76
|
/** @internal */
|
|
116
77
|
export const ListCountryPincodesContent$inboundSchema: z.ZodType<
|
|
117
78
|
ListCountryPincodesContent,
|
|
@@ -121,41 +82,6 @@ export const ListCountryPincodesContent$inboundSchema: z.ZodType<
|
|
|
121
82
|
pincodes: z.array(components.Pincode$inboundSchema).optional(),
|
|
122
83
|
});
|
|
123
84
|
|
|
124
|
-
/** @internal */
|
|
125
|
-
export type ListCountryPincodesContent$Outbound = {
|
|
126
|
-
pincodes?: Array<components.Pincode$Outbound> | undefined;
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
/** @internal */
|
|
130
|
-
export const ListCountryPincodesContent$outboundSchema: z.ZodType<
|
|
131
|
-
ListCountryPincodesContent$Outbound,
|
|
132
|
-
z.ZodTypeDef,
|
|
133
|
-
ListCountryPincodesContent
|
|
134
|
-
> = z.object({
|
|
135
|
-
pincodes: z.array(components.Pincode$outboundSchema).optional(),
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
141
|
-
*/
|
|
142
|
-
export namespace ListCountryPincodesContent$ {
|
|
143
|
-
/** @deprecated use `ListCountryPincodesContent$inboundSchema` instead. */
|
|
144
|
-
export const inboundSchema = ListCountryPincodesContent$inboundSchema;
|
|
145
|
-
/** @deprecated use `ListCountryPincodesContent$outboundSchema` instead. */
|
|
146
|
-
export const outboundSchema = ListCountryPincodesContent$outboundSchema;
|
|
147
|
-
/** @deprecated use `ListCountryPincodesContent$Outbound` instead. */
|
|
148
|
-
export type Outbound = ListCountryPincodesContent$Outbound;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export function listCountryPincodesContentToJSON(
|
|
152
|
-
listCountryPincodesContent: ListCountryPincodesContent,
|
|
153
|
-
): string {
|
|
154
|
-
return JSON.stringify(
|
|
155
|
-
ListCountryPincodesContent$outboundSchema.parse(listCountryPincodesContent),
|
|
156
|
-
);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
85
|
export function listCountryPincodesContentFromJSON(
|
|
160
86
|
jsonString: string,
|
|
161
87
|
): SafeParseResult<ListCountryPincodesContent, SDKValidationError> {
|
|
@@ -177,47 +103,6 @@ export const ListCountryPincodesResponseBody$inboundSchema: z.ZodType<
|
|
|
177
103
|
content: z.lazy(() => ListCountryPincodesContent$inboundSchema).optional(),
|
|
178
104
|
});
|
|
179
105
|
|
|
180
|
-
/** @internal */
|
|
181
|
-
export type ListCountryPincodesResponseBody$Outbound = {
|
|
182
|
-
message?: string | undefined;
|
|
183
|
-
success?: boolean | undefined;
|
|
184
|
-
content?: ListCountryPincodesContent$Outbound | undefined;
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
/** @internal */
|
|
188
|
-
export const ListCountryPincodesResponseBody$outboundSchema: z.ZodType<
|
|
189
|
-
ListCountryPincodesResponseBody$Outbound,
|
|
190
|
-
z.ZodTypeDef,
|
|
191
|
-
ListCountryPincodesResponseBody
|
|
192
|
-
> = z.object({
|
|
193
|
-
message: z.string().optional(),
|
|
194
|
-
success: z.boolean().optional(),
|
|
195
|
-
content: z.lazy(() => ListCountryPincodesContent$outboundSchema).optional(),
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @internal
|
|
200
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
201
|
-
*/
|
|
202
|
-
export namespace ListCountryPincodesResponseBody$ {
|
|
203
|
-
/** @deprecated use `ListCountryPincodesResponseBody$inboundSchema` instead. */
|
|
204
|
-
export const inboundSchema = ListCountryPincodesResponseBody$inboundSchema;
|
|
205
|
-
/** @deprecated use `ListCountryPincodesResponseBody$outboundSchema` instead. */
|
|
206
|
-
export const outboundSchema = ListCountryPincodesResponseBody$outboundSchema;
|
|
207
|
-
/** @deprecated use `ListCountryPincodesResponseBody$Outbound` instead. */
|
|
208
|
-
export type Outbound = ListCountryPincodesResponseBody$Outbound;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
export function listCountryPincodesResponseBodyToJSON(
|
|
212
|
-
listCountryPincodesResponseBody: ListCountryPincodesResponseBody,
|
|
213
|
-
): string {
|
|
214
|
-
return JSON.stringify(
|
|
215
|
-
ListCountryPincodesResponseBody$outboundSchema.parse(
|
|
216
|
-
listCountryPincodesResponseBody,
|
|
217
|
-
),
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
106
|
export function listCountryPincodesResponseBodyFromJSON(
|
|
222
107
|
jsonString: string,
|
|
223
108
|
): SafeParseResult<ListCountryPincodesResponseBody, SDKValidationError> {
|
|
@@ -49,25 +49,6 @@ export type ListCrosssellProductsResponseBody = {
|
|
|
49
49
|
content: ListCrosssellProductsContent;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
/** @internal */
|
|
53
|
-
export const ListCrosssellProductsRequest$inboundSchema: z.ZodType<
|
|
54
|
-
ListCrosssellProductsRequest,
|
|
55
|
-
z.ZodTypeDef,
|
|
56
|
-
unknown
|
|
57
|
-
> = z.object({
|
|
58
|
-
"x-customer-group-id": z.string().optional(),
|
|
59
|
-
limit: z.number().int().optional(),
|
|
60
|
-
page: z.number().int().optional(),
|
|
61
|
-
product_id: z.array(z.string()).optional(),
|
|
62
|
-
sort_by: z.string().optional(),
|
|
63
|
-
}).transform((v) => {
|
|
64
|
-
return remap$(v, {
|
|
65
|
-
"x-customer-group-id": "xCustomerGroupId",
|
|
66
|
-
"product_id": "productId",
|
|
67
|
-
"sort_by": "sortBy",
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
|
|
71
52
|
/** @internal */
|
|
72
53
|
export type ListCrosssellProductsRequest$Outbound = {
|
|
73
54
|
"x-customer-group-id"?: string | undefined;
|
|
@@ -96,19 +77,6 @@ export const ListCrosssellProductsRequest$outboundSchema: z.ZodType<
|
|
|
96
77
|
});
|
|
97
78
|
});
|
|
98
79
|
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
-
*/
|
|
103
|
-
export namespace ListCrosssellProductsRequest$ {
|
|
104
|
-
/** @deprecated use `ListCrosssellProductsRequest$inboundSchema` instead. */
|
|
105
|
-
export const inboundSchema = ListCrosssellProductsRequest$inboundSchema;
|
|
106
|
-
/** @deprecated use `ListCrosssellProductsRequest$outboundSchema` instead. */
|
|
107
|
-
export const outboundSchema = ListCrosssellProductsRequest$outboundSchema;
|
|
108
|
-
/** @deprecated use `ListCrosssellProductsRequest$Outbound` instead. */
|
|
109
|
-
export type Outbound = ListCrosssellProductsRequest$Outbound;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
80
|
export function listCrosssellProductsRequestToJSON(
|
|
113
81
|
listCrosssellProductsRequest: ListCrosssellProductsRequest,
|
|
114
82
|
): string {
|
|
@@ -119,16 +87,6 @@ export function listCrosssellProductsRequestToJSON(
|
|
|
119
87
|
);
|
|
120
88
|
}
|
|
121
89
|
|
|
122
|
-
export function listCrosssellProductsRequestFromJSON(
|
|
123
|
-
jsonString: string,
|
|
124
|
-
): SafeParseResult<ListCrosssellProductsRequest, SDKValidationError> {
|
|
125
|
-
return safeParse(
|
|
126
|
-
jsonString,
|
|
127
|
-
(x) => ListCrosssellProductsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
128
|
-
`Failed to parse 'ListCrosssellProductsRequest' from JSON`,
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
90
|
/** @internal */
|
|
133
91
|
export const ListCrosssellProductsContent$inboundSchema: z.ZodType<
|
|
134
92
|
ListCrosssellProductsContent,
|
|
@@ -139,45 +97,6 @@ export const ListCrosssellProductsContent$inboundSchema: z.ZodType<
|
|
|
139
97
|
pagination: components.Pagination$inboundSchema,
|
|
140
98
|
});
|
|
141
99
|
|
|
142
|
-
/** @internal */
|
|
143
|
-
export type ListCrosssellProductsContent$Outbound = {
|
|
144
|
-
products: Array<components.Item$Outbound>;
|
|
145
|
-
pagination: components.Pagination$Outbound;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
/** @internal */
|
|
149
|
-
export const ListCrosssellProductsContent$outboundSchema: z.ZodType<
|
|
150
|
-
ListCrosssellProductsContent$Outbound,
|
|
151
|
-
z.ZodTypeDef,
|
|
152
|
-
ListCrosssellProductsContent
|
|
153
|
-
> = z.object({
|
|
154
|
-
products: z.array(components.Item$outboundSchema),
|
|
155
|
-
pagination: components.Pagination$outboundSchema,
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
161
|
-
*/
|
|
162
|
-
export namespace ListCrosssellProductsContent$ {
|
|
163
|
-
/** @deprecated use `ListCrosssellProductsContent$inboundSchema` instead. */
|
|
164
|
-
export const inboundSchema = ListCrosssellProductsContent$inboundSchema;
|
|
165
|
-
/** @deprecated use `ListCrosssellProductsContent$outboundSchema` instead. */
|
|
166
|
-
export const outboundSchema = ListCrosssellProductsContent$outboundSchema;
|
|
167
|
-
/** @deprecated use `ListCrosssellProductsContent$Outbound` instead. */
|
|
168
|
-
export type Outbound = ListCrosssellProductsContent$Outbound;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export function listCrosssellProductsContentToJSON(
|
|
172
|
-
listCrosssellProductsContent: ListCrosssellProductsContent,
|
|
173
|
-
): string {
|
|
174
|
-
return JSON.stringify(
|
|
175
|
-
ListCrosssellProductsContent$outboundSchema.parse(
|
|
176
|
-
listCrosssellProductsContent,
|
|
177
|
-
),
|
|
178
|
-
);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
100
|
export function listCrosssellProductsContentFromJSON(
|
|
182
101
|
jsonString: string,
|
|
183
102
|
): SafeParseResult<ListCrosssellProductsContent, SDKValidationError> {
|
|
@@ -199,48 +118,6 @@ export const ListCrosssellProductsResponseBody$inboundSchema: z.ZodType<
|
|
|
199
118
|
content: z.lazy(() => ListCrosssellProductsContent$inboundSchema),
|
|
200
119
|
});
|
|
201
120
|
|
|
202
|
-
/** @internal */
|
|
203
|
-
export type ListCrosssellProductsResponseBody$Outbound = {
|
|
204
|
-
message: string;
|
|
205
|
-
success: boolean;
|
|
206
|
-
content: ListCrosssellProductsContent$Outbound;
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
/** @internal */
|
|
210
|
-
export const ListCrosssellProductsResponseBody$outboundSchema: z.ZodType<
|
|
211
|
-
ListCrosssellProductsResponseBody$Outbound,
|
|
212
|
-
z.ZodTypeDef,
|
|
213
|
-
ListCrosssellProductsResponseBody
|
|
214
|
-
> = z.object({
|
|
215
|
-
message: z.string(),
|
|
216
|
-
success: z.boolean(),
|
|
217
|
-
content: z.lazy(() => ListCrosssellProductsContent$outboundSchema),
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
223
|
-
*/
|
|
224
|
-
export namespace ListCrosssellProductsResponseBody$ {
|
|
225
|
-
/** @deprecated use `ListCrosssellProductsResponseBody$inboundSchema` instead. */
|
|
226
|
-
export const inboundSchema = ListCrosssellProductsResponseBody$inboundSchema;
|
|
227
|
-
/** @deprecated use `ListCrosssellProductsResponseBody$outboundSchema` instead. */
|
|
228
|
-
export const outboundSchema =
|
|
229
|
-
ListCrosssellProductsResponseBody$outboundSchema;
|
|
230
|
-
/** @deprecated use `ListCrosssellProductsResponseBody$Outbound` instead. */
|
|
231
|
-
export type Outbound = ListCrosssellProductsResponseBody$Outbound;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
export function listCrosssellProductsResponseBodyToJSON(
|
|
235
|
-
listCrosssellProductsResponseBody: ListCrosssellProductsResponseBody,
|
|
236
|
-
): string {
|
|
237
|
-
return JSON.stringify(
|
|
238
|
-
ListCrosssellProductsResponseBody$outboundSchema.parse(
|
|
239
|
-
listCrosssellProductsResponseBody,
|
|
240
|
-
),
|
|
241
|
-
);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
121
|
export function listCrosssellProductsResponseBodyFromJSON(
|
|
245
122
|
jsonString: string,
|
|
246
123
|
): SafeParseResult<ListCrosssellProductsResponseBody, SDKValidationError> {
|
|
@@ -49,24 +49,6 @@ export type ListOrdersResponseBody = {
|
|
|
49
49
|
content?: ListOrdersContent | undefined;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
/** @internal */
|
|
53
|
-
export const ListOrdersRequest$inboundSchema: z.ZodType<
|
|
54
|
-
ListOrdersRequest,
|
|
55
|
-
z.ZodTypeDef,
|
|
56
|
-
unknown
|
|
57
|
-
> = z.object({
|
|
58
|
-
page: z.number().optional(),
|
|
59
|
-
limit: z.number().int().optional(),
|
|
60
|
-
sort_by: z.string().optional(),
|
|
61
|
-
status: z.array(z.string()).optional(),
|
|
62
|
-
user_id: z.string(),
|
|
63
|
-
}).transform((v) => {
|
|
64
|
-
return remap$(v, {
|
|
65
|
-
"sort_by": "sortBy",
|
|
66
|
-
"user_id": "userId",
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
|
|
70
52
|
/** @internal */
|
|
71
53
|
export type ListOrdersRequest$Outbound = {
|
|
72
54
|
page?: number | undefined;
|
|
@@ -94,19 +76,6 @@ export const ListOrdersRequest$outboundSchema: z.ZodType<
|
|
|
94
76
|
});
|
|
95
77
|
});
|
|
96
78
|
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
100
|
-
*/
|
|
101
|
-
export namespace ListOrdersRequest$ {
|
|
102
|
-
/** @deprecated use `ListOrdersRequest$inboundSchema` instead. */
|
|
103
|
-
export const inboundSchema = ListOrdersRequest$inboundSchema;
|
|
104
|
-
/** @deprecated use `ListOrdersRequest$outboundSchema` instead. */
|
|
105
|
-
export const outboundSchema = ListOrdersRequest$outboundSchema;
|
|
106
|
-
/** @deprecated use `ListOrdersRequest$Outbound` instead. */
|
|
107
|
-
export type Outbound = ListOrdersRequest$Outbound;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
79
|
export function listOrdersRequestToJSON(
|
|
111
80
|
listOrdersRequest: ListOrdersRequest,
|
|
112
81
|
): string {
|
|
@@ -115,16 +84,6 @@ export function listOrdersRequestToJSON(
|
|
|
115
84
|
);
|
|
116
85
|
}
|
|
117
86
|
|
|
118
|
-
export function listOrdersRequestFromJSON(
|
|
119
|
-
jsonString: string,
|
|
120
|
-
): SafeParseResult<ListOrdersRequest, SDKValidationError> {
|
|
121
|
-
return safeParse(
|
|
122
|
-
jsonString,
|
|
123
|
-
(x) => ListOrdersRequest$inboundSchema.parse(JSON.parse(x)),
|
|
124
|
-
`Failed to parse 'ListOrdersRequest' from JSON`,
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
87
|
/** @internal */
|
|
129
88
|
export const ListOrdersContent$inboundSchema: z.ZodType<
|
|
130
89
|
ListOrdersContent,
|
|
@@ -135,43 +94,6 @@ export const ListOrdersContent$inboundSchema: z.ZodType<
|
|
|
135
94
|
pagination: components.Pagination$inboundSchema.optional(),
|
|
136
95
|
});
|
|
137
96
|
|
|
138
|
-
/** @internal */
|
|
139
|
-
export type ListOrdersContent$Outbound = {
|
|
140
|
-
orders?: Array<components.OrderList$Outbound> | undefined;
|
|
141
|
-
pagination?: components.Pagination$Outbound | undefined;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
/** @internal */
|
|
145
|
-
export const ListOrdersContent$outboundSchema: z.ZodType<
|
|
146
|
-
ListOrdersContent$Outbound,
|
|
147
|
-
z.ZodTypeDef,
|
|
148
|
-
ListOrdersContent
|
|
149
|
-
> = z.object({
|
|
150
|
-
orders: z.array(components.OrderList$outboundSchema).optional(),
|
|
151
|
-
pagination: components.Pagination$outboundSchema.optional(),
|
|
152
|
-
});
|
|
153
|
-
|
|
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 ListOrdersContent$ {
|
|
159
|
-
/** @deprecated use `ListOrdersContent$inboundSchema` instead. */
|
|
160
|
-
export const inboundSchema = ListOrdersContent$inboundSchema;
|
|
161
|
-
/** @deprecated use `ListOrdersContent$outboundSchema` instead. */
|
|
162
|
-
export const outboundSchema = ListOrdersContent$outboundSchema;
|
|
163
|
-
/** @deprecated use `ListOrdersContent$Outbound` instead. */
|
|
164
|
-
export type Outbound = ListOrdersContent$Outbound;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export function listOrdersContentToJSON(
|
|
168
|
-
listOrdersContent: ListOrdersContent,
|
|
169
|
-
): string {
|
|
170
|
-
return JSON.stringify(
|
|
171
|
-
ListOrdersContent$outboundSchema.parse(listOrdersContent),
|
|
172
|
-
);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
97
|
export function listOrdersContentFromJSON(
|
|
176
98
|
jsonString: string,
|
|
177
99
|
): SafeParseResult<ListOrdersContent, SDKValidationError> {
|
|
@@ -193,45 +115,6 @@ export const ListOrdersResponseBody$inboundSchema: z.ZodType<
|
|
|
193
115
|
content: z.lazy(() => ListOrdersContent$inboundSchema).optional(),
|
|
194
116
|
});
|
|
195
117
|
|
|
196
|
-
/** @internal */
|
|
197
|
-
export type ListOrdersResponseBody$Outbound = {
|
|
198
|
-
message?: string | undefined;
|
|
199
|
-
success?: boolean | undefined;
|
|
200
|
-
content?: ListOrdersContent$Outbound | undefined;
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
/** @internal */
|
|
204
|
-
export const ListOrdersResponseBody$outboundSchema: z.ZodType<
|
|
205
|
-
ListOrdersResponseBody$Outbound,
|
|
206
|
-
z.ZodTypeDef,
|
|
207
|
-
ListOrdersResponseBody
|
|
208
|
-
> = z.object({
|
|
209
|
-
message: z.string().optional(),
|
|
210
|
-
success: z.boolean().optional(),
|
|
211
|
-
content: z.lazy(() => ListOrdersContent$outboundSchema).optional(),
|
|
212
|
-
});
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* @internal
|
|
216
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
217
|
-
*/
|
|
218
|
-
export namespace ListOrdersResponseBody$ {
|
|
219
|
-
/** @deprecated use `ListOrdersResponseBody$inboundSchema` instead. */
|
|
220
|
-
export const inboundSchema = ListOrdersResponseBody$inboundSchema;
|
|
221
|
-
/** @deprecated use `ListOrdersResponseBody$outboundSchema` instead. */
|
|
222
|
-
export const outboundSchema = ListOrdersResponseBody$outboundSchema;
|
|
223
|
-
/** @deprecated use `ListOrdersResponseBody$Outbound` instead. */
|
|
224
|
-
export type Outbound = ListOrdersResponseBody$Outbound;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export function listOrdersResponseBodyToJSON(
|
|
228
|
-
listOrdersResponseBody: ListOrdersResponseBody,
|
|
229
|
-
): string {
|
|
230
|
-
return JSON.stringify(
|
|
231
|
-
ListOrdersResponseBody$outboundSchema.parse(listOrdersResponseBody),
|
|
232
|
-
);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
118
|
export function listOrdersResponseBodyFromJSON(
|
|
236
119
|
jsonString: string,
|
|
237
120
|
): SafeParseResult<ListOrdersResponseBody, SDKValidationError> {
|