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
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -80,7 +80,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
80
80
|
export const SDK_METADATA = {
|
|
81
81
|
language: "typescript",
|
|
82
82
|
openapiDocVersion: "1.0",
|
|
83
|
-
sdkVersion: "0.
|
|
84
|
-
genVersion: "2.
|
|
85
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
83
|
+
sdkVersion: "0.20.0",
|
|
84
|
+
genVersion: "2.743.2",
|
|
85
|
+
userAgent: "speakeasy-sdk/typescript 0.20.0 2.743.2 1.0 ce-storefront",
|
|
86
86
|
} as const;
|
|
@@ -94,71 +94,6 @@ export const AnonymousUser$inboundSchema: z.ZodType<
|
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
96
|
|
|
97
|
-
/** @internal */
|
|
98
|
-
export type AnonymousUser$Outbound = {
|
|
99
|
-
id: string;
|
|
100
|
-
is_anonymous: boolean;
|
|
101
|
-
is_logged_in: boolean;
|
|
102
|
-
first_name: string | null;
|
|
103
|
-
last_name: string | null;
|
|
104
|
-
phone: string | null;
|
|
105
|
-
email: string | null;
|
|
106
|
-
is_email_verified: boolean;
|
|
107
|
-
is_phone_verified: boolean;
|
|
108
|
-
profile_image_url: string | null;
|
|
109
|
-
created_at?: string | undefined;
|
|
110
|
-
modified_at?: string | undefined;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
/** @internal */
|
|
114
|
-
export const AnonymousUser$outboundSchema: z.ZodType<
|
|
115
|
-
AnonymousUser$Outbound,
|
|
116
|
-
z.ZodTypeDef,
|
|
117
|
-
AnonymousUser
|
|
118
|
-
> = z.object({
|
|
119
|
-
id: z.string(),
|
|
120
|
-
isAnonymous: z.boolean(),
|
|
121
|
-
isLoggedIn: z.boolean(),
|
|
122
|
-
firstName: z.nullable(z.string()),
|
|
123
|
-
lastName: z.nullable(z.string()),
|
|
124
|
-
phone: z.nullable(z.string()),
|
|
125
|
-
email: z.nullable(z.string()),
|
|
126
|
-
isEmailVerified: z.boolean().default(false),
|
|
127
|
-
isPhoneVerified: z.boolean().default(false),
|
|
128
|
-
profileImageUrl: z.nullable(z.string()),
|
|
129
|
-
createdAt: z.string().optional(),
|
|
130
|
-
modifiedAt: z.string().optional(),
|
|
131
|
-
}).transform((v) => {
|
|
132
|
-
return remap$(v, {
|
|
133
|
-
isAnonymous: "is_anonymous",
|
|
134
|
-
isLoggedIn: "is_logged_in",
|
|
135
|
-
firstName: "first_name",
|
|
136
|
-
lastName: "last_name",
|
|
137
|
-
isEmailVerified: "is_email_verified",
|
|
138
|
-
isPhoneVerified: "is_phone_verified",
|
|
139
|
-
profileImageUrl: "profile_image_url",
|
|
140
|
-
createdAt: "created_at",
|
|
141
|
-
modifiedAt: "modified_at",
|
|
142
|
-
});
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
148
|
-
*/
|
|
149
|
-
export namespace AnonymousUser$ {
|
|
150
|
-
/** @deprecated use `AnonymousUser$inboundSchema` instead. */
|
|
151
|
-
export const inboundSchema = AnonymousUser$inboundSchema;
|
|
152
|
-
/** @deprecated use `AnonymousUser$outboundSchema` instead. */
|
|
153
|
-
export const outboundSchema = AnonymousUser$outboundSchema;
|
|
154
|
-
/** @deprecated use `AnonymousUser$Outbound` instead. */
|
|
155
|
-
export type Outbound = AnonymousUser$Outbound;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export function anonymousUserToJSON(anonymousUser: AnonymousUser): string {
|
|
159
|
-
return JSON.stringify(AnonymousUser$outboundSchema.parse(anonymousUser));
|
|
160
|
-
}
|
|
161
|
-
|
|
162
97
|
export function anonymousUserFromJSON(
|
|
163
98
|
jsonString: string,
|
|
164
99
|
): SafeParseResult<AnonymousUser, SDKValidationError> {
|
|
@@ -39,21 +39,6 @@ export type AppliedCoupon = {
|
|
|
39
39
|
export const CouponType$inboundSchema: z.ZodNativeEnum<typeof CouponType> = z
|
|
40
40
|
.nativeEnum(CouponType);
|
|
41
41
|
|
|
42
|
-
/** @internal */
|
|
43
|
-
export const CouponType$outboundSchema: z.ZodNativeEnum<typeof CouponType> =
|
|
44
|
-
CouponType$inboundSchema;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export namespace CouponType$ {
|
|
51
|
-
/** @deprecated use `CouponType$inboundSchema` instead. */
|
|
52
|
-
export const inboundSchema = CouponType$inboundSchema;
|
|
53
|
-
/** @deprecated use `CouponType$outboundSchema` instead. */
|
|
54
|
-
export const outboundSchema = CouponType$outboundSchema;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
42
|
/** @internal */
|
|
58
43
|
export const AppliedCoupon$inboundSchema: z.ZodType<
|
|
59
44
|
AppliedCoupon,
|
|
@@ -78,58 +63,6 @@ export const AppliedCoupon$inboundSchema: z.ZodType<
|
|
|
78
63
|
});
|
|
79
64
|
});
|
|
80
65
|
|
|
81
|
-
/** @internal */
|
|
82
|
-
export type AppliedCoupon$Outbound = {
|
|
83
|
-
coupon_id: string;
|
|
84
|
-
coupon_type: string;
|
|
85
|
-
savings: number;
|
|
86
|
-
product_id: string | null;
|
|
87
|
-
variant_id: string | null;
|
|
88
|
-
product_name: string | null;
|
|
89
|
-
variant_name: string | null;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
/** @internal */
|
|
93
|
-
export const AppliedCoupon$outboundSchema: z.ZodType<
|
|
94
|
-
AppliedCoupon$Outbound,
|
|
95
|
-
z.ZodTypeDef,
|
|
96
|
-
AppliedCoupon
|
|
97
|
-
> = z.object({
|
|
98
|
-
couponId: z.string(),
|
|
99
|
-
couponType: CouponType$outboundSchema,
|
|
100
|
-
savings: z.number(),
|
|
101
|
-
productId: z.nullable(z.string()),
|
|
102
|
-
variantId: z.nullable(z.string()),
|
|
103
|
-
productName: z.nullable(z.string()),
|
|
104
|
-
variantName: z.nullable(z.string()),
|
|
105
|
-
}).transform((v) => {
|
|
106
|
-
return remap$(v, {
|
|
107
|
-
couponId: "coupon_id",
|
|
108
|
-
couponType: "coupon_type",
|
|
109
|
-
productId: "product_id",
|
|
110
|
-
variantId: "variant_id",
|
|
111
|
-
productName: "product_name",
|
|
112
|
-
variantName: "variant_name",
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
119
|
-
*/
|
|
120
|
-
export namespace AppliedCoupon$ {
|
|
121
|
-
/** @deprecated use `AppliedCoupon$inboundSchema` instead. */
|
|
122
|
-
export const inboundSchema = AppliedCoupon$inboundSchema;
|
|
123
|
-
/** @deprecated use `AppliedCoupon$outboundSchema` instead. */
|
|
124
|
-
export const outboundSchema = AppliedCoupon$outboundSchema;
|
|
125
|
-
/** @deprecated use `AppliedCoupon$Outbound` instead. */
|
|
126
|
-
export type Outbound = AppliedCoupon$Outbound;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export function appliedCouponToJSON(appliedCoupon: AppliedCoupon): string {
|
|
130
|
-
return JSON.stringify(AppliedCoupon$outboundSchema.parse(appliedCoupon));
|
|
131
|
-
}
|
|
132
|
-
|
|
133
66
|
export function appliedCouponFromJSON(
|
|
134
67
|
jsonString: string,
|
|
135
68
|
): SafeParseResult<AppliedCoupon, SDKValidationError> {
|
|
@@ -40,22 +40,6 @@ export const PromotionType$inboundSchema: z.ZodNativeEnum<
|
|
|
40
40
|
typeof PromotionType
|
|
41
41
|
> = z.nativeEnum(PromotionType);
|
|
42
42
|
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const PromotionType$outboundSchema: z.ZodNativeEnum<
|
|
45
|
-
typeof PromotionType
|
|
46
|
-
> = PromotionType$inboundSchema;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
-
*/
|
|
52
|
-
export namespace PromotionType$ {
|
|
53
|
-
/** @deprecated use `PromotionType$inboundSchema` instead. */
|
|
54
|
-
export const inboundSchema = PromotionType$inboundSchema;
|
|
55
|
-
/** @deprecated use `PromotionType$outboundSchema` instead. */
|
|
56
|
-
export const outboundSchema = PromotionType$outboundSchema;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
43
|
/** @internal */
|
|
60
44
|
export const AppliedPromotion$inboundSchema: z.ZodType<
|
|
61
45
|
AppliedPromotion,
|
|
@@ -83,67 +67,6 @@ export const AppliedPromotion$inboundSchema: z.ZodType<
|
|
|
83
67
|
});
|
|
84
68
|
});
|
|
85
69
|
|
|
86
|
-
/** @internal */
|
|
87
|
-
export type AppliedPromotion$Outbound = {
|
|
88
|
-
promotion_id: string;
|
|
89
|
-
promotion_type: string;
|
|
90
|
-
savings: number;
|
|
91
|
-
product_id: string | null;
|
|
92
|
-
variant_id: string | null;
|
|
93
|
-
product_name: string | null;
|
|
94
|
-
variant_name: string | null;
|
|
95
|
-
applied_sequence: number;
|
|
96
|
-
scope: string;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
/** @internal */
|
|
100
|
-
export const AppliedPromotion$outboundSchema: z.ZodType<
|
|
101
|
-
AppliedPromotion$Outbound,
|
|
102
|
-
z.ZodTypeDef,
|
|
103
|
-
AppliedPromotion
|
|
104
|
-
> = z.object({
|
|
105
|
-
promotionId: z.string(),
|
|
106
|
-
promotionType: PromotionType$outboundSchema,
|
|
107
|
-
savings: z.number(),
|
|
108
|
-
productId: z.nullable(z.string()),
|
|
109
|
-
variantId: z.nullable(z.string()),
|
|
110
|
-
productName: z.nullable(z.string()),
|
|
111
|
-
variantName: z.nullable(z.string()),
|
|
112
|
-
appliedSequence: z.number(),
|
|
113
|
-
scope: z.string(),
|
|
114
|
-
}).transform((v) => {
|
|
115
|
-
return remap$(v, {
|
|
116
|
-
promotionId: "promotion_id",
|
|
117
|
-
promotionType: "promotion_type",
|
|
118
|
-
productId: "product_id",
|
|
119
|
-
variantId: "variant_id",
|
|
120
|
-
productName: "product_name",
|
|
121
|
-
variantName: "variant_name",
|
|
122
|
-
appliedSequence: "applied_sequence",
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
129
|
-
*/
|
|
130
|
-
export namespace AppliedPromotion$ {
|
|
131
|
-
/** @deprecated use `AppliedPromotion$inboundSchema` instead. */
|
|
132
|
-
export const inboundSchema = AppliedPromotion$inboundSchema;
|
|
133
|
-
/** @deprecated use `AppliedPromotion$outboundSchema` instead. */
|
|
134
|
-
export const outboundSchema = AppliedPromotion$outboundSchema;
|
|
135
|
-
/** @deprecated use `AppliedPromotion$Outbound` instead. */
|
|
136
|
-
export type Outbound = AppliedPromotion$Outbound;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export function appliedPromotionToJSON(
|
|
140
|
-
appliedPromotion: AppliedPromotion,
|
|
141
|
-
): string {
|
|
142
|
-
return JSON.stringify(
|
|
143
|
-
AppliedPromotion$outboundSchema.parse(appliedPromotion),
|
|
144
|
-
);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
70
|
export function appliedPromotionFromJSON(
|
|
148
71
|
jsonString: string,
|
|
149
72
|
): SafeParseResult<AppliedPromotion, SDKValidationError> {
|
|
@@ -6,17 +6,10 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
ColorOption,
|
|
11
|
-
ColorOption$inboundSchema,
|
|
12
|
-
ColorOption$Outbound,
|
|
13
|
-
ColorOption$outboundSchema,
|
|
14
|
-
} from "./coloroption.js";
|
|
9
|
+
import { ColorOption, ColorOption$inboundSchema } from "./coloroption.js";
|
|
15
10
|
import {
|
|
16
11
|
SingleSelectOption,
|
|
17
12
|
SingleSelectOption$inboundSchema,
|
|
18
|
-
SingleSelectOption$Outbound,
|
|
19
|
-
SingleSelectOption$outboundSchema,
|
|
20
13
|
} from "./singleselectoption.js";
|
|
21
14
|
|
|
22
15
|
export type AssociatedOption = ColorOption | SingleSelectOption;
|
|
@@ -28,39 +21,6 @@ export const AssociatedOption$inboundSchema: z.ZodType<
|
|
|
28
21
|
unknown
|
|
29
22
|
> = z.union([ColorOption$inboundSchema, SingleSelectOption$inboundSchema]);
|
|
30
23
|
|
|
31
|
-
/** @internal */
|
|
32
|
-
export type AssociatedOption$Outbound =
|
|
33
|
-
| ColorOption$Outbound
|
|
34
|
-
| SingleSelectOption$Outbound;
|
|
35
|
-
|
|
36
|
-
/** @internal */
|
|
37
|
-
export const AssociatedOption$outboundSchema: z.ZodType<
|
|
38
|
-
AssociatedOption$Outbound,
|
|
39
|
-
z.ZodTypeDef,
|
|
40
|
-
AssociatedOption
|
|
41
|
-
> = z.union([ColorOption$outboundSchema, SingleSelectOption$outboundSchema]);
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
-
*/
|
|
47
|
-
export namespace AssociatedOption$ {
|
|
48
|
-
/** @deprecated use `AssociatedOption$inboundSchema` instead. */
|
|
49
|
-
export const inboundSchema = AssociatedOption$inboundSchema;
|
|
50
|
-
/** @deprecated use `AssociatedOption$outboundSchema` instead. */
|
|
51
|
-
export const outboundSchema = AssociatedOption$outboundSchema;
|
|
52
|
-
/** @deprecated use `AssociatedOption$Outbound` instead. */
|
|
53
|
-
export type Outbound = AssociatedOption$Outbound;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function associatedOptionToJSON(
|
|
57
|
-
associatedOption: AssociatedOption,
|
|
58
|
-
): string {
|
|
59
|
-
return JSON.stringify(
|
|
60
|
-
AssociatedOption$outboundSchema.parse(associatedOption),
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
24
|
export function associatedOptionFromJSON(
|
|
65
25
|
jsonString: string,
|
|
66
26
|
): SafeParseResult<AssociatedOption, SDKValidationError> {
|
|
@@ -57,43 +57,11 @@ export const BankTransferTransactionType$inboundSchema: z.ZodNativeEnum<
|
|
|
57
57
|
typeof BankTransferTransactionType
|
|
58
58
|
> = z.nativeEnum(BankTransferTransactionType);
|
|
59
59
|
|
|
60
|
-
/** @internal */
|
|
61
|
-
export const BankTransferTransactionType$outboundSchema: z.ZodNativeEnum<
|
|
62
|
-
typeof BankTransferTransactionType
|
|
63
|
-
> = BankTransferTransactionType$inboundSchema;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
-
*/
|
|
69
|
-
export namespace BankTransferTransactionType$ {
|
|
70
|
-
/** @deprecated use `BankTransferTransactionType$inboundSchema` instead. */
|
|
71
|
-
export const inboundSchema = BankTransferTransactionType$inboundSchema;
|
|
72
|
-
/** @deprecated use `BankTransferTransactionType$outboundSchema` instead. */
|
|
73
|
-
export const outboundSchema = BankTransferTransactionType$outboundSchema;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
60
|
/** @internal */
|
|
77
61
|
export const BankTransferPaymentStatus$inboundSchema: z.ZodNativeEnum<
|
|
78
62
|
typeof BankTransferPaymentStatus
|
|
79
63
|
> = z.nativeEnum(BankTransferPaymentStatus);
|
|
80
64
|
|
|
81
|
-
/** @internal */
|
|
82
|
-
export const BankTransferPaymentStatus$outboundSchema: z.ZodNativeEnum<
|
|
83
|
-
typeof BankTransferPaymentStatus
|
|
84
|
-
> = BankTransferPaymentStatus$inboundSchema;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
89
|
-
*/
|
|
90
|
-
export namespace BankTransferPaymentStatus$ {
|
|
91
|
-
/** @deprecated use `BankTransferPaymentStatus$inboundSchema` instead. */
|
|
92
|
-
export const inboundSchema = BankTransferPaymentStatus$inboundSchema;
|
|
93
|
-
/** @deprecated use `BankTransferPaymentStatus$outboundSchema` instead. */
|
|
94
|
-
export const outboundSchema = BankTransferPaymentStatus$outboundSchema;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
65
|
/** @internal */
|
|
98
66
|
export const BankTransfer$inboundSchema: z.ZodType<
|
|
99
67
|
BankTransfer,
|
|
@@ -126,67 +94,6 @@ export const BankTransfer$inboundSchema: z.ZodType<
|
|
|
126
94
|
});
|
|
127
95
|
});
|
|
128
96
|
|
|
129
|
-
/** @internal */
|
|
130
|
-
export type BankTransfer$Outbound = {
|
|
131
|
-
transaction_type?: string | undefined;
|
|
132
|
-
request_number?: string | undefined;
|
|
133
|
-
amount?: number | undefined;
|
|
134
|
-
payment_status?: string | undefined;
|
|
135
|
-
payment_date?: string | undefined;
|
|
136
|
-
payment_reference_number?: string | null | undefined;
|
|
137
|
-
payment_method?: string | null | undefined;
|
|
138
|
-
icon_url?: string | null | undefined;
|
|
139
|
-
bank_account_number?: string | undefined;
|
|
140
|
-
bank_name?: string | undefined;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
/** @internal */
|
|
144
|
-
export const BankTransfer$outboundSchema: z.ZodType<
|
|
145
|
-
BankTransfer$Outbound,
|
|
146
|
-
z.ZodTypeDef,
|
|
147
|
-
BankTransfer
|
|
148
|
-
> = z.object({
|
|
149
|
-
transactionType: BankTransferTransactionType$outboundSchema.optional(),
|
|
150
|
-
requestNumber: z.string().optional(),
|
|
151
|
-
amount: z.number().optional(),
|
|
152
|
-
paymentStatus: BankTransferPaymentStatus$outboundSchema.optional(),
|
|
153
|
-
paymentDate: z.date().transform(v => v.toISOString()).optional(),
|
|
154
|
-
paymentReferenceNumber: z.nullable(z.string()).optional(),
|
|
155
|
-
paymentMethod: z.nullable(z.string()).optional(),
|
|
156
|
-
iconUrl: z.nullable(z.string()).optional(),
|
|
157
|
-
bankAccountNumber: z.string().optional(),
|
|
158
|
-
bankName: z.string().optional(),
|
|
159
|
-
}).transform((v) => {
|
|
160
|
-
return remap$(v, {
|
|
161
|
-
transactionType: "transaction_type",
|
|
162
|
-
requestNumber: "request_number",
|
|
163
|
-
paymentStatus: "payment_status",
|
|
164
|
-
paymentDate: "payment_date",
|
|
165
|
-
paymentReferenceNumber: "payment_reference_number",
|
|
166
|
-
paymentMethod: "payment_method",
|
|
167
|
-
iconUrl: "icon_url",
|
|
168
|
-
bankAccountNumber: "bank_account_number",
|
|
169
|
-
bankName: "bank_name",
|
|
170
|
-
});
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* @internal
|
|
175
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
176
|
-
*/
|
|
177
|
-
export namespace BankTransfer$ {
|
|
178
|
-
/** @deprecated use `BankTransfer$inboundSchema` instead. */
|
|
179
|
-
export const inboundSchema = BankTransfer$inboundSchema;
|
|
180
|
-
/** @deprecated use `BankTransfer$outboundSchema` instead. */
|
|
181
|
-
export const outboundSchema = BankTransfer$outboundSchema;
|
|
182
|
-
/** @deprecated use `BankTransfer$Outbound` instead. */
|
|
183
|
-
export type Outbound = BankTransfer$Outbound;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export function bankTransferToJSON(bankTransfer: BankTransfer): string {
|
|
187
|
-
return JSON.stringify(BankTransfer$outboundSchema.parse(bankTransfer));
|
|
188
|
-
}
|
|
189
|
-
|
|
190
97
|
export function bankTransferFromJSON(
|
|
191
98
|
jsonString: string,
|
|
192
99
|
): SafeParseResult<BankTransfer, SDKValidationError> {
|
|
@@ -39,49 +39,6 @@ export const BooleanAttribute$inboundSchema: z.ZodType<
|
|
|
39
39
|
value: z.boolean(),
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
/** @internal */
|
|
43
|
-
export type BooleanAttribute$Outbound = {
|
|
44
|
-
id: string;
|
|
45
|
-
name: string;
|
|
46
|
-
key: string;
|
|
47
|
-
type: string;
|
|
48
|
-
value: boolean;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
/** @internal */
|
|
52
|
-
export const BooleanAttribute$outboundSchema: z.ZodType<
|
|
53
|
-
BooleanAttribute$Outbound,
|
|
54
|
-
z.ZodTypeDef,
|
|
55
|
-
BooleanAttribute
|
|
56
|
-
> = z.object({
|
|
57
|
-
id: z.string(),
|
|
58
|
-
name: z.string(),
|
|
59
|
-
key: z.string(),
|
|
60
|
-
type: z.string(),
|
|
61
|
-
value: z.boolean(),
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
-
*/
|
|
68
|
-
export namespace BooleanAttribute$ {
|
|
69
|
-
/** @deprecated use `BooleanAttribute$inboundSchema` instead. */
|
|
70
|
-
export const inboundSchema = BooleanAttribute$inboundSchema;
|
|
71
|
-
/** @deprecated use `BooleanAttribute$outboundSchema` instead. */
|
|
72
|
-
export const outboundSchema = BooleanAttribute$outboundSchema;
|
|
73
|
-
/** @deprecated use `BooleanAttribute$Outbound` instead. */
|
|
74
|
-
export type Outbound = BooleanAttribute$Outbound;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function booleanAttributeToJSON(
|
|
78
|
-
booleanAttribute: BooleanAttribute,
|
|
79
|
-
): string {
|
|
80
|
-
return JSON.stringify(
|
|
81
|
-
BooleanAttribute$outboundSchema.parse(booleanAttribute),
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
42
|
export function booleanAttributeFromJSON(
|
|
86
43
|
jsonString: string,
|
|
87
44
|
): SafeParseResult<BooleanAttribute, SDKValidationError> {
|
|
@@ -63,62 +63,15 @@ export const TransactionType$inboundSchema: z.ZodNativeEnum<
|
|
|
63
63
|
typeof TransactionType
|
|
64
64
|
> = z.nativeEnum(TransactionType);
|
|
65
65
|
|
|
66
|
-
/** @internal */
|
|
67
|
-
export const TransactionType$outboundSchema: z.ZodNativeEnum<
|
|
68
|
-
typeof TransactionType
|
|
69
|
-
> = TransactionType$inboundSchema;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
-
*/
|
|
75
|
-
export namespace TransactionType$ {
|
|
76
|
-
/** @deprecated use `TransactionType$inboundSchema` instead. */
|
|
77
|
-
export const inboundSchema = TransactionType$inboundSchema;
|
|
78
|
-
/** @deprecated use `TransactionType$outboundSchema` instead. */
|
|
79
|
-
export const outboundSchema = TransactionType$outboundSchema;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
66
|
/** @internal */
|
|
83
67
|
export const CardPaymentPaymentStatus$inboundSchema: z.ZodNativeEnum<
|
|
84
68
|
typeof CardPaymentPaymentStatus
|
|
85
69
|
> = z.nativeEnum(CardPaymentPaymentStatus);
|
|
86
70
|
|
|
87
|
-
/** @internal */
|
|
88
|
-
export const CardPaymentPaymentStatus$outboundSchema: z.ZodNativeEnum<
|
|
89
|
-
typeof CardPaymentPaymentStatus
|
|
90
|
-
> = CardPaymentPaymentStatus$inboundSchema;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
-
*/
|
|
96
|
-
export namespace CardPaymentPaymentStatus$ {
|
|
97
|
-
/** @deprecated use `CardPaymentPaymentStatus$inboundSchema` instead. */
|
|
98
|
-
export const inboundSchema = CardPaymentPaymentStatus$inboundSchema;
|
|
99
|
-
/** @deprecated use `CardPaymentPaymentStatus$outboundSchema` instead. */
|
|
100
|
-
export const outboundSchema = CardPaymentPaymentStatus$outboundSchema;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
71
|
/** @internal */
|
|
104
72
|
export const CardType$inboundSchema: z.ZodNativeEnum<typeof CardType> = z
|
|
105
73
|
.nativeEnum(CardType);
|
|
106
74
|
|
|
107
|
-
/** @internal */
|
|
108
|
-
export const CardType$outboundSchema: z.ZodNativeEnum<typeof CardType> =
|
|
109
|
-
CardType$inboundSchema;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
114
|
-
*/
|
|
115
|
-
export namespace CardType$ {
|
|
116
|
-
/** @deprecated use `CardType$inboundSchema` instead. */
|
|
117
|
-
export const inboundSchema = CardType$inboundSchema;
|
|
118
|
-
/** @deprecated use `CardType$outboundSchema` instead. */
|
|
119
|
-
export const outboundSchema = CardType$outboundSchema;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
75
|
/** @internal */
|
|
123
76
|
export const CardPayment$inboundSchema: z.ZodType<
|
|
124
77
|
CardPayment,
|
|
@@ -151,67 +104,6 @@ export const CardPayment$inboundSchema: z.ZodType<
|
|
|
151
104
|
});
|
|
152
105
|
});
|
|
153
106
|
|
|
154
|
-
/** @internal */
|
|
155
|
-
export type CardPayment$Outbound = {
|
|
156
|
-
transaction_type?: string | undefined;
|
|
157
|
-
request_number?: string | undefined;
|
|
158
|
-
amount?: number | undefined;
|
|
159
|
-
payment_status?: string | undefined;
|
|
160
|
-
payment_date?: string | undefined;
|
|
161
|
-
payment_reference_number?: string | null | undefined;
|
|
162
|
-
payment_method?: string | null | undefined;
|
|
163
|
-
icon_url?: string | null | undefined;
|
|
164
|
-
card_number?: string | undefined;
|
|
165
|
-
card_type?: string | undefined;
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
/** @internal */
|
|
169
|
-
export const CardPayment$outboundSchema: z.ZodType<
|
|
170
|
-
CardPayment$Outbound,
|
|
171
|
-
z.ZodTypeDef,
|
|
172
|
-
CardPayment
|
|
173
|
-
> = z.object({
|
|
174
|
-
transactionType: TransactionType$outboundSchema.optional(),
|
|
175
|
-
requestNumber: z.string().optional(),
|
|
176
|
-
amount: z.number().optional(),
|
|
177
|
-
paymentStatus: CardPaymentPaymentStatus$outboundSchema.optional(),
|
|
178
|
-
paymentDate: z.date().transform(v => v.toISOString()).optional(),
|
|
179
|
-
paymentReferenceNumber: z.nullable(z.string()).optional(),
|
|
180
|
-
paymentMethod: z.nullable(z.string()).optional(),
|
|
181
|
-
iconUrl: z.nullable(z.string()).optional(),
|
|
182
|
-
cardNumber: z.string().optional(),
|
|
183
|
-
cardType: CardType$outboundSchema.optional(),
|
|
184
|
-
}).transform((v) => {
|
|
185
|
-
return remap$(v, {
|
|
186
|
-
transactionType: "transaction_type",
|
|
187
|
-
requestNumber: "request_number",
|
|
188
|
-
paymentStatus: "payment_status",
|
|
189
|
-
paymentDate: "payment_date",
|
|
190
|
-
paymentReferenceNumber: "payment_reference_number",
|
|
191
|
-
paymentMethod: "payment_method",
|
|
192
|
-
iconUrl: "icon_url",
|
|
193
|
-
cardNumber: "card_number",
|
|
194
|
-
cardType: "card_type",
|
|
195
|
-
});
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @internal
|
|
200
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
201
|
-
*/
|
|
202
|
-
export namespace CardPayment$ {
|
|
203
|
-
/** @deprecated use `CardPayment$inboundSchema` instead. */
|
|
204
|
-
export const inboundSchema = CardPayment$inboundSchema;
|
|
205
|
-
/** @deprecated use `CardPayment$outboundSchema` instead. */
|
|
206
|
-
export const outboundSchema = CardPayment$outboundSchema;
|
|
207
|
-
/** @deprecated use `CardPayment$Outbound` instead. */
|
|
208
|
-
export type Outbound = CardPayment$Outbound;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
export function cardPaymentToJSON(cardPayment: CardPayment): string {
|
|
212
|
-
return JSON.stringify(CardPayment$outboundSchema.parse(cardPayment));
|
|
213
|
-
}
|
|
214
|
-
|
|
215
107
|
export function cardPaymentFromJSON(
|
|
216
108
|
jsonString: string,
|
|
217
109
|
): SafeParseResult<CardPayment, SDKValidationError> {
|