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
|
@@ -93,45 +93,6 @@ export const UpiCollect$inboundSchema: z.ZodType<
|
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
/** @internal */
|
|
97
|
-
export type UpiCollect$Outbound = {
|
|
98
|
-
count?: number | undefined;
|
|
99
|
-
last_used?: string | undefined;
|
|
100
|
-
vpa?: string | undefined;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
/** @internal */
|
|
104
|
-
export const UpiCollect$outboundSchema: z.ZodType<
|
|
105
|
-
UpiCollect$Outbound,
|
|
106
|
-
z.ZodTypeDef,
|
|
107
|
-
UpiCollect
|
|
108
|
-
> = z.object({
|
|
109
|
-
count: z.number().int().optional(),
|
|
110
|
-
lastUsed: z.string().optional(),
|
|
111
|
-
vpa: z.string().optional(),
|
|
112
|
-
}).transform((v) => {
|
|
113
|
-
return remap$(v, {
|
|
114
|
-
lastUsed: "last_used",
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
121
|
-
*/
|
|
122
|
-
export namespace UpiCollect$ {
|
|
123
|
-
/** @deprecated use `UpiCollect$inboundSchema` instead. */
|
|
124
|
-
export const inboundSchema = UpiCollect$inboundSchema;
|
|
125
|
-
/** @deprecated use `UpiCollect$outboundSchema` instead. */
|
|
126
|
-
export const outboundSchema = UpiCollect$outboundSchema;
|
|
127
|
-
/** @deprecated use `UpiCollect$Outbound` instead. */
|
|
128
|
-
export type Outbound = UpiCollect$Outbound;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export function upiCollectToJSON(upiCollect: UpiCollect): string {
|
|
132
|
-
return JSON.stringify(UpiCollect$outboundSchema.parse(upiCollect));
|
|
133
|
-
}
|
|
134
|
-
|
|
135
96
|
export function upiCollectFromJSON(
|
|
136
97
|
jsonString: string,
|
|
137
98
|
): SafeParseResult<UpiCollect, SDKValidationError> {
|
|
@@ -157,44 +118,6 @@ export const Metadata$inboundSchema: z.ZodType<
|
|
|
157
118
|
});
|
|
158
119
|
});
|
|
159
120
|
|
|
160
|
-
/** @internal */
|
|
161
|
-
export type Metadata$Outbound = {
|
|
162
|
-
"mobile_Number "?: string | undefined;
|
|
163
|
-
"device_Id "?: string | undefined;
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
/** @internal */
|
|
167
|
-
export const Metadata$outboundSchema: z.ZodType<
|
|
168
|
-
Metadata$Outbound,
|
|
169
|
-
z.ZodTypeDef,
|
|
170
|
-
Metadata
|
|
171
|
-
> = z.object({
|
|
172
|
-
mobileNumber: z.string().optional(),
|
|
173
|
-
deviceId: z.string().optional(),
|
|
174
|
-
}).transform((v) => {
|
|
175
|
-
return remap$(v, {
|
|
176
|
-
mobileNumber: "mobile_Number ",
|
|
177
|
-
deviceId: "device_Id ",
|
|
178
|
-
});
|
|
179
|
-
});
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
184
|
-
*/
|
|
185
|
-
export namespace Metadata$ {
|
|
186
|
-
/** @deprecated use `Metadata$inboundSchema` instead. */
|
|
187
|
-
export const inboundSchema = Metadata$inboundSchema;
|
|
188
|
-
/** @deprecated use `Metadata$outboundSchema` instead. */
|
|
189
|
-
export const outboundSchema = Metadata$outboundSchema;
|
|
190
|
-
/** @deprecated use `Metadata$Outbound` instead. */
|
|
191
|
-
export type Outbound = Metadata$Outbound;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
export function metadataToJSON(metadata: Metadata): string {
|
|
195
|
-
return JSON.stringify(Metadata$outboundSchema.parse(metadata));
|
|
196
|
-
}
|
|
197
|
-
|
|
198
121
|
export function metadataFromJSON(
|
|
199
122
|
jsonString: string,
|
|
200
123
|
): SafeParseResult<Metadata, SDKValidationError> {
|
|
@@ -226,53 +149,6 @@ export const SubDetails$inboundSchema: z.ZodType<
|
|
|
226
149
|
});
|
|
227
150
|
});
|
|
228
151
|
|
|
229
|
-
/** @internal */
|
|
230
|
-
export type SubDetails$Outbound = {
|
|
231
|
-
"last_Used "?: string | undefined;
|
|
232
|
-
"current_Balance "?: string | undefined;
|
|
233
|
-
"last_Refreshed "?: string | undefined;
|
|
234
|
-
"payment_Method "?: string | undefined;
|
|
235
|
-
"payment_Method_Type "?: string | undefined;
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
/** @internal */
|
|
239
|
-
export const SubDetails$outboundSchema: z.ZodType<
|
|
240
|
-
SubDetails$Outbound,
|
|
241
|
-
z.ZodTypeDef,
|
|
242
|
-
SubDetails
|
|
243
|
-
> = z.object({
|
|
244
|
-
lastUsed: z.string().optional(),
|
|
245
|
-
currentBalance: z.string().optional(),
|
|
246
|
-
lastRefreshed: z.string().optional(),
|
|
247
|
-
paymentMethod: z.string().optional(),
|
|
248
|
-
paymentMethodType: z.string().optional(),
|
|
249
|
-
}).transform((v) => {
|
|
250
|
-
return remap$(v, {
|
|
251
|
-
lastUsed: "last_Used ",
|
|
252
|
-
currentBalance: "current_Balance ",
|
|
253
|
-
lastRefreshed: "last_Refreshed ",
|
|
254
|
-
paymentMethod: "payment_Method ",
|
|
255
|
-
paymentMethodType: "payment_Method_Type ",
|
|
256
|
-
});
|
|
257
|
-
});
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* @internal
|
|
261
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
262
|
-
*/
|
|
263
|
-
export namespace SubDetails$ {
|
|
264
|
-
/** @deprecated use `SubDetails$inboundSchema` instead. */
|
|
265
|
-
export const inboundSchema = SubDetails$inboundSchema;
|
|
266
|
-
/** @deprecated use `SubDetails$outboundSchema` instead. */
|
|
267
|
-
export const outboundSchema = SubDetails$outboundSchema;
|
|
268
|
-
/** @deprecated use `SubDetails$Outbound` instead. */
|
|
269
|
-
export type Outbound = SubDetails$Outbound;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export function subDetailsToJSON(subDetails: SubDetails): string {
|
|
273
|
-
return JSON.stringify(SubDetails$outboundSchema.parse(subDetails));
|
|
274
|
-
}
|
|
275
|
-
|
|
276
152
|
export function subDetailsFromJSON(
|
|
277
153
|
jsonString: string,
|
|
278
154
|
): SafeParseResult<SubDetails, SDKValidationError> {
|
|
@@ -305,59 +181,6 @@ export const Wallet$inboundSchema: z.ZodType<Wallet, z.ZodTypeDef, unknown> = z
|
|
|
305
181
|
});
|
|
306
182
|
});
|
|
307
183
|
|
|
308
|
-
/** @internal */
|
|
309
|
-
export type Wallet$Outbound = {
|
|
310
|
-
"linked "?: string | undefined;
|
|
311
|
-
"id "?: string | undefined;
|
|
312
|
-
"metadata "?: Metadata$Outbound | undefined;
|
|
313
|
-
"wallet "?: string | undefined;
|
|
314
|
-
"gateway_reference_id "?: string | undefined;
|
|
315
|
-
"last_refreshed "?: string | undefined;
|
|
316
|
-
"sub_details "?: SubDetails$Outbound | undefined;
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
/** @internal */
|
|
320
|
-
export const Wallet$outboundSchema: z.ZodType<
|
|
321
|
-
Wallet$Outbound,
|
|
322
|
-
z.ZodTypeDef,
|
|
323
|
-
Wallet
|
|
324
|
-
> = z.object({
|
|
325
|
-
linked: z.string().optional(),
|
|
326
|
-
id: z.string().optional(),
|
|
327
|
-
metadata: z.lazy(() => Metadata$outboundSchema).optional(),
|
|
328
|
-
wallet: z.string().optional(),
|
|
329
|
-
gatewayReferenceId: z.string().optional(),
|
|
330
|
-
lastRefreshed: z.string().optional(),
|
|
331
|
-
subDetails: z.lazy(() => SubDetails$outboundSchema).optional(),
|
|
332
|
-
}).transform((v) => {
|
|
333
|
-
return remap$(v, {
|
|
334
|
-
linked: "linked ",
|
|
335
|
-
id: "id ",
|
|
336
|
-
metadata: "metadata ",
|
|
337
|
-
wallet: "wallet ",
|
|
338
|
-
gatewayReferenceId: "gateway_reference_id ",
|
|
339
|
-
lastRefreshed: "last_refreshed ",
|
|
340
|
-
subDetails: "sub_details ",
|
|
341
|
-
});
|
|
342
|
-
});
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* @internal
|
|
346
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
347
|
-
*/
|
|
348
|
-
export namespace Wallet$ {
|
|
349
|
-
/** @deprecated use `Wallet$inboundSchema` instead. */
|
|
350
|
-
export const inboundSchema = Wallet$inboundSchema;
|
|
351
|
-
/** @deprecated use `Wallet$outboundSchema` instead. */
|
|
352
|
-
export const outboundSchema = Wallet$outboundSchema;
|
|
353
|
-
/** @deprecated use `Wallet$Outbound` instead. */
|
|
354
|
-
export type Outbound = Wallet$Outbound;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
export function walletToJSON(wallet: Wallet): string {
|
|
358
|
-
return JSON.stringify(Wallet$outboundSchema.parse(wallet));
|
|
359
|
-
}
|
|
360
|
-
|
|
361
184
|
export function walletFromJSON(
|
|
362
185
|
jsonString: string,
|
|
363
186
|
): SafeParseResult<Wallet, SDKValidationError> {
|
|
@@ -381,45 +204,6 @@ export const SavedPaymentMethodMetadata$inboundSchema: z.ZodType<
|
|
|
381
204
|
});
|
|
382
205
|
});
|
|
383
206
|
|
|
384
|
-
/** @internal */
|
|
385
|
-
export type SavedPaymentMethodMetadata$Outbound = {
|
|
386
|
-
origin_merchant_id?: string | undefined;
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
/** @internal */
|
|
390
|
-
export const SavedPaymentMethodMetadata$outboundSchema: z.ZodType<
|
|
391
|
-
SavedPaymentMethodMetadata$Outbound,
|
|
392
|
-
z.ZodTypeDef,
|
|
393
|
-
SavedPaymentMethodMetadata
|
|
394
|
-
> = z.object({
|
|
395
|
-
originMerchantId: z.string().optional(),
|
|
396
|
-
}).transform((v) => {
|
|
397
|
-
return remap$(v, {
|
|
398
|
-
originMerchantId: "origin_merchant_id",
|
|
399
|
-
});
|
|
400
|
-
});
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* @internal
|
|
404
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
405
|
-
*/
|
|
406
|
-
export namespace SavedPaymentMethodMetadata$ {
|
|
407
|
-
/** @deprecated use `SavedPaymentMethodMetadata$inboundSchema` instead. */
|
|
408
|
-
export const inboundSchema = SavedPaymentMethodMetadata$inboundSchema;
|
|
409
|
-
/** @deprecated use `SavedPaymentMethodMetadata$outboundSchema` instead. */
|
|
410
|
-
export const outboundSchema = SavedPaymentMethodMetadata$outboundSchema;
|
|
411
|
-
/** @deprecated use `SavedPaymentMethodMetadata$Outbound` instead. */
|
|
412
|
-
export type Outbound = SavedPaymentMethodMetadata$Outbound;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
export function savedPaymentMethodMetadataToJSON(
|
|
416
|
-
savedPaymentMethodMetadata: SavedPaymentMethodMetadata,
|
|
417
|
-
): string {
|
|
418
|
-
return JSON.stringify(
|
|
419
|
-
SavedPaymentMethodMetadata$outboundSchema.parse(savedPaymentMethodMetadata),
|
|
420
|
-
);
|
|
421
|
-
}
|
|
422
|
-
|
|
423
207
|
export function savedPaymentMethodMetadataFromJSON(
|
|
424
208
|
jsonString: string,
|
|
425
209
|
): SafeParseResult<SavedPaymentMethodMetadata, SDKValidationError> {
|
|
@@ -484,107 +268,6 @@ export const Card$inboundSchema: z.ZodType<Card, z.ZodTypeDef, unknown> = z
|
|
|
484
268
|
});
|
|
485
269
|
});
|
|
486
270
|
|
|
487
|
-
/** @internal */
|
|
488
|
-
export type Card$Outbound = {
|
|
489
|
-
card_sub_type?: string | undefined;
|
|
490
|
-
extended_card_type?: string | undefined;
|
|
491
|
-
card_global_fingerprint?: string | undefined;
|
|
492
|
-
nickname?: string | undefined;
|
|
493
|
-
provider_category?: string | undefined;
|
|
494
|
-
vault_provider?: string | undefined;
|
|
495
|
-
card_reference?: string | undefined;
|
|
496
|
-
card_type?: string | undefined;
|
|
497
|
-
metadata?: SavedPaymentMethodMetadata$Outbound | undefined;
|
|
498
|
-
card_issuer?: string | undefined;
|
|
499
|
-
card_token?: string | undefined;
|
|
500
|
-
card_exp_month?: string | undefined;
|
|
501
|
-
provider?: string | undefined;
|
|
502
|
-
card_sub_type_category?: string | undefined;
|
|
503
|
-
expired?: boolean | undefined;
|
|
504
|
-
card_fingerprint?: string | undefined;
|
|
505
|
-
tokenize_support?: boolean | undefined;
|
|
506
|
-
juspay_bank_code?: string | undefined;
|
|
507
|
-
card_exp_year?: string | undefined;
|
|
508
|
-
name_on_card?: string | undefined;
|
|
509
|
-
country_code?: string | undefined;
|
|
510
|
-
card_number?: string | undefined;
|
|
511
|
-
card_isin?: string | undefined;
|
|
512
|
-
card_brand?: string | undefined;
|
|
513
|
-
card_issuer_country?: string | undefined;
|
|
514
|
-
};
|
|
515
|
-
|
|
516
|
-
/** @internal */
|
|
517
|
-
export const Card$outboundSchema: z.ZodType<Card$Outbound, z.ZodTypeDef, Card> =
|
|
518
|
-
z.object({
|
|
519
|
-
cardSubType: z.string().optional(),
|
|
520
|
-
extendedCardType: z.string().optional(),
|
|
521
|
-
cardGlobalFingerprint: z.string().optional(),
|
|
522
|
-
nickname: z.string().optional(),
|
|
523
|
-
providerCategory: z.string().optional(),
|
|
524
|
-
vaultProvider: z.string().optional(),
|
|
525
|
-
cardReference: z.string().optional(),
|
|
526
|
-
cardType: z.string().optional(),
|
|
527
|
-
metadata: z.lazy(() => SavedPaymentMethodMetadata$outboundSchema)
|
|
528
|
-
.optional(),
|
|
529
|
-
cardIssuer: z.string().optional(),
|
|
530
|
-
cardToken: z.string().optional(),
|
|
531
|
-
cardExpMonth: z.string().optional(),
|
|
532
|
-
provider: z.string().optional(),
|
|
533
|
-
cardSubTypeCategory: z.string().optional(),
|
|
534
|
-
expired: z.boolean().optional(),
|
|
535
|
-
cardFingerprint: z.string().optional(),
|
|
536
|
-
tokenizeSupport: z.boolean().optional(),
|
|
537
|
-
juspayBankCode: z.string().optional(),
|
|
538
|
-
cardExpYear: z.string().optional(),
|
|
539
|
-
nameOnCard: z.string().optional(),
|
|
540
|
-
countryCode: z.string().optional(),
|
|
541
|
-
cardNumber: z.string().optional(),
|
|
542
|
-
cardIsin: z.string().optional(),
|
|
543
|
-
cardBrand: z.string().optional(),
|
|
544
|
-
cardIssuerCountry: z.string().optional(),
|
|
545
|
-
}).transform((v) => {
|
|
546
|
-
return remap$(v, {
|
|
547
|
-
cardSubType: "card_sub_type",
|
|
548
|
-
extendedCardType: "extended_card_type",
|
|
549
|
-
cardGlobalFingerprint: "card_global_fingerprint",
|
|
550
|
-
providerCategory: "provider_category",
|
|
551
|
-
vaultProvider: "vault_provider",
|
|
552
|
-
cardReference: "card_reference",
|
|
553
|
-
cardType: "card_type",
|
|
554
|
-
cardIssuer: "card_issuer",
|
|
555
|
-
cardToken: "card_token",
|
|
556
|
-
cardExpMonth: "card_exp_month",
|
|
557
|
-
cardSubTypeCategory: "card_sub_type_category",
|
|
558
|
-
cardFingerprint: "card_fingerprint",
|
|
559
|
-
tokenizeSupport: "tokenize_support",
|
|
560
|
-
juspayBankCode: "juspay_bank_code",
|
|
561
|
-
cardExpYear: "card_exp_year",
|
|
562
|
-
nameOnCard: "name_on_card",
|
|
563
|
-
countryCode: "country_code",
|
|
564
|
-
cardNumber: "card_number",
|
|
565
|
-
cardIsin: "card_isin",
|
|
566
|
-
cardBrand: "card_brand",
|
|
567
|
-
cardIssuerCountry: "card_issuer_country",
|
|
568
|
-
});
|
|
569
|
-
});
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* @internal
|
|
573
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
574
|
-
*/
|
|
575
|
-
export namespace Card$ {
|
|
576
|
-
/** @deprecated use `Card$inboundSchema` instead. */
|
|
577
|
-
export const inboundSchema = Card$inboundSchema;
|
|
578
|
-
/** @deprecated use `Card$outboundSchema` instead. */
|
|
579
|
-
export const outboundSchema = Card$outboundSchema;
|
|
580
|
-
/** @deprecated use `Card$Outbound` instead. */
|
|
581
|
-
export type Outbound = Card$Outbound;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
export function cardToJSON(card: Card): string {
|
|
585
|
-
return JSON.stringify(Card$outboundSchema.parse(card));
|
|
586
|
-
}
|
|
587
|
-
|
|
588
271
|
export function cardFromJSON(
|
|
589
272
|
jsonString: string,
|
|
590
273
|
): SafeParseResult<Card, SDKValidationError> {
|
|
@@ -612,51 +295,6 @@ export const SavedPaymentMethod$inboundSchema: z.ZodType<
|
|
|
612
295
|
});
|
|
613
296
|
});
|
|
614
297
|
|
|
615
|
-
/** @internal */
|
|
616
|
-
export type SavedPaymentMethod$Outbound = {
|
|
617
|
-
UPI_COLLECT?: Array<UpiCollect$Outbound> | undefined;
|
|
618
|
-
WALLET?: Array<Wallet$Outbound> | undefined;
|
|
619
|
-
CARD?: Array<Card$Outbound> | undefined;
|
|
620
|
-
};
|
|
621
|
-
|
|
622
|
-
/** @internal */
|
|
623
|
-
export const SavedPaymentMethod$outboundSchema: z.ZodType<
|
|
624
|
-
SavedPaymentMethod$Outbound,
|
|
625
|
-
z.ZodTypeDef,
|
|
626
|
-
SavedPaymentMethod
|
|
627
|
-
> = z.object({
|
|
628
|
-
upiCollect: z.array(z.lazy(() => UpiCollect$outboundSchema)).optional(),
|
|
629
|
-
wallet: z.array(z.lazy(() => Wallet$outboundSchema)).optional(),
|
|
630
|
-
card: z.array(z.lazy(() => Card$outboundSchema)).optional(),
|
|
631
|
-
}).transform((v) => {
|
|
632
|
-
return remap$(v, {
|
|
633
|
-
upiCollect: "UPI_COLLECT",
|
|
634
|
-
wallet: "WALLET",
|
|
635
|
-
card: "CARD",
|
|
636
|
-
});
|
|
637
|
-
});
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* @internal
|
|
641
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
642
|
-
*/
|
|
643
|
-
export namespace SavedPaymentMethod$ {
|
|
644
|
-
/** @deprecated use `SavedPaymentMethod$inboundSchema` instead. */
|
|
645
|
-
export const inboundSchema = SavedPaymentMethod$inboundSchema;
|
|
646
|
-
/** @deprecated use `SavedPaymentMethod$outboundSchema` instead. */
|
|
647
|
-
export const outboundSchema = SavedPaymentMethod$outboundSchema;
|
|
648
|
-
/** @deprecated use `SavedPaymentMethod$Outbound` instead. */
|
|
649
|
-
export type Outbound = SavedPaymentMethod$Outbound;
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
export function savedPaymentMethodToJSON(
|
|
653
|
-
savedPaymentMethod: SavedPaymentMethod,
|
|
654
|
-
): string {
|
|
655
|
-
return JSON.stringify(
|
|
656
|
-
SavedPaymentMethod$outboundSchema.parse(savedPaymentMethod),
|
|
657
|
-
);
|
|
658
|
-
}
|
|
659
|
-
|
|
660
298
|
export function savedPaymentMethodFromJSON(
|
|
661
299
|
jsonString: string,
|
|
662
300
|
): SafeParseResult<SavedPaymentMethod, SDKValidationError> {
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
6
|
|
|
10
7
|
/**
|
|
11
8
|
* Payload for searching products.
|
|
@@ -39,18 +36,6 @@ export type SearchProduct = {
|
|
|
39
36
|
facets?: Array<string> | undefined;
|
|
40
37
|
};
|
|
41
38
|
|
|
42
|
-
/** @internal */
|
|
43
|
-
export const SearchProduct$inboundSchema: z.ZodType<
|
|
44
|
-
SearchProduct,
|
|
45
|
-
z.ZodTypeDef,
|
|
46
|
-
unknown
|
|
47
|
-
> = z.object({
|
|
48
|
-
query: z.string(),
|
|
49
|
-
page: z.number().int().default(1),
|
|
50
|
-
limit: z.number().int().default(25),
|
|
51
|
-
facets: z.array(z.string()).optional(),
|
|
52
|
-
});
|
|
53
|
-
|
|
54
39
|
/** @internal */
|
|
55
40
|
export type SearchProduct$Outbound = {
|
|
56
41
|
query: string;
|
|
@@ -71,29 +56,6 @@ export const SearchProduct$outboundSchema: z.ZodType<
|
|
|
71
56
|
facets: z.array(z.string()).optional(),
|
|
72
57
|
});
|
|
73
58
|
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
-
*/
|
|
78
|
-
export namespace SearchProduct$ {
|
|
79
|
-
/** @deprecated use `SearchProduct$inboundSchema` instead. */
|
|
80
|
-
export const inboundSchema = SearchProduct$inboundSchema;
|
|
81
|
-
/** @deprecated use `SearchProduct$outboundSchema` instead. */
|
|
82
|
-
export const outboundSchema = SearchProduct$outboundSchema;
|
|
83
|
-
/** @deprecated use `SearchProduct$Outbound` instead. */
|
|
84
|
-
export type Outbound = SearchProduct$Outbound;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
59
|
export function searchProductToJSON(searchProduct: SearchProduct): string {
|
|
88
60
|
return JSON.stringify(SearchProduct$outboundSchema.parse(searchProduct));
|
|
89
61
|
}
|
|
90
|
-
|
|
91
|
-
export function searchProductFromJSON(
|
|
92
|
-
jsonString: string,
|
|
93
|
-
): SafeParseResult<SearchProduct, SDKValidationError> {
|
|
94
|
-
return safeParse(
|
|
95
|
-
jsonString,
|
|
96
|
-
(x) => SearchProduct$inboundSchema.parse(JSON.parse(x)),
|
|
97
|
-
`Failed to parse 'SearchProduct' from JSON`,
|
|
98
|
-
);
|
|
99
|
-
}
|
|
@@ -4,27 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
7
|
|
|
11
8
|
export type Security = {
|
|
12
9
|
authorization?: string | undefined;
|
|
13
10
|
};
|
|
14
11
|
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const Security$inboundSchema: z.ZodType<
|
|
17
|
-
Security,
|
|
18
|
-
z.ZodTypeDef,
|
|
19
|
-
unknown
|
|
20
|
-
> = z.object({
|
|
21
|
-
Authorization: z.string().optional(),
|
|
22
|
-
}).transform((v) => {
|
|
23
|
-
return remap$(v, {
|
|
24
|
-
"Authorization": "authorization",
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
|
|
28
12
|
/** @internal */
|
|
29
13
|
export type Security$Outbound = {
|
|
30
14
|
Authorization?: string | undefined;
|
|
@@ -43,29 +27,6 @@ export const Security$outboundSchema: z.ZodType<
|
|
|
43
27
|
});
|
|
44
28
|
});
|
|
45
29
|
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export namespace Security$ {
|
|
51
|
-
/** @deprecated use `Security$inboundSchema` instead. */
|
|
52
|
-
export const inboundSchema = Security$inboundSchema;
|
|
53
|
-
/** @deprecated use `Security$outboundSchema` instead. */
|
|
54
|
-
export const outboundSchema = Security$outboundSchema;
|
|
55
|
-
/** @deprecated use `Security$Outbound` instead. */
|
|
56
|
-
export type Outbound = Security$Outbound;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
30
|
export function securityToJSON(security: Security): string {
|
|
60
31
|
return JSON.stringify(Security$outboundSchema.parse(security));
|
|
61
32
|
}
|
|
62
|
-
|
|
63
|
-
export function securityFromJSON(
|
|
64
|
-
jsonString: string,
|
|
65
|
-
): SafeParseResult<Security, SDKValidationError> {
|
|
66
|
-
return safeParse(
|
|
67
|
-
jsonString,
|
|
68
|
-
(x) => Security$inboundSchema.parse(JSON.parse(x)),
|
|
69
|
-
`Failed to parse 'Security' from JSON`,
|
|
70
|
-
);
|
|
71
|
-
}
|
|
@@ -26,40 +26,6 @@ export const Seo$inboundSchema: z.ZodType<Seo, z.ZodTypeDef, unknown> = z
|
|
|
26
26
|
keywords: z.nullable(z.array(z.string())),
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
/** @internal */
|
|
30
|
-
export type Seo$Outbound = {
|
|
31
|
-
slug: string;
|
|
32
|
-
title: string | null;
|
|
33
|
-
description: string | null;
|
|
34
|
-
keywords: Array<string> | null;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
/** @internal */
|
|
38
|
-
export const Seo$outboundSchema: z.ZodType<Seo$Outbound, z.ZodTypeDef, Seo> = z
|
|
39
|
-
.object({
|
|
40
|
-
slug: z.string(),
|
|
41
|
-
title: z.nullable(z.string()),
|
|
42
|
-
description: z.nullable(z.string()),
|
|
43
|
-
keywords: z.nullable(z.array(z.string())),
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export namespace Seo$ {
|
|
51
|
-
/** @deprecated use `Seo$inboundSchema` instead. */
|
|
52
|
-
export const inboundSchema = Seo$inboundSchema;
|
|
53
|
-
/** @deprecated use `Seo$outboundSchema` instead. */
|
|
54
|
-
export const outboundSchema = Seo$outboundSchema;
|
|
55
|
-
/** @deprecated use `Seo$Outbound` instead. */
|
|
56
|
-
export type Outbound = Seo$Outbound;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function seoToJSON(seo: Seo): string {
|
|
60
|
-
return JSON.stringify(Seo$outboundSchema.parse(seo));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
29
|
export function seoFromJSON(
|
|
64
30
|
jsonString: string,
|
|
65
31
|
): SafeParseResult<Seo, SDKValidationError> {
|
|
@@ -46,57 +46,6 @@ export const ShipmentItem$inboundSchema: z.ZodType<
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
/** @internal */
|
|
50
|
-
export type ShipmentItem$Outbound = {
|
|
51
|
-
product_id?: string | undefined;
|
|
52
|
-
product_name?: string | undefined;
|
|
53
|
-
product_image_url?: string | null | undefined;
|
|
54
|
-
sku?: string | undefined;
|
|
55
|
-
quantity?: number | undefined;
|
|
56
|
-
free_quantity?: number | undefined;
|
|
57
|
-
is_free_item?: boolean | undefined;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
/** @internal */
|
|
61
|
-
export const ShipmentItem$outboundSchema: z.ZodType<
|
|
62
|
-
ShipmentItem$Outbound,
|
|
63
|
-
z.ZodTypeDef,
|
|
64
|
-
ShipmentItem
|
|
65
|
-
> = z.object({
|
|
66
|
-
productId: z.string().optional(),
|
|
67
|
-
productName: z.string().optional(),
|
|
68
|
-
productImageUrl: z.nullable(z.string()).optional(),
|
|
69
|
-
sku: z.string().optional(),
|
|
70
|
-
quantity: z.number().int().optional(),
|
|
71
|
-
freeQuantity: z.number().int().optional(),
|
|
72
|
-
isFreeItem: z.boolean().optional(),
|
|
73
|
-
}).transform((v) => {
|
|
74
|
-
return remap$(v, {
|
|
75
|
-
productId: "product_id",
|
|
76
|
-
productName: "product_name",
|
|
77
|
-
productImageUrl: "product_image_url",
|
|
78
|
-
freeQuantity: "free_quantity",
|
|
79
|
-
isFreeItem: "is_free_item",
|
|
80
|
-
});
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
86
|
-
*/
|
|
87
|
-
export namespace ShipmentItem$ {
|
|
88
|
-
/** @deprecated use `ShipmentItem$inboundSchema` instead. */
|
|
89
|
-
export const inboundSchema = ShipmentItem$inboundSchema;
|
|
90
|
-
/** @deprecated use `ShipmentItem$outboundSchema` instead. */
|
|
91
|
-
export const outboundSchema = ShipmentItem$outboundSchema;
|
|
92
|
-
/** @deprecated use `ShipmentItem$Outbound` instead. */
|
|
93
|
-
export type Outbound = ShipmentItem$Outbound;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function shipmentItemToJSON(shipmentItem: ShipmentItem): string {
|
|
97
|
-
return JSON.stringify(ShipmentItem$outboundSchema.parse(shipmentItem));
|
|
98
|
-
}
|
|
99
|
-
|
|
100
49
|
export function shipmentItemFromJSON(
|
|
101
50
|
jsonString: string,
|
|
102
51
|
): SafeParseResult<ShipmentItem, SDKValidationError> {
|
|
@@ -39,49 +39,6 @@ export const SingleSelectAttribute$inboundSchema: z.ZodType<
|
|
|
39
39
|
value: z.string(),
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
/** @internal */
|
|
43
|
-
export type SingleSelectAttribute$Outbound = {
|
|
44
|
-
id: string;
|
|
45
|
-
name: string;
|
|
46
|
-
key: string;
|
|
47
|
-
type: string;
|
|
48
|
-
value: string;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
/** @internal */
|
|
52
|
-
export const SingleSelectAttribute$outboundSchema: z.ZodType<
|
|
53
|
-
SingleSelectAttribute$Outbound,
|
|
54
|
-
z.ZodTypeDef,
|
|
55
|
-
SingleSelectAttribute
|
|
56
|
-
> = z.object({
|
|
57
|
-
id: z.string(),
|
|
58
|
-
name: z.string(),
|
|
59
|
-
key: z.string(),
|
|
60
|
-
type: z.string(),
|
|
61
|
-
value: z.string(),
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
-
*/
|
|
68
|
-
export namespace SingleSelectAttribute$ {
|
|
69
|
-
/** @deprecated use `SingleSelectAttribute$inboundSchema` instead. */
|
|
70
|
-
export const inboundSchema = SingleSelectAttribute$inboundSchema;
|
|
71
|
-
/** @deprecated use `SingleSelectAttribute$outboundSchema` instead. */
|
|
72
|
-
export const outboundSchema = SingleSelectAttribute$outboundSchema;
|
|
73
|
-
/** @deprecated use `SingleSelectAttribute$Outbound` instead. */
|
|
74
|
-
export type Outbound = SingleSelectAttribute$Outbound;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function singleSelectAttributeToJSON(
|
|
78
|
-
singleSelectAttribute: SingleSelectAttribute,
|
|
79
|
-
): string {
|
|
80
|
-
return JSON.stringify(
|
|
81
|
-
SingleSelectAttribute$outboundSchema.parse(singleSelectAttribute),
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
42
|
export function singleSelectAttributeFromJSON(
|
|
86
43
|
jsonString: string,
|
|
87
44
|
): SafeParseResult<SingleSelectAttribute, SDKValidationError> {
|