ce-storefront 0.19.0 → 0.20.1
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/index.d.ts +1 -0
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +1 -0
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/item.d.ts +8 -73
- package/esm/models/components/item.d.ts.map +1 -1
- package/esm/models/components/item.js +8 -79
- package/esm/models/components/item.js.map +1 -1
- package/esm/models/components/juspayexpresscheckout.d.ts +0 -17
- package/esm/models/components/juspayexpresscheckout.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckout.js +5 -28
- package/esm/models/components/juspayexpresscheckout.js.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts +0 -129
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.js +0 -147
- package/esm/models/components/juspayexpresscheckoutresponse.js.map +1 -1
- package/esm/models/components/juspayhypercheckout.d.ts +0 -33
- package/esm/models/components/juspayhypercheckout.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckout.js +1 -45
- package/esm/models/components/juspayhypercheckout.js.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.d.ts +0 -125
- package/esm/models/components/juspayhypercheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.js +0 -130
- package/esm/models/components/juspayhypercheckoutresponse.js.map +1 -1
- package/esm/models/components/juspaynetbanking.d.ts +2 -19
- package/esm/models/components/juspaynetbanking.d.ts.map +1 -1
- package/esm/models/components/juspaynetbanking.js +1 -39
- package/esm/models/components/juspaynetbanking.js.map +1 -1
- package/esm/models/components/juspaynewcard.d.ts +2 -39
- package/esm/models/components/juspaynewcard.d.ts.map +1 -1
- package/esm/models/components/juspaynewcard.js +2 -69
- package/esm/models/components/juspaynewcard.js.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.d.ts +2 -39
- package/esm/models/components/juspaysavedcardtoken.d.ts.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.js +2 -63
- package/esm/models/components/juspaysavedcardtoken.js.map +1 -1
- package/esm/models/components/juspayupicollect.d.ts +2 -19
- package/esm/models/components/juspayupicollect.d.ts.map +1 -1
- package/esm/models/components/juspayupicollect.js +1 -41
- package/esm/models/components/juspayupicollect.js.map +1 -1
- package/esm/models/components/juspayupiintent.d.ts +2 -19
- package/esm/models/components/juspayupiintent.d.ts.map +1 -1
- package/esm/models/components/juspayupiintent.js +1 -43
- package/esm/models/components/juspayupiintent.js.map +1 -1
- package/esm/models/components/lotbatchdetail.d.ts +0 -23
- package/esm/models/components/lotbatchdetail.d.ts.map +1 -1
- package/esm/models/components/lotbatchdetail.js +0 -29
- package/esm/models/components/lotbatchdetail.js.map +1 -1
- package/esm/models/components/multiselectattribute.d.ts +0 -23
- package/esm/models/components/multiselectattribute.d.ts.map +1 -1
- package/esm/models/components/multiselectattribute.js +0 -22
- package/esm/models/components/multiselectattribute.js.map +1 -1
- package/esm/models/components/netbankingpayment.d.ts +0 -69
- package/esm/models/components/netbankingpayment.d.ts.map +1 -1
- package/esm/models/components/netbankingpayment.js +0 -63
- package/esm/models/components/netbankingpayment.js.map +1 -1
- package/esm/models/components/notificationchannelpreferences.d.ts +0 -12
- package/esm/models/components/notificationchannelpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationchannelpreferences.js +0 -11
- package/esm/models/components/notificationchannelpreferences.js.map +1 -1
- package/esm/models/components/notificationpreferences.d.ts +0 -12
- package/esm/models/components/notificationpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationpreferences.js +0 -11
- package/esm/models/components/notificationpreferences.js.map +1 -1
- package/esm/models/components/numberattribute.d.ts +0 -23
- package/esm/models/components/numberattribute.d.ts.map +1 -1
- package/esm/models/components/numberattribute.js +0 -22
- package/esm/models/components/numberattribute.js.map +1 -1
- package/esm/models/components/order.d.ts +5 -202
- package/esm/models/components/order.d.ts.map +1 -1
- package/esm/models/components/order.js +5 -207
- package/esm/models/components/order.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +6 -204
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +6 -209
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/orderitem.d.ts +2 -73
- package/esm/models/components/orderitem.d.ts.map +1 -1
- package/esm/models/components/orderitem.js +2 -93
- package/esm/models/components/orderitem.js.map +1 -1
- package/esm/models/components/orderlist.d.ts +1 -122
- package/esm/models/components/orderlist.d.ts.map +1 -1
- package/esm/models/components/orderlist.js +1 -101
- package/esm/models/components/orderlist.js.map +1 -1
- package/esm/models/components/orderpayment.d.ts +5 -22
- package/esm/models/components/orderpayment.d.ts.map +1 -1
- package/esm/models/components/orderpayment.js +5 -27
- package/esm/models/components/orderpayment.js.map +1 -1
- package/esm/models/components/ordershipment.d.ts +3 -95
- package/esm/models/components/ordershipment.d.ts.map +1 -1
- package/esm/models/components/ordershipment.js +3 -88
- 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/shipmentstatus.d.ts +27 -0
- package/esm/models/components/shipmentstatus.d.ts.map +1 -0
- package/esm/models/components/shipmentstatus.js +25 -0
- package/esm/models/components/shipmentstatus.js.map +1 -0
- 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/index.ts +1 -0
- 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 +6 -133
- 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/shipmentstatus.ts +34 -0
- package/src/models/components/singleselectattribute.ts +0 -43
- package/src/models/components/singleselectoption.ts +0 -39
- package/src/models/components/textattribute.ts +0 -39
- package/src/models/components/updatecartitem.ts +0 -42
- package/src/models/components/upipayment.ts +0 -90
- package/src/models/components/user.ts +0 -131
- package/src/models/components/variant.ts +1 -94
- package/src/models/components/variantdetail.ts +4 -168
- package/src/models/components/variantoption.ts +0 -107
- package/src/models/components/volumebasedpromotion.ts +0 -96
- package/src/models/components/walletpayment.ts +0 -90
- package/src/models/errors/badrequest.ts +0 -62
- package/src/models/errors/notfound.ts +0 -33
- package/src/models/errors/unauthorized.ts +0 -33
- package/src/models/operations/applycoupon.ts +0 -147
- package/src/models/operations/cancelorder.ts +1 -169
- package/src/models/operations/checkpincodeserviceability.ts +0 -119
- package/src/models/operations/createaddress.ts +0 -172
- package/src/models/operations/createcart.ts +0 -107
- package/src/models/operations/createcartaddress.ts +0 -225
- package/src/models/operations/createorder.ts +0 -162
- package/src/models/operations/deleteaddress.ts +0 -75
- package/src/models/operations/deletecart.ts +0 -69
- package/src/models/operations/deleteusercart.ts +0 -73
- package/src/models/operations/generateotp.ts +0 -155
- package/src/models/operations/getaddressdetail.ts +0 -195
- package/src/models/operations/getanonymoustoken.ts +0 -117
- package/src/models/operations/getcart.ts +0 -102
- package/src/models/operations/getfulfillmentoptions.ts +0 -143
- package/src/models/operations/getloyaltydetails.ts +0 -118
- package/src/models/operations/getorderdetail.ts +0 -110
- package/src/models/operations/getpaymentstatus.ts +0 -139
- package/src/models/operations/getproductdetail.ts +0 -115
- package/src/models/operations/getusercart.ts +0 -110
- package/src/models/operations/getuserdetail.ts +0 -106
- package/src/models/operations/getvariantdetail.ts +0 -117
- package/src/models/operations/listaddresses.ts +0 -196
- package/src/models/operations/listcategories.ts +0 -119
- package/src/models/operations/listcountrypincodes.ts +0 -115
- package/src/models/operations/listcrosssellproducts.ts +0 -123
- package/src/models/operations/listorders.ts +0 -117
- package/src/models/operations/listordershipments.ts +0 -112
- package/src/models/operations/listproductreviews.ts +0 -127
- package/src/models/operations/listproducts.ts +0 -121
- package/src/models/operations/listproductvariants.ts +0 -115
- package/src/models/operations/listsavedpaymentmethods.ts +0 -121
- package/src/models/operations/listsimilarproducts.ts +0 -120
- package/src/models/operations/listskus.ts +0 -118
- package/src/models/operations/listupsellproducts.ts +0 -120
- package/src/models/operations/listuserreviews.ts +0 -121
- package/src/models/operations/loginwithemail.ts +0 -156
- package/src/models/operations/loginwithphone.ts +0 -158
- package/src/models/operations/loginwithwhatsapp.ts +0 -160
- package/src/models/operations/logout.ts +0 -79
- package/src/models/operations/redeemloyaltypoints.ts +0 -149
- package/src/models/operations/refreshtoken.ts +0 -117
- package/src/models/operations/removecoupon.ts +0 -106
- package/src/models/operations/removeloyaltypoints.ts +0 -108
- package/src/models/operations/retryorderpayment.ts +0 -201
- package/src/models/operations/searchproducts.ts +0 -156
- package/src/models/operations/updateaddressdetail.ts +0 -178
- package/src/models/operations/updatecart.ts +0 -111
- package/src/models/operations/updatefulfillmentpreference.ts +0 -121
- package/src/models/operations/updateuser.ts +0 -111
- package/src/models/operations/verifyotp.ts +1 -138
- package/docs/sdks/auth/README.md +0 -874
- package/docs/sdks/carts/README.md +0 -1030
- package/docs/sdks/catalog/README.md +0 -876
- package/docs/sdks/common/README.md +0 -87
- package/docs/sdks/customers/README.md +0 -714
- package/docs/sdks/orders/README.md +0 -571
- package/docs/sdks/shipping/README.md +0 -169
- package/examples/README.md +0 -31
|
@@ -4,17 +4,17 @@
|
|
|
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 { AssociatedOption$inboundSchema,
|
|
8
|
-
import { LotBatchDetail$inboundSchema,
|
|
9
|
-
import { ProductAttribute$inboundSchema,
|
|
10
|
-
import { ProductImage$inboundSchema
|
|
11
|
-
import { ProductPricing$inboundSchema,
|
|
12
|
-
import { ProductPromotion$inboundSchema,
|
|
13
|
-
import { ProductShipping$inboundSchema,
|
|
14
|
-
import { ProductSubscription$inboundSchema,
|
|
15
|
-
import { ProductVideo$inboundSchema
|
|
16
|
-
import { Seo$inboundSchema
|
|
17
|
-
import { VariantOption$inboundSchema
|
|
7
|
+
import { AssociatedOption$inboundSchema, } from "./associatedoption.js";
|
|
8
|
+
import { LotBatchDetail$inboundSchema, } from "./lotbatchdetail.js";
|
|
9
|
+
import { ProductAttribute$inboundSchema, } from "./productattribute.js";
|
|
10
|
+
import { ProductImage$inboundSchema } from "./productimage.js";
|
|
11
|
+
import { ProductPricing$inboundSchema, } from "./productpricing.js";
|
|
12
|
+
import { ProductPromotion$inboundSchema, } from "./productpromotion.js";
|
|
13
|
+
import { ProductShipping$inboundSchema, } from "./productshipping.js";
|
|
14
|
+
import { ProductSubscription$inboundSchema, } from "./productsubscription.js";
|
|
15
|
+
import { ProductVideo$inboundSchema } from "./productvideo.js";
|
|
16
|
+
import { Seo$inboundSchema } from "./seo.js";
|
|
17
|
+
import { VariantOption$inboundSchema } from "./variantoption.js";
|
|
18
18
|
export const VariantDetailProductType = {
|
|
19
19
|
Physical: "physical",
|
|
20
20
|
Digital: "digital",
|
|
@@ -23,19 +23,6 @@ export const VariantDetailProductType = {
|
|
|
23
23
|
/** @internal */
|
|
24
24
|
export const VariantDetailProductType$inboundSchema = z.nativeEnum(VariantDetailProductType);
|
|
25
25
|
/** @internal */
|
|
26
|
-
export const VariantDetailProductType$outboundSchema = VariantDetailProductType$inboundSchema;
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
-
*/
|
|
31
|
-
export var VariantDetailProductType$;
|
|
32
|
-
(function (VariantDetailProductType$) {
|
|
33
|
-
/** @deprecated use `VariantDetailProductType$inboundSchema` instead. */
|
|
34
|
-
VariantDetailProductType$.inboundSchema = VariantDetailProductType$inboundSchema;
|
|
35
|
-
/** @deprecated use `VariantDetailProductType$outboundSchema` instead. */
|
|
36
|
-
VariantDetailProductType$.outboundSchema = VariantDetailProductType$outboundSchema;
|
|
37
|
-
})(VariantDetailProductType$ || (VariantDetailProductType$ = {}));
|
|
38
|
-
/** @internal */
|
|
39
26
|
export const VariantDetail$inboundSchema = z.object({
|
|
40
27
|
id: z.string(),
|
|
41
28
|
product_id: z.string(),
|
|
@@ -90,75 +77,6 @@ export const VariantDetail$inboundSchema = z.object({
|
|
|
90
77
|
"variant_attributes": "variantAttributes",
|
|
91
78
|
});
|
|
92
79
|
});
|
|
93
|
-
/** @internal */
|
|
94
|
-
export const VariantDetail$outboundSchema = z.object({
|
|
95
|
-
id: z.string(),
|
|
96
|
-
productId: z.string(),
|
|
97
|
-
sku: z.nullable(z.string()),
|
|
98
|
-
slug: z.string(),
|
|
99
|
-
name: z.string(),
|
|
100
|
-
productName: z.string(),
|
|
101
|
-
shortDescription: z.nullable(z.string()),
|
|
102
|
-
active: z.boolean(),
|
|
103
|
-
stockAvailable: z.boolean(),
|
|
104
|
-
backorder: z.boolean().optional(),
|
|
105
|
-
onPromotion: z.boolean(),
|
|
106
|
-
onSubscription: z.boolean(),
|
|
107
|
-
isDefault: z.boolean(),
|
|
108
|
-
associatedOptions: z.record(AssociatedOption$outboundSchema),
|
|
109
|
-
images: z.array(ProductImage$outboundSchema),
|
|
110
|
-
pricing: ProductPricing$outboundSchema,
|
|
111
|
-
subscription: z.array(ProductSubscription$outboundSchema),
|
|
112
|
-
promotion: z.nullable(ProductPromotion$outboundSchema),
|
|
113
|
-
inventory: z.array(LotBatchDetail$outboundSchema).optional(),
|
|
114
|
-
productType: VariantDetailProductType$outboundSchema,
|
|
115
|
-
description: z.nullable(z.string()),
|
|
116
|
-
categoryIds: z.array(z.string()),
|
|
117
|
-
tags: z.nullable(z.array(z.string())),
|
|
118
|
-
reviewsRatingSum: z.nullable(z.number()),
|
|
119
|
-
reviewsCount: z.number().int(),
|
|
120
|
-
hsnCode: z.nullable(z.string()),
|
|
121
|
-
variantOptions: z.array(VariantOption$outboundSchema),
|
|
122
|
-
productAttributes: z.array(ProductAttribute$outboundSchema),
|
|
123
|
-
variantAttributes: z.array(ProductAttribute$outboundSchema),
|
|
124
|
-
videos: z.array(ProductVideo$outboundSchema),
|
|
125
|
-
shipping: z.nullable(ProductShipping$outboundSchema),
|
|
126
|
-
seo: Seo$outboundSchema,
|
|
127
|
-
metadata: z.nullable(z.record(z.string())),
|
|
128
|
-
}).transform((v) => {
|
|
129
|
-
return remap$(v, {
|
|
130
|
-
productId: "product_id",
|
|
131
|
-
productName: "product_name",
|
|
132
|
-
shortDescription: "short_description",
|
|
133
|
-
stockAvailable: "stock_available",
|
|
134
|
-
onPromotion: "on_promotion",
|
|
135
|
-
onSubscription: "on_subscription",
|
|
136
|
-
isDefault: "is_default",
|
|
137
|
-
associatedOptions: "associated_options",
|
|
138
|
-
productType: "product_type",
|
|
139
|
-
categoryIds: "category_ids",
|
|
140
|
-
reviewsRatingSum: "reviews_rating_sum",
|
|
141
|
-
reviewsCount: "reviews_count",
|
|
142
|
-
hsnCode: "hsn_code",
|
|
143
|
-
variantOptions: "variant_options",
|
|
144
|
-
productAttributes: "product_attributes",
|
|
145
|
-
variantAttributes: "variant_attributes",
|
|
146
|
-
});
|
|
147
|
-
});
|
|
148
|
-
/**
|
|
149
|
-
* @internal
|
|
150
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
151
|
-
*/
|
|
152
|
-
export var VariantDetail$;
|
|
153
|
-
(function (VariantDetail$) {
|
|
154
|
-
/** @deprecated use `VariantDetail$inboundSchema` instead. */
|
|
155
|
-
VariantDetail$.inboundSchema = VariantDetail$inboundSchema;
|
|
156
|
-
/** @deprecated use `VariantDetail$outboundSchema` instead. */
|
|
157
|
-
VariantDetail$.outboundSchema = VariantDetail$outboundSchema;
|
|
158
|
-
})(VariantDetail$ || (VariantDetail$ = {}));
|
|
159
|
-
export function variantDetailToJSON(variantDetail) {
|
|
160
|
-
return JSON.stringify(VariantDetail$outboundSchema.parse(variantDetail));
|
|
161
|
-
}
|
|
162
80
|
export function variantDetailFromJSON(jsonString) {
|
|
163
81
|
return safeParse(jsonString, (x) => VariantDetail$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VariantDetail' from JSON`);
|
|
164
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variantdetail.js","sourceRoot":"","sources":["../../../src/models/components/variantdetail.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAA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BAAqB,CACnC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
|
@@ -44,86 +44,12 @@ export type VariantOption = {
|
|
|
44
44
|
/** @internal */
|
|
45
45
|
export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
46
46
|
/** @internal */
|
|
47
|
-
export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
-
*/
|
|
52
|
-
export declare namespace Type$ {
|
|
53
|
-
/** @deprecated use `Type$inboundSchema` instead. */
|
|
54
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
55
|
-
readonly SingleSelect: "single-select";
|
|
56
|
-
readonly Color: "color";
|
|
57
|
-
}>;
|
|
58
|
-
/** @deprecated use `Type$outboundSchema` instead. */
|
|
59
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
60
|
-
readonly SingleSelect: "single-select";
|
|
61
|
-
readonly Color: "color";
|
|
62
|
-
}>;
|
|
63
|
-
}
|
|
64
|
-
/** @internal */
|
|
65
47
|
export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
66
|
-
/** @internal */
|
|
67
|
-
export type Two$Outbound = {};
|
|
68
|
-
/** @internal */
|
|
69
|
-
export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
-
*/
|
|
74
|
-
export declare namespace Two$ {
|
|
75
|
-
/** @deprecated use `Two$inboundSchema` instead. */
|
|
76
|
-
const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
77
|
-
/** @deprecated use `Two$outboundSchema` instead. */
|
|
78
|
-
const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
79
|
-
/** @deprecated use `Two$Outbound` instead. */
|
|
80
|
-
type Outbound = Two$Outbound;
|
|
81
|
-
}
|
|
82
|
-
export declare function twoToJSON(two: Two): string;
|
|
83
48
|
export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
|
|
84
49
|
/** @internal */
|
|
85
50
|
export declare const VariantOptionValue$inboundSchema: z.ZodType<VariantOptionValue, z.ZodTypeDef, unknown>;
|
|
86
|
-
/** @internal */
|
|
87
|
-
export type VariantOptionValue$Outbound = string | Two$Outbound;
|
|
88
|
-
/** @internal */
|
|
89
|
-
export declare const VariantOptionValue$outboundSchema: z.ZodType<VariantOptionValue$Outbound, z.ZodTypeDef, VariantOptionValue>;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
93
|
-
*/
|
|
94
|
-
export declare namespace VariantOptionValue$ {
|
|
95
|
-
/** @deprecated use `VariantOptionValue$inboundSchema` instead. */
|
|
96
|
-
const inboundSchema: z.ZodType<VariantOptionValue, z.ZodTypeDef, unknown>;
|
|
97
|
-
/** @deprecated use `VariantOptionValue$outboundSchema` instead. */
|
|
98
|
-
const outboundSchema: z.ZodType<VariantOptionValue$Outbound, z.ZodTypeDef, VariantOptionValue>;
|
|
99
|
-
/** @deprecated use `VariantOptionValue$Outbound` instead. */
|
|
100
|
-
type Outbound = VariantOptionValue$Outbound;
|
|
101
|
-
}
|
|
102
|
-
export declare function variantOptionValueToJSON(variantOptionValue: VariantOptionValue): string;
|
|
103
51
|
export declare function variantOptionValueFromJSON(jsonString: string): SafeParseResult<VariantOptionValue, SDKValidationError>;
|
|
104
52
|
/** @internal */
|
|
105
53
|
export declare const VariantOption$inboundSchema: z.ZodType<VariantOption, z.ZodTypeDef, unknown>;
|
|
106
|
-
/** @internal */
|
|
107
|
-
export type VariantOption$Outbound = {
|
|
108
|
-
name: string;
|
|
109
|
-
key: string;
|
|
110
|
-
type: string;
|
|
111
|
-
value: Array<string | Two$Outbound>;
|
|
112
|
-
};
|
|
113
|
-
/** @internal */
|
|
114
|
-
export declare const VariantOption$outboundSchema: z.ZodType<VariantOption$Outbound, z.ZodTypeDef, VariantOption>;
|
|
115
|
-
/**
|
|
116
|
-
* @internal
|
|
117
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
118
|
-
*/
|
|
119
|
-
export declare namespace VariantOption$ {
|
|
120
|
-
/** @deprecated use `VariantOption$inboundSchema` instead. */
|
|
121
|
-
const inboundSchema: z.ZodType<VariantOption, z.ZodTypeDef, unknown>;
|
|
122
|
-
/** @deprecated use `VariantOption$outboundSchema` instead. */
|
|
123
|
-
const outboundSchema: z.ZodType<VariantOption$Outbound, z.ZodTypeDef, VariantOption>;
|
|
124
|
-
/** @deprecated use `VariantOption$Outbound` instead. */
|
|
125
|
-
type Outbound = VariantOption$Outbound;
|
|
126
|
-
}
|
|
127
|
-
export declare function variantOptionToJSON(variantOption: VariantOption): string;
|
|
128
54
|
export declare function variantOptionFromJSON(jsonString: string): SafeParseResult<VariantOption, SDKValidationError>;
|
|
129
55
|
//# sourceMappingURL=variantoption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variantoption.d.ts","sourceRoot":"","sources":["../../../src/models/components/variantoption.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,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,IAAI;;;C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;;;;;;;;;;;;;OAgBG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,IAAI,CAE3D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CACvD,CAAC;AAEd,wBAAgB,WAAW,CACzB,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAM1C;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CACiD,CAAC;AAE3D,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD;AAED,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -10,59 +10,13 @@ export const Type = {
|
|
|
10
10
|
/** @internal */
|
|
11
11
|
export const Type$inboundSchema = z.nativeEnum(Type);
|
|
12
12
|
/** @internal */
|
|
13
|
-
export const Type$outboundSchema = Type$inboundSchema;
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
17
|
-
*/
|
|
18
|
-
export var Type$;
|
|
19
|
-
(function (Type$) {
|
|
20
|
-
/** @deprecated use `Type$inboundSchema` instead. */
|
|
21
|
-
Type$.inboundSchema = Type$inboundSchema;
|
|
22
|
-
/** @deprecated use `Type$outboundSchema` instead. */
|
|
23
|
-
Type$.outboundSchema = Type$outboundSchema;
|
|
24
|
-
})(Type$ || (Type$ = {}));
|
|
25
|
-
/** @internal */
|
|
26
13
|
export const Two$inboundSchema = z
|
|
27
14
|
.object({});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export const Two$outboundSchema = z
|
|
30
|
-
.object({});
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
-
*/
|
|
35
|
-
export var Two$;
|
|
36
|
-
(function (Two$) {
|
|
37
|
-
/** @deprecated use `Two$inboundSchema` instead. */
|
|
38
|
-
Two$.inboundSchema = Two$inboundSchema;
|
|
39
|
-
/** @deprecated use `Two$outboundSchema` instead. */
|
|
40
|
-
Two$.outboundSchema = Two$outboundSchema;
|
|
41
|
-
})(Two$ || (Two$ = {}));
|
|
42
|
-
export function twoToJSON(two) {
|
|
43
|
-
return JSON.stringify(Two$outboundSchema.parse(two));
|
|
44
|
-
}
|
|
45
15
|
export function twoFromJSON(jsonString) {
|
|
46
16
|
return safeParse(jsonString, (x) => Two$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two' from JSON`);
|
|
47
17
|
}
|
|
48
18
|
/** @internal */
|
|
49
19
|
export const VariantOptionValue$inboundSchema = z.union([z.string(), z.lazy(() => Two$inboundSchema)]);
|
|
50
|
-
/** @internal */
|
|
51
|
-
export const VariantOptionValue$outboundSchema = z.union([z.string(), z.lazy(() => Two$outboundSchema)]);
|
|
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 var VariantOptionValue$;
|
|
57
|
-
(function (VariantOptionValue$) {
|
|
58
|
-
/** @deprecated use `VariantOptionValue$inboundSchema` instead. */
|
|
59
|
-
VariantOptionValue$.inboundSchema = VariantOptionValue$inboundSchema;
|
|
60
|
-
/** @deprecated use `VariantOptionValue$outboundSchema` instead. */
|
|
61
|
-
VariantOptionValue$.outboundSchema = VariantOptionValue$outboundSchema;
|
|
62
|
-
})(VariantOptionValue$ || (VariantOptionValue$ = {}));
|
|
63
|
-
export function variantOptionValueToJSON(variantOptionValue) {
|
|
64
|
-
return JSON.stringify(VariantOptionValue$outboundSchema.parse(variantOptionValue));
|
|
65
|
-
}
|
|
66
20
|
export function variantOptionValueFromJSON(jsonString) {
|
|
67
21
|
return safeParse(jsonString, (x) => VariantOptionValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VariantOptionValue' from JSON`);
|
|
68
22
|
}
|
|
@@ -73,27 +27,6 @@ export const VariantOption$inboundSchema = z.object({
|
|
|
73
27
|
type: Type$inboundSchema,
|
|
74
28
|
value: z.array(z.union([z.string(), z.lazy(() => Two$inboundSchema)])),
|
|
75
29
|
});
|
|
76
|
-
/** @internal */
|
|
77
|
-
export const VariantOption$outboundSchema = z.object({
|
|
78
|
-
name: z.string(),
|
|
79
|
-
key: z.string(),
|
|
80
|
-
type: Type$outboundSchema,
|
|
81
|
-
value: z.array(z.union([z.string(), z.lazy(() => Two$outboundSchema)])),
|
|
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 var VariantOption$;
|
|
88
|
-
(function (VariantOption$) {
|
|
89
|
-
/** @deprecated use `VariantOption$inboundSchema` instead. */
|
|
90
|
-
VariantOption$.inboundSchema = VariantOption$inboundSchema;
|
|
91
|
-
/** @deprecated use `VariantOption$outboundSchema` instead. */
|
|
92
|
-
VariantOption$.outboundSchema = VariantOption$outboundSchema;
|
|
93
|
-
})(VariantOption$ || (VariantOption$ = {}));
|
|
94
|
-
export function variantOptionToJSON(variantOption) {
|
|
95
|
-
return JSON.stringify(VariantOption$outboundSchema.parse(variantOption));
|
|
96
|
-
}
|
|
97
30
|
export function variantOptionFromJSON(jsonString) {
|
|
98
31
|
return safeParse(jsonString, (x) => VariantOption$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VariantOption' from JSON`);
|
|
99
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variantoption.js","sourceRoot":"","sources":["../../../src/models/components/variantoption.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,YAAY,EAAE,eAAe;IAC7B,KAAK,EAAE,OAAO;CACN,CAAC;AAwCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAiC,CAAC,CAAC,UAAU,CAC1E,IAAI,CACL,CAAC;AAEF,gBAAgB;AAChB,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"variantoption.js","sourceRoot":"","sources":["../../../src/models/components/variantoption.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,YAAY,EAAE,eAAe;IAC7B,KAAK,EAAE,OAAO;CACN,CAAC;AAwCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAiC,CAAC,CAAC,UAAU,CAC1E,IAAI,CACL,CAAC;AAEF,gBAAgB;AAChB,MAAM,CAAC,MAAM,iBAAiB,GAA0C,CAAC;KACtE,MAAM,CAAC,EAAE,CAAC,CAAC;AAEd,MAAM,UAAU,WAAW,CACzB,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7C,iCAAiC,CAClC,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAIzC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAE3D,MAAM,UAAU,0BAA0B,CACxC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;CACvE,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CACnC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
|
@@ -29,71 +29,9 @@ export type VolumeBasedPromotion = {
|
|
|
29
29
|
/** @internal */
|
|
30
30
|
export declare const VolumeBasedPromotionPromotionType$inboundSchema: z.ZodNativeEnum<typeof VolumeBasedPromotionPromotionType>;
|
|
31
31
|
/** @internal */
|
|
32
|
-
export declare const VolumeBasedPromotionPromotionType$outboundSchema: z.ZodNativeEnum<typeof VolumeBasedPromotionPromotionType>;
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
36
|
-
*/
|
|
37
|
-
export declare namespace VolumeBasedPromotionPromotionType$ {
|
|
38
|
-
/** @deprecated use `VolumeBasedPromotionPromotionType$inboundSchema` instead. */
|
|
39
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
40
|
-
readonly Discount: "discount";
|
|
41
|
-
readonly VolumeBased: "volume-based";
|
|
42
|
-
readonly FixedPrice: "fixed-price";
|
|
43
|
-
readonly FreeGoods: "free-goods";
|
|
44
|
-
}>;
|
|
45
|
-
/** @deprecated use `VolumeBasedPromotionPromotionType$outboundSchema` instead. */
|
|
46
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
47
|
-
readonly Discount: "discount";
|
|
48
|
-
readonly VolumeBased: "volume-based";
|
|
49
|
-
readonly FixedPrice: "fixed-price";
|
|
50
|
-
readonly FreeGoods: "free-goods";
|
|
51
|
-
}>;
|
|
52
|
-
}
|
|
53
|
-
/** @internal */
|
|
54
32
|
export declare const Slabs$inboundSchema: z.ZodType<Slabs, z.ZodTypeDef, unknown>;
|
|
55
|
-
/** @internal */
|
|
56
|
-
export type Slabs$Outbound = {
|
|
57
|
-
quantity_limit: number;
|
|
58
|
-
discount_percent: number;
|
|
59
|
-
};
|
|
60
|
-
/** @internal */
|
|
61
|
-
export declare const Slabs$outboundSchema: z.ZodType<Slabs$Outbound, z.ZodTypeDef, Slabs>;
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
-
*/
|
|
66
|
-
export declare namespace Slabs$ {
|
|
67
|
-
/** @deprecated use `Slabs$inboundSchema` instead. */
|
|
68
|
-
const inboundSchema: z.ZodType<Slabs, z.ZodTypeDef, unknown>;
|
|
69
|
-
/** @deprecated use `Slabs$outboundSchema` instead. */
|
|
70
|
-
const outboundSchema: z.ZodType<Slabs$Outbound, z.ZodTypeDef, Slabs>;
|
|
71
|
-
/** @deprecated use `Slabs$Outbound` instead. */
|
|
72
|
-
type Outbound = Slabs$Outbound;
|
|
73
|
-
}
|
|
74
|
-
export declare function slabsToJSON(slabs: Slabs): string;
|
|
75
33
|
export declare function slabsFromJSON(jsonString: string): SafeParseResult<Slabs, SDKValidationError>;
|
|
76
34
|
/** @internal */
|
|
77
35
|
export declare const VolumeBasedPromotion$inboundSchema: z.ZodType<VolumeBasedPromotion, z.ZodTypeDef, unknown>;
|
|
78
|
-
/** @internal */
|
|
79
|
-
export type VolumeBasedPromotion$Outbound = {
|
|
80
|
-
promotion_type: "volume-based";
|
|
81
|
-
slabs: Array<Slabs$Outbound>;
|
|
82
|
-
};
|
|
83
|
-
/** @internal */
|
|
84
|
-
export declare const VolumeBasedPromotion$outboundSchema: z.ZodType<VolumeBasedPromotion$Outbound, z.ZodTypeDef, VolumeBasedPromotion>;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
-
*/
|
|
89
|
-
export declare namespace VolumeBasedPromotion$ {
|
|
90
|
-
/** @deprecated use `VolumeBasedPromotion$inboundSchema` instead. */
|
|
91
|
-
const inboundSchema: z.ZodType<VolumeBasedPromotion, z.ZodTypeDef, unknown>;
|
|
92
|
-
/** @deprecated use `VolumeBasedPromotion$outboundSchema` instead. */
|
|
93
|
-
const outboundSchema: z.ZodType<VolumeBasedPromotion$Outbound, z.ZodTypeDef, VolumeBasedPromotion>;
|
|
94
|
-
/** @deprecated use `VolumeBasedPromotion$Outbound` instead. */
|
|
95
|
-
type Outbound = VolumeBasedPromotion$Outbound;
|
|
96
|
-
}
|
|
97
|
-
export declare function volumeBasedPromotionToJSON(volumeBasedPromotion: VolumeBasedPromotion): string;
|
|
98
36
|
export declare function volumeBasedPromotionFromJSON(jsonString: string): SafeParseResult<VolumeBasedPromotion, SDKValidationError>;
|
|
99
37
|
//# sourceMappingURL=volumebasedpromotion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumebasedpromotion.d.ts","sourceRoot":"","sources":["../../../src/models/components/volumebasedpromotion.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,iCAAiC;;;;;CAKpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,aAAa,CAC3E,OAAO,iCAAiC,CACS,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"volumebasedpromotion.d.ts","sourceRoot":"","sources":["../../../src/models/components/volumebasedpromotion.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,iCAAiC;;;;;CAKpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,aAAa,CAC3E,OAAO,iCAAiC,CACS,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CASpE,CAAC;AAEL,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAM5C;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -13,19 +13,6 @@ export const VolumeBasedPromotionPromotionType = {
|
|
|
13
13
|
/** @internal */
|
|
14
14
|
export const VolumeBasedPromotionPromotionType$inboundSchema = z.nativeEnum(VolumeBasedPromotionPromotionType);
|
|
15
15
|
/** @internal */
|
|
16
|
-
export const VolumeBasedPromotionPromotionType$outboundSchema = VolumeBasedPromotionPromotionType$inboundSchema;
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
20
|
-
*/
|
|
21
|
-
export var VolumeBasedPromotionPromotionType$;
|
|
22
|
-
(function (VolumeBasedPromotionPromotionType$) {
|
|
23
|
-
/** @deprecated use `VolumeBasedPromotionPromotionType$inboundSchema` instead. */
|
|
24
|
-
VolumeBasedPromotionPromotionType$.inboundSchema = VolumeBasedPromotionPromotionType$inboundSchema;
|
|
25
|
-
/** @deprecated use `VolumeBasedPromotionPromotionType$outboundSchema` instead. */
|
|
26
|
-
VolumeBasedPromotionPromotionType$.outboundSchema = VolumeBasedPromotionPromotionType$outboundSchema;
|
|
27
|
-
})(VolumeBasedPromotionPromotionType$ || (VolumeBasedPromotionPromotionType$ = {}));
|
|
28
|
-
/** @internal */
|
|
29
16
|
export const Slabs$inboundSchema = z
|
|
30
17
|
.object({
|
|
31
18
|
quantity_limit: z.number().int(),
|
|
@@ -36,30 +23,6 @@ export const Slabs$inboundSchema = z
|
|
|
36
23
|
"discount_percent": "discountPercent",
|
|
37
24
|
});
|
|
38
25
|
});
|
|
39
|
-
/** @internal */
|
|
40
|
-
export const Slabs$outboundSchema = z.object({
|
|
41
|
-
quantityLimit: z.number().int(),
|
|
42
|
-
discountPercent: z.number(),
|
|
43
|
-
}).transform((v) => {
|
|
44
|
-
return remap$(v, {
|
|
45
|
-
quantityLimit: "quantity_limit",
|
|
46
|
-
discountPercent: "discount_percent",
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
-
*/
|
|
53
|
-
export var Slabs$;
|
|
54
|
-
(function (Slabs$) {
|
|
55
|
-
/** @deprecated use `Slabs$inboundSchema` instead. */
|
|
56
|
-
Slabs$.inboundSchema = Slabs$inboundSchema;
|
|
57
|
-
/** @deprecated use `Slabs$outboundSchema` instead. */
|
|
58
|
-
Slabs$.outboundSchema = Slabs$outboundSchema;
|
|
59
|
-
})(Slabs$ || (Slabs$ = {}));
|
|
60
|
-
export function slabsToJSON(slabs) {
|
|
61
|
-
return JSON.stringify(Slabs$outboundSchema.parse(slabs));
|
|
62
|
-
}
|
|
63
26
|
export function slabsFromJSON(jsonString) {
|
|
64
27
|
return safeParse(jsonString, (x) => Slabs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Slabs' from JSON`);
|
|
65
28
|
}
|
|
@@ -72,29 +35,6 @@ export const VolumeBasedPromotion$inboundSchema = z.object({
|
|
|
72
35
|
"promotion_type": "promotionType",
|
|
73
36
|
});
|
|
74
37
|
});
|
|
75
|
-
/** @internal */
|
|
76
|
-
export const VolumeBasedPromotion$outboundSchema = z.object({
|
|
77
|
-
promotionType: z.literal("volume-based"),
|
|
78
|
-
slabs: z.array(z.lazy(() => Slabs$outboundSchema)),
|
|
79
|
-
}).transform((v) => {
|
|
80
|
-
return remap$(v, {
|
|
81
|
-
promotionType: "promotion_type",
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
-
*/
|
|
88
|
-
export var VolumeBasedPromotion$;
|
|
89
|
-
(function (VolumeBasedPromotion$) {
|
|
90
|
-
/** @deprecated use `VolumeBasedPromotion$inboundSchema` instead. */
|
|
91
|
-
VolumeBasedPromotion$.inboundSchema = VolumeBasedPromotion$inboundSchema;
|
|
92
|
-
/** @deprecated use `VolumeBasedPromotion$outboundSchema` instead. */
|
|
93
|
-
VolumeBasedPromotion$.outboundSchema = VolumeBasedPromotion$outboundSchema;
|
|
94
|
-
})(VolumeBasedPromotion$ || (VolumeBasedPromotion$ = {}));
|
|
95
|
-
export function volumeBasedPromotionToJSON(volumeBasedPromotion) {
|
|
96
|
-
return JSON.stringify(VolumeBasedPromotion$outboundSchema.parse(volumeBasedPromotion));
|
|
97
|
-
}
|
|
98
38
|
export function volumeBasedPromotionFromJSON(jsonString) {
|
|
99
39
|
return safeParse(jsonString, (x) => VolumeBasedPromotion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VolumeBasedPromotion' from JSON`);
|
|
100
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumebasedpromotion.js","sourceRoot":"","sources":["../../../src/models/components/volumebasedpromotion.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,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,cAAc;IAC3B,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,YAAY;CACf,CAAC;AAwBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAExD,CAAC,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC;AAEpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"volumebasedpromotion.js","sourceRoot":"","sources":["../../../src/models/components/volumebasedpromotion.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,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,cAAc;IAC3B,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,YAAY;CACf,CAAC;AAwBX,gBAAg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,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -34,77 +34,8 @@ export type WalletPayment = {
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
export declare const WalletPaymentTransactionType$inboundSchema: z.ZodNativeEnum<typeof WalletPaymentTransactionType>;
|
|
36
36
|
/** @internal */
|
|
37
|
-
export declare const WalletPaymentTransactionType$outboundSchema: z.ZodNativeEnum<typeof WalletPaymentTransactionType>;
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
-
*/
|
|
42
|
-
export declare namespace WalletPaymentTransactionType$ {
|
|
43
|
-
/** @deprecated use `WalletPaymentTransactionType$inboundSchema` instead. */
|
|
44
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
45
|
-
readonly Payment: "payment";
|
|
46
|
-
readonly Refund: "refund";
|
|
47
|
-
}>;
|
|
48
|
-
/** @deprecated use `WalletPaymentTransactionType$outboundSchema` instead. */
|
|
49
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
50
|
-
readonly Payment: "payment";
|
|
51
|
-
readonly Refund: "refund";
|
|
52
|
-
}>;
|
|
53
|
-
}
|
|
54
|
-
/** @internal */
|
|
55
37
|
export declare const WalletPaymentPaymentStatus$inboundSchema: z.ZodNativeEnum<typeof WalletPaymentPaymentStatus>;
|
|
56
38
|
/** @internal */
|
|
57
|
-
export declare const WalletPaymentPaymentStatus$outboundSchema: z.ZodNativeEnum<typeof WalletPaymentPaymentStatus>;
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
-
*/
|
|
62
|
-
export declare namespace WalletPaymentPaymentStatus$ {
|
|
63
|
-
/** @deprecated use `WalletPaymentPaymentStatus$inboundSchema` instead. */
|
|
64
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
65
|
-
readonly Pending: "pending";
|
|
66
|
-
readonly Success: "success";
|
|
67
|
-
readonly Failed: "failed";
|
|
68
|
-
readonly PartiallyPaid: "partially_paid";
|
|
69
|
-
readonly RefundInitiated: "refund_initiated";
|
|
70
|
-
}>;
|
|
71
|
-
/** @deprecated use `WalletPaymentPaymentStatus$outboundSchema` instead. */
|
|
72
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
73
|
-
readonly Pending: "pending";
|
|
74
|
-
readonly Success: "success";
|
|
75
|
-
readonly Failed: "failed";
|
|
76
|
-
readonly PartiallyPaid: "partially_paid";
|
|
77
|
-
readonly RefundInitiated: "refund_initiated";
|
|
78
|
-
}>;
|
|
79
|
-
}
|
|
80
|
-
/** @internal */
|
|
81
39
|
export declare const WalletPayment$inboundSchema: z.ZodType<WalletPayment, z.ZodTypeDef, unknown>;
|
|
82
|
-
/** @internal */
|
|
83
|
-
export type WalletPayment$Outbound = {
|
|
84
|
-
transaction_type?: string | undefined;
|
|
85
|
-
request_number?: string | undefined;
|
|
86
|
-
amount?: number | undefined;
|
|
87
|
-
payment_status?: string | undefined;
|
|
88
|
-
payment_date?: string | undefined;
|
|
89
|
-
payment_reference_number?: string | null | undefined;
|
|
90
|
-
payment_method?: string | null | undefined;
|
|
91
|
-
icon_url?: string | null | undefined;
|
|
92
|
-
wallet_name?: string | undefined;
|
|
93
|
-
};
|
|
94
|
-
/** @internal */
|
|
95
|
-
export declare const WalletPayment$outboundSchema: z.ZodType<WalletPayment$Outbound, z.ZodTypeDef, WalletPayment>;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
99
|
-
*/
|
|
100
|
-
export declare namespace WalletPayment$ {
|
|
101
|
-
/** @deprecated use `WalletPayment$inboundSchema` instead. */
|
|
102
|
-
const inboundSchema: z.ZodType<WalletPayment, z.ZodTypeDef, unknown>;
|
|
103
|
-
/** @deprecated use `WalletPayment$outboundSchema` instead. */
|
|
104
|
-
const outboundSchema: z.ZodType<WalletPayment$Outbound, z.ZodTypeDef, WalletPayment>;
|
|
105
|
-
/** @deprecated use `WalletPayment$Outbound` instead. */
|
|
106
|
-
type Outbound = WalletPayment$Outbound;
|
|
107
|
-
}
|
|
108
|
-
export declare function walletPaymentToJSON(walletPayment: WalletPayment): string;
|
|
109
40
|
export declare function walletPaymentFromJSON(jsonString: string): SafeParseResult<WalletPayment, SDKValidationError>;
|
|
110
41
|
//# sourceMappingURL=walletpayment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"walletpayment.d.ts","sourceRoot":"","sources":["../../../src/models/components/walletpayment.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,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;CAM7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,eAAe,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IAC3D,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,aAAa,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IACvD,WAAW,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC/B,sBAAsB,CAAC,EAAE,MAAM,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