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
|
@@ -18,34 +18,8 @@ export const BankTransferPaymentStatus = {
|
|
|
18
18
|
/** @internal */
|
|
19
19
|
export const BankTransferTransactionType$inboundSchema = z.nativeEnum(BankTransferTransactionType);
|
|
20
20
|
/** @internal */
|
|
21
|
-
export const BankTransferTransactionType$outboundSchema = BankTransferTransactionType$inboundSchema;
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
-
*/
|
|
26
|
-
export var BankTransferTransactionType$;
|
|
27
|
-
(function (BankTransferTransactionType$) {
|
|
28
|
-
/** @deprecated use `BankTransferTransactionType$inboundSchema` instead. */
|
|
29
|
-
BankTransferTransactionType$.inboundSchema = BankTransferTransactionType$inboundSchema;
|
|
30
|
-
/** @deprecated use `BankTransferTransactionType$outboundSchema` instead. */
|
|
31
|
-
BankTransferTransactionType$.outboundSchema = BankTransferTransactionType$outboundSchema;
|
|
32
|
-
})(BankTransferTransactionType$ || (BankTransferTransactionType$ = {}));
|
|
33
|
-
/** @internal */
|
|
34
21
|
export const BankTransferPaymentStatus$inboundSchema = z.nativeEnum(BankTransferPaymentStatus);
|
|
35
22
|
/** @internal */
|
|
36
|
-
export const BankTransferPaymentStatus$outboundSchema = BankTransferPaymentStatus$inboundSchema;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export var BankTransferPaymentStatus$;
|
|
42
|
-
(function (BankTransferPaymentStatus$) {
|
|
43
|
-
/** @deprecated use `BankTransferPaymentStatus$inboundSchema` instead. */
|
|
44
|
-
BankTransferPaymentStatus$.inboundSchema = BankTransferPaymentStatus$inboundSchema;
|
|
45
|
-
/** @deprecated use `BankTransferPaymentStatus$outboundSchema` instead. */
|
|
46
|
-
BankTransferPaymentStatus$.outboundSchema = BankTransferPaymentStatus$outboundSchema;
|
|
47
|
-
})(BankTransferPaymentStatus$ || (BankTransferPaymentStatus$ = {}));
|
|
48
|
-
/** @internal */
|
|
49
23
|
export const BankTransfer$inboundSchema = z.object({
|
|
50
24
|
transaction_type: BankTransferTransactionType$inboundSchema.optional(),
|
|
51
25
|
request_number: z.string().optional(),
|
|
@@ -70,45 +44,6 @@ export const BankTransfer$inboundSchema = z.object({
|
|
|
70
44
|
"bank_name": "bankName",
|
|
71
45
|
});
|
|
72
46
|
});
|
|
73
|
-
/** @internal */
|
|
74
|
-
export const BankTransfer$outboundSchema = z.object({
|
|
75
|
-
transactionType: BankTransferTransactionType$outboundSchema.optional(),
|
|
76
|
-
requestNumber: z.string().optional(),
|
|
77
|
-
amount: z.number().optional(),
|
|
78
|
-
paymentStatus: BankTransferPaymentStatus$outboundSchema.optional(),
|
|
79
|
-
paymentDate: z.date().transform(v => v.toISOString()).optional(),
|
|
80
|
-
paymentReferenceNumber: z.nullable(z.string()).optional(),
|
|
81
|
-
paymentMethod: z.nullable(z.string()).optional(),
|
|
82
|
-
iconUrl: z.nullable(z.string()).optional(),
|
|
83
|
-
bankAccountNumber: z.string().optional(),
|
|
84
|
-
bankName: z.string().optional(),
|
|
85
|
-
}).transform((v) => {
|
|
86
|
-
return remap$(v, {
|
|
87
|
-
transactionType: "transaction_type",
|
|
88
|
-
requestNumber: "request_number",
|
|
89
|
-
paymentStatus: "payment_status",
|
|
90
|
-
paymentDate: "payment_date",
|
|
91
|
-
paymentReferenceNumber: "payment_reference_number",
|
|
92
|
-
paymentMethod: "payment_method",
|
|
93
|
-
iconUrl: "icon_url",
|
|
94
|
-
bankAccountNumber: "bank_account_number",
|
|
95
|
-
bankName: "bank_name",
|
|
96
|
-
});
|
|
97
|
-
});
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
101
|
-
*/
|
|
102
|
-
export var BankTransfer$;
|
|
103
|
-
(function (BankTransfer$) {
|
|
104
|
-
/** @deprecated use `BankTransfer$inboundSchema` instead. */
|
|
105
|
-
BankTransfer$.inboundSchema = BankTransfer$inboundSchema;
|
|
106
|
-
/** @deprecated use `BankTransfer$outboundSchema` instead. */
|
|
107
|
-
BankTransfer$.outboundSchema = BankTransfer$outboundSchema;
|
|
108
|
-
})(BankTransfer$ || (BankTransfer$ = {}));
|
|
109
|
-
export function bankTransferToJSON(bankTransfer) {
|
|
110
|
-
return JSON.stringify(BankTransfer$outboundSchema.parse(bankTransfer));
|
|
111
|
-
}
|
|
112
47
|
export function bankTransferFromJSON(jsonString) {
|
|
113
48
|
return safeParse(jsonString, (x) => BankTransfer$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BankTransfer' from JSON`);
|
|
114
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banktransfer.js","sourceRoot":"","sources":["../../../src/models/components/banktransfer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAKX,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;CAC3B,CAAC;AA6BX,gBAAgB;AAChB,MAAM,C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.ZodTypeDef, unknown>;
|
|
24
|
-
/** @internal */
|
|
25
|
-
export type BooleanAttribute$Outbound = {
|
|
26
|
-
id: string;
|
|
27
|
-
name: string;
|
|
28
|
-
key: string;
|
|
29
|
-
type: string;
|
|
30
|
-
value: boolean;
|
|
31
|
-
};
|
|
32
|
-
/** @internal */
|
|
33
|
-
export declare const BooleanAttribute$outboundSchema: z.ZodType<BooleanAttribute$Outbound, z.ZodTypeDef, BooleanAttribute>;
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
|
-
*/
|
|
38
|
-
export declare namespace BooleanAttribute$ {
|
|
39
|
-
/** @deprecated use `BooleanAttribute$inboundSchema` instead. */
|
|
40
|
-
const inboundSchema: z.ZodType<BooleanAttribute, z.ZodTypeDef, unknown>;
|
|
41
|
-
/** @deprecated use `BooleanAttribute$outboundSchema` instead. */
|
|
42
|
-
const outboundSchema: z.ZodType<BooleanAttribute$Outbound, z.ZodTypeDef, BooleanAttribute>;
|
|
43
|
-
/** @deprecated use `BooleanAttribute$Outbound` instead. */
|
|
44
|
-
type Outbound = BooleanAttribute$Outbound;
|
|
45
|
-
}
|
|
46
|
-
export declare function booleanAttributeToJSON(booleanAttribute: BooleanAttribute): string;
|
|
47
24
|
export declare function booleanAttributeFromJSON(jsonString: string): SafeParseResult<BooleanAttribute, SDKValidationError>;
|
|
48
25
|
//# sourceMappingURL=booleanattribute.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booleanattribute.d.ts","sourceRoot":"","sources":["../../../src/models/components/booleanattribute.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"booleanattribute.d.ts","sourceRoot":"","sources":["../../../src/models/components/booleanattribute.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -11,28 +11,6 @@ export const BooleanAttribute$inboundSchema = z.object({
|
|
|
11
11
|
type: z.string(),
|
|
12
12
|
value: z.boolean(),
|
|
13
13
|
});
|
|
14
|
-
/** @internal */
|
|
15
|
-
export const BooleanAttribute$outboundSchema = z.object({
|
|
16
|
-
id: z.string(),
|
|
17
|
-
name: z.string(),
|
|
18
|
-
key: z.string(),
|
|
19
|
-
type: z.string(),
|
|
20
|
-
value: z.boolean(),
|
|
21
|
-
});
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
-
*/
|
|
26
|
-
export var BooleanAttribute$;
|
|
27
|
-
(function (BooleanAttribute$) {
|
|
28
|
-
/** @deprecated use `BooleanAttribute$inboundSchema` instead. */
|
|
29
|
-
BooleanAttribute$.inboundSchema = BooleanAttribute$inboundSchema;
|
|
30
|
-
/** @deprecated use `BooleanAttribute$outboundSchema` instead. */
|
|
31
|
-
BooleanAttribute$.outboundSchema = BooleanAttribute$outboundSchema;
|
|
32
|
-
})(BooleanAttribute$ || (BooleanAttribute$ = {}));
|
|
33
|
-
export function booleanAttributeToJSON(booleanAttribute) {
|
|
34
|
-
return JSON.stringify(BooleanAttribute$outboundSchema.parse(booleanAttribute));
|
|
35
|
-
}
|
|
36
14
|
export function booleanAttributeFromJSON(jsonString) {
|
|
37
15
|
return safeParse(jsonString, (x) => BooleanAttribute$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BooleanAttribute' from JSON`);
|
|
38
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booleanattribute.js","sourceRoot":"","sources":["../../../src/models/components/booleanattribute.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAuBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;CACnB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"booleanattribute.js","sourceRoot":"","sources":["../../../src/models/components/booleanattribute.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAuBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;CACnB,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -48,102 +48,10 @@ export type CardPayment = {
|
|
|
48
48
|
/** @internal */
|
|
49
49
|
export declare const TransactionType$inboundSchema: z.ZodNativeEnum<typeof TransactionType>;
|
|
50
50
|
/** @internal */
|
|
51
|
-
export declare const TransactionType$outboundSchema: z.ZodNativeEnum<typeof TransactionType>;
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
-
*/
|
|
56
|
-
export declare namespace TransactionType$ {
|
|
57
|
-
/** @deprecated use `TransactionType$inboundSchema` instead. */
|
|
58
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
59
|
-
readonly Payment: "payment";
|
|
60
|
-
readonly Refund: "refund";
|
|
61
|
-
}>;
|
|
62
|
-
/** @deprecated use `TransactionType$outboundSchema` instead. */
|
|
63
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
64
|
-
readonly Payment: "payment";
|
|
65
|
-
readonly Refund: "refund";
|
|
66
|
-
}>;
|
|
67
|
-
}
|
|
68
|
-
/** @internal */
|
|
69
51
|
export declare const CardPaymentPaymentStatus$inboundSchema: z.ZodNativeEnum<typeof CardPaymentPaymentStatus>;
|
|
70
52
|
/** @internal */
|
|
71
|
-
export declare const CardPaymentPaymentStatus$outboundSchema: z.ZodNativeEnum<typeof CardPaymentPaymentStatus>;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
-
*/
|
|
76
|
-
export declare namespace CardPaymentPaymentStatus$ {
|
|
77
|
-
/** @deprecated use `CardPaymentPaymentStatus$inboundSchema` instead. */
|
|
78
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
79
|
-
readonly Pending: "pending";
|
|
80
|
-
readonly Success: "success";
|
|
81
|
-
readonly Failed: "failed";
|
|
82
|
-
readonly PartiallyPaid: "partially_paid";
|
|
83
|
-
readonly RefundInitiated: "refund_initiated";
|
|
84
|
-
}>;
|
|
85
|
-
/** @deprecated use `CardPaymentPaymentStatus$outboundSchema` instead. */
|
|
86
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
87
|
-
readonly Pending: "pending";
|
|
88
|
-
readonly Success: "success";
|
|
89
|
-
readonly Failed: "failed";
|
|
90
|
-
readonly PartiallyPaid: "partially_paid";
|
|
91
|
-
readonly RefundInitiated: "refund_initiated";
|
|
92
|
-
}>;
|
|
93
|
-
}
|
|
94
|
-
/** @internal */
|
|
95
53
|
export declare const CardType$inboundSchema: z.ZodNativeEnum<typeof CardType>;
|
|
96
54
|
/** @internal */
|
|
97
|
-
export declare const CardType$outboundSchema: z.ZodNativeEnum<typeof CardType>;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
101
|
-
*/
|
|
102
|
-
export declare namespace CardType$ {
|
|
103
|
-
/** @deprecated use `CardType$inboundSchema` instead. */
|
|
104
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
105
|
-
readonly Visa: "Visa";
|
|
106
|
-
readonly MasterCard: "Master Card";
|
|
107
|
-
readonly Rupay: "Rupay";
|
|
108
|
-
readonly AmericanExpress: "American Express";
|
|
109
|
-
}>;
|
|
110
|
-
/** @deprecated use `CardType$outboundSchema` instead. */
|
|
111
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
112
|
-
readonly Visa: "Visa";
|
|
113
|
-
readonly MasterCard: "Master Card";
|
|
114
|
-
readonly Rupay: "Rupay";
|
|
115
|
-
readonly AmericanExpress: "American Express";
|
|
116
|
-
}>;
|
|
117
|
-
}
|
|
118
|
-
/** @internal */
|
|
119
55
|
export declare const CardPayment$inboundSchema: z.ZodType<CardPayment, z.ZodTypeDef, unknown>;
|
|
120
|
-
/** @internal */
|
|
121
|
-
export type CardPayment$Outbound = {
|
|
122
|
-
transaction_type?: string | undefined;
|
|
123
|
-
request_number?: string | undefined;
|
|
124
|
-
amount?: number | undefined;
|
|
125
|
-
payment_status?: string | undefined;
|
|
126
|
-
payment_date?: string | undefined;
|
|
127
|
-
payment_reference_number?: string | null | undefined;
|
|
128
|
-
payment_method?: string | null | undefined;
|
|
129
|
-
icon_url?: string | null | undefined;
|
|
130
|
-
card_number?: string | undefined;
|
|
131
|
-
card_type?: string | undefined;
|
|
132
|
-
};
|
|
133
|
-
/** @internal */
|
|
134
|
-
export declare const CardPayment$outboundSchema: z.ZodType<CardPayment$Outbound, z.ZodTypeDef, CardPayment>;
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
138
|
-
*/
|
|
139
|
-
export declare namespace CardPayment$ {
|
|
140
|
-
/** @deprecated use `CardPayment$inboundSchema` instead. */
|
|
141
|
-
const inboundSchema: z.ZodType<CardPayment, z.ZodTypeDef, unknown>;
|
|
142
|
-
/** @deprecated use `CardPayment$outboundSchema` instead. */
|
|
143
|
-
const outboundSchema: z.ZodType<CardPayment$Outbound, z.ZodTypeDef, CardPayment>;
|
|
144
|
-
/** @deprecated use `CardPayment$Outbound` instead. */
|
|
145
|
-
type Outbound = CardPayment$Outbound;
|
|
146
|
-
}
|
|
147
|
-
export declare function cardPaymentToJSON(cardPayment: CardPayment): string;
|
|
148
56
|
export declare function cardPaymentFromJSON(jsonString: string): SafeParseResult<CardPayment, SDKValidationError>;
|
|
149
57
|
//# sourceMappingURL=cardpayment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cardpayment.d.ts","sourceRoot":"","sources":["../../../src/models/components/cardpayment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,eAAO,MAAM,wBAAwB;;;;;;CAM3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEnD;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,eAAe,CAAC,EAAE,eA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*/
|
|
25
25
|
export const TransactionType$inboundSchema = z.nativeEnum(TransactionType);
|
|
26
26
|
/** @internal */
|
|
27
|
-
export const TransactionType$outboundSchema = TransactionType$inboundSchema;
|
|
28
|
-
/**
|
|
29
|
-
* @internal
|
|
30
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
-
*/
|
|
32
|
-
export var TransactionType$;
|
|
33
|
-
(function (TransactionType$) {
|
|
34
|
-
/** @deprecated use `TransactionType$inboundSchema` instead. */
|
|
35
|
-
TransactionType$.inboundSchema = TransactionType$inboundSchema;
|
|
36
|
-
/** @deprecated use `TransactionType$outboundSchema` instead. */
|
|
37
|
-
TransactionType$.outboundSchema = TransactionType$outboundSchema;
|
|
38
|
-
})(TransactionType$ || (TransactionType$ = {}));
|
|
39
|
-
/** @internal */
|
|
40
27
|
export const CardPaymentPaymentStatus$inboundSchema = z.nativeEnum(CardPaymentPaymentStatus);
|
|
41
28
|
/** @internal */
|
|
42
|
-
export const CardPaymentPaymentStatus$outboundSchema = CardPaymentPaymentStatus$inboundSchema;
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
-
*/
|
|
47
|
-
export var CardPaymentPaymentStatus$;
|
|
48
|
-
(function (CardPaymentPaymentStatus$) {
|
|
49
|
-
/** @deprecated use `CardPaymentPaymentStatus$inboundSchema` instead. */
|
|
50
|
-
CardPaymentPaymentStatus$.inboundSchema = CardPaymentPaymentStatus$inboundSchema;
|
|
51
|
-
/** @deprecated use `CardPaymentPaymentStatus$outboundSchema` instead. */
|
|
52
|
-
CardPaymentPaymentStatus$.outboundSchema = CardPaymentPaymentStatus$outboundSchema;
|
|
53
|
-
})(CardPaymentPaymentStatus$ || (CardPaymentPaymentStatus$ = {}));
|
|
54
|
-
/** @internal */
|
|
55
29
|
export const CardType$inboundSchema = z
|
|
56
30
|
.nativeEnum(CardType);
|
|
57
31
|
/** @internal */
|
|
58
|
-
export const CardType$outboundSchema = CardType$inboundSchema;
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
-
*/
|
|
63
|
-
export var CardType$;
|
|
64
|
-
(function (CardType$) {
|
|
65
|
-
/** @deprecated use `CardType$inboundSchema` instead. */
|
|
66
|
-
CardType$.inboundSchema = CardType$inboundSchema;
|
|
67
|
-
/** @deprecated use `CardType$outboundSchema` instead. */
|
|
68
|
-
CardType$.outboundSchema = CardType$outboundSchema;
|
|
69
|
-
})(CardType$ || (CardType$ = {}));
|
|
70
|
-
/** @internal */
|
|
71
32
|
export const CardPayment$inboundSchema = z.object({
|
|
72
33
|
transaction_type: TransactionType$inboundSchema.optional(),
|
|
73
34
|
request_number: z.string().optional(),
|
|
@@ -92,45 +53,6 @@ export const CardPayment$inboundSchema = z.object({
|
|
|
92
53
|
"card_type": "cardType",
|
|
93
54
|
});
|
|
94
55
|
});
|
|
95
|
-
/** @internal */
|
|
96
|
-
export const CardPayment$outboundSchema = z.object({
|
|
97
|
-
transactionType: TransactionType$outboundSchema.optional(),
|
|
98
|
-
requestNumber: z.string().optional(),
|
|
99
|
-
amount: z.number().optional(),
|
|
100
|
-
paymentStatus: CardPaymentPaymentStatus$outboundSchema.optional(),
|
|
101
|
-
paymentDate: z.date().transform(v => v.toISOString()).optional(),
|
|
102
|
-
paymentReferenceNumber: z.nullable(z.string()).optional(),
|
|
103
|
-
paymentMethod: z.nullable(z.string()).optional(),
|
|
104
|
-
iconUrl: z.nullable(z.string()).optional(),
|
|
105
|
-
cardNumber: z.string().optional(),
|
|
106
|
-
cardType: CardType$outboundSchema.optional(),
|
|
107
|
-
}).transform((v) => {
|
|
108
|
-
return remap$(v, {
|
|
109
|
-
transactionType: "transaction_type",
|
|
110
|
-
requestNumber: "request_number",
|
|
111
|
-
paymentStatus: "payment_status",
|
|
112
|
-
paymentDate: "payment_date",
|
|
113
|
-
paymentReferenceNumber: "payment_reference_number",
|
|
114
|
-
paymentMethod: "payment_method",
|
|
115
|
-
iconUrl: "icon_url",
|
|
116
|
-
cardNumber: "card_number",
|
|
117
|
-
cardType: "card_type",
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
123
|
-
*/
|
|
124
|
-
export var CardPayment$;
|
|
125
|
-
(function (CardPayment$) {
|
|
126
|
-
/** @deprecated use `CardPayment$inboundSchema` instead. */
|
|
127
|
-
CardPayment$.inboundSchema = CardPayment$inboundSchema;
|
|
128
|
-
/** @deprecated use `CardPayment$outboundSchema` instead. */
|
|
129
|
-
CardPayment$.outboundSchema = CardPayment$outboundSchema;
|
|
130
|
-
})(CardPayment$ || (CardPayment$ = {}));
|
|
131
|
-
export function cardPaymentToJSON(cardPayment) {
|
|
132
|
-
return JSON.stringify(CardPayment$outboundSchema.parse(cardPayment));
|
|
133
|
-
}
|
|
134
56
|
export function cardPaymentFromJSON(jsonString) {
|
|
135
57
|
return safeParse(jsonString, (x) => CardPayment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CardPayment' from JSON`);
|
|
136
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cardpayment.js","sourceRoot":"","sources":["../../../src/models/components/cardpayment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,OAAO,EAAE,SAAS;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,0BAA0B,EAAE,wBAAwB;QACpD,gBAAgB,EAAE,eAAe;QACjC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,YAAY;QAC3B,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,mBAAmB,CACjC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { AppliedCoupon
|
|
5
|
-
import { AppliedPromotion
|
|
6
|
-
import { CartItem
|
|
7
|
-
import { Currency
|
|
8
|
-
import { CustomerAddress
|
|
9
|
-
import { FulfillmentPreference
|
|
4
|
+
import { AppliedCoupon } from "./appliedcoupon.js";
|
|
5
|
+
import { AppliedPromotion } from "./appliedpromotion.js";
|
|
6
|
+
import { CartItem } from "./cartitem.js";
|
|
7
|
+
import { Currency } from "./currency.js";
|
|
8
|
+
import { CustomerAddress } from "./customeraddress.js";
|
|
9
|
+
import { FulfillmentPreference } from "./fulfillmentpreference.js";
|
|
10
10
|
/**
|
|
11
11
|
* This cart model is structured to capture a wide range of details, facilitating accurate representation and management of user shopping carts in an e-commerce platform.
|
|
12
12
|
*
|
|
@@ -159,68 +159,5 @@ export type Cart = {
|
|
|
159
159
|
};
|
|
160
160
|
/** @internal */
|
|
161
161
|
export declare const Cart$inboundSchema: z.ZodType<Cart, z.ZodTypeDef, unknown>;
|
|
162
|
-
/** @internal */
|
|
163
|
-
export type Cart$Outbound = {
|
|
164
|
-
id: string;
|
|
165
|
-
active: boolean;
|
|
166
|
-
customer_note: string | null;
|
|
167
|
-
is_promotion_applied: boolean;
|
|
168
|
-
is_coupon_applied: boolean;
|
|
169
|
-
coupon_code: string | null;
|
|
170
|
-
coupon_discount_amount: number;
|
|
171
|
-
coupon_discount_percent: number;
|
|
172
|
-
promotion_discount_amount: number;
|
|
173
|
-
promotion_discount_percent?: number | undefined;
|
|
174
|
-
subtotal: number;
|
|
175
|
-
items_tax_amount: number;
|
|
176
|
-
subtotal_including_tax: number;
|
|
177
|
-
shipping_estimated_cost: number | null;
|
|
178
|
-
shipping_discount_amount: number | null;
|
|
179
|
-
shipping_amount: number | null;
|
|
180
|
-
shipping_tax_rate: number | null;
|
|
181
|
-
shipping_tax_amount: number | null;
|
|
182
|
-
shipping_amount_including_tax: number | null;
|
|
183
|
-
fulfillment_preference?: FulfillmentPreference$Outbound | undefined;
|
|
184
|
-
estimated_delivery_days: number | null;
|
|
185
|
-
handling_charge_excluding_tax: number;
|
|
186
|
-
handling_charge_tax_amount: number;
|
|
187
|
-
handling_charge_including_tax: number;
|
|
188
|
-
total_tax: number;
|
|
189
|
-
grand_total: number;
|
|
190
|
-
credit_balance_used: number;
|
|
191
|
-
to_be_paid: number;
|
|
192
|
-
loyalty_points_redeemed: number;
|
|
193
|
-
loyalty_points_earned: number;
|
|
194
|
-
cart_items_count: number;
|
|
195
|
-
cart_items: Array<CartItem$Outbound>;
|
|
196
|
-
billing_address: CustomerAddress$Outbound | null;
|
|
197
|
-
shipping_address: CustomerAddress$Outbound | null;
|
|
198
|
-
currency: Currency$Outbound;
|
|
199
|
-
metadata: {
|
|
200
|
-
[k: string]: string;
|
|
201
|
-
} | null;
|
|
202
|
-
expires_at: string | null;
|
|
203
|
-
applied_promotions: Array<AppliedPromotion$Outbound>;
|
|
204
|
-
applied_coupons: Array<AppliedCoupon$Outbound>;
|
|
205
|
-
promotion_savings: number;
|
|
206
|
-
coupon_savings: number;
|
|
207
|
-
other_savings: number;
|
|
208
|
-
total_savings: number;
|
|
209
|
-
};
|
|
210
|
-
/** @internal */
|
|
211
|
-
export declare const Cart$outboundSchema: z.ZodType<Cart$Outbound, z.ZodTypeDef, Cart>;
|
|
212
|
-
/**
|
|
213
|
-
* @internal
|
|
214
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
215
|
-
*/
|
|
216
|
-
export declare namespace Cart$ {
|
|
217
|
-
/** @deprecated use `Cart$inboundSchema` instead. */
|
|
218
|
-
const inboundSchema: z.ZodType<Cart, z.ZodTypeDef, unknown>;
|
|
219
|
-
/** @deprecated use `Cart$outboundSchema` instead. */
|
|
220
|
-
const outboundSchema: z.ZodType<Cart$Outbound, z.ZodTypeDef, Cart>;
|
|
221
|
-
/** @deprecated use `Cart$Outbound` instead. */
|
|
222
|
-
type Outbound = Cart$Outbound;
|
|
223
|
-
}
|
|
224
|
-
export declare function cartToJSON(cart: Cart): string;
|
|
225
162
|
export declare function cartFromJSON(jsonString: string): SafeParseResult<Cart, SDKValidationError>;
|
|
226
163
|
//# sourceMappingURL=cart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.d.ts","sourceRoot":"","sources":["../../../src/models/components/cart.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,
|
|
1
|
+
{"version":3,"file":"cart.d.ts","sourceRoot":"","sources":["../../../src/models/components/cart.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,aAAa,EAA+B,MAAM,oBAAoB,CAAC;AAChF,OAAO,EACL,gBAAgB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wFlE,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { AppliedCoupon$inboundSchema
|
|
8
|
-
import { AppliedPromotion$inboundSchema,
|
|
9
|
-
import { CartItem$inboundSchema
|
|
10
|
-
import { Currency$inboundSchema
|
|
11
|
-
import { CustomerAddress$inboundSchema,
|
|
12
|
-
import { FulfillmentPreference$inboundSchema,
|
|
7
|
+
import { AppliedCoupon$inboundSchema } from "./appliedcoupon.js";
|
|
8
|
+
import { AppliedPromotion$inboundSchema, } from "./appliedpromotion.js";
|
|
9
|
+
import { CartItem$inboundSchema } from "./cartitem.js";
|
|
10
|
+
import { Currency$inboundSchema } from "./currency.js";
|
|
11
|
+
import { CustomerAddress$inboundSchema, } from "./customeraddress.js";
|
|
12
|
+
import { FulfillmentPreference$inboundSchema, } from "./fulfillmentpreference.js";
|
|
13
13
|
/** @internal */
|
|
14
14
|
export const Cart$inboundSchema = z
|
|
15
15
|
.object({
|
|
@@ -98,107 +98,6 @@ export const Cart$inboundSchema = z
|
|
|
98
98
|
"total_savings": "totalSavings",
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
|
-
/** @internal */
|
|
102
|
-
export const Cart$outboundSchema = z.object({
|
|
103
|
-
id: z.string(),
|
|
104
|
-
active: z.boolean(),
|
|
105
|
-
customerNote: z.nullable(z.string()),
|
|
106
|
-
isPromotionApplied: z.boolean(),
|
|
107
|
-
isCouponApplied: z.boolean(),
|
|
108
|
-
couponCode: z.nullable(z.string()),
|
|
109
|
-
couponDiscountAmount: z.number(),
|
|
110
|
-
couponDiscountPercent: z.number(),
|
|
111
|
-
promotionDiscountAmount: z.number(),
|
|
112
|
-
promotionDiscountPercent: z.number().optional(),
|
|
113
|
-
subtotal: z.number(),
|
|
114
|
-
itemsTaxAmount: z.number(),
|
|
115
|
-
subtotalIncludingTax: z.number(),
|
|
116
|
-
shippingEstimatedCost: z.nullable(z.number()),
|
|
117
|
-
shippingDiscountAmount: z.nullable(z.number()),
|
|
118
|
-
shippingAmount: z.nullable(z.number()),
|
|
119
|
-
shippingTaxRate: z.nullable(z.number()),
|
|
120
|
-
shippingTaxAmount: z.nullable(z.number()),
|
|
121
|
-
shippingAmountIncludingTax: z.nullable(z.number()),
|
|
122
|
-
fulfillmentPreference: FulfillmentPreference$outboundSchema.optional(),
|
|
123
|
-
estimatedDeliveryDays: z.nullable(z.number().int()),
|
|
124
|
-
handlingChargeExcludingTax: z.number(),
|
|
125
|
-
handlingChargeTaxAmount: z.number(),
|
|
126
|
-
handlingChargeIncludingTax: z.number(),
|
|
127
|
-
totalTax: z.number(),
|
|
128
|
-
grandTotal: z.number(),
|
|
129
|
-
creditBalanceUsed: z.number(),
|
|
130
|
-
toBePaid: z.number(),
|
|
131
|
-
loyaltyPointsRedeemed: z.number().int(),
|
|
132
|
-
loyaltyPointsEarned: z.number().int(),
|
|
133
|
-
cartItemsCount: z.number().int(),
|
|
134
|
-
cartItems: z.array(CartItem$outboundSchema),
|
|
135
|
-
billingAddress: z.nullable(CustomerAddress$outboundSchema),
|
|
136
|
-
shippingAddress: z.nullable(CustomerAddress$outboundSchema),
|
|
137
|
-
currency: Currency$outboundSchema,
|
|
138
|
-
metadata: z.nullable(z.record(z.string())),
|
|
139
|
-
expiresAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
140
|
-
appliedPromotions: z.array(AppliedPromotion$outboundSchema),
|
|
141
|
-
appliedCoupons: z.array(AppliedCoupon$outboundSchema),
|
|
142
|
-
promotionSavings: z.number(),
|
|
143
|
-
couponSavings: z.number(),
|
|
144
|
-
otherSavings: z.number(),
|
|
145
|
-
totalSavings: z.number(),
|
|
146
|
-
}).transform((v) => {
|
|
147
|
-
return remap$(v, {
|
|
148
|
-
customerNote: "customer_note",
|
|
149
|
-
isPromotionApplied: "is_promotion_applied",
|
|
150
|
-
isCouponApplied: "is_coupon_applied",
|
|
151
|
-
couponCode: "coupon_code",
|
|
152
|
-
couponDiscountAmount: "coupon_discount_amount",
|
|
153
|
-
couponDiscountPercent: "coupon_discount_percent",
|
|
154
|
-
promotionDiscountAmount: "promotion_discount_amount",
|
|
155
|
-
promotionDiscountPercent: "promotion_discount_percent",
|
|
156
|
-
itemsTaxAmount: "items_tax_amount",
|
|
157
|
-
subtotalIncludingTax: "subtotal_including_tax",
|
|
158
|
-
shippingEstimatedCost: "shipping_estimated_cost",
|
|
159
|
-
shippingDiscountAmount: "shipping_discount_amount",
|
|
160
|
-
shippingAmount: "shipping_amount",
|
|
161
|
-
shippingTaxRate: "shipping_tax_rate",
|
|
162
|
-
shippingTaxAmount: "shipping_tax_amount",
|
|
163
|
-
shippingAmountIncludingTax: "shipping_amount_including_tax",
|
|
164
|
-
fulfillmentPreference: "fulfillment_preference",
|
|
165
|
-
estimatedDeliveryDays: "estimated_delivery_days",
|
|
166
|
-
handlingChargeExcludingTax: "handling_charge_excluding_tax",
|
|
167
|
-
handlingChargeTaxAmount: "handling_charge_tax_amount",
|
|
168
|
-
handlingChargeIncludingTax: "handling_charge_including_tax",
|
|
169
|
-
totalTax: "total_tax",
|
|
170
|
-
grandTotal: "grand_total",
|
|
171
|
-
creditBalanceUsed: "credit_balance_used",
|
|
172
|
-
toBePaid: "to_be_paid",
|
|
173
|
-
loyaltyPointsRedeemed: "loyalty_points_redeemed",
|
|
174
|
-
loyaltyPointsEarned: "loyalty_points_earned",
|
|
175
|
-
cartItemsCount: "cart_items_count",
|
|
176
|
-
cartItems: "cart_items",
|
|
177
|
-
billingAddress: "billing_address",
|
|
178
|
-
shippingAddress: "shipping_address",
|
|
179
|
-
expiresAt: "expires_at",
|
|
180
|
-
appliedPromotions: "applied_promotions",
|
|
181
|
-
appliedCoupons: "applied_coupons",
|
|
182
|
-
promotionSavings: "promotion_savings",
|
|
183
|
-
couponSavings: "coupon_savings",
|
|
184
|
-
otherSavings: "other_savings",
|
|
185
|
-
totalSavings: "total_savings",
|
|
186
|
-
});
|
|
187
|
-
});
|
|
188
|
-
/**
|
|
189
|
-
* @internal
|
|
190
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
191
|
-
*/
|
|
192
|
-
export var Cart$;
|
|
193
|
-
(function (Cart$) {
|
|
194
|
-
/** @deprecated use `Cart$inboundSchema` instead. */
|
|
195
|
-
Cart$.inboundSchema = Cart$inboundSchema;
|
|
196
|
-
/** @deprecated use `Cart$outboundSchema` instead. */
|
|
197
|
-
Cart$.outboundSchema = Cart$outboundSchema;
|
|
198
|
-
})(Cart$ || (Cart$ = {}));
|
|
199
|
-
export function cartToJSON(cart) {
|
|
200
|
-
return JSON.stringify(Cart$outboundSchema.parse(cart));
|
|
201
|
-
}
|
|
202
101
|
export function cartFromJSON(jsonString) {
|
|
203
102
|
return safeParse(jsonString, (x) => Cart$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Cart' from JSON`);
|
|
204
103
|
}
|