ce-storefront 0.18.3 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/components/anonymoususer.d.ts +0 -30
- package/esm/models/components/anonymoususer.d.ts.map +1 -1
- package/esm/models/components/anonymoususer.js +0 -41
- package/esm/models/components/anonymoususer.js.map +1 -1
- package/esm/models/components/appliedcoupon.d.ts +0 -53
- package/esm/models/components/appliedcoupon.d.ts.map +1 -1
- package/esm/models/components/appliedcoupon.js +0 -46
- package/esm/models/components/appliedcoupon.js.map +1 -1
- package/esm/models/components/appliedpromotion.d.ts +0 -51
- package/esm/models/components/appliedpromotion.d.ts.map +1 -1
- package/esm/models/components/appliedpromotion.js +0 -49
- package/esm/models/components/appliedpromotion.js.map +1 -1
- package/esm/models/components/associatedoption.d.ts +2 -19
- package/esm/models/components/associatedoption.d.ts.map +1 -1
- package/esm/models/components/associatedoption.js +2 -18
- package/esm/models/components/associatedoption.js.map +1 -1
- package/esm/models/components/banktransfer.d.ts +0 -70
- package/esm/models/components/banktransfer.d.ts.map +1 -1
- package/esm/models/components/banktransfer.js +0 -65
- package/esm/models/components/banktransfer.js.map +1 -1
- package/esm/models/components/booleanattribute.d.ts +0 -23
- package/esm/models/components/booleanattribute.d.ts.map +1 -1
- package/esm/models/components/booleanattribute.js +0 -22
- package/esm/models/components/booleanattribute.js.map +1 -1
- package/esm/models/components/cardpayment.d.ts +0 -92
- package/esm/models/components/cardpayment.d.ts.map +1 -1
- package/esm/models/components/cardpayment.js +0 -78
- package/esm/models/components/cardpayment.js.map +1 -1
- package/esm/models/components/cart.d.ts +6 -69
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +6 -107
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts +0 -17
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.js +0 -25
- package/esm/models/components/cartbasedserviceabilitycheck.js.map +1 -1
- package/esm/models/components/cartitem.d.ts +3 -76
- package/esm/models/components/cartitem.d.ts.map +1 -1
- package/esm/models/components/cartitem.js +3 -96
- package/esm/models/components/cartitem.js.map +1 -1
- package/esm/models/components/category.d.ts +0 -25
- package/esm/models/components/category.d.ts.map +1 -1
- package/esm/models/components/category.js +0 -29
- package/esm/models/components/category.js.map +1 -1
- package/esm/models/components/collectinstore.d.ts +0 -23
- package/esm/models/components/collectinstore.d.ts.map +1 -1
- package/esm/models/components/collectinstore.js +0 -28
- package/esm/models/components/collectinstore.js.map +1 -1
- package/esm/models/components/collectinstorefulfillment.d.ts +0 -40
- package/esm/models/components/collectinstorefulfillment.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillment.js +0 -41
- package/esm/models/components/collectinstorefulfillment.js.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.d.ts +0 -17
- package/esm/models/components/collectinstorefulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.js +0 -26
- package/esm/models/components/collectinstorefulfillmentinput.js.map +1 -1
- package/esm/models/components/colorattribute.d.ts +0 -43
- package/esm/models/components/colorattribute.d.ts.map +1 -1
- package/esm/models/components/colorattribute.js +0 -41
- package/esm/models/components/colorattribute.js.map +1 -1
- package/esm/models/components/coloroption.d.ts +0 -41
- package/esm/models/components/coloroption.d.ts.map +1 -1
- package/esm/models/components/coloroption.js +0 -39
- package/esm/models/components/coloroption.js.map +1 -1
- package/esm/models/components/currency.d.ts +0 -21
- package/esm/models/components/currency.d.ts.map +1 -1
- package/esm/models/components/currency.js +0 -20
- package/esm/models/components/currency.js.map +1 -1
- package/esm/models/components/customeraddress.d.ts +0 -35
- package/esm/models/components/customeraddress.d.ts.map +1 -1
- package/esm/models/components/customeraddress.js +0 -46
- package/esm/models/components/customeraddress.js.map +1 -1
- package/esm/models/components/customeraddressinput.d.ts +0 -17
- package/esm/models/components/customeraddressinput.d.ts.map +1 -1
- package/esm/models/components/customeraddressinput.js +0 -43
- package/esm/models/components/customeraddressinput.js.map +1 -1
- package/esm/models/components/customerloyalty.d.ts +0 -27
- package/esm/models/components/customerloyalty.d.ts.map +1 -1
- package/esm/models/components/customerloyalty.js +0 -38
- package/esm/models/components/customerloyalty.js.map +1 -1
- package/esm/models/components/customerreadyforreview.d.ts +0 -24
- package/esm/models/components/customerreadyforreview.d.ts.map +1 -1
- package/esm/models/components/customerreadyforreview.js +0 -32
- package/esm/models/components/customerreadyforreview.js.map +1 -1
- package/esm/models/components/customerreview.d.ts +0 -99
- package/esm/models/components/customerreview.d.ts.map +1 -1
- package/esm/models/components/customerreview.js +0 -121
- package/esm/models/components/customerreview.js.map +1 -1
- package/esm/models/components/dateattribute.d.ts +0 -23
- package/esm/models/components/dateattribute.d.ts.map +1 -1
- package/esm/models/components/dateattribute.js +0 -22
- package/esm/models/components/dateattribute.js.map +1 -1
- package/esm/models/components/deliveryfulfillment.d.ts +0 -42
- package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillment.js +0 -45
- package/esm/models/components/deliveryfulfillment.js.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.d.ts +0 -17
- package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.js +0 -27
- package/esm/models/components/deliveryfulfillmentinput.js.map +1 -1
- package/esm/models/components/discountbasedpromotion.d.ts +0 -62
- package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
- package/esm/models/components/discountbasedpromotion.js +0 -54
- package/esm/models/components/discountbasedpromotion.js.map +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +0 -42
- package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
- package/esm/models/components/fixedpricepromotion.js +0 -37
- package/esm/models/components/fixedpricepromotion.js.map +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +0 -43
- package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
- package/esm/models/components/freegoodspromotion.js +0 -39
- package/esm/models/components/freegoodspromotion.js.map +1 -1
- package/esm/models/components/fulfillmentitem.d.ts +0 -23
- package/esm/models/components/fulfillmentitem.d.ts.map +1 -1
- package/esm/models/components/fulfillmentitem.js +0 -29
- package/esm/models/components/fulfillmentitem.js.map +1 -1
- package/esm/models/components/fulfillmentiteminput.d.ts +0 -17
- package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentiteminput.js +0 -26
- package/esm/models/components/fulfillmentiteminput.js.map +1 -1
- package/esm/models/components/fulfillmentpreference.d.ts +3 -26
- package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreference.js +3 -26
- package/esm/models/components/fulfillmentpreference.js.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.d.ts +0 -17
- package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.js +3 -27
- package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -1
- package/esm/models/components/generateotpwithemail.d.ts +0 -39
- package/esm/models/components/generateotpwithemail.d.ts.map +1 -1
- package/esm/models/components/generateotpwithemail.js +1 -39
- package/esm/models/components/generateotpwithemail.js.map +1 -1
- package/esm/models/components/generateotpwithphone.d.ts +0 -57
- package/esm/models/components/generateotpwithphone.d.ts.map +1 -1
- package/esm/models/components/generateotpwithphone.js +2 -55
- package/esm/models/components/generateotpwithphone.js.map +1 -1
- package/esm/models/components/index.d.ts +0 -3
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +0 -3
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/item.d.ts +8 -73
- package/esm/models/components/item.d.ts.map +1 -1
- package/esm/models/components/item.js +8 -79
- package/esm/models/components/item.js.map +1 -1
- package/esm/models/components/juspayexpresscheckout.d.ts +0 -17
- package/esm/models/components/juspayexpresscheckout.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckout.js +5 -28
- package/esm/models/components/juspayexpresscheckout.js.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts +0 -129
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.js +0 -147
- package/esm/models/components/juspayexpresscheckoutresponse.js.map +1 -1
- package/esm/models/components/juspayhypercheckout.d.ts +0 -33
- package/esm/models/components/juspayhypercheckout.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckout.js +1 -45
- package/esm/models/components/juspayhypercheckout.js.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.d.ts +0 -125
- package/esm/models/components/juspayhypercheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.js +0 -130
- package/esm/models/components/juspayhypercheckoutresponse.js.map +1 -1
- package/esm/models/components/juspaynetbanking.d.ts +2 -19
- package/esm/models/components/juspaynetbanking.d.ts.map +1 -1
- package/esm/models/components/juspaynetbanking.js +1 -39
- package/esm/models/components/juspaynetbanking.js.map +1 -1
- package/esm/models/components/juspaynewcard.d.ts +2 -39
- package/esm/models/components/juspaynewcard.d.ts.map +1 -1
- package/esm/models/components/juspaynewcard.js +2 -69
- package/esm/models/components/juspaynewcard.js.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.d.ts +2 -39
- package/esm/models/components/juspaysavedcardtoken.d.ts.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.js +2 -63
- package/esm/models/components/juspaysavedcardtoken.js.map +1 -1
- package/esm/models/components/juspayupicollect.d.ts +2 -19
- package/esm/models/components/juspayupicollect.d.ts.map +1 -1
- package/esm/models/components/juspayupicollect.js +1 -41
- package/esm/models/components/juspayupicollect.js.map +1 -1
- package/esm/models/components/juspayupiintent.d.ts +2 -19
- package/esm/models/components/juspayupiintent.d.ts.map +1 -1
- package/esm/models/components/juspayupiintent.js +1 -43
- package/esm/models/components/juspayupiintent.js.map +1 -1
- package/esm/models/components/lotbatchdetail.d.ts +0 -23
- package/esm/models/components/lotbatchdetail.d.ts.map +1 -1
- package/esm/models/components/lotbatchdetail.js +0 -29
- package/esm/models/components/lotbatchdetail.js.map +1 -1
- package/esm/models/components/multiselectattribute.d.ts +0 -23
- package/esm/models/components/multiselectattribute.d.ts.map +1 -1
- package/esm/models/components/multiselectattribute.js +0 -22
- package/esm/models/components/multiselectattribute.js.map +1 -1
- package/esm/models/components/netbankingpayment.d.ts +0 -69
- package/esm/models/components/netbankingpayment.d.ts.map +1 -1
- package/esm/models/components/netbankingpayment.js +0 -63
- package/esm/models/components/netbankingpayment.js.map +1 -1
- package/esm/models/components/notificationchannelpreferences.d.ts +0 -12
- package/esm/models/components/notificationchannelpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationchannelpreferences.js +0 -11
- package/esm/models/components/notificationchannelpreferences.js.map +1 -1
- package/esm/models/components/notificationpreferences.d.ts +0 -12
- package/esm/models/components/notificationpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationpreferences.js +0 -11
- package/esm/models/components/notificationpreferences.js.map +1 -1
- package/esm/models/components/numberattribute.d.ts +0 -23
- package/esm/models/components/numberattribute.d.ts.map +1 -1
- package/esm/models/components/numberattribute.js +0 -22
- package/esm/models/components/numberattribute.js.map +1 -1
- package/esm/models/components/order.d.ts +5 -202
- package/esm/models/components/order.d.ts.map +1 -1
- package/esm/models/components/order.js +5 -207
- package/esm/models/components/order.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +6 -204
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +6 -209
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/orderitem.d.ts +2 -73
- package/esm/models/components/orderitem.d.ts.map +1 -1
- package/esm/models/components/orderitem.js +2 -93
- package/esm/models/components/orderitem.js.map +1 -1
- package/esm/models/components/orderlist.d.ts +1 -122
- package/esm/models/components/orderlist.d.ts.map +1 -1
- package/esm/models/components/orderlist.js +1 -101
- package/esm/models/components/orderlist.js.map +1 -1
- package/esm/models/components/orderpayment.d.ts +5 -22
- package/esm/models/components/orderpayment.d.ts.map +1 -1
- package/esm/models/components/orderpayment.js +5 -27
- package/esm/models/components/orderpayment.js.map +1 -1
- package/esm/models/components/ordershipment.d.ts +1 -76
- package/esm/models/components/ordershipment.d.ts.map +1 -1
- package/esm/models/components/ordershipment.js +1 -71
- package/esm/models/components/ordershipment.js.map +1 -1
- package/esm/models/components/pagination.d.ts +0 -23
- package/esm/models/components/pagination.d.ts.map +1 -1
- package/esm/models/components/pagination.js +0 -29
- package/esm/models/components/pagination.js.map +1 -1
- package/esm/models/components/partialcollectanddelivery.d.ts +1 -85
- package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddelivery.js +1 -96
- package/esm/models/components/partialcollectanddelivery.js.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.d.ts +0 -47
- package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.js +1 -75
- package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
- package/esm/models/components/paymentmethodpayload.d.ts +0 -17
- package/esm/models/components/paymentmethodpayload.d.ts.map +1 -1
- package/esm/models/components/paymentmethodpayload.js +2 -22
- package/esm/models/components/paymentmethodpayload.js.map +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +0 -55
- package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
- package/esm/models/components/payupaymentinfo.js +0 -58
- package/esm/models/components/payupaymentinfo.js.map +1 -1
- package/esm/models/components/pincode.d.ts +0 -23
- package/esm/models/components/pincode.d.ts.map +1 -1
- package/esm/models/components/pincode.js +0 -28
- package/esm/models/components/pincode.js.map +1 -1
- package/esm/models/components/pincodeserviceability.d.ts +0 -123
- package/esm/models/components/pincodeserviceability.d.ts.map +1 -1
- package/esm/models/components/pincodeserviceability.js +0 -130
- package/esm/models/components/pincodeserviceability.js.map +1 -1
- package/esm/models/components/product.d.ts +10 -74
- package/esm/models/components/product.d.ts.map +1 -1
- package/esm/models/components/product.js +10 -80
- package/esm/models/components/product.js.map +1 -1
- package/esm/models/components/productattribute.d.ts +7 -38
- package/esm/models/components/productattribute.d.ts.map +1 -1
- package/esm/models/components/productattribute.js +7 -39
- package/esm/models/components/productattribute.js.map +1 -1
- package/esm/models/components/productbundleitem.d.ts +8 -74
- package/esm/models/components/productbundleitem.d.ts.map +1 -1
- package/esm/models/components/productbundleitem.js +8 -80
- package/esm/models/components/productbundleitem.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +1 -27
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +1 -32
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +13 -87
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +13 -94
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productimage.d.ts +0 -26
- package/esm/models/components/productimage.d.ts.map +1 -1
- package/esm/models/components/productimage.js +0 -34
- package/esm/models/components/productimage.js.map +1 -1
- package/esm/models/components/productpricing.d.ts +0 -28
- package/esm/models/components/productpricing.d.ts.map +1 -1
- package/esm/models/components/productpricing.js +0 -39
- package/esm/models/components/productpricing.js.map +1 -1
- package/esm/models/components/productpromotion.d.ts +4 -59
- package/esm/models/components/productpromotion.d.ts.map +1 -1
- package/esm/models/components/productpromotion.js +4 -72
- package/esm/models/components/productpromotion.js.map +1 -1
- package/esm/models/components/productreview.d.ts +0 -110
- package/esm/models/components/productreview.d.ts.map +1 -1
- package/esm/models/components/productreview.js +0 -122
- package/esm/models/components/productreview.js.map +1 -1
- package/esm/models/components/productshipping.d.ts +0 -22
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +0 -28
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/productsubscription.d.ts +0 -70
- package/esm/models/components/productsubscription.d.ts.map +1 -1
- package/esm/models/components/productsubscription.js +0 -69
- package/esm/models/components/productsubscription.js.map +1 -1
- package/esm/models/components/productvideo.d.ts +0 -26
- package/esm/models/components/productvideo.d.ts.map +1 -1
- package/esm/models/components/productvideo.js +0 -35
- package/esm/models/components/productvideo.js.map +1 -1
- package/esm/models/components/savedpaymentmethod.d.ts +0 -172
- package/esm/models/components/savedpaymentmethod.d.ts.map +1 -1
- package/esm/models/components/savedpaymentmethod.js +0 -227
- package/esm/models/components/savedpaymentmethod.js.map +1 -1
- package/esm/models/components/searchproduct.d.ts +0 -17
- package/esm/models/components/searchproduct.d.ts.map +1 -1
- package/esm/models/components/searchproduct.js +0 -22
- package/esm/models/components/searchproduct.js.map +1 -1
- package/esm/models/components/security.d.ts +0 -17
- package/esm/models/components/security.d.ts.map +1 -1
- package/esm/models/components/security.js +0 -23
- package/esm/models/components/security.js.map +1 -1
- package/esm/models/components/seo.d.ts +0 -22
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +0 -22
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/shipmentitem.d.ts +0 -25
- package/esm/models/components/shipmentitem.d.ts.map +1 -1
- package/esm/models/components/shipmentitem.js +0 -32
- package/esm/models/components/shipmentitem.js.map +1 -1
- package/esm/models/components/singleselectattribute.d.ts +0 -23
- package/esm/models/components/singleselectattribute.d.ts.map +1 -1
- package/esm/models/components/singleselectattribute.js +0 -22
- package/esm/models/components/singleselectattribute.js.map +1 -1
- package/esm/models/components/singleselectoption.d.ts +0 -21
- package/esm/models/components/singleselectoption.d.ts.map +1 -1
- package/esm/models/components/singleselectoption.js +0 -20
- package/esm/models/components/singleselectoption.js.map +1 -1
- package/esm/models/components/textattribute.d.ts +0 -23
- package/esm/models/components/textattribute.d.ts.map +1 -1
- package/esm/models/components/textattribute.js +0 -22
- package/esm/models/components/textattribute.js.map +1 -1
- package/esm/models/components/updatecartitem.d.ts +0 -17
- package/esm/models/components/updatecartitem.d.ts.map +1 -1
- package/esm/models/components/updatecartitem.js +0 -26
- package/esm/models/components/updatecartitem.js.map +1 -1
- package/esm/models/components/upipayment.d.ts +0 -69
- package/esm/models/components/upipayment.d.ts.map +1 -1
- package/esm/models/components/upipayment.js +0 -63
- package/esm/models/components/upipayment.js.map +1 -1
- package/esm/models/components/user.d.ts +0 -68
- package/esm/models/components/user.d.ts.map +1 -1
- package/esm/models/components/user.js +0 -92
- package/esm/models/components/user.js.map +1 -1
- package/esm/models/components/variant.d.ts +6 -45
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +6 -53
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +11 -86
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +11 -93
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/components/variantoption.d.ts +0 -74
- package/esm/models/components/variantoption.d.ts.map +1 -1
- package/esm/models/components/variantoption.js +0 -67
- package/esm/models/components/variantoption.js.map +1 -1
- package/esm/models/components/volumebasedpromotion.d.ts +0 -62
- package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
- package/esm/models/components/volumebasedpromotion.js +0 -60
- package/esm/models/components/volumebasedpromotion.js.map +1 -1
- package/esm/models/components/walletpayment.d.ts +0 -69
- package/esm/models/components/walletpayment.d.ts.map +1 -1
- package/esm/models/components/walletpayment.js +0 -63
- package/esm/models/components/walletpayment.js.map +1 -1
- package/esm/models/errors/badrequest.d.ts +0 -38
- package/esm/models/errors/badrequest.d.ts.map +1 -1
- package/esm/models/errors/badrequest.js +0 -36
- package/esm/models/errors/badrequest.js.map +1 -1
- package/esm/models/errors/notfound.d.ts +0 -20
- package/esm/models/errors/notfound.d.ts.map +1 -1
- package/esm/models/errors/notfound.js +0 -19
- package/esm/models/errors/notfound.js.map +1 -1
- package/esm/models/errors/unauthorized.d.ts +0 -20
- package/esm/models/errors/unauthorized.d.ts.map +1 -1
- package/esm/models/errors/unauthorized.js +0 -19
- package/esm/models/errors/unauthorized.js.map +1 -1
- package/esm/models/operations/applycoupon.d.ts +0 -70
- package/esm/models/operations/applycoupon.d.ts.map +1 -1
- package/esm/models/operations/applycoupon.js +0 -83
- package/esm/models/operations/applycoupon.js.map +1 -1
- package/esm/models/operations/cancelorder.d.ts +0 -88
- package/esm/models/operations/cancelorder.d.ts.map +1 -1
- package/esm/models/operations/cancelorder.js +1 -103
- package/esm/models/operations/cancelorder.js.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.d.ts +0 -55
- package/esm/models/operations/checkpincodeserviceability.d.ts.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.js +0 -60
- package/esm/models/operations/checkpincodeserviceability.js.map +1 -1
- package/esm/models/operations/createaddress.d.ts +0 -70
- package/esm/models/operations/createaddress.d.ts.map +1 -1
- package/esm/models/operations/createaddress.js +0 -108
- package/esm/models/operations/createaddress.js.map +1 -1
- package/esm/models/operations/createcart.d.ts +0 -55
- package/esm/models/operations/createcart.d.ts.map +1 -1
- package/esm/models/operations/createcart.js +0 -57
- package/esm/models/operations/createcart.js.map +1 -1
- package/esm/models/operations/createcartaddress.d.ts +0 -100
- package/esm/models/operations/createcartaddress.d.ts.map +1 -1
- package/esm/models/operations/createcartaddress.js +0 -131
- package/esm/models/operations/createcartaddress.js.map +1 -1
- package/esm/models/operations/createorder.d.ts +0 -74
- package/esm/models/operations/createorder.d.ts.map +1 -1
- package/esm/models/operations/createorder.js +0 -93
- package/esm/models/operations/createorder.js.map +1 -1
- package/esm/models/operations/deleteaddress.d.ts +0 -35
- package/esm/models/operations/deleteaddress.d.ts.map +1 -1
- package/esm/models/operations/deleteaddress.js +0 -43
- package/esm/models/operations/deleteaddress.js.map +1 -1
- package/esm/models/operations/deletecart.d.ts +0 -35
- package/esm/models/operations/deletecart.d.ts.map +1 -1
- package/esm/models/operations/deletecart.js +0 -37
- package/esm/models/operations/deletecart.js.map +1 -1
- package/esm/models/operations/deleteusercart.d.ts +0 -35
- package/esm/models/operations/deleteusercart.d.ts.map +1 -1
- package/esm/models/operations/deleteusercart.js +0 -41
- package/esm/models/operations/deleteusercart.js.map +1 -1
- package/esm/models/operations/generateotp.d.ts +0 -71
- package/esm/models/operations/generateotp.d.ts.map +1 -1
- package/esm/models/operations/generateotp.js +0 -90
- package/esm/models/operations/generateotp.js.map +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +0 -92
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +0 -112
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/getanonymoustoken.d.ts +0 -57
- package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
- package/esm/models/operations/getanonymoustoken.js +0 -67
- package/esm/models/operations/getanonymoustoken.js.map +1 -1
- package/esm/models/operations/getcart.d.ts +0 -55
- package/esm/models/operations/getcart.d.ts.map +1 -1
- package/esm/models/operations/getcart.js +0 -56
- package/esm/models/operations/getcart.js.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.d.ts +0 -82
- package/esm/models/operations/getfulfillmentoptions.d.ts.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.js +0 -81
- package/esm/models/operations/getfulfillmentoptions.js.map +1 -1
- package/esm/models/operations/getloyaltydetails.d.ts +0 -56
- package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
- package/esm/models/operations/getloyaltydetails.js +0 -65
- package/esm/models/operations/getloyaltydetails.js.map +1 -1
- package/esm/models/operations/getorderdetail.d.ts +0 -55
- package/esm/models/operations/getorderdetail.d.ts.map +1 -1
- package/esm/models/operations/getorderdetail.js +0 -60
- package/esm/models/operations/getorderdetail.js.map +1 -1
- package/esm/models/operations/getpaymentstatus.d.ts +0 -80
- package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
- package/esm/models/operations/getpaymentstatus.js +0 -82
- package/esm/models/operations/getpaymentstatus.js.map +1 -1
- package/esm/models/operations/getproductdetail.d.ts +0 -55
- package/esm/models/operations/getproductdetail.d.ts.map +1 -1
- package/esm/models/operations/getproductdetail.js +0 -63
- package/esm/models/operations/getproductdetail.js.map +1 -1
- package/esm/models/operations/getusercart.d.ts +0 -55
- package/esm/models/operations/getusercart.d.ts.map +1 -1
- package/esm/models/operations/getusercart.js +0 -60
- package/esm/models/operations/getusercart.js.map +1 -1
- package/esm/models/operations/getuserdetail.d.ts +0 -55
- package/esm/models/operations/getuserdetail.d.ts.map +1 -1
- package/esm/models/operations/getuserdetail.js +0 -56
- package/esm/models/operations/getuserdetail.js.map +1 -1
- package/esm/models/operations/getvariantdetail.d.ts +0 -55
- package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
- package/esm/models/operations/getvariantdetail.js +0 -65
- package/esm/models/operations/getvariantdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +0 -93
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +0 -114
- package/esm/models/operations/listaddresses.js.map +1 -1
- package/esm/models/operations/listcategories.d.ts +0 -56
- package/esm/models/operations/listcategories.d.ts.map +1 -1
- package/esm/models/operations/listcategories.js +0 -68
- package/esm/models/operations/listcategories.js.map +1 -1
- package/esm/models/operations/listcountrypincodes.d.ts +0 -55
- package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
- package/esm/models/operations/listcountrypincodes.js +0 -63
- package/esm/models/operations/listcountrypincodes.js.map +1 -1
- package/esm/models/operations/listcrosssellproducts.d.ts +0 -56
- package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
- package/esm/models/operations/listcrosssellproducts.js +0 -67
- package/esm/models/operations/listcrosssellproducts.js.map +1 -1
- package/esm/models/operations/listorders.d.ts +0 -56
- package/esm/models/operations/listorders.d.ts.map +1 -1
- package/esm/models/operations/listorders.js +0 -66
- package/esm/models/operations/listorders.js.map +1 -1
- package/esm/models/operations/listordershipments.d.ts +0 -55
- package/esm/models/operations/listordershipments.d.ts.map +1 -1
- package/esm/models/operations/listordershipments.js +0 -60
- package/esm/models/operations/listordershipments.js.map +1 -1
- package/esm/models/operations/listproductreviews.d.ts +0 -57
- package/esm/models/operations/listproductreviews.d.ts.map +1 -1
- package/esm/models/operations/listproductreviews.js +0 -73
- package/esm/models/operations/listproductreviews.js.map +1 -1
- package/esm/models/operations/listproducts.d.ts +0 -56
- package/esm/models/operations/listproducts.d.ts.map +1 -1
- package/esm/models/operations/listproducts.js +0 -70
- package/esm/models/operations/listproducts.js.map +1 -1
- package/esm/models/operations/listproductvariants.d.ts +0 -55
- package/esm/models/operations/listproductvariants.d.ts.map +1 -1
- package/esm/models/operations/listproductvariants.js +0 -63
- package/esm/models/operations/listproductvariants.js.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.d.ts +0 -55
- package/esm/models/operations/listsavedpaymentmethods.d.ts.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.js +0 -65
- package/esm/models/operations/listsavedpaymentmethods.js.map +1 -1
- package/esm/models/operations/listsimilarproducts.d.ts +0 -56
- package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
- package/esm/models/operations/listsimilarproducts.js +0 -67
- package/esm/models/operations/listsimilarproducts.js.map +1 -1
- package/esm/models/operations/listskus.d.ts +0 -56
- package/esm/models/operations/listskus.d.ts.map +1 -1
- package/esm/models/operations/listskus.js +0 -69
- package/esm/models/operations/listskus.js.map +1 -1
- package/esm/models/operations/listupsellproducts.d.ts +0 -56
- package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
- package/esm/models/operations/listupsellproducts.js +0 -67
- package/esm/models/operations/listupsellproducts.js.map +1 -1
- package/esm/models/operations/listuserreviews.d.ts +0 -56
- package/esm/models/operations/listuserreviews.d.ts.map +1 -1
- package/esm/models/operations/listuserreviews.js +0 -66
- package/esm/models/operations/listuserreviews.js.map +1 -1
- package/esm/models/operations/loginwithemail.d.ts +0 -71
- package/esm/models/operations/loginwithemail.d.ts.map +1 -1
- package/esm/models/operations/loginwithemail.js +0 -91
- package/esm/models/operations/loginwithemail.js.map +1 -1
- package/esm/models/operations/loginwithphone.d.ts +0 -71
- package/esm/models/operations/loginwithphone.d.ts.map +1 -1
- package/esm/models/operations/loginwithphone.js +0 -93
- package/esm/models/operations/loginwithphone.js.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.d.ts +0 -71
- package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.js +0 -93
- package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
- package/esm/models/operations/logout.d.ts +0 -42
- package/esm/models/operations/logout.d.ts.map +1 -1
- package/esm/models/operations/logout.js +0 -45
- package/esm/models/operations/logout.js.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.d.ts +0 -70
- package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.js +0 -83
- package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
- package/esm/models/operations/refreshtoken.d.ts +0 -56
- package/esm/models/operations/refreshtoken.d.ts.map +1 -1
- package/esm/models/operations/refreshtoken.js +0 -66
- package/esm/models/operations/refreshtoken.js.map +1 -1
- package/esm/models/operations/removecoupon.d.ts +0 -55
- package/esm/models/operations/removecoupon.d.ts.map +1 -1
- package/esm/models/operations/removecoupon.js +0 -56
- package/esm/models/operations/removecoupon.js.map +1 -1
- package/esm/models/operations/removeloyaltypoints.d.ts +0 -55
- package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/removeloyaltypoints.js +0 -56
- package/esm/models/operations/removeloyaltypoints.js.map +1 -1
- package/esm/models/operations/retryorderpayment.d.ts +2 -89
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +2 -114
- package/esm/models/operations/retryorderpayment.js.map +1 -1
- package/esm/models/operations/searchproducts.d.ts +0 -84
- package/esm/models/operations/searchproducts.d.ts.map +1 -1
- package/esm/models/operations/searchproducts.js +0 -89
- package/esm/models/operations/searchproducts.js.map +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +0 -70
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/updateaddressdetail.js +0 -110
- package/esm/models/operations/updateaddressdetail.js.map +1 -1
- package/esm/models/operations/updatecart.d.ts +0 -55
- package/esm/models/operations/updatecart.d.ts.map +1 -1
- package/esm/models/operations/updatecart.js +0 -61
- package/esm/models/operations/updatecart.js.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.d.ts +0 -55
- package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.js +0 -61
- package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
- package/esm/models/operations/updateuser.d.ts +0 -55
- package/esm/models/operations/updateuser.d.ts.map +1 -1
- package/esm/models/operations/updateuser.js +0 -61
- package/esm/models/operations/updateuser.js.map +1 -1
- package/esm/models/operations/verifyotp.d.ts +0 -85
- package/esm/models/operations/verifyotp.d.ts.map +1 -1
- package/esm/models/operations/verifyotp.js +1 -84
- package/esm/models/operations/verifyotp.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/anonymoususer.ts +0 -65
- package/src/models/components/appliedcoupon.ts +0 -67
- package/src/models/components/appliedpromotion.ts +0 -77
- package/src/models/components/associatedoption.ts +1 -41
- package/src/models/components/banktransfer.ts +0 -93
- package/src/models/components/booleanattribute.ts +0 -43
- package/src/models/components/cardpayment.ts +0 -108
- package/src/models/components/cart.ts +3 -177
- package/src/models/components/cartbasedserviceabilitycheck.ts +0 -41
- package/src/models/components/cartitem.ts +0 -146
- package/src/models/components/category.ts +0 -48
- package/src/models/components/collectinstore.ts +0 -45
- package/src/models/components/collectinstorefulfillment.ts +0 -64
- package/src/models/components/collectinstorefulfillmentinput.ts +0 -42
- package/src/models/components/colorattribute.ts +0 -76
- package/src/models/components/coloroption.ts +0 -68
- package/src/models/components/currency.ts +0 -35
- package/src/models/components/customeraddress.ts +0 -77
- package/src/models/components/customeraddressinput.ts +0 -59
- package/src/models/components/customerloyalty.ts +0 -61
- package/src/models/components/customerreadyforreview.ts +0 -54
- package/src/models/components/customerreview.ts +0 -208
- package/src/models/components/dateattribute.ts +0 -39
- package/src/models/components/deliveryfulfillment.ts +0 -71
- package/src/models/components/deliveryfulfillmentinput.ts +0 -43
- package/src/models/components/discountbasedpromotion.ts +0 -81
- package/src/models/components/fixedpricepromotion.ts +0 -58
- package/src/models/components/freegoodspromotion.ts +0 -61
- package/src/models/components/fulfillmentitem.ts +0 -48
- package/src/models/components/fulfillmentiteminput.ts +0 -42
- package/src/models/components/fulfillmentpreference.ts +0 -59
- package/src/models/components/fulfillmentpreferenceinput.ts +0 -51
- package/src/models/components/generateotpwithemail.ts +1 -58
- package/src/models/components/generateotpwithphone.ts +2 -75
- package/src/models/components/index.ts +0 -3
- package/src/models/components/item.ts +1 -128
- package/src/models/components/juspayexpresscheckout.ts +0 -44
- package/src/models/components/juspayexpresscheckoutresponse.ts +0 -246
- package/src/models/components/juspayhypercheckout.ts +1 -63
- package/src/models/components/juspayhypercheckoutresponse.ts +0 -220
- package/src/models/components/juspaynetbanking.ts +3 -57
- package/src/models/components/juspaynewcard.ts +4 -92
- package/src/models/components/juspaysavedcardtoken.ts +4 -87
- package/src/models/components/juspayupicollect.ts +3 -59
- package/src/models/components/juspayupiintent.ts +3 -61
- package/src/models/components/lotbatchdetail.ts +0 -46
- package/src/models/components/multiselectattribute.ts +0 -43
- package/src/models/components/netbankingpayment.ts +0 -94
- package/src/models/components/notificationchannelpreferences.ts +0 -15
- package/src/models/components/notificationpreferences.ts +0 -15
- package/src/models/components/numberattribute.ts +0 -41
- package/src/models/components/order.ts +2 -327
- package/src/models/components/orderdetail.ts +3 -346
- package/src/models/components/orderitem.ts +0 -144
- package/src/models/components/orderlist.ts +1 -161
- package/src/models/components/orderpayment.ts +4 -64
- package/src/models/components/ordershipment.ts +1 -110
- package/src/models/components/pagination.ts +0 -46
- package/src/models/components/partialcollectanddelivery.ts +0 -165
- package/src/models/components/partialcollectanddeliveryinput.ts +0 -133
- package/src/models/components/paymentmethodpayload.ts +0 -38
- package/src/models/components/payupaymentinfo.ts +0 -103
- package/src/models/components/pincode.ts +0 -45
- package/src/models/components/pincodeserviceability.ts +0 -203
- package/src/models/components/product.ts +4 -147
- package/src/models/components/productattribute.ts +2 -90
- package/src/models/components/productbundleitem.ts +1 -137
- package/src/models/components/productcategory.ts +1 -59
- package/src/models/components/productdetail.ts +6 -180
- package/src/models/components/productimage.ts +0 -54
- package/src/models/components/productpricing.ts +0 -61
- package/src/models/components/productpromotion.ts +0 -131
- package/src/models/components/productreview.ts +0 -194
- package/src/models/components/productshipping.ts +0 -46
- package/src/models/components/productsubscription.ts +0 -103
- package/src/models/components/productvideo.ts +0 -55
- package/src/models/components/savedpaymentmethod.ts +0 -362
- package/src/models/components/searchproduct.ts +0 -38
- package/src/models/components/security.ts +0 -39
- package/src/models/components/seo.ts +0 -34
- package/src/models/components/shipmentitem.ts +0 -51
- package/src/models/components/singleselectattribute.ts +0 -43
- package/src/models/components/singleselectoption.ts +0 -39
- package/src/models/components/textattribute.ts +0 -39
- package/src/models/components/updatecartitem.ts +0 -42
- package/src/models/components/upipayment.ts +0 -90
- package/src/models/components/user.ts +0 -131
- package/src/models/components/variant.ts +1 -94
- package/src/models/components/variantdetail.ts +4 -168
- package/src/models/components/variantoption.ts +0 -107
- package/src/models/components/volumebasedpromotion.ts +0 -96
- package/src/models/components/walletpayment.ts +0 -90
- package/src/models/errors/badrequest.ts +0 -62
- package/src/models/errors/notfound.ts +0 -33
- package/src/models/errors/unauthorized.ts +0 -33
- package/src/models/operations/applycoupon.ts +0 -147
- package/src/models/operations/cancelorder.ts +1 -169
- package/src/models/operations/checkpincodeserviceability.ts +0 -119
- package/src/models/operations/createaddress.ts +0 -172
- package/src/models/operations/createcart.ts +0 -107
- package/src/models/operations/createcartaddress.ts +0 -225
- package/src/models/operations/createorder.ts +0 -162
- package/src/models/operations/deleteaddress.ts +0 -75
- package/src/models/operations/deletecart.ts +0 -69
- package/src/models/operations/deleteusercart.ts +0 -73
- package/src/models/operations/generateotp.ts +0 -155
- package/src/models/operations/getaddressdetail.ts +0 -195
- package/src/models/operations/getanonymoustoken.ts +0 -117
- package/src/models/operations/getcart.ts +0 -102
- package/src/models/operations/getfulfillmentoptions.ts +0 -143
- package/src/models/operations/getloyaltydetails.ts +0 -118
- package/src/models/operations/getorderdetail.ts +0 -110
- package/src/models/operations/getpaymentstatus.ts +0 -139
- package/src/models/operations/getproductdetail.ts +0 -115
- package/src/models/operations/getusercart.ts +0 -110
- package/src/models/operations/getuserdetail.ts +0 -106
- package/src/models/operations/getvariantdetail.ts +0 -117
- package/src/models/operations/listaddresses.ts +0 -196
- package/src/models/operations/listcategories.ts +0 -119
- package/src/models/operations/listcountrypincodes.ts +0 -115
- package/src/models/operations/listcrosssellproducts.ts +0 -123
- package/src/models/operations/listorders.ts +0 -117
- package/src/models/operations/listordershipments.ts +0 -112
- package/src/models/operations/listproductreviews.ts +0 -127
- package/src/models/operations/listproducts.ts +0 -121
- package/src/models/operations/listproductvariants.ts +0 -115
- package/src/models/operations/listsavedpaymentmethods.ts +0 -121
- package/src/models/operations/listsimilarproducts.ts +0 -120
- package/src/models/operations/listskus.ts +0 -118
- package/src/models/operations/listupsellproducts.ts +0 -120
- package/src/models/operations/listuserreviews.ts +0 -121
- package/src/models/operations/loginwithemail.ts +0 -156
- package/src/models/operations/loginwithphone.ts +0 -158
- package/src/models/operations/loginwithwhatsapp.ts +0 -160
- package/src/models/operations/logout.ts +0 -79
- package/src/models/operations/redeemloyaltypoints.ts +0 -149
- package/src/models/operations/refreshtoken.ts +0 -117
- package/src/models/operations/removecoupon.ts +0 -106
- package/src/models/operations/removeloyaltypoints.ts +0 -108
- package/src/models/operations/retryorderpayment.ts +4 -205
- package/src/models/operations/searchproducts.ts +0 -156
- package/src/models/operations/updateaddressdetail.ts +0 -178
- package/src/models/operations/updatecart.ts +0 -111
- package/src/models/operations/updatefulfillmentpreference.ts +0 -121
- package/src/models/operations/updateuser.ts +0 -111
- package/src/models/operations/verifyotp.ts +1 -138
- package/docs/sdks/auth/README.md +0 -874
- package/docs/sdks/carts/README.md +0 -1030
- package/docs/sdks/catalog/README.md +0 -876
- package/docs/sdks/common/README.md +0 -87
- package/docs/sdks/customers/README.md +0 -714
- package/docs/sdks/orders/README.md +0 -583
- package/docs/sdks/shipping/README.md +0 -169
- package/esm/models/components/juspaypaymentgatewayparams.d.ts +0 -115
- package/esm/models/components/juspaypaymentgatewayparams.d.ts.map +0 -1
- package/esm/models/components/juspaypaymentgatewayparams.js +0 -98
- package/esm/models/components/juspaypaymentgatewayparams.js.map +0 -1
- package/esm/models/components/paymentgatewayparams.d.ts +0 -38
- package/esm/models/components/paymentgatewayparams.d.ts.map +0 -1
- package/esm/models/components/paymentgatewayparams.js +0 -43
- package/esm/models/components/paymentgatewayparams.js.map +0 -1
- package/esm/models/components/payupaymentgatewayparams.d.ts +0 -36
- package/esm/models/components/payupaymentgatewayparams.d.ts.map +0 -1
- package/esm/models/components/payupaymentgatewayparams.js +0 -44
- package/esm/models/components/payupaymentgatewayparams.js.map +0 -1
- package/examples/README.md +0 -31
- package/src/models/components/juspaypaymentgatewayparams.ts +0 -181
- package/src/models/components/paymentgatewayparams.ts +0 -99
- package/src/models/components/payupaymentgatewayparams.ts +0 -86
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
3
|
export declare const Channel: {
|
|
6
4
|
readonly Sms: "sms";
|
|
7
5
|
readonly Whatsapp: "whatsapp";
|
|
@@ -30,51 +28,9 @@ export type GenerateOtpWithPhone = {
|
|
|
30
28
|
otpAction: OtpAction;
|
|
31
29
|
};
|
|
32
30
|
/** @internal */
|
|
33
|
-
export declare const Channel$inboundSchema: z.ZodNativeEnum<typeof Channel>;
|
|
34
|
-
/** @internal */
|
|
35
31
|
export declare const Channel$outboundSchema: z.ZodNativeEnum<typeof Channel>;
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
39
|
-
*/
|
|
40
|
-
export declare namespace Channel$ {
|
|
41
|
-
/** @deprecated use `Channel$inboundSchema` instead. */
|
|
42
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
43
|
-
readonly Sms: "sms";
|
|
44
|
-
readonly Whatsapp: "whatsapp";
|
|
45
|
-
}>;
|
|
46
|
-
/** @deprecated use `Channel$outboundSchema` instead. */
|
|
47
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
48
|
-
readonly Sms: "sms";
|
|
49
|
-
readonly Whatsapp: "whatsapp";
|
|
50
|
-
}>;
|
|
51
|
-
}
|
|
52
|
-
/** @internal */
|
|
53
|
-
export declare const OtpAction$inboundSchema: z.ZodNativeEnum<typeof OtpAction>;
|
|
54
32
|
/** @internal */
|
|
55
33
|
export declare const OtpAction$outboundSchema: z.ZodNativeEnum<typeof OtpAction>;
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
-
*/
|
|
60
|
-
export declare namespace OtpAction$ {
|
|
61
|
-
/** @deprecated use `OtpAction$inboundSchema` instead. */
|
|
62
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
63
|
-
readonly Register: "register";
|
|
64
|
-
readonly ResetPassword: "reset-password";
|
|
65
|
-
readonly VerifyPhone: "verify-phone";
|
|
66
|
-
readonly UpdatePhone: "update-phone";
|
|
67
|
-
}>;
|
|
68
|
-
/** @deprecated use `OtpAction$outboundSchema` instead. */
|
|
69
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
70
|
-
readonly Register: "register";
|
|
71
|
-
readonly ResetPassword: "reset-password";
|
|
72
|
-
readonly VerifyPhone: "verify-phone";
|
|
73
|
-
readonly UpdatePhone: "update-phone";
|
|
74
|
-
}>;
|
|
75
|
-
}
|
|
76
|
-
/** @internal */
|
|
77
|
-
export declare const GenerateOtpWithPhone$inboundSchema: z.ZodType<GenerateOtpWithPhone, z.ZodTypeDef, unknown>;
|
|
78
34
|
/** @internal */
|
|
79
35
|
export type GenerateOtpWithPhone$Outbound = {
|
|
80
36
|
channel: string;
|
|
@@ -84,18 +40,5 @@ export type GenerateOtpWithPhone$Outbound = {
|
|
|
84
40
|
};
|
|
85
41
|
/** @internal */
|
|
86
42
|
export declare const GenerateOtpWithPhone$outboundSchema: z.ZodType<GenerateOtpWithPhone$Outbound, z.ZodTypeDef, GenerateOtpWithPhone>;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
-
*/
|
|
91
|
-
export declare namespace GenerateOtpWithPhone$ {
|
|
92
|
-
/** @deprecated use `GenerateOtpWithPhone$inboundSchema` instead. */
|
|
93
|
-
const inboundSchema: z.ZodType<GenerateOtpWithPhone, z.ZodTypeDef, unknown>;
|
|
94
|
-
/** @deprecated use `GenerateOtpWithPhone$outboundSchema` instead. */
|
|
95
|
-
const outboundSchema: z.ZodType<GenerateOtpWithPhone$Outbound, z.ZodTypeDef, GenerateOtpWithPhone>;
|
|
96
|
-
/** @deprecated use `GenerateOtpWithPhone$Outbound` instead. */
|
|
97
|
-
type Outbound = GenerateOtpWithPhone$Outbound;
|
|
98
|
-
}
|
|
99
43
|
export declare function generateOtpWithPhoneToJSON(generateOtpWithPhone: GenerateOtpWithPhone): string;
|
|
100
|
-
export declare function generateOtpWithPhoneFromJSON(jsonString: string): SafeParseResult<GenerateOtpWithPhone, SDKValidationError>;
|
|
101
44
|
//# sourceMappingURL=generateotpwithphone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateotpwithphone.d.ts","sourceRoot":"","sources":["../../../src/models/components/generateotpwithphone.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"generateotpwithphone.d.ts","sourceRoot":"","sources":["../../../src/models/components/generateotpwithphone.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,OAAO;;;CAGV,CAAC;AACX,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEjD,eAAO,MAAM,SAAS;;;;;CAKZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,OAAO,CAC7C,CAAC;AAEvB,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,SAAS,CAC/C,CAAC;AAEzB,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAWpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
6
|
export const Channel = {
|
|
8
7
|
Sms: "sms",
|
|
9
8
|
Whatsapp: "whatsapp",
|
|
@@ -15,50 +14,12 @@ export const OtpAction = {
|
|
|
15
14
|
UpdatePhone: "update-phone",
|
|
16
15
|
};
|
|
17
16
|
/** @internal */
|
|
18
|
-
export const Channel$
|
|
17
|
+
export const Channel$outboundSchema = z
|
|
19
18
|
.nativeEnum(Channel);
|
|
20
19
|
/** @internal */
|
|
21
|
-
export const
|
|
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 Channel$;
|
|
27
|
-
(function (Channel$) {
|
|
28
|
-
/** @deprecated use `Channel$inboundSchema` instead. */
|
|
29
|
-
Channel$.inboundSchema = Channel$inboundSchema;
|
|
30
|
-
/** @deprecated use `Channel$outboundSchema` instead. */
|
|
31
|
-
Channel$.outboundSchema = Channel$outboundSchema;
|
|
32
|
-
})(Channel$ || (Channel$ = {}));
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const OtpAction$inboundSchema = z
|
|
20
|
+
export const OtpAction$outboundSchema = z
|
|
35
21
|
.nativeEnum(OtpAction);
|
|
36
22
|
/** @internal */
|
|
37
|
-
export const OtpAction$outboundSchema = OtpAction$inboundSchema;
|
|
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 var OtpAction$;
|
|
43
|
-
(function (OtpAction$) {
|
|
44
|
-
/** @deprecated use `OtpAction$inboundSchema` instead. */
|
|
45
|
-
OtpAction$.inboundSchema = OtpAction$inboundSchema;
|
|
46
|
-
/** @deprecated use `OtpAction$outboundSchema` instead. */
|
|
47
|
-
OtpAction$.outboundSchema = OtpAction$outboundSchema;
|
|
48
|
-
})(OtpAction$ || (OtpAction$ = {}));
|
|
49
|
-
/** @internal */
|
|
50
|
-
export const GenerateOtpWithPhone$inboundSchema = z.object({
|
|
51
|
-
channel: Channel$inboundSchema,
|
|
52
|
-
country_code: z.nullable(z.string()).optional(),
|
|
53
|
-
phone: z.string(),
|
|
54
|
-
otp_action: OtpAction$inboundSchema,
|
|
55
|
-
}).transform((v) => {
|
|
56
|
-
return remap$(v, {
|
|
57
|
-
"country_code": "countryCode",
|
|
58
|
-
"otp_action": "otpAction",
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
/** @internal */
|
|
62
23
|
export const GenerateOtpWithPhone$outboundSchema = z.object({
|
|
63
24
|
channel: Channel$outboundSchema,
|
|
64
25
|
countryCode: z.nullable(z.string()).optional(),
|
|
@@ -70,21 +31,7 @@ export const GenerateOtpWithPhone$outboundSchema = z.object({
|
|
|
70
31
|
otpAction: "otp_action",
|
|
71
32
|
});
|
|
72
33
|
});
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
-
*/
|
|
77
|
-
export var GenerateOtpWithPhone$;
|
|
78
|
-
(function (GenerateOtpWithPhone$) {
|
|
79
|
-
/** @deprecated use `GenerateOtpWithPhone$inboundSchema` instead. */
|
|
80
|
-
GenerateOtpWithPhone$.inboundSchema = GenerateOtpWithPhone$inboundSchema;
|
|
81
|
-
/** @deprecated use `GenerateOtpWithPhone$outboundSchema` instead. */
|
|
82
|
-
GenerateOtpWithPhone$.outboundSchema = GenerateOtpWithPhone$outboundSchema;
|
|
83
|
-
})(GenerateOtpWithPhone$ || (GenerateOtpWithPhone$ = {}));
|
|
84
34
|
export function generateOtpWithPhoneToJSON(generateOtpWithPhone) {
|
|
85
35
|
return JSON.stringify(GenerateOtpWithPhone$outboundSchema.parse(generateOtpWithPhone));
|
|
86
36
|
}
|
|
87
|
-
export function generateOtpWithPhoneFromJSON(jsonString) {
|
|
88
|
-
return safeParse(jsonString, (x) => GenerateOtpWithPhone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GenerateOtpWithPhone' from JSON`);
|
|
89
|
-
}
|
|
90
37
|
//# sourceMappingURL=generateotpwithphone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateotpwithphone.js","sourceRoot":"","sources":["../../../src/models/components/generateotpwithphone.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"generateotpwithphone.js","sourceRoot":"","sources":["../../../src/models/components/generateotpwithphone.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG1D,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,gBAAgB;IAC/B,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;CACnB,CAAC;AAmBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,sBAAsB,GAAoC,CAAC;KACrE,UAAU,CAAC,OAAO,CAAC,CAAC;AAEvB,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAAsC,CAAC;KACzE,UAAU,CAAC,SAAS,CAAC,CAAC;AAUzB,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,sBAAsB;IAC/B,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,wBAAwB;CACpC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -39,7 +39,6 @@ export * from "./juspayhypercheckout.js";
|
|
|
39
39
|
export * from "./juspayhypercheckoutresponse.js";
|
|
40
40
|
export * from "./juspaynetbanking.js";
|
|
41
41
|
export * from "./juspaynewcard.js";
|
|
42
|
-
export * from "./juspaypaymentgatewayparams.js";
|
|
43
42
|
export * from "./juspaysavedcardtoken.js";
|
|
44
43
|
export * from "./juspayupicollect.js";
|
|
45
44
|
export * from "./juspayupiintent.js";
|
|
@@ -58,9 +57,7 @@ export * from "./ordershipment.js";
|
|
|
58
57
|
export * from "./pagination.js";
|
|
59
58
|
export * from "./partialcollectanddelivery.js";
|
|
60
59
|
export * from "./partialcollectanddeliveryinput.js";
|
|
61
|
-
export * from "./paymentgatewayparams.js";
|
|
62
60
|
export * from "./paymentmethodpayload.js";
|
|
63
|
-
export * from "./payupaymentgatewayparams.js";
|
|
64
61
|
export * from "./payupaymentinfo.js";
|
|
65
62
|
export * from "./pincode.js";
|
|
66
63
|
export * from "./pincodeserviceability.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,mCAAmC,CAAC;AAClD,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,WAAW,CAAC;AAC1B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,uBAAuB,CAAC;AACtC,cAAc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,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
|
|
@@ -42,7 +42,6 @@ export * from "./juspayhypercheckout.js";
|
|
|
42
42
|
export * from "./juspayhypercheckoutresponse.js";
|
|
43
43
|
export * from "./juspaynetbanking.js";
|
|
44
44
|
export * from "./juspaynewcard.js";
|
|
45
|
-
export * from "./juspaypaymentgatewayparams.js";
|
|
46
45
|
export * from "./juspaysavedcardtoken.js";
|
|
47
46
|
export * from "./juspayupicollect.js";
|
|
48
47
|
export * from "./juspayupiintent.js";
|
|
@@ -61,9 +60,7 @@ export * from "./ordershipment.js";
|
|
|
61
60
|
export * from "./pagination.js";
|
|
62
61
|
export * from "./partialcollectanddelivery.js";
|
|
63
62
|
export * from "./partialcollectanddeliveryinput.js";
|
|
64
|
-
export * from "./paymentgatewayparams.js";
|
|
65
63
|
export * from "./paymentmethodpayload.js";
|
|
66
|
-
export * from "./payupaymentgatewayparams.js";
|
|
67
64
|
export * from "./payupaymentinfo.js";
|
|
68
65
|
export * from "./pincode.js";
|
|
69
66
|
export * from "./pincodeserviceability.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,mCAAmC,CAAC;AAClD,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc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C;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
|
|
@@ -2,14 +2,14 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
import { AssociatedOption
|
|
6
|
-
import { LotBatchDetail
|
|
7
|
-
import { ProductAttribute
|
|
8
|
-
import { ProductImage
|
|
9
|
-
import { ProductPricing
|
|
10
|
-
import { ProductPromotion
|
|
11
|
-
import { ProductShipping
|
|
12
|
-
import { ProductSubscription
|
|
5
|
+
import { AssociatedOption } from "./associatedoption.js";
|
|
6
|
+
import { LotBatchDetail } from "./lotbatchdetail.js";
|
|
7
|
+
import { ProductAttribute } from "./productattribute.js";
|
|
8
|
+
import { ProductImage } from "./productimage.js";
|
|
9
|
+
import { ProductPricing } from "./productpricing.js";
|
|
10
|
+
import { ProductPromotion } from "./productpromotion.js";
|
|
11
|
+
import { ProductShipping } from "./productshipping.js";
|
|
12
|
+
import { ProductSubscription } from "./productsubscription.js";
|
|
13
13
|
export declare const ItemProductType: {
|
|
14
14
|
readonly Physical: "physical";
|
|
15
15
|
readonly Digital: "digital";
|
|
@@ -54,71 +54,6 @@ export type Item = {
|
|
|
54
54
|
/** @internal */
|
|
55
55
|
export declare const ItemProductType$inboundSchema: z.ZodNativeEnum<typeof ItemProductType>;
|
|
56
56
|
/** @internal */
|
|
57
|
-
export declare const ItemProductType$outboundSchema: z.ZodNativeEnum<typeof ItemProductType>;
|
|
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 ItemProductType$ {
|
|
63
|
-
/** @deprecated use `ItemProductType$inboundSchema` instead. */
|
|
64
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
65
|
-
readonly Physical: "physical";
|
|
66
|
-
readonly Digital: "digital";
|
|
67
|
-
readonly Bundle: "bundle";
|
|
68
|
-
}>;
|
|
69
|
-
/** @deprecated use `ItemProductType$outboundSchema` instead. */
|
|
70
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
71
|
-
readonly Physical: "physical";
|
|
72
|
-
readonly Digital: "digital";
|
|
73
|
-
readonly Bundle: "bundle";
|
|
74
|
-
}>;
|
|
75
|
-
}
|
|
76
|
-
/** @internal */
|
|
77
57
|
export declare const Item$inboundSchema: z.ZodType<Item, z.ZodTypeDef, unknown>;
|
|
78
|
-
/** @internal */
|
|
79
|
-
export type Item$Outbound = {
|
|
80
|
-
product_id: string;
|
|
81
|
-
variant_id: string | null;
|
|
82
|
-
sku: string;
|
|
83
|
-
slug: string;
|
|
84
|
-
product_name: string;
|
|
85
|
-
variant_name: string | null;
|
|
86
|
-
product_type: string;
|
|
87
|
-
short_description: string | null;
|
|
88
|
-
active: boolean;
|
|
89
|
-
stock_available: boolean;
|
|
90
|
-
backorder?: boolean | undefined;
|
|
91
|
-
on_subscription: boolean;
|
|
92
|
-
on_promotion: boolean;
|
|
93
|
-
category_ids: Array<string>;
|
|
94
|
-
tags: Array<string> | null;
|
|
95
|
-
reviews_count: number;
|
|
96
|
-
reviews_rating_sum: number | null;
|
|
97
|
-
attributes: Array<ProductAttribute$Outbound>;
|
|
98
|
-
images: Array<ProductImage$Outbound>;
|
|
99
|
-
pricing: ProductPricing$Outbound;
|
|
100
|
-
promotion: ProductPromotion$Outbound | null;
|
|
101
|
-
subscription: Array<ProductSubscription$Outbound>;
|
|
102
|
-
associated_options: {
|
|
103
|
-
[k: string]: AssociatedOption$Outbound;
|
|
104
|
-
} | null;
|
|
105
|
-
shipping?: ProductShipping$Outbound | null | undefined;
|
|
106
|
-
inventory?: Array<LotBatchDetail$Outbound> | undefined;
|
|
107
|
-
};
|
|
108
|
-
/** @internal */
|
|
109
|
-
export declare const Item$outboundSchema: z.ZodType<Item$Outbound, z.ZodTypeDef, Item>;
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
113
|
-
*/
|
|
114
|
-
export declare namespace Item$ {
|
|
115
|
-
/** @deprecated use `Item$inboundSchema` instead. */
|
|
116
|
-
const inboundSchema: z.ZodType<Item, z.ZodTypeDef, unknown>;
|
|
117
|
-
/** @deprecated use `Item$outboundSchema` instead. */
|
|
118
|
-
const outboundSchema: z.ZodType<Item$Outbound, z.ZodTypeDef, Item>;
|
|
119
|
-
/** @deprecated use `Item$Outbound` instead. */
|
|
120
|
-
type Outbound = Item$Outbound;
|
|
121
|
-
}
|
|
122
|
-
export declare function itemToJSON(item: Item): string;
|
|
123
58
|
export declare function itemFromJSON(jsonString: string): SafeParseResult<Item, SDKValidationError>;
|
|
124
59
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/models/components/item.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;AACrE,OAAO,EACL,gBAAgB,
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/models/components/item.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;AACrE,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SA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AC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CA2ClE,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
|
|
@@ -4,14 +4,14 @@
|
|
|
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,
|
|
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
15
|
export const ItemProductType = {
|
|
16
16
|
Physical: "physical",
|
|
17
17
|
Digital: "digital",
|
|
@@ -20,19 +20,6 @@ export const ItemProductType = {
|
|
|
20
20
|
/** @internal */
|
|
21
21
|
export const ItemProductType$inboundSchema = z.nativeEnum(ItemProductType);
|
|
22
22
|
/** @internal */
|
|
23
|
-
export const ItemProductType$outboundSchema = ItemProductType$inboundSchema;
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
-
*/
|
|
28
|
-
export var ItemProductType$;
|
|
29
|
-
(function (ItemProductType$) {
|
|
30
|
-
/** @deprecated use `ItemProductType$inboundSchema` instead. */
|
|
31
|
-
ItemProductType$.inboundSchema = ItemProductType$inboundSchema;
|
|
32
|
-
/** @deprecated use `ItemProductType$outboundSchema` instead. */
|
|
33
|
-
ItemProductType$.outboundSchema = ItemProductType$outboundSchema;
|
|
34
|
-
})(ItemProductType$ || (ItemProductType$ = {}));
|
|
35
|
-
/** @internal */
|
|
36
23
|
export const Item$inboundSchema = z
|
|
37
24
|
.object({
|
|
38
25
|
product_id: z.string(),
|
|
@@ -77,64 +64,6 @@ export const Item$inboundSchema = z
|
|
|
77
64
|
"associated_options": "associatedOptions",
|
|
78
65
|
});
|
|
79
66
|
});
|
|
80
|
-
/** @internal */
|
|
81
|
-
export const Item$outboundSchema = z.object({
|
|
82
|
-
productId: z.string(),
|
|
83
|
-
variantId: z.nullable(z.string()),
|
|
84
|
-
sku: z.string(),
|
|
85
|
-
slug: z.string(),
|
|
86
|
-
productName: z.string(),
|
|
87
|
-
variantName: z.nullable(z.string()),
|
|
88
|
-
productType: ItemProductType$outboundSchema,
|
|
89
|
-
shortDescription: z.nullable(z.string()),
|
|
90
|
-
active: z.boolean(),
|
|
91
|
-
stockAvailable: z.boolean(),
|
|
92
|
-
backorder: z.boolean().optional(),
|
|
93
|
-
onSubscription: z.boolean(),
|
|
94
|
-
onPromotion: z.boolean(),
|
|
95
|
-
categoryIds: z.array(z.string()),
|
|
96
|
-
tags: z.nullable(z.array(z.string())),
|
|
97
|
-
reviewsCount: z.number().int(),
|
|
98
|
-
reviewsRatingSum: z.nullable(z.number()),
|
|
99
|
-
attributes: z.array(ProductAttribute$outboundSchema),
|
|
100
|
-
images: z.array(ProductImage$outboundSchema),
|
|
101
|
-
pricing: ProductPricing$outboundSchema,
|
|
102
|
-
promotion: z.nullable(ProductPromotion$outboundSchema),
|
|
103
|
-
subscription: z.array(ProductSubscription$outboundSchema),
|
|
104
|
-
associatedOptions: z.nullable(z.record(AssociatedOption$outboundSchema)),
|
|
105
|
-
shipping: z.nullable(ProductShipping$outboundSchema).optional(),
|
|
106
|
-
inventory: z.array(LotBatchDetail$outboundSchema).optional(),
|
|
107
|
-
}).transform((v) => {
|
|
108
|
-
return remap$(v, {
|
|
109
|
-
productId: "product_id",
|
|
110
|
-
variantId: "variant_id",
|
|
111
|
-
productName: "product_name",
|
|
112
|
-
variantName: "variant_name",
|
|
113
|
-
productType: "product_type",
|
|
114
|
-
shortDescription: "short_description",
|
|
115
|
-
stockAvailable: "stock_available",
|
|
116
|
-
onSubscription: "on_subscription",
|
|
117
|
-
onPromotion: "on_promotion",
|
|
118
|
-
categoryIds: "category_ids",
|
|
119
|
-
reviewsCount: "reviews_count",
|
|
120
|
-
reviewsRatingSum: "reviews_rating_sum",
|
|
121
|
-
associatedOptions: "associated_options",
|
|
122
|
-
});
|
|
123
|
-
});
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
-
*/
|
|
128
|
-
export var Item$;
|
|
129
|
-
(function (Item$) {
|
|
130
|
-
/** @deprecated use `Item$inboundSchema` instead. */
|
|
131
|
-
Item$.inboundSchema = Item$inboundSchema;
|
|
132
|
-
/** @deprecated use `Item$outboundSchema` instead. */
|
|
133
|
-
Item$.outboundSchema = Item$outboundSchema;
|
|
134
|
-
})(Item$ || (Item$ = {}));
|
|
135
|
-
export function itemToJSON(item) {
|
|
136
|
-
return JSON.stringify(Item$outboundSchema.parse(item));
|
|
137
|
-
}
|
|
138
67
|
export function itemFromJSON(jsonString) {
|
|
139
68
|
return safeParse(jsonString, (x) => Item$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Item' from JSON`);
|
|
140
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../../src/models/components/item.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;AAIjD,OAAO,EAEL,8BAA8B,
|
|
1
|
+
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../../src/models/components/item.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;AAIjD,OAAO,EAEL,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAgB,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAEL,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,6BAA6B,GAC9B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAqCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;AAElC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAA2C,CAAC;KACxE,MAAM,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AAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAAC;IACxE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC,CAAC,QAAQ,EAAE;IAC9D,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;QAC7B,cAAc,EAAE,aAAa;QAC7B,cAAc,EAAE,aAAa;QAC7B,mBAAmB,EAAE,kBAAkB;QACvC,iBAAiB,EAAE,gBAAgB;QACnC,iBAAiB,EAAE,gBAAgB;QACnC,cAAc,EAAE,aAAa;QAC7B,cAAc,EAAE,aAAa;QAC7B,eAAe,EAAE,cAAc;QAC/B,oBAAoB,EAAE,kBAAkB;QACxC,oBAAoB,EAAE,mBAAmB;KAC1C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,MAAM,UAAU,YAAY,CAC1B,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
2
|
import { JuspayNetBanking, JuspayNetBanking$Outbound } from "./juspaynetbanking.js";
|
|
5
3
|
import { JusPayNewCard, JusPayNewCard$Outbound } from "./juspaynewcard.js";
|
|
6
4
|
import { JusPaySavedCardToken, JusPaySavedCardToken$Outbound } from "./juspaysavedcardtoken.js";
|
|
@@ -11,23 +9,8 @@ import { JuspayUpiIntent, JuspayUpiIntent$Outbound } from "./juspayupiintent.js"
|
|
|
11
9
|
*/
|
|
12
10
|
export type JusPayExpressCheckout = JusPayNewCard | JusPaySavedCardToken | JuspayUpiIntent | JuspayUpiCollect | JuspayNetBanking;
|
|
13
11
|
/** @internal */
|
|
14
|
-
export declare const JusPayExpressCheckout$inboundSchema: z.ZodType<JusPayExpressCheckout, z.ZodTypeDef, unknown>;
|
|
15
|
-
/** @internal */
|
|
16
12
|
export type JusPayExpressCheckout$Outbound = JusPayNewCard$Outbound | JusPaySavedCardToken$Outbound | JuspayUpiIntent$Outbound | JuspayUpiCollect$Outbound | JuspayNetBanking$Outbound;
|
|
17
13
|
/** @internal */
|
|
18
14
|
export declare const JusPayExpressCheckout$outboundSchema: z.ZodType<JusPayExpressCheckout$Outbound, z.ZodTypeDef, JusPayExpressCheckout>;
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
-
*/
|
|
23
|
-
export declare namespace JusPayExpressCheckout$ {
|
|
24
|
-
/** @deprecated use `JusPayExpressCheckout$inboundSchema` instead. */
|
|
25
|
-
const inboundSchema: z.ZodType<JusPayExpressCheckout, z.ZodTypeDef, unknown>;
|
|
26
|
-
/** @deprecated use `JusPayExpressCheckout$outboundSchema` instead. */
|
|
27
|
-
const outboundSchema: z.ZodType<JusPayExpressCheckout$Outbound, z.ZodTypeDef, JusPayExpressCheckout>;
|
|
28
|
-
/** @deprecated use `JusPayExpressCheckout$Outbound` instead. */
|
|
29
|
-
type Outbound = JusPayExpressCheckout$Outbound;
|
|
30
|
-
}
|
|
31
15
|
export declare function jusPayExpressCheckoutToJSON(jusPayExpressCheckout: JusPayExpressCheckout): string;
|
|
32
|
-
export declare function jusPayExpressCheckoutFromJSON(jsonString: string): SafeParseResult<JusPayExpressCheckout, SDKValidationError>;
|
|
33
16
|
//# sourceMappingURL=juspayexpresscheckout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspayexpresscheckout.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspayexpresscheckout.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"juspayexpresscheckout.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspayexpresscheckout.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,aAAa,EACb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EACf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAC7B,aAAa,GACb,oBAAoB,GACpB,eAAe,GACf,gBAAgB,GAChB,gBAAgB,CAAC;AAErB,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GACtC,sBAAsB,GACtB,6BAA6B,GAC7B,wBAAwB,GACxB,yBAAyB,GACzB,yBAAyB,CAAC;AAE9B,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAOrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -2,20 +2,11 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { JuspayUpiIntent$inboundSchema, JuspayUpiIntent$outboundSchema, } from "./juspayupiintent.js";
|
|
11
|
-
/** @internal */
|
|
12
|
-
export const JusPayExpressCheckout$inboundSchema = z.union([
|
|
13
|
-
JusPayNewCard$inboundSchema,
|
|
14
|
-
JusPaySavedCardToken$inboundSchema,
|
|
15
|
-
JuspayUpiIntent$inboundSchema,
|
|
16
|
-
JuspayUpiCollect$inboundSchema,
|
|
17
|
-
JuspayNetBanking$inboundSchema,
|
|
18
|
-
]);
|
|
5
|
+
import { JuspayNetBanking$outboundSchema, } from "./juspaynetbanking.js";
|
|
6
|
+
import { JusPayNewCard$outboundSchema, } from "./juspaynewcard.js";
|
|
7
|
+
import { JusPaySavedCardToken$outboundSchema, } from "./juspaysavedcardtoken.js";
|
|
8
|
+
import { JuspayUpiCollect$outboundSchema, } from "./juspayupicollect.js";
|
|
9
|
+
import { JuspayUpiIntent$outboundSchema, } from "./juspayupiintent.js";
|
|
19
10
|
/** @internal */
|
|
20
11
|
export const JusPayExpressCheckout$outboundSchema = z.union([
|
|
21
12
|
JusPayNewCard$outboundSchema,
|
|
@@ -24,21 +15,7 @@ export const JusPayExpressCheckout$outboundSchema = z.union([
|
|
|
24
15
|
JuspayUpiCollect$outboundSchema,
|
|
25
16
|
JuspayNetBanking$outboundSchema,
|
|
26
17
|
]);
|
|
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 JusPayExpressCheckout$;
|
|
32
|
-
(function (JusPayExpressCheckout$) {
|
|
33
|
-
/** @deprecated use `JusPayExpressCheckout$inboundSchema` instead. */
|
|
34
|
-
JusPayExpressCheckout$.inboundSchema = JusPayExpressCheckout$inboundSchema;
|
|
35
|
-
/** @deprecated use `JusPayExpressCheckout$outboundSchema` instead. */
|
|
36
|
-
JusPayExpressCheckout$.outboundSchema = JusPayExpressCheckout$outboundSchema;
|
|
37
|
-
})(JusPayExpressCheckout$ || (JusPayExpressCheckout$ = {}));
|
|
38
18
|
export function jusPayExpressCheckoutToJSON(jusPayExpressCheckout) {
|
|
39
19
|
return JSON.stringify(JusPayExpressCheckout$outboundSchema.parse(jusPayExpressCheckout));
|
|
40
20
|
}
|
|
41
|
-
export function jusPayExpressCheckoutFromJSON(jsonString) {
|
|
42
|
-
return safeParse(jsonString, (x) => JusPayExpressCheckout$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JusPayExpressCheckout' from JSON`);
|
|
43
|
-
}
|
|
44
21
|
//# sourceMappingURL=juspayexpresscheckout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspayexpresscheckout.js","sourceRoot":"","sources":["../../../src/models/components/juspayexpresscheckout.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,
|
|
1
|
+
{"version":3,"file":"juspayexpresscheckout.js","sourceRoot":"","sources":["../../../src/models/components/juspayexpresscheckout.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAGL,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,4BAA4B,GAC7B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAGL,mCAAmC,GACpC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAoB9B,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAI7C,CAAC,CAAC,KAAK,CAAC;IACV,4BAA4B;IAC5B,mCAAmC;IACnC,8BAA8B;IAC9B,+BAA+B;IAC/B,+BAA+B;CAChC,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC"}
|