ce-storefront 0.19.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/components/anonymoususer.d.ts +0 -30
- package/esm/models/components/anonymoususer.d.ts.map +1 -1
- package/esm/models/components/anonymoususer.js +0 -41
- package/esm/models/components/anonymoususer.js.map +1 -1
- package/esm/models/components/appliedcoupon.d.ts +0 -53
- package/esm/models/components/appliedcoupon.d.ts.map +1 -1
- package/esm/models/components/appliedcoupon.js +0 -46
- package/esm/models/components/appliedcoupon.js.map +1 -1
- package/esm/models/components/appliedpromotion.d.ts +0 -51
- package/esm/models/components/appliedpromotion.d.ts.map +1 -1
- package/esm/models/components/appliedpromotion.js +0 -49
- package/esm/models/components/appliedpromotion.js.map +1 -1
- package/esm/models/components/associatedoption.d.ts +2 -19
- package/esm/models/components/associatedoption.d.ts.map +1 -1
- package/esm/models/components/associatedoption.js +2 -18
- package/esm/models/components/associatedoption.js.map +1 -1
- package/esm/models/components/banktransfer.d.ts +0 -70
- package/esm/models/components/banktransfer.d.ts.map +1 -1
- package/esm/models/components/banktransfer.js +0 -65
- package/esm/models/components/banktransfer.js.map +1 -1
- package/esm/models/components/booleanattribute.d.ts +0 -23
- package/esm/models/components/booleanattribute.d.ts.map +1 -1
- package/esm/models/components/booleanattribute.js +0 -22
- package/esm/models/components/booleanattribute.js.map +1 -1
- package/esm/models/components/cardpayment.d.ts +0 -92
- package/esm/models/components/cardpayment.d.ts.map +1 -1
- package/esm/models/components/cardpayment.js +0 -78
- package/esm/models/components/cardpayment.js.map +1 -1
- package/esm/models/components/cart.d.ts +6 -69
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +6 -107
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts +0 -17
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.js +0 -25
- package/esm/models/components/cartbasedserviceabilitycheck.js.map +1 -1
- package/esm/models/components/cartitem.d.ts +3 -76
- package/esm/models/components/cartitem.d.ts.map +1 -1
- package/esm/models/components/cartitem.js +3 -96
- package/esm/models/components/cartitem.js.map +1 -1
- package/esm/models/components/category.d.ts +0 -25
- package/esm/models/components/category.d.ts.map +1 -1
- package/esm/models/components/category.js +0 -29
- package/esm/models/components/category.js.map +1 -1
- package/esm/models/components/collectinstore.d.ts +0 -23
- package/esm/models/components/collectinstore.d.ts.map +1 -1
- package/esm/models/components/collectinstore.js +0 -28
- package/esm/models/components/collectinstore.js.map +1 -1
- package/esm/models/components/collectinstorefulfillment.d.ts +0 -40
- package/esm/models/components/collectinstorefulfillment.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillment.js +0 -41
- package/esm/models/components/collectinstorefulfillment.js.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.d.ts +0 -17
- package/esm/models/components/collectinstorefulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.js +0 -26
- package/esm/models/components/collectinstorefulfillmentinput.js.map +1 -1
- package/esm/models/components/colorattribute.d.ts +0 -43
- package/esm/models/components/colorattribute.d.ts.map +1 -1
- package/esm/models/components/colorattribute.js +0 -41
- package/esm/models/components/colorattribute.js.map +1 -1
- package/esm/models/components/coloroption.d.ts +0 -41
- package/esm/models/components/coloroption.d.ts.map +1 -1
- package/esm/models/components/coloroption.js +0 -39
- package/esm/models/components/coloroption.js.map +1 -1
- package/esm/models/components/currency.d.ts +0 -21
- package/esm/models/components/currency.d.ts.map +1 -1
- package/esm/models/components/currency.js +0 -20
- package/esm/models/components/currency.js.map +1 -1
- package/esm/models/components/customeraddress.d.ts +0 -35
- package/esm/models/components/customeraddress.d.ts.map +1 -1
- package/esm/models/components/customeraddress.js +0 -46
- package/esm/models/components/customeraddress.js.map +1 -1
- package/esm/models/components/customeraddressinput.d.ts +0 -17
- package/esm/models/components/customeraddressinput.d.ts.map +1 -1
- package/esm/models/components/customeraddressinput.js +0 -43
- package/esm/models/components/customeraddressinput.js.map +1 -1
- package/esm/models/components/customerloyalty.d.ts +0 -27
- package/esm/models/components/customerloyalty.d.ts.map +1 -1
- package/esm/models/components/customerloyalty.js +0 -38
- package/esm/models/components/customerloyalty.js.map +1 -1
- package/esm/models/components/customerreadyforreview.d.ts +0 -24
- package/esm/models/components/customerreadyforreview.d.ts.map +1 -1
- package/esm/models/components/customerreadyforreview.js +0 -32
- package/esm/models/components/customerreadyforreview.js.map +1 -1
- package/esm/models/components/customerreview.d.ts +0 -99
- package/esm/models/components/customerreview.d.ts.map +1 -1
- package/esm/models/components/customerreview.js +0 -121
- package/esm/models/components/customerreview.js.map +1 -1
- package/esm/models/components/dateattribute.d.ts +0 -23
- package/esm/models/components/dateattribute.d.ts.map +1 -1
- package/esm/models/components/dateattribute.js +0 -22
- package/esm/models/components/dateattribute.js.map +1 -1
- package/esm/models/components/deliveryfulfillment.d.ts +0 -42
- package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillment.js +0 -45
- package/esm/models/components/deliveryfulfillment.js.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.d.ts +0 -17
- package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.js +0 -27
- package/esm/models/components/deliveryfulfillmentinput.js.map +1 -1
- package/esm/models/components/discountbasedpromotion.d.ts +0 -62
- package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
- package/esm/models/components/discountbasedpromotion.js +0 -54
- package/esm/models/components/discountbasedpromotion.js.map +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +0 -42
- package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
- package/esm/models/components/fixedpricepromotion.js +0 -37
- package/esm/models/components/fixedpricepromotion.js.map +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +0 -43
- package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
- package/esm/models/components/freegoodspromotion.js +0 -39
- package/esm/models/components/freegoodspromotion.js.map +1 -1
- package/esm/models/components/fulfillmentitem.d.ts +0 -23
- package/esm/models/components/fulfillmentitem.d.ts.map +1 -1
- package/esm/models/components/fulfillmentitem.js +0 -29
- package/esm/models/components/fulfillmentitem.js.map +1 -1
- package/esm/models/components/fulfillmentiteminput.d.ts +0 -17
- package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentiteminput.js +0 -26
- package/esm/models/components/fulfillmentiteminput.js.map +1 -1
- package/esm/models/components/fulfillmentpreference.d.ts +3 -26
- package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreference.js +3 -26
- package/esm/models/components/fulfillmentpreference.js.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.d.ts +0 -17
- package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.js +3 -27
- package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -1
- package/esm/models/components/generateotpwithemail.d.ts +0 -39
- package/esm/models/components/generateotpwithemail.d.ts.map +1 -1
- package/esm/models/components/generateotpwithemail.js +1 -39
- package/esm/models/components/generateotpwithemail.js.map +1 -1
- package/esm/models/components/generateotpwithphone.d.ts +0 -57
- package/esm/models/components/generateotpwithphone.d.ts.map +1 -1
- package/esm/models/components/generateotpwithphone.js +2 -55
- package/esm/models/components/generateotpwithphone.js.map +1 -1
- package/esm/models/components/index.d.ts +1 -0
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +1 -0
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/item.d.ts +8 -73
- package/esm/models/components/item.d.ts.map +1 -1
- package/esm/models/components/item.js +8 -79
- package/esm/models/components/item.js.map +1 -1
- package/esm/models/components/juspayexpresscheckout.d.ts +0 -17
- package/esm/models/components/juspayexpresscheckout.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckout.js +5 -28
- package/esm/models/components/juspayexpresscheckout.js.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts +0 -129
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.js +0 -147
- package/esm/models/components/juspayexpresscheckoutresponse.js.map +1 -1
- package/esm/models/components/juspayhypercheckout.d.ts +0 -33
- package/esm/models/components/juspayhypercheckout.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckout.js +1 -45
- package/esm/models/components/juspayhypercheckout.js.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.d.ts +0 -125
- package/esm/models/components/juspayhypercheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.js +0 -130
- package/esm/models/components/juspayhypercheckoutresponse.js.map +1 -1
- package/esm/models/components/juspaynetbanking.d.ts +2 -19
- package/esm/models/components/juspaynetbanking.d.ts.map +1 -1
- package/esm/models/components/juspaynetbanking.js +1 -39
- package/esm/models/components/juspaynetbanking.js.map +1 -1
- package/esm/models/components/juspaynewcard.d.ts +2 -39
- package/esm/models/components/juspaynewcard.d.ts.map +1 -1
- package/esm/models/components/juspaynewcard.js +2 -69
- package/esm/models/components/juspaynewcard.js.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.d.ts +2 -39
- package/esm/models/components/juspaysavedcardtoken.d.ts.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.js +2 -63
- package/esm/models/components/juspaysavedcardtoken.js.map +1 -1
- package/esm/models/components/juspayupicollect.d.ts +2 -19
- package/esm/models/components/juspayupicollect.d.ts.map +1 -1
- package/esm/models/components/juspayupicollect.js +1 -41
- package/esm/models/components/juspayupicollect.js.map +1 -1
- package/esm/models/components/juspayupiintent.d.ts +2 -19
- package/esm/models/components/juspayupiintent.d.ts.map +1 -1
- package/esm/models/components/juspayupiintent.js +1 -43
- package/esm/models/components/juspayupiintent.js.map +1 -1
- package/esm/models/components/lotbatchdetail.d.ts +0 -23
- package/esm/models/components/lotbatchdetail.d.ts.map +1 -1
- package/esm/models/components/lotbatchdetail.js +0 -29
- package/esm/models/components/lotbatchdetail.js.map +1 -1
- package/esm/models/components/multiselectattribute.d.ts +0 -23
- package/esm/models/components/multiselectattribute.d.ts.map +1 -1
- package/esm/models/components/multiselectattribute.js +0 -22
- package/esm/models/components/multiselectattribute.js.map +1 -1
- package/esm/models/components/netbankingpayment.d.ts +0 -69
- package/esm/models/components/netbankingpayment.d.ts.map +1 -1
- package/esm/models/components/netbankingpayment.js +0 -63
- package/esm/models/components/netbankingpayment.js.map +1 -1
- package/esm/models/components/notificationchannelpreferences.d.ts +0 -12
- package/esm/models/components/notificationchannelpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationchannelpreferences.js +0 -11
- package/esm/models/components/notificationchannelpreferences.js.map +1 -1
- package/esm/models/components/notificationpreferences.d.ts +0 -12
- package/esm/models/components/notificationpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationpreferences.js +0 -11
- package/esm/models/components/notificationpreferences.js.map +1 -1
- package/esm/models/components/numberattribute.d.ts +0 -23
- package/esm/models/components/numberattribute.d.ts.map +1 -1
- package/esm/models/components/numberattribute.js +0 -22
- package/esm/models/components/numberattribute.js.map +1 -1
- package/esm/models/components/order.d.ts +5 -202
- package/esm/models/components/order.d.ts.map +1 -1
- package/esm/models/components/order.js +5 -207
- package/esm/models/components/order.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +6 -204
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +6 -209
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/orderitem.d.ts +2 -73
- package/esm/models/components/orderitem.d.ts.map +1 -1
- package/esm/models/components/orderitem.js +2 -93
- package/esm/models/components/orderitem.js.map +1 -1
- package/esm/models/components/orderlist.d.ts +1 -122
- package/esm/models/components/orderlist.d.ts.map +1 -1
- package/esm/models/components/orderlist.js +1 -101
- package/esm/models/components/orderlist.js.map +1 -1
- package/esm/models/components/orderpayment.d.ts +5 -22
- package/esm/models/components/orderpayment.d.ts.map +1 -1
- package/esm/models/components/orderpayment.js +5 -27
- package/esm/models/components/orderpayment.js.map +1 -1
- package/esm/models/components/ordershipment.d.ts +3 -95
- package/esm/models/components/ordershipment.d.ts.map +1 -1
- package/esm/models/components/ordershipment.js +3 -88
- package/esm/models/components/ordershipment.js.map +1 -1
- package/esm/models/components/pagination.d.ts +0 -23
- package/esm/models/components/pagination.d.ts.map +1 -1
- package/esm/models/components/pagination.js +0 -29
- package/esm/models/components/pagination.js.map +1 -1
- package/esm/models/components/partialcollectanddelivery.d.ts +1 -85
- package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddelivery.js +1 -96
- package/esm/models/components/partialcollectanddelivery.js.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.d.ts +0 -47
- package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.js +1 -75
- package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
- package/esm/models/components/paymentmethodpayload.d.ts +0 -17
- package/esm/models/components/paymentmethodpayload.d.ts.map +1 -1
- package/esm/models/components/paymentmethodpayload.js +2 -22
- package/esm/models/components/paymentmethodpayload.js.map +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +0 -55
- package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
- package/esm/models/components/payupaymentinfo.js +0 -58
- package/esm/models/components/payupaymentinfo.js.map +1 -1
- package/esm/models/components/pincode.d.ts +0 -23
- package/esm/models/components/pincode.d.ts.map +1 -1
- package/esm/models/components/pincode.js +0 -28
- package/esm/models/components/pincode.js.map +1 -1
- package/esm/models/components/pincodeserviceability.d.ts +0 -123
- package/esm/models/components/pincodeserviceability.d.ts.map +1 -1
- package/esm/models/components/pincodeserviceability.js +0 -130
- package/esm/models/components/pincodeserviceability.js.map +1 -1
- package/esm/models/components/product.d.ts +10 -74
- package/esm/models/components/product.d.ts.map +1 -1
- package/esm/models/components/product.js +10 -80
- package/esm/models/components/product.js.map +1 -1
- package/esm/models/components/productattribute.d.ts +7 -38
- package/esm/models/components/productattribute.d.ts.map +1 -1
- package/esm/models/components/productattribute.js +7 -39
- package/esm/models/components/productattribute.js.map +1 -1
- package/esm/models/components/productbundleitem.d.ts +8 -74
- package/esm/models/components/productbundleitem.d.ts.map +1 -1
- package/esm/models/components/productbundleitem.js +8 -80
- package/esm/models/components/productbundleitem.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +1 -27
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +1 -32
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +13 -87
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +13 -94
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productimage.d.ts +0 -26
- package/esm/models/components/productimage.d.ts.map +1 -1
- package/esm/models/components/productimage.js +0 -34
- package/esm/models/components/productimage.js.map +1 -1
- package/esm/models/components/productpricing.d.ts +0 -28
- package/esm/models/components/productpricing.d.ts.map +1 -1
- package/esm/models/components/productpricing.js +0 -39
- package/esm/models/components/productpricing.js.map +1 -1
- package/esm/models/components/productpromotion.d.ts +4 -59
- package/esm/models/components/productpromotion.d.ts.map +1 -1
- package/esm/models/components/productpromotion.js +4 -72
- package/esm/models/components/productpromotion.js.map +1 -1
- package/esm/models/components/productreview.d.ts +0 -110
- package/esm/models/components/productreview.d.ts.map +1 -1
- package/esm/models/components/productreview.js +0 -122
- package/esm/models/components/productreview.js.map +1 -1
- package/esm/models/components/productshipping.d.ts +0 -22
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +0 -28
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/productsubscription.d.ts +0 -70
- package/esm/models/components/productsubscription.d.ts.map +1 -1
- package/esm/models/components/productsubscription.js +0 -69
- package/esm/models/components/productsubscription.js.map +1 -1
- package/esm/models/components/productvideo.d.ts +0 -26
- package/esm/models/components/productvideo.d.ts.map +1 -1
- package/esm/models/components/productvideo.js +0 -35
- package/esm/models/components/productvideo.js.map +1 -1
- package/esm/models/components/savedpaymentmethod.d.ts +0 -172
- package/esm/models/components/savedpaymentmethod.d.ts.map +1 -1
- package/esm/models/components/savedpaymentmethod.js +0 -227
- package/esm/models/components/savedpaymentmethod.js.map +1 -1
- package/esm/models/components/searchproduct.d.ts +0 -17
- package/esm/models/components/searchproduct.d.ts.map +1 -1
- package/esm/models/components/searchproduct.js +0 -22
- package/esm/models/components/searchproduct.js.map +1 -1
- package/esm/models/components/security.d.ts +0 -17
- package/esm/models/components/security.d.ts.map +1 -1
- package/esm/models/components/security.js +0 -23
- package/esm/models/components/security.js.map +1 -1
- package/esm/models/components/seo.d.ts +0 -22
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +0 -22
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/shipmentitem.d.ts +0 -25
- package/esm/models/components/shipmentitem.d.ts.map +1 -1
- package/esm/models/components/shipmentitem.js +0 -32
- package/esm/models/components/shipmentitem.js.map +1 -1
- package/esm/models/components/shipmentstatus.d.ts +27 -0
- package/esm/models/components/shipmentstatus.d.ts.map +1 -0
- package/esm/models/components/shipmentstatus.js +25 -0
- package/esm/models/components/shipmentstatus.js.map +1 -0
- package/esm/models/components/singleselectattribute.d.ts +0 -23
- package/esm/models/components/singleselectattribute.d.ts.map +1 -1
- package/esm/models/components/singleselectattribute.js +0 -22
- package/esm/models/components/singleselectattribute.js.map +1 -1
- package/esm/models/components/singleselectoption.d.ts +0 -21
- package/esm/models/components/singleselectoption.d.ts.map +1 -1
- package/esm/models/components/singleselectoption.js +0 -20
- package/esm/models/components/singleselectoption.js.map +1 -1
- package/esm/models/components/textattribute.d.ts +0 -23
- package/esm/models/components/textattribute.d.ts.map +1 -1
- package/esm/models/components/textattribute.js +0 -22
- package/esm/models/components/textattribute.js.map +1 -1
- package/esm/models/components/updatecartitem.d.ts +0 -17
- package/esm/models/components/updatecartitem.d.ts.map +1 -1
- package/esm/models/components/updatecartitem.js +0 -26
- package/esm/models/components/updatecartitem.js.map +1 -1
- package/esm/models/components/upipayment.d.ts +0 -69
- package/esm/models/components/upipayment.d.ts.map +1 -1
- package/esm/models/components/upipayment.js +0 -63
- package/esm/models/components/upipayment.js.map +1 -1
- package/esm/models/components/user.d.ts +0 -68
- package/esm/models/components/user.d.ts.map +1 -1
- package/esm/models/components/user.js +0 -92
- package/esm/models/components/user.js.map +1 -1
- package/esm/models/components/variant.d.ts +6 -45
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +6 -53
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +11 -86
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +11 -93
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/components/variantoption.d.ts +0 -74
- package/esm/models/components/variantoption.d.ts.map +1 -1
- package/esm/models/components/variantoption.js +0 -67
- package/esm/models/components/variantoption.js.map +1 -1
- package/esm/models/components/volumebasedpromotion.d.ts +0 -62
- package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
- package/esm/models/components/volumebasedpromotion.js +0 -60
- package/esm/models/components/volumebasedpromotion.js.map +1 -1
- package/esm/models/components/walletpayment.d.ts +0 -69
- package/esm/models/components/walletpayment.d.ts.map +1 -1
- package/esm/models/components/walletpayment.js +0 -63
- package/esm/models/components/walletpayment.js.map +1 -1
- package/esm/models/errors/badrequest.d.ts +0 -38
- package/esm/models/errors/badrequest.d.ts.map +1 -1
- package/esm/models/errors/badrequest.js +0 -36
- package/esm/models/errors/badrequest.js.map +1 -1
- package/esm/models/errors/notfound.d.ts +0 -20
- package/esm/models/errors/notfound.d.ts.map +1 -1
- package/esm/models/errors/notfound.js +0 -19
- package/esm/models/errors/notfound.js.map +1 -1
- package/esm/models/errors/unauthorized.d.ts +0 -20
- package/esm/models/errors/unauthorized.d.ts.map +1 -1
- package/esm/models/errors/unauthorized.js +0 -19
- package/esm/models/errors/unauthorized.js.map +1 -1
- package/esm/models/operations/applycoupon.d.ts +0 -70
- package/esm/models/operations/applycoupon.d.ts.map +1 -1
- package/esm/models/operations/applycoupon.js +0 -83
- package/esm/models/operations/applycoupon.js.map +1 -1
- package/esm/models/operations/cancelorder.d.ts +0 -88
- package/esm/models/operations/cancelorder.d.ts.map +1 -1
- package/esm/models/operations/cancelorder.js +1 -103
- package/esm/models/operations/cancelorder.js.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.d.ts +0 -55
- package/esm/models/operations/checkpincodeserviceability.d.ts.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.js +0 -60
- package/esm/models/operations/checkpincodeserviceability.js.map +1 -1
- package/esm/models/operations/createaddress.d.ts +0 -70
- package/esm/models/operations/createaddress.d.ts.map +1 -1
- package/esm/models/operations/createaddress.js +0 -108
- package/esm/models/operations/createaddress.js.map +1 -1
- package/esm/models/operations/createcart.d.ts +0 -55
- package/esm/models/operations/createcart.d.ts.map +1 -1
- package/esm/models/operations/createcart.js +0 -57
- package/esm/models/operations/createcart.js.map +1 -1
- package/esm/models/operations/createcartaddress.d.ts +0 -100
- package/esm/models/operations/createcartaddress.d.ts.map +1 -1
- package/esm/models/operations/createcartaddress.js +0 -131
- package/esm/models/operations/createcartaddress.js.map +1 -1
- package/esm/models/operations/createorder.d.ts +0 -74
- package/esm/models/operations/createorder.d.ts.map +1 -1
- package/esm/models/operations/createorder.js +0 -93
- package/esm/models/operations/createorder.js.map +1 -1
- package/esm/models/operations/deleteaddress.d.ts +0 -35
- package/esm/models/operations/deleteaddress.d.ts.map +1 -1
- package/esm/models/operations/deleteaddress.js +0 -43
- package/esm/models/operations/deleteaddress.js.map +1 -1
- package/esm/models/operations/deletecart.d.ts +0 -35
- package/esm/models/operations/deletecart.d.ts.map +1 -1
- package/esm/models/operations/deletecart.js +0 -37
- package/esm/models/operations/deletecart.js.map +1 -1
- package/esm/models/operations/deleteusercart.d.ts +0 -35
- package/esm/models/operations/deleteusercart.d.ts.map +1 -1
- package/esm/models/operations/deleteusercart.js +0 -41
- package/esm/models/operations/deleteusercart.js.map +1 -1
- package/esm/models/operations/generateotp.d.ts +0 -71
- package/esm/models/operations/generateotp.d.ts.map +1 -1
- package/esm/models/operations/generateotp.js +0 -90
- package/esm/models/operations/generateotp.js.map +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +0 -92
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +0 -112
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/getanonymoustoken.d.ts +0 -57
- package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
- package/esm/models/operations/getanonymoustoken.js +0 -67
- package/esm/models/operations/getanonymoustoken.js.map +1 -1
- package/esm/models/operations/getcart.d.ts +0 -55
- package/esm/models/operations/getcart.d.ts.map +1 -1
- package/esm/models/operations/getcart.js +0 -56
- package/esm/models/operations/getcart.js.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.d.ts +0 -82
- package/esm/models/operations/getfulfillmentoptions.d.ts.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.js +0 -81
- package/esm/models/operations/getfulfillmentoptions.js.map +1 -1
- package/esm/models/operations/getloyaltydetails.d.ts +0 -56
- package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
- package/esm/models/operations/getloyaltydetails.js +0 -65
- package/esm/models/operations/getloyaltydetails.js.map +1 -1
- package/esm/models/operations/getorderdetail.d.ts +0 -55
- package/esm/models/operations/getorderdetail.d.ts.map +1 -1
- package/esm/models/operations/getorderdetail.js +0 -60
- package/esm/models/operations/getorderdetail.js.map +1 -1
- package/esm/models/operations/getpaymentstatus.d.ts +0 -80
- package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
- package/esm/models/operations/getpaymentstatus.js +0 -82
- package/esm/models/operations/getpaymentstatus.js.map +1 -1
- package/esm/models/operations/getproductdetail.d.ts +0 -55
- package/esm/models/operations/getproductdetail.d.ts.map +1 -1
- package/esm/models/operations/getproductdetail.js +0 -63
- package/esm/models/operations/getproductdetail.js.map +1 -1
- package/esm/models/operations/getusercart.d.ts +0 -55
- package/esm/models/operations/getusercart.d.ts.map +1 -1
- package/esm/models/operations/getusercart.js +0 -60
- package/esm/models/operations/getusercart.js.map +1 -1
- package/esm/models/operations/getuserdetail.d.ts +0 -55
- package/esm/models/operations/getuserdetail.d.ts.map +1 -1
- package/esm/models/operations/getuserdetail.js +0 -56
- package/esm/models/operations/getuserdetail.js.map +1 -1
- package/esm/models/operations/getvariantdetail.d.ts +0 -55
- package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
- package/esm/models/operations/getvariantdetail.js +0 -65
- package/esm/models/operations/getvariantdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +0 -93
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +0 -114
- package/esm/models/operations/listaddresses.js.map +1 -1
- package/esm/models/operations/listcategories.d.ts +0 -56
- package/esm/models/operations/listcategories.d.ts.map +1 -1
- package/esm/models/operations/listcategories.js +0 -68
- package/esm/models/operations/listcategories.js.map +1 -1
- package/esm/models/operations/listcountrypincodes.d.ts +0 -55
- package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
- package/esm/models/operations/listcountrypincodes.js +0 -63
- package/esm/models/operations/listcountrypincodes.js.map +1 -1
- package/esm/models/operations/listcrosssellproducts.d.ts +0 -56
- package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
- package/esm/models/operations/listcrosssellproducts.js +0 -67
- package/esm/models/operations/listcrosssellproducts.js.map +1 -1
- package/esm/models/operations/listorders.d.ts +0 -56
- package/esm/models/operations/listorders.d.ts.map +1 -1
- package/esm/models/operations/listorders.js +0 -66
- package/esm/models/operations/listorders.js.map +1 -1
- package/esm/models/operations/listordershipments.d.ts +0 -55
- package/esm/models/operations/listordershipments.d.ts.map +1 -1
- package/esm/models/operations/listordershipments.js +0 -60
- package/esm/models/operations/listordershipments.js.map +1 -1
- package/esm/models/operations/listproductreviews.d.ts +0 -57
- package/esm/models/operations/listproductreviews.d.ts.map +1 -1
- package/esm/models/operations/listproductreviews.js +0 -73
- package/esm/models/operations/listproductreviews.js.map +1 -1
- package/esm/models/operations/listproducts.d.ts +0 -56
- package/esm/models/operations/listproducts.d.ts.map +1 -1
- package/esm/models/operations/listproducts.js +0 -70
- package/esm/models/operations/listproducts.js.map +1 -1
- package/esm/models/operations/listproductvariants.d.ts +0 -55
- package/esm/models/operations/listproductvariants.d.ts.map +1 -1
- package/esm/models/operations/listproductvariants.js +0 -63
- package/esm/models/operations/listproductvariants.js.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.d.ts +0 -55
- package/esm/models/operations/listsavedpaymentmethods.d.ts.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.js +0 -65
- package/esm/models/operations/listsavedpaymentmethods.js.map +1 -1
- package/esm/models/operations/listsimilarproducts.d.ts +0 -56
- package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
- package/esm/models/operations/listsimilarproducts.js +0 -67
- package/esm/models/operations/listsimilarproducts.js.map +1 -1
- package/esm/models/operations/listskus.d.ts +0 -56
- package/esm/models/operations/listskus.d.ts.map +1 -1
- package/esm/models/operations/listskus.js +0 -69
- package/esm/models/operations/listskus.js.map +1 -1
- package/esm/models/operations/listupsellproducts.d.ts +0 -56
- package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
- package/esm/models/operations/listupsellproducts.js +0 -67
- package/esm/models/operations/listupsellproducts.js.map +1 -1
- package/esm/models/operations/listuserreviews.d.ts +0 -56
- package/esm/models/operations/listuserreviews.d.ts.map +1 -1
- package/esm/models/operations/listuserreviews.js +0 -66
- package/esm/models/operations/listuserreviews.js.map +1 -1
- package/esm/models/operations/loginwithemail.d.ts +0 -71
- package/esm/models/operations/loginwithemail.d.ts.map +1 -1
- package/esm/models/operations/loginwithemail.js +0 -91
- package/esm/models/operations/loginwithemail.js.map +1 -1
- package/esm/models/operations/loginwithphone.d.ts +0 -71
- package/esm/models/operations/loginwithphone.d.ts.map +1 -1
- package/esm/models/operations/loginwithphone.js +0 -93
- package/esm/models/operations/loginwithphone.js.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.d.ts +0 -71
- package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.js +0 -93
- package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
- package/esm/models/operations/logout.d.ts +0 -42
- package/esm/models/operations/logout.d.ts.map +1 -1
- package/esm/models/operations/logout.js +0 -45
- package/esm/models/operations/logout.js.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.d.ts +0 -70
- package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.js +0 -83
- package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
- package/esm/models/operations/refreshtoken.d.ts +0 -56
- package/esm/models/operations/refreshtoken.d.ts.map +1 -1
- package/esm/models/operations/refreshtoken.js +0 -66
- package/esm/models/operations/refreshtoken.js.map +1 -1
- package/esm/models/operations/removecoupon.d.ts +0 -55
- package/esm/models/operations/removecoupon.d.ts.map +1 -1
- package/esm/models/operations/removecoupon.js +0 -56
- package/esm/models/operations/removecoupon.js.map +1 -1
- package/esm/models/operations/removeloyaltypoints.d.ts +0 -55
- package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/removeloyaltypoints.js +0 -56
- package/esm/models/operations/removeloyaltypoints.js.map +1 -1
- package/esm/models/operations/retryorderpayment.d.ts +0 -87
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +0 -112
- package/esm/models/operations/retryorderpayment.js.map +1 -1
- package/esm/models/operations/searchproducts.d.ts +0 -84
- package/esm/models/operations/searchproducts.d.ts.map +1 -1
- package/esm/models/operations/searchproducts.js +0 -89
- package/esm/models/operations/searchproducts.js.map +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +0 -70
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/updateaddressdetail.js +0 -110
- package/esm/models/operations/updateaddressdetail.js.map +1 -1
- package/esm/models/operations/updatecart.d.ts +0 -55
- package/esm/models/operations/updatecart.d.ts.map +1 -1
- package/esm/models/operations/updatecart.js +0 -61
- package/esm/models/operations/updatecart.js.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.d.ts +0 -55
- package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.js +0 -61
- package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
- package/esm/models/operations/updateuser.d.ts +0 -55
- package/esm/models/operations/updateuser.d.ts.map +1 -1
- package/esm/models/operations/updateuser.js +0 -61
- package/esm/models/operations/updateuser.js.map +1 -1
- package/esm/models/operations/verifyotp.d.ts +0 -85
- package/esm/models/operations/verifyotp.d.ts.map +1 -1
- package/esm/models/operations/verifyotp.js +1 -84
- package/esm/models/operations/verifyotp.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/anonymoususer.ts +0 -65
- package/src/models/components/appliedcoupon.ts +0 -67
- package/src/models/components/appliedpromotion.ts +0 -77
- package/src/models/components/associatedoption.ts +1 -41
- package/src/models/components/banktransfer.ts +0 -93
- package/src/models/components/booleanattribute.ts +0 -43
- package/src/models/components/cardpayment.ts +0 -108
- package/src/models/components/cart.ts +3 -177
- package/src/models/components/cartbasedserviceabilitycheck.ts +0 -41
- package/src/models/components/cartitem.ts +0 -146
- package/src/models/components/category.ts +0 -48
- package/src/models/components/collectinstore.ts +0 -45
- package/src/models/components/collectinstorefulfillment.ts +0 -64
- package/src/models/components/collectinstorefulfillmentinput.ts +0 -42
- package/src/models/components/colorattribute.ts +0 -76
- package/src/models/components/coloroption.ts +0 -68
- package/src/models/components/currency.ts +0 -35
- package/src/models/components/customeraddress.ts +0 -77
- package/src/models/components/customeraddressinput.ts +0 -59
- package/src/models/components/customerloyalty.ts +0 -61
- package/src/models/components/customerreadyforreview.ts +0 -54
- package/src/models/components/customerreview.ts +0 -208
- package/src/models/components/dateattribute.ts +0 -39
- package/src/models/components/deliveryfulfillment.ts +0 -71
- package/src/models/components/deliveryfulfillmentinput.ts +0 -43
- package/src/models/components/discountbasedpromotion.ts +0 -81
- package/src/models/components/fixedpricepromotion.ts +0 -58
- package/src/models/components/freegoodspromotion.ts +0 -61
- package/src/models/components/fulfillmentitem.ts +0 -48
- package/src/models/components/fulfillmentiteminput.ts +0 -42
- package/src/models/components/fulfillmentpreference.ts +0 -59
- package/src/models/components/fulfillmentpreferenceinput.ts +0 -51
- package/src/models/components/generateotpwithemail.ts +1 -58
- package/src/models/components/generateotpwithphone.ts +2 -75
- package/src/models/components/index.ts +1 -0
- package/src/models/components/item.ts +1 -128
- package/src/models/components/juspayexpresscheckout.ts +0 -44
- package/src/models/components/juspayexpresscheckoutresponse.ts +0 -246
- package/src/models/components/juspayhypercheckout.ts +1 -63
- package/src/models/components/juspayhypercheckoutresponse.ts +0 -220
- package/src/models/components/juspaynetbanking.ts +3 -57
- package/src/models/components/juspaynewcard.ts +4 -92
- package/src/models/components/juspaysavedcardtoken.ts +4 -87
- package/src/models/components/juspayupicollect.ts +3 -59
- package/src/models/components/juspayupiintent.ts +3 -61
- package/src/models/components/lotbatchdetail.ts +0 -46
- package/src/models/components/multiselectattribute.ts +0 -43
- package/src/models/components/netbankingpayment.ts +0 -94
- package/src/models/components/notificationchannelpreferences.ts +0 -15
- package/src/models/components/notificationpreferences.ts +0 -15
- package/src/models/components/numberattribute.ts +0 -41
- package/src/models/components/order.ts +2 -327
- package/src/models/components/orderdetail.ts +3 -346
- package/src/models/components/orderitem.ts +0 -144
- package/src/models/components/orderlist.ts +1 -161
- package/src/models/components/orderpayment.ts +4 -64
- package/src/models/components/ordershipment.ts +6 -133
- package/src/models/components/pagination.ts +0 -46
- package/src/models/components/partialcollectanddelivery.ts +0 -165
- package/src/models/components/partialcollectanddeliveryinput.ts +0 -133
- package/src/models/components/paymentmethodpayload.ts +0 -38
- package/src/models/components/payupaymentinfo.ts +0 -103
- package/src/models/components/pincode.ts +0 -45
- package/src/models/components/pincodeserviceability.ts +0 -203
- package/src/models/components/product.ts +4 -147
- package/src/models/components/productattribute.ts +2 -90
- package/src/models/components/productbundleitem.ts +1 -137
- package/src/models/components/productcategory.ts +1 -59
- package/src/models/components/productdetail.ts +6 -180
- package/src/models/components/productimage.ts +0 -54
- package/src/models/components/productpricing.ts +0 -61
- package/src/models/components/productpromotion.ts +0 -131
- package/src/models/components/productreview.ts +0 -194
- package/src/models/components/productshipping.ts +0 -46
- package/src/models/components/productsubscription.ts +0 -103
- package/src/models/components/productvideo.ts +0 -55
- package/src/models/components/savedpaymentmethod.ts +0 -362
- package/src/models/components/searchproduct.ts +0 -38
- package/src/models/components/security.ts +0 -39
- package/src/models/components/seo.ts +0 -34
- package/src/models/components/shipmentitem.ts +0 -51
- package/src/models/components/shipmentstatus.ts +34 -0
- package/src/models/components/singleselectattribute.ts +0 -43
- package/src/models/components/singleselectoption.ts +0 -39
- package/src/models/components/textattribute.ts +0 -39
- package/src/models/components/updatecartitem.ts +0 -42
- package/src/models/components/upipayment.ts +0 -90
- package/src/models/components/user.ts +0 -131
- package/src/models/components/variant.ts +1 -94
- package/src/models/components/variantdetail.ts +4 -168
- package/src/models/components/variantoption.ts +0 -107
- package/src/models/components/volumebasedpromotion.ts +0 -96
- package/src/models/components/walletpayment.ts +0 -90
- package/src/models/errors/badrequest.ts +0 -62
- package/src/models/errors/notfound.ts +0 -33
- package/src/models/errors/unauthorized.ts +0 -33
- package/src/models/operations/applycoupon.ts +0 -147
- package/src/models/operations/cancelorder.ts +1 -169
- package/src/models/operations/checkpincodeserviceability.ts +0 -119
- package/src/models/operations/createaddress.ts +0 -172
- package/src/models/operations/createcart.ts +0 -107
- package/src/models/operations/createcartaddress.ts +0 -225
- package/src/models/operations/createorder.ts +0 -162
- package/src/models/operations/deleteaddress.ts +0 -75
- package/src/models/operations/deletecart.ts +0 -69
- package/src/models/operations/deleteusercart.ts +0 -73
- package/src/models/operations/generateotp.ts +0 -155
- package/src/models/operations/getaddressdetail.ts +0 -195
- package/src/models/operations/getanonymoustoken.ts +0 -117
- package/src/models/operations/getcart.ts +0 -102
- package/src/models/operations/getfulfillmentoptions.ts +0 -143
- package/src/models/operations/getloyaltydetails.ts +0 -118
- package/src/models/operations/getorderdetail.ts +0 -110
- package/src/models/operations/getpaymentstatus.ts +0 -139
- package/src/models/operations/getproductdetail.ts +0 -115
- package/src/models/operations/getusercart.ts +0 -110
- package/src/models/operations/getuserdetail.ts +0 -106
- package/src/models/operations/getvariantdetail.ts +0 -117
- package/src/models/operations/listaddresses.ts +0 -196
- package/src/models/operations/listcategories.ts +0 -119
- package/src/models/operations/listcountrypincodes.ts +0 -115
- package/src/models/operations/listcrosssellproducts.ts +0 -123
- package/src/models/operations/listorders.ts +0 -117
- package/src/models/operations/listordershipments.ts +0 -112
- package/src/models/operations/listproductreviews.ts +0 -127
- package/src/models/operations/listproducts.ts +0 -121
- package/src/models/operations/listproductvariants.ts +0 -115
- package/src/models/operations/listsavedpaymentmethods.ts +0 -121
- package/src/models/operations/listsimilarproducts.ts +0 -120
- package/src/models/operations/listskus.ts +0 -118
- package/src/models/operations/listupsellproducts.ts +0 -120
- package/src/models/operations/listuserreviews.ts +0 -121
- package/src/models/operations/loginwithemail.ts +0 -156
- package/src/models/operations/loginwithphone.ts +0 -158
- package/src/models/operations/loginwithwhatsapp.ts +0 -160
- package/src/models/operations/logout.ts +0 -79
- package/src/models/operations/redeemloyaltypoints.ts +0 -149
- package/src/models/operations/refreshtoken.ts +0 -117
- package/src/models/operations/removecoupon.ts +0 -106
- package/src/models/operations/removeloyaltypoints.ts +0 -108
- package/src/models/operations/retryorderpayment.ts +0 -201
- package/src/models/operations/searchproducts.ts +0 -156
- package/src/models/operations/updateaddressdetail.ts +0 -178
- package/src/models/operations/updatecart.ts +0 -111
- package/src/models/operations/updatefulfillmentpreference.ts +0 -121
- package/src/models/operations/updateuser.ts +0 -111
- package/src/models/operations/verifyotp.ts +1 -138
- package/docs/sdks/auth/README.md +0 -874
- package/docs/sdks/carts/README.md +0 -1030
- package/docs/sdks/catalog/README.md +0 -876
- package/docs/sdks/common/README.md +0 -87
- package/docs/sdks/customers/README.md +0 -714
- package/docs/sdks/orders/README.md +0 -571
- package/docs/sdks/shipping/README.md +0 -169
- package/examples/README.md +0 -31
package/docs/sdks/auth/README.md
DELETED
|
@@ -1,874 +0,0 @@
|
|
|
1
|
-
# Auth
|
|
2
|
-
(*auth*)
|
|
3
|
-
|
|
4
|
-
## Overview
|
|
5
|
-
|
|
6
|
-
### Available Operations
|
|
7
|
-
|
|
8
|
-
* [getAnonymousToken](#getanonymoustoken) - Anonymous user
|
|
9
|
-
* [generateOtp](#generateotp) - Generate OTP
|
|
10
|
-
* [loginWithEmail](#loginwithemail) - Login with email
|
|
11
|
-
* [loginWithPhone](#loginwithphone) - Login with phone
|
|
12
|
-
* [loginWithWhatsapp](#loginwithwhatsapp) - Login with whatsapp
|
|
13
|
-
* [logout](#logout) - Logout user
|
|
14
|
-
* [refreshToken](#refreshtoken) - Refresh access token
|
|
15
|
-
* [getUserDetail](#getuserdetail) - Retrieve a user
|
|
16
|
-
* [updateUser](#updateuser) - Update a user
|
|
17
|
-
* [verifyOtp](#verifyotp) - Verify OTP
|
|
18
|
-
|
|
19
|
-
## getAnonymousToken
|
|
20
|
-
|
|
21
|
-
This API’s focus is on anonymous users who have not undergone the formal account creation process. These anonymous users are associated with a unique ID, ensuring that even in the absence of a fully realized account, there is a distinct and trackable identity for each user.
|
|
22
|
-
To interact with the system, each anonymous user is issued an access token. This access token plays a dual role in the system: it serves as a means of authenticating the user and it also acts as a tool for authorization, determining what actions the authenticated user is permitted to perform.
|
|
23
|
-
|
|
24
|
-
API reference for the get-anonymous-token operation
|
|
25
|
-
<https://llm-docs.commercengine.io/storefront/operations/get-anonymous-token>
|
|
26
|
-
|
|
27
|
-
### Example Usage
|
|
28
|
-
|
|
29
|
-
<!-- UsageSnippet language="typescript" operationID="get-anonymous-token" method="post" path="/auth/anonymous" -->
|
|
30
|
-
```typescript
|
|
31
|
-
import { CeStorefront } from "ce-storefront";
|
|
32
|
-
|
|
33
|
-
const ceStorefront = new CeStorefront();
|
|
34
|
-
|
|
35
|
-
async function run() {
|
|
36
|
-
const result = await ceStorefront.auth.getAnonymousToken({
|
|
37
|
-
xApiKey: "<YOUR_API_KEY_HERE>",
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
console.log(result);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
run();
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### Standalone function
|
|
47
|
-
|
|
48
|
-
The standalone function version of this method:
|
|
49
|
-
|
|
50
|
-
```typescript
|
|
51
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
52
|
-
import { authGetAnonymousToken } from "ce-storefront/funcs/authGetAnonymousToken.js";
|
|
53
|
-
|
|
54
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
55
|
-
// You can create one instance of it to use across an application.
|
|
56
|
-
const ceStorefront = new CeStorefrontCore();
|
|
57
|
-
|
|
58
|
-
async function run() {
|
|
59
|
-
const res = await authGetAnonymousToken(ceStorefront, {
|
|
60
|
-
xApiKey: "<YOUR_API_KEY_HERE>",
|
|
61
|
-
});
|
|
62
|
-
if (res.ok) {
|
|
63
|
-
const { value: result } = res;
|
|
64
|
-
console.log(result);
|
|
65
|
-
} else {
|
|
66
|
-
console.log("authGetAnonymousToken failed:", res.error);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
run();
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
### Parameters
|
|
74
|
-
|
|
75
|
-
| Parameter | Type | Required | Description |
|
|
76
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
77
|
-
| `security` | [operations.GetAnonymousTokenSecurity](../../models/operations/getanonymoustokensecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
78
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
79
|
-
| `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. |
|
|
80
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
81
|
-
|
|
82
|
-
### Response
|
|
83
|
-
|
|
84
|
-
**Promise\<[operations.GetAnonymousTokenResponseBody](../../models/operations/getanonymoustokenresponsebody.md)\>**
|
|
85
|
-
|
|
86
|
-
### Errors
|
|
87
|
-
|
|
88
|
-
| Error Type | Status Code | Content Type |
|
|
89
|
-
| ------------------- | ------------------- | ------------------- |
|
|
90
|
-
| errors.BadRequest | 400 | application/json |
|
|
91
|
-
| errors.Unauthorized | 401 | application/json |
|
|
92
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
93
|
-
|
|
94
|
-
## generateOtp
|
|
95
|
-
|
|
96
|
-
Generating a One-Time Password (OTP) typically involves creating a random code that is sent to a user for authentication or verification purposes.
|
|
97
|
-
|
|
98
|
-
API reference for the generate-otp operation
|
|
99
|
-
<https://llm-docs.commercengine.io/storefront/operations/generate-otp>
|
|
100
|
-
|
|
101
|
-
### Example Usage
|
|
102
|
-
|
|
103
|
-
<!-- UsageSnippet language="typescript" operationID="generate-otp" method="post" path="/auth/generate-otp" -->
|
|
104
|
-
```typescript
|
|
105
|
-
import { CeStorefront } from "ce-storefront";
|
|
106
|
-
|
|
107
|
-
const ceStorefront = new CeStorefront({
|
|
108
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
async function run() {
|
|
112
|
-
const result = await ceStorefront.auth.generateOtp({
|
|
113
|
-
requestBody: {
|
|
114
|
-
channel: "email",
|
|
115
|
-
email: "Ahmed80@gmail.com",
|
|
116
|
-
otpAction: "verify-email",
|
|
117
|
-
},
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
console.log(result);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
run();
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
### Standalone function
|
|
127
|
-
|
|
128
|
-
The standalone function version of this method:
|
|
129
|
-
|
|
130
|
-
```typescript
|
|
131
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
132
|
-
import { authGenerateOtp } from "ce-storefront/funcs/authGenerateOtp.js";
|
|
133
|
-
|
|
134
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
135
|
-
// You can create one instance of it to use across an application.
|
|
136
|
-
const ceStorefront = new CeStorefrontCore({
|
|
137
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
async function run() {
|
|
141
|
-
const res = await authGenerateOtp(ceStorefront, {
|
|
142
|
-
requestBody: {
|
|
143
|
-
channel: "email",
|
|
144
|
-
email: "Ahmed80@gmail.com",
|
|
145
|
-
otpAction: "verify-email",
|
|
146
|
-
},
|
|
147
|
-
});
|
|
148
|
-
if (res.ok) {
|
|
149
|
-
const { value: result } = res;
|
|
150
|
-
console.log(result);
|
|
151
|
-
} else {
|
|
152
|
-
console.log("authGenerateOtp failed:", res.error);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
run();
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### Parameters
|
|
160
|
-
|
|
161
|
-
| Parameter | Type | Required | Description |
|
|
162
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
163
|
-
| `request` | [operations.GenerateOtpRequest](../../models/operations/generateotprequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
164
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
165
|
-
| `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. |
|
|
166
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
167
|
-
|
|
168
|
-
### Response
|
|
169
|
-
|
|
170
|
-
**Promise\<[operations.GenerateOtpResponseBody](../../models/operations/generateotpresponsebody.md)\>**
|
|
171
|
-
|
|
172
|
-
### Errors
|
|
173
|
-
|
|
174
|
-
| Error Type | Status Code | Content Type |
|
|
175
|
-
| ------------------- | ------------------- | ------------------- |
|
|
176
|
-
| errors.BadRequest | 400 | application/json |
|
|
177
|
-
| errors.Unauthorized | 401 | application/json |
|
|
178
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
179
|
-
|
|
180
|
-
## loginWithEmail
|
|
181
|
-
|
|
182
|
-
This API enables users to authenticate into the system using their email address. It provides a secure way for users to Login by verifying their identity through a one-time password (OTP) sent to their email address.
|
|
183
|
-
|
|
184
|
-
API reference for the login-with-email operation
|
|
185
|
-
<https://llm-docs.commercengine.io/storefront/operations/login-with-email>
|
|
186
|
-
|
|
187
|
-
### Example Usage
|
|
188
|
-
|
|
189
|
-
<!-- UsageSnippet language="typescript" operationID="login-with-email" method="post" path="/auth/login/email" -->
|
|
190
|
-
```typescript
|
|
191
|
-
import { CeStorefront } from "ce-storefront";
|
|
192
|
-
|
|
193
|
-
const ceStorefront = new CeStorefront({
|
|
194
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
195
|
-
});
|
|
196
|
-
|
|
197
|
-
async function run() {
|
|
198
|
-
const result = await ceStorefront.auth.loginWithEmail({
|
|
199
|
-
requestBody: {
|
|
200
|
-
email: "Dax_Wisoky@gmail.com",
|
|
201
|
-
},
|
|
202
|
-
});
|
|
203
|
-
|
|
204
|
-
console.log(result);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
run();
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
### Standalone function
|
|
211
|
-
|
|
212
|
-
The standalone function version of this method:
|
|
213
|
-
|
|
214
|
-
```typescript
|
|
215
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
216
|
-
import { authLoginWithEmail } from "ce-storefront/funcs/authLoginWithEmail.js";
|
|
217
|
-
|
|
218
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
219
|
-
// You can create one instance of it to use across an application.
|
|
220
|
-
const ceStorefront = new CeStorefrontCore({
|
|
221
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
222
|
-
});
|
|
223
|
-
|
|
224
|
-
async function run() {
|
|
225
|
-
const res = await authLoginWithEmail(ceStorefront, {
|
|
226
|
-
requestBody: {
|
|
227
|
-
email: "Dax_Wisoky@gmail.com",
|
|
228
|
-
},
|
|
229
|
-
});
|
|
230
|
-
if (res.ok) {
|
|
231
|
-
const { value: result } = res;
|
|
232
|
-
console.log(result);
|
|
233
|
-
} else {
|
|
234
|
-
console.log("authLoginWithEmail failed:", res.error);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
run();
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
### Parameters
|
|
242
|
-
|
|
243
|
-
| Parameter | Type | Required | Description |
|
|
244
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
245
|
-
| `request` | [operations.LoginWithEmailRequest](../../models/operations/loginwithemailrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
246
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
247
|
-
| `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. |
|
|
248
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
249
|
-
|
|
250
|
-
### Response
|
|
251
|
-
|
|
252
|
-
**Promise\<[operations.LoginWithEmailResponseBody](../../models/operations/loginwithemailresponsebody.md)\>**
|
|
253
|
-
|
|
254
|
-
### Errors
|
|
255
|
-
|
|
256
|
-
| Error Type | Status Code | Content Type |
|
|
257
|
-
| ------------------- | ------------------- | ------------------- |
|
|
258
|
-
| errors.BadRequest | 400 | application/json |
|
|
259
|
-
| errors.Unauthorized | 401 | application/json |
|
|
260
|
-
| errors.NotFound | 404 | application/json |
|
|
261
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
262
|
-
|
|
263
|
-
## loginWithPhone
|
|
264
|
-
|
|
265
|
-
This API enables users to authenticate into the system using their phone number. It provides a secure way for users to log in by verifying their identity through a one-time password (OTP) sent to their registered phone.
|
|
266
|
-
|
|
267
|
-
API reference for the login-with-phone operation
|
|
268
|
-
<https://llm-docs.commercengine.io/storefront/operations/login-with-phone>
|
|
269
|
-
|
|
270
|
-
### Example Usage
|
|
271
|
-
|
|
272
|
-
<!-- UsageSnippet language="typescript" operationID="login-with-phone" method="post" path="/auth/login/phone" -->
|
|
273
|
-
```typescript
|
|
274
|
-
import { CeStorefront } from "ce-storefront";
|
|
275
|
-
|
|
276
|
-
const ceStorefront = new CeStorefront({
|
|
277
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
278
|
-
});
|
|
279
|
-
|
|
280
|
-
async function run() {
|
|
281
|
-
const result = await ceStorefront.auth.loginWithPhone({
|
|
282
|
-
requestBody: {
|
|
283
|
-
phone: "(553) 856-7634 x016",
|
|
284
|
-
},
|
|
285
|
-
});
|
|
286
|
-
|
|
287
|
-
console.log(result);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
run();
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
### Standalone function
|
|
294
|
-
|
|
295
|
-
The standalone function version of this method:
|
|
296
|
-
|
|
297
|
-
```typescript
|
|
298
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
299
|
-
import { authLoginWithPhone } from "ce-storefront/funcs/authLoginWithPhone.js";
|
|
300
|
-
|
|
301
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
302
|
-
// You can create one instance of it to use across an application.
|
|
303
|
-
const ceStorefront = new CeStorefrontCore({
|
|
304
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
305
|
-
});
|
|
306
|
-
|
|
307
|
-
async function run() {
|
|
308
|
-
const res = await authLoginWithPhone(ceStorefront, {
|
|
309
|
-
requestBody: {
|
|
310
|
-
phone: "(553) 856-7634 x016",
|
|
311
|
-
},
|
|
312
|
-
});
|
|
313
|
-
if (res.ok) {
|
|
314
|
-
const { value: result } = res;
|
|
315
|
-
console.log(result);
|
|
316
|
-
} else {
|
|
317
|
-
console.log("authLoginWithPhone failed:", res.error);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
run();
|
|
322
|
-
```
|
|
323
|
-
|
|
324
|
-
### Parameters
|
|
325
|
-
|
|
326
|
-
| Parameter | Type | Required | Description |
|
|
327
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
328
|
-
| `request` | [operations.LoginWithPhoneRequest](../../models/operations/loginwithphonerequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
329
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
330
|
-
| `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. |
|
|
331
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
332
|
-
|
|
333
|
-
### Response
|
|
334
|
-
|
|
335
|
-
**Promise\<[operations.LoginWithPhoneResponseBody](../../models/operations/loginwithphoneresponsebody.md)\>**
|
|
336
|
-
|
|
337
|
-
### Errors
|
|
338
|
-
|
|
339
|
-
| Error Type | Status Code | Content Type |
|
|
340
|
-
| ------------------- | ------------------- | ------------------- |
|
|
341
|
-
| errors.BadRequest | 400 | application/json |
|
|
342
|
-
| errors.Unauthorized | 401 | application/json |
|
|
343
|
-
| errors.NotFound | 404 | application/json |
|
|
344
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
345
|
-
|
|
346
|
-
## loginWithWhatsapp
|
|
347
|
-
|
|
348
|
-
This API enables users to authenticate into the system using their WhatsApp Number. It provides a secure way for users to Login by verifying their identity through a one-time password (OTP) sent to their WhatsApp Number.
|
|
349
|
-
|
|
350
|
-
API reference for the login-with-whatsapp operation
|
|
351
|
-
<https://llm-docs.commercengine.io/storefront/operations/login-with-whatsapp>
|
|
352
|
-
|
|
353
|
-
### Example Usage
|
|
354
|
-
|
|
355
|
-
<!-- UsageSnippet language="typescript" operationID="login-with-whatsapp" method="post" path="/auth/login/whatsapp" -->
|
|
356
|
-
```typescript
|
|
357
|
-
import { CeStorefront } from "ce-storefront";
|
|
358
|
-
|
|
359
|
-
const ceStorefront = new CeStorefront({
|
|
360
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
361
|
-
});
|
|
362
|
-
|
|
363
|
-
async function run() {
|
|
364
|
-
const result = await ceStorefront.auth.loginWithWhatsapp({
|
|
365
|
-
requestBody: {
|
|
366
|
-
phone: "(797) 625-7467 x574",
|
|
367
|
-
},
|
|
368
|
-
});
|
|
369
|
-
|
|
370
|
-
console.log(result);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
run();
|
|
374
|
-
```
|
|
375
|
-
|
|
376
|
-
### Standalone function
|
|
377
|
-
|
|
378
|
-
The standalone function version of this method:
|
|
379
|
-
|
|
380
|
-
```typescript
|
|
381
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
382
|
-
import { authLoginWithWhatsapp } from "ce-storefront/funcs/authLoginWithWhatsapp.js";
|
|
383
|
-
|
|
384
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
385
|
-
// You can create one instance of it to use across an application.
|
|
386
|
-
const ceStorefront = new CeStorefrontCore({
|
|
387
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
388
|
-
});
|
|
389
|
-
|
|
390
|
-
async function run() {
|
|
391
|
-
const res = await authLoginWithWhatsapp(ceStorefront, {
|
|
392
|
-
requestBody: {
|
|
393
|
-
phone: "(797) 625-7467 x574",
|
|
394
|
-
},
|
|
395
|
-
});
|
|
396
|
-
if (res.ok) {
|
|
397
|
-
const { value: result } = res;
|
|
398
|
-
console.log(result);
|
|
399
|
-
} else {
|
|
400
|
-
console.log("authLoginWithWhatsapp failed:", res.error);
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
run();
|
|
405
|
-
```
|
|
406
|
-
|
|
407
|
-
### Parameters
|
|
408
|
-
|
|
409
|
-
| Parameter | Type | Required | Description |
|
|
410
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
411
|
-
| `request` | [operations.LoginWithWhatsappRequest](../../models/operations/loginwithwhatsapprequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
412
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
413
|
-
| `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. |
|
|
414
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
415
|
-
|
|
416
|
-
### Response
|
|
417
|
-
|
|
418
|
-
**Promise\<[operations.LoginWithWhatsappResponseBody](../../models/operations/loginwithwhatsappresponsebody.md)\>**
|
|
419
|
-
|
|
420
|
-
### Errors
|
|
421
|
-
|
|
422
|
-
| Error Type | Status Code | Content Type |
|
|
423
|
-
| ------------------- | ------------------- | ------------------- |
|
|
424
|
-
| errors.BadRequest | 400 | application/json |
|
|
425
|
-
| errors.Unauthorized | 401 | application/json |
|
|
426
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
427
|
-
|
|
428
|
-
## logout
|
|
429
|
-
|
|
430
|
-
The Logout User API initiate the logout process for a user. Upon a successful request, the API responds with a confirmation message. If the user is not found or there's an issue with the request, an error response is returned with an appropriate message.
|
|
431
|
-
|
|
432
|
-
API reference for the logout operation
|
|
433
|
-
<https://llm-docs.commercengine.io/storefront/operations/logout>
|
|
434
|
-
|
|
435
|
-
### Example Usage
|
|
436
|
-
|
|
437
|
-
<!-- UsageSnippet language="typescript" operationID="logout" method="post" path="/auth/logout" -->
|
|
438
|
-
```typescript
|
|
439
|
-
import { CeStorefront } from "ce-storefront";
|
|
440
|
-
|
|
441
|
-
const ceStorefront = new CeStorefront({
|
|
442
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
443
|
-
});
|
|
444
|
-
|
|
445
|
-
async function run() {
|
|
446
|
-
const result = await ceStorefront.auth.logout();
|
|
447
|
-
|
|
448
|
-
console.log(result);
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
run();
|
|
452
|
-
```
|
|
453
|
-
|
|
454
|
-
### Standalone function
|
|
455
|
-
|
|
456
|
-
The standalone function version of this method:
|
|
457
|
-
|
|
458
|
-
```typescript
|
|
459
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
460
|
-
import { authLogout } from "ce-storefront/funcs/authLogout.js";
|
|
461
|
-
|
|
462
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
463
|
-
// You can create one instance of it to use across an application.
|
|
464
|
-
const ceStorefront = new CeStorefrontCore({
|
|
465
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
466
|
-
});
|
|
467
|
-
|
|
468
|
-
async function run() {
|
|
469
|
-
const res = await authLogout(ceStorefront);
|
|
470
|
-
if (res.ok) {
|
|
471
|
-
const { value: result } = res;
|
|
472
|
-
console.log(result);
|
|
473
|
-
} else {
|
|
474
|
-
console.log("authLogout failed:", res.error);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
run();
|
|
479
|
-
```
|
|
480
|
-
|
|
481
|
-
### Parameters
|
|
482
|
-
|
|
483
|
-
| Parameter | Type | Required | Description |
|
|
484
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
485
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
486
|
-
| `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. |
|
|
487
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
488
|
-
|
|
489
|
-
### Response
|
|
490
|
-
|
|
491
|
-
**Promise\<[operations.LogoutResponseBody](../../models/operations/logoutresponsebody.md)\>**
|
|
492
|
-
|
|
493
|
-
### Errors
|
|
494
|
-
|
|
495
|
-
| Error Type | Status Code | Content Type |
|
|
496
|
-
| ------------------- | ------------------- | ------------------- |
|
|
497
|
-
| errors.BadRequest | 400 | application/json |
|
|
498
|
-
| errors.Unauthorized | 401 | application/json |
|
|
499
|
-
| errors.NotFound | 404 | application/json |
|
|
500
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
501
|
-
|
|
502
|
-
## refreshToken
|
|
503
|
-
|
|
504
|
-
The Refresh Access Token API is an integral component designed to enhance security and user experience. It enables clients to refresh their access tokens seamlessly, extending user sessions without compromising security.
|
|
505
|
-
|
|
506
|
-
API reference for the refresh-token operation
|
|
507
|
-
<https://llm-docs.commercengine.io/storefront/operations/refresh-token>
|
|
508
|
-
|
|
509
|
-
### Example Usage
|
|
510
|
-
|
|
511
|
-
<!-- UsageSnippet language="typescript" operationID="refresh-token" method="post" path="/auth/refresh-token" -->
|
|
512
|
-
```typescript
|
|
513
|
-
import { CeStorefront } from "ce-storefront";
|
|
514
|
-
|
|
515
|
-
const ceStorefront = new CeStorefront({
|
|
516
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
517
|
-
});
|
|
518
|
-
|
|
519
|
-
async function run() {
|
|
520
|
-
const result = await ceStorefront.auth.refreshToken({
|
|
521
|
-
refreshToken: "<value>",
|
|
522
|
-
});
|
|
523
|
-
|
|
524
|
-
console.log(result);
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
run();
|
|
528
|
-
```
|
|
529
|
-
|
|
530
|
-
### Standalone function
|
|
531
|
-
|
|
532
|
-
The standalone function version of this method:
|
|
533
|
-
|
|
534
|
-
```typescript
|
|
535
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
536
|
-
import { authRefreshToken } from "ce-storefront/funcs/authRefreshToken.js";
|
|
537
|
-
|
|
538
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
539
|
-
// You can create one instance of it to use across an application.
|
|
540
|
-
const ceStorefront = new CeStorefrontCore({
|
|
541
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
542
|
-
});
|
|
543
|
-
|
|
544
|
-
async function run() {
|
|
545
|
-
const res = await authRefreshToken(ceStorefront, {
|
|
546
|
-
refreshToken: "<value>",
|
|
547
|
-
});
|
|
548
|
-
if (res.ok) {
|
|
549
|
-
const { value: result } = res;
|
|
550
|
-
console.log(result);
|
|
551
|
-
} else {
|
|
552
|
-
console.log("authRefreshToken failed:", res.error);
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
run();
|
|
557
|
-
```
|
|
558
|
-
|
|
559
|
-
### Parameters
|
|
560
|
-
|
|
561
|
-
| Parameter | Type | Required | Description |
|
|
562
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
563
|
-
| `request` | [operations.RefreshTokenRequestBody](../../models/operations/refreshtokenrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
564
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
565
|
-
| `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. |
|
|
566
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
567
|
-
|
|
568
|
-
### Response
|
|
569
|
-
|
|
570
|
-
**Promise\<[operations.RefreshTokenResponseBody](../../models/operations/refreshtokenresponsebody.md)\>**
|
|
571
|
-
|
|
572
|
-
### Errors
|
|
573
|
-
|
|
574
|
-
| Error Type | Status Code | Content Type |
|
|
575
|
-
| ----------------- | ----------------- | ----------------- |
|
|
576
|
-
| errors.BadRequest | 400 | application/json |
|
|
577
|
-
| errors.NotFound | 404 | application/json |
|
|
578
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
579
|
-
|
|
580
|
-
## getUserDetail
|
|
581
|
-
|
|
582
|
-
The Retrieve User API is designed to facilitate the retrieval of comprehensive user information from the system. A required parameter is a user-id of the user whose information needs to be retrieved.
|
|
583
|
-
|
|
584
|
-
API reference for the get-user-detail operation
|
|
585
|
-
<https://llm-docs.commercengine.io/storefront/operations/get-user-detail>
|
|
586
|
-
|
|
587
|
-
### Example Usage
|
|
588
|
-
|
|
589
|
-
<!-- UsageSnippet language="typescript" operationID="get-user-detail" method="get" path="/auth/user/{id}" -->
|
|
590
|
-
```typescript
|
|
591
|
-
import { CeStorefront } from "ce-storefront";
|
|
592
|
-
|
|
593
|
-
const ceStorefront = new CeStorefront({
|
|
594
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
595
|
-
});
|
|
596
|
-
|
|
597
|
-
async function run() {
|
|
598
|
-
const result = await ceStorefront.auth.getUserDetail({
|
|
599
|
-
id: "<id>",
|
|
600
|
-
});
|
|
601
|
-
|
|
602
|
-
console.log(result);
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
run();
|
|
606
|
-
```
|
|
607
|
-
|
|
608
|
-
### Standalone function
|
|
609
|
-
|
|
610
|
-
The standalone function version of this method:
|
|
611
|
-
|
|
612
|
-
```typescript
|
|
613
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
614
|
-
import { authGetUserDetail } from "ce-storefront/funcs/authGetUserDetail.js";
|
|
615
|
-
|
|
616
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
617
|
-
// You can create one instance of it to use across an application.
|
|
618
|
-
const ceStorefront = new CeStorefrontCore({
|
|
619
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
620
|
-
});
|
|
621
|
-
|
|
622
|
-
async function run() {
|
|
623
|
-
const res = await authGetUserDetail(ceStorefront, {
|
|
624
|
-
id: "<id>",
|
|
625
|
-
});
|
|
626
|
-
if (res.ok) {
|
|
627
|
-
const { value: result } = res;
|
|
628
|
-
console.log(result);
|
|
629
|
-
} else {
|
|
630
|
-
console.log("authGetUserDetail failed:", res.error);
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
run();
|
|
635
|
-
```
|
|
636
|
-
|
|
637
|
-
### Parameters
|
|
638
|
-
|
|
639
|
-
| Parameter | Type | Required | Description |
|
|
640
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
641
|
-
| `request` | [operations.GetUserDetailRequest](../../models/operations/getuserdetailrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
642
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
643
|
-
| `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. |
|
|
644
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
645
|
-
|
|
646
|
-
### Response
|
|
647
|
-
|
|
648
|
-
**Promise\<[operations.GetUserDetailResponseBody](../../models/operations/getuserdetailresponsebody.md)\>**
|
|
649
|
-
|
|
650
|
-
### Errors
|
|
651
|
-
|
|
652
|
-
| Error Type | Status Code | Content Type |
|
|
653
|
-
| ------------------- | ------------------- | ------------------- |
|
|
654
|
-
| errors.BadRequest | 400 | application/json |
|
|
655
|
-
| errors.Unauthorized | 401 | application/json |
|
|
656
|
-
| errors.NotFound | 404 | application/json |
|
|
657
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
658
|
-
|
|
659
|
-
## updateUser
|
|
660
|
-
|
|
661
|
-
The Update User API helps to efficiently modify and enhance user information within the system, ensuring that user profiles remain accurate and up-to-date. This API provides a secure and flexible mechanism for updating specific details while maintaining adherence to established conventions.
|
|
662
|
-
|
|
663
|
-
API reference for the update-user operation
|
|
664
|
-
<https://llm-docs.commercengine.io/storefront/operations/update-user>
|
|
665
|
-
|
|
666
|
-
### Example Usage
|
|
667
|
-
|
|
668
|
-
<!-- UsageSnippet language="typescript" operationID="update-user" method="put" path="/auth/user/{id}" -->
|
|
669
|
-
```typescript
|
|
670
|
-
import { CeStorefront } from "ce-storefront";
|
|
671
|
-
|
|
672
|
-
const ceStorefront = new CeStorefront({
|
|
673
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
674
|
-
});
|
|
675
|
-
|
|
676
|
-
async function run() {
|
|
677
|
-
const result = await ceStorefront.auth.updateUser({
|
|
678
|
-
id: "<id>",
|
|
679
|
-
user: {
|
|
680
|
-
firstName: "Arvilla",
|
|
681
|
-
lastName: "Hauck",
|
|
682
|
-
email: "Eleanore53@hotmail.com",
|
|
683
|
-
phone: "(229) 696-6194 x7288",
|
|
684
|
-
countryCode: "SO",
|
|
685
|
-
profileImageUrl: null,
|
|
686
|
-
loginMethods: [
|
|
687
|
-
"password",
|
|
688
|
-
],
|
|
689
|
-
notificationPreferences: {
|
|
690
|
-
transactional: {
|
|
691
|
-
email: true,
|
|
692
|
-
sms: false,
|
|
693
|
-
whatsapp: false,
|
|
694
|
-
},
|
|
695
|
-
promotional: {
|
|
696
|
-
email: true,
|
|
697
|
-
sms: true,
|
|
698
|
-
whatsapp: false,
|
|
699
|
-
},
|
|
700
|
-
newsletter: {
|
|
701
|
-
email: true,
|
|
702
|
-
sms: true,
|
|
703
|
-
whatsapp: true,
|
|
704
|
-
},
|
|
705
|
-
},
|
|
706
|
-
},
|
|
707
|
-
});
|
|
708
|
-
|
|
709
|
-
console.log(result);
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
run();
|
|
713
|
-
```
|
|
714
|
-
|
|
715
|
-
### Standalone function
|
|
716
|
-
|
|
717
|
-
The standalone function version of this method:
|
|
718
|
-
|
|
719
|
-
```typescript
|
|
720
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
721
|
-
import { authUpdateUser } from "ce-storefront/funcs/authUpdateUser.js";
|
|
722
|
-
|
|
723
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
724
|
-
// You can create one instance of it to use across an application.
|
|
725
|
-
const ceStorefront = new CeStorefrontCore({
|
|
726
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
727
|
-
});
|
|
728
|
-
|
|
729
|
-
async function run() {
|
|
730
|
-
const res = await authUpdateUser(ceStorefront, {
|
|
731
|
-
id: "<id>",
|
|
732
|
-
user: {
|
|
733
|
-
firstName: "Arvilla",
|
|
734
|
-
lastName: "Hauck",
|
|
735
|
-
email: "Eleanore53@hotmail.com",
|
|
736
|
-
phone: "(229) 696-6194 x7288",
|
|
737
|
-
countryCode: "SO",
|
|
738
|
-
profileImageUrl: null,
|
|
739
|
-
loginMethods: [
|
|
740
|
-
"password",
|
|
741
|
-
],
|
|
742
|
-
notificationPreferences: {
|
|
743
|
-
transactional: {
|
|
744
|
-
email: true,
|
|
745
|
-
sms: false,
|
|
746
|
-
whatsapp: false,
|
|
747
|
-
},
|
|
748
|
-
promotional: {
|
|
749
|
-
email: true,
|
|
750
|
-
sms: true,
|
|
751
|
-
whatsapp: false,
|
|
752
|
-
},
|
|
753
|
-
newsletter: {
|
|
754
|
-
email: true,
|
|
755
|
-
sms: true,
|
|
756
|
-
whatsapp: true,
|
|
757
|
-
},
|
|
758
|
-
},
|
|
759
|
-
},
|
|
760
|
-
});
|
|
761
|
-
if (res.ok) {
|
|
762
|
-
const { value: result } = res;
|
|
763
|
-
console.log(result);
|
|
764
|
-
} else {
|
|
765
|
-
console.log("authUpdateUser failed:", res.error);
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
run();
|
|
770
|
-
```
|
|
771
|
-
|
|
772
|
-
### Parameters
|
|
773
|
-
|
|
774
|
-
| Parameter | Type | Required | Description |
|
|
775
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
776
|
-
| `request` | [operations.UpdateUserRequest](../../models/operations/updateuserrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
777
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
778
|
-
| `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. |
|
|
779
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
780
|
-
|
|
781
|
-
### Response
|
|
782
|
-
|
|
783
|
-
**Promise\<[operations.UpdateUserResponseBody](../../models/operations/updateuserresponsebody.md)\>**
|
|
784
|
-
|
|
785
|
-
### Errors
|
|
786
|
-
|
|
787
|
-
| Error Type | Status Code | Content Type |
|
|
788
|
-
| ------------------- | ------------------- | ------------------- |
|
|
789
|
-
| errors.BadRequest | 400 | application/json |
|
|
790
|
-
| errors.Unauthorized | 401 | application/json |
|
|
791
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
792
|
-
|
|
793
|
-
## verifyOtp
|
|
794
|
-
|
|
795
|
-
This API endpoint allows you to verify a one-time password (OTP) for authentication purposes. By sending a request to this endpoint with the necessary parameters, you can confirm the validity of the OTP provided by the user.
|
|
796
|
-
|
|
797
|
-
API reference for the verify-otp operation
|
|
798
|
-
<https://llm-docs.commercengine.io/storefront/operations/verify-otp>
|
|
799
|
-
|
|
800
|
-
### Example Usage
|
|
801
|
-
|
|
802
|
-
<!-- UsageSnippet language="typescript" operationID="verify-otp" method="post" path="/auth/verify-otp" -->
|
|
803
|
-
```typescript
|
|
804
|
-
import { CeStorefront } from "ce-storefront";
|
|
805
|
-
|
|
806
|
-
const ceStorefront = new CeStorefront({
|
|
807
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
808
|
-
});
|
|
809
|
-
|
|
810
|
-
async function run() {
|
|
811
|
-
const result = await ceStorefront.auth.verifyOtp({
|
|
812
|
-
otp: "<value>",
|
|
813
|
-
otpToken: "<value>",
|
|
814
|
-
otpAction: "update-email",
|
|
815
|
-
});
|
|
816
|
-
|
|
817
|
-
console.log(result);
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
run();
|
|
821
|
-
```
|
|
822
|
-
|
|
823
|
-
### Standalone function
|
|
824
|
-
|
|
825
|
-
The standalone function version of this method:
|
|
826
|
-
|
|
827
|
-
```typescript
|
|
828
|
-
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
829
|
-
import { authVerifyOtp } from "ce-storefront/funcs/authVerifyOtp.js";
|
|
830
|
-
|
|
831
|
-
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
832
|
-
// You can create one instance of it to use across an application.
|
|
833
|
-
const ceStorefront = new CeStorefrontCore({
|
|
834
|
-
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
835
|
-
});
|
|
836
|
-
|
|
837
|
-
async function run() {
|
|
838
|
-
const res = await authVerifyOtp(ceStorefront, {
|
|
839
|
-
otp: "<value>",
|
|
840
|
-
otpToken: "<value>",
|
|
841
|
-
otpAction: "update-email",
|
|
842
|
-
});
|
|
843
|
-
if (res.ok) {
|
|
844
|
-
const { value: result } = res;
|
|
845
|
-
console.log(result);
|
|
846
|
-
} else {
|
|
847
|
-
console.log("authVerifyOtp failed:", res.error);
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
run();
|
|
852
|
-
```
|
|
853
|
-
|
|
854
|
-
### Parameters
|
|
855
|
-
|
|
856
|
-
| Parameter | Type | Required | Description |
|
|
857
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
858
|
-
| `request` | [operations.VerifyOtpRequestBody](../../models/operations/verifyotprequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
859
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
860
|
-
| `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. |
|
|
861
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
862
|
-
|
|
863
|
-
### Response
|
|
864
|
-
|
|
865
|
-
**Promise\<[operations.VerifyOtpResponseBody](../../models/operations/verifyotpresponsebody.md)\>**
|
|
866
|
-
|
|
867
|
-
### Errors
|
|
868
|
-
|
|
869
|
-
| Error Type | Status Code | Content Type |
|
|
870
|
-
| ------------------- | ------------------- | ------------------- |
|
|
871
|
-
| errors.BadRequest | 400 | application/json |
|
|
872
|
-
| errors.Unauthorized | 401 | application/json |
|
|
873
|
-
| errors.NotFound | 404 | application/json |
|
|
874
|
-
| errors.CeError | 4XX, 5XX | \*/\* |
|