ce-storefront 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/components/anonymoususer.d.ts +0 -30
- package/esm/models/components/anonymoususer.d.ts.map +1 -1
- package/esm/models/components/anonymoususer.js +0 -41
- package/esm/models/components/anonymoususer.js.map +1 -1
- package/esm/models/components/appliedcoupon.d.ts +0 -53
- package/esm/models/components/appliedcoupon.d.ts.map +1 -1
- package/esm/models/components/appliedcoupon.js +0 -46
- package/esm/models/components/appliedcoupon.js.map +1 -1
- package/esm/models/components/appliedpromotion.d.ts +0 -51
- package/esm/models/components/appliedpromotion.d.ts.map +1 -1
- package/esm/models/components/appliedpromotion.js +0 -49
- package/esm/models/components/appliedpromotion.js.map +1 -1
- package/esm/models/components/associatedoption.d.ts +2 -19
- package/esm/models/components/associatedoption.d.ts.map +1 -1
- package/esm/models/components/associatedoption.js +2 -18
- package/esm/models/components/associatedoption.js.map +1 -1
- package/esm/models/components/banktransfer.d.ts +0 -70
- package/esm/models/components/banktransfer.d.ts.map +1 -1
- package/esm/models/components/banktransfer.js +0 -65
- package/esm/models/components/banktransfer.js.map +1 -1
- package/esm/models/components/booleanattribute.d.ts +0 -23
- package/esm/models/components/booleanattribute.d.ts.map +1 -1
- package/esm/models/components/booleanattribute.js +0 -22
- package/esm/models/components/booleanattribute.js.map +1 -1
- package/esm/models/components/cardpayment.d.ts +0 -92
- package/esm/models/components/cardpayment.d.ts.map +1 -1
- package/esm/models/components/cardpayment.js +0 -78
- package/esm/models/components/cardpayment.js.map +1 -1
- package/esm/models/components/cart.d.ts +6 -69
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +6 -107
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts +0 -17
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts.map +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.js +0 -25
- package/esm/models/components/cartbasedserviceabilitycheck.js.map +1 -1
- package/esm/models/components/cartitem.d.ts +3 -76
- package/esm/models/components/cartitem.d.ts.map +1 -1
- package/esm/models/components/cartitem.js +3 -96
- package/esm/models/components/cartitem.js.map +1 -1
- package/esm/models/components/category.d.ts +0 -25
- package/esm/models/components/category.d.ts.map +1 -1
- package/esm/models/components/category.js +0 -29
- package/esm/models/components/category.js.map +1 -1
- package/esm/models/components/collectinstore.d.ts +0 -23
- package/esm/models/components/collectinstore.d.ts.map +1 -1
- package/esm/models/components/collectinstore.js +0 -28
- package/esm/models/components/collectinstore.js.map +1 -1
- package/esm/models/components/collectinstorefulfillment.d.ts +0 -40
- package/esm/models/components/collectinstorefulfillment.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillment.js +0 -41
- package/esm/models/components/collectinstorefulfillment.js.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.d.ts +0 -17
- package/esm/models/components/collectinstorefulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/collectinstorefulfillmentinput.js +0 -26
- package/esm/models/components/collectinstorefulfillmentinput.js.map +1 -1
- package/esm/models/components/colorattribute.d.ts +0 -43
- package/esm/models/components/colorattribute.d.ts.map +1 -1
- package/esm/models/components/colorattribute.js +0 -41
- package/esm/models/components/colorattribute.js.map +1 -1
- package/esm/models/components/coloroption.d.ts +0 -41
- package/esm/models/components/coloroption.d.ts.map +1 -1
- package/esm/models/components/coloroption.js +0 -39
- package/esm/models/components/coloroption.js.map +1 -1
- package/esm/models/components/currency.d.ts +0 -21
- package/esm/models/components/currency.d.ts.map +1 -1
- package/esm/models/components/currency.js +0 -20
- package/esm/models/components/currency.js.map +1 -1
- package/esm/models/components/customeraddress.d.ts +0 -35
- package/esm/models/components/customeraddress.d.ts.map +1 -1
- package/esm/models/components/customeraddress.js +0 -46
- package/esm/models/components/customeraddress.js.map +1 -1
- package/esm/models/components/customeraddressinput.d.ts +0 -17
- package/esm/models/components/customeraddressinput.d.ts.map +1 -1
- package/esm/models/components/customeraddressinput.js +0 -43
- package/esm/models/components/customeraddressinput.js.map +1 -1
- package/esm/models/components/customerloyalty.d.ts +0 -27
- package/esm/models/components/customerloyalty.d.ts.map +1 -1
- package/esm/models/components/customerloyalty.js +0 -38
- package/esm/models/components/customerloyalty.js.map +1 -1
- package/esm/models/components/customerreadyforreview.d.ts +0 -24
- package/esm/models/components/customerreadyforreview.d.ts.map +1 -1
- package/esm/models/components/customerreadyforreview.js +0 -32
- package/esm/models/components/customerreadyforreview.js.map +1 -1
- package/esm/models/components/customerreview.d.ts +0 -99
- package/esm/models/components/customerreview.d.ts.map +1 -1
- package/esm/models/components/customerreview.js +0 -121
- package/esm/models/components/customerreview.js.map +1 -1
- package/esm/models/components/dateattribute.d.ts +0 -23
- package/esm/models/components/dateattribute.d.ts.map +1 -1
- package/esm/models/components/dateattribute.js +0 -22
- package/esm/models/components/dateattribute.js.map +1 -1
- package/esm/models/components/deliveryfulfillment.d.ts +0 -42
- package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillment.js +0 -45
- package/esm/models/components/deliveryfulfillment.js.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.d.ts +0 -17
- package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.js +0 -27
- package/esm/models/components/deliveryfulfillmentinput.js.map +1 -1
- package/esm/models/components/discountbasedpromotion.d.ts +0 -62
- package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
- package/esm/models/components/discountbasedpromotion.js +0 -54
- package/esm/models/components/discountbasedpromotion.js.map +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +0 -42
- package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
- package/esm/models/components/fixedpricepromotion.js +0 -37
- package/esm/models/components/fixedpricepromotion.js.map +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +0 -43
- package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
- package/esm/models/components/freegoodspromotion.js +0 -39
- package/esm/models/components/freegoodspromotion.js.map +1 -1
- package/esm/models/components/fulfillmentitem.d.ts +0 -23
- package/esm/models/components/fulfillmentitem.d.ts.map +1 -1
- package/esm/models/components/fulfillmentitem.js +0 -29
- package/esm/models/components/fulfillmentitem.js.map +1 -1
- package/esm/models/components/fulfillmentiteminput.d.ts +0 -17
- package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentiteminput.js +0 -26
- package/esm/models/components/fulfillmentiteminput.js.map +1 -1
- package/esm/models/components/fulfillmentpreference.d.ts +3 -26
- package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreference.js +3 -26
- package/esm/models/components/fulfillmentpreference.js.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.d.ts +0 -17
- package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.js +3 -27
- package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -1
- package/esm/models/components/generateotpwithemail.d.ts +0 -39
- package/esm/models/components/generateotpwithemail.d.ts.map +1 -1
- package/esm/models/components/generateotpwithemail.js +1 -39
- package/esm/models/components/generateotpwithemail.js.map +1 -1
- package/esm/models/components/generateotpwithphone.d.ts +0 -57
- package/esm/models/components/generateotpwithphone.d.ts.map +1 -1
- package/esm/models/components/generateotpwithphone.js +2 -55
- package/esm/models/components/generateotpwithphone.js.map +1 -1
- package/esm/models/components/item.d.ts +8 -73
- package/esm/models/components/item.d.ts.map +1 -1
- package/esm/models/components/item.js +8 -79
- package/esm/models/components/item.js.map +1 -1
- package/esm/models/components/juspayexpresscheckout.d.ts +0 -17
- package/esm/models/components/juspayexpresscheckout.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckout.js +5 -28
- package/esm/models/components/juspayexpresscheckout.js.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts +0 -129
- package/esm/models/components/juspayexpresscheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayexpresscheckoutresponse.js +0 -147
- package/esm/models/components/juspayexpresscheckoutresponse.js.map +1 -1
- package/esm/models/components/juspayhypercheckout.d.ts +0 -33
- package/esm/models/components/juspayhypercheckout.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckout.js +1 -45
- package/esm/models/components/juspayhypercheckout.js.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.d.ts +0 -125
- package/esm/models/components/juspayhypercheckoutresponse.d.ts.map +1 -1
- package/esm/models/components/juspayhypercheckoutresponse.js +0 -130
- package/esm/models/components/juspayhypercheckoutresponse.js.map +1 -1
- package/esm/models/components/juspaynetbanking.d.ts +2 -19
- package/esm/models/components/juspaynetbanking.d.ts.map +1 -1
- package/esm/models/components/juspaynetbanking.js +1 -39
- package/esm/models/components/juspaynetbanking.js.map +1 -1
- package/esm/models/components/juspaynewcard.d.ts +2 -39
- package/esm/models/components/juspaynewcard.d.ts.map +1 -1
- package/esm/models/components/juspaynewcard.js +2 -69
- package/esm/models/components/juspaynewcard.js.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.d.ts +2 -39
- package/esm/models/components/juspaysavedcardtoken.d.ts.map +1 -1
- package/esm/models/components/juspaysavedcardtoken.js +2 -63
- package/esm/models/components/juspaysavedcardtoken.js.map +1 -1
- package/esm/models/components/juspayupicollect.d.ts +2 -19
- package/esm/models/components/juspayupicollect.d.ts.map +1 -1
- package/esm/models/components/juspayupicollect.js +1 -41
- package/esm/models/components/juspayupicollect.js.map +1 -1
- package/esm/models/components/juspayupiintent.d.ts +2 -19
- package/esm/models/components/juspayupiintent.d.ts.map +1 -1
- package/esm/models/components/juspayupiintent.js +1 -43
- package/esm/models/components/juspayupiintent.js.map +1 -1
- package/esm/models/components/lotbatchdetail.d.ts +0 -23
- package/esm/models/components/lotbatchdetail.d.ts.map +1 -1
- package/esm/models/components/lotbatchdetail.js +0 -29
- package/esm/models/components/lotbatchdetail.js.map +1 -1
- package/esm/models/components/multiselectattribute.d.ts +0 -23
- package/esm/models/components/multiselectattribute.d.ts.map +1 -1
- package/esm/models/components/multiselectattribute.js +0 -22
- package/esm/models/components/multiselectattribute.js.map +1 -1
- package/esm/models/components/netbankingpayment.d.ts +0 -69
- package/esm/models/components/netbankingpayment.d.ts.map +1 -1
- package/esm/models/components/netbankingpayment.js +0 -63
- package/esm/models/components/netbankingpayment.js.map +1 -1
- package/esm/models/components/notificationchannelpreferences.d.ts +0 -12
- package/esm/models/components/notificationchannelpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationchannelpreferences.js +0 -11
- package/esm/models/components/notificationchannelpreferences.js.map +1 -1
- package/esm/models/components/notificationpreferences.d.ts +0 -12
- package/esm/models/components/notificationpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationpreferences.js +0 -11
- package/esm/models/components/notificationpreferences.js.map +1 -1
- package/esm/models/components/numberattribute.d.ts +0 -23
- package/esm/models/components/numberattribute.d.ts.map +1 -1
- package/esm/models/components/numberattribute.js +0 -22
- package/esm/models/components/numberattribute.js.map +1 -1
- package/esm/models/components/order.d.ts +5 -202
- package/esm/models/components/order.d.ts.map +1 -1
- package/esm/models/components/order.js +5 -207
- package/esm/models/components/order.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +6 -204
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +6 -209
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/orderitem.d.ts +2 -73
- package/esm/models/components/orderitem.d.ts.map +1 -1
- package/esm/models/components/orderitem.js +2 -93
- package/esm/models/components/orderitem.js.map +1 -1
- package/esm/models/components/orderlist.d.ts +1 -122
- package/esm/models/components/orderlist.d.ts.map +1 -1
- package/esm/models/components/orderlist.js +1 -101
- package/esm/models/components/orderlist.js.map +1 -1
- package/esm/models/components/orderpayment.d.ts +5 -22
- package/esm/models/components/orderpayment.d.ts.map +1 -1
- package/esm/models/components/orderpayment.js +5 -27
- package/esm/models/components/orderpayment.js.map +1 -1
- package/esm/models/components/ordershipment.d.ts +1 -76
- package/esm/models/components/ordershipment.d.ts.map +1 -1
- package/esm/models/components/ordershipment.js +1 -71
- package/esm/models/components/ordershipment.js.map +1 -1
- package/esm/models/components/pagination.d.ts +0 -23
- package/esm/models/components/pagination.d.ts.map +1 -1
- package/esm/models/components/pagination.js +0 -29
- package/esm/models/components/pagination.js.map +1 -1
- package/esm/models/components/partialcollectanddelivery.d.ts +1 -85
- package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddelivery.js +1 -96
- package/esm/models/components/partialcollectanddelivery.js.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.d.ts +0 -47
- package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.js +1 -75
- package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
- package/esm/models/components/paymentmethodpayload.d.ts +0 -17
- package/esm/models/components/paymentmethodpayload.d.ts.map +1 -1
- package/esm/models/components/paymentmethodpayload.js +2 -22
- package/esm/models/components/paymentmethodpayload.js.map +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +0 -55
- package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
- package/esm/models/components/payupaymentinfo.js +0 -58
- package/esm/models/components/payupaymentinfo.js.map +1 -1
- package/esm/models/components/pincode.d.ts +0 -23
- package/esm/models/components/pincode.d.ts.map +1 -1
- package/esm/models/components/pincode.js +0 -28
- package/esm/models/components/pincode.js.map +1 -1
- package/esm/models/components/pincodeserviceability.d.ts +0 -123
- package/esm/models/components/pincodeserviceability.d.ts.map +1 -1
- package/esm/models/components/pincodeserviceability.js +0 -130
- package/esm/models/components/pincodeserviceability.js.map +1 -1
- package/esm/models/components/product.d.ts +10 -74
- package/esm/models/components/product.d.ts.map +1 -1
- package/esm/models/components/product.js +10 -80
- package/esm/models/components/product.js.map +1 -1
- package/esm/models/components/productattribute.d.ts +7 -38
- package/esm/models/components/productattribute.d.ts.map +1 -1
- package/esm/models/components/productattribute.js +7 -39
- package/esm/models/components/productattribute.js.map +1 -1
- package/esm/models/components/productbundleitem.d.ts +8 -74
- package/esm/models/components/productbundleitem.d.ts.map +1 -1
- package/esm/models/components/productbundleitem.js +8 -80
- package/esm/models/components/productbundleitem.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +1 -27
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +1 -32
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +13 -87
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +13 -94
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productimage.d.ts +0 -26
- package/esm/models/components/productimage.d.ts.map +1 -1
- package/esm/models/components/productimage.js +0 -34
- package/esm/models/components/productimage.js.map +1 -1
- package/esm/models/components/productpricing.d.ts +0 -28
- package/esm/models/components/productpricing.d.ts.map +1 -1
- package/esm/models/components/productpricing.js +0 -39
- package/esm/models/components/productpricing.js.map +1 -1
- package/esm/models/components/productpromotion.d.ts +4 -59
- package/esm/models/components/productpromotion.d.ts.map +1 -1
- package/esm/models/components/productpromotion.js +4 -72
- package/esm/models/components/productpromotion.js.map +1 -1
- package/esm/models/components/productreview.d.ts +0 -110
- package/esm/models/components/productreview.d.ts.map +1 -1
- package/esm/models/components/productreview.js +0 -122
- package/esm/models/components/productreview.js.map +1 -1
- package/esm/models/components/productshipping.d.ts +0 -22
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +0 -28
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/productsubscription.d.ts +0 -70
- package/esm/models/components/productsubscription.d.ts.map +1 -1
- package/esm/models/components/productsubscription.js +0 -69
- package/esm/models/components/productsubscription.js.map +1 -1
- package/esm/models/components/productvideo.d.ts +0 -26
- package/esm/models/components/productvideo.d.ts.map +1 -1
- package/esm/models/components/productvideo.js +0 -35
- package/esm/models/components/productvideo.js.map +1 -1
- package/esm/models/components/savedpaymentmethod.d.ts +0 -172
- package/esm/models/components/savedpaymentmethod.d.ts.map +1 -1
- package/esm/models/components/savedpaymentmethod.js +0 -227
- package/esm/models/components/savedpaymentmethod.js.map +1 -1
- package/esm/models/components/searchproduct.d.ts +0 -17
- package/esm/models/components/searchproduct.d.ts.map +1 -1
- package/esm/models/components/searchproduct.js +0 -22
- package/esm/models/components/searchproduct.js.map +1 -1
- package/esm/models/components/security.d.ts +0 -17
- package/esm/models/components/security.d.ts.map +1 -1
- package/esm/models/components/security.js +0 -23
- package/esm/models/components/security.js.map +1 -1
- package/esm/models/components/seo.d.ts +0 -22
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +0 -22
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/shipmentitem.d.ts +0 -25
- package/esm/models/components/shipmentitem.d.ts.map +1 -1
- package/esm/models/components/shipmentitem.js +0 -32
- package/esm/models/components/shipmentitem.js.map +1 -1
- package/esm/models/components/singleselectattribute.d.ts +0 -23
- package/esm/models/components/singleselectattribute.d.ts.map +1 -1
- package/esm/models/components/singleselectattribute.js +0 -22
- package/esm/models/components/singleselectattribute.js.map +1 -1
- package/esm/models/components/singleselectoption.d.ts +0 -21
- package/esm/models/components/singleselectoption.d.ts.map +1 -1
- package/esm/models/components/singleselectoption.js +0 -20
- package/esm/models/components/singleselectoption.js.map +1 -1
- package/esm/models/components/textattribute.d.ts +0 -23
- package/esm/models/components/textattribute.d.ts.map +1 -1
- package/esm/models/components/textattribute.js +0 -22
- package/esm/models/components/textattribute.js.map +1 -1
- package/esm/models/components/updatecartitem.d.ts +0 -17
- package/esm/models/components/updatecartitem.d.ts.map +1 -1
- package/esm/models/components/updatecartitem.js +0 -26
- package/esm/models/components/updatecartitem.js.map +1 -1
- package/esm/models/components/upipayment.d.ts +0 -69
- package/esm/models/components/upipayment.d.ts.map +1 -1
- package/esm/models/components/upipayment.js +0 -63
- package/esm/models/components/upipayment.js.map +1 -1
- package/esm/models/components/user.d.ts +0 -68
- package/esm/models/components/user.d.ts.map +1 -1
- package/esm/models/components/user.js +0 -92
- package/esm/models/components/user.js.map +1 -1
- package/esm/models/components/variant.d.ts +6 -45
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +6 -53
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +11 -86
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +11 -93
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/components/variantoption.d.ts +0 -74
- package/esm/models/components/variantoption.d.ts.map +1 -1
- package/esm/models/components/variantoption.js +0 -67
- package/esm/models/components/variantoption.js.map +1 -1
- package/esm/models/components/volumebasedpromotion.d.ts +0 -62
- package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
- package/esm/models/components/volumebasedpromotion.js +0 -60
- package/esm/models/components/volumebasedpromotion.js.map +1 -1
- package/esm/models/components/walletpayment.d.ts +0 -69
- package/esm/models/components/walletpayment.d.ts.map +1 -1
- package/esm/models/components/walletpayment.js +0 -63
- package/esm/models/components/walletpayment.js.map +1 -1
- package/esm/models/errors/badrequest.d.ts +0 -38
- package/esm/models/errors/badrequest.d.ts.map +1 -1
- package/esm/models/errors/badrequest.js +0 -36
- package/esm/models/errors/badrequest.js.map +1 -1
- package/esm/models/errors/notfound.d.ts +0 -20
- package/esm/models/errors/notfound.d.ts.map +1 -1
- package/esm/models/errors/notfound.js +0 -19
- package/esm/models/errors/notfound.js.map +1 -1
- package/esm/models/errors/unauthorized.d.ts +0 -20
- package/esm/models/errors/unauthorized.d.ts.map +1 -1
- package/esm/models/errors/unauthorized.js +0 -19
- package/esm/models/errors/unauthorized.js.map +1 -1
- package/esm/models/operations/applycoupon.d.ts +0 -70
- package/esm/models/operations/applycoupon.d.ts.map +1 -1
- package/esm/models/operations/applycoupon.js +0 -83
- package/esm/models/operations/applycoupon.js.map +1 -1
- package/esm/models/operations/cancelorder.d.ts +0 -88
- package/esm/models/operations/cancelorder.d.ts.map +1 -1
- package/esm/models/operations/cancelorder.js +1 -103
- package/esm/models/operations/cancelorder.js.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.d.ts +0 -55
- package/esm/models/operations/checkpincodeserviceability.d.ts.map +1 -1
- package/esm/models/operations/checkpincodeserviceability.js +0 -60
- package/esm/models/operations/checkpincodeserviceability.js.map +1 -1
- package/esm/models/operations/createaddress.d.ts +0 -70
- package/esm/models/operations/createaddress.d.ts.map +1 -1
- package/esm/models/operations/createaddress.js +0 -108
- package/esm/models/operations/createaddress.js.map +1 -1
- package/esm/models/operations/createcart.d.ts +0 -55
- package/esm/models/operations/createcart.d.ts.map +1 -1
- package/esm/models/operations/createcart.js +0 -57
- package/esm/models/operations/createcart.js.map +1 -1
- package/esm/models/operations/createcartaddress.d.ts +0 -100
- package/esm/models/operations/createcartaddress.d.ts.map +1 -1
- package/esm/models/operations/createcartaddress.js +0 -131
- package/esm/models/operations/createcartaddress.js.map +1 -1
- package/esm/models/operations/createorder.d.ts +0 -74
- package/esm/models/operations/createorder.d.ts.map +1 -1
- package/esm/models/operations/createorder.js +0 -93
- package/esm/models/operations/createorder.js.map +1 -1
- package/esm/models/operations/deleteaddress.d.ts +0 -35
- package/esm/models/operations/deleteaddress.d.ts.map +1 -1
- package/esm/models/operations/deleteaddress.js +0 -43
- package/esm/models/operations/deleteaddress.js.map +1 -1
- package/esm/models/operations/deletecart.d.ts +0 -35
- package/esm/models/operations/deletecart.d.ts.map +1 -1
- package/esm/models/operations/deletecart.js +0 -37
- package/esm/models/operations/deletecart.js.map +1 -1
- package/esm/models/operations/deleteusercart.d.ts +0 -35
- package/esm/models/operations/deleteusercart.d.ts.map +1 -1
- package/esm/models/operations/deleteusercart.js +0 -41
- package/esm/models/operations/deleteusercart.js.map +1 -1
- package/esm/models/operations/generateotp.d.ts +0 -71
- package/esm/models/operations/generateotp.d.ts.map +1 -1
- package/esm/models/operations/generateotp.js +0 -90
- package/esm/models/operations/generateotp.js.map +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +0 -92
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +0 -112
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/getanonymoustoken.d.ts +0 -57
- package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
- package/esm/models/operations/getanonymoustoken.js +0 -67
- package/esm/models/operations/getanonymoustoken.js.map +1 -1
- package/esm/models/operations/getcart.d.ts +0 -55
- package/esm/models/operations/getcart.d.ts.map +1 -1
- package/esm/models/operations/getcart.js +0 -56
- package/esm/models/operations/getcart.js.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.d.ts +0 -82
- package/esm/models/operations/getfulfillmentoptions.d.ts.map +1 -1
- package/esm/models/operations/getfulfillmentoptions.js +0 -81
- package/esm/models/operations/getfulfillmentoptions.js.map +1 -1
- package/esm/models/operations/getloyaltydetails.d.ts +0 -56
- package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
- package/esm/models/operations/getloyaltydetails.js +0 -65
- package/esm/models/operations/getloyaltydetails.js.map +1 -1
- package/esm/models/operations/getorderdetail.d.ts +0 -55
- package/esm/models/operations/getorderdetail.d.ts.map +1 -1
- package/esm/models/operations/getorderdetail.js +0 -60
- package/esm/models/operations/getorderdetail.js.map +1 -1
- package/esm/models/operations/getpaymentstatus.d.ts +0 -80
- package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
- package/esm/models/operations/getpaymentstatus.js +0 -82
- package/esm/models/operations/getpaymentstatus.js.map +1 -1
- package/esm/models/operations/getproductdetail.d.ts +0 -55
- package/esm/models/operations/getproductdetail.d.ts.map +1 -1
- package/esm/models/operations/getproductdetail.js +0 -63
- package/esm/models/operations/getproductdetail.js.map +1 -1
- package/esm/models/operations/getusercart.d.ts +0 -55
- package/esm/models/operations/getusercart.d.ts.map +1 -1
- package/esm/models/operations/getusercart.js +0 -60
- package/esm/models/operations/getusercart.js.map +1 -1
- package/esm/models/operations/getuserdetail.d.ts +0 -55
- package/esm/models/operations/getuserdetail.d.ts.map +1 -1
- package/esm/models/operations/getuserdetail.js +0 -56
- package/esm/models/operations/getuserdetail.js.map +1 -1
- package/esm/models/operations/getvariantdetail.d.ts +0 -55
- package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
- package/esm/models/operations/getvariantdetail.js +0 -65
- package/esm/models/operations/getvariantdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +0 -93
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +0 -114
- package/esm/models/operations/listaddresses.js.map +1 -1
- package/esm/models/operations/listcategories.d.ts +0 -56
- package/esm/models/operations/listcategories.d.ts.map +1 -1
- package/esm/models/operations/listcategories.js +0 -68
- package/esm/models/operations/listcategories.js.map +1 -1
- package/esm/models/operations/listcountrypincodes.d.ts +0 -55
- package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
- package/esm/models/operations/listcountrypincodes.js +0 -63
- package/esm/models/operations/listcountrypincodes.js.map +1 -1
- package/esm/models/operations/listcrosssellproducts.d.ts +0 -56
- package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
- package/esm/models/operations/listcrosssellproducts.js +0 -67
- package/esm/models/operations/listcrosssellproducts.js.map +1 -1
- package/esm/models/operations/listorders.d.ts +0 -56
- package/esm/models/operations/listorders.d.ts.map +1 -1
- package/esm/models/operations/listorders.js +0 -66
- package/esm/models/operations/listorders.js.map +1 -1
- package/esm/models/operations/listordershipments.d.ts +0 -55
- package/esm/models/operations/listordershipments.d.ts.map +1 -1
- package/esm/models/operations/listordershipments.js +0 -60
- package/esm/models/operations/listordershipments.js.map +1 -1
- package/esm/models/operations/listproductreviews.d.ts +0 -57
- package/esm/models/operations/listproductreviews.d.ts.map +1 -1
- package/esm/models/operations/listproductreviews.js +0 -73
- package/esm/models/operations/listproductreviews.js.map +1 -1
- package/esm/models/operations/listproducts.d.ts +0 -56
- package/esm/models/operations/listproducts.d.ts.map +1 -1
- package/esm/models/operations/listproducts.js +0 -70
- package/esm/models/operations/listproducts.js.map +1 -1
- package/esm/models/operations/listproductvariants.d.ts +0 -55
- package/esm/models/operations/listproductvariants.d.ts.map +1 -1
- package/esm/models/operations/listproductvariants.js +0 -63
- package/esm/models/operations/listproductvariants.js.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.d.ts +0 -55
- package/esm/models/operations/listsavedpaymentmethods.d.ts.map +1 -1
- package/esm/models/operations/listsavedpaymentmethods.js +0 -65
- package/esm/models/operations/listsavedpaymentmethods.js.map +1 -1
- package/esm/models/operations/listsimilarproducts.d.ts +0 -56
- package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
- package/esm/models/operations/listsimilarproducts.js +0 -67
- package/esm/models/operations/listsimilarproducts.js.map +1 -1
- package/esm/models/operations/listskus.d.ts +0 -56
- package/esm/models/operations/listskus.d.ts.map +1 -1
- package/esm/models/operations/listskus.js +0 -69
- package/esm/models/operations/listskus.js.map +1 -1
- package/esm/models/operations/listupsellproducts.d.ts +0 -56
- package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
- package/esm/models/operations/listupsellproducts.js +0 -67
- package/esm/models/operations/listupsellproducts.js.map +1 -1
- package/esm/models/operations/listuserreviews.d.ts +0 -56
- package/esm/models/operations/listuserreviews.d.ts.map +1 -1
- package/esm/models/operations/listuserreviews.js +0 -66
- package/esm/models/operations/listuserreviews.js.map +1 -1
- package/esm/models/operations/loginwithemail.d.ts +0 -71
- package/esm/models/operations/loginwithemail.d.ts.map +1 -1
- package/esm/models/operations/loginwithemail.js +0 -91
- package/esm/models/operations/loginwithemail.js.map +1 -1
- package/esm/models/operations/loginwithphone.d.ts +0 -71
- package/esm/models/operations/loginwithphone.d.ts.map +1 -1
- package/esm/models/operations/loginwithphone.js +0 -93
- package/esm/models/operations/loginwithphone.js.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.d.ts +0 -71
- package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.js +0 -93
- package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
- package/esm/models/operations/logout.d.ts +0 -42
- package/esm/models/operations/logout.d.ts.map +1 -1
- package/esm/models/operations/logout.js +0 -45
- package/esm/models/operations/logout.js.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.d.ts +0 -70
- package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.js +0 -83
- package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
- package/esm/models/operations/refreshtoken.d.ts +0 -56
- package/esm/models/operations/refreshtoken.d.ts.map +1 -1
- package/esm/models/operations/refreshtoken.js +0 -66
- package/esm/models/operations/refreshtoken.js.map +1 -1
- package/esm/models/operations/removecoupon.d.ts +0 -55
- package/esm/models/operations/removecoupon.d.ts.map +1 -1
- package/esm/models/operations/removecoupon.js +0 -56
- package/esm/models/operations/removecoupon.js.map +1 -1
- package/esm/models/operations/removeloyaltypoints.d.ts +0 -55
- package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/removeloyaltypoints.js +0 -56
- package/esm/models/operations/removeloyaltypoints.js.map +1 -1
- package/esm/models/operations/retryorderpayment.d.ts +0 -87
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +0 -112
- package/esm/models/operations/retryorderpayment.js.map +1 -1
- package/esm/models/operations/searchproducts.d.ts +0 -84
- package/esm/models/operations/searchproducts.d.ts.map +1 -1
- package/esm/models/operations/searchproducts.js +0 -89
- package/esm/models/operations/searchproducts.js.map +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +0 -70
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/updateaddressdetail.js +0 -110
- package/esm/models/operations/updateaddressdetail.js.map +1 -1
- package/esm/models/operations/updatecart.d.ts +0 -55
- package/esm/models/operations/updatecart.d.ts.map +1 -1
- package/esm/models/operations/updatecart.js +0 -61
- package/esm/models/operations/updatecart.js.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.d.ts +0 -55
- package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.js +0 -61
- package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
- package/esm/models/operations/updateuser.d.ts +0 -55
- package/esm/models/operations/updateuser.d.ts.map +1 -1
- package/esm/models/operations/updateuser.js +0 -61
- package/esm/models/operations/updateuser.js.map +1 -1
- package/esm/models/operations/verifyotp.d.ts +0 -85
- package/esm/models/operations/verifyotp.d.ts.map +1 -1
- package/esm/models/operations/verifyotp.js +1 -84
- package/esm/models/operations/verifyotp.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/anonymoususer.ts +0 -65
- package/src/models/components/appliedcoupon.ts +0 -67
- package/src/models/components/appliedpromotion.ts +0 -77
- package/src/models/components/associatedoption.ts +1 -41
- package/src/models/components/banktransfer.ts +0 -93
- package/src/models/components/booleanattribute.ts +0 -43
- package/src/models/components/cardpayment.ts +0 -108
- package/src/models/components/cart.ts +3 -177
- package/src/models/components/cartbasedserviceabilitycheck.ts +0 -41
- package/src/models/components/cartitem.ts +0 -146
- package/src/models/components/category.ts +0 -48
- package/src/models/components/collectinstore.ts +0 -45
- package/src/models/components/collectinstorefulfillment.ts +0 -64
- package/src/models/components/collectinstorefulfillmentinput.ts +0 -42
- package/src/models/components/colorattribute.ts +0 -76
- package/src/models/components/coloroption.ts +0 -68
- package/src/models/components/currency.ts +0 -35
- package/src/models/components/customeraddress.ts +0 -77
- package/src/models/components/customeraddressinput.ts +0 -59
- package/src/models/components/customerloyalty.ts +0 -61
- package/src/models/components/customerreadyforreview.ts +0 -54
- package/src/models/components/customerreview.ts +0 -208
- package/src/models/components/dateattribute.ts +0 -39
- package/src/models/components/deliveryfulfillment.ts +0 -71
- package/src/models/components/deliveryfulfillmentinput.ts +0 -43
- package/src/models/components/discountbasedpromotion.ts +0 -81
- package/src/models/components/fixedpricepromotion.ts +0 -58
- package/src/models/components/freegoodspromotion.ts +0 -61
- package/src/models/components/fulfillmentitem.ts +0 -48
- package/src/models/components/fulfillmentiteminput.ts +0 -42
- package/src/models/components/fulfillmentpreference.ts +0 -59
- package/src/models/components/fulfillmentpreferenceinput.ts +0 -51
- package/src/models/components/generateotpwithemail.ts +1 -58
- package/src/models/components/generateotpwithphone.ts +2 -75
- package/src/models/components/item.ts +1 -128
- package/src/models/components/juspayexpresscheckout.ts +0 -44
- package/src/models/components/juspayexpresscheckoutresponse.ts +0 -246
- package/src/models/components/juspayhypercheckout.ts +1 -63
- package/src/models/components/juspayhypercheckoutresponse.ts +0 -220
- package/src/models/components/juspaynetbanking.ts +3 -57
- package/src/models/components/juspaynewcard.ts +4 -92
- package/src/models/components/juspaysavedcardtoken.ts +4 -87
- package/src/models/components/juspayupicollect.ts +3 -59
- package/src/models/components/juspayupiintent.ts +3 -61
- package/src/models/components/lotbatchdetail.ts +0 -46
- package/src/models/components/multiselectattribute.ts +0 -43
- package/src/models/components/netbankingpayment.ts +0 -94
- package/src/models/components/notificationchannelpreferences.ts +0 -15
- package/src/models/components/notificationpreferences.ts +0 -15
- package/src/models/components/numberattribute.ts +0 -41
- package/src/models/components/order.ts +2 -327
- package/src/models/components/orderdetail.ts +3 -346
- package/src/models/components/orderitem.ts +0 -144
- package/src/models/components/orderlist.ts +1 -161
- package/src/models/components/orderpayment.ts +4 -64
- package/src/models/components/ordershipment.ts +1 -110
- package/src/models/components/pagination.ts +0 -46
- package/src/models/components/partialcollectanddelivery.ts +0 -165
- package/src/models/components/partialcollectanddeliveryinput.ts +0 -133
- package/src/models/components/paymentmethodpayload.ts +0 -38
- package/src/models/components/payupaymentinfo.ts +0 -103
- package/src/models/components/pincode.ts +0 -45
- package/src/models/components/pincodeserviceability.ts +0 -203
- package/src/models/components/product.ts +4 -147
- package/src/models/components/productattribute.ts +2 -90
- package/src/models/components/productbundleitem.ts +1 -137
- package/src/models/components/productcategory.ts +1 -59
- package/src/models/components/productdetail.ts +6 -180
- package/src/models/components/productimage.ts +0 -54
- package/src/models/components/productpricing.ts +0 -61
- package/src/models/components/productpromotion.ts +0 -131
- package/src/models/components/productreview.ts +0 -194
- package/src/models/components/productshipping.ts +0 -46
- package/src/models/components/productsubscription.ts +0 -103
- package/src/models/components/productvideo.ts +0 -55
- package/src/models/components/savedpaymentmethod.ts +0 -362
- package/src/models/components/searchproduct.ts +0 -38
- package/src/models/components/security.ts +0 -39
- package/src/models/components/seo.ts +0 -34
- package/src/models/components/shipmentitem.ts +0 -51
- package/src/models/components/singleselectattribute.ts +0 -43
- package/src/models/components/singleselectoption.ts +0 -39
- package/src/models/components/textattribute.ts +0 -39
- package/src/models/components/updatecartitem.ts +0 -42
- package/src/models/components/upipayment.ts +0 -90
- package/src/models/components/user.ts +0 -131
- package/src/models/components/variant.ts +1 -94
- package/src/models/components/variantdetail.ts +4 -168
- package/src/models/components/variantoption.ts +0 -107
- package/src/models/components/volumebasedpromotion.ts +0 -96
- package/src/models/components/walletpayment.ts +0 -90
- package/src/models/errors/badrequest.ts +0 -62
- package/src/models/errors/notfound.ts +0 -33
- package/src/models/errors/unauthorized.ts +0 -33
- package/src/models/operations/applycoupon.ts +0 -147
- package/src/models/operations/cancelorder.ts +1 -169
- package/src/models/operations/checkpincodeserviceability.ts +0 -119
- package/src/models/operations/createaddress.ts +0 -172
- package/src/models/operations/createcart.ts +0 -107
- package/src/models/operations/createcartaddress.ts +0 -225
- package/src/models/operations/createorder.ts +0 -162
- package/src/models/operations/deleteaddress.ts +0 -75
- package/src/models/operations/deletecart.ts +0 -69
- package/src/models/operations/deleteusercart.ts +0 -73
- package/src/models/operations/generateotp.ts +0 -155
- package/src/models/operations/getaddressdetail.ts +0 -195
- package/src/models/operations/getanonymoustoken.ts +0 -117
- package/src/models/operations/getcart.ts +0 -102
- package/src/models/operations/getfulfillmentoptions.ts +0 -143
- package/src/models/operations/getloyaltydetails.ts +0 -118
- package/src/models/operations/getorderdetail.ts +0 -110
- package/src/models/operations/getpaymentstatus.ts +0 -139
- package/src/models/operations/getproductdetail.ts +0 -115
- package/src/models/operations/getusercart.ts +0 -110
- package/src/models/operations/getuserdetail.ts +0 -106
- package/src/models/operations/getvariantdetail.ts +0 -117
- package/src/models/operations/listaddresses.ts +0 -196
- package/src/models/operations/listcategories.ts +0 -119
- package/src/models/operations/listcountrypincodes.ts +0 -115
- package/src/models/operations/listcrosssellproducts.ts +0 -123
- package/src/models/operations/listorders.ts +0 -117
- package/src/models/operations/listordershipments.ts +0 -112
- package/src/models/operations/listproductreviews.ts +0 -127
- package/src/models/operations/listproducts.ts +0 -121
- package/src/models/operations/listproductvariants.ts +0 -115
- package/src/models/operations/listsavedpaymentmethods.ts +0 -121
- package/src/models/operations/listsimilarproducts.ts +0 -120
- package/src/models/operations/listskus.ts +0 -118
- package/src/models/operations/listupsellproducts.ts +0 -120
- package/src/models/operations/listuserreviews.ts +0 -121
- package/src/models/operations/loginwithemail.ts +0 -156
- package/src/models/operations/loginwithphone.ts +0 -158
- package/src/models/operations/loginwithwhatsapp.ts +0 -160
- package/src/models/operations/logout.ts +0 -79
- package/src/models/operations/redeemloyaltypoints.ts +0 -149
- package/src/models/operations/refreshtoken.ts +0 -117
- package/src/models/operations/removecoupon.ts +0 -106
- package/src/models/operations/removeloyaltypoints.ts +0 -108
- package/src/models/operations/retryorderpayment.ts +0 -201
- package/src/models/operations/searchproducts.ts +0 -156
- package/src/models/operations/updateaddressdetail.ts +0 -178
- package/src/models/operations/updatecart.ts +0 -111
- package/src/models/operations/updatefulfillmentpreference.ts +0 -121
- package/src/models/operations/updateuser.ts +0 -111
- package/src/models/operations/verifyotp.ts +1 -138
- package/docs/sdks/auth/README.md +0 -874
- package/docs/sdks/carts/README.md +0 -1030
- package/docs/sdks/catalog/README.md +0 -876
- package/docs/sdks/common/README.md +0 -87
- package/docs/sdks/customers/README.md +0 -714
- package/docs/sdks/orders/README.md +0 -571
- package/docs/sdks/shipping/README.md +0 -169
- package/examples/README.md +0 -31
|
@@ -78,125 +78,15 @@ export type ProductReview = {
|
|
|
78
78
|
/** @internal */
|
|
79
79
|
export declare const Status$inboundSchema: z.ZodNativeEnum<typeof Status>;
|
|
80
80
|
/** @internal */
|
|
81
|
-
export declare const Status$outboundSchema: z.ZodNativeEnum<typeof Status>;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
85
|
-
*/
|
|
86
|
-
export declare namespace Status$ {
|
|
87
|
-
/** @deprecated use `Status$inboundSchema` instead. */
|
|
88
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
89
|
-
readonly Approved: "approved";
|
|
90
|
-
}>;
|
|
91
|
-
/** @deprecated use `Status$outboundSchema` instead. */
|
|
92
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
93
|
-
readonly Approved: "approved";
|
|
94
|
-
}>;
|
|
95
|
-
}
|
|
96
|
-
/** @internal */
|
|
97
81
|
export declare const Images$inboundSchema: z.ZodType<Images, z.ZodTypeDef, unknown>;
|
|
98
|
-
/** @internal */
|
|
99
|
-
export type Images$Outbound = {
|
|
100
|
-
blur_url?: string | undefined;
|
|
101
|
-
thumbnail_url?: string | undefined;
|
|
102
|
-
standard_url?: string | undefined;
|
|
103
|
-
};
|
|
104
|
-
/** @internal */
|
|
105
|
-
export declare const Images$outboundSchema: z.ZodType<Images$Outbound, z.ZodTypeDef, Images>;
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
109
|
-
*/
|
|
110
|
-
export declare namespace Images$ {
|
|
111
|
-
/** @deprecated use `Images$inboundSchema` instead. */
|
|
112
|
-
const inboundSchema: z.ZodType<Images, z.ZodTypeDef, unknown>;
|
|
113
|
-
/** @deprecated use `Images$outboundSchema` instead. */
|
|
114
|
-
const outboundSchema: z.ZodType<Images$Outbound, z.ZodTypeDef, Images>;
|
|
115
|
-
/** @deprecated use `Images$Outbound` instead. */
|
|
116
|
-
type Outbound = Images$Outbound;
|
|
117
|
-
}
|
|
118
|
-
export declare function imagesToJSON(images: Images): string;
|
|
119
82
|
export declare function imagesFromJSON(jsonString: string): SafeParseResult<Images, SDKValidationError>;
|
|
120
83
|
/** @internal */
|
|
121
84
|
export declare const Playback$inboundSchema: z.ZodType<Playback, z.ZodTypeDef, unknown>;
|
|
122
|
-
/** @internal */
|
|
123
|
-
export type Playback$Outbound = {
|
|
124
|
-
hls?: string | undefined;
|
|
125
|
-
dash?: string | undefined;
|
|
126
|
-
};
|
|
127
|
-
/** @internal */
|
|
128
|
-
export declare const Playback$outboundSchema: z.ZodType<Playback$Outbound, z.ZodTypeDef, Playback>;
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
132
|
-
*/
|
|
133
|
-
export declare namespace Playback$ {
|
|
134
|
-
/** @deprecated use `Playback$inboundSchema` instead. */
|
|
135
|
-
const inboundSchema: z.ZodType<Playback, z.ZodTypeDef, unknown>;
|
|
136
|
-
/** @deprecated use `Playback$outboundSchema` instead. */
|
|
137
|
-
const outboundSchema: z.ZodType<Playback$Outbound, z.ZodTypeDef, Playback>;
|
|
138
|
-
/** @deprecated use `Playback$Outbound` instead. */
|
|
139
|
-
type Outbound = Playback$Outbound;
|
|
140
|
-
}
|
|
141
|
-
export declare function playbackToJSON(playback: Playback): string;
|
|
142
85
|
export declare function playbackFromJSON(jsonString: string): SafeParseResult<Playback, SDKValidationError>;
|
|
143
86
|
/** @internal */
|
|
144
87
|
export declare const Videos$inboundSchema: z.ZodType<Videos, z.ZodTypeDef, unknown>;
|
|
145
|
-
/** @internal */
|
|
146
|
-
export type Videos$Outbound = {
|
|
147
|
-
cover_image_url?: string | undefined;
|
|
148
|
-
video_preview_url?: string | undefined;
|
|
149
|
-
playback?: Playback$Outbound | undefined;
|
|
150
|
-
duration?: string | undefined;
|
|
151
|
-
size?: string | undefined;
|
|
152
|
-
};
|
|
153
|
-
/** @internal */
|
|
154
|
-
export declare const Videos$outboundSchema: z.ZodType<Videos$Outbound, z.ZodTypeDef, Videos>;
|
|
155
|
-
/**
|
|
156
|
-
* @internal
|
|
157
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
158
|
-
*/
|
|
159
|
-
export declare namespace Videos$ {
|
|
160
|
-
/** @deprecated use `Videos$inboundSchema` instead. */
|
|
161
|
-
const inboundSchema: z.ZodType<Videos, z.ZodTypeDef, unknown>;
|
|
162
|
-
/** @deprecated use `Videos$outboundSchema` instead. */
|
|
163
|
-
const outboundSchema: z.ZodType<Videos$Outbound, z.ZodTypeDef, Videos>;
|
|
164
|
-
/** @deprecated use `Videos$Outbound` instead. */
|
|
165
|
-
type Outbound = Videos$Outbound;
|
|
166
|
-
}
|
|
167
|
-
export declare function videosToJSON(videos: Videos): string;
|
|
168
88
|
export declare function videosFromJSON(jsonString: string): SafeParseResult<Videos, SDKValidationError>;
|
|
169
89
|
/** @internal */
|
|
170
90
|
export declare const ProductReview$inboundSchema: z.ZodType<ProductReview, z.ZodTypeDef, unknown>;
|
|
171
|
-
/** @internal */
|
|
172
|
-
export type ProductReview$Outbound = {
|
|
173
|
-
rating?: number | undefined;
|
|
174
|
-
review_text?: string | undefined;
|
|
175
|
-
name?: string | undefined;
|
|
176
|
-
email?: string | undefined;
|
|
177
|
-
status?: string | undefined;
|
|
178
|
-
is_featured: boolean;
|
|
179
|
-
tags?: Array<string> | undefined;
|
|
180
|
-
review_date?: string | undefined;
|
|
181
|
-
images?: Array<Images$Outbound> | undefined;
|
|
182
|
-
videos?: Array<Videos$Outbound> | undefined;
|
|
183
|
-
created_at?: string | undefined;
|
|
184
|
-
modified_at?: string | undefined;
|
|
185
|
-
};
|
|
186
|
-
/** @internal */
|
|
187
|
-
export declare const ProductReview$outboundSchema: z.ZodType<ProductReview$Outbound, z.ZodTypeDef, ProductReview>;
|
|
188
|
-
/**
|
|
189
|
-
* @internal
|
|
190
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
191
|
-
*/
|
|
192
|
-
export declare namespace ProductReview$ {
|
|
193
|
-
/** @deprecated use `ProductReview$inboundSchema` instead. */
|
|
194
|
-
const inboundSchema: z.ZodType<ProductReview, z.ZodTypeDef, unknown>;
|
|
195
|
-
/** @deprecated use `ProductReview$outboundSchema` instead. */
|
|
196
|
-
const outboundSchema: z.ZodType<ProductReview$Outbound, z.ZodTypeDef, ProductReview>;
|
|
197
|
-
/** @deprecated use `ProductReview$Outbound` instead. */
|
|
198
|
-
type Outbound = ProductReview$Outbound;
|
|
199
|
-
}
|
|
200
|
-
export declare function productReviewToJSON(productReview: ProductReview): string;
|
|
201
91
|
export declare function productReviewFromJSON(jsonString: string): SafeParseResult<ProductReview, SDKValidationError>;
|
|
202
92
|
//# sourceMappingURL=productreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productreview.d.ts","sourceRoot":"","sources":["../../../src/models/components/productreview.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,MAAM;;CAET,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C,MAAM,MAAM,MAAM,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BAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C;AAED,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAYtE,CAAC;AAEL,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAyBP,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -14,19 +14,6 @@ export const Status = {
|
|
|
14
14
|
export const Status$inboundSchema = z
|
|
15
15
|
.nativeEnum(Status);
|
|
16
16
|
/** @internal */
|
|
17
|
-
export const Status$outboundSchema = Status$inboundSchema;
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
-
*/
|
|
22
|
-
export var Status$;
|
|
23
|
-
(function (Status$) {
|
|
24
|
-
/** @deprecated use `Status$inboundSchema` instead. */
|
|
25
|
-
Status$.inboundSchema = Status$inboundSchema;
|
|
26
|
-
/** @deprecated use `Status$outboundSchema` instead. */
|
|
27
|
-
Status$.outboundSchema = Status$outboundSchema;
|
|
28
|
-
})(Status$ || (Status$ = {}));
|
|
29
|
-
/** @internal */
|
|
30
17
|
export const Images$inboundSchema = z
|
|
31
18
|
.object({
|
|
32
19
|
blur_url: z.string().optional(),
|
|
@@ -39,32 +26,6 @@ export const Images$inboundSchema = z
|
|
|
39
26
|
"standard_url": "standardUrl",
|
|
40
27
|
});
|
|
41
28
|
});
|
|
42
|
-
/** @internal */
|
|
43
|
-
export const Images$outboundSchema = z.object({
|
|
44
|
-
blurUrl: z.string().optional(),
|
|
45
|
-
thumbnailUrl: z.string().optional(),
|
|
46
|
-
standardUrl: z.string().optional(),
|
|
47
|
-
}).transform((v) => {
|
|
48
|
-
return remap$(v, {
|
|
49
|
-
blurUrl: "blur_url",
|
|
50
|
-
thumbnailUrl: "thumbnail_url",
|
|
51
|
-
standardUrl: "standard_url",
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
-
*/
|
|
58
|
-
export var Images$;
|
|
59
|
-
(function (Images$) {
|
|
60
|
-
/** @deprecated use `Images$inboundSchema` instead. */
|
|
61
|
-
Images$.inboundSchema = Images$inboundSchema;
|
|
62
|
-
/** @deprecated use `Images$outboundSchema` instead. */
|
|
63
|
-
Images$.outboundSchema = Images$outboundSchema;
|
|
64
|
-
})(Images$ || (Images$ = {}));
|
|
65
|
-
export function imagesToJSON(images) {
|
|
66
|
-
return JSON.stringify(Images$outboundSchema.parse(images));
|
|
67
|
-
}
|
|
68
29
|
export function imagesFromJSON(jsonString) {
|
|
69
30
|
return safeParse(jsonString, (x) => Images$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Images' from JSON`);
|
|
70
31
|
}
|
|
@@ -73,25 +34,6 @@ export const Playback$inboundSchema = z.object({
|
|
|
73
34
|
hls: z.string().optional(),
|
|
74
35
|
dash: z.string().optional(),
|
|
75
36
|
});
|
|
76
|
-
/** @internal */
|
|
77
|
-
export const Playback$outboundSchema = z.object({
|
|
78
|
-
hls: z.string().optional(),
|
|
79
|
-
dash: z.string().optional(),
|
|
80
|
-
});
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export var Playback$;
|
|
86
|
-
(function (Playback$) {
|
|
87
|
-
/** @deprecated use `Playback$inboundSchema` instead. */
|
|
88
|
-
Playback$.inboundSchema = Playback$inboundSchema;
|
|
89
|
-
/** @deprecated use `Playback$outboundSchema` instead. */
|
|
90
|
-
Playback$.outboundSchema = Playback$outboundSchema;
|
|
91
|
-
})(Playback$ || (Playback$ = {}));
|
|
92
|
-
export function playbackToJSON(playback) {
|
|
93
|
-
return JSON.stringify(Playback$outboundSchema.parse(playback));
|
|
94
|
-
}
|
|
95
37
|
export function playbackFromJSON(jsonString) {
|
|
96
38
|
return safeParse(jsonString, (x) => Playback$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Playback' from JSON`);
|
|
97
39
|
}
|
|
@@ -109,33 +51,6 @@ export const Videos$inboundSchema = z
|
|
|
109
51
|
"video_preview_url": "videoPreviewUrl",
|
|
110
52
|
});
|
|
111
53
|
});
|
|
112
|
-
/** @internal */
|
|
113
|
-
export const Videos$outboundSchema = z.object({
|
|
114
|
-
coverImageUrl: z.string().optional(),
|
|
115
|
-
videoPreviewUrl: z.string().optional(),
|
|
116
|
-
playback: z.lazy(() => Playback$outboundSchema).optional(),
|
|
117
|
-
duration: z.string().optional(),
|
|
118
|
-
size: z.string().optional(),
|
|
119
|
-
}).transform((v) => {
|
|
120
|
-
return remap$(v, {
|
|
121
|
-
coverImageUrl: "cover_image_url",
|
|
122
|
-
videoPreviewUrl: "video_preview_url",
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
128
|
-
*/
|
|
129
|
-
export var Videos$;
|
|
130
|
-
(function (Videos$) {
|
|
131
|
-
/** @deprecated use `Videos$inboundSchema` instead. */
|
|
132
|
-
Videos$.inboundSchema = Videos$inboundSchema;
|
|
133
|
-
/** @deprecated use `Videos$outboundSchema` instead. */
|
|
134
|
-
Videos$.outboundSchema = Videos$outboundSchema;
|
|
135
|
-
})(Videos$ || (Videos$ = {}));
|
|
136
|
-
export function videosToJSON(videos) {
|
|
137
|
-
return JSON.stringify(Videos$outboundSchema.parse(videos));
|
|
138
|
-
}
|
|
139
54
|
export function videosFromJSON(jsonString) {
|
|
140
55
|
return safeParse(jsonString, (x) => Videos$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Videos' from JSON`);
|
|
141
56
|
}
|
|
@@ -165,43 +80,6 @@ export const ProductReview$inboundSchema = z.object({
|
|
|
165
80
|
"modified_at": "modifiedAt",
|
|
166
81
|
});
|
|
167
82
|
});
|
|
168
|
-
/** @internal */
|
|
169
|
-
export const ProductReview$outboundSchema = z.object({
|
|
170
|
-
rating: z.number().optional(),
|
|
171
|
-
reviewText: z.string().optional(),
|
|
172
|
-
name: z.string().optional(),
|
|
173
|
-
email: z.string().optional(),
|
|
174
|
-
status: Status$outboundSchema.optional(),
|
|
175
|
-
isFeatured: z.boolean().default(false),
|
|
176
|
-
tags: z.array(z.string()).optional(),
|
|
177
|
-
reviewDate: z.date().transform(v => v.toISOString()).optional(),
|
|
178
|
-
images: z.array(z.lazy(() => Images$outboundSchema)).optional(),
|
|
179
|
-
videos: z.array(z.lazy(() => Videos$outboundSchema)).optional(),
|
|
180
|
-
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
181
|
-
modifiedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
182
|
-
}).transform((v) => {
|
|
183
|
-
return remap$(v, {
|
|
184
|
-
reviewText: "review_text",
|
|
185
|
-
isFeatured: "is_featured",
|
|
186
|
-
reviewDate: "review_date",
|
|
187
|
-
createdAt: "created_at",
|
|
188
|
-
modifiedAt: "modified_at",
|
|
189
|
-
});
|
|
190
|
-
});
|
|
191
|
-
/**
|
|
192
|
-
* @internal
|
|
193
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
194
|
-
*/
|
|
195
|
-
export var ProductReview$;
|
|
196
|
-
(function (ProductReview$) {
|
|
197
|
-
/** @deprecated use `ProductReview$inboundSchema` instead. */
|
|
198
|
-
ProductReview$.inboundSchema = ProductReview$inboundSchema;
|
|
199
|
-
/** @deprecated use `ProductReview$outboundSchema` instead. */
|
|
200
|
-
ProductReview$.outboundSchema = ProductReview$outboundSchema;
|
|
201
|
-
})(ProductReview$ || (ProductReview$ = {}));
|
|
202
|
-
export function productReviewToJSON(productReview) {
|
|
203
|
-
return JSON.stringify(ProductReview$outboundSchema.parse(productReview));
|
|
204
|
-
}
|
|
205
83
|
export function productReviewFromJSON(jsonString) {
|
|
206
84
|
return safeParse(jsonString, (x) => ProductReview$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProductReview' from JSON`);
|
|
207
85
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productreview.js","sourceRoot":"","sources":["../../../src/models/components/productreview.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAyEX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAmC,CAAC;KAClE,UAAU,CAAC,MAAM,CAAC,CAAC;AAEtB,gBAAgB;AAChB,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"productreview.js","sourceRoot":"","sources":["../../../src/models/components/productreview.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;A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,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,WAAW;QACzB,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CACnC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
|
@@ -12,27 +12,5 @@ export type ProductShipping = {
|
|
|
12
12
|
};
|
|
13
13
|
/** @internal */
|
|
14
14
|
export declare const ProductShipping$inboundSchema: z.ZodType<ProductShipping, z.ZodTypeDef, unknown>;
|
|
15
|
-
/** @internal */
|
|
16
|
-
export type ProductShipping$Outbound = {
|
|
17
|
-
handling_charges_including_tax: number;
|
|
18
|
-
handling_charges_excluding_tax: number;
|
|
19
|
-
tax_type: string;
|
|
20
|
-
tax_rate: number;
|
|
21
|
-
};
|
|
22
|
-
/** @internal */
|
|
23
|
-
export declare const ProductShipping$outboundSchema: z.ZodType<ProductShipping$Outbound, z.ZodTypeDef, ProductShipping>;
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
-
*/
|
|
28
|
-
export declare namespace ProductShipping$ {
|
|
29
|
-
/** @deprecated use `ProductShipping$inboundSchema` instead. */
|
|
30
|
-
const inboundSchema: z.ZodType<ProductShipping, z.ZodTypeDef, unknown>;
|
|
31
|
-
/** @deprecated use `ProductShipping$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.ZodType<ProductShipping$Outbound, z.ZodTypeDef, ProductShipping>;
|
|
33
|
-
/** @deprecated use `ProductShipping$Outbound` instead. */
|
|
34
|
-
type Outbound = ProductShipping$Outbound;
|
|
35
|
-
}
|
|
36
|
-
export declare function productShippingToJSON(productShipping: ProductShipping): string;
|
|
37
15
|
export declare function productShippingFromJSON(jsonString: string): SafeParseResult<ProductShipping, SDKValidationError>;
|
|
38
16
|
//# sourceMappingURL=productshipping.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productshipping.d.ts","sourceRoot":"","sources":["../../../src/models/components/productshipping.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,2BAA2B,EAAE,MAAM,CAAC;IACpC,2BAA2B,EAAE,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"productshipping.d.ts","sourceRoot":"","sources":["../../../src/models/components/productshipping.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,2BAA2B,EAAE,MAAM,CAAC;IACpC,2BAA2B,EAAE,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -18,34 +18,6 @@ export const ProductShipping$inboundSchema = z.object({
|
|
|
18
18
|
"tax_rate": "taxRate",
|
|
19
19
|
});
|
|
20
20
|
});
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const ProductShipping$outboundSchema = z.object({
|
|
23
|
-
handlingChargesIncludingTax: z.number(),
|
|
24
|
-
handlingChargesExcludingTax: z.number(),
|
|
25
|
-
taxType: z.string(),
|
|
26
|
-
taxRate: z.number(),
|
|
27
|
-
}).transform((v) => {
|
|
28
|
-
return remap$(v, {
|
|
29
|
-
handlingChargesIncludingTax: "handling_charges_including_tax",
|
|
30
|
-
handlingChargesExcludingTax: "handling_charges_excluding_tax",
|
|
31
|
-
taxType: "tax_type",
|
|
32
|
-
taxRate: "tax_rate",
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
-
*/
|
|
39
|
-
export var ProductShipping$;
|
|
40
|
-
(function (ProductShipping$) {
|
|
41
|
-
/** @deprecated use `ProductShipping$inboundSchema` instead. */
|
|
42
|
-
ProductShipping$.inboundSchema = ProductShipping$inboundSchema;
|
|
43
|
-
/** @deprecated use `ProductShipping$outboundSchema` instead. */
|
|
44
|
-
ProductShipping$.outboundSchema = ProductShipping$outboundSchema;
|
|
45
|
-
})(ProductShipping$ || (ProductShipping$ = {}));
|
|
46
|
-
export function productShippingToJSON(productShipping) {
|
|
47
|
-
return JSON.stringify(ProductShipping$outboundSchema.parse(productShipping));
|
|
48
|
-
}
|
|
49
21
|
export function productShippingFromJSON(jsonString) {
|
|
50
22
|
return safeParse(jsonString, (x) => ProductShipping$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProductShipping' from JSON`);
|
|
51
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productshipping.js","sourceRoot":"","sources":["../../../src/models/components/productshipping.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAcjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1C,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,gCAAgC,EAAE,6BAA6B;QAC/D,gCAAgC,EAAE,6BAA6B;QAC/D,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,SAAS;KACtB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"productshipping.js","sourceRoot":"","sources":["../../../src/models/components/productshipping.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAcjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1C,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,gCAAgC,EAAE,6BAA6B;QAC/D,gCAAgC,EAAE,6BAA6B;QAC/D,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,SAAS;KACtB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -52,78 +52,8 @@ export type ProductSubscription = {
|
|
|
52
52
|
/** @internal */
|
|
53
53
|
export declare const BillingFrequency$inboundSchema: z.ZodNativeEnum<typeof BillingFrequency>;
|
|
54
54
|
/** @internal */
|
|
55
|
-
export declare const BillingFrequency$outboundSchema: z.ZodNativeEnum<typeof BillingFrequency>;
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
-
*/
|
|
60
|
-
export declare namespace BillingFrequency$ {
|
|
61
|
-
/** @deprecated use `BillingFrequency$inboundSchema` instead. */
|
|
62
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
63
|
-
readonly Weekly: "weekly";
|
|
64
|
-
readonly Monthly: "monthly";
|
|
65
|
-
readonly Annually: "annually";
|
|
66
|
-
}>;
|
|
67
|
-
/** @deprecated use `BillingFrequency$outboundSchema` instead. */
|
|
68
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
69
|
-
readonly Weekly: "weekly";
|
|
70
|
-
readonly Monthly: "monthly";
|
|
71
|
-
readonly Annually: "annually";
|
|
72
|
-
}>;
|
|
73
|
-
}
|
|
74
|
-
/** @internal */
|
|
75
55
|
export declare const OrderFrequency$inboundSchema: z.ZodNativeEnum<typeof OrderFrequency>;
|
|
76
56
|
/** @internal */
|
|
77
|
-
export declare const OrderFrequency$outboundSchema: z.ZodNativeEnum<typeof OrderFrequency>;
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
81
|
-
*/
|
|
82
|
-
export declare namespace OrderFrequency$ {
|
|
83
|
-
/** @deprecated use `OrderFrequency$inboundSchema` instead. */
|
|
84
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
85
|
-
readonly Weekly: "weekly";
|
|
86
|
-
readonly Monthly: "monthly";
|
|
87
|
-
readonly Annully: "annully";
|
|
88
|
-
}>;
|
|
89
|
-
/** @deprecated use `OrderFrequency$outboundSchema` instead. */
|
|
90
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
91
|
-
readonly Weekly: "weekly";
|
|
92
|
-
readonly Monthly: "monthly";
|
|
93
|
-
readonly Annully: "annully";
|
|
94
|
-
}>;
|
|
95
|
-
}
|
|
96
|
-
/** @internal */
|
|
97
57
|
export declare const ProductSubscription$inboundSchema: z.ZodType<ProductSubscription, z.ZodTypeDef, unknown>;
|
|
98
|
-
/** @internal */
|
|
99
|
-
export type ProductSubscription$Outbound = {
|
|
100
|
-
id: string;
|
|
101
|
-
subscription_plan: string;
|
|
102
|
-
subscription_price: number;
|
|
103
|
-
billing_interval: number;
|
|
104
|
-
billing_frequency: string;
|
|
105
|
-
billing_limit: number;
|
|
106
|
-
fulfill_separately: boolean;
|
|
107
|
-
order_interval: number;
|
|
108
|
-
order_frequency: string;
|
|
109
|
-
order_limit: number;
|
|
110
|
-
minimum_quantity: number;
|
|
111
|
-
billing_trial_days: number;
|
|
112
|
-
};
|
|
113
|
-
/** @internal */
|
|
114
|
-
export declare const ProductSubscription$outboundSchema: z.ZodType<ProductSubscription$Outbound, z.ZodTypeDef, ProductSubscription>;
|
|
115
|
-
/**
|
|
116
|
-
* @internal
|
|
117
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
118
|
-
*/
|
|
119
|
-
export declare namespace ProductSubscription$ {
|
|
120
|
-
/** @deprecated use `ProductSubscription$inboundSchema` instead. */
|
|
121
|
-
const inboundSchema: z.ZodType<ProductSubscription, z.ZodTypeDef, unknown>;
|
|
122
|
-
/** @deprecated use `ProductSubscription$outboundSchema` instead. */
|
|
123
|
-
const outboundSchema: z.ZodType<ProductSubscription$Outbound, z.ZodTypeDef, ProductSubscription>;
|
|
124
|
-
/** @deprecated use `ProductSubscription$Outbound` instead. */
|
|
125
|
-
type Outbound = ProductSubscription$Outbound;
|
|
126
|
-
}
|
|
127
|
-
export declare function productSubscriptionToJSON(productSubscription: ProductSubscription): string;
|
|
128
58
|
export declare function productSubscriptionFromJSON(jsonString: string): SafeParseResult<ProductSubscription, SDKValidationError>;
|
|
129
59
|
//# sourceMappingURL=productsubscription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productsubscription.d.ts","sourceRoot":"","sources":["../../../src/models/components/productsubscription.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM
|
|
1
|
+
{"version":3,"file":"productsubscription.d.ts","sourceRoot":"","sources":["../../../src/models/components/productsubscription.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,cAAc,CACS,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CA4BP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -17,34 +17,8 @@ export const OrderFrequency = {
|
|
|
17
17
|
/** @internal */
|
|
18
18
|
export const BillingFrequency$inboundSchema = z.nativeEnum(BillingFrequency);
|
|
19
19
|
/** @internal */
|
|
20
|
-
export const BillingFrequency$outboundSchema = BillingFrequency$inboundSchema;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
-
*/
|
|
25
|
-
export var BillingFrequency$;
|
|
26
|
-
(function (BillingFrequency$) {
|
|
27
|
-
/** @deprecated use `BillingFrequency$inboundSchema` instead. */
|
|
28
|
-
BillingFrequency$.inboundSchema = BillingFrequency$inboundSchema;
|
|
29
|
-
/** @deprecated use `BillingFrequency$outboundSchema` instead. */
|
|
30
|
-
BillingFrequency$.outboundSchema = BillingFrequency$outboundSchema;
|
|
31
|
-
})(BillingFrequency$ || (BillingFrequency$ = {}));
|
|
32
|
-
/** @internal */
|
|
33
20
|
export const OrderFrequency$inboundSchema = z.nativeEnum(OrderFrequency);
|
|
34
21
|
/** @internal */
|
|
35
|
-
export const OrderFrequency$outboundSchema = OrderFrequency$inboundSchema;
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
39
|
-
*/
|
|
40
|
-
export var OrderFrequency$;
|
|
41
|
-
(function (OrderFrequency$) {
|
|
42
|
-
/** @deprecated use `OrderFrequency$inboundSchema` instead. */
|
|
43
|
-
OrderFrequency$.inboundSchema = OrderFrequency$inboundSchema;
|
|
44
|
-
/** @deprecated use `OrderFrequency$outboundSchema` instead. */
|
|
45
|
-
OrderFrequency$.outboundSchema = OrderFrequency$outboundSchema;
|
|
46
|
-
})(OrderFrequency$ || (OrderFrequency$ = {}));
|
|
47
|
-
/** @internal */
|
|
48
22
|
export const ProductSubscription$inboundSchema = z.object({
|
|
49
23
|
id: z.string(),
|
|
50
24
|
subscription_plan: z.string(),
|
|
@@ -73,49 +47,6 @@ export const ProductSubscription$inboundSchema = z.object({
|
|
|
73
47
|
"billing_trial_days": "billingTrialDays",
|
|
74
48
|
});
|
|
75
49
|
});
|
|
76
|
-
/** @internal */
|
|
77
|
-
export const ProductSubscription$outboundSchema = z.object({
|
|
78
|
-
id: z.string(),
|
|
79
|
-
subscriptionPlan: z.string(),
|
|
80
|
-
subscriptionPrice: z.number(),
|
|
81
|
-
billingInterval: z.number().int(),
|
|
82
|
-
billingFrequency: BillingFrequency$outboundSchema,
|
|
83
|
-
billingLimit: z.number().int(),
|
|
84
|
-
fulfillSeparately: z.boolean().default(false),
|
|
85
|
-
orderInterval: z.number().int(),
|
|
86
|
-
orderFrequency: OrderFrequency$outboundSchema,
|
|
87
|
-
orderLimit: z.number().int(),
|
|
88
|
-
minimumQuantity: z.number().int(),
|
|
89
|
-
billingTrialDays: z.number().int(),
|
|
90
|
-
}).transform((v) => {
|
|
91
|
-
return remap$(v, {
|
|
92
|
-
subscriptionPlan: "subscription_plan",
|
|
93
|
-
subscriptionPrice: "subscription_price",
|
|
94
|
-
billingInterval: "billing_interval",
|
|
95
|
-
billingFrequency: "billing_frequency",
|
|
96
|
-
billingLimit: "billing_limit",
|
|
97
|
-
fulfillSeparately: "fulfill_separately",
|
|
98
|
-
orderInterval: "order_interval",
|
|
99
|
-
orderFrequency: "order_frequency",
|
|
100
|
-
orderLimit: "order_limit",
|
|
101
|
-
minimumQuantity: "minimum_quantity",
|
|
102
|
-
billingTrialDays: "billing_trial_days",
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
108
|
-
*/
|
|
109
|
-
export var ProductSubscription$;
|
|
110
|
-
(function (ProductSubscription$) {
|
|
111
|
-
/** @deprecated use `ProductSubscription$inboundSchema` instead. */
|
|
112
|
-
ProductSubscription$.inboundSchema = ProductSubscription$inboundSchema;
|
|
113
|
-
/** @deprecated use `ProductSubscription$outboundSchema` instead. */
|
|
114
|
-
ProductSubscription$.outboundSchema = ProductSubscription$outboundSchema;
|
|
115
|
-
})(ProductSubscription$ || (ProductSubscription$ = {}));
|
|
116
|
-
export function productSubscriptionToJSON(productSubscription) {
|
|
117
|
-
return JSON.stringify(ProductSubscription$outboundSchema.parse(productSubscription));
|
|
118
|
-
}
|
|
119
50
|
export function productSubscriptionFromJSON(jsonString) {
|
|
120
51
|
return safeParse(jsonString, (x) => ProductSubscription$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProductSubscription' from JSON`);
|
|
121
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productsubscription.js","sourceRoot":"","sources":["../../../src/models/components/productsubscription.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAC;AAuCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AAChB,MAAM,CAAC,MAAM
|
|
1
|
+
{"version":3,"file":"productsubscription.js","sourceRoot":"","sources":["../../../src/models/components/productsubscription.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,S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BAAgB;QACnC,aAAa,EAAE,YAAY;QAC3B,kBAAkB,EAAE,iBAAiB;QACrC,oBAAoB,EAAE,kBAAkB;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -19,31 +19,5 @@ export type ProductVideo = {
|
|
|
19
19
|
};
|
|
20
20
|
/** @internal */
|
|
21
21
|
export declare const ProductVideo$inboundSchema: z.ZodType<ProductVideo, z.ZodTypeDef, unknown>;
|
|
22
|
-
/** @internal */
|
|
23
|
-
export type ProductVideo$Outbound = {
|
|
24
|
-
title: string | null;
|
|
25
|
-
alternate_text: string | null;
|
|
26
|
-
sort_order: number;
|
|
27
|
-
video_preview_url: string;
|
|
28
|
-
video_stream_hls_url: string;
|
|
29
|
-
video_stream_dash_url: string;
|
|
30
|
-
image_thumbnail_url: string;
|
|
31
|
-
video_duration: number;
|
|
32
|
-
};
|
|
33
|
-
/** @internal */
|
|
34
|
-
export declare const ProductVideo$outboundSchema: z.ZodType<ProductVideo$Outbound, z.ZodTypeDef, ProductVideo>;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
-
*/
|
|
39
|
-
export declare namespace ProductVideo$ {
|
|
40
|
-
/** @deprecated use `ProductVideo$inboundSchema` instead. */
|
|
41
|
-
const inboundSchema: z.ZodType<ProductVideo, z.ZodTypeDef, unknown>;
|
|
42
|
-
/** @deprecated use `ProductVideo$outboundSchema` instead. */
|
|
43
|
-
const outboundSchema: z.ZodType<ProductVideo$Outbound, z.ZodTypeDef, ProductVideo>;
|
|
44
|
-
/** @deprecated use `ProductVideo$Outbound` instead. */
|
|
45
|
-
type Outbound = ProductVideo$Outbound;
|
|
46
|
-
}
|
|
47
|
-
export declare function productVideoToJSON(productVideo: ProductVideo): string;
|
|
48
22
|
export declare function productVideoFromJSON(jsonString: string): SafeParseResult<ProductVideo, SDKValidationError>;
|
|
49
23
|
//# sourceMappingURL=productvideo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productvideo.d.ts","sourceRoot":"","sources":["../../../src/models/components/productvideo.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAoBP,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"productvideo.d.ts","sourceRoot":"","sources":["../../../src/models/components/productvideo.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;A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