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
package/src/sdk/auth.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { authLoginWithEmail } from "../funcs/authLoginWithEmail.js";
|
|
|
8
8
|
import { authLoginWithPassword } from "../funcs/authLoginWithPassword.js";
|
|
9
9
|
import { authLoginWithPhone } from "../funcs/authLoginWithPhone.js";
|
|
10
10
|
import { authLoginWithWhatsapp } from "../funcs/authLoginWithWhatsapp.js";
|
|
11
|
+
import { authLogout } from "../funcs/authLogout.js";
|
|
11
12
|
import { authRefreshToken } from "../funcs/authRefreshToken.js";
|
|
12
13
|
import { authRegisterWithEmail } from "../funcs/authRegisterWithEmail.js";
|
|
13
14
|
import { authRegisterWithPassword } from "../funcs/authRegisterWithPassword.js";
|
|
@@ -19,8 +20,14 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
19
20
|
import * as operations from "../models/operations/index.js";
|
|
20
21
|
import { unwrapAsync } from "../types/fp.js";
|
|
21
22
|
import { CeStorefrontUser } from "./cestorefrontuser.js";
|
|
23
|
+
import { CeStorefrontUsers } from "./cestorefrontusers.js";
|
|
22
24
|
|
|
23
25
|
export class Auth extends ClientSDK {
|
|
26
|
+
private _users?: CeStorefrontUsers;
|
|
27
|
+
get users(): CeStorefrontUsers {
|
|
28
|
+
return (this._users ??= new CeStorefrontUsers(this._options));
|
|
29
|
+
}
|
|
30
|
+
|
|
24
31
|
private _user?: CeStorefrontUser;
|
|
25
32
|
get user(): CeStorefrontUser {
|
|
26
33
|
return (this._user ??= new CeStorefrontUser(this._options));
|
|
@@ -234,6 +241,21 @@ export class Auth extends ClientSDK {
|
|
|
234
241
|
));
|
|
235
242
|
}
|
|
236
243
|
|
|
244
|
+
/**
|
|
245
|
+
* Logout user
|
|
246
|
+
*
|
|
247
|
+
* @remarks
|
|
248
|
+
* The Logout User API initiate the logout process for a user. Upon a successful request, the API responds with a confirmation message. If the user is not found or there's an issue with the request, an error response is returned with an appropriate message.
|
|
249
|
+
*/
|
|
250
|
+
async logout(
|
|
251
|
+
options?: RequestOptions,
|
|
252
|
+
): Promise<operations.PostAuthLogoutResponseBody> {
|
|
253
|
+
return unwrapAsync(authLogout(
|
|
254
|
+
this,
|
|
255
|
+
options,
|
|
256
|
+
));
|
|
257
|
+
}
|
|
258
|
+
|
|
237
259
|
/**
|
|
238
260
|
* Check verified email phone
|
|
239
261
|
*
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { authUserForgotPassword } from "../funcs/authUserForgotPassword.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class AuthUser extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Forgot password
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* The Forgot Password API provides a secure mechanism for users to initiate the password recovery process. This API provides one-time password (OTP) token, which facilitas the resetting of user’s account password.
|
|
16
|
+
*/
|
|
17
|
+
async forgotPassword(
|
|
18
|
+
request: operations.PostAuthForgotPasswordRequestBody,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<operations.PostAuthForgotPasswordResponseBody> {
|
|
21
|
+
return unwrapAsync(authUserForgotPassword(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { paymentsCardsList } from "../funcs/paymentsCardsList.js";
|
|
6
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
7
|
import * as operations from "../models/operations/index.js";
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
|
|
10
|
-
export class
|
|
10
|
+
export class Cards extends ClientSDK {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* List all saved cards
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* List all saved cards.
|
|
16
16
|
*/
|
|
17
17
|
async list(
|
|
18
|
-
request: operations.
|
|
18
|
+
request: operations.GetPaymentsCardsRequest,
|
|
19
19
|
options?: RequestOptions,
|
|
20
|
-
): Promise<operations.
|
|
21
|
-
return unwrapAsync(
|
|
20
|
+
): Promise<operations.GetPaymentsCardsResponseBody> {
|
|
21
|
+
return unwrapAsync(paymentsCardsList(
|
|
22
22
|
this,
|
|
23
23
|
request,
|
|
24
24
|
options,
|
package/src/sdk/catalog.ts
CHANGED
|
@@ -4,18 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
6
|
import { Categories } from "./categories.js";
|
|
7
|
-
import {
|
|
8
|
-
import { Skus } from "./skus.js";
|
|
7
|
+
import { CeStorefrontProducts } from "./cestorefrontproducts.js";
|
|
9
8
|
|
|
10
9
|
export class Catalog extends ClientSDK {
|
|
11
|
-
private _products?:
|
|
12
|
-
get products():
|
|
13
|
-
return (this._products ??= new
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
private _skus?: Skus;
|
|
17
|
-
get skus(): Skus {
|
|
18
|
-
return (this._skus ??= new Skus(this._options));
|
|
10
|
+
private _products?: CeStorefrontProducts;
|
|
11
|
+
get products(): CeStorefrontProducts {
|
|
12
|
+
return (this._products ??= new CeStorefrontProducts(this._options));
|
|
19
13
|
}
|
|
20
14
|
|
|
21
15
|
private _categories?: Categories;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { catalogProductReviewsCreate } from "../funcs/catalogProductReviewsCreate.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class CatalogProductReviews extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Create product review
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Create a product review
|
|
16
|
+
*/
|
|
17
|
+
async create(
|
|
18
|
+
request: operations.PostProductsIdReviewsRequest,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<operations.PostProductsIdReviewsResponseBody> {
|
|
21
|
+
return unwrapAsync(catalogProductReviewsCreate(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { catalogProductsGet } from "../funcs/catalogProductsGet.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class CatalogProducts extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve a product detail
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Commerce Engine will return the corresponding product information.
|
|
16
|
+
*/
|
|
17
|
+
async get(
|
|
18
|
+
request: operations.GetProductDetailsRequest,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<operations.GetProductDetailsResponseBody> {
|
|
21
|
+
return unwrapAsync(catalogProductsGet(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -7,7 +7,7 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
7
7
|
import * as operations from "../models/operations/index.js";
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
|
|
10
|
-
export class
|
|
10
|
+
export class CatalogSkus extends ClientSDK {
|
|
11
11
|
/**
|
|
12
12
|
* List all SKUs
|
|
13
13
|
*
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { customersAddressesDelete } from "../funcs/customersAddressesDelete.js";
|
|
6
|
+
import { customersAddressesList } from "../funcs/customersAddressesList.js";
|
|
7
|
+
import { customersAddressesUpdate } from "../funcs/customersAddressesUpdate.js";
|
|
8
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
11
|
+
|
|
12
|
+
export class CeStorefrontAddresses extends ClientSDK {
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve all addresses
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* Retrieve billing and shipping address of particular customer
|
|
18
|
+
*/
|
|
19
|
+
async list(
|
|
20
|
+
request: operations.GetAddressRequest,
|
|
21
|
+
options?: RequestOptions,
|
|
22
|
+
): Promise<operations.GetAddressResponseBody> {
|
|
23
|
+
return unwrapAsync(customersAddressesList(
|
|
24
|
+
this,
|
|
25
|
+
request,
|
|
26
|
+
options,
|
|
27
|
+
));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Update particular address
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Update address
|
|
35
|
+
*/
|
|
36
|
+
async update(
|
|
37
|
+
request: operations.PutCustomerAddressIdRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): Promise<operations.PutCustomerAddressIdResponseBody> {
|
|
40
|
+
return unwrapAsync(customersAddressesUpdate(
|
|
41
|
+
this,
|
|
42
|
+
request,
|
|
43
|
+
options,
|
|
44
|
+
));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Remove particular address
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Delete address
|
|
52
|
+
*/
|
|
53
|
+
async delete(
|
|
54
|
+
request: operations.DeleteCustomerAddressIdRequest,
|
|
55
|
+
options?: RequestOptions,
|
|
56
|
+
): Promise<operations.DeleteCustomerAddressIdResponseBody> {
|
|
57
|
+
return unwrapAsync(customersAddressesDelete(
|
|
58
|
+
this,
|
|
59
|
+
request,
|
|
60
|
+
options,
|
|
61
|
+
));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
6
|
+
import { Reviews } from "./reviews.js";
|
|
7
|
+
import { Variants } from "./variants.js";
|
|
8
|
+
|
|
9
|
+
export class CeStorefrontProducts extends ClientSDK {
|
|
10
|
+
private _variants?: Variants;
|
|
11
|
+
get variants(): Variants {
|
|
12
|
+
return (this._variants ??= new Variants(this._options));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
private _reviews?: Reviews;
|
|
16
|
+
get reviews(): Reviews {
|
|
17
|
+
return (this._reviews ??= new Reviews(this._options));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -2,121 +2,18 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { authUserAddProfileImage } from "../funcs/authUserAddProfileImage.js";
|
|
6
5
|
import { authUserChangePassword } from "../funcs/authUserChangePassword.js";
|
|
7
|
-
import {
|
|
8
|
-
import { authUserDeleteProfileImage } from "../funcs/authUserDeleteProfileImage.js";
|
|
9
|
-
import { authUserForgotPassword } from "../funcs/authUserForgotPassword.js";
|
|
10
|
-
import { authUserGet } from "../funcs/authUserGet.js";
|
|
11
|
-
import { authUserGetProfileImage } from "../funcs/authUserGetProfileImage.js";
|
|
12
|
-
import { authUserLogout } from "../funcs/authUserLogout.js";
|
|
13
|
-
import { authUserResetPassword } from "../funcs/authUserResetPassword.js";
|
|
14
|
-
import { authUserUpdate } from "../funcs/authUserUpdate.js";
|
|
15
|
-
import { authUserUpdateProfileImage } from "../funcs/authUserUpdateProfileImage.js";
|
|
6
|
+
import { authUserDeactivate } from "../funcs/authUserDeactivate.js";
|
|
16
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
17
8
|
import * as operations from "../models/operations/index.js";
|
|
18
9
|
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
+
import { NotificationPreferences } from "./notificationpreferences.js";
|
|
19
11
|
|
|
20
12
|
export class CeStorefrontUser extends ClientSDK {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
* The Retrieve User API is designed to facilitate the retrieval of comprehensive user information from the system. A required parameter is a user-id of the user whose information needs to be retrieved.
|
|
26
|
-
*/
|
|
27
|
-
async get(
|
|
28
|
-
request: operations.GetAuthUserIdRequest,
|
|
29
|
-
options?: RequestOptions,
|
|
30
|
-
): Promise<operations.GetAuthUserIdResponseBody> {
|
|
31
|
-
return unwrapAsync(authUserGet(
|
|
32
|
-
this,
|
|
33
|
-
request,
|
|
34
|
-
options,
|
|
35
|
-
));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Update a user
|
|
40
|
-
*
|
|
41
|
-
* @remarks
|
|
42
|
-
* The Update User API helps to efficiently modify and enhance user information within the system, ensuring that user profiles remain accurate and up-to-date. This API provides a secure and flexible mechanism for updating specific details while maintaining adherence to established conventions.
|
|
43
|
-
*/
|
|
44
|
-
async update(
|
|
45
|
-
request: operations.PutAuthUserIdRequest,
|
|
46
|
-
options?: RequestOptions,
|
|
47
|
-
): Promise<operations.PutAuthUserIdResponseBody> {
|
|
48
|
-
return unwrapAsync(authUserUpdate(
|
|
49
|
-
this,
|
|
50
|
-
request,
|
|
51
|
-
options,
|
|
52
|
-
));
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Add profile image
|
|
57
|
-
*
|
|
58
|
-
* @remarks
|
|
59
|
-
* The Profile Image API streamlines the process of uploading profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
|
|
60
|
-
*/
|
|
61
|
-
async addProfileImage(
|
|
62
|
-
request: operations.PostAuthUserIdProfileImageRequest,
|
|
63
|
-
options?: RequestOptions,
|
|
64
|
-
): Promise<operations.PostAuthUserIdProfileImageResponseBody> {
|
|
65
|
-
return unwrapAsync(authUserAddProfileImage(
|
|
66
|
-
this,
|
|
67
|
-
request,
|
|
68
|
-
options,
|
|
69
|
-
));
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Update profile image
|
|
74
|
-
*
|
|
75
|
-
* @remarks
|
|
76
|
-
* The Profile Image API streamlines the process of updating profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
|
|
77
|
-
*/
|
|
78
|
-
async updateProfileImage(
|
|
79
|
-
request: operations.PutAuthUserIdProfileImageRequest,
|
|
80
|
-
options?: RequestOptions,
|
|
81
|
-
): Promise<operations.PutAuthUserIdProfileImageResponseBody> {
|
|
82
|
-
return unwrapAsync(authUserUpdateProfileImage(
|
|
83
|
-
this,
|
|
84
|
-
request,
|
|
85
|
-
options,
|
|
86
|
-
));
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Delete profile image
|
|
91
|
-
*
|
|
92
|
-
* @remarks
|
|
93
|
-
* Delete profile image API streamlines the process of removing profile images associating with user accounts. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution.
|
|
94
|
-
*/
|
|
95
|
-
async deleteProfileImage(
|
|
96
|
-
request: operations.DeleteAuthUserIdProfileImageRequest,
|
|
97
|
-
options?: RequestOptions,
|
|
98
|
-
): Promise<operations.DeleteAuthUserIdProfileImageResponseBody> {
|
|
99
|
-
return unwrapAsync(authUserDeleteProfileImage(
|
|
100
|
-
this,
|
|
101
|
-
request,
|
|
102
|
-
options,
|
|
103
|
-
));
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Retrieve a profile image
|
|
108
|
-
*
|
|
109
|
-
* @remarks
|
|
110
|
-
* Retrieve user profile image API streamlines the process of retriving profile images associating with user accounts. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution.
|
|
111
|
-
*/
|
|
112
|
-
async getProfileImage(
|
|
113
|
-
request: operations.GetAuthUserIdProfileImageRequest,
|
|
114
|
-
options?: RequestOptions,
|
|
115
|
-
): Promise<operations.GetAuthUserIdProfileImageResponseBody> {
|
|
116
|
-
return unwrapAsync(authUserGetProfileImage(
|
|
117
|
-
this,
|
|
118
|
-
request,
|
|
119
|
-
options,
|
|
13
|
+
private _notificationPreferences?: NotificationPreferences;
|
|
14
|
+
get notificationPreferences(): NotificationPreferences {
|
|
15
|
+
return (this._notificationPreferences ??= new NotificationPreferences(
|
|
16
|
+
this._options,
|
|
120
17
|
));
|
|
121
18
|
}
|
|
122
19
|
|
|
@@ -126,11 +23,11 @@ export class CeStorefrontUser extends ClientSDK {
|
|
|
126
23
|
* @remarks
|
|
127
24
|
* The Deactivate Account API providing users with a straightforward method to deactivate their accounts. Upon successful deactivation, the API responds with a confirmation message. Error responses are detailed, aiding developers in addressing issues promptly.
|
|
128
25
|
*/
|
|
129
|
-
async
|
|
26
|
+
async deactivate(
|
|
130
27
|
request: operations.PutAuthUserIdDeactivateRequest,
|
|
131
28
|
options?: RequestOptions,
|
|
132
29
|
): Promise<operations.PutAuthUserIdDeactivateResponseBody> {
|
|
133
|
-
return unwrapAsync(
|
|
30
|
+
return unwrapAsync(authUserDeactivate(
|
|
134
31
|
this,
|
|
135
32
|
request,
|
|
136
33
|
options,
|
|
@@ -153,53 +50,4 @@ export class CeStorefrontUser extends ClientSDK {
|
|
|
153
50
|
options,
|
|
154
51
|
));
|
|
155
52
|
}
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Forgot password
|
|
159
|
-
*
|
|
160
|
-
* @remarks
|
|
161
|
-
* The Forgot Password API provides a secure mechanism for users to initiate the password recovery process. This API provides one-time password (OTP) token, which facilitas the resetting of user’s account password.
|
|
162
|
-
*/
|
|
163
|
-
async forgotPassword(
|
|
164
|
-
request: operations.PostAuthForgotPasswordRequestBody,
|
|
165
|
-
options?: RequestOptions,
|
|
166
|
-
): Promise<operations.PostAuthForgotPasswordResponseBody> {
|
|
167
|
-
return unwrapAsync(authUserForgotPassword(
|
|
168
|
-
this,
|
|
169
|
-
request,
|
|
170
|
-
options,
|
|
171
|
-
));
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Reset password
|
|
176
|
-
*
|
|
177
|
-
* @remarks
|
|
178
|
-
* Reset password
|
|
179
|
-
*/
|
|
180
|
-
async resetPassword(
|
|
181
|
-
request: operations.PostAuthResetPasswordRequestBody,
|
|
182
|
-
options?: RequestOptions,
|
|
183
|
-
): Promise<operations.PostAuthResetPasswordResponseBody> {
|
|
184
|
-
return unwrapAsync(authUserResetPassword(
|
|
185
|
-
this,
|
|
186
|
-
request,
|
|
187
|
-
options,
|
|
188
|
-
));
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Logout user
|
|
193
|
-
*
|
|
194
|
-
* @remarks
|
|
195
|
-
* The Logout User API initiate the logout process for a user. Upon a successful request, the API responds with a confirmation message. If the user is not found or there's an issue with the request, an error response is returned with an appropriate message.
|
|
196
|
-
*/
|
|
197
|
-
async logout(
|
|
198
|
-
options?: RequestOptions,
|
|
199
|
-
): Promise<operations.PostAuthLogoutResponseBody> {
|
|
200
|
-
return unwrapAsync(authUserLogout(
|
|
201
|
-
this,
|
|
202
|
-
options,
|
|
203
|
-
));
|
|
204
|
-
}
|
|
205
53
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { authUsersAddProfileImage } from "../funcs/authUsersAddProfileImage.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class CeStorefrontUsers extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Add profile image
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* The Profile Image API streamlines the process of uploading profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
|
|
16
|
+
*/
|
|
17
|
+
async addProfileImage(
|
|
18
|
+
request: operations.PostAuthUserIdProfileImageRequest,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<operations.PostAuthUserIdProfileImageResponseBody> {
|
|
21
|
+
return unwrapAsync(authUsersAddProfileImage(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { utilsCountriesGet } from "../funcs/utilsCountriesGet.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class Countries extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve all countries
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Retrieve all countries
|
|
16
|
+
*/
|
|
17
|
+
async get(
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): Promise<operations.GetCommonCountriesResponseBody> {
|
|
20
|
+
return unwrapAsync(utilsCountriesGet(
|
|
21
|
+
this,
|
|
22
|
+
options,
|
|
23
|
+
));
|
|
24
|
+
}
|
|
25
|
+
}
|
package/src/sdk/customers.ts
CHANGED
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { customersAddAddress } from "../funcs/customersAddAddress.js";
|
|
6
|
+
import { customersCreate } from "../funcs/customersCreate.js";
|
|
7
|
+
import { customersGet } from "../funcs/customersGet.js";
|
|
8
|
+
import { customersGetReviews } from "../funcs/customersGetReviews.js";
|
|
9
|
+
import { customersUpdate } from "../funcs/customersUpdate.js";
|
|
8
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
11
|
import * as components from "../models/components/index.js";
|
|
10
12
|
import * as operations from "../models/operations/index.js";
|
|
11
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
-
import {
|
|
14
|
+
import { CeStorefrontAddresses } from "./cestorefrontaddresses.js";
|
|
13
15
|
import { Loyalty } from "./loyalty.js";
|
|
14
|
-
import { Reviews } from "./reviews.js";
|
|
15
16
|
|
|
16
17
|
export class Customers extends ClientSDK {
|
|
17
|
-
private _addresses?:
|
|
18
|
-
get addresses():
|
|
19
|
-
return (this._addresses ??= new
|
|
18
|
+
private _addresses?: CeStorefrontAddresses;
|
|
19
|
+
get addresses(): CeStorefrontAddresses {
|
|
20
|
+
return (this._addresses ??= new CeStorefrontAddresses(this._options));
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
private _loyalty?: Loyalty;
|
|
@@ -24,22 +25,17 @@ export class Customers extends ClientSDK {
|
|
|
24
25
|
return (this._loyalty ??= new Loyalty(this._options));
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
private _reviews?: Reviews;
|
|
28
|
-
get reviews(): Reviews {
|
|
29
|
-
return (this._reviews ??= new Reviews(this._options));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
28
|
/**
|
|
33
29
|
* Create customer
|
|
34
30
|
*
|
|
35
31
|
* @remarks
|
|
36
32
|
* Create customer
|
|
37
33
|
*/
|
|
38
|
-
async
|
|
34
|
+
async create(
|
|
39
35
|
request: components.CreateCustomer,
|
|
40
36
|
options?: RequestOptions,
|
|
41
37
|
): Promise<operations.PostCustomersResponseBody> {
|
|
42
|
-
return unwrapAsync(
|
|
38
|
+
return unwrapAsync(customersCreate(
|
|
43
39
|
this,
|
|
44
40
|
request,
|
|
45
41
|
options,
|
|
@@ -52,11 +48,11 @@ export class Customers extends ClientSDK {
|
|
|
52
48
|
* @remarks
|
|
53
49
|
* Retrieve customer detail.
|
|
54
50
|
*/
|
|
55
|
-
async
|
|
51
|
+
async get(
|
|
56
52
|
request: operations.GetCustomersIdRequest,
|
|
57
53
|
options?: RequestOptions,
|
|
58
54
|
): Promise<operations.GetCustomersIdResponseBody> {
|
|
59
|
-
return unwrapAsync(
|
|
55
|
+
return unwrapAsync(customersGet(
|
|
60
56
|
this,
|
|
61
57
|
request,
|
|
62
58
|
options,
|
|
@@ -69,11 +65,45 @@ export class Customers extends ClientSDK {
|
|
|
69
65
|
* @remarks
|
|
70
66
|
* Update customer detail
|
|
71
67
|
*/
|
|
72
|
-
async
|
|
68
|
+
async update(
|
|
73
69
|
request: operations.PutCustomersIdRequest,
|
|
74
70
|
options?: RequestOptions,
|
|
75
71
|
): Promise<operations.PutCustomersIdResponseBody> {
|
|
76
|
-
return unwrapAsync(
|
|
72
|
+
return unwrapAsync(customersUpdate(
|
|
73
|
+
this,
|
|
74
|
+
request,
|
|
75
|
+
options,
|
|
76
|
+
));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Add address
|
|
81
|
+
*
|
|
82
|
+
* @remarks
|
|
83
|
+
* Add new address
|
|
84
|
+
*/
|
|
85
|
+
async addAddress(
|
|
86
|
+
request: operations.PostAddressRequest,
|
|
87
|
+
options?: RequestOptions,
|
|
88
|
+
): Promise<operations.PostAddressResponseBody> {
|
|
89
|
+
return unwrapAsync(customersAddAddress(
|
|
90
|
+
this,
|
|
91
|
+
request,
|
|
92
|
+
options,
|
|
93
|
+
));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Retrieve all reviews
|
|
98
|
+
*
|
|
99
|
+
* @remarks
|
|
100
|
+
* Retrieve all reviews
|
|
101
|
+
*/
|
|
102
|
+
async getReviews(
|
|
103
|
+
request: operations.GetCustomersUserIdReviewsRequest,
|
|
104
|
+
options?: RequestOptions,
|
|
105
|
+
): Promise<operations.GetCustomersUserIdReviewsResponseBody> {
|
|
106
|
+
return unwrapAsync(customersGetReviews(
|
|
77
107
|
this,
|
|
78
108
|
request,
|
|
79
109
|
options,
|