ce-storefront 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/components/anonymoususer.d.ts +0 -30
- package/esm/models/components/anonymoususer.d.ts.map +1 -1
- package/esm/models/components/anonymoususer.js +0 -41
- package/esm/models/components/anonymoususer.js.map +1 -1
- package/esm/models/components/appliedcoupon.d.ts +0 -53
- package/esm/models/components/appliedcoupon.d.ts.map +1 -1
- package/esm/models/components/appliedcoupon.js +0 -46
- package/esm/models/components/appliedcoupon.js.map +1 -1
- package/esm/models/components/appliedpromotion.d.ts +0 -51
- package/esm/models/components/appliedpromotion.d.ts.map +1 -1
- package/esm/models/components/appliedpromotion.js +0 -49
- package/esm/models/components/appliedpromotion.js.map +1 -1
- package/esm/models/components/associatedoption.d.ts +2 -19
- package/esm/models/components/associatedoption.d.ts.map +1 -1
- package/esm/models/components/associatedoption.js +2 -18
- package/esm/models/components/associatedoption.js.map +1 -1
- package/esm/models/components/banktransfer.d.ts +0 -70
- package/esm/models/components/banktransfer.d.ts.map +1 -1
- package/esm/models/components/banktransfer.js +0 -65
- package/esm/models/components/banktransfer.js.map +1 -1
- package/esm/models/components/booleanattribute.d.ts +0 -23
- package/esm/models/components/booleanattribute.d.ts.map +1 -1
- package/esm/models/components/booleanattribute.js +0 -22
- package/esm/models/components/booleanattribute.js.map +1 -1
- package/esm/models/components/cardpayment.d.ts +0 -92
- package/esm/models/components/cardpayment.d.ts.map +1 -1
- package/esm/models/components/cardpayment.js +0 -78
- package/esm/models/components/cardpayment.js.map +1 -1
- package/esm/models/components/cart.d.ts +6 -69
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +6 -107
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts +0 -17
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.js +0 -25
- package/esm/models/components/cartbasedserviceabilitycheck.js.map +1 -1
- package/esm/models/components/cartitem.d.ts +3 -76
- package/esm/models/components/cartitem.d.ts.map +1 -1
- package/esm/models/components/cartitem.js +3 -96
- package/esm/models/components/cartitem.js.map +1 -1
- package/esm/models/components/category.d.ts +0 -25
- package/esm/models/components/category.d.ts.map +1 -1
- package/esm/models/components/category.js +0 -29
- package/esm/models/components/category.js.map +1 -1
- package/esm/models/components/collectinstore.d.ts +0 -23
- package/esm/models/components/collectinstore.d.ts.map +1 -1
- package/esm/models/components/collectinstore.js +0 -28
- package/esm/models/components/collectinstore.js.map +1 -1
- package/esm/models/components/collectinstorefulfillment.d.ts +0 -40
- package/esm/models/components/collectinstorefulfillment.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillment.js +0 -41
- package/esm/models/components/collectinstorefulfillment.js.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.d.ts +0 -17
- package/esm/models/components/collectinstorefulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.js +0 -26
- package/esm/models/components/collectinstorefulfillmentinput.js.map +1 -1
- package/esm/models/components/colorattribute.d.ts +0 -43
- package/esm/models/components/colorattribute.d.ts.map +1 -1
- package/esm/models/components/colorattribute.js +0 -41
- package/esm/models/components/colorattribute.js.map +1 -1
- package/esm/models/components/coloroption.d.ts +0 -41
- package/esm/models/components/coloroption.d.ts.map +1 -1
- package/esm/models/components/coloroption.js +0 -39
- package/esm/models/components/coloroption.js.map +1 -1
- package/esm/models/components/currency.d.ts +0 -21
- package/esm/models/components/currency.d.ts.map +1 -1
- package/esm/models/components/currency.js +0 -20
- package/esm/models/components/currency.js.map +1 -1
- package/esm/models/components/customeraddress.d.ts +0 -35
- package/esm/models/components/customeraddress.d.ts.map +1 -1
- package/esm/models/components/customeraddress.js +0 -46
- package/esm/models/components/customeraddress.js.map +1 -1
- package/esm/models/components/customeraddressinput.d.ts +0 -17
- package/esm/models/components/customeraddressinput.d.ts.map +1 -1
- package/esm/models/components/customeraddressinput.js +0 -43
- package/esm/models/components/customeraddressinput.js.map +1 -1
- package/esm/models/components/customerloyalty.d.ts +0 -27
- package/esm/models/components/customerloyalty.d.ts.map +1 -1
- package/esm/models/components/customerloyalty.js +0 -38
- package/esm/models/components/customerloyalty.js.map +1 -1
- package/esm/models/components/customerreadyforreview.d.ts +0 -24
- package/esm/models/components/customerreadyforreview.d.ts.map +1 -1
- package/esm/models/components/customerreadyforreview.js +0 -32
- package/esm/models/components/customerreadyforreview.js.map +1 -1
- package/esm/models/components/customerreview.d.ts +0 -99
- package/esm/models/components/customerreview.d.ts.map +1 -1
- package/esm/models/components/customerreview.js +0 -121
- package/esm/models/components/customerreview.js.map +1 -1
- package/esm/models/components/dateattribute.d.ts +0 -23
- package/esm/models/components/dateattribute.d.ts.map +1 -1
- package/esm/models/components/dateattribute.js +0 -22
- package/esm/models/components/dateattribute.js.map +1 -1
- package/esm/models/components/deliveryfulfillment.d.ts +0 -42
- package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillment.js +0 -45
- package/esm/models/components/deliveryfulfillment.js.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.d.ts +0 -17
- package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.js +0 -27
- package/esm/models/components/deliveryfulfillmentinput.js.map +1 -1
- package/esm/models/components/discountbasedpromotion.d.ts +0 -62
- package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
- package/esm/models/components/discountbasedpromotion.js +0 -54
- package/esm/models/components/discountbasedpromotion.js.map +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +0 -42
- package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
- package/esm/models/components/fixedpricepromotion.js +0 -37
- package/esm/models/components/fixedpricepromotion.js.map +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +0 -43
- package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
- package/esm/models/components/freegoodspromotion.js +0 -39
- package/esm/models/components/freegoodspromotion.js.map +1 -1
- package/esm/models/components/fulfillmentitem.d.ts +0 -23
- package/esm/models/components/fulfillmentitem.d.ts.map +1 -1
- package/esm/models/components/fulfillmentitem.js +0 -29
- package/esm/models/components/fulfillmentitem.js.map +1 -1
- package/esm/models/components/fulfillmentiteminput.d.ts +0 -17
- package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentiteminput.js +0 -26
- package/esm/models/components/fulfillmentiteminput.js.map +1 -1
- package/esm/models/components/fulfillmentpreference.d.ts +3 -26
- package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreference.js +3 -26
- package/esm/models/components/fulfillmentpreference.js.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.d.ts +0 -17
- package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.js +3 -27
- package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -1
- package/esm/models/components/generateotpwithemail.d.ts +0 -39
- package/esm/models/components/generateotpwithemail.d.ts.map +1 -1
- package/esm/models/components/generateotpwithemail.js +1 -39
- package/esm/models/components/generateotpwithemail.js.map +1 -1
- package/esm/models/components/generateotpwithphone.d.ts +0 -57
- package/esm/models/components/generateotpwithphone.d.ts.map +1 -1
- package/esm/models/components/generateotpwithphone.js +2 -55
- package/esm/models/components/generateotpwithphone.js.map +1 -1
- package/esm/models/components/item.d.ts +8 -73
- package/esm/models/components/item.d.ts.map +1 -1
- package/esm/models/components/item.js +8 -79
- package/esm/models/components/item.js.map +1 -1
- package/esm/models/components/juspayexpresscheckout.d.ts +0 -17
- package/esm/models/components/juspayexpresscheckout.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckout.js +5 -28
- package/esm/models/components/juspayexpresscheckout.js.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts +0 -129
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.js +0 -147
- package/esm/models/components/juspayexpresscheckoutresponse.js.map +1 -1
- package/esm/models/components/juspayhypercheckout.d.ts +0 -33
- package/esm/models/components/juspayhypercheckout.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckout.js +1 -45
- package/esm/models/components/juspayhypercheckout.js.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.d.ts +0 -125
- package/esm/models/components/juspayhypercheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.js +0 -130
- package/esm/models/components/juspayhypercheckoutresponse.js.map +1 -1
- package/esm/models/components/juspaynetbanking.d.ts +2 -19
- package/esm/models/components/juspaynetbanking.d.ts.map +1 -1
- package/esm/models/components/juspaynetbanking.js +1 -39
- package/esm/models/components/juspaynetbanking.js.map +1 -1
- package/esm/models/components/juspaynewcard.d.ts +2 -39
- package/esm/models/components/juspaynewcard.d.ts.map +1 -1
- package/esm/models/components/juspaynewcard.js +2 -69
- package/esm/models/components/juspaynewcard.js.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.d.ts +2 -39
- package/esm/models/components/juspaysavedcardtoken.d.ts.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.js +2 -63
- package/esm/models/components/juspaysavedcardtoken.js.map +1 -1
- package/esm/models/components/juspayupicollect.d.ts +2 -19
- package/esm/models/components/juspayupicollect.d.ts.map +1 -1
- package/esm/models/components/juspayupicollect.js +1 -41
- package/esm/models/components/juspayupicollect.js.map +1 -1
- package/esm/models/components/juspayupiintent.d.ts +2 -19
- package/esm/models/components/juspayupiintent.d.ts.map +1 -1
- package/esm/models/components/juspayupiintent.js +1 -43
- package/esm/models/components/juspayupiintent.js.map +1 -1
- package/esm/models/components/lotbatchdetail.d.ts +0 -23
- package/esm/models/components/lotbatchdetail.d.ts.map +1 -1
- package/esm/models/components/lotbatchdetail.js +0 -29
- package/esm/models/components/lotbatchdetail.js.map +1 -1
- package/esm/models/components/multiselectattribute.d.ts +0 -23
- package/esm/models/components/multiselectattribute.d.ts.map +1 -1
- package/esm/models/components/multiselectattribute.js +0 -22
- package/esm/models/components/multiselectattribute.js.map +1 -1
- package/esm/models/components/netbankingpayment.d.ts +0 -69
- package/esm/models/components/netbankingpayment.d.ts.map +1 -1
- package/esm/models/components/netbankingpayment.js +0 -63
- package/esm/models/components/netbankingpayment.js.map +1 -1
- package/esm/models/components/notificationchannelpreferences.d.ts +0 -12
- package/esm/models/components/notificationchannelpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationchannelpreferences.js +0 -11
- package/esm/models/components/notificationchannelpreferences.js.map +1 -1
- package/esm/models/components/notificationpreferences.d.ts +0 -12
- package/esm/models/components/notificationpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationpreferences.js +0 -11
- package/esm/models/components/notificationpreferences.js.map +1 -1
- package/esm/models/components/numberattribute.d.ts +0 -23
- package/esm/models/components/numberattribute.d.ts.map +1 -1
- package/esm/models/components/numberattribute.js +0 -22
- package/esm/models/components/numberattribute.js.map +1 -1
- package/esm/models/components/order.d.ts +5 -202
- package/esm/models/components/order.d.ts.map +1 -1
- package/esm/models/components/order.js +5 -207
- package/esm/models/components/order.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +6 -204
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +6 -209
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/orderitem.d.ts +2 -73
- package/esm/models/components/orderitem.d.ts.map +1 -1
- package/esm/models/components/orderitem.js +2 -93
- package/esm/models/components/orderitem.js.map +1 -1
- package/esm/models/components/orderlist.d.ts +1 -122
- package/esm/models/components/orderlist.d.ts.map +1 -1
- package/esm/models/components/orderlist.js +1 -101
- package/esm/models/components/orderlist.js.map +1 -1
- package/esm/models/components/orderpayment.d.ts +5 -22
- package/esm/models/components/orderpayment.d.ts.map +1 -1
- package/esm/models/components/orderpayment.js +5 -27
- package/esm/models/components/orderpayment.js.map +1 -1
- package/esm/models/components/ordershipment.d.ts +1 -76
- package/esm/models/components/ordershipment.d.ts.map +1 -1
- package/esm/models/components/ordershipment.js +1 -71
- package/esm/models/components/ordershipment.js.map +1 -1
- package/esm/models/components/pagination.d.ts +0 -23
- package/esm/models/components/pagination.d.ts.map +1 -1
- package/esm/models/components/pagination.js +0 -29
- package/esm/models/components/pagination.js.map +1 -1
- package/esm/models/components/partialcollectanddelivery.d.ts +1 -85
- package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddelivery.js +1 -96
- package/esm/models/components/partialcollectanddelivery.js.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.d.ts +0 -47
- package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.js +1 -75
- package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
- package/esm/models/components/paymentmethodpayload.d.ts +0 -17
- package/esm/models/components/paymentmethodpayload.d.ts.map +1 -1
- package/esm/models/components/paymentmethodpayload.js +2 -22
- package/esm/models/components/paymentmethodpayload.js.map +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +0 -55
- package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
- package/esm/models/components/payupaymentinfo.js +0 -58
- package/esm/models/components/payupaymentinfo.js.map +1 -1
- package/esm/models/components/pincode.d.ts +0 -23
- package/esm/models/components/pincode.d.ts.map +1 -1
- package/esm/models/components/pincode.js +0 -28
- package/esm/models/components/pincode.js.map +1 -1
- package/esm/models/components/pincodeserviceability.d.ts +0 -123
- package/esm/models/components/pincodeserviceability.d.ts.map +1 -1
- package/esm/models/components/pincodeserviceability.js +0 -130
- package/esm/models/components/pincodeserviceability.js.map +1 -1
- package/esm/models/components/product.d.ts +10 -74
- package/esm/models/components/product.d.ts.map +1 -1
- package/esm/models/components/product.js +10 -80
- package/esm/models/components/product.js.map +1 -1
- package/esm/models/components/productattribute.d.ts +7 -38
- package/esm/models/components/productattribute.d.ts.map +1 -1
- package/esm/models/components/productattribute.js +7 -39
- package/esm/models/components/productattribute.js.map +1 -1
- package/esm/models/components/productbundleitem.d.ts +8 -74
- package/esm/models/components/productbundleitem.d.ts.map +1 -1
- package/esm/models/components/productbundleitem.js +8 -80
- package/esm/models/components/productbundleitem.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +1 -27
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +1 -32
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +13 -87
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +13 -94
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productimage.d.ts +0 -26
- package/esm/models/components/productimage.d.ts.map +1 -1
- package/esm/models/components/productimage.js +0 -34
- package/esm/models/components/productimage.js.map +1 -1
- package/esm/models/components/productpricing.d.ts +0 -28
- package/esm/models/components/productpricing.d.ts.map +1 -1
- package/esm/models/components/productpricing.js +0 -39
- package/esm/models/components/productpricing.js.map +1 -1
- package/esm/models/components/productpromotion.d.ts +4 -59
- package/esm/models/components/productpromotion.d.ts.map +1 -1
- package/esm/models/components/productpromotion.js +4 -72
- package/esm/models/components/productpromotion.js.map +1 -1
- package/esm/models/components/productreview.d.ts +0 -110
- package/esm/models/components/productreview.d.ts.map +1 -1
- package/esm/models/components/productreview.js +0 -122
- package/esm/models/components/productreview.js.map +1 -1
- package/esm/models/components/productshipping.d.ts +0 -22
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +0 -28
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/productsubscription.d.ts +0 -70
- package/esm/models/components/productsubscription.d.ts.map +1 -1
- package/esm/models/components/productsubscription.js +0 -69
- package/esm/models/components/productsubscription.js.map +1 -1
- package/esm/models/components/productvideo.d.ts +0 -26
- package/esm/models/components/productvideo.d.ts.map +1 -1
- package/esm/models/components/productvideo.js +0 -35
- package/esm/models/components/productvideo.js.map +1 -1
- package/esm/models/components/savedpaymentmethod.d.ts +0 -172
- package/esm/models/components/savedpaymentmethod.d.ts.map +1 -1
- package/esm/models/components/savedpaymentmethod.js +0 -227
- package/esm/models/components/savedpaymentmethod.js.map +1 -1
- package/esm/models/components/searchproduct.d.ts +0 -17
- package/esm/models/components/searchproduct.d.ts.map +1 -1
- package/esm/models/components/searchproduct.js +0 -22
- package/esm/models/components/searchproduct.js.map +1 -1
- package/esm/models/components/security.d.ts +0 -17
- package/esm/models/components/security.d.ts.map +1 -1
- package/esm/models/components/security.js +0 -23
- package/esm/models/components/security.js.map +1 -1
- package/esm/models/components/seo.d.ts +0 -22
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +0 -22
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/shipmentitem.d.ts +0 -25
- package/esm/models/components/shipmentitem.d.ts.map +1 -1
- package/esm/models/components/shipmentitem.js +0 -32
- package/esm/models/components/shipmentitem.js.map +1 -1
- package/esm/models/components/singleselectattribute.d.ts +0 -23
- package/esm/models/components/singleselectattribute.d.ts.map +1 -1
- package/esm/models/components/singleselectattribute.js +0 -22
- package/esm/models/components/singleselectattribute.js.map +1 -1
- package/esm/models/components/singleselectoption.d.ts +0 -21
- package/esm/models/components/singleselectoption.d.ts.map +1 -1
- package/esm/models/components/singleselectoption.js +0 -20
- package/esm/models/components/singleselectoption.js.map +1 -1
- package/esm/models/components/textattribute.d.ts +0 -23
- package/esm/models/components/textattribute.d.ts.map +1 -1
- package/esm/models/components/textattribute.js +0 -22
- package/esm/models/components/textattribute.js.map +1 -1
- package/esm/models/components/updatecartitem.d.ts +0 -17
- package/esm/models/components/updatecartitem.d.ts.map +1 -1
- package/esm/models/components/updatecartitem.js +0 -26
- package/esm/models/components/updatecartitem.js.map +1 -1
- package/esm/models/components/upipayment.d.ts +0 -69
- package/esm/models/components/upipayment.d.ts.map +1 -1
- package/esm/models/components/upipayment.js +0 -63
- package/esm/models/components/upipayment.js.map +1 -1
- package/esm/models/components/user.d.ts +0 -68
- package/esm/models/components/user.d.ts.map +1 -1
- package/esm/models/components/user.js +0 -92
- package/esm/models/components/user.js.map +1 -1
- package/esm/models/components/variant.d.ts +6 -45
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +6 -53
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +11 -86
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +11 -93
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/components/variantoption.d.ts +0 -74
- package/esm/models/components/variantoption.d.ts.map +1 -1
- package/esm/models/components/variantoption.js +0 -67
- package/esm/models/components/variantoption.js.map +1 -1
- package/esm/models/components/volumebasedpromotion.d.ts +0 -62
- package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
- package/esm/models/components/volumebasedpromotion.js +0 -60
- package/esm/models/components/volumebasedpromotion.js.map +1 -1
- package/esm/models/components/walletpayment.d.ts +0 -69
- package/esm/models/components/walletpayment.d.ts.map +1 -1
- package/esm/models/components/walletpayment.js +0 -63
- package/esm/models/components/walletpayment.js.map +1 -1
- package/esm/models/errors/badrequest.d.ts +0 -38
- package/esm/models/errors/badrequest.d.ts.map +1 -1
- package/esm/models/errors/badrequest.js +0 -36
- package/esm/models/errors/badrequest.js.map +1 -1
- package/esm/models/errors/notfound.d.ts +0 -20
- package/esm/models/errors/notfound.d.ts.map +1 -1
- package/esm/models/errors/notfound.js +0 -19
- package/esm/models/errors/notfound.js.map +1 -1
- package/esm/models/errors/unauthorized.d.ts +0 -20
- package/esm/models/errors/unauthorized.d.ts.map +1 -1
- package/esm/models/errors/unauthorized.js +0 -19
- package/esm/models/errors/unauthorized.js.map +1 -1
- package/esm/models/operations/applycoupon.d.ts +0 -70
- package/esm/models/operations/applycoupon.d.ts.map +1 -1
- package/esm/models/operations/applycoupon.js +0 -83
- package/esm/models/operations/applycoupon.js.map +1 -1
- package/esm/models/operations/cancelorder.d.ts +0 -88
- package/esm/models/operations/cancelorder.d.ts.map +1 -1
- package/esm/models/operations/cancelorder.js +1 -103
- package/esm/models/operations/cancelorder.js.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.d.ts +0 -55
- package/esm/models/operations/checkpincodeserviceability.d.ts.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.js +0 -60
- package/esm/models/operations/checkpincodeserviceability.js.map +1 -1
- package/esm/models/operations/createaddress.d.ts +0 -70
- package/esm/models/operations/createaddress.d.ts.map +1 -1
- package/esm/models/operations/createaddress.js +0 -108
- package/esm/models/operations/createaddress.js.map +1 -1
- package/esm/models/operations/createcart.d.ts +0 -55
- package/esm/models/operations/createcart.d.ts.map +1 -1
- package/esm/models/operations/createcart.js +0 -57
- package/esm/models/operations/createcart.js.map +1 -1
- package/esm/models/operations/createcartaddress.d.ts +0 -100
- package/esm/models/operations/createcartaddress.d.ts.map +1 -1
- package/esm/models/operations/createcartaddress.js +0 -131
- package/esm/models/operations/createcartaddress.js.map +1 -1
- package/esm/models/operations/createorder.d.ts +0 -74
- package/esm/models/operations/createorder.d.ts.map +1 -1
- package/esm/models/operations/createorder.js +0 -93
- package/esm/models/operations/createorder.js.map +1 -1
- package/esm/models/operations/deleteaddress.d.ts +0 -35
- package/esm/models/operations/deleteaddress.d.ts.map +1 -1
- package/esm/models/operations/deleteaddress.js +0 -43
- package/esm/models/operations/deleteaddress.js.map +1 -1
- package/esm/models/operations/deletecart.d.ts +0 -35
- package/esm/models/operations/deletecart.d.ts.map +1 -1
- package/esm/models/operations/deletecart.js +0 -37
- package/esm/models/operations/deletecart.js.map +1 -1
- package/esm/models/operations/deleteusercart.d.ts +0 -35
- package/esm/models/operations/deleteusercart.d.ts.map +1 -1
- package/esm/models/operations/deleteusercart.js +0 -41
- package/esm/models/operations/deleteusercart.js.map +1 -1
- package/esm/models/operations/generateotp.d.ts +0 -71
- package/esm/models/operations/generateotp.d.ts.map +1 -1
- package/esm/models/operations/generateotp.js +0 -90
- package/esm/models/operations/generateotp.js.map +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +0 -92
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +0 -112
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/getanonymoustoken.d.ts +0 -57
- package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
- package/esm/models/operations/getanonymoustoken.js +0 -67
- package/esm/models/operations/getanonymoustoken.js.map +1 -1
- package/esm/models/operations/getcart.d.ts +0 -55
- package/esm/models/operations/getcart.d.ts.map +1 -1
- package/esm/models/operations/getcart.js +0 -56
- package/esm/models/operations/getcart.js.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.d.ts +0 -82
- package/esm/models/operations/getfulfillmentoptions.d.ts.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.js +0 -81
- package/esm/models/operations/getfulfillmentoptions.js.map +1 -1
- package/esm/models/operations/getloyaltydetails.d.ts +0 -56
- package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
- package/esm/models/operations/getloyaltydetails.js +0 -65
- package/esm/models/operations/getloyaltydetails.js.map +1 -1
- package/esm/models/operations/getorderdetail.d.ts +0 -55
- package/esm/models/operations/getorderdetail.d.ts.map +1 -1
- package/esm/models/operations/getorderdetail.js +0 -60
- package/esm/models/operations/getorderdetail.js.map +1 -1
- package/esm/models/operations/getpaymentstatus.d.ts +0 -80
- package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
- package/esm/models/operations/getpaymentstatus.js +0 -82
- package/esm/models/operations/getpaymentstatus.js.map +1 -1
- package/esm/models/operations/getproductdetail.d.ts +0 -55
- package/esm/models/operations/getproductdetail.d.ts.map +1 -1
- package/esm/models/operations/getproductdetail.js +0 -63
- package/esm/models/operations/getproductdetail.js.map +1 -1
- package/esm/models/operations/getusercart.d.ts +0 -55
- package/esm/models/operations/getusercart.d.ts.map +1 -1
- package/esm/models/operations/getusercart.js +0 -60
- package/esm/models/operations/getusercart.js.map +1 -1
- package/esm/models/operations/getuserdetail.d.ts +0 -55
- package/esm/models/operations/getuserdetail.d.ts.map +1 -1
- package/esm/models/operations/getuserdetail.js +0 -56
- package/esm/models/operations/getuserdetail.js.map +1 -1
- package/esm/models/operations/getvariantdetail.d.ts +0 -55
- package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
- package/esm/models/operations/getvariantdetail.js +0 -65
- package/esm/models/operations/getvariantdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +0 -93
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +0 -114
- package/esm/models/operations/listaddresses.js.map +1 -1
- package/esm/models/operations/listcategories.d.ts +0 -56
- package/esm/models/operations/listcategories.d.ts.map +1 -1
- package/esm/models/operations/listcategories.js +0 -68
- package/esm/models/operations/listcategories.js.map +1 -1
- package/esm/models/operations/listcountrypincodes.d.ts +0 -55
- package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
- package/esm/models/operations/listcountrypincodes.js +0 -63
- package/esm/models/operations/listcountrypincodes.js.map +1 -1
- package/esm/models/operations/listcrosssellproducts.d.ts +0 -56
- package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
- package/esm/models/operations/listcrosssellproducts.js +0 -67
- package/esm/models/operations/listcrosssellproducts.js.map +1 -1
- package/esm/models/operations/listorders.d.ts +0 -56
- package/esm/models/operations/listorders.d.ts.map +1 -1
- package/esm/models/operations/listorders.js +0 -66
- package/esm/models/operations/listorders.js.map +1 -1
- package/esm/models/operations/listordershipments.d.ts +0 -55
- package/esm/models/operations/listordershipments.d.ts.map +1 -1
- package/esm/models/operations/listordershipments.js +0 -60
- package/esm/models/operations/listordershipments.js.map +1 -1
- package/esm/models/operations/listproductreviews.d.ts +0 -57
- package/esm/models/operations/listproductreviews.d.ts.map +1 -1
- package/esm/models/operations/listproductreviews.js +0 -73
- package/esm/models/operations/listproductreviews.js.map +1 -1
- package/esm/models/operations/listproducts.d.ts +0 -56
- package/esm/models/operations/listproducts.d.ts.map +1 -1
- package/esm/models/operations/listproducts.js +0 -70
- package/esm/models/operations/listproducts.js.map +1 -1
- package/esm/models/operations/listproductvariants.d.ts +0 -55
- package/esm/models/operations/listproductvariants.d.ts.map +1 -1
- package/esm/models/operations/listproductvariants.js +0 -63
- package/esm/models/operations/listproductvariants.js.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.d.ts +0 -55
- package/esm/models/operations/listsavedpaymentmethods.d.ts.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.js +0 -65
- package/esm/models/operations/listsavedpaymentmethods.js.map +1 -1
- package/esm/models/operations/listsimilarproducts.d.ts +0 -56
- package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
- package/esm/models/operations/listsimilarproducts.js +0 -67
- package/esm/models/operations/listsimilarproducts.js.map +1 -1
- package/esm/models/operations/listskus.d.ts +0 -56
- package/esm/models/operations/listskus.d.ts.map +1 -1
- package/esm/models/operations/listskus.js +0 -69
- package/esm/models/operations/listskus.js.map +1 -1
- package/esm/models/operations/listupsellproducts.d.ts +0 -56
- package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
- package/esm/models/operations/listupsellproducts.js +0 -67
- package/esm/models/operations/listupsellproducts.js.map +1 -1
- package/esm/models/operations/listuserreviews.d.ts +0 -56
- package/esm/models/operations/listuserreviews.d.ts.map +1 -1
- package/esm/models/operations/listuserreviews.js +0 -66
- package/esm/models/operations/listuserreviews.js.map +1 -1
- package/esm/models/operations/loginwithemail.d.ts +0 -71
- package/esm/models/operations/loginwithemail.d.ts.map +1 -1
- package/esm/models/operations/loginwithemail.js +0 -91
- package/esm/models/operations/loginwithemail.js.map +1 -1
- package/esm/models/operations/loginwithphone.d.ts +0 -71
- package/esm/models/operations/loginwithphone.d.ts.map +1 -1
- package/esm/models/operations/loginwithphone.js +0 -93
- package/esm/models/operations/loginwithphone.js.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.d.ts +0 -71
- package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.js +0 -93
- package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
- package/esm/models/operations/logout.d.ts +0 -42
- package/esm/models/operations/logout.d.ts.map +1 -1
- package/esm/models/operations/logout.js +0 -45
- package/esm/models/operations/logout.js.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.d.ts +0 -70
- package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.js +0 -83
- package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
- package/esm/models/operations/refreshtoken.d.ts +0 -56
- package/esm/models/operations/refreshtoken.d.ts.map +1 -1
- package/esm/models/operations/refreshtoken.js +0 -66
- package/esm/models/operations/refreshtoken.js.map +1 -1
- package/esm/models/operations/removecoupon.d.ts +0 -55
- package/esm/models/operations/removecoupon.d.ts.map +1 -1
- package/esm/models/operations/removecoupon.js +0 -56
- package/esm/models/operations/removecoupon.js.map +1 -1
- package/esm/models/operations/removeloyaltypoints.d.ts +0 -55
- package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/removeloyaltypoints.js +0 -56
- package/esm/models/operations/removeloyaltypoints.js.map +1 -1
- package/esm/models/operations/retryorderpayment.d.ts +0 -87
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +0 -112
- package/esm/models/operations/retryorderpayment.js.map +1 -1
- package/esm/models/operations/searchproducts.d.ts +0 -84
- package/esm/models/operations/searchproducts.d.ts.map +1 -1
- package/esm/models/operations/searchproducts.js +0 -89
- package/esm/models/operations/searchproducts.js.map +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +0 -70
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/updateaddressdetail.js +0 -110
- package/esm/models/operations/updateaddressdetail.js.map +1 -1
- package/esm/models/operations/updatecart.d.ts +0 -55
- package/esm/models/operations/updatecart.d.ts.map +1 -1
- package/esm/models/operations/updatecart.js +0 -61
- package/esm/models/operations/updatecart.js.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.d.ts +0 -55
- package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.js +0 -61
- package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
- package/esm/models/operations/updateuser.d.ts +0 -55
- package/esm/models/operations/updateuser.d.ts.map +1 -1
- package/esm/models/operations/updateuser.js +0 -61
- package/esm/models/operations/updateuser.js.map +1 -1
- package/esm/models/operations/verifyotp.d.ts +0 -85
- package/esm/models/operations/verifyotp.d.ts.map +1 -1
- package/esm/models/operations/verifyotp.js +1 -84
- package/esm/models/operations/verifyotp.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/anonymoususer.ts +0 -65
- package/src/models/components/appliedcoupon.ts +0 -67
- package/src/models/components/appliedpromotion.ts +0 -77
- package/src/models/components/associatedoption.ts +1 -41
- package/src/models/components/banktransfer.ts +0 -93
- package/src/models/components/booleanattribute.ts +0 -43
- package/src/models/components/cardpayment.ts +0 -108
- package/src/models/components/cart.ts +3 -177
- package/src/models/components/cartbasedserviceabilitycheck.ts +0 -41
- package/src/models/components/cartitem.ts +0 -146
- package/src/models/components/category.ts +0 -48
- package/src/models/components/collectinstore.ts +0 -45
- package/src/models/components/collectinstorefulfillment.ts +0 -64
- package/src/models/components/collectinstorefulfillmentinput.ts +0 -42
- package/src/models/components/colorattribute.ts +0 -76
- package/src/models/components/coloroption.ts +0 -68
- package/src/models/components/currency.ts +0 -35
- package/src/models/components/customeraddress.ts +0 -77
- package/src/models/components/customeraddressinput.ts +0 -59
- package/src/models/components/customerloyalty.ts +0 -61
- package/src/models/components/customerreadyforreview.ts +0 -54
- package/src/models/components/customerreview.ts +0 -208
- package/src/models/components/dateattribute.ts +0 -39
- package/src/models/components/deliveryfulfillment.ts +0 -71
- package/src/models/components/deliveryfulfillmentinput.ts +0 -43
- package/src/models/components/discountbasedpromotion.ts +0 -81
- package/src/models/components/fixedpricepromotion.ts +0 -58
- package/src/models/components/freegoodspromotion.ts +0 -61
- package/src/models/components/fulfillmentitem.ts +0 -48
- package/src/models/components/fulfillmentiteminput.ts +0 -42
- package/src/models/components/fulfillmentpreference.ts +0 -59
- package/src/models/components/fulfillmentpreferenceinput.ts +0 -51
- package/src/models/components/generateotpwithemail.ts +1 -58
- package/src/models/components/generateotpwithphone.ts +2 -75
- package/src/models/components/item.ts +1 -128
- package/src/models/components/juspayexpresscheckout.ts +0 -44
- package/src/models/components/juspayexpresscheckoutresponse.ts +0 -246
- package/src/models/components/juspayhypercheckout.ts +1 -63
- package/src/models/components/juspayhypercheckoutresponse.ts +0 -220
- package/src/models/components/juspaynetbanking.ts +3 -57
- package/src/models/components/juspaynewcard.ts +4 -92
- package/src/models/components/juspaysavedcardtoken.ts +4 -87
- package/src/models/components/juspayupicollect.ts +3 -59
- package/src/models/components/juspayupiintent.ts +3 -61
- package/src/models/components/lotbatchdetail.ts +0 -46
- package/src/models/components/multiselectattribute.ts +0 -43
- package/src/models/components/netbankingpayment.ts +0 -94
- package/src/models/components/notificationchannelpreferences.ts +0 -15
- package/src/models/components/notificationpreferences.ts +0 -15
- package/src/models/components/numberattribute.ts +0 -41
- package/src/models/components/order.ts +2 -327
- package/src/models/components/orderdetail.ts +3 -346
- package/src/models/components/orderitem.ts +0 -144
- package/src/models/components/orderlist.ts +1 -161
- package/src/models/components/orderpayment.ts +4 -64
- package/src/models/components/ordershipment.ts +1 -110
- package/src/models/components/pagination.ts +0 -46
- package/src/models/components/partialcollectanddelivery.ts +0 -165
- package/src/models/components/partialcollectanddeliveryinput.ts +0 -133
- package/src/models/components/paymentmethodpayload.ts +0 -38
- package/src/models/components/payupaymentinfo.ts +0 -103
- package/src/models/components/pincode.ts +0 -45
- package/src/models/components/pincodeserviceability.ts +0 -203
- package/src/models/components/product.ts +4 -147
- package/src/models/components/productattribute.ts +2 -90
- package/src/models/components/productbundleitem.ts +1 -137
- package/src/models/components/productcategory.ts +1 -59
- package/src/models/components/productdetail.ts +6 -180
- package/src/models/components/productimage.ts +0 -54
- package/src/models/components/productpricing.ts +0 -61
- package/src/models/components/productpromotion.ts +0 -131
- package/src/models/components/productreview.ts +0 -194
- package/src/models/components/productshipping.ts +0 -46
- package/src/models/components/productsubscription.ts +0 -103
- package/src/models/components/productvideo.ts +0 -55
- package/src/models/components/savedpaymentmethod.ts +0 -362
- package/src/models/components/searchproduct.ts +0 -38
- package/src/models/components/security.ts +0 -39
- package/src/models/components/seo.ts +0 -34
- package/src/models/components/shipmentitem.ts +0 -51
- package/src/models/components/singleselectattribute.ts +0 -43
- package/src/models/components/singleselectoption.ts +0 -39
- package/src/models/components/textattribute.ts +0 -39
- package/src/models/components/updatecartitem.ts +0 -42
- package/src/models/components/upipayment.ts +0 -90
- package/src/models/components/user.ts +0 -131
- package/src/models/components/variant.ts +1 -94
- package/src/models/components/variantdetail.ts +4 -168
- package/src/models/components/variantoption.ts +0 -107
- package/src/models/components/volumebasedpromotion.ts +0 -96
- package/src/models/components/walletpayment.ts +0 -90
- package/src/models/errors/badrequest.ts +0 -62
- package/src/models/errors/notfound.ts +0 -33
- package/src/models/errors/unauthorized.ts +0 -33
- package/src/models/operations/applycoupon.ts +0 -147
- package/src/models/operations/cancelorder.ts +1 -169
- package/src/models/operations/checkpincodeserviceability.ts +0 -119
- package/src/models/operations/createaddress.ts +0 -172
- package/src/models/operations/createcart.ts +0 -107
- package/src/models/operations/createcartaddress.ts +0 -225
- package/src/models/operations/createorder.ts +0 -162
- package/src/models/operations/deleteaddress.ts +0 -75
- package/src/models/operations/deletecart.ts +0 -69
- package/src/models/operations/deleteusercart.ts +0 -73
- package/src/models/operations/generateotp.ts +0 -155
- package/src/models/operations/getaddressdetail.ts +0 -195
- package/src/models/operations/getanonymoustoken.ts +0 -117
- package/src/models/operations/getcart.ts +0 -102
- package/src/models/operations/getfulfillmentoptions.ts +0 -143
- package/src/models/operations/getloyaltydetails.ts +0 -118
- package/src/models/operations/getorderdetail.ts +0 -110
- package/src/models/operations/getpaymentstatus.ts +0 -139
- package/src/models/operations/getproductdetail.ts +0 -115
- package/src/models/operations/getusercart.ts +0 -110
- package/src/models/operations/getuserdetail.ts +0 -106
- package/src/models/operations/getvariantdetail.ts +0 -117
- package/src/models/operations/listaddresses.ts +0 -196
- package/src/models/operations/listcategories.ts +0 -119
- package/src/models/operations/listcountrypincodes.ts +0 -115
- package/src/models/operations/listcrosssellproducts.ts +0 -123
- package/src/models/operations/listorders.ts +0 -117
- package/src/models/operations/listordershipments.ts +0 -112
- package/src/models/operations/listproductreviews.ts +0 -127
- package/src/models/operations/listproducts.ts +0 -121
- package/src/models/operations/listproductvariants.ts +0 -115
- package/src/models/operations/listsavedpaymentmethods.ts +0 -121
- package/src/models/operations/listsimilarproducts.ts +0 -120
- package/src/models/operations/listskus.ts +0 -118
- package/src/models/operations/listupsellproducts.ts +0 -120
- package/src/models/operations/listuserreviews.ts +0 -121
- package/src/models/operations/loginwithemail.ts +0 -156
- package/src/models/operations/loginwithphone.ts +0 -158
- package/src/models/operations/loginwithwhatsapp.ts +0 -160
- package/src/models/operations/logout.ts +0 -79
- package/src/models/operations/redeemloyaltypoints.ts +0 -149
- package/src/models/operations/refreshtoken.ts +0 -117
- package/src/models/operations/removecoupon.ts +0 -106
- package/src/models/operations/removeloyaltypoints.ts +0 -108
- package/src/models/operations/retryorderpayment.ts +0 -201
- package/src/models/operations/searchproducts.ts +0 -156
- package/src/models/operations/updateaddressdetail.ts +0 -178
- package/src/models/operations/updatecart.ts +0 -111
- package/src/models/operations/updatefulfillmentpreference.ts +0 -121
- package/src/models/operations/updateuser.ts +0 -111
- package/src/models/operations/verifyotp.ts +1 -138
- package/docs/sdks/auth/README.md +0 -874
- package/docs/sdks/carts/README.md +0 -1030
- package/docs/sdks/catalog/README.md +0 -876
- package/docs/sdks/common/README.md +0 -87
- package/docs/sdks/customers/README.md +0 -714
- package/docs/sdks/orders/README.md +0 -571
- package/docs/sdks/shipping/README.md +0 -169
- package/examples/README.md +0 -31
|
@@ -104,141 +104,16 @@ export type JusPayHyperCheckoutResponse = {
|
|
|
104
104
|
};
|
|
105
105
|
/** @internal */
|
|
106
106
|
export declare const PaymentLinks$inboundSchema: z.ZodType<PaymentLinks, z.ZodTypeDef, unknown>;
|
|
107
|
-
/** @internal */
|
|
108
|
-
export type PaymentLinks$Outbound = {
|
|
109
|
-
web?: string | undefined;
|
|
110
|
-
expiry?: string | null | undefined;
|
|
111
|
-
};
|
|
112
|
-
/** @internal */
|
|
113
|
-
export declare const PaymentLinks$outboundSchema: z.ZodType<PaymentLinks$Outbound, z.ZodTypeDef, PaymentLinks>;
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
117
|
-
*/
|
|
118
|
-
export declare namespace PaymentLinks$ {
|
|
119
|
-
/** @deprecated use `PaymentLinks$inboundSchema` instead. */
|
|
120
|
-
const inboundSchema: z.ZodType<PaymentLinks, z.ZodTypeDef, unknown>;
|
|
121
|
-
/** @deprecated use `PaymentLinks$outboundSchema` instead. */
|
|
122
|
-
const outboundSchema: z.ZodType<PaymentLinks$Outbound, z.ZodTypeDef, PaymentLinks>;
|
|
123
|
-
/** @deprecated use `PaymentLinks$Outbound` instead. */
|
|
124
|
-
type Outbound = PaymentLinks$Outbound;
|
|
125
|
-
}
|
|
126
|
-
export declare function paymentLinksToJSON(paymentLinks: PaymentLinks): string;
|
|
127
107
|
export declare function paymentLinksFromJSON(jsonString: string): SafeParseResult<PaymentLinks, SDKValidationError>;
|
|
128
108
|
/** @internal */
|
|
129
109
|
export declare const MandateRuleValue$inboundSchema: z.ZodNativeEnum<typeof MandateRuleValue>;
|
|
130
110
|
/** @internal */
|
|
131
|
-
export declare const MandateRuleValue$outboundSchema: z.ZodNativeEnum<typeof MandateRuleValue>;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
135
|
-
*/
|
|
136
|
-
export declare namespace MandateRuleValue$ {
|
|
137
|
-
/** @deprecated use `MandateRuleValue$inboundSchema` instead. */
|
|
138
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
139
|
-
readonly OneMinus7: "1-7";
|
|
140
|
-
readonly OneMinus16: "1-16";
|
|
141
|
-
readonly OneMinus31: "1-31";
|
|
142
|
-
}>;
|
|
143
|
-
/** @deprecated use `MandateRuleValue$outboundSchema` instead. */
|
|
144
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
145
|
-
readonly OneMinus7: "1-7";
|
|
146
|
-
readonly OneMinus16: "1-16";
|
|
147
|
-
readonly OneMinus31: "1-31";
|
|
148
|
-
}>;
|
|
149
|
-
}
|
|
150
|
-
/** @internal */
|
|
151
111
|
export declare const Payload$inboundSchema: z.ZodType<Payload, z.ZodTypeDef, unknown>;
|
|
152
|
-
/** @internal */
|
|
153
|
-
export type Payload$Outbound = {
|
|
154
|
-
clientId?: string | undefined;
|
|
155
|
-
merchantId?: string | undefined;
|
|
156
|
-
clientAuthToken?: string | undefined;
|
|
157
|
-
clientAuthTokenExpiry?: string | undefined;
|
|
158
|
-
environment?: string | undefined;
|
|
159
|
-
orderId?: string | undefined;
|
|
160
|
-
amount?: string | undefined;
|
|
161
|
-
action?: string | undefined;
|
|
162
|
-
customerId?: string | undefined;
|
|
163
|
-
firstName?: string | undefined;
|
|
164
|
-
lastName?: string | undefined;
|
|
165
|
-
returnUrl?: string | undefined;
|
|
166
|
-
customerPhone?: string | undefined;
|
|
167
|
-
customerEmail?: string | undefined;
|
|
168
|
-
currency?: string | undefined;
|
|
169
|
-
description?: string | undefined;
|
|
170
|
-
"options.createMandate": "REQUIRED";
|
|
171
|
-
"mandate.maxAmount"?: string | undefined;
|
|
172
|
-
"mandate.start_date "?: string | undefined;
|
|
173
|
-
"mandate.end_date "?: string | undefined;
|
|
174
|
-
"mandate.frequency": "MONTHLY";
|
|
175
|
-
"mandate.rule_value "?: string | undefined;
|
|
176
|
-
};
|
|
177
|
-
/** @internal */
|
|
178
|
-
export declare const Payload$outboundSchema: z.ZodType<Payload$Outbound, z.ZodTypeDef, Payload>;
|
|
179
|
-
/**
|
|
180
|
-
* @internal
|
|
181
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
182
|
-
*/
|
|
183
|
-
export declare namespace Payload$ {
|
|
184
|
-
/** @deprecated use `Payload$inboundSchema` instead. */
|
|
185
|
-
const inboundSchema: z.ZodType<Payload, z.ZodTypeDef, unknown>;
|
|
186
|
-
/** @deprecated use `Payload$outboundSchema` instead. */
|
|
187
|
-
const outboundSchema: z.ZodType<Payload$Outbound, z.ZodTypeDef, Payload>;
|
|
188
|
-
/** @deprecated use `Payload$Outbound` instead. */
|
|
189
|
-
type Outbound = Payload$Outbound;
|
|
190
|
-
}
|
|
191
|
-
export declare function payloadToJSON(payload: Payload): string;
|
|
192
112
|
export declare function payloadFromJSON(jsonString: string): SafeParseResult<Payload, SDKValidationError>;
|
|
193
113
|
/** @internal */
|
|
194
114
|
export declare const SDKPayload$inboundSchema: z.ZodType<SDKPayload, z.ZodTypeDef, unknown>;
|
|
195
|
-
/** @internal */
|
|
196
|
-
export type SDKPayload$Outbound = {
|
|
197
|
-
requestId?: string | undefined;
|
|
198
|
-
service?: string | undefined;
|
|
199
|
-
payload?: Payload$Outbound | undefined;
|
|
200
|
-
};
|
|
201
|
-
/** @internal */
|
|
202
|
-
export declare const SDKPayload$outboundSchema: z.ZodType<SDKPayload$Outbound, z.ZodTypeDef, SDKPayload>;
|
|
203
|
-
/**
|
|
204
|
-
* @internal
|
|
205
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
206
|
-
*/
|
|
207
|
-
export declare namespace SDKPayload$ {
|
|
208
|
-
/** @deprecated use `SDKPayload$inboundSchema` instead. */
|
|
209
|
-
const inboundSchema: z.ZodType<SDKPayload, z.ZodTypeDef, unknown>;
|
|
210
|
-
/** @deprecated use `SDKPayload$outboundSchema` instead. */
|
|
211
|
-
const outboundSchema: z.ZodType<SDKPayload$Outbound, z.ZodTypeDef, SDKPayload>;
|
|
212
|
-
/** @deprecated use `SDKPayload$Outbound` instead. */
|
|
213
|
-
type Outbound = SDKPayload$Outbound;
|
|
214
|
-
}
|
|
215
|
-
export declare function sdkPayloadToJSON(sdkPayload: SDKPayload): string;
|
|
216
115
|
export declare function sdkPayloadFromJSON(jsonString: string): SafeParseResult<SDKPayload, SDKValidationError>;
|
|
217
116
|
/** @internal */
|
|
218
117
|
export declare const JusPayHyperCheckoutResponse$inboundSchema: z.ZodType<JusPayHyperCheckoutResponse, z.ZodTypeDef, unknown>;
|
|
219
|
-
/** @internal */
|
|
220
|
-
export type JusPayHyperCheckoutResponse$Outbound = {
|
|
221
|
-
id?: string | undefined;
|
|
222
|
-
status?: string | undefined;
|
|
223
|
-
order_id?: string | undefined;
|
|
224
|
-
payment_links?: PaymentLinks$Outbound | undefined;
|
|
225
|
-
sdk_payload?: SDKPayload$Outbound | undefined;
|
|
226
|
-
order_expiry?: string | undefined;
|
|
227
|
-
};
|
|
228
|
-
/** @internal */
|
|
229
|
-
export declare const JusPayHyperCheckoutResponse$outboundSchema: z.ZodType<JusPayHyperCheckoutResponse$Outbound, z.ZodTypeDef, JusPayHyperCheckoutResponse>;
|
|
230
|
-
/**
|
|
231
|
-
* @internal
|
|
232
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
233
|
-
*/
|
|
234
|
-
export declare namespace JusPayHyperCheckoutResponse$ {
|
|
235
|
-
/** @deprecated use `JusPayHyperCheckoutResponse$inboundSchema` instead. */
|
|
236
|
-
const inboundSchema: z.ZodType<JusPayHyperCheckoutResponse, z.ZodTypeDef, unknown>;
|
|
237
|
-
/** @deprecated use `JusPayHyperCheckoutResponse$outboundSchema` instead. */
|
|
238
|
-
const outboundSchema: z.ZodType<JusPayHyperCheckoutResponse$Outbound, z.ZodTypeDef, JusPayHyperCheckoutResponse>;
|
|
239
|
-
/** @deprecated use `JusPayHyperCheckoutResponse$Outbound` instead. */
|
|
240
|
-
type Outbound = JusPayHyperCheckoutResponse$Outbound;
|
|
241
|
-
}
|
|
242
|
-
export declare function jusPayHyperCheckoutResponseToJSON(jusPayHyperCheckoutResponse: JusPayHyperCheckoutResponse): string;
|
|
243
118
|
export declare function jusPayHyperCheckoutResponseFromJSON(jsonString: string): SafeParseResult<JusPayHyperCheckoutResponse, SDKValidationError>;
|
|
244
119
|
//# sourceMappingURL=juspayhypercheckoutresponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspayhypercheckoutresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspayhypercheckoutresponse.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,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AACX;;;;;;;;;;GAUG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,CAAC,EAAE,M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,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"juspayhypercheckoutresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspayhypercheckoutresponse.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,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AACX;;;;;;;;;;GAUG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,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M,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAiBP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -25,44 +25,12 @@ export const PaymentLinks$inboundSchema = z.object({
|
|
|
25
25
|
web: z.string().optional(),
|
|
26
26
|
expiry: z.nullable(z.string()).optional(),
|
|
27
27
|
});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export const PaymentLinks$outboundSchema = z.object({
|
|
30
|
-
web: z.string().optional(),
|
|
31
|
-
expiry: z.nullable(z.string()).optional(),
|
|
32
|
-
});
|
|
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 var PaymentLinks$;
|
|
38
|
-
(function (PaymentLinks$) {
|
|
39
|
-
/** @deprecated use `PaymentLinks$inboundSchema` instead. */
|
|
40
|
-
PaymentLinks$.inboundSchema = PaymentLinks$inboundSchema;
|
|
41
|
-
/** @deprecated use `PaymentLinks$outboundSchema` instead. */
|
|
42
|
-
PaymentLinks$.outboundSchema = PaymentLinks$outboundSchema;
|
|
43
|
-
})(PaymentLinks$ || (PaymentLinks$ = {}));
|
|
44
|
-
export function paymentLinksToJSON(paymentLinks) {
|
|
45
|
-
return JSON.stringify(PaymentLinks$outboundSchema.parse(paymentLinks));
|
|
46
|
-
}
|
|
47
28
|
export function paymentLinksFromJSON(jsonString) {
|
|
48
29
|
return safeParse(jsonString, (x) => PaymentLinks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaymentLinks' from JSON`);
|
|
49
30
|
}
|
|
50
31
|
/** @internal */
|
|
51
32
|
export const MandateRuleValue$inboundSchema = z.nativeEnum(MandateRuleValue);
|
|
52
33
|
/** @internal */
|
|
53
|
-
export const MandateRuleValue$outboundSchema = MandateRuleValue$inboundSchema;
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
-
*/
|
|
58
|
-
export var MandateRuleValue$;
|
|
59
|
-
(function (MandateRuleValue$) {
|
|
60
|
-
/** @deprecated use `MandateRuleValue$inboundSchema` instead. */
|
|
61
|
-
MandateRuleValue$.inboundSchema = MandateRuleValue$inboundSchema;
|
|
62
|
-
/** @deprecated use `MandateRuleValue$outboundSchema` instead. */
|
|
63
|
-
MandateRuleValue$.outboundSchema = MandateRuleValue$outboundSchema;
|
|
64
|
-
})(MandateRuleValue$ || (MandateRuleValue$ = {}));
|
|
65
|
-
/** @internal */
|
|
66
34
|
export const Payload$inboundSchema = z.object({
|
|
67
35
|
clientId: z.string().optional(),
|
|
68
36
|
merchantId: z.string().optional(),
|
|
@@ -97,54 +65,6 @@ export const Payload$inboundSchema = z.object({
|
|
|
97
65
|
"mandate.rule_value ": "mandateRuleValue",
|
|
98
66
|
});
|
|
99
67
|
});
|
|
100
|
-
/** @internal */
|
|
101
|
-
export const Payload$outboundSchema = z.object({
|
|
102
|
-
clientId: z.string().optional(),
|
|
103
|
-
merchantId: z.string().optional(),
|
|
104
|
-
clientAuthToken: z.string().optional(),
|
|
105
|
-
clientAuthTokenExpiry: z.string().optional(),
|
|
106
|
-
environment: z.string().optional(),
|
|
107
|
-
orderId: z.string().optional(),
|
|
108
|
-
amount: z.string().optional(),
|
|
109
|
-
action: z.string().optional(),
|
|
110
|
-
customerId: z.string().optional(),
|
|
111
|
-
firstName: z.string().optional(),
|
|
112
|
-
lastName: z.string().optional(),
|
|
113
|
-
returnUrl: z.string().optional(),
|
|
114
|
-
customerPhone: z.string().optional(),
|
|
115
|
-
customerEmail: z.string().optional(),
|
|
116
|
-
currency: z.string().optional(),
|
|
117
|
-
description: z.string().optional(),
|
|
118
|
-
optionsCreateMandate: z.literal("REQUIRED"),
|
|
119
|
-
mandateMaxAmount: z.string().optional(),
|
|
120
|
-
mandateStartDate: z.string().optional(),
|
|
121
|
-
mandateEndDate: z.string().optional(),
|
|
122
|
-
mandateFrequency: z.literal("MONTHLY"),
|
|
123
|
-
mandateRuleValue: MandateRuleValue$outboundSchema.optional(),
|
|
124
|
-
}).transform((v) => {
|
|
125
|
-
return remap$(v, {
|
|
126
|
-
optionsCreateMandate: "options.createMandate",
|
|
127
|
-
mandateMaxAmount: "mandate.maxAmount",
|
|
128
|
-
mandateStartDate: "mandate.start_date ",
|
|
129
|
-
mandateEndDate: "mandate.end_date ",
|
|
130
|
-
mandateFrequency: "mandate.frequency",
|
|
131
|
-
mandateRuleValue: "mandate.rule_value ",
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
137
|
-
*/
|
|
138
|
-
export var Payload$;
|
|
139
|
-
(function (Payload$) {
|
|
140
|
-
/** @deprecated use `Payload$inboundSchema` instead. */
|
|
141
|
-
Payload$.inboundSchema = Payload$inboundSchema;
|
|
142
|
-
/** @deprecated use `Payload$outboundSchema` instead. */
|
|
143
|
-
Payload$.outboundSchema = Payload$outboundSchema;
|
|
144
|
-
})(Payload$ || (Payload$ = {}));
|
|
145
|
-
export function payloadToJSON(payload) {
|
|
146
|
-
return JSON.stringify(Payload$outboundSchema.parse(payload));
|
|
147
|
-
}
|
|
148
68
|
export function payloadFromJSON(jsonString) {
|
|
149
69
|
return safeParse(jsonString, (x) => Payload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Payload' from JSON`);
|
|
150
70
|
}
|
|
@@ -154,26 +74,6 @@ export const SDKPayload$inboundSchema = z.object({
|
|
|
154
74
|
service: z.string().optional(),
|
|
155
75
|
payload: z.lazy(() => Payload$inboundSchema).optional(),
|
|
156
76
|
});
|
|
157
|
-
/** @internal */
|
|
158
|
-
export const SDKPayload$outboundSchema = z.object({
|
|
159
|
-
requestId: z.string().optional(),
|
|
160
|
-
service: z.string().optional(),
|
|
161
|
-
payload: z.lazy(() => Payload$outboundSchema).optional(),
|
|
162
|
-
});
|
|
163
|
-
/**
|
|
164
|
-
* @internal
|
|
165
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
166
|
-
*/
|
|
167
|
-
export var SDKPayload$;
|
|
168
|
-
(function (SDKPayload$) {
|
|
169
|
-
/** @deprecated use `SDKPayload$inboundSchema` instead. */
|
|
170
|
-
SDKPayload$.inboundSchema = SDKPayload$inboundSchema;
|
|
171
|
-
/** @deprecated use `SDKPayload$outboundSchema` instead. */
|
|
172
|
-
SDKPayload$.outboundSchema = SDKPayload$outboundSchema;
|
|
173
|
-
})(SDKPayload$ || (SDKPayload$ = {}));
|
|
174
|
-
export function sdkPayloadToJSON(sdkPayload) {
|
|
175
|
-
return JSON.stringify(SDKPayload$outboundSchema.parse(sdkPayload));
|
|
176
|
-
}
|
|
177
77
|
export function sdkPayloadFromJSON(jsonString) {
|
|
178
78
|
return safeParse(jsonString, (x) => SDKPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SDKPayload' from JSON`);
|
|
179
79
|
}
|
|
@@ -193,36 +93,6 @@ export const JusPayHyperCheckoutResponse$inboundSchema = z.object({
|
|
|
193
93
|
"order_expiry": "orderExpiry",
|
|
194
94
|
});
|
|
195
95
|
});
|
|
196
|
-
/** @internal */
|
|
197
|
-
export const JusPayHyperCheckoutResponse$outboundSchema = z.object({
|
|
198
|
-
id: z.string().optional(),
|
|
199
|
-
status: z.string().optional(),
|
|
200
|
-
orderId: z.string().optional(),
|
|
201
|
-
paymentLinks: z.lazy(() => PaymentLinks$outboundSchema).optional(),
|
|
202
|
-
sdkPayload: z.lazy(() => SDKPayload$outboundSchema).optional(),
|
|
203
|
-
orderExpiry: z.date().transform(v => v.toISOString()).optional(),
|
|
204
|
-
}).transform((v) => {
|
|
205
|
-
return remap$(v, {
|
|
206
|
-
orderId: "order_id",
|
|
207
|
-
paymentLinks: "payment_links",
|
|
208
|
-
sdkPayload: "sdk_payload",
|
|
209
|
-
orderExpiry: "order_expiry",
|
|
210
|
-
});
|
|
211
|
-
});
|
|
212
|
-
/**
|
|
213
|
-
* @internal
|
|
214
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
215
|
-
*/
|
|
216
|
-
export var JusPayHyperCheckoutResponse$;
|
|
217
|
-
(function (JusPayHyperCheckoutResponse$) {
|
|
218
|
-
/** @deprecated use `JusPayHyperCheckoutResponse$inboundSchema` instead. */
|
|
219
|
-
JusPayHyperCheckoutResponse$.inboundSchema = JusPayHyperCheckoutResponse$inboundSchema;
|
|
220
|
-
/** @deprecated use `JusPayHyperCheckoutResponse$outboundSchema` instead. */
|
|
221
|
-
JusPayHyperCheckoutResponse$.outboundSchema = JusPayHyperCheckoutResponse$outboundSchema;
|
|
222
|
-
})(JusPayHyperCheckoutResponse$ || (JusPayHyperCheckoutResponse$ = {}));
|
|
223
|
-
export function jusPayHyperCheckoutResponseToJSON(jusPayHyperCheckoutResponse) {
|
|
224
|
-
return JSON.stringify(JusPayHyperCheckoutResponse$outboundSchema.parse(jusPayHyperCheckoutResponse));
|
|
225
|
-
}
|
|
226
96
|
export function jusPayHyperCheckoutResponseFromJSON(jsonString) {
|
|
227
97
|
return safeParse(jsonString, (x) => JusPayHyperCheckoutResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JusPayHyperCheckoutResponse' from JSON`);
|
|
228
98
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspayhypercheckoutresponse.js","sourceRoot":"","sources":["../../../src/models/components/juspayhypercheckoutresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AA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,CAAC;AAEH,MAAM,UAAU,mCAAmC,CACjD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,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
|
/**
|
|
5
3
|
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/JuspayNetBanking} - API reference for the JuspayNetBanking schema
|
|
6
4
|
*/
|
|
@@ -8,20 +6,18 @@ export type JuspayNetBanking = {
|
|
|
8
6
|
paymentProviderSlug: string;
|
|
9
7
|
integrationType?: "express-checkout" | undefined;
|
|
10
8
|
gatewayReferenceId: string;
|
|
11
|
-
returnUrl
|
|
9
|
+
returnUrl: string;
|
|
12
10
|
redirectAfterPayment?: boolean | undefined;
|
|
13
11
|
getClientAuthToken?: boolean | undefined;
|
|
14
12
|
paymentMethodType?: "NB" | undefined;
|
|
15
13
|
paymentMethod: string;
|
|
16
14
|
};
|
|
17
15
|
/** @internal */
|
|
18
|
-
export declare const JuspayNetBanking$inboundSchema: z.ZodType<JuspayNetBanking, z.ZodTypeDef, unknown>;
|
|
19
|
-
/** @internal */
|
|
20
16
|
export type JuspayNetBanking$Outbound = {
|
|
21
17
|
payment_provider_slug: string;
|
|
22
18
|
integration_type: "express-checkout";
|
|
23
19
|
gateway_reference_id: string;
|
|
24
|
-
return_url
|
|
20
|
+
return_url: string;
|
|
25
21
|
redirect_after_payment?: boolean | undefined;
|
|
26
22
|
get_client_auth_token?: boolean | undefined;
|
|
27
23
|
payment_method_type: "NB";
|
|
@@ -29,18 +25,5 @@ export type JuspayNetBanking$Outbound = {
|
|
|
29
25
|
};
|
|
30
26
|
/** @internal */
|
|
31
27
|
export declare const JuspayNetBanking$outboundSchema: z.ZodType<JuspayNetBanking$Outbound, z.ZodTypeDef, JuspayNetBanking>;
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
35
|
-
*/
|
|
36
|
-
export declare namespace JuspayNetBanking$ {
|
|
37
|
-
/** @deprecated use `JuspayNetBanking$inboundSchema` instead. */
|
|
38
|
-
const inboundSchema: z.ZodType<JuspayNetBanking, z.ZodTypeDef, unknown>;
|
|
39
|
-
/** @deprecated use `JuspayNetBanking$outboundSchema` instead. */
|
|
40
|
-
const outboundSchema: z.ZodType<JuspayNetBanking$Outbound, z.ZodTypeDef, JuspayNetBanking>;
|
|
41
|
-
/** @deprecated use `JuspayNetBanking$Outbound` instead. */
|
|
42
|
-
type Outbound = JuspayNetBanking$Outbound;
|
|
43
|
-
}
|
|
44
28
|
export declare function juspayNetBankingToJSON(juspayNetBanking: JuspayNetBanking): string;
|
|
45
|
-
export declare function juspayNetBankingFromJSON(jsonString: string): SafeParseResult<JuspayNetBanking, SDKValidationError>;
|
|
46
29
|
//# sourceMappingURL=juspaynetbanking.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspaynetbanking.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspaynetbanking.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B
|
|
1
|
+
{"version":3,"file":"juspaynetbanking.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspaynetbanking.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACjD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3C,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACzC,iBAAiB,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,kBAAkB,CAAC;IACrC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C,mBAAmB,EAAE,IAAI,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAqBhB,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR"}
|
|
@@ -3,36 +3,12 @@
|
|
|
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
|
-
/** @internal */
|
|
8
|
-
export const JuspayNetBanking$inboundSchema = z.object({
|
|
9
|
-
payment_provider_slug: z.string(),
|
|
10
|
-
integration_type: z.literal("express-checkout").default("express-checkout")
|
|
11
|
-
.optional(),
|
|
12
|
-
gateway_reference_id: z.string(),
|
|
13
|
-
return_url: z.string().optional(),
|
|
14
|
-
redirect_after_payment: z.boolean().optional(),
|
|
15
|
-
get_client_auth_token: z.boolean().optional(),
|
|
16
|
-
payment_method_type: z.literal("NB").default("NB").optional(),
|
|
17
|
-
payment_method: z.string(),
|
|
18
|
-
}).transform((v) => {
|
|
19
|
-
return remap$(v, {
|
|
20
|
-
"payment_provider_slug": "paymentProviderSlug",
|
|
21
|
-
"integration_type": "integrationType",
|
|
22
|
-
"gateway_reference_id": "gatewayReferenceId",
|
|
23
|
-
"return_url": "returnUrl",
|
|
24
|
-
"redirect_after_payment": "redirectAfterPayment",
|
|
25
|
-
"get_client_auth_token": "getClientAuthToken",
|
|
26
|
-
"payment_method_type": "paymentMethodType",
|
|
27
|
-
"payment_method": "paymentMethod",
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
6
|
/** @internal */
|
|
31
7
|
export const JuspayNetBanking$outboundSchema = z.object({
|
|
32
8
|
paymentProviderSlug: z.string(),
|
|
33
9
|
integrationType: z.literal("express-checkout"),
|
|
34
10
|
gatewayReferenceId: z.string(),
|
|
35
|
-
returnUrl: z.string()
|
|
11
|
+
returnUrl: z.string(),
|
|
36
12
|
redirectAfterPayment: z.boolean().optional(),
|
|
37
13
|
getClientAuthToken: z.boolean().optional(),
|
|
38
14
|
paymentMethodType: z.literal("NB"),
|
|
@@ -49,21 +25,7 @@ export const JuspayNetBanking$outboundSchema = z.object({
|
|
|
49
25
|
paymentMethod: "payment_method",
|
|
50
26
|
});
|
|
51
27
|
});
|
|
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 JuspayNetBanking$;
|
|
57
|
-
(function (JuspayNetBanking$) {
|
|
58
|
-
/** @deprecated use `JuspayNetBanking$inboundSchema` instead. */
|
|
59
|
-
JuspayNetBanking$.inboundSchema = JuspayNetBanking$inboundSchema;
|
|
60
|
-
/** @deprecated use `JuspayNetBanking$outboundSchema` instead. */
|
|
61
|
-
JuspayNetBanking$.outboundSchema = JuspayNetBanking$outboundSchema;
|
|
62
|
-
})(JuspayNetBanking$ || (JuspayNetBanking$ = {}));
|
|
63
28
|
export function juspayNetBankingToJSON(juspayNetBanking) {
|
|
64
29
|
return JSON.stringify(JuspayNetBanking$outboundSchema.parse(juspayNetBanking));
|
|
65
30
|
}
|
|
66
|
-
export function juspayNetBankingFromJSON(jsonString) {
|
|
67
|
-
return safeParse(jsonString, (x) => JuspayNetBanking$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JuspayNetBanking' from JSON`);
|
|
68
|
-
}
|
|
69
31
|
//# sourceMappingURL=juspaynetbanking.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspaynetbanking.js","sourceRoot":"","sources":["../../../src/models/components/juspaynetbanking.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":"juspaynetbanking.js","sourceRoot":"","sources":["../../../src/models/components/juspaynetbanking.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AA4B1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IAC9C,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5C,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC1C,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAClC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,mBAAmB,EAAE,uBAAuB;QAC5C,eAAe,EAAE,kBAAkB;QACnC,kBAAkB,EAAE,sBAAsB;QAC1C,SAAS,EAAE,YAAY;QACvB,oBAAoB,EAAE,wBAAwB;QAC9C,kBAAkB,EAAE,uBAAuB;QAC3C,iBAAiB,EAAE,qBAAqB;QACxC,aAAa,EAAE,gBAAgB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,+BAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -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 PaymentMethod: {
|
|
6
4
|
readonly Visa: "VISA";
|
|
7
5
|
readonly Master: "MASTER";
|
|
@@ -14,11 +12,10 @@ export type JusPayNewCard = {
|
|
|
14
12
|
paymentProviderSlug: string;
|
|
15
13
|
integrationType?: "express-checkout" | undefined;
|
|
16
14
|
gatewayReferenceId: string;
|
|
17
|
-
returnUrl
|
|
15
|
+
returnUrl: string;
|
|
18
16
|
redirectAfterPayment?: boolean | undefined;
|
|
19
17
|
getClientAuthToken?: boolean | undefined;
|
|
20
18
|
authType?: "OTP" | undefined;
|
|
21
|
-
tokenize: boolean;
|
|
22
19
|
saveToLocker: boolean;
|
|
23
20
|
paymentMethodType?: "CARD" | undefined;
|
|
24
21
|
paymentMethod: PaymentMethod;
|
|
@@ -29,37 +26,16 @@ export type JusPayNewCard = {
|
|
|
29
26
|
cardSecurityCode: string;
|
|
30
27
|
};
|
|
31
28
|
/** @internal */
|
|
32
|
-
export declare const PaymentMethod$inboundSchema: z.ZodNativeEnum<typeof PaymentMethod>;
|
|
33
|
-
/** @internal */
|
|
34
29
|
export declare const PaymentMethod$outboundSchema: z.ZodNativeEnum<typeof PaymentMethod>;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
-
*/
|
|
39
|
-
export declare namespace PaymentMethod$ {
|
|
40
|
-
/** @deprecated use `PaymentMethod$inboundSchema` instead. */
|
|
41
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
42
|
-
readonly Visa: "VISA";
|
|
43
|
-
readonly Master: "MASTER";
|
|
44
|
-
}>;
|
|
45
|
-
/** @deprecated use `PaymentMethod$outboundSchema` instead. */
|
|
46
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
47
|
-
readonly Visa: "VISA";
|
|
48
|
-
readonly Master: "MASTER";
|
|
49
|
-
}>;
|
|
50
|
-
}
|
|
51
|
-
/** @internal */
|
|
52
|
-
export declare const JusPayNewCard$inboundSchema: z.ZodType<JusPayNewCard, z.ZodTypeDef, unknown>;
|
|
53
30
|
/** @internal */
|
|
54
31
|
export type JusPayNewCard$Outbound = {
|
|
55
32
|
payment_provider_slug: string;
|
|
56
33
|
integration_type: "express-checkout";
|
|
57
34
|
gateway_reference_id: string;
|
|
58
|
-
return_url
|
|
35
|
+
return_url: string;
|
|
59
36
|
redirect_after_payment?: boolean | undefined;
|
|
60
37
|
get_client_auth_token?: boolean | undefined;
|
|
61
38
|
auth_type: "OTP";
|
|
62
|
-
tokenize: boolean;
|
|
63
39
|
save_to_locker: boolean;
|
|
64
40
|
payment_method_type: "CARD";
|
|
65
41
|
payment_method: string;
|
|
@@ -71,18 +47,5 @@ export type JusPayNewCard$Outbound = {
|
|
|
71
47
|
};
|
|
72
48
|
/** @internal */
|
|
73
49
|
export declare const JusPayNewCard$outboundSchema: z.ZodType<JusPayNewCard$Outbound, z.ZodTypeDef, JusPayNewCard>;
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
-
*/
|
|
78
|
-
export declare namespace JusPayNewCard$ {
|
|
79
|
-
/** @deprecated use `JusPayNewCard$inboundSchema` instead. */
|
|
80
|
-
const inboundSchema: z.ZodType<JusPayNewCard, z.ZodTypeDef, unknown>;
|
|
81
|
-
/** @deprecated use `JusPayNewCard$outboundSchema` instead. */
|
|
82
|
-
const outboundSchema: z.ZodType<JusPayNewCard$Outbound, z.ZodTypeDef, JusPayNewCard>;
|
|
83
|
-
/** @deprecated use `JusPayNewCard$Outbound` instead. */
|
|
84
|
-
type Outbound = JusPayNewCard$Outbound;
|
|
85
|
-
}
|
|
86
50
|
export declare function jusPayNewCardToJSON(jusPayNewCard: JusPayNewCard): string;
|
|
87
|
-
export declare function jusPayNewCardFromJSON(jsonString: string): SafeParseResult<JusPayNewCard, SDKValidationError>;
|
|
88
51
|
//# sourceMappingURL=juspaynewcard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspaynewcard.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspaynewcard.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"juspaynewcard.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspaynewcard.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D;;GAEG;AACH,MAAM,M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