ce-storefront 0.3.10 → 0.3.17
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/FUNCTIONS.md +2 -2
- package/README.md +129 -108
- package/docs/sdks/addresses/README.md +4 -363
- package/docs/sdks/auth/README.md +72 -0
- package/docs/sdks/authuser/README.md +80 -0
- package/docs/sdks/{refunds → cards}/README.md +12 -11
- package/docs/sdks/catalogproductreviews/README.md +97 -0
- package/docs/sdks/{shipments → catalogproducts}/README.md +12 -12
- package/docs/sdks/{skus → catalogskus}/README.md +3 -3
- package/docs/sdks/{cestorefrontreviews → cestorefrontaddresses}/README.md +123 -34
- package/docs/sdks/cestorefrontproducts/README.md +6 -0
- package/docs/sdks/cestorefrontuser/README.md +6 -727
- package/docs/sdks/cestorefrontusers/README.md +92 -0
- package/docs/sdks/countries/README.md +79 -0
- package/docs/sdks/customers/README.md +192 -18
- package/docs/sdks/juspay/README.md +15 -15
- package/docs/sdks/loyalty/README.md +0 -81
- package/docs/sdks/loyaltypoints/README.md +88 -0
- package/docs/sdks/notificationpreferences/README.md +4 -162
- package/docs/sdks/orders/README.md +163 -5
- package/docs/sdks/payments/README.md +15 -95
- package/docs/sdks/products/README.md +15 -94
- package/docs/sdks/reviews/README.md +17 -13
- package/docs/sdks/{shipping → shipment}/README.md +5 -5
- package/docs/sdks/user/README.md +425 -0
- package/docs/sdks/users/README.md +240 -0
- package/docs/sdks/utils/README.md +0 -72
- package/docs/sdks/wishlist/README.md +5 -5
- package/esm/funcs/{catalogProductsGetCrossSells.d.ts → addressesGet.d.ts} +4 -4
- package/esm/funcs/addressesGet.d.ts.map +1 -0
- package/esm/funcs/{customersAddressesGet.js → addressesGet.js} +2 -2
- package/esm/funcs/addressesGet.js.map +1 -0
- package/esm/funcs/{authUserLogout.d.ts → authLogout.d.ts} +2 -2
- package/esm/funcs/authLogout.d.ts.map +1 -0
- package/esm/funcs/{authUserLogout.js → authLogout.js} +2 -2
- package/esm/funcs/authLogout.js.map +1 -0
- package/esm/funcs/{authUserDeactivateAccount.d.ts → authUserDeactivate.d.ts} +2 -2
- package/esm/funcs/{paymentsGetMethods.d.ts.map → authUserDeactivate.d.ts.map} +1 -1
- package/esm/funcs/{authUserDeactivateAccount.js → authUserDeactivate.js} +2 -2
- package/esm/funcs/authUserDeactivate.js.map +1 -0
- package/esm/funcs/{userNotificationPreferencesGet.d.ts → authUserNotificationPreferencesGet.d.ts} +2 -2
- package/esm/funcs/authUserNotificationPreferencesGet.d.ts.map +1 -0
- package/esm/funcs/{userNotificationPreferencesGet.js → authUserNotificationPreferencesGet.js} +2 -2
- package/esm/funcs/authUserNotificationPreferencesGet.js.map +1 -0
- package/esm/funcs/{authUserAddProfileImage.d.ts → authUsersAddProfileImage.d.ts} +2 -2
- package/esm/funcs/authUsersAddProfileImage.d.ts.map +1 -0
- package/esm/funcs/{authUserAddProfileImage.js → authUsersAddProfileImage.js} +2 -2
- package/esm/funcs/authUsersAddProfileImage.js.map +1 -0
- package/esm/funcs/{catalogProductsReviewsCreate.d.ts → catalogProductReviewsCreate.d.ts} +2 -2
- package/esm/funcs/catalogProductReviewsCreate.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsReviewsCreate.js → catalogProductReviewsCreate.js} +2 -2
- package/esm/funcs/catalogProductReviewsCreate.js.map +1 -0
- package/esm/funcs/customersAddAddress.d.ts +16 -0
- package/esm/funcs/{catalogProductsList.d.ts.map → customersAddAddress.d.ts.map} +1 -1
- package/esm/funcs/{customersAddressesAdd.js → customersAddAddress.js} +2 -2
- package/esm/funcs/customersAddAddress.js.map +1 -0
- package/esm/funcs/{customersPostCustomers.d.ts → customersCreate.d.ts} +2 -2
- package/esm/funcs/customersCreate.d.ts.map +1 -0
- package/esm/funcs/{customersPostCustomers.js → customersCreate.js} +2 -2
- package/esm/funcs/customersCreate.js.map +1 -0
- package/esm/funcs/{customersGetCustomersId.d.ts → customersGet.d.ts} +2 -2
- package/esm/funcs/customersGet.d.ts.map +1 -0
- package/esm/funcs/{customersGetCustomersId.js → customersGet.js} +2 -2
- package/esm/funcs/customersGet.js.map +1 -0
- package/esm/funcs/customersGetReviews.d.ts +15 -0
- package/esm/funcs/customersGetReviews.d.ts.map +1 -0
- package/esm/funcs/{customersReviewsList.js → customersGetReviews.js} +2 -2
- package/esm/funcs/customersGetReviews.js.map +1 -0
- package/esm/funcs/{customersAddressesAdd.d.ts → customersUpdate.d.ts} +4 -4
- package/esm/funcs/customersUpdate.d.ts.map +1 -0
- package/esm/funcs/{customersPutCustomersId.js → customersUpdate.js} +2 -2
- package/esm/funcs/customersUpdate.js.map +1 -0
- package/esm/funcs/juspayCreateCustomer.d.ts +17 -0
- package/esm/funcs/juspayCreateCustomer.d.ts.map +1 -0
- package/esm/funcs/{juspayPostPaymentsJuspayCreateCustomer.js → juspayCreateCustomer.js} +2 -2
- package/esm/funcs/juspayCreateCustomer.js.map +1 -0
- package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.d.ts → juspayCreateOrder.d.ts} +2 -2
- package/esm/funcs/juspayCreateOrder.d.ts.map +1 -0
- package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.js → juspayCreateOrder.js} +2 -2
- package/esm/funcs/{juspayGetPaymentsJuspayCustomer.js.map → juspayCreateOrder.js.map} +1 -1
- package/esm/funcs/{juspayGetPaymentsJuspayCustomer.d.ts → juspayGetCustomer.d.ts} +2 -2
- package/esm/funcs/juspayGetCustomer.d.ts.map +1 -0
- package/esm/funcs/{juspayGetPaymentsJuspayCustomer.js → juspayGetCustomer.js} +2 -2
- package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.js.map → juspayGetCustomer.js.map} +1 -1
- package/esm/funcs/{customersLoyaltyListActivities.d.ts → loyaltyPointsListActivities.d.ts} +2 -2
- package/esm/funcs/loyaltyPointsListActivities.d.ts.map +1 -0
- package/esm/funcs/{customersLoyaltyListActivities.js → loyaltyPointsListActivities.js} +2 -2
- package/esm/funcs/loyaltyPointsListActivities.js.map +1 -0
- package/esm/funcs/{customersReviewsList.d.ts → ordersGetPaymentStatus.d.ts} +4 -4
- package/esm/funcs/ordersGetPaymentStatus.d.ts.map +1 -0
- package/esm/funcs/{ordersGetOrdersIdPaymentStatus.js → ordersGetPaymentStatus.js} +2 -2
- package/esm/funcs/ordersGetPaymentStatus.js.map +1 -0
- package/esm/funcs/{ordersRefundsList.d.ts → ordersGetRefunds.d.ts} +2 -2
- package/esm/funcs/ordersGetRefunds.d.ts.map +1 -0
- package/esm/funcs/{ordersRefundsList.js → ordersGetRefunds.js} +2 -2
- package/esm/funcs/ordersGetRefunds.js.map +1 -0
- package/esm/funcs/{ordersShipmentsList.d.ts → ordersGetShipments.d.ts} +2 -2
- package/esm/funcs/ordersGetShipments.d.ts.map +1 -0
- package/esm/funcs/{ordersShipmentsList.js → ordersGetShipments.js} +2 -2
- package/esm/funcs/ordersGetShipments.js.map +1 -0
- package/esm/funcs/{paymentsPostPaymentsCards.d.ts → paymentsAddCard.d.ts} +2 -2
- package/esm/funcs/paymentsAddCard.d.ts.map +1 -0
- package/esm/funcs/{paymentsPostPaymentsCards.js → paymentsAddCard.js} +2 -2
- package/esm/funcs/paymentsAddCard.js.map +1 -0
- package/esm/funcs/{paymentsGetPaymentsCards.d.ts → paymentsCardsList.d.ts} +2 -2
- package/esm/funcs/paymentsCardsList.d.ts.map +1 -0
- package/esm/funcs/{paymentsGetPaymentsCards.js → paymentsCardsList.js} +2 -2
- package/esm/funcs/paymentsCardsList.js.map +1 -0
- package/esm/funcs/{paymentsGetMethods.d.ts → paymentsListMethods.d.ts} +2 -2
- package/esm/funcs/paymentsListMethods.d.ts.map +1 -0
- package/esm/funcs/{paymentsGetMethods.js → paymentsListMethods.js} +2 -2
- package/esm/funcs/paymentsListMethods.js.map +1 -0
- package/esm/funcs/{paymentsGetPaymentsVerifyVpa.d.ts → paymentsVerifyVpa.d.ts} +2 -2
- package/esm/funcs/paymentsVerifyVpa.d.ts.map +1 -0
- package/esm/funcs/{paymentsGetPaymentsVerifyVpa.js → paymentsVerifyVpa.js} +2 -2
- package/esm/funcs/paymentsVerifyVpa.js.map +1 -0
- package/esm/funcs/{catalogProductsGetSimilar.d.ts → productsGetSimilar.d.ts} +2 -2
- package/esm/funcs/productsGetSimilar.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsGetSimilar.js → productsGetSimilar.js} +2 -2
- package/esm/funcs/productsGetSimilar.js.map +1 -0
- package/esm/funcs/{catalogProductsGetUpsells.d.ts → productsGetUpsells.d.ts} +2 -2
- package/esm/funcs/productsGetUpsells.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsGetUpsells.js → productsGetUpsells.js} +2 -2
- package/esm/funcs/productsGetUpsells.js.map +1 -0
- package/esm/funcs/{catalogProductsList.d.ts → productsList.d.ts} +2 -2
- package/esm/funcs/productsList.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsList.js → productsList.js} +2 -2
- package/esm/funcs/productsList.js.map +1 -0
- package/esm/funcs/{juspayPostPaymentsJuspayCreateCustomer.d.ts → productsListCrossSells.d.ts} +4 -5
- package/esm/funcs/productsListCrossSells.d.ts.map +1 -0
- package/esm/funcs/{catalogProductsGetCrossSells.js → productsListCrossSells.js} +2 -2
- package/esm/funcs/productsListCrossSells.js.map +1 -0
- package/esm/funcs/{shippingCheckPincodeServiceability.d.ts → shipmentCheckPincodeServiceability.d.ts} +2 -2
- package/esm/funcs/{shippingCheckPincodeServiceability.d.ts.map → shipmentCheckPincodeServiceability.d.ts.map} +1 -1
- package/esm/funcs/{shippingCheckPincodeServiceability.js → shipmentCheckPincodeServiceability.js} +2 -2
- package/esm/funcs/{shippingCheckPincodeServiceability.js.map → shipmentCheckPincodeServiceability.js.map} +1 -1
- package/esm/funcs/{authUserDeleteProfileImage.d.ts → userDeleteProfileImage.d.ts} +2 -2
- package/esm/funcs/userDeleteProfileImage.d.ts.map +1 -0
- package/esm/funcs/{authUserDeleteProfileImage.js → userDeleteProfileImage.js} +2 -2
- package/esm/funcs/userDeleteProfileImage.js.map +1 -0
- package/esm/funcs/{authUserResetPassword.d.ts → userResetPassword.d.ts} +2 -2
- package/esm/funcs/{ordersRefundsList.d.ts.map → userResetPassword.d.ts.map} +1 -1
- package/esm/funcs/{authUserResetPassword.js → userResetPassword.js} +2 -2
- package/esm/funcs/userResetPassword.js.map +1 -0
- package/esm/funcs/{authUserUpdate.d.ts → userUpdate.d.ts} +2 -2
- package/esm/funcs/userUpdate.d.ts.map +1 -0
- package/esm/funcs/{authUserUpdate.js → userUpdate.js} +2 -2
- package/esm/funcs/userUpdate.js.map +1 -0
- package/esm/funcs/{userNotificationPreferencesUpdate.d.ts → userUpdateNotificationPreferences.d.ts} +2 -2
- package/esm/funcs/{userNotificationPreferencesUpdate.d.ts.map → userUpdateNotificationPreferences.d.ts.map} +1 -1
- package/esm/funcs/{userNotificationPreferencesUpdate.js → userUpdateNotificationPreferences.js} +2 -2
- package/esm/funcs/{userNotificationPreferencesUpdate.js.map → userUpdateNotificationPreferences.js.map} +1 -1
- package/esm/funcs/{authUserUpdateProfileImage.d.ts → userUpdateProfileImage.d.ts} +2 -2
- package/esm/funcs/userUpdateProfileImage.d.ts.map +1 -0
- package/esm/funcs/{authUserUpdateProfileImage.js → userUpdateProfileImage.js} +2 -2
- package/esm/funcs/userUpdateProfileImage.js.map +1 -0
- package/esm/funcs/{userNotificationPreferencesCreate.d.ts → usersCreateNotificationPreferences.d.ts} +2 -2
- package/esm/funcs/usersCreateNotificationPreferences.d.ts.map +1 -0
- package/esm/funcs/{userNotificationPreferencesCreate.js → usersCreateNotificationPreferences.js} +2 -2
- package/esm/funcs/usersCreateNotificationPreferences.js.map +1 -0
- package/esm/funcs/{authUserGet.d.ts → usersGet.d.ts} +2 -2
- package/esm/funcs/usersGet.d.ts.map +1 -0
- package/esm/funcs/{authUserGet.js → usersGet.js} +2 -2
- package/esm/funcs/usersGet.js.map +1 -0
- package/esm/funcs/{authUserGetProfileImage.d.ts → usersGetProfileImage.d.ts} +2 -2
- package/esm/funcs/{customersReviewsList.d.ts.map → usersGetProfileImage.d.ts.map} +1 -1
- package/esm/funcs/{authUserGetProfileImage.js → usersGetProfileImage.js} +2 -2
- package/esm/funcs/{customersReviewsList.js.map → usersGetProfileImage.js.map} +1 -1
- package/esm/funcs/{utilsGetCountries.d.ts → utilsCountriesGet.d.ts} +2 -2
- package/esm/funcs/{utilsGetCountries.d.ts.map → utilsCountriesGet.d.ts.map} +1 -1
- package/esm/funcs/{utilsGetCountries.js → utilsCountriesGet.js} +2 -2
- package/esm/funcs/{utilsGetCountries.js.map → utilsCountriesGet.js.map} +1 -1
- package/esm/funcs/{wishlistDelete.d.ts → wishlistRemoveItem.d.ts} +2 -2
- package/esm/funcs/wishlistRemoveItem.d.ts.map +1 -0
- package/esm/funcs/{wishlistDelete.js → wishlistRemoveItem.js} +2 -2
- package/esm/funcs/wishlistRemoveItem.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/associatedoption.d.ts +4 -102
- package/esm/models/components/associatedoption.d.ts.map +1 -1
- package/esm/models/components/associatedoption.js +4 -82
- package/esm/models/components/associatedoption.js.map +1 -1
- package/esm/models/components/bundleproduct.d.ts +48 -48
- package/esm/models/components/bundleproduct.d.ts.map +1 -1
- package/esm/models/components/bundleproduct.js +46 -50
- package/esm/models/components/bundleproduct.js.map +1 -1
- package/esm/models/components/bundleproductdetail.d.ts +66 -66
- package/esm/models/components/bundleproductdetail.d.ts.map +1 -1
- package/esm/models/components/bundleproductdetail.js +62 -66
- package/esm/models/components/bundleproductdetail.js.map +1 -1
- package/esm/models/components/coloroption.d.ts +72 -0
- package/esm/models/components/coloroption.d.ts.map +1 -0
- package/esm/models/components/coloroption.js +62 -0
- package/esm/models/components/coloroption.js.map +1 -0
- package/esm/models/components/currency.d.ts +6 -6
- package/esm/models/components/currency.d.ts.map +1 -1
- package/esm/models/components/currency.js +6 -6
- package/esm/models/components/currency.js.map +1 -1
- package/esm/models/components/index.d.ts +2 -0
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +2 -0
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/notificationpreferences.d.ts +6 -6
- package/esm/models/components/notificationpreferences.d.ts.map +1 -1
- package/esm/models/components/notificationpreferences.js +6 -6
- package/esm/models/components/notificationpreferences.js.map +1 -1
- package/esm/models/components/pagination.d.ts +8 -8
- package/esm/models/components/pagination.d.ts.map +1 -1
- package/esm/models/components/pagination.js +8 -8
- package/esm/models/components/pagination.js.map +1 -1
- package/esm/models/components/productattribute.d.ts +2 -2
- package/esm/models/components/productattribute.d.ts.map +1 -1
- package/esm/models/components/productattribute.js +2 -2
- package/esm/models/components/productattribute.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +20 -20
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +20 -20
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +2 -14
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +4 -18
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productimage.d.ts +14 -14
- package/esm/models/components/productimage.d.ts.map +1 -1
- package/esm/models/components/productimage.js +14 -14
- package/esm/models/components/productimage.js.map +1 -1
- package/esm/models/components/productpricing.d.ts +4 -4
- package/esm/models/components/productpricing.d.ts.map +1 -1
- package/esm/models/components/productpricing.js +4 -4
- package/esm/models/components/productpricing.js.map +1 -1
- package/esm/models/components/productshipping.d.ts +12 -12
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +12 -12
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/productvideo.d.ts +16 -16
- package/esm/models/components/productvideo.d.ts.map +1 -1
- package/esm/models/components/productvideo.js +16 -16
- package/esm/models/components/productvideo.js.map +1 -1
- package/esm/models/components/seo.d.ts +8 -8
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +8 -8
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/singleproduct.d.ts +18 -18
- package/esm/models/components/singleproduct.d.ts.map +1 -1
- package/esm/models/components/singleproduct.js +18 -18
- package/esm/models/components/singleproduct.js.map +1 -1
- package/esm/models/components/singleproductdetail.d.ts +36 -36
- package/esm/models/components/singleproductdetail.d.ts.map +1 -1
- package/esm/models/components/singleproductdetail.js +34 -34
- package/esm/models/components/singleproductdetail.js.map +1 -1
- package/esm/models/components/singleselectoption.d.ts +42 -0
- package/esm/models/components/singleselectoption.d.ts.map +1 -0
- package/esm/models/components/singleselectoption.js +35 -0
- package/esm/models/components/singleselectoption.js.map +1 -0
- package/esm/models/components/sku.d.ts +30 -30
- package/esm/models/components/sku.d.ts.map +1 -1
- package/esm/models/components/sku.js +28 -30
- package/esm/models/components/sku.js.map +1 -1
- package/esm/models/components/variant.d.ts +15 -12
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +12 -12
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +41 -38
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +36 -36
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/components/variantoption.d.ts +34 -26
- package/esm/models/components/variantoption.d.ts.map +1 -1
- package/esm/models/components/variantoption.js +32 -45
- package/esm/models/components/variantoption.js.map +1 -1
- package/esm/sdk/addresses.d.ts +0 -28
- package/esm/sdk/addresses.d.ts.map +1 -1
- package/esm/sdk/addresses.js +2 -42
- package/esm/sdk/addresses.js.map +1 -1
- package/esm/sdk/auth.d.ts +10 -0
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +14 -0
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/authuser.d.ts +12 -0
- package/esm/sdk/authuser.d.ts.map +1 -0
- package/esm/sdk/authuser.js +18 -0
- package/esm/sdk/authuser.js.map +1 -0
- package/esm/sdk/cards.d.ts +12 -0
- package/esm/sdk/cards.d.ts.map +1 -0
- package/esm/sdk/cards.js +18 -0
- package/esm/sdk/cards.js.map +1 -0
- package/esm/sdk/catalog.d.ts +2 -5
- package/esm/sdk/catalog.d.ts.map +1 -1
- package/esm/sdk/catalog.js +2 -6
- package/esm/sdk/catalog.js.map +1 -1
- package/esm/sdk/catalogproductreviews.d.ts +12 -0
- package/esm/sdk/catalogproductreviews.d.ts.map +1 -0
- package/esm/sdk/catalogproductreviews.js +18 -0
- package/esm/sdk/catalogproductreviews.js.map +1 -0
- package/esm/sdk/catalogproducts.d.ts +12 -0
- package/esm/sdk/catalogproducts.d.ts.map +1 -0
- package/esm/sdk/catalogproducts.js +18 -0
- package/esm/sdk/catalogproducts.js.map +1 -0
- package/esm/sdk/{skus.d.ts → catalogskus.d.ts} +2 -2
- package/esm/sdk/catalogskus.d.ts.map +1 -0
- package/esm/sdk/{skus.js → catalogskus.js} +2 -2
- package/esm/sdk/catalogskus.js.map +1 -0
- package/esm/sdk/cestorefrontaddresses.d.ts +26 -0
- package/esm/sdk/cestorefrontaddresses.d.ts.map +1 -0
- package/esm/sdk/cestorefrontaddresses.js +38 -0
- package/esm/sdk/cestorefrontaddresses.js.map +1 -0
- package/esm/sdk/cestorefrontproducts.d.ts +10 -0
- package/esm/sdk/cestorefrontproducts.d.ts.map +1 -0
- package/esm/sdk/cestorefrontproducts.js +15 -0
- package/esm/sdk/cestorefrontproducts.js.map +1 -0
- package/esm/sdk/cestorefrontuser.d.ts +4 -64
- package/esm/sdk/cestorefrontuser.d.ts.map +1 -1
- package/esm/sdk/cestorefrontuser.js +6 -92
- package/esm/sdk/cestorefrontuser.js.map +1 -1
- package/esm/sdk/cestorefrontusers.d.ts +12 -0
- package/esm/sdk/cestorefrontusers.d.ts.map +1 -0
- package/esm/sdk/cestorefrontusers.js +18 -0
- package/esm/sdk/cestorefrontusers.js.map +1 -0
- package/esm/sdk/countries.d.ts +12 -0
- package/esm/sdk/countries.d.ts.map +1 -0
- package/esm/sdk/countries.js +18 -0
- package/esm/sdk/countries.js.map +1 -0
- package/esm/sdk/customers.d.ts +19 -8
- package/esm/sdk/customers.d.ts.map +1 -1
- package/esm/sdk/customers.js +31 -15
- package/esm/sdk/customers.js.map +1 -1
- package/esm/sdk/juspay.d.ts +3 -3
- package/esm/sdk/juspay.d.ts.map +1 -1
- package/esm/sdk/juspay.js +9 -9
- package/esm/sdk/juspay.js.map +1 -1
- package/esm/sdk/loyalty.d.ts +0 -7
- package/esm/sdk/loyalty.d.ts.map +1 -1
- package/esm/sdk/loyalty.js +0 -10
- package/esm/sdk/loyalty.js.map +1 -1
- package/esm/sdk/loyaltypoints.d.ts +12 -0
- package/esm/sdk/loyaltypoints.d.ts.map +1 -0
- package/esm/sdk/loyaltypoints.js +18 -0
- package/esm/sdk/loyaltypoints.js.map +1 -0
- package/esm/sdk/notificationpreferences.d.ts +0 -14
- package/esm/sdk/notificationpreferences.d.ts.map +1 -1
- package/esm/sdk/notificationpreferences.js +2 -22
- package/esm/sdk/notificationpreferences.js.map +1 -1
- package/esm/sdk/orders.d.ts +15 -7
- package/esm/sdk/orders.d.ts.map +1 -1
- package/esm/sdk/orders.js +23 -11
- package/esm/sdk/orders.js.map +1 -1
- package/esm/sdk/payments.d.ts +6 -10
- package/esm/sdk/payments.d.ts.map +1 -1
- package/esm/sdk/payments.js +13 -19
- package/esm/sdk/payments.js.map +1 -1
- package/esm/sdk/products.d.ts +1 -14
- package/esm/sdk/products.d.ts.map +1 -1
- package/esm/sdk/products.js +9 -27
- package/esm/sdk/products.js.map +1 -1
- package/esm/sdk/reviews.d.ts +3 -3
- package/esm/sdk/reviews.d.ts.map +1 -1
- package/esm/sdk/reviews.js +4 -4
- package/esm/sdk/reviews.js.map +1 -1
- package/esm/sdk/sdk.d.ts +27 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +35 -3
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/{shipping.d.ts → shipment.d.ts} +2 -2
- package/esm/sdk/{shipping.d.ts.map → shipment.d.ts.map} +1 -1
- package/esm/sdk/{shipping.js → shipment.js} +4 -4
- package/esm/sdk/{shipping.js.map → shipment.js.map} +1 -1
- package/esm/sdk/user.d.ts +37 -4
- package/esm/sdk/user.d.ts.map +1 -1
- package/esm/sdk/user.js +50 -3
- package/esm/sdk/user.js.map +1 -1
- package/esm/sdk/users.d.ts +26 -0
- package/esm/sdk/users.d.ts.map +1 -0
- package/esm/sdk/users.js +38 -0
- package/esm/sdk/users.js.map +1 -0
- package/esm/sdk/utils.d.ts +3 -7
- package/esm/sdk/utils.d.ts.map +1 -1
- package/esm/sdk/utils.js +3 -9
- package/esm/sdk/utils.js.map +1 -1
- package/esm/sdk/wishlist.d.ts +1 -1
- package/esm/sdk/wishlist.d.ts.map +1 -1
- package/esm/sdk/wishlist.js +3 -3
- package/esm/sdk/wishlist.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{customersAddressesGet.ts → addressesGet.ts} +1 -1
- package/src/funcs/{authUserLogout.ts → authLogout.ts} +1 -1
- package/src/funcs/{authUserDeactivateAccount.ts → authUserDeactivate.ts} +1 -1
- package/src/funcs/{userNotificationPreferencesGet.ts → authUserNotificationPreferencesGet.ts} +1 -1
- package/src/funcs/{authUserAddProfileImage.ts → authUsersAddProfileImage.ts} +1 -1
- package/src/funcs/{catalogProductsReviewsCreate.ts → catalogProductReviewsCreate.ts} +1 -1
- package/src/funcs/{customersAddressesAdd.ts → customersAddAddress.ts} +1 -1
- package/src/funcs/{customersPostCustomers.ts → customersCreate.ts} +1 -1
- package/src/funcs/{customersGetCustomersId.ts → customersGet.ts} +1 -1
- package/src/funcs/{customersReviewsList.ts → customersGetReviews.ts} +1 -1
- package/src/funcs/{customersPutCustomersId.ts → customersUpdate.ts} +1 -1
- package/src/funcs/{juspayPostPaymentsJuspayCreateCustomer.ts → juspayCreateCustomer.ts} +1 -1
- package/src/funcs/{juspayPostPaymentsJuspayCreateOrder.ts → juspayCreateOrder.ts} +1 -1
- package/src/funcs/{juspayGetPaymentsJuspayCustomer.ts → juspayGetCustomer.ts} +1 -1
- package/src/funcs/{customersLoyaltyListActivities.ts → loyaltyPointsListActivities.ts} +1 -1
- package/src/funcs/{ordersGetOrdersIdPaymentStatus.ts → ordersGetPaymentStatus.ts} +1 -1
- package/src/funcs/{ordersRefundsList.ts → ordersGetRefunds.ts} +1 -1
- package/src/funcs/{ordersShipmentsList.ts → ordersGetShipments.ts} +1 -1
- package/src/funcs/{paymentsPostPaymentsCards.ts → paymentsAddCard.ts} +1 -1
- package/src/funcs/{paymentsGetPaymentsCards.ts → paymentsCardsList.ts} +1 -1
- package/src/funcs/{paymentsGetMethods.ts → paymentsListMethods.ts} +1 -1
- package/src/funcs/{paymentsGetPaymentsVerifyVpa.ts → paymentsVerifyVpa.ts} +1 -1
- package/src/funcs/{catalogProductsGetSimilar.ts → productsGetSimilar.ts} +1 -1
- package/src/funcs/{catalogProductsGetUpsells.ts → productsGetUpsells.ts} +1 -1
- package/src/funcs/{catalogProductsList.ts → productsList.ts} +1 -1
- package/src/funcs/{catalogProductsGetCrossSells.ts → productsListCrossSells.ts} +1 -1
- package/src/funcs/{shippingCheckPincodeServiceability.ts → shipmentCheckPincodeServiceability.ts} +1 -1
- package/src/funcs/{authUserDeleteProfileImage.ts → userDeleteProfileImage.ts} +1 -1
- package/src/funcs/{authUserResetPassword.ts → userResetPassword.ts} +1 -1
- package/src/funcs/{authUserUpdate.ts → userUpdate.ts} +1 -1
- package/src/funcs/{userNotificationPreferencesUpdate.ts → userUpdateNotificationPreferences.ts} +1 -1
- package/src/funcs/{authUserUpdateProfileImage.ts → userUpdateProfileImage.ts} +1 -1
- package/src/funcs/{userNotificationPreferencesCreate.ts → usersCreateNotificationPreferences.ts} +1 -1
- package/src/funcs/{authUserGet.ts → usersGet.ts} +1 -1
- package/src/funcs/{authUserGetProfileImage.ts → usersGetProfileImage.ts} +1 -1
- package/src/funcs/{utilsGetCountries.ts → utilsCountriesGet.ts} +1 -1
- package/src/funcs/{wishlistDelete.ts → wishlistRemoveItem.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/associatedoption.ts +19 -164
- package/src/models/components/bundleproduct.ts +92 -99
- package/src/models/components/bundleproductdetail.ts +124 -131
- package/src/models/components/coloroption.ts +144 -0
- package/src/models/components/currency.ts +12 -12
- package/src/models/components/index.ts +2 -0
- package/src/models/components/notificationpreferences.ts +12 -12
- package/src/models/components/pagination.ts +16 -16
- package/src/models/components/productattribute.ts +4 -4
- package/src/models/components/productcategory.ts +40 -40
- package/src/models/components/productdetail.ts +7 -37
- package/src/models/components/productimage.ts +28 -28
- package/src/models/components/productpricing.ts +8 -8
- package/src/models/components/productshipping.ts +24 -24
- package/src/models/components/productvideo.ts +32 -32
- package/src/models/components/seo.ts +16 -16
- package/src/models/components/singleproduct.ts +36 -36
- package/src/models/components/singleproductdetail.ts +68 -68
- package/src/models/components/singleselectoption.ts +83 -0
- package/src/models/components/sku.ts +56 -61
- package/src/models/components/variant.ts +27 -24
- package/src/models/components/variantdetail.ts +75 -72
- package/src/models/components/variantoption.ts +54 -61
- package/src/sdk/addresses.ts +2 -74
- package/src/sdk/auth.ts +22 -0
- package/src/sdk/authuser.ts +27 -0
- package/src/sdk/{refunds.ts → cards.ts} +7 -7
- package/src/sdk/catalog.ts +4 -10
- package/src/sdk/catalogproductreviews.ts +27 -0
- package/src/sdk/catalogproducts.ts +27 -0
- package/src/sdk/{skus.ts → catalogskus.ts} +1 -1
- package/src/sdk/cestorefrontaddresses.ts +63 -0
- package/src/sdk/cestorefrontproducts.ts +19 -0
- package/src/sdk/cestorefrontuser.ts +8 -160
- package/src/sdk/cestorefrontusers.ts +27 -0
- package/src/sdk/countries.ts +25 -0
- package/src/sdk/customers.ts +49 -19
- package/src/sdk/juspay.ts +9 -9
- package/src/sdk/loyalty.ts +0 -18
- package/src/sdk/loyaltypoints.ts +27 -0
- package/src/sdk/notificationpreferences.ts +2 -38
- package/src/sdk/orders.ts +39 -15
- package/src/sdk/payments.ts +15 -27
- package/src/sdk/products.ts +9 -39
- package/src/sdk/reviews.ts +6 -6
- package/src/sdk/sdk.ts +54 -4
- package/src/sdk/{shipping.ts → shipment.ts} +3 -3
- package/src/sdk/user.ts +90 -6
- package/src/sdk/users.ts +63 -0
- package/src/sdk/utils.ts +4 -14
- package/src/sdk/wishlist.ts +3 -3
- package/esm/funcs/authUserAddProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserAddProfileImage.js.map +0 -1
- package/esm/funcs/authUserDeactivateAccount.d.ts.map +0 -1
- package/esm/funcs/authUserDeactivateAccount.js.map +0 -1
- package/esm/funcs/authUserDeleteProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserDeleteProfileImage.js.map +0 -1
- package/esm/funcs/authUserGet.d.ts.map +0 -1
- package/esm/funcs/authUserGet.js.map +0 -1
- package/esm/funcs/authUserGetProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserGetProfileImage.js.map +0 -1
- package/esm/funcs/authUserLogout.d.ts.map +0 -1
- package/esm/funcs/authUserLogout.js.map +0 -1
- package/esm/funcs/authUserResetPassword.d.ts.map +0 -1
- package/esm/funcs/authUserResetPassword.js.map +0 -1
- package/esm/funcs/authUserUpdate.d.ts.map +0 -1
- package/esm/funcs/authUserUpdate.js.map +0 -1
- package/esm/funcs/authUserUpdateProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserUpdateProfileImage.js.map +0 -1
- package/esm/funcs/catalogProductsGetCrossSells.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetCrossSells.js.map +0 -1
- package/esm/funcs/catalogProductsGetSimilar.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetSimilar.js.map +0 -1
- package/esm/funcs/catalogProductsGetUpsells.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetUpsells.js.map +0 -1
- package/esm/funcs/catalogProductsList.js.map +0 -1
- package/esm/funcs/catalogProductsReviewsCreate.d.ts.map +0 -1
- package/esm/funcs/catalogProductsReviewsCreate.js.map +0 -1
- package/esm/funcs/customersAddressesAdd.d.ts.map +0 -1
- package/esm/funcs/customersAddressesAdd.js.map +0 -1
- package/esm/funcs/customersAddressesGet.d.ts +0 -16
- package/esm/funcs/customersAddressesGet.d.ts.map +0 -1
- package/esm/funcs/customersAddressesGet.js.map +0 -1
- package/esm/funcs/customersGetCustomersId.d.ts.map +0 -1
- package/esm/funcs/customersGetCustomersId.js.map +0 -1
- package/esm/funcs/customersLoyaltyListActivities.d.ts.map +0 -1
- package/esm/funcs/customersLoyaltyListActivities.js.map +0 -1
- package/esm/funcs/customersPostCustomers.d.ts.map +0 -1
- package/esm/funcs/customersPostCustomers.js.map +0 -1
- package/esm/funcs/customersPutCustomersId.d.ts +0 -16
- package/esm/funcs/customersPutCustomersId.d.ts.map +0 -1
- package/esm/funcs/customersPutCustomersId.js.map +0 -1
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +0 -1
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts +0 -15
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +0 -1
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +0 -1
- package/esm/funcs/ordersRefundsList.js.map +0 -1
- package/esm/funcs/ordersShipmentsList.d.ts.map +0 -1
- package/esm/funcs/ordersShipmentsList.js.map +0 -1
- package/esm/funcs/paymentsGetMethods.js.map +0 -1
- package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +0 -1
- package/esm/funcs/paymentsGetPaymentsCards.js.map +0 -1
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +0 -1
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +0 -1
- package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +0 -1
- package/esm/funcs/paymentsPostPaymentsCards.js.map +0 -1
- package/esm/funcs/userNotificationPreferencesCreate.d.ts.map +0 -1
- package/esm/funcs/userNotificationPreferencesCreate.js.map +0 -1
- package/esm/funcs/userNotificationPreferencesGet.d.ts.map +0 -1
- package/esm/funcs/userNotificationPreferencesGet.js.map +0 -1
- package/esm/funcs/wishlistDelete.d.ts.map +0 -1
- package/esm/funcs/wishlistDelete.js.map +0 -1
- package/esm/sdk/cestorefrontreviews.d.ts +0 -19
- package/esm/sdk/cestorefrontreviews.d.ts.map +0 -1
- package/esm/sdk/cestorefrontreviews.js +0 -28
- package/esm/sdk/cestorefrontreviews.js.map +0 -1
- package/esm/sdk/refunds.d.ts +0 -12
- package/esm/sdk/refunds.d.ts.map +0 -1
- package/esm/sdk/refunds.js +0 -18
- package/esm/sdk/refunds.js.map +0 -1
- package/esm/sdk/shipments.d.ts +0 -12
- package/esm/sdk/shipments.d.ts.map +0 -1
- package/esm/sdk/shipments.js +0 -18
- package/esm/sdk/shipments.js.map +0 -1
- package/esm/sdk/skus.d.ts.map +0 -1
- package/esm/sdk/skus.js.map +0 -1
- package/src/sdk/cestorefrontreviews.ts +0 -45
- package/src/sdk/shipments.ts +0 -27
|
@@ -50,8 +50,8 @@ export type Variant = {
|
|
|
50
50
|
/**
|
|
51
51
|
* variant sku
|
|
52
52
|
*/
|
|
53
|
-
sku
|
|
54
|
-
slug
|
|
53
|
+
sku: string | null;
|
|
54
|
+
slug: string | null;
|
|
55
55
|
/**
|
|
56
56
|
* variant name
|
|
57
57
|
*/
|
|
@@ -60,7 +60,7 @@ export type Variant = {
|
|
|
60
60
|
* variant name
|
|
61
61
|
*/
|
|
62
62
|
productName: string;
|
|
63
|
-
shortDescription: string;
|
|
63
|
+
shortDescription: string | null;
|
|
64
64
|
active: boolean;
|
|
65
65
|
stockAvailable: boolean;
|
|
66
66
|
/**
|
|
@@ -73,11 +73,14 @@ export type Variant = {
|
|
|
73
73
|
* Indicates whether a variant is marked as the default variant for a product
|
|
74
74
|
*/
|
|
75
75
|
isDefault: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* An object where each key is an option name, and the value describes the option details.
|
|
78
|
+
*/
|
|
76
79
|
associatedOptions: { [k: string]: AssociatedOption };
|
|
77
|
-
images
|
|
80
|
+
images: Array<ProductImage>;
|
|
78
81
|
pricing: ProductPricing;
|
|
79
|
-
subscription
|
|
80
|
-
promotion
|
|
82
|
+
subscription: Array<ProductSubscription>;
|
|
83
|
+
promotion: Array<ProductPromotion>;
|
|
81
84
|
};
|
|
82
85
|
|
|
83
86
|
/** @internal */
|
|
@@ -85,11 +88,11 @@ export const Variant$inboundSchema: z.ZodType<Variant, z.ZodTypeDef, unknown> =
|
|
|
85
88
|
z.object({
|
|
86
89
|
id: z.string(),
|
|
87
90
|
product_id: z.string(),
|
|
88
|
-
sku: z.
|
|
89
|
-
slug: z.
|
|
91
|
+
sku: z.nullable(z.string()),
|
|
92
|
+
slug: z.nullable(z.string()),
|
|
90
93
|
name: z.string(),
|
|
91
94
|
product_name: z.string(),
|
|
92
|
-
short_description: z.string(),
|
|
95
|
+
short_description: z.nullable(z.string()),
|
|
93
96
|
active: z.boolean(),
|
|
94
97
|
stock_available: z.boolean(),
|
|
95
98
|
on_offer: z.boolean().default(false),
|
|
@@ -97,10 +100,10 @@ export const Variant$inboundSchema: z.ZodType<Variant, z.ZodTypeDef, unknown> =
|
|
|
97
100
|
on_subscription: z.boolean().default(false),
|
|
98
101
|
is_default: z.boolean(),
|
|
99
102
|
associated_options: z.record(AssociatedOption$inboundSchema),
|
|
100
|
-
images: z.array(ProductImage$inboundSchema)
|
|
103
|
+
images: z.array(ProductImage$inboundSchema),
|
|
101
104
|
pricing: ProductPricing$inboundSchema,
|
|
102
|
-
subscription: z.array(ProductSubscription$inboundSchema)
|
|
103
|
-
promotion: z.array(ProductPromotion$inboundSchema)
|
|
105
|
+
subscription: z.array(ProductSubscription$inboundSchema),
|
|
106
|
+
promotion: z.array(ProductPromotion$inboundSchema),
|
|
104
107
|
}).transform((v) => {
|
|
105
108
|
return remap$(v, {
|
|
106
109
|
"product_id": "productId",
|
|
@@ -119,11 +122,11 @@ export const Variant$inboundSchema: z.ZodType<Variant, z.ZodTypeDef, unknown> =
|
|
|
119
122
|
export type Variant$Outbound = {
|
|
120
123
|
id: string;
|
|
121
124
|
product_id: string;
|
|
122
|
-
sku
|
|
123
|
-
slug
|
|
125
|
+
sku: string | null;
|
|
126
|
+
slug: string | null;
|
|
124
127
|
name: string;
|
|
125
128
|
product_name: string;
|
|
126
|
-
short_description: string;
|
|
129
|
+
short_description: string | null;
|
|
127
130
|
active: boolean;
|
|
128
131
|
stock_available: boolean;
|
|
129
132
|
on_offer: boolean;
|
|
@@ -131,10 +134,10 @@ export type Variant$Outbound = {
|
|
|
131
134
|
on_subscription: boolean;
|
|
132
135
|
is_default: boolean;
|
|
133
136
|
associated_options: { [k: string]: AssociatedOption$Outbound };
|
|
134
|
-
images
|
|
137
|
+
images: Array<ProductImage$Outbound>;
|
|
135
138
|
pricing: ProductPricing$Outbound;
|
|
136
|
-
subscription
|
|
137
|
-
promotion
|
|
139
|
+
subscription: Array<ProductSubscription$Outbound>;
|
|
140
|
+
promotion: Array<ProductPromotion$Outbound>;
|
|
138
141
|
};
|
|
139
142
|
|
|
140
143
|
/** @internal */
|
|
@@ -145,11 +148,11 @@ export const Variant$outboundSchema: z.ZodType<
|
|
|
145
148
|
> = z.object({
|
|
146
149
|
id: z.string(),
|
|
147
150
|
productId: z.string(),
|
|
148
|
-
sku: z.
|
|
149
|
-
slug: z.
|
|
151
|
+
sku: z.nullable(z.string()),
|
|
152
|
+
slug: z.nullable(z.string()),
|
|
150
153
|
name: z.string(),
|
|
151
154
|
productName: z.string(),
|
|
152
|
-
shortDescription: z.string(),
|
|
155
|
+
shortDescription: z.nullable(z.string()),
|
|
153
156
|
active: z.boolean(),
|
|
154
157
|
stockAvailable: z.boolean(),
|
|
155
158
|
onOffer: z.boolean().default(false),
|
|
@@ -157,10 +160,10 @@ export const Variant$outboundSchema: z.ZodType<
|
|
|
157
160
|
onSubscription: z.boolean().default(false),
|
|
158
161
|
isDefault: z.boolean(),
|
|
159
162
|
associatedOptions: z.record(AssociatedOption$outboundSchema),
|
|
160
|
-
images: z.array(ProductImage$outboundSchema)
|
|
163
|
+
images: z.array(ProductImage$outboundSchema),
|
|
161
164
|
pricing: ProductPricing$outboundSchema,
|
|
162
|
-
subscription: z.array(ProductSubscription$outboundSchema)
|
|
163
|
-
promotion: z.array(ProductPromotion$outboundSchema)
|
|
165
|
+
subscription: z.array(ProductSubscription$outboundSchema),
|
|
166
|
+
promotion: z.array(ProductPromotion$outboundSchema),
|
|
164
167
|
}).transform((v) => {
|
|
165
168
|
return remap$(v, {
|
|
166
169
|
productId: "product_id",
|
|
@@ -90,8 +90,8 @@ export type VariantDetail = {
|
|
|
90
90
|
/**
|
|
91
91
|
* variant sku
|
|
92
92
|
*/
|
|
93
|
-
sku
|
|
94
|
-
slug
|
|
93
|
+
sku: string | null;
|
|
94
|
+
slug: string | null;
|
|
95
95
|
/**
|
|
96
96
|
* variant name
|
|
97
97
|
*/
|
|
@@ -100,7 +100,7 @@ export type VariantDetail = {
|
|
|
100
100
|
* variant name
|
|
101
101
|
*/
|
|
102
102
|
productName: string;
|
|
103
|
-
shortDescription: string;
|
|
103
|
+
shortDescription: string | null;
|
|
104
104
|
active: boolean;
|
|
105
105
|
stockAvailable: boolean;
|
|
106
106
|
/**
|
|
@@ -113,25 +113,28 @@ export type VariantDetail = {
|
|
|
113
113
|
* Indicates whether a variant is marked as the default variant for a product
|
|
114
114
|
*/
|
|
115
115
|
isDefault: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* An object where each key is an option name, and the value describes the option details.
|
|
118
|
+
*/
|
|
116
119
|
associatedOptions: { [k: string]: AssociatedOption };
|
|
117
|
-
images
|
|
120
|
+
images: Array<ProductImage>;
|
|
118
121
|
pricing: ProductPricing;
|
|
119
|
-
subscription
|
|
120
|
-
promotion
|
|
122
|
+
subscription: Array<ProductSubscription>;
|
|
123
|
+
promotion: Array<ProductPromotion>;
|
|
121
124
|
productType: VariantDetailProductType;
|
|
122
|
-
description
|
|
123
|
-
categoryIds
|
|
124
|
-
tags
|
|
125
|
-
reviewRatingSum
|
|
126
|
-
reviewsCount
|
|
127
|
-
hsnCode
|
|
125
|
+
description: string | null;
|
|
126
|
+
categoryIds: Array<string>;
|
|
127
|
+
tags: Array<string> | null;
|
|
128
|
+
reviewRatingSum: number | null;
|
|
129
|
+
reviewsCount: number;
|
|
130
|
+
hsnCode: string | null;
|
|
128
131
|
variantOptions: Array<VariantOption>;
|
|
129
|
-
productAttributes
|
|
130
|
-
variantAttributes
|
|
131
|
-
videos
|
|
132
|
-
shipping
|
|
133
|
-
seo
|
|
134
|
-
metadata
|
|
132
|
+
productAttributes: Array<ProductAttribute>;
|
|
133
|
+
variantAttributes: Array<ProductAttribute>;
|
|
134
|
+
videos: Array<ProductVideo>;
|
|
135
|
+
shipping: ProductShipping | null;
|
|
136
|
+
seo: Seo;
|
|
137
|
+
metadata: { [k: string]: string };
|
|
135
138
|
};
|
|
136
139
|
|
|
137
140
|
/** @internal */
|
|
@@ -163,11 +166,11 @@ export const VariantDetail$inboundSchema: z.ZodType<
|
|
|
163
166
|
> = z.object({
|
|
164
167
|
id: z.string(),
|
|
165
168
|
product_id: z.string(),
|
|
166
|
-
sku: z.
|
|
167
|
-
slug: z.
|
|
169
|
+
sku: z.nullable(z.string()),
|
|
170
|
+
slug: z.nullable(z.string()),
|
|
168
171
|
name: z.string(),
|
|
169
172
|
product_name: z.string(),
|
|
170
|
-
short_description: z.string(),
|
|
173
|
+
short_description: z.nullable(z.string()),
|
|
171
174
|
active: z.boolean(),
|
|
172
175
|
stock_available: z.boolean(),
|
|
173
176
|
on_offer: z.boolean().default(false),
|
|
@@ -175,24 +178,24 @@ export const VariantDetail$inboundSchema: z.ZodType<
|
|
|
175
178
|
on_subscription: z.boolean().default(false),
|
|
176
179
|
is_default: z.boolean(),
|
|
177
180
|
associated_options: z.record(AssociatedOption$inboundSchema),
|
|
178
|
-
images: z.array(ProductImage$inboundSchema)
|
|
181
|
+
images: z.array(ProductImage$inboundSchema),
|
|
179
182
|
pricing: ProductPricing$inboundSchema,
|
|
180
|
-
subscription: z.array(ProductSubscription$inboundSchema)
|
|
181
|
-
promotion: z.array(ProductPromotion$inboundSchema)
|
|
183
|
+
subscription: z.array(ProductSubscription$inboundSchema),
|
|
184
|
+
promotion: z.array(ProductPromotion$inboundSchema),
|
|
182
185
|
product_type: VariantDetailProductType$inboundSchema,
|
|
183
|
-
description: z.
|
|
184
|
-
category_ids: z.array(z.string())
|
|
185
|
-
tags: z.nullable(z.array(z.string()))
|
|
186
|
-
review_rating_sum: z.
|
|
187
|
-
reviews_count: z.number().int()
|
|
188
|
-
hsn_code: z.
|
|
186
|
+
description: z.nullable(z.string()),
|
|
187
|
+
category_ids: z.array(z.string()),
|
|
188
|
+
tags: z.nullable(z.array(z.string())),
|
|
189
|
+
review_rating_sum: z.nullable(z.number()),
|
|
190
|
+
reviews_count: z.number().int(),
|
|
191
|
+
hsn_code: z.nullable(z.string()),
|
|
189
192
|
variant_options: z.array(VariantOption$inboundSchema),
|
|
190
|
-
product_attributes: z.array(ProductAttribute$inboundSchema)
|
|
191
|
-
variant_attributes: z.array(ProductAttribute$inboundSchema)
|
|
192
|
-
videos: z.array(ProductVideo$inboundSchema)
|
|
193
|
-
shipping: z.nullable(ProductShipping$inboundSchema)
|
|
194
|
-
seo: Seo$inboundSchema
|
|
195
|
-
metadata: z.record(z.string())
|
|
193
|
+
product_attributes: z.array(ProductAttribute$inboundSchema),
|
|
194
|
+
variant_attributes: z.array(ProductAttribute$inboundSchema),
|
|
195
|
+
videos: z.array(ProductVideo$inboundSchema),
|
|
196
|
+
shipping: z.nullable(ProductShipping$inboundSchema),
|
|
197
|
+
seo: Seo$inboundSchema,
|
|
198
|
+
metadata: z.record(z.string()),
|
|
196
199
|
}).transform((v) => {
|
|
197
200
|
return remap$(v, {
|
|
198
201
|
"product_id": "productId",
|
|
@@ -219,11 +222,11 @@ export const VariantDetail$inboundSchema: z.ZodType<
|
|
|
219
222
|
export type VariantDetail$Outbound = {
|
|
220
223
|
id: string;
|
|
221
224
|
product_id: string;
|
|
222
|
-
sku
|
|
223
|
-
slug
|
|
225
|
+
sku: string | null;
|
|
226
|
+
slug: string | null;
|
|
224
227
|
name: string;
|
|
225
228
|
product_name: string;
|
|
226
|
-
short_description: string;
|
|
229
|
+
short_description: string | null;
|
|
227
230
|
active: boolean;
|
|
228
231
|
stock_available: boolean;
|
|
229
232
|
on_offer: boolean;
|
|
@@ -231,24 +234,24 @@ export type VariantDetail$Outbound = {
|
|
|
231
234
|
on_subscription: boolean;
|
|
232
235
|
is_default: boolean;
|
|
233
236
|
associated_options: { [k: string]: AssociatedOption$Outbound };
|
|
234
|
-
images
|
|
237
|
+
images: Array<ProductImage$Outbound>;
|
|
235
238
|
pricing: ProductPricing$Outbound;
|
|
236
|
-
subscription
|
|
237
|
-
promotion
|
|
239
|
+
subscription: Array<ProductSubscription$Outbound>;
|
|
240
|
+
promotion: Array<ProductPromotion$Outbound>;
|
|
238
241
|
product_type: string;
|
|
239
|
-
description
|
|
240
|
-
category_ids
|
|
241
|
-
tags
|
|
242
|
-
review_rating_sum
|
|
243
|
-
reviews_count
|
|
244
|
-
hsn_code
|
|
242
|
+
description: string | null;
|
|
243
|
+
category_ids: Array<string>;
|
|
244
|
+
tags: Array<string> | null;
|
|
245
|
+
review_rating_sum: number | null;
|
|
246
|
+
reviews_count: number;
|
|
247
|
+
hsn_code: string | null;
|
|
245
248
|
variant_options: Array<VariantOption$Outbound>;
|
|
246
|
-
product_attributes
|
|
247
|
-
variant_attributes
|
|
248
|
-
videos
|
|
249
|
-
shipping
|
|
250
|
-
seo
|
|
251
|
-
metadata
|
|
249
|
+
product_attributes: Array<ProductAttribute$Outbound>;
|
|
250
|
+
variant_attributes: Array<ProductAttribute$Outbound>;
|
|
251
|
+
videos: Array<ProductVideo$Outbound>;
|
|
252
|
+
shipping: ProductShipping$Outbound | null;
|
|
253
|
+
seo: Seo$Outbound;
|
|
254
|
+
metadata: { [k: string]: string };
|
|
252
255
|
};
|
|
253
256
|
|
|
254
257
|
/** @internal */
|
|
@@ -259,11 +262,11 @@ export const VariantDetail$outboundSchema: z.ZodType<
|
|
|
259
262
|
> = z.object({
|
|
260
263
|
id: z.string(),
|
|
261
264
|
productId: z.string(),
|
|
262
|
-
sku: z.
|
|
263
|
-
slug: z.
|
|
265
|
+
sku: z.nullable(z.string()),
|
|
266
|
+
slug: z.nullable(z.string()),
|
|
264
267
|
name: z.string(),
|
|
265
268
|
productName: z.string(),
|
|
266
|
-
shortDescription: z.string(),
|
|
269
|
+
shortDescription: z.nullable(z.string()),
|
|
267
270
|
active: z.boolean(),
|
|
268
271
|
stockAvailable: z.boolean(),
|
|
269
272
|
onOffer: z.boolean().default(false),
|
|
@@ -271,24 +274,24 @@ export const VariantDetail$outboundSchema: z.ZodType<
|
|
|
271
274
|
onSubscription: z.boolean().default(false),
|
|
272
275
|
isDefault: z.boolean(),
|
|
273
276
|
associatedOptions: z.record(AssociatedOption$outboundSchema),
|
|
274
|
-
images: z.array(ProductImage$outboundSchema)
|
|
277
|
+
images: z.array(ProductImage$outboundSchema),
|
|
275
278
|
pricing: ProductPricing$outboundSchema,
|
|
276
|
-
subscription: z.array(ProductSubscription$outboundSchema)
|
|
277
|
-
promotion: z.array(ProductPromotion$outboundSchema)
|
|
279
|
+
subscription: z.array(ProductSubscription$outboundSchema),
|
|
280
|
+
promotion: z.array(ProductPromotion$outboundSchema),
|
|
278
281
|
productType: VariantDetailProductType$outboundSchema,
|
|
279
|
-
description: z.
|
|
280
|
-
categoryIds: z.array(z.string())
|
|
281
|
-
tags: z.nullable(z.array(z.string()))
|
|
282
|
-
reviewRatingSum: z.
|
|
283
|
-
reviewsCount: z.number().int()
|
|
284
|
-
hsnCode: z.
|
|
282
|
+
description: z.nullable(z.string()),
|
|
283
|
+
categoryIds: z.array(z.string()),
|
|
284
|
+
tags: z.nullable(z.array(z.string())),
|
|
285
|
+
reviewRatingSum: z.nullable(z.number()),
|
|
286
|
+
reviewsCount: z.number().int(),
|
|
287
|
+
hsnCode: z.nullable(z.string()),
|
|
285
288
|
variantOptions: z.array(VariantOption$outboundSchema),
|
|
286
|
-
productAttributes: z.array(ProductAttribute$outboundSchema)
|
|
287
|
-
variantAttributes: z.array(ProductAttribute$outboundSchema)
|
|
288
|
-
videos: z.array(ProductVideo$outboundSchema)
|
|
289
|
-
shipping: z.nullable(ProductShipping$outboundSchema)
|
|
290
|
-
seo: Seo$outboundSchema
|
|
291
|
-
metadata: z.record(z.string())
|
|
289
|
+
productAttributes: z.array(ProductAttribute$outboundSchema),
|
|
290
|
+
variantAttributes: z.array(ProductAttribute$outboundSchema),
|
|
291
|
+
videos: z.array(ProductVideo$outboundSchema),
|
|
292
|
+
shipping: z.nullable(ProductShipping$outboundSchema),
|
|
293
|
+
seo: Seo$outboundSchema,
|
|
294
|
+
metadata: z.record(z.string()),
|
|
292
295
|
}).transform((v) => {
|
|
293
296
|
return remap$(v, {
|
|
294
297
|
productId: "product_id",
|
|
@@ -3,25 +3,31 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
10
|
|
|
12
|
-
export const
|
|
11
|
+
export const Type = {
|
|
13
12
|
SingleSelect: "single-select",
|
|
14
13
|
Color: "color",
|
|
15
14
|
} as const;
|
|
16
|
-
export type
|
|
15
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
17
16
|
|
|
18
17
|
export type Two = {};
|
|
19
18
|
|
|
20
|
-
export type
|
|
19
|
+
export type Value = Two | string;
|
|
21
20
|
|
|
22
21
|
export type VariantOption = {
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
/**
|
|
23
|
+
* The name of the associated option.
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* 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`
|
|
28
|
+
*/
|
|
29
|
+
key: string;
|
|
30
|
+
type: Type;
|
|
25
31
|
/**
|
|
26
32
|
* When option_type is color, value will contain an array of objects like:
|
|
27
33
|
*
|
|
@@ -39,26 +45,27 @@ export type VariantOption = {
|
|
|
39
45
|
* ]
|
|
40
46
|
* ```
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
value: Array<Two | string>;
|
|
43
49
|
};
|
|
44
50
|
|
|
45
51
|
/** @internal */
|
|
46
|
-
export const
|
|
47
|
-
|
|
52
|
+
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
53
|
+
Type,
|
|
54
|
+
);
|
|
48
55
|
|
|
49
56
|
/** @internal */
|
|
50
|
-
export const
|
|
51
|
-
|
|
57
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
58
|
+
Type$inboundSchema;
|
|
52
59
|
|
|
53
60
|
/**
|
|
54
61
|
* @internal
|
|
55
62
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
63
|
*/
|
|
57
|
-
export namespace
|
|
58
|
-
/** @deprecated use `
|
|
59
|
-
export const inboundSchema =
|
|
60
|
-
/** @deprecated use `
|
|
61
|
-
export const outboundSchema =
|
|
64
|
+
export namespace Type$ {
|
|
65
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = Type$inboundSchema;
|
|
67
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = Type$outboundSchema;
|
|
62
69
|
}
|
|
63
70
|
|
|
64
71
|
/** @internal */
|
|
@@ -100,46 +107,43 @@ export function twoFromJSON(
|
|
|
100
107
|
}
|
|
101
108
|
|
|
102
109
|
/** @internal */
|
|
103
|
-
export const
|
|
104
|
-
|
|
105
|
-
z.ZodTypeDef,
|
|
106
|
-
unknown
|
|
107
|
-
> = z.union([z.lazy(() => Two$inboundSchema), z.string()]);
|
|
110
|
+
export const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown> = z
|
|
111
|
+
.union([z.lazy(() => Two$inboundSchema), z.string()]);
|
|
108
112
|
|
|
109
113
|
/** @internal */
|
|
110
|
-
export type
|
|
114
|
+
export type Value$Outbound = Two$Outbound | string;
|
|
111
115
|
|
|
112
116
|
/** @internal */
|
|
113
|
-
export const
|
|
114
|
-
|
|
117
|
+
export const Value$outboundSchema: z.ZodType<
|
|
118
|
+
Value$Outbound,
|
|
115
119
|
z.ZodTypeDef,
|
|
116
|
-
|
|
120
|
+
Value
|
|
117
121
|
> = z.union([z.lazy(() => Two$outboundSchema), z.string()]);
|
|
118
122
|
|
|
119
123
|
/**
|
|
120
124
|
* @internal
|
|
121
125
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
122
126
|
*/
|
|
123
|
-
export namespace
|
|
124
|
-
/** @deprecated use `
|
|
125
|
-
export const inboundSchema =
|
|
126
|
-
/** @deprecated use `
|
|
127
|
-
export const outboundSchema =
|
|
128
|
-
/** @deprecated use `
|
|
129
|
-
export type Outbound =
|
|
127
|
+
export namespace Value$ {
|
|
128
|
+
/** @deprecated use `Value$inboundSchema` instead. */
|
|
129
|
+
export const inboundSchema = Value$inboundSchema;
|
|
130
|
+
/** @deprecated use `Value$outboundSchema` instead. */
|
|
131
|
+
export const outboundSchema = Value$outboundSchema;
|
|
132
|
+
/** @deprecated use `Value$Outbound` instead. */
|
|
133
|
+
export type Outbound = Value$Outbound;
|
|
130
134
|
}
|
|
131
135
|
|
|
132
|
-
export function
|
|
133
|
-
return JSON.stringify(
|
|
136
|
+
export function valueToJSON(value: Value): string {
|
|
137
|
+
return JSON.stringify(Value$outboundSchema.parse(value));
|
|
134
138
|
}
|
|
135
139
|
|
|
136
|
-
export function
|
|
140
|
+
export function valueFromJSON(
|
|
137
141
|
jsonString: string,
|
|
138
|
-
): SafeParseResult<
|
|
142
|
+
): SafeParseResult<Value, SDKValidationError> {
|
|
139
143
|
return safeParse(
|
|
140
144
|
jsonString,
|
|
141
|
-
(x) =>
|
|
142
|
-
`Failed to parse '
|
|
145
|
+
(x) => Value$inboundSchema.parse(JSON.parse(x)),
|
|
146
|
+
`Failed to parse 'Value' from JSON`,
|
|
143
147
|
);
|
|
144
148
|
}
|
|
145
149
|
|
|
@@ -149,23 +153,18 @@ export const VariantOption$inboundSchema: z.ZodType<
|
|
|
149
153
|
z.ZodTypeDef,
|
|
150
154
|
unknown
|
|
151
155
|
> = z.object({
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}).transform((v) => {
|
|
157
|
-
return remap$(v, {
|
|
158
|
-
"option_name": "optionName",
|
|
159
|
-
"option_type": "optionType",
|
|
160
|
-
"option_value": "optionValue",
|
|
161
|
-
});
|
|
156
|
+
name: z.string(),
|
|
157
|
+
key: z.string(),
|
|
158
|
+
type: Type$inboundSchema,
|
|
159
|
+
value: z.array(z.union([z.lazy(() => Two$inboundSchema), z.string()])),
|
|
162
160
|
});
|
|
163
161
|
|
|
164
162
|
/** @internal */
|
|
165
163
|
export type VariantOption$Outbound = {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
164
|
+
name: string;
|
|
165
|
+
key: string;
|
|
166
|
+
type: string;
|
|
167
|
+
value: Array<Two$Outbound | string>;
|
|
169
168
|
};
|
|
170
169
|
|
|
171
170
|
/** @internal */
|
|
@@ -174,16 +173,10 @@ export const VariantOption$outboundSchema: z.ZodType<
|
|
|
174
173
|
z.ZodTypeDef,
|
|
175
174
|
VariantOption
|
|
176
175
|
> = z.object({
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}).transform((v) => {
|
|
182
|
-
return remap$(v, {
|
|
183
|
-
optionName: "option_name",
|
|
184
|
-
optionType: "option_type",
|
|
185
|
-
optionValue: "option_value",
|
|
186
|
-
});
|
|
176
|
+
name: z.string(),
|
|
177
|
+
key: z.string(),
|
|
178
|
+
type: Type$outboundSchema,
|
|
179
|
+
value: z.array(z.union([z.lazy(() => Two$outboundSchema), z.string()])),
|
|
187
180
|
});
|
|
188
181
|
|
|
189
182
|
/**
|
package/src/sdk/addresses.ts
CHANGED
|
@@ -2,50 +2,12 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import { customersAddressesDelete } from "../funcs/customersAddressesDelete.js";
|
|
7
|
-
import { customersAddressesGet } from "../funcs/customersAddressesGet.js";
|
|
8
|
-
import { customersAddressesList } from "../funcs/customersAddressesList.js";
|
|
9
|
-
import { customersAddressesUpdate } from "../funcs/customersAddressesUpdate.js";
|
|
5
|
+
import { addressesGet } from "../funcs/addressesGet.js";
|
|
10
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
7
|
import * as operations from "../models/operations/index.js";
|
|
12
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
13
9
|
|
|
14
10
|
export class Addresses extends ClientSDK {
|
|
15
|
-
/**
|
|
16
|
-
* Retrieve all addresses
|
|
17
|
-
*
|
|
18
|
-
* @remarks
|
|
19
|
-
* Retrieve billing and shipping address of particular customer
|
|
20
|
-
*/
|
|
21
|
-
async list(
|
|
22
|
-
request: operations.GetAddressRequest,
|
|
23
|
-
options?: RequestOptions,
|
|
24
|
-
): Promise<operations.GetAddressResponseBody> {
|
|
25
|
-
return unwrapAsync(customersAddressesList(
|
|
26
|
-
this,
|
|
27
|
-
request,
|
|
28
|
-
options,
|
|
29
|
-
));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Add address
|
|
34
|
-
*
|
|
35
|
-
* @remarks
|
|
36
|
-
* Add new address
|
|
37
|
-
*/
|
|
38
|
-
async add(
|
|
39
|
-
request: operations.PostAddressRequest,
|
|
40
|
-
options?: RequestOptions,
|
|
41
|
-
): Promise<operations.PostAddressResponseBody> {
|
|
42
|
-
return unwrapAsync(customersAddressesAdd(
|
|
43
|
-
this,
|
|
44
|
-
request,
|
|
45
|
-
options,
|
|
46
|
-
));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
11
|
/**
|
|
50
12
|
* Retrieve particular address
|
|
51
13
|
*
|
|
@@ -56,41 +18,7 @@ export class Addresses extends ClientSDK {
|
|
|
56
18
|
request: operations.GetCustomerAddressIdRequest,
|
|
57
19
|
options?: RequestOptions,
|
|
58
20
|
): Promise<operations.GetCustomerAddressIdResponseBody> {
|
|
59
|
-
return unwrapAsync(
|
|
60
|
-
this,
|
|
61
|
-
request,
|
|
62
|
-
options,
|
|
63
|
-
));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Update particular address
|
|
68
|
-
*
|
|
69
|
-
* @remarks
|
|
70
|
-
* Update address
|
|
71
|
-
*/
|
|
72
|
-
async update(
|
|
73
|
-
request: operations.PutCustomerAddressIdRequest,
|
|
74
|
-
options?: RequestOptions,
|
|
75
|
-
): Promise<operations.PutCustomerAddressIdResponseBody> {
|
|
76
|
-
return unwrapAsync(customersAddressesUpdate(
|
|
77
|
-
this,
|
|
78
|
-
request,
|
|
79
|
-
options,
|
|
80
|
-
));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Remove particular address
|
|
85
|
-
*
|
|
86
|
-
* @remarks
|
|
87
|
-
* Delete address
|
|
88
|
-
*/
|
|
89
|
-
async delete(
|
|
90
|
-
request: operations.DeleteCustomerAddressIdRequest,
|
|
91
|
-
options?: RequestOptions,
|
|
92
|
-
): Promise<operations.DeleteCustomerAddressIdResponseBody> {
|
|
93
|
-
return unwrapAsync(customersAddressesDelete(
|
|
21
|
+
return unwrapAsync(addressesGet(
|
|
94
22
|
this,
|
|
95
23
|
request,
|
|
96
24
|
options,
|