ce-storefront 0.3.4 → 0.3.6
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 +26 -37
- package/docs/sdks/{cestorefrontpayments → cestorefrontorderspayments}/README.md +1 -1
- package/docs/sdks/customers/README.md +236 -0
- package/docs/sdks/{paymentsapijuspay → juspay}/README.md +12 -12
- package/docs/sdks/orders/README.md +80 -1
- package/docs/sdks/payments/README.md +242 -2
- package/docs/sdks/products/README.md +1 -1
- package/esm/funcs/catalogProductsGet.d.ts +1 -1
- package/esm/funcs/catalogProductsGet.js +1 -1
- package/esm/funcs/{customersAPIGetCustomersId.d.ts → customersGetCustomersId.d.ts} +2 -2
- package/esm/funcs/customersGetCustomersId.d.ts.map +1 -0
- package/esm/funcs/{customersAPIGetCustomersId.js → customersGetCustomersId.js} +2 -2
- package/esm/funcs/customersGetCustomersId.js.map +1 -0
- package/esm/funcs/{customersAPIPostCustomers.d.ts → customersPostCustomers.d.ts} +2 -2
- package/esm/funcs/customersPostCustomers.d.ts.map +1 -0
- package/esm/funcs/{customersAPIPostCustomers.js → customersPostCustomers.js} +2 -2
- package/esm/funcs/customersPostCustomers.js.map +1 -0
- package/esm/funcs/{customersAPIPutCustomersId.d.ts → customersPutCustomersId.d.ts} +2 -2
- package/esm/funcs/customersPutCustomersId.d.ts.map +1 -0
- package/esm/funcs/{customersAPIPutCustomersId.js → customersPutCustomersId.js} +2 -2
- package/esm/funcs/{customersAPIPostCustomers.js.map → customersPutCustomersId.js.map} +1 -1
- package/esm/funcs/{paymentsAPIJuspayGetPaymentsJuspayCustomer.d.ts → juspayGetPaymentsJuspayCustomer.d.ts} +2 -2
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +1 -0
- package/esm/funcs/{paymentsAPIJuspayGetPaymentsJuspayCustomer.js → juspayGetPaymentsJuspayCustomer.js} +2 -2
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.js.map +1 -0
- package/esm/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.d.ts → juspayPostPaymentsJuspayCreateCustomer.d.ts} +2 -2
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +1 -0
- package/esm/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.js → juspayPostPaymentsJuspayCreateCustomer.js} +2 -2
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +1 -0
- package/esm/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateOrder.d.ts → juspayPostPaymentsJuspayCreateOrder.d.ts} +2 -2
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +1 -0
- package/esm/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateOrder.js → juspayPostPaymentsJuspayCreateOrder.js} +2 -2
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.js.map +1 -0
- package/esm/funcs/{ordersAPIGetOrdersIdPaymentStatus.d.ts → ordersGetOrdersIdPaymentStatus.d.ts} +2 -2
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +1 -0
- package/esm/funcs/{ordersAPIGetOrdersIdPaymentStatus.js → ordersGetOrdersIdPaymentStatus.js} +2 -2
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +1 -0
- package/esm/funcs/paymentsGetMethods.d.ts +1 -1
- package/esm/funcs/paymentsGetMethods.d.ts.map +1 -1
- package/esm/funcs/paymentsGetMethods.js +3 -3
- package/esm/funcs/paymentsGetMethods.js.map +1 -1
- package/esm/funcs/{paymentsAPIGetPaymentsCards.d.ts → paymentsGetPaymentsCards.d.ts} +2 -2
- package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +1 -0
- package/esm/funcs/{paymentsAPIGetPaymentsCards.js → paymentsGetPaymentsCards.js} +2 -2
- package/esm/funcs/paymentsGetPaymentsCards.js.map +1 -0
- package/esm/funcs/{paymentsAPIGetPaymentsVerifyVpa.d.ts → paymentsGetPaymentsVerifyVpa.d.ts} +2 -2
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +1 -0
- package/esm/funcs/{paymentsAPIGetPaymentsVerifyVpa.js → paymentsGetPaymentsVerifyVpa.js} +2 -2
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +1 -0
- package/esm/funcs/{paymentsAPIPostPaymentsCards.d.ts → paymentsPostPaymentsCards.d.ts} +2 -2
- package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +1 -0
- package/esm/funcs/{paymentsAPIPostPaymentsCards.js → paymentsPostPaymentsCards.js} +2 -2
- package/esm/funcs/paymentsPostPaymentsCards.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/components/analyticsevent.d.ts +8 -8
- package/esm/models/components/analyticsevent.d.ts.map +1 -1
- package/esm/models/components/analyticsevent.js +12 -12
- package/esm/models/components/analyticsevent.js.map +1 -1
- package/esm/models/components/associatedoption.d.ts +125 -0
- package/esm/models/components/associatedoption.d.ts.map +1 -0
- package/esm/models/components/associatedoption.js +107 -0
- package/esm/models/components/associatedoption.js.map +1 -0
- package/esm/models/components/cart.d.ts +16 -16
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +16 -16
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/createcustomer.d.ts +1 -1
- package/esm/models/components/createcustomer.d.ts.map +1 -1
- package/esm/models/components/createcustomer.js +1 -1
- package/esm/models/components/createcustomer.js.map +1 -1
- package/esm/models/components/{customeraddressinput.d.ts → customeraddress.d.ts} +33 -33
- package/esm/models/components/customeraddress.d.ts.map +1 -0
- package/esm/models/components/{customeraddressinput.js → customeraddress.js} +37 -37
- package/esm/models/components/customeraddress.js.map +1 -0
- package/esm/models/components/discountbasedpromotion.d.ts +0 -2
- package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
- package/esm/models/components/discountbasedpromotion.js +0 -4
- package/esm/models/components/discountbasedpromotion.js.map +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +0 -2
- package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
- package/esm/models/components/fixedpricepromotion.js +0 -4
- package/esm/models/components/fixedpricepromotion.js.map +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +2 -7
- package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
- package/esm/models/components/freegoodspromotion.js +2 -6
- package/esm/models/components/freegoodspromotion.js.map +1 -1
- package/esm/models/components/index.d.ts +6 -8
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +6 -8
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +1 -1
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +1 -1
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/{productlist.d.ts → product.d.ts} +38 -78
- package/esm/models/components/product.d.ts.map +1 -0
- package/esm/models/components/{productlist.js → product.js} +37 -98
- package/esm/models/components/product.js.map +1 -0
- package/esm/models/components/productattribute.d.ts +97 -64
- package/esm/models/components/productattribute.d.ts.map +1 -1
- package/esm/models/components/productattribute.js +67 -128
- package/esm/models/components/productattribute.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +2 -2
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +2 -2
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +63 -165
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +70 -204
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productlistresponse.d.ts +24 -3
- package/esm/models/components/productlistresponse.d.ts.map +1 -1
- package/esm/models/components/productlistresponse.js +24 -3
- package/esm/models/components/productlistresponse.js.map +1 -1
- package/esm/models/components/productpromotion.d.ts +11 -5
- package/esm/models/components/productpromotion.d.ts.map +1 -1
- package/esm/models/components/productshipping.d.ts +0 -2
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +0 -4
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/{promotion.d.ts → promotiondetail.d.ts} +29 -29
- package/esm/models/components/promotiondetail.d.ts.map +1 -0
- package/esm/models/components/{promotion.js → promotiondetail.js} +29 -29
- package/esm/models/components/promotiondetail.js.map +1 -0
- package/esm/models/components/seo.d.ts +6 -6
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +6 -19
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/{skuinfo.d.ts → sku.d.ts} +56 -48
- package/esm/models/components/sku.d.ts.map +1 -0
- package/esm/models/components/{skuinfo.js → sku.js} +65 -57
- package/esm/models/components/sku.js.map +1 -0
- package/esm/models/components/variant.d.ts +13 -52
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +5 -55
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +31 -60
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +20 -57
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/components/variantoption.d.ts +118 -0
- package/esm/models/components/variantoption.d.ts.map +1 -0
- package/esm/models/components/variantoption.js +114 -0
- package/esm/models/components/variantoption.js.map +1 -0
- package/esm/models/components/volumebasedpromotion.d.ts +0 -5
- package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
- package/esm/models/components/volumebasedpromotion.js +0 -4
- package/esm/models/components/volumebasedpromotion.js.map +1 -1
- package/esm/models/operations/getpaymentmethods.d.ts +143 -0
- package/esm/models/operations/getpaymentmethods.d.ts.map +1 -0
- package/esm/models/operations/{getpaymentspaymentmethods.js → getpaymentmethods.js} +42 -44
- package/esm/models/operations/getpaymentmethods.js.map +1 -0
- package/esm/models/operations/getpromotions.d.ts +2 -2
- package/esm/models/operations/getpromotions.d.ts.map +1 -1
- package/esm/models/operations/getpromotions.js +2 -2
- package/esm/models/operations/getpromotions.js.map +1 -1
- package/esm/models/operations/getsimilar.d.ts +2 -27
- package/esm/models/operations/getsimilar.d.ts.map +1 -1
- package/esm/models/operations/getsimilar.js +2 -27
- package/esm/models/operations/getsimilar.js.map +1 -1
- package/esm/models/operations/getskus.d.ts +2 -2
- package/esm/models/operations/getskus.d.ts.map +1 -1
- package/esm/models/operations/getskus.js +2 -2
- package/esm/models/operations/getskus.js.map +1 -1
- package/esm/models/operations/getwishtlist.d.ts +2 -2
- package/esm/models/operations/getwishtlist.d.ts.map +1 -1
- package/esm/models/operations/getwishtlist.js +2 -2
- package/esm/models/operations/getwishtlist.js.map +1 -1
- package/esm/models/operations/index.d.ts +1 -2
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +1 -2
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/postcartitemid.d.ts +15 -15
- package/esm/models/operations/postcartitemid.d.ts.map +1 -1
- package/esm/models/operations/postcartitemid.js +15 -15
- package/esm/models/operations/postcartitemid.js.map +1 -1
- package/esm/sdk/{cestorefrontpayments.d.ts → cestorefrontorderspayments.d.ts} +2 -2
- package/esm/sdk/cestorefrontorderspayments.d.ts.map +1 -0
- package/esm/sdk/{cestorefrontpayments.js → cestorefrontorderspayments.js} +2 -2
- package/esm/sdk/cestorefrontorderspayments.js.map +1 -0
- package/esm/sdk/customers.d.ts +24 -1
- package/esm/sdk/customers.d.ts.map +1 -1
- package/esm/sdk/customers.js +31 -0
- package/esm/sdk/customers.js.map +1 -1
- package/esm/sdk/{paymentsapijuspay.d.ts → juspay.d.ts} +2 -2
- package/esm/sdk/juspay.d.ts.map +1 -0
- package/esm/sdk/{paymentsapijuspay.js → juspay.js} +8 -8
- package/esm/sdk/juspay.js.map +1 -0
- package/esm/sdk/orders.d.ts +9 -2
- package/esm/sdk/orders.d.ts.map +1 -1
- package/esm/sdk/orders.js +12 -2
- package/esm/sdk/orders.js.map +1 -1
- package/esm/sdk/payments.d.ts +23 -1
- package/esm/sdk/payments.d.ts.map +1 -1
- package/esm/sdk/payments.js +31 -0
- package/esm/sdk/payments.js.map +1 -1
- package/esm/sdk/products.d.ts +1 -1
- package/esm/sdk/products.js +1 -1
- package/esm/sdk/sdk.d.ts +3 -12
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +3 -15
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/catalogProductsGet.ts +1 -1
- package/src/funcs/{customersAPIGetCustomersId.ts → customersGetCustomersId.ts} +1 -1
- package/src/funcs/{customersAPIPostCustomers.ts → customersPostCustomers.ts} +1 -1
- package/src/funcs/{customersAPIPutCustomersId.ts → customersPutCustomersId.ts} +1 -1
- package/src/funcs/{paymentsAPIJuspayGetPaymentsJuspayCustomer.ts → juspayGetPaymentsJuspayCustomer.ts} +1 -1
- package/src/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.ts → juspayPostPaymentsJuspayCreateCustomer.ts} +1 -1
- package/src/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateOrder.ts → juspayPostPaymentsJuspayCreateOrder.ts} +1 -1
- package/src/funcs/{ordersAPIGetOrdersIdPaymentStatus.ts → ordersGetOrdersIdPaymentStatus.ts} +1 -1
- package/src/funcs/paymentsGetMethods.ts +6 -7
- package/src/funcs/{paymentsAPIGetPaymentsCards.ts → paymentsGetPaymentsCards.ts} +1 -1
- package/src/funcs/{paymentsAPIGetPaymentsVerifyVpa.ts → paymentsGetPaymentsVerifyVpa.ts} +1 -1
- package/src/funcs/{paymentsAPIPostPaymentsCards.ts → paymentsPostPaymentsCards.ts} +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/analyticsevent.ts +16 -15
- package/src/models/components/associatedoption.ts +217 -0
- package/src/models/components/cart.ts +25 -25
- package/src/models/components/createcustomer.ts +1 -1
- package/src/models/components/discountbasedpromotion.ts +0 -6
- package/src/models/components/fixedpricepromotion.ts +0 -6
- package/src/models/components/freegoodspromotion.ts +4 -13
- package/src/models/components/index.ts +6 -8
- package/src/models/components/orderdetail.ts +1 -1
- package/src/models/components/{skuinfo.ts → product.ts} +111 -96
- package/src/models/components/productattribute.ts +162 -188
- package/src/models/components/productcategory.ts +4 -4
- package/src/models/components/productdetail.ts +143 -418
- package/src/models/components/productlistresponse.ts +55 -9
- package/src/models/components/productshipping.ts +0 -6
- package/src/models/components/{promotion.ts → promotiondetail.ts} +47 -45
- package/src/models/components/seo.ts +12 -25
- package/src/models/components/sku.ts +244 -0
- package/src/models/components/variant.ts +14 -119
- package/src/models/components/variantdetail.ts +51 -143
- package/src/models/components/variantoption.ts +214 -0
- package/src/models/components/volumebasedpromotion.ts +0 -9
- package/src/models/operations/{getpaymentspaymentmethods.ts → getpaymentmethods.ts} +68 -77
- package/src/models/operations/getpromotions.ts +4 -4
- package/src/models/operations/getsimilar.ts +4 -62
- package/src/models/operations/getskus.ts +4 -4
- package/src/models/operations/getwishtlist.ts +4 -4
- package/src/models/operations/index.ts +1 -2
- package/src/models/operations/postcartitemid.ts +27 -25
- package/src/sdk/{cestorefrontpayments.ts → cestorefrontorderspayments.ts} +1 -1
- package/src/sdk/customers.ts +58 -1
- package/src/sdk/{paymentsapijuspay.ts → juspay.ts} +7 -7
- package/src/sdk/orders.ts +22 -4
- package/src/sdk/payments.ts +57 -2
- package/src/sdk/products.ts +1 -1
- package/src/sdk/sdk.ts +4 -22
- package/docs/sdks/customersapi/README.md +0 -321
- package/docs/sdks/ordersapi/README.md +0 -86
- package/docs/sdks/paymentsapi/README.md +0 -247
- package/esm/funcs/customersAPIGetCustomersId.d.ts.map +0 -1
- package/esm/funcs/customersAPIGetCustomersId.js.map +0 -1
- package/esm/funcs/customersAPIGetRecommendedProducts.d.ts +0 -16
- package/esm/funcs/customersAPIGetRecommendedProducts.d.ts.map +0 -1
- package/esm/funcs/customersAPIGetRecommendedProducts.js +0 -80
- package/esm/funcs/customersAPIGetRecommendedProducts.js.map +0 -1
- package/esm/funcs/customersAPIPostCustomers.d.ts.map +0 -1
- package/esm/funcs/customersAPIPutCustomersId.d.ts.map +0 -1
- package/esm/funcs/customersAPIPutCustomersId.js.map +0 -1
- package/esm/funcs/ordersAPIGetOrdersIdPaymentStatus.d.ts.map +0 -1
- package/esm/funcs/ordersAPIGetOrdersIdPaymentStatus.js.map +0 -1
- package/esm/funcs/paymentsAPIGetPaymentsCards.d.ts.map +0 -1
- package/esm/funcs/paymentsAPIGetPaymentsCards.js.map +0 -1
- package/esm/funcs/paymentsAPIGetPaymentsVerifyVpa.d.ts.map +0 -1
- package/esm/funcs/paymentsAPIGetPaymentsVerifyVpa.js.map +0 -1
- package/esm/funcs/paymentsAPIJuspayGetPaymentsJuspayCustomer.d.ts.map +0 -1
- package/esm/funcs/paymentsAPIJuspayGetPaymentsJuspayCustomer.js.map +0 -1
- package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.d.ts.map +0 -1
- package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.js.map +0 -1
- package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateOrder.d.ts.map +0 -1
- package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateOrder.js.map +0 -1
- package/esm/funcs/paymentsAPIPostPaymentsCards.d.ts.map +0 -1
- package/esm/funcs/paymentsAPIPostPaymentsCards.js.map +0 -1
- package/esm/models/components/customeraddressinput.d.ts.map +0 -1
- package/esm/models/components/customeraddressinput.js.map +0 -1
- package/esm/models/components/productbundleitem.d.ts +0 -47
- package/esm/models/components/productbundleitem.d.ts.map +0 -1
- package/esm/models/components/productbundleitem.js +0 -66
- package/esm/models/components/productbundleitem.js.map +0 -1
- package/esm/models/components/productlist.d.ts.map +0 -1
- package/esm/models/components/productlist.js.map +0 -1
- package/esm/models/components/productpackaging.d.ts +0 -68
- package/esm/models/components/productpackaging.d.ts.map +0 -1
- package/esm/models/components/productpackaging.js +0 -88
- package/esm/models/components/productpackaging.js.map +0 -1
- package/esm/models/components/promotion.d.ts.map +0 -1
- package/esm/models/components/promotion.js.map +0 -1
- package/esm/models/components/recommendedproduct.d.ts +0 -155
- package/esm/models/components/recommendedproduct.d.ts.map +0 -1
- package/esm/models/components/recommendedproduct.js +0 -193
- package/esm/models/components/recommendedproduct.js.map +0 -1
- package/esm/models/components/saleschannel.d.ts +0 -39
- package/esm/models/components/saleschannel.d.ts.map +0 -1
- package/esm/models/components/saleschannel.js +0 -53
- package/esm/models/components/saleschannel.js.map +0 -1
- package/esm/models/components/skuinfo.d.ts.map +0 -1
- package/esm/models/components/skuinfo.js.map +0 -1
- package/esm/models/operations/getpaymentspaymentmethods.d.ts +0 -143
- package/esm/models/operations/getpaymentspaymentmethods.d.ts.map +0 -1
- package/esm/models/operations/getpaymentspaymentmethods.js.map +0 -1
- package/esm/models/operations/getrecommendedproducts.d.ts +0 -90
- package/esm/models/operations/getrecommendedproducts.d.ts.map +0 -1
- package/esm/models/operations/getrecommendedproducts.js +0 -87
- package/esm/models/operations/getrecommendedproducts.js.map +0 -1
- package/esm/sdk/cestorefrontpayments.d.ts.map +0 -1
- package/esm/sdk/cestorefrontpayments.js.map +0 -1
- package/esm/sdk/customersapi.d.ts +0 -34
- package/esm/sdk/customersapi.d.ts.map +0 -1
- package/esm/sdk/customersapi.js +0 -48
- package/esm/sdk/customersapi.js.map +0 -1
- package/esm/sdk/ordersapi.d.ts +0 -12
- package/esm/sdk/ordersapi.d.ts.map +0 -1
- package/esm/sdk/ordersapi.js +0 -18
- package/esm/sdk/ordersapi.js.map +0 -1
- package/esm/sdk/paymentsapi.d.ts +0 -27
- package/esm/sdk/paymentsapi.d.ts.map +0 -1
- package/esm/sdk/paymentsapi.js +0 -39
- package/esm/sdk/paymentsapi.js.map +0 -1
- package/esm/sdk/paymentsapijuspay.d.ts.map +0 -1
- package/esm/sdk/paymentsapijuspay.js.map +0 -1
- package/src/funcs/customersAPIGetRecommendedProducts.ts +0 -144
- package/src/models/components/productbundleitem.ts +0 -127
- package/src/models/components/productlist.ts +0 -368
- package/src/models/components/productpackaging.ts +0 -162
- package/src/models/components/recommendedproduct.ts +0 -385
- package/src/models/components/saleschannel.ts +0 -96
- package/src/models/operations/getrecommendedproducts.ts +0 -206
- package/src/sdk/customersapi.ts +0 -82
- package/src/sdk/ordersapi.ts +0 -27
- package/src/sdk/paymentsapi.ts +0 -64
- package/src/models/components/{customeraddressinput.ts → customeraddress.ts} +60 -60
|
@@ -5,13 +5,12 @@ import * as z from "zod";
|
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { ProductAttribute$inboundSchema, ProductAttribute$outboundSchema, } from "./productattribute.js";
|
|
8
|
-
import { ProductBundleItem$inboundSchema, ProductBundleItem$outboundSchema, } from "./productbundleitem.js";
|
|
9
8
|
import { ProductImage$inboundSchema, ProductImage$outboundSchema, } from "./productimage.js";
|
|
10
9
|
import { ProductPricing$inboundSchema, ProductPricing$outboundSchema, } from "./productpricing.js";
|
|
11
10
|
import { ProductPromotion$inboundSchema, ProductPromotion$outboundSchema, } from "./productpromotion.js";
|
|
12
|
-
import { ProductShipping$inboundSchema, ProductShipping$outboundSchema, } from "./productshipping.js";
|
|
13
11
|
import { ProductSubscription$inboundSchema, ProductSubscription$outboundSchema, } from "./productsubscription.js";
|
|
14
12
|
import { Variant$inboundSchema, Variant$outboundSchema, } from "./variant.js";
|
|
13
|
+
import { VariantOption$inboundSchema, VariantOption$outboundSchema, } from "./variantoption.js";
|
|
15
14
|
export const ProductType = {
|
|
16
15
|
Physical: "physical",
|
|
17
16
|
Digital: "digital",
|
|
@@ -34,161 +33,101 @@ export var ProductType$;
|
|
|
34
33
|
ProductType$.outboundSchema = ProductType$outboundSchema;
|
|
35
34
|
})(ProductType$ || (ProductType$ = {}));
|
|
36
35
|
/** @internal */
|
|
37
|
-
export const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"option_name": "optionName",
|
|
43
|
-
"option_value": "optionValue",
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
/** @internal */
|
|
47
|
-
export const VariantOptions$outboundSchema = z.object({
|
|
48
|
-
optionName: z.string().optional(),
|
|
49
|
-
optionValue: z.array(z.string()).optional(),
|
|
50
|
-
}).transform((v) => {
|
|
51
|
-
return remap$(v, {
|
|
52
|
-
optionName: "option_name",
|
|
53
|
-
optionValue: "option_value",
|
|
54
|
-
});
|
|
55
|
-
});
|
|
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 var VariantOptions$;
|
|
61
|
-
(function (VariantOptions$) {
|
|
62
|
-
/** @deprecated use `VariantOptions$inboundSchema` instead. */
|
|
63
|
-
VariantOptions$.inboundSchema = VariantOptions$inboundSchema;
|
|
64
|
-
/** @deprecated use `VariantOptions$outboundSchema` instead. */
|
|
65
|
-
VariantOptions$.outboundSchema = VariantOptions$outboundSchema;
|
|
66
|
-
})(VariantOptions$ || (VariantOptions$ = {}));
|
|
67
|
-
export function variantOptionsToJSON(variantOptions) {
|
|
68
|
-
return JSON.stringify(VariantOptions$outboundSchema.parse(variantOptions));
|
|
69
|
-
}
|
|
70
|
-
export function variantOptionsFromJSON(jsonString) {
|
|
71
|
-
return safeParse(jsonString, (x) => VariantOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VariantOptions' from JSON`);
|
|
72
|
-
}
|
|
73
|
-
/** @internal */
|
|
74
|
-
export const ProductList$inboundSchema = z.object({
|
|
75
|
-
id: z.string().optional(),
|
|
76
|
-
name: z.string().optional(),
|
|
77
|
-
description: z.string().optional(),
|
|
36
|
+
export const Product$inboundSchema = z.object({
|
|
37
|
+
id: z.string(),
|
|
38
|
+
sku: z.string().optional(),
|
|
39
|
+
name: z.string(),
|
|
40
|
+
slug: z.string(),
|
|
78
41
|
short_description: z.string().optional(),
|
|
79
|
-
product_type: ProductType$inboundSchema
|
|
42
|
+
product_type: ProductType$inboundSchema,
|
|
80
43
|
active: z.boolean().default(true),
|
|
81
|
-
sku: z.string().optional(),
|
|
82
44
|
stock_available: z.boolean().default(true),
|
|
83
|
-
is_featured: z.boolean().default(false),
|
|
84
45
|
on_offer: z.boolean().default(false),
|
|
85
46
|
on_subscription: z.boolean().default(false),
|
|
86
47
|
on_promotion: z.boolean().default(false),
|
|
87
48
|
has_variant: z.boolean().default(false),
|
|
88
|
-
variant_options: z.nullable(z.array(z.lazy(() => VariantOptions$inboundSchema))).optional(),
|
|
89
|
-
attributes: z.array(ProductAttribute$inboundSchema).optional(),
|
|
90
|
-
images: z.array(ProductImage$inboundSchema).optional(),
|
|
91
|
-
pricing: ProductPricing$inboundSchema.optional(),
|
|
92
|
-
shipping: ProductShipping$inboundSchema.optional(),
|
|
93
49
|
tags: z.nullable(z.array(z.string())).optional(),
|
|
94
50
|
category_ids: z.array(z.string()).optional(),
|
|
95
51
|
reviews_rating_sum: z.number().optional(),
|
|
96
52
|
reviews_count: z.number().int().optional(),
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
modified_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
53
|
+
attributes: z.array(ProductAttribute$inboundSchema).optional(),
|
|
54
|
+
pricing: ProductPricing$inboundSchema.optional(),
|
|
55
|
+
variant_options: z.nullable(z.array(VariantOption$inboundSchema))
|
|
101
56
|
.optional(),
|
|
102
|
-
promotion: z.
|
|
57
|
+
promotion: z.nullable(ProductPromotion$inboundSchema).optional(),
|
|
58
|
+
images: z.array(ProductImage$inboundSchema).optional(),
|
|
103
59
|
subscription: z.array(ProductSubscription$inboundSchema).optional(),
|
|
104
|
-
bundle_items: z.array(ProductBundleItem$inboundSchema).optional(),
|
|
105
60
|
variants: z.array(Variant$inboundSchema).optional(),
|
|
106
61
|
}).transform((v) => {
|
|
107
62
|
return remap$(v, {
|
|
108
63
|
"short_description": "shortDescription",
|
|
109
64
|
"product_type": "productType",
|
|
110
65
|
"stock_available": "stockAvailable",
|
|
111
|
-
"is_featured": "isFeatured",
|
|
112
66
|
"on_offer": "onOffer",
|
|
113
67
|
"on_subscription": "onSubscription",
|
|
114
68
|
"on_promotion": "onPromotion",
|
|
115
69
|
"has_variant": "hasVariant",
|
|
116
|
-
"variant_options": "variantOptions",
|
|
117
70
|
"category_ids": "categoryIds",
|
|
118
71
|
"reviews_rating_sum": "reviewsRatingSum",
|
|
119
72
|
"reviews_count": "reviewsCount",
|
|
120
|
-
"
|
|
121
|
-
"created_at": "createdAt",
|
|
122
|
-
"modified_at": "modifiedAt",
|
|
123
|
-
"bundle_items": "bundleItems",
|
|
73
|
+
"variant_options": "variantOptions",
|
|
124
74
|
});
|
|
125
75
|
});
|
|
126
76
|
/** @internal */
|
|
127
|
-
export const
|
|
128
|
-
id: z.string()
|
|
129
|
-
|
|
130
|
-
|
|
77
|
+
export const Product$outboundSchema = z.object({
|
|
78
|
+
id: z.string(),
|
|
79
|
+
sku: z.string().optional(),
|
|
80
|
+
name: z.string(),
|
|
81
|
+
slug: z.string(),
|
|
131
82
|
shortDescription: z.string().optional(),
|
|
132
|
-
productType: ProductType$outboundSchema
|
|
83
|
+
productType: ProductType$outboundSchema,
|
|
133
84
|
active: z.boolean().default(true),
|
|
134
|
-
sku: z.string().optional(),
|
|
135
85
|
stockAvailable: z.boolean().default(true),
|
|
136
|
-
isFeatured: z.boolean().default(false),
|
|
137
86
|
onOffer: z.boolean().default(false),
|
|
138
87
|
onSubscription: z.boolean().default(false),
|
|
139
88
|
onPromotion: z.boolean().default(false),
|
|
140
89
|
hasVariant: z.boolean().default(false),
|
|
141
|
-
variantOptions: z.nullable(z.array(z.lazy(() => VariantOptions$outboundSchema))).optional(),
|
|
142
|
-
attributes: z.array(ProductAttribute$outboundSchema).optional(),
|
|
143
|
-
images: z.array(ProductImage$outboundSchema).optional(),
|
|
144
|
-
pricing: ProductPricing$outboundSchema.optional(),
|
|
145
|
-
shipping: ProductShipping$outboundSchema.optional(),
|
|
146
90
|
tags: z.nullable(z.array(z.string())).optional(),
|
|
147
91
|
categoryIds: z.array(z.string()).optional(),
|
|
148
92
|
reviewsRatingSum: z.number().optional(),
|
|
149
93
|
reviewsCount: z.number().int().optional(),
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
promotion: z.
|
|
94
|
+
attributes: z.array(ProductAttribute$outboundSchema).optional(),
|
|
95
|
+
pricing: ProductPricing$outboundSchema.optional(),
|
|
96
|
+
variantOptions: z.nullable(z.array(VariantOption$outboundSchema)).optional(),
|
|
97
|
+
promotion: z.nullable(ProductPromotion$outboundSchema).optional(),
|
|
98
|
+
images: z.array(ProductImage$outboundSchema).optional(),
|
|
154
99
|
subscription: z.array(ProductSubscription$outboundSchema).optional(),
|
|
155
|
-
bundleItems: z.array(ProductBundleItem$outboundSchema).optional(),
|
|
156
100
|
variants: z.array(Variant$outboundSchema).optional(),
|
|
157
101
|
}).transform((v) => {
|
|
158
102
|
return remap$(v, {
|
|
159
103
|
shortDescription: "short_description",
|
|
160
104
|
productType: "product_type",
|
|
161
105
|
stockAvailable: "stock_available",
|
|
162
|
-
isFeatured: "is_featured",
|
|
163
106
|
onOffer: "on_offer",
|
|
164
107
|
onSubscription: "on_subscription",
|
|
165
108
|
onPromotion: "on_promotion",
|
|
166
109
|
hasVariant: "has_variant",
|
|
167
|
-
variantOptions: "variant_options",
|
|
168
110
|
categoryIds: "category_ids",
|
|
169
111
|
reviewsRatingSum: "reviews_rating_sum",
|
|
170
112
|
reviewsCount: "reviews_count",
|
|
171
|
-
|
|
172
|
-
createdAt: "created_at",
|
|
173
|
-
modifiedAt: "modified_at",
|
|
174
|
-
bundleItems: "bundle_items",
|
|
113
|
+
variantOptions: "variant_options",
|
|
175
114
|
});
|
|
176
115
|
});
|
|
177
116
|
/**
|
|
178
117
|
* @internal
|
|
179
118
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
180
119
|
*/
|
|
181
|
-
export var
|
|
182
|
-
(function (
|
|
183
|
-
/** @deprecated use `
|
|
184
|
-
|
|
185
|
-
/** @deprecated use `
|
|
186
|
-
|
|
187
|
-
})(
|
|
188
|
-
export function
|
|
189
|
-
return JSON.stringify(
|
|
120
|
+
export var Product$;
|
|
121
|
+
(function (Product$) {
|
|
122
|
+
/** @deprecated use `Product$inboundSchema` instead. */
|
|
123
|
+
Product$.inboundSchema = Product$inboundSchema;
|
|
124
|
+
/** @deprecated use `Product$outboundSchema` instead. */
|
|
125
|
+
Product$.outboundSchema = Product$outboundSchema;
|
|
126
|
+
})(Product$ || (Product$ = {}));
|
|
127
|
+
export function productToJSON(product) {
|
|
128
|
+
return JSON.stringify(Product$outboundSchema.parse(product));
|
|
190
129
|
}
|
|
191
|
-
export function
|
|
192
|
-
return safeParse(jsonString, (x) =>
|
|
130
|
+
export function productFromJSON(jsonString) {
|
|
131
|
+
return safeParse(jsonString, (x) => Product$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Product' from JSON`);
|
|
193
132
|
}
|
|
194
|
-
//# sourceMappingURL=
|
|
133
|
+
//# sourceMappingURL=product.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../src/models/components/product.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,8BAA8B,EAE9B,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,0BAA0B,EAE1B,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,4BAA4B,EAE5B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,8BAA8B,EAE9B,+BAA+B,GAChC,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,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACvB,uDAAuD;IAC1C,sBAAa,GAAG,qBAAqB,CAAC;IACnD,wDAAwD;IAC3C,uBAAc,GAAG,sBAAsB,CAAC;AAGvD,CAAC,EAPgB,QAAQ,KAAR,QAAQ,QAOxB;AAED,MAAM,UAAU,aAAa,CAAC,OAAgB;IAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,eAAe,CAC7B,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
|
|
@@ -5,11 +5,6 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
* Attribute for numeric values
|
|
6
6
|
*/
|
|
7
7
|
export type NumberAttribute = {
|
|
8
|
-
attributeType?: "number" | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* For numeric attributes
|
|
11
|
-
*/
|
|
12
|
-
attributeValue: number;
|
|
13
8
|
/**
|
|
14
9
|
* Unique identifier for the attribute
|
|
15
10
|
*/
|
|
@@ -18,16 +13,20 @@ export type NumberAttribute = {
|
|
|
18
13
|
* Name of the attribute
|
|
19
14
|
*/
|
|
20
15
|
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type`
|
|
18
|
+
*/
|
|
19
|
+
key: string;
|
|
20
|
+
type?: "number" | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* For numeric attributes
|
|
23
|
+
*/
|
|
24
|
+
value: number;
|
|
21
25
|
};
|
|
22
26
|
/**
|
|
23
27
|
* Attribute for date values
|
|
24
28
|
*/
|
|
25
29
|
export type DateAttribute = {
|
|
26
|
-
attributeType?: "date" | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* For date attributes
|
|
29
|
-
*/
|
|
30
|
-
attributeValue: Date;
|
|
31
30
|
/**
|
|
32
31
|
* Unique identifier for the attribute
|
|
33
32
|
*/
|
|
@@ -36,16 +35,20 @@ export type DateAttribute = {
|
|
|
36
35
|
* Name of the attribute
|
|
37
36
|
*/
|
|
38
37
|
name: string;
|
|
38
|
+
/**
|
|
39
|
+
* A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type`
|
|
40
|
+
*/
|
|
41
|
+
key: string;
|
|
42
|
+
type?: "date" | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* For date attributes
|
|
45
|
+
*/
|
|
46
|
+
value: Date;
|
|
39
47
|
};
|
|
40
48
|
/**
|
|
41
49
|
* Attribute for text values
|
|
42
50
|
*/
|
|
43
51
|
export type TextAttribute = {
|
|
44
|
-
attributeType?: "text" | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* For text attributes
|
|
47
|
-
*/
|
|
48
|
-
attributeValue: string;
|
|
49
52
|
/**
|
|
50
53
|
* Unique identifier for the attribute
|
|
51
54
|
*/
|
|
@@ -54,16 +57,20 @@ export type TextAttribute = {
|
|
|
54
57
|
* Name of the attribute
|
|
55
58
|
*/
|
|
56
59
|
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type`
|
|
62
|
+
*/
|
|
63
|
+
key?: string | undefined;
|
|
64
|
+
type?: "text" | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* For text attributes
|
|
67
|
+
*/
|
|
68
|
+
value: string;
|
|
57
69
|
};
|
|
58
70
|
/**
|
|
59
71
|
* Attribute for multi-select values
|
|
60
72
|
*/
|
|
61
73
|
export type MultiSelectAttribute = {
|
|
62
|
-
attributeType?: "multi-select" | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* For multi-select attributes
|
|
65
|
-
*/
|
|
66
|
-
attributeValue: Array<string>;
|
|
67
74
|
/**
|
|
68
75
|
* Unique identifier for the attribute
|
|
69
76
|
*/
|
|
@@ -72,16 +79,20 @@ export type MultiSelectAttribute = {
|
|
|
72
79
|
* Name of the attribute
|
|
73
80
|
*/
|
|
74
81
|
name: string;
|
|
82
|
+
/**
|
|
83
|
+
* A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type`
|
|
84
|
+
*/
|
|
85
|
+
key: string;
|
|
86
|
+
type?: "multi-select" | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* For multi-select attributes
|
|
89
|
+
*/
|
|
90
|
+
value: Array<string>;
|
|
75
91
|
};
|
|
76
92
|
/**
|
|
77
93
|
* Attribute for single-select values
|
|
78
94
|
*/
|
|
79
95
|
export type SingleSelectAttribute = {
|
|
80
|
-
attributeType?: "single-select" | undefined;
|
|
81
|
-
/**
|
|
82
|
-
* For single-select attributes
|
|
83
|
-
*/
|
|
84
|
-
attributeValue: string;
|
|
85
96
|
/**
|
|
86
97
|
* Unique identifier for the attribute
|
|
87
98
|
*/
|
|
@@ -90,17 +101,27 @@ export type SingleSelectAttribute = {
|
|
|
90
101
|
* Name of the attribute
|
|
91
102
|
*/
|
|
92
103
|
name: string;
|
|
104
|
+
/**
|
|
105
|
+
* A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type`
|
|
106
|
+
*/
|
|
107
|
+
key: string;
|
|
108
|
+
type?: "single-select" | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* For single-select attributes
|
|
111
|
+
*/
|
|
112
|
+
value: string;
|
|
93
113
|
};
|
|
94
|
-
export type
|
|
114
|
+
export type ColorAttributeValue = {
|
|
95
115
|
name: string;
|
|
116
|
+
/**
|
|
117
|
+
* The hex code of the color (e.g., #000000).
|
|
118
|
+
*/
|
|
96
119
|
hexcode: string;
|
|
97
120
|
};
|
|
98
121
|
/**
|
|
99
122
|
* Attribute for colors
|
|
100
123
|
*/
|
|
101
124
|
export type ColorAttribute = {
|
|
102
|
-
attributeType?: "color" | undefined;
|
|
103
|
-
attributeValue: Array<AttributeValue>;
|
|
104
125
|
/**
|
|
105
126
|
* Unique identifier for the attribute
|
|
106
127
|
*/
|
|
@@ -109,28 +130,35 @@ export type ColorAttribute = {
|
|
|
109
130
|
* Name of the attribute
|
|
110
131
|
*/
|
|
111
132
|
name: string;
|
|
133
|
+
/**
|
|
134
|
+
* A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type`
|
|
135
|
+
*/
|
|
136
|
+
key: string;
|
|
137
|
+
type?: "color" | undefined;
|
|
138
|
+
value: Array<ColorAttributeValue>;
|
|
112
139
|
};
|
|
113
140
|
export type ProductAttribute = (ColorAttribute & {
|
|
114
|
-
|
|
141
|
+
type: "color";
|
|
115
142
|
}) | (SingleSelectAttribute & {
|
|
116
|
-
|
|
143
|
+
type: "single-select";
|
|
117
144
|
}) | (MultiSelectAttribute & {
|
|
118
|
-
|
|
145
|
+
type: "multi-select";
|
|
119
146
|
}) | (TextAttribute & {
|
|
120
|
-
|
|
147
|
+
type: "text";
|
|
121
148
|
}) | (DateAttribute & {
|
|
122
|
-
|
|
149
|
+
type: "date";
|
|
123
150
|
}) | (NumberAttribute & {
|
|
124
|
-
|
|
151
|
+
type: "number";
|
|
125
152
|
});
|
|
126
153
|
/** @internal */
|
|
127
154
|
export declare const NumberAttribute$inboundSchema: z.ZodType<NumberAttribute, z.ZodTypeDef, unknown>;
|
|
128
155
|
/** @internal */
|
|
129
156
|
export type NumberAttribute$Outbound = {
|
|
130
|
-
attribute_type: "number";
|
|
131
|
-
attribute_value: number;
|
|
132
157
|
id: string;
|
|
133
158
|
name: string;
|
|
159
|
+
key: string;
|
|
160
|
+
type: "number";
|
|
161
|
+
value: number;
|
|
134
162
|
};
|
|
135
163
|
/** @internal */
|
|
136
164
|
export declare const NumberAttribute$outboundSchema: z.ZodType<NumberAttribute$Outbound, z.ZodTypeDef, NumberAttribute>;
|
|
@@ -152,10 +180,11 @@ export declare function numberAttributeFromJSON(jsonString: string): SafeParseRe
|
|
|
152
180
|
export declare const DateAttribute$inboundSchema: z.ZodType<DateAttribute, z.ZodTypeDef, unknown>;
|
|
153
181
|
/** @internal */
|
|
154
182
|
export type DateAttribute$Outbound = {
|
|
155
|
-
attribute_type: "date";
|
|
156
|
-
attribute_value: string;
|
|
157
183
|
id: string;
|
|
158
184
|
name: string;
|
|
185
|
+
key: string;
|
|
186
|
+
type: "date";
|
|
187
|
+
value: string;
|
|
159
188
|
};
|
|
160
189
|
/** @internal */
|
|
161
190
|
export declare const DateAttribute$outboundSchema: z.ZodType<DateAttribute$Outbound, z.ZodTypeDef, DateAttribute>;
|
|
@@ -177,10 +206,11 @@ export declare function dateAttributeFromJSON(jsonString: string): SafeParseResu
|
|
|
177
206
|
export declare const TextAttribute$inboundSchema: z.ZodType<TextAttribute, z.ZodTypeDef, unknown>;
|
|
178
207
|
/** @internal */
|
|
179
208
|
export type TextAttribute$Outbound = {
|
|
180
|
-
attribute_type: "text";
|
|
181
|
-
attribute_value: string;
|
|
182
209
|
id: string;
|
|
183
210
|
name: string;
|
|
211
|
+
key?: string | undefined;
|
|
212
|
+
type: "text";
|
|
213
|
+
value: string;
|
|
184
214
|
};
|
|
185
215
|
/** @internal */
|
|
186
216
|
export declare const TextAttribute$outboundSchema: z.ZodType<TextAttribute$Outbound, z.ZodTypeDef, TextAttribute>;
|
|
@@ -202,10 +232,11 @@ export declare function textAttributeFromJSON(jsonString: string): SafeParseResu
|
|
|
202
232
|
export declare const MultiSelectAttribute$inboundSchema: z.ZodType<MultiSelectAttribute, z.ZodTypeDef, unknown>;
|
|
203
233
|
/** @internal */
|
|
204
234
|
export type MultiSelectAttribute$Outbound = {
|
|
205
|
-
attribute_type: "multi-select";
|
|
206
|
-
attribute_value: Array<string>;
|
|
207
235
|
id: string;
|
|
208
236
|
name: string;
|
|
237
|
+
key: string;
|
|
238
|
+
type: "multi-select";
|
|
239
|
+
value: Array<string>;
|
|
209
240
|
};
|
|
210
241
|
/** @internal */
|
|
211
242
|
export declare const MultiSelectAttribute$outboundSchema: z.ZodType<MultiSelectAttribute$Outbound, z.ZodTypeDef, MultiSelectAttribute>;
|
|
@@ -227,10 +258,11 @@ export declare function multiSelectAttributeFromJSON(jsonString: string): SafePa
|
|
|
227
258
|
export declare const SingleSelectAttribute$inboundSchema: z.ZodType<SingleSelectAttribute, z.ZodTypeDef, unknown>;
|
|
228
259
|
/** @internal */
|
|
229
260
|
export type SingleSelectAttribute$Outbound = {
|
|
230
|
-
attribute_type: "single-select";
|
|
231
|
-
attribute_value: string;
|
|
232
261
|
id: string;
|
|
233
262
|
name: string;
|
|
263
|
+
key: string;
|
|
264
|
+
type: "single-select";
|
|
265
|
+
value: string;
|
|
234
266
|
};
|
|
235
267
|
/** @internal */
|
|
236
268
|
export declare const SingleSelectAttribute$outboundSchema: z.ZodType<SingleSelectAttribute$Outbound, z.ZodTypeDef, SingleSelectAttribute>;
|
|
@@ -249,36 +281,37 @@ export declare namespace SingleSelectAttribute$ {
|
|
|
249
281
|
export declare function singleSelectAttributeToJSON(singleSelectAttribute: SingleSelectAttribute): string;
|
|
250
282
|
export declare function singleSelectAttributeFromJSON(jsonString: string): SafeParseResult<SingleSelectAttribute, SDKValidationError>;
|
|
251
283
|
/** @internal */
|
|
252
|
-
export declare const
|
|
284
|
+
export declare const ColorAttributeValue$inboundSchema: z.ZodType<ColorAttributeValue, z.ZodTypeDef, unknown>;
|
|
253
285
|
/** @internal */
|
|
254
|
-
export type
|
|
286
|
+
export type ColorAttributeValue$Outbound = {
|
|
255
287
|
name: string;
|
|
256
288
|
hexcode: string;
|
|
257
289
|
};
|
|
258
290
|
/** @internal */
|
|
259
|
-
export declare const
|
|
291
|
+
export declare const ColorAttributeValue$outboundSchema: z.ZodType<ColorAttributeValue$Outbound, z.ZodTypeDef, ColorAttributeValue>;
|
|
260
292
|
/**
|
|
261
293
|
* @internal
|
|
262
294
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
263
295
|
*/
|
|
264
|
-
export declare namespace
|
|
265
|
-
/** @deprecated use `
|
|
266
|
-
const inboundSchema: z.ZodType<
|
|
267
|
-
/** @deprecated use `
|
|
268
|
-
const outboundSchema: z.ZodType<
|
|
269
|
-
/** @deprecated use `
|
|
270
|
-
type Outbound =
|
|
296
|
+
export declare namespace ColorAttributeValue$ {
|
|
297
|
+
/** @deprecated use `ColorAttributeValue$inboundSchema` instead. */
|
|
298
|
+
const inboundSchema: z.ZodType<ColorAttributeValue, z.ZodTypeDef, unknown>;
|
|
299
|
+
/** @deprecated use `ColorAttributeValue$outboundSchema` instead. */
|
|
300
|
+
const outboundSchema: z.ZodType<ColorAttributeValue$Outbound, z.ZodTypeDef, ColorAttributeValue>;
|
|
301
|
+
/** @deprecated use `ColorAttributeValue$Outbound` instead. */
|
|
302
|
+
type Outbound = ColorAttributeValue$Outbound;
|
|
271
303
|
}
|
|
272
|
-
export declare function
|
|
273
|
-
export declare function
|
|
304
|
+
export declare function colorAttributeValueToJSON(colorAttributeValue: ColorAttributeValue): string;
|
|
305
|
+
export declare function colorAttributeValueFromJSON(jsonString: string): SafeParseResult<ColorAttributeValue, SDKValidationError>;
|
|
274
306
|
/** @internal */
|
|
275
307
|
export declare const ColorAttribute$inboundSchema: z.ZodType<ColorAttribute, z.ZodTypeDef, unknown>;
|
|
276
308
|
/** @internal */
|
|
277
309
|
export type ColorAttribute$Outbound = {
|
|
278
|
-
attribute_type: "color";
|
|
279
|
-
attribute_value: Array<AttributeValue$Outbound>;
|
|
280
310
|
id: string;
|
|
281
311
|
name: string;
|
|
312
|
+
key: string;
|
|
313
|
+
type: "color";
|
|
314
|
+
value: Array<ColorAttributeValue$Outbound>;
|
|
282
315
|
};
|
|
283
316
|
/** @internal */
|
|
284
317
|
export declare const ColorAttribute$outboundSchema: z.ZodType<ColorAttribute$Outbound, z.ZodTypeDef, ColorAttribute>;
|
|
@@ -300,17 +333,17 @@ export declare function colorAttributeFromJSON(jsonString: string): SafeParseRes
|
|
|
300
333
|
export declare const ProductAttribute$inboundSchema: z.ZodType<ProductAttribute, z.ZodTypeDef, unknown>;
|
|
301
334
|
/** @internal */
|
|
302
335
|
export type ProductAttribute$Outbound = (ColorAttribute$Outbound & {
|
|
303
|
-
|
|
336
|
+
type: "color";
|
|
304
337
|
}) | (SingleSelectAttribute$Outbound & {
|
|
305
|
-
|
|
338
|
+
type: "single-select";
|
|
306
339
|
}) | (MultiSelectAttribute$Outbound & {
|
|
307
|
-
|
|
340
|
+
type: "multi-select";
|
|
308
341
|
}) | (TextAttribute$Outbound & {
|
|
309
|
-
|
|
342
|
+
type: "text";
|
|
310
343
|
}) | (DateAttribute$Outbound & {
|
|
311
|
-
|
|
344
|
+
type: "date";
|
|
312
345
|
}) | (NumberAttribute$Outbound & {
|
|
313
|
-
|
|
346
|
+
type: "number";
|
|
314
347
|
});
|
|
315
348
|
/** @internal */
|
|
316
349
|
export declare const ProductAttribute$outboundSchema: z.ZodType<ProductAttribute$Outbound, z.ZodTypeDef, ProductAttribute>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productattribute.d.ts","sourceRoot":"","sources":["../../../src/models/components/productattribute.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"productattribute.d.ts","sourceRoot":"","sources":["../../../src/models/components/productattribute.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,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;;OAEG;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