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,169 +0,0 @@
|
|
|
1
|
-
# Shipping
|
|
2
|
-
(*shipping*)
|
|
3
|
-
|
|
4
|
-
## Overview
|
|
5
|
-
|
|
6
|
-
### Available Operations
|
|
7
|
-
|
|
8
|
-
* [fulfillmentOptions](#fulfillmentoptions) - Retrieve fulfillment options
|
|
9
|
-
* [checkServiceability](#checkserviceability) - Check serviceability
|
|
10
|
-
|
|
11
|
-
## fulfillmentOptions
|
|
12
|
-
|
|
13
|
-
This endpoint returns the available fulfillment options for a given cart and delivery pincode. It provides both delivery options and collect-in-store (Click & Collect) options, including details of store locations where the item can be collected.
|
|
14
|
-
|
|
15
|
-
API reference for the get-fulfillment-options operation
|
|
16
|
-
<https://llm-docs.commercengine.io/storefront/operations/get-fulfillment-options>
|
|
17
|
-
|
|
18
|
-
### Example Usage
|
|
19
|
-
|
|
20
|
-
<!-- UsageSnippet language="typescript" operationID="get-fulfillment-options" method="post" path="/shipping/fulfillment-options" -->
|
|
21
|
-
```typescript
|
|
22
|
-
import { CeStorefront } from "ce-storefront";
|
|
23
|
-
|
|
24
|
-
const ceStorefront = new CeStorefront({
|
|
25
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
async function run() {
|
|
29
|
-
const result = await ceStorefront.shipping.fulfillmentOptions({
|
|
30
|
-
deliveryPincode: "<value>",
|
|
31
|
-
cartId: "<id>",
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
console.log(result);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
run();
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Standalone function
|
|
41
|
-
|
|
42
|
-
The standalone function version of this method:
|
|
43
|
-
|
|
44
|
-
```typescript
|
|
45
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
46
|
-
import { shippingFulfillmentOptions } from "ce-storefront/funcs/shippingFulfillmentOptions.js";
|
|
47
|
-
|
|
48
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
49
|
-
// You can create one instance of it to use across an application.
|
|
50
|
-
const ceStorefront = new CeStorefrontCore({
|
|
51
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
async function run() {
|
|
55
|
-
const res = await shippingFulfillmentOptions(ceStorefront, {
|
|
56
|
-
deliveryPincode: "<value>",
|
|
57
|
-
cartId: "<id>",
|
|
58
|
-
});
|
|
59
|
-
if (res.ok) {
|
|
60
|
-
const { value: result } = res;
|
|
61
|
-
console.log(result);
|
|
62
|
-
} else {
|
|
63
|
-
console.log("shippingFulfillmentOptions failed:", res.error);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
run();
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Parameters
|
|
71
|
-
|
|
72
|
-
| Parameter | Type | Required | Description |
|
|
73
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
74
|
-
| `request` | [components.CartBasedServiceabilityCheck](../../models/components/cartbasedserviceabilitycheck.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
75
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
76
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
77
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
78
|
-
|
|
79
|
-
### Response
|
|
80
|
-
|
|
81
|
-
**Promise\<[operations.GetFulfillmentOptionsResponseBody](../../models/operations/getfulfillmentoptionsresponsebody.md)\>**
|
|
82
|
-
|
|
83
|
-
### Errors
|
|
84
|
-
|
|
85
|
-
| Error Type | Status Code | Content Type |
|
|
86
|
-
| ------------------- | ------------------- | ------------------- |
|
|
87
|
-
| errors.BadRequest | 400 | application/json |
|
|
88
|
-
| errors.Unauthorized | 401 | application/json |
|
|
89
|
-
| errors.NotFound | 404 | application/json |
|
|
90
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
91
|
-
|
|
92
|
-
## checkServiceability
|
|
93
|
-
|
|
94
|
-
Checking if delivery is available to the entered pincode based on shipping zones.
|
|
95
|
-
|
|
96
|
-
API reference for the check-pincode-serviceability operation
|
|
97
|
-
<https://llm-docs.commercengine.io/storefront/operations/check-pincode-serviceability>
|
|
98
|
-
|
|
99
|
-
### Example Usage
|
|
100
|
-
|
|
101
|
-
<!-- UsageSnippet language="typescript" operationID="check-pincode-serviceability" method="get" path="/shipping/serviceability/{pincode}" -->
|
|
102
|
-
```typescript
|
|
103
|
-
import { CeStorefront } from "ce-storefront";
|
|
104
|
-
|
|
105
|
-
const ceStorefront = new CeStorefront({
|
|
106
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
async function run() {
|
|
110
|
-
const result = await ceStorefront.shipping.checkServiceability({
|
|
111
|
-
pincode: "<value>",
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
console.log(result);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
run();
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
### Standalone function
|
|
121
|
-
|
|
122
|
-
The standalone function version of this method:
|
|
123
|
-
|
|
124
|
-
```typescript
|
|
125
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
126
|
-
import { shippingCheckServiceability } from "ce-storefront/funcs/shippingCheckServiceability.js";
|
|
127
|
-
|
|
128
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
129
|
-
// You can create one instance of it to use across an application.
|
|
130
|
-
const ceStorefront = new CeStorefrontCore({
|
|
131
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
async function run() {
|
|
135
|
-
const res = await shippingCheckServiceability(ceStorefront, {
|
|
136
|
-
pincode: "<value>",
|
|
137
|
-
});
|
|
138
|
-
if (res.ok) {
|
|
139
|
-
const { value: result } = res;
|
|
140
|
-
console.log(result);
|
|
141
|
-
} else {
|
|
142
|
-
console.log("shippingCheckServiceability failed:", res.error);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
run();
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
### Parameters
|
|
150
|
-
|
|
151
|
-
| Parameter | Type | Required | Description |
|
|
152
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
153
|
-
| `request` | [operations.CheckPincodeServiceabilityRequest](../../models/operations/checkpincodeserviceabilityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
154
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
155
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
156
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
157
|
-
|
|
158
|
-
### Response
|
|
159
|
-
|
|
160
|
-
**Promise\<[operations.CheckPincodeServiceabilityResponseBody](../../models/operations/checkpincodeserviceabilityresponsebody.md)\>**
|
|
161
|
-
|
|
162
|
-
### Errors
|
|
163
|
-
|
|
164
|
-
| Error Type | Status Code | Content Type |
|
|
165
|
-
| ------------------- | ------------------- | ------------------- |
|
|
166
|
-
| errors.BadRequest | 400 | application/json |
|
|
167
|
-
| errors.Unauthorized | 401 | application/json |
|
|
168
|
-
| errors.NotFound | 404 | application/json |
|
|
169
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
/**
|
|
6
|
-
* `paymentPage` is the default option that you should select when using hyper-checkout
|
|
7
|
-
*/
|
|
8
|
-
export declare const JuspayPaymentGatewayParamsAction: {
|
|
9
|
-
readonly PaymentPage: "paymentPage";
|
|
10
|
-
readonly PaymentManagement: "paymentManagement";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* `paymentPage` is the default option that you should select when using hyper-checkout
|
|
14
|
-
*/
|
|
15
|
-
export type JuspayPaymentGatewayParamsAction = ClosedEnum<typeof JuspayPaymentGatewayParamsAction>;
|
|
16
|
-
/**
|
|
17
|
-
* Use `hyper-checkout` for Juspay hosted checkout
|
|
18
|
-
*/
|
|
19
|
-
export declare const IntegrationType: {
|
|
20
|
-
readonly HyperCheckout: "hyper-checkout";
|
|
21
|
-
readonly ExpressCheckout: "express-checkout";
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Use `hyper-checkout` for Juspay hosted checkout
|
|
25
|
-
*/
|
|
26
|
-
export type IntegrationType = ClosedEnum<typeof IntegrationType>;
|
|
27
|
-
/**
|
|
28
|
-
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/JuspayPaymentGatewayParams} - API reference for the JuspayPaymentGatewayParams schema
|
|
29
|
-
*/
|
|
30
|
-
export type JuspayPaymentGatewayParams = {
|
|
31
|
-
paymentGateway?: "JUSPAY" | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* `paymentPage` is the default option that you should select when using hyper-checkout
|
|
34
|
-
*/
|
|
35
|
-
action: JuspayPaymentGatewayParamsAction;
|
|
36
|
-
/**
|
|
37
|
-
* Use `hyper-checkout` for Juspay hosted checkout
|
|
38
|
-
*/
|
|
39
|
-
integrationType: IntegrationType;
|
|
40
|
-
/**
|
|
41
|
-
* This is the URL that the gateway will redirect to once payment processing is complete. This will be a GET request by default
|
|
42
|
-
*/
|
|
43
|
-
returnUrl: string;
|
|
44
|
-
/**
|
|
45
|
-
* The exact gateway reference ID that was set up in the integration
|
|
46
|
-
*/
|
|
47
|
-
gatewayReferenceId: string;
|
|
48
|
-
};
|
|
49
|
-
/** @internal */
|
|
50
|
-
export declare const JuspayPaymentGatewayParamsAction$inboundSchema: z.ZodNativeEnum<typeof JuspayPaymentGatewayParamsAction>;
|
|
51
|
-
/** @internal */
|
|
52
|
-
export declare const JuspayPaymentGatewayParamsAction$outboundSchema: z.ZodNativeEnum<typeof JuspayPaymentGatewayParamsAction>;
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
-
*/
|
|
57
|
-
export declare namespace JuspayPaymentGatewayParamsAction$ {
|
|
58
|
-
/** @deprecated use `JuspayPaymentGatewayParamsAction$inboundSchema` instead. */
|
|
59
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
60
|
-
readonly PaymentPage: "paymentPage";
|
|
61
|
-
readonly PaymentManagement: "paymentManagement";
|
|
62
|
-
}>;
|
|
63
|
-
/** @deprecated use `JuspayPaymentGatewayParamsAction$outboundSchema` instead. */
|
|
64
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
65
|
-
readonly PaymentPage: "paymentPage";
|
|
66
|
-
readonly PaymentManagement: "paymentManagement";
|
|
67
|
-
}>;
|
|
68
|
-
}
|
|
69
|
-
/** @internal */
|
|
70
|
-
export declare const IntegrationType$inboundSchema: z.ZodNativeEnum<typeof IntegrationType>;
|
|
71
|
-
/** @internal */
|
|
72
|
-
export declare const IntegrationType$outboundSchema: z.ZodNativeEnum<typeof IntegrationType>;
|
|
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 declare namespace IntegrationType$ {
|
|
78
|
-
/** @deprecated use `IntegrationType$inboundSchema` instead. */
|
|
79
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
80
|
-
readonly HyperCheckout: "hyper-checkout";
|
|
81
|
-
readonly ExpressCheckout: "express-checkout";
|
|
82
|
-
}>;
|
|
83
|
-
/** @deprecated use `IntegrationType$outboundSchema` instead. */
|
|
84
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
85
|
-
readonly HyperCheckout: "hyper-checkout";
|
|
86
|
-
readonly ExpressCheckout: "express-checkout";
|
|
87
|
-
}>;
|
|
88
|
-
}
|
|
89
|
-
/** @internal */
|
|
90
|
-
export declare const JuspayPaymentGatewayParams$inboundSchema: z.ZodType<JuspayPaymentGatewayParams, z.ZodTypeDef, unknown>;
|
|
91
|
-
/** @internal */
|
|
92
|
-
export type JuspayPaymentGatewayParams$Outbound = {
|
|
93
|
-
payment_gateway: "JUSPAY";
|
|
94
|
-
action: string;
|
|
95
|
-
integration_type: string;
|
|
96
|
-
return_url: string;
|
|
97
|
-
gateway_reference_id: string;
|
|
98
|
-
};
|
|
99
|
-
/** @internal */
|
|
100
|
-
export declare const JuspayPaymentGatewayParams$outboundSchema: z.ZodType<JuspayPaymentGatewayParams$Outbound, z.ZodTypeDef, JuspayPaymentGatewayParams>;
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
104
|
-
*/
|
|
105
|
-
export declare namespace JuspayPaymentGatewayParams$ {
|
|
106
|
-
/** @deprecated use `JuspayPaymentGatewayParams$inboundSchema` instead. */
|
|
107
|
-
const inboundSchema: z.ZodType<JuspayPaymentGatewayParams, z.ZodTypeDef, unknown>;
|
|
108
|
-
/** @deprecated use `JuspayPaymentGatewayParams$outboundSchema` instead. */
|
|
109
|
-
const outboundSchema: z.ZodType<JuspayPaymentGatewayParams$Outbound, z.ZodTypeDef, JuspayPaymentGatewayParams>;
|
|
110
|
-
/** @deprecated use `JuspayPaymentGatewayParams$Outbound` instead. */
|
|
111
|
-
type Outbound = JuspayPaymentGatewayParams$Outbound;
|
|
112
|
-
}
|
|
113
|
-
export declare function juspayPaymentGatewayParamsToJSON(juspayPaymentGatewayParams: JuspayPaymentGatewayParams): string;
|
|
114
|
-
export declare function juspayPaymentGatewayParamsFromJSON(jsonString: string): SafeParseResult<JuspayPaymentGatewayParams, SDKValidationError>;
|
|
115
|
-
//# sourceMappingURL=juspaypaymentgatewayparams.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"juspaypaymentgatewayparams.d.ts","sourceRoot":"","sources":["../../../src/models/components/juspaypaymentgatewayparams.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;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,gCAAgC,CACxC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,cAAc,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,MAAM,EAAE,gCAAgC,CAAC;IACzC;;OAEG;IACH,eAAe,EAAE,eAAe,CAAC;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,aAAa,CAC1E,OAAO,gCAAgC,CACS,CAAC;AAEnD,gBAAgB;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AC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v3";
|
|
5
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
/**
|
|
8
|
-
* `paymentPage` is the default option that you should select when using hyper-checkout
|
|
9
|
-
*/
|
|
10
|
-
export const JuspayPaymentGatewayParamsAction = {
|
|
11
|
-
PaymentPage: "paymentPage",
|
|
12
|
-
PaymentManagement: "paymentManagement",
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Use `hyper-checkout` for Juspay hosted checkout
|
|
16
|
-
*/
|
|
17
|
-
export const IntegrationType = {
|
|
18
|
-
HyperCheckout: "hyper-checkout",
|
|
19
|
-
ExpressCheckout: "express-checkout",
|
|
20
|
-
};
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const JuspayPaymentGatewayParamsAction$inboundSchema = z.nativeEnum(JuspayPaymentGatewayParamsAction);
|
|
23
|
-
/** @internal */
|
|
24
|
-
export const JuspayPaymentGatewayParamsAction$outboundSchema = JuspayPaymentGatewayParamsAction$inboundSchema;
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
28
|
-
*/
|
|
29
|
-
export var JuspayPaymentGatewayParamsAction$;
|
|
30
|
-
(function (JuspayPaymentGatewayParamsAction$) {
|
|
31
|
-
/** @deprecated use `JuspayPaymentGatewayParamsAction$inboundSchema` instead. */
|
|
32
|
-
JuspayPaymentGatewayParamsAction$.inboundSchema = JuspayPaymentGatewayParamsAction$inboundSchema;
|
|
33
|
-
/** @deprecated use `JuspayPaymentGatewayParamsAction$outboundSchema` instead. */
|
|
34
|
-
JuspayPaymentGatewayParamsAction$.outboundSchema = JuspayPaymentGatewayParamsAction$outboundSchema;
|
|
35
|
-
})(JuspayPaymentGatewayParamsAction$ || (JuspayPaymentGatewayParamsAction$ = {}));
|
|
36
|
-
/** @internal */
|
|
37
|
-
export const IntegrationType$inboundSchema = z.nativeEnum(IntegrationType);
|
|
38
|
-
/** @internal */
|
|
39
|
-
export const IntegrationType$outboundSchema = IntegrationType$inboundSchema;
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
-
*/
|
|
44
|
-
export var IntegrationType$;
|
|
45
|
-
(function (IntegrationType$) {
|
|
46
|
-
/** @deprecated use `IntegrationType$inboundSchema` instead. */
|
|
47
|
-
IntegrationType$.inboundSchema = IntegrationType$inboundSchema;
|
|
48
|
-
/** @deprecated use `IntegrationType$outboundSchema` instead. */
|
|
49
|
-
IntegrationType$.outboundSchema = IntegrationType$outboundSchema;
|
|
50
|
-
})(IntegrationType$ || (IntegrationType$ = {}));
|
|
51
|
-
/** @internal */
|
|
52
|
-
export const JuspayPaymentGatewayParams$inboundSchema = z.object({
|
|
53
|
-
payment_gateway: z.literal("JUSPAY").default("JUSPAY"),
|
|
54
|
-
action: JuspayPaymentGatewayParamsAction$inboundSchema,
|
|
55
|
-
integration_type: IntegrationType$inboundSchema,
|
|
56
|
-
return_url: z.string(),
|
|
57
|
-
gateway_reference_id: z.string(),
|
|
58
|
-
}).transform((v) => {
|
|
59
|
-
return remap$(v, {
|
|
60
|
-
"payment_gateway": "paymentGateway",
|
|
61
|
-
"integration_type": "integrationType",
|
|
62
|
-
"return_url": "returnUrl",
|
|
63
|
-
"gateway_reference_id": "gatewayReferenceId",
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
/** @internal */
|
|
67
|
-
export const JuspayPaymentGatewayParams$outboundSchema = z.object({
|
|
68
|
-
paymentGateway: z.literal("JUSPAY").default("JUSPAY"),
|
|
69
|
-
action: JuspayPaymentGatewayParamsAction$outboundSchema,
|
|
70
|
-
integrationType: IntegrationType$outboundSchema,
|
|
71
|
-
returnUrl: z.string(),
|
|
72
|
-
gatewayReferenceId: z.string(),
|
|
73
|
-
}).transform((v) => {
|
|
74
|
-
return remap$(v, {
|
|
75
|
-
paymentGateway: "payment_gateway",
|
|
76
|
-
integrationType: "integration_type",
|
|
77
|
-
returnUrl: "return_url",
|
|
78
|
-
gatewayReferenceId: "gateway_reference_id",
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export var JuspayPaymentGatewayParams$;
|
|
86
|
-
(function (JuspayPaymentGatewayParams$) {
|
|
87
|
-
/** @deprecated use `JuspayPaymentGatewayParams$inboundSchema` instead. */
|
|
88
|
-
JuspayPaymentGatewayParams$.inboundSchema = JuspayPaymentGatewayParams$inboundSchema;
|
|
89
|
-
/** @deprecated use `JuspayPaymentGatewayParams$outboundSchema` instead. */
|
|
90
|
-
JuspayPaymentGatewayParams$.outboundSchema = JuspayPaymentGatewayParams$outboundSchema;
|
|
91
|
-
})(JuspayPaymentGatewayParams$ || (JuspayPaymentGatewayParams$ = {}));
|
|
92
|
-
export function juspayPaymentGatewayParamsToJSON(juspayPaymentGatewayParams) {
|
|
93
|
-
return JSON.stringify(JuspayPaymentGatewayParams$outboundSchema.parse(juspayPaymentGatewayParams));
|
|
94
|
-
}
|
|
95
|
-
export function juspayPaymentGatewayParamsFromJSON(jsonString) {
|
|
96
|
-
return safeParse(jsonString, (x) => JuspayPaymentGatewayParams$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JuspayPaymentGatewayParams' from JSON`);
|
|
97
|
-
}
|
|
98
|
-
//# sourceMappingURL=juspaypaymentgatewayparams.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"juspaypaymentgatewayparams.js","sourceRoot":"","sources":["../../../src/models/components/juspaypaymentgatewayparams.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AAQX;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;CAC3B,CAAC;AA6BX,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAAC;AAEnD,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAExD,8CAA8C,CAAC;AAEnD;;;GAGG;AACH,MAAM,KAAW,iCAAiC,CAKjD;AALD,WAAiB,iCAAiC;IAChD,gFAAgF;IACnE,+CAAa,GAAG,8CAA8C,CAAC;IAC5E,iFAAiF;IACpE,gDAAc,GAAG,+CAA+C,CAAC;AAChF,CAAC,EALgB,iCAAiC,KAAjC,iCAAiC,QAKjD;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;AAElC,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAEvC,6BAA6B,CAAC;AAElC;;;GAGG;AACH,MAAM,KAAW,gBAAgB,CAKhC;AALD,WAAiB,gBAAgB;IAC/B,+DA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EH;;;GAGG;AACH,MAAM,KAAW,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,wCAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,yCAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,KAA3B,2BAA2B,QAO3C;AAED,MAAM,UAAU,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { JuspayPaymentGatewayParams, JuspayPaymentGatewayParams$Outbound } from "./juspaypaymentgatewayparams.js";
|
|
5
|
-
import { PayuPaymentGatewayParams, PayuPaymentGatewayParams$Outbound } from "./payupaymentgatewayparams.js";
|
|
6
|
-
/**
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PaymentGatewayParams} - API reference for the PaymentGatewayParams schema
|
|
8
|
-
*/
|
|
9
|
-
export type PaymentGatewayParams = (JuspayPaymentGatewayParams & {
|
|
10
|
-
paymentGateway: "JUSPAY";
|
|
11
|
-
}) | (PayuPaymentGatewayParams & {
|
|
12
|
-
paymentGateway: "PAYU";
|
|
13
|
-
});
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare const PaymentGatewayParams$inboundSchema: z.ZodType<PaymentGatewayParams, z.ZodTypeDef, unknown>;
|
|
16
|
-
/** @internal */
|
|
17
|
-
export type PaymentGatewayParams$Outbound = (JuspayPaymentGatewayParams$Outbound & {
|
|
18
|
-
payment_gateway: "JUSPAY";
|
|
19
|
-
}) | (PayuPaymentGatewayParams$Outbound & {
|
|
20
|
-
payment_gateway: "PAYU";
|
|
21
|
-
});
|
|
22
|
-
/** @internal */
|
|
23
|
-
export declare const PaymentGatewayParams$outboundSchema: z.ZodType<PaymentGatewayParams$Outbound, z.ZodTypeDef, PaymentGatewayParams>;
|
|
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 declare namespace PaymentGatewayParams$ {
|
|
29
|
-
/** @deprecated use `PaymentGatewayParams$inboundSchema` instead. */
|
|
30
|
-
const inboundSchema: z.ZodType<PaymentGatewayParams, z.ZodTypeDef, unknown>;
|
|
31
|
-
/** @deprecated use `PaymentGatewayParams$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.ZodType<PaymentGatewayParams$Outbound, z.ZodTypeDef, PaymentGatewayParams>;
|
|
33
|
-
/** @deprecated use `PaymentGatewayParams$Outbound` instead. */
|
|
34
|
-
type Outbound = PaymentGatewayParams$Outbound;
|
|
35
|
-
}
|
|
36
|
-
export declare function paymentGatewayParamsToJSON(paymentGatewayParams: PaymentGatewayParams): string;
|
|
37
|
-
export declare function paymentGatewayParamsFromJSON(jsonString: string): SafeParseResult<PaymentGatewayParams, SDKValidationError>;
|
|
38
|
-
//# sourceMappingURL=paymentgatewayparams.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paymentgatewayparams.d.ts","sourceRoot":"","sources":["../../../src/models/components/paymentgatewayparams.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,C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
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v3";
|
|
5
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
-
import { JuspayPaymentGatewayParams$inboundSchema, JuspayPaymentGatewayParams$outboundSchema, } from "./juspaypaymentgatewayparams.js";
|
|
7
|
-
import { PayuPaymentGatewayParams$inboundSchema, PayuPaymentGatewayParams$outboundSchema, } from "./payupaymentgatewayparams.js";
|
|
8
|
-
/** @internal */
|
|
9
|
-
export const PaymentGatewayParams$inboundSchema = z.union([
|
|
10
|
-
JuspayPaymentGatewayParams$inboundSchema.and(z.object({ payment_gateway: z.literal("JUSPAY") }).transform((v) => ({
|
|
11
|
-
paymentGateway: v.payment_gateway,
|
|
12
|
-
}))),
|
|
13
|
-
PayuPaymentGatewayParams$inboundSchema.and(z.object({ payment_gateway: z.literal("PAYU") }).transform((v) => ({
|
|
14
|
-
paymentGateway: v.payment_gateway,
|
|
15
|
-
}))),
|
|
16
|
-
]);
|
|
17
|
-
/** @internal */
|
|
18
|
-
export const PaymentGatewayParams$outboundSchema = z.union([
|
|
19
|
-
JuspayPaymentGatewayParams$outboundSchema.and(z.object({ paymentGateway: z.literal("JUSPAY") }).transform((v) => ({
|
|
20
|
-
payment_gateway: v.paymentGateway,
|
|
21
|
-
}))),
|
|
22
|
-
PayuPaymentGatewayParams$outboundSchema.and(z.object({ paymentGateway: z.literal("PAYU") }).transform((v) => ({
|
|
23
|
-
payment_gateway: v.paymentGateway,
|
|
24
|
-
}))),
|
|
25
|
-
]);
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export var PaymentGatewayParams$;
|
|
31
|
-
(function (PaymentGatewayParams$) {
|
|
32
|
-
/** @deprecated use `PaymentGatewayParams$inboundSchema` instead. */
|
|
33
|
-
PaymentGatewayParams$.inboundSchema = PaymentGatewayParams$inboundSchema;
|
|
34
|
-
/** @deprecated use `PaymentGatewayParams$outboundSchema` instead. */
|
|
35
|
-
PaymentGatewayParams$.outboundSchema = PaymentGatewayParams$outboundSchema;
|
|
36
|
-
})(PaymentGatewayParams$ || (PaymentGatewayParams$ = {}));
|
|
37
|
-
export function paymentGatewayParamsToJSON(paymentGatewayParams) {
|
|
38
|
-
return JSON.stringify(PaymentGatewayParams$outboundSchema.parse(paymentGatewayParams));
|
|
39
|
-
}
|
|
40
|
-
export function paymentGatewayParamsFromJSON(jsonString) {
|
|
41
|
-
return safeParse(jsonString, (x) => PaymentGatewayParams$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaymentGatewayParams' from JSON`);
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=paymentgatewayparams.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paymentgatewayparams.js","sourceRoot":"","sources":["../../../src/models/components/paymentgatewayparams.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,wCAAwC,EAExC,yCAAyC,GAC1C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,sCAAsC,EAEtC,uCAAuC,GACxC,MAAM,+BAA+B,CAAC;AASvC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAI3C,CAAC,CAAC,KAAK,CAAC;IACV,wCAAwC,CAAC,GAAG,CAC1C,CAAC,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACnE,cAAc,EAAE,CAAC,CAAC,eAAe;KAClC,CAAC,CAAC,CACJ;IACD,sCAAsC,CAAC,GA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AAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
/**
|
|
5
|
-
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PayuPaymentGatewayParams} - API reference for the PayuPaymentGatewayParams schema
|
|
6
|
-
*/
|
|
7
|
-
export type PayuPaymentGatewayParams = {
|
|
8
|
-
paymentGateway?: "PAYU" | undefined;
|
|
9
|
-
furl: string;
|
|
10
|
-
surl: string;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const PayuPaymentGatewayParams$inboundSchema: z.ZodType<PayuPaymentGatewayParams, z.ZodTypeDef, unknown>;
|
|
14
|
-
/** @internal */
|
|
15
|
-
export type PayuPaymentGatewayParams$Outbound = {
|
|
16
|
-
payment_gateway: "PAYU";
|
|
17
|
-
furl: string;
|
|
18
|
-
surl: string;
|
|
19
|
-
};
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const PayuPaymentGatewayParams$outboundSchema: z.ZodType<PayuPaymentGatewayParams$Outbound, z.ZodTypeDef, PayuPaymentGatewayParams>;
|
|
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 declare namespace PayuPaymentGatewayParams$ {
|
|
27
|
-
/** @deprecated use `PayuPaymentGatewayParams$inboundSchema` instead. */
|
|
28
|
-
const inboundSchema: z.ZodType<PayuPaymentGatewayParams, z.ZodTypeDef, unknown>;
|
|
29
|
-
/** @deprecated use `PayuPaymentGatewayParams$outboundSchema` instead. */
|
|
30
|
-
const outboundSchema: z.ZodType<PayuPaymentGatewayParams$Outbound, z.ZodTypeDef, PayuPaymentGatewayParams>;
|
|
31
|
-
/** @deprecated use `PayuPaymentGatewayParams$Outbound` instead. */
|
|
32
|
-
type Outbound = PayuPaymentGatewayParams$Outbound;
|
|
33
|
-
}
|
|
34
|
-
export declare function payuPaymentGatewayParamsToJSON(payuPaymentGatewayParams: PayuPaymentGatewayParams): string;
|
|
35
|
-
export declare function payuPaymentGatewayParamsFromJSON(jsonString: string): SafeParseResult<PayuPaymentGatewayParams, SDKValidationError>;
|
|
36
|
-
//# sourceMappingURL=payupaymentgatewayparams.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payupaymentgatewayparams.d.ts","sourceRoot":"","sources":["../../../src/models/components/payupaymentgatewayparams.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CASxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v3";
|
|
5
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
/** @internal */
|
|
8
|
-
export const PayuPaymentGatewayParams$inboundSchema = z.object({
|
|
9
|
-
payment_gateway: z.literal("PAYU").default("PAYU"),
|
|
10
|
-
furl: z.string(),
|
|
11
|
-
surl: z.string(),
|
|
12
|
-
}).transform((v) => {
|
|
13
|
-
return remap$(v, {
|
|
14
|
-
"payment_gateway": "paymentGateway",
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
/** @internal */
|
|
18
|
-
export const PayuPaymentGatewayParams$outboundSchema = z.object({
|
|
19
|
-
paymentGateway: z.literal("PAYU").default("PAYU"),
|
|
20
|
-
furl: z.string(),
|
|
21
|
-
surl: z.string(),
|
|
22
|
-
}).transform((v) => {
|
|
23
|
-
return remap$(v, {
|
|
24
|
-
paymentGateway: "payment_gateway",
|
|
25
|
-
});
|
|
26
|
-
});
|
|
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 PayuPaymentGatewayParams$;
|
|
32
|
-
(function (PayuPaymentGatewayParams$) {
|
|
33
|
-
/** @deprecated use `PayuPaymentGatewayParams$inboundSchema` instead. */
|
|
34
|
-
PayuPaymentGatewayParams$.inboundSchema = PayuPaymentGatewayParams$inboundSchema;
|
|
35
|
-
/** @deprecated use `PayuPaymentGatewayParams$outboundSchema` instead. */
|
|
36
|
-
PayuPaymentGatewayParams$.outboundSchema = PayuPaymentGatewayParams$outboundSchema;
|
|
37
|
-
})(PayuPaymentGatewayParams$ || (PayuPaymentGatewayParams$ = {}));
|
|
38
|
-
export function payuPaymentGatewayParamsToJSON(payuPaymentGatewayParams) {
|
|
39
|
-
return JSON.stringify(PayuPaymentGatewayParams$outboundSchema.parse(payuPaymentGatewayParams));
|
|
40
|
-
}
|
|
41
|
-
export function payuPaymentGatewayParamsFromJSON(jsonString) {
|
|
42
|
-
return safeParse(jsonString, (x) => PayuPaymentGatewayParams$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayuPaymentGatewayParams' from JSON`);
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=payupaymentgatewayparams.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payupaymentgatewayparams.js","sourceRoot":"","sources":["../../../src/models/components/payupaymentgatewayparams.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;AAajD,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,I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ront Examples
|
|
2
|
-
|
|
3
|
-
This directory contains example scripts demonstrating how to use the ce-storefront SDK.
|
|
4
|
-
|
|
5
|
-
## Prerequisites
|
|
6
|
-
|
|
7
|
-
- Node.js (v18 or higher)
|
|
8
|
-
- npm
|
|
9
|
-
|
|
10
|
-
## Setup
|
|
11
|
-
|
|
12
|
-
1. Copy `.env.template` to `.env`:
|
|
13
|
-
```bash
|
|
14
|
-
cp .env.template .env
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
2. Edit `.env` and add your actual credentials
|
|
18
|
-
|
|
19
|
-
## Running the Examples
|
|
20
|
-
|
|
21
|
-
To run an example file from the examples directory:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npm run build && npx tsx example.ts
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Creating new examples
|
|
28
|
-
|
|
29
|
-
Duplicate an existing example file, they won't be overwritten by the generation process.
|
|
30
|
-
|
|
31
|
-
|