ce-storefront 0.3.11 → 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 -735
- 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/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/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/esm/sdk/utils.js
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import { utilsGetCountries } from "../funcs/utilsGetCountries.js";
|
|
5
4
|
import { utilsGetPincodes } from "../funcs/utilsGetPincodes.js";
|
|
6
5
|
import { utilsGetStates } from "../funcs/utilsGetStates.js";
|
|
7
6
|
import { ClientSDK } from "../lib/sdks.js";
|
|
8
7
|
import { unwrapAsync } from "../types/fp.js";
|
|
8
|
+
import { Countries } from "./countries.js";
|
|
9
9
|
export class Utils extends ClientSDK {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* Retrieve all countries
|
|
15
|
-
*/
|
|
16
|
-
async getCountries(options) {
|
|
17
|
-
return unwrapAsync(utilsGetCountries(this, options));
|
|
10
|
+
get countries() {
|
|
11
|
+
return (this._countries ?? (this._countries = new Countries(this._options)));
|
|
18
12
|
}
|
|
19
13
|
/**
|
|
20
14
|
* Retrieve country wise states
|
package/esm/sdk/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/sdk/utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/sdk/utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,OAAO,KAAM,SAAQ,SAAS;IAElC,IAAI,SAAS;QACX,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACb,OAA0D,EAC1D,OAAwB;QAExB,OAAO,WAAW,CAAC,cAAc,CAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAmE,EACnE,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/wishlist.d.ts
CHANGED
|
@@ -21,6 +21,6 @@ export declare class Wishlist extends ClientSDK {
|
|
|
21
21
|
* @remarks
|
|
22
22
|
* Remove product from wishlist
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
removeItem(request: operations.DeleteWishlistRequest, options?: RequestOptions): Promise<operations.DeleteWishlistResponseBody>;
|
|
25
25
|
}
|
|
26
26
|
//# sourceMappingURL=wishlist.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wishlist.d.ts","sourceRoot":"","sources":["../../src/sdk/wishlist.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,
|
|
1
|
+
{"version":3,"file":"wishlist.d.ts","sourceRoot":"","sources":["../../src/sdk/wishlist.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
|
package/esm/sdk/wishlist.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import { wishlistAdd } from "../funcs/wishlistAdd.js";
|
|
5
|
-
import { wishlistDelete } from "../funcs/wishlistDelete.js";
|
|
6
5
|
import { wishlistGet } from "../funcs/wishlistGet.js";
|
|
6
|
+
import { wishlistRemoveItem } from "../funcs/wishlistRemoveItem.js";
|
|
7
7
|
import { ClientSDK } from "../lib/sdks.js";
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
export class Wishlist extends ClientSDK {
|
|
@@ -31,8 +31,8 @@ export class Wishlist extends ClientSDK {
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Remove product from wishlist
|
|
33
33
|
*/
|
|
34
|
-
async
|
|
35
|
-
return unwrapAsync(
|
|
34
|
+
async removeItem(request, options) {
|
|
35
|
+
return unwrapAsync(wishlistRemoveItem(this, request, options));
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
//# sourceMappingURL=wishlist.js.map
|
package/esm/sdk/wishlist.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wishlist.js","sourceRoot":"","sources":["../../src/sdk/wishlist.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"wishlist.js","sourceRoot":"","sources":["../../src/sdk/wishlist.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAuC,EACvC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAwC,EACxC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,kBAAkB,CACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieve address
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function addressesGet(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetCustomerAddressIdRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -26,7 +26,7 @@ import { Result } from "../types/fp.js";
|
|
|
26
26
|
* @remarks
|
|
27
27
|
* 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.
|
|
28
28
|
*/
|
|
29
|
-
export async function
|
|
29
|
+
export async function authLogout(
|
|
30
30
|
client: CeStorefrontCore,
|
|
31
31
|
options?: RequestOptions,
|
|
32
32
|
): Promise<
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* 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.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function authUserDeactivate(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.PutAuthUserIdDeactivateRequest,
|
|
34
34
|
options?: RequestOptions,
|
package/src/funcs/{userNotificationPreferencesGet.ts → authUserNotificationPreferencesGet.ts}
RENAMED
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function authUserNotificationPreferencesGet(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetAuthUserIdNotificationPreferencesRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -31,7 +31,7 @@ import { isReadableStream } from "../types/streams.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* 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.
|
|
33
33
|
*/
|
|
34
|
-
export async function
|
|
34
|
+
export async function authUsersAddProfileImage(
|
|
35
35
|
client: CeStorefrontCore,
|
|
36
36
|
request: operations.PostAuthUserIdProfileImageRequest,
|
|
37
37
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Create a product review
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function catalogProductReviewsCreate(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.PostProductsIdReviewsRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Add new address
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function customersAddAddress(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.PostAddressRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Create customer
|
|
32
32
|
*/
|
|
33
|
-
export async function
|
|
33
|
+
export async function customersCreate(
|
|
34
34
|
client: CeStorefrontCore,
|
|
35
35
|
request: components.CreateCustomer,
|
|
36
36
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Retrieve customer detail.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function customersGet(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetCustomersIdRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Retrieve all reviews
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function customersGetReviews(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetCustomersUserIdReviewsRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Update customer detail
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function customersUpdate(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.PutCustomersIdRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Create customer in juspay.
|
|
32
32
|
*/
|
|
33
|
-
export async function
|
|
33
|
+
export async function juspayCreateCustomer(
|
|
34
34
|
client: CeStorefrontCore,
|
|
35
35
|
request: components.JuspayCreateCustomerPayload,
|
|
36
36
|
options?: RequestOptions,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Creates an order in the Juspay system and fetches the corresponding client_auth_token.
|
|
32
32
|
* To be used for Express Checkout integration.
|
|
33
33
|
*/
|
|
34
|
-
export async function
|
|
34
|
+
export async function juspayCreateOrder(
|
|
35
35
|
client: CeStorefrontCore,
|
|
36
36
|
request: components.JuspayCreateOrderPayload,
|
|
37
37
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieve customer from juspay.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function juspayGetCustomer(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetPaymentsJuspayCustomerRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* List all loyalty points activity
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function loyaltyPointsListActivities(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetLoyaltyPointActivityRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Retrieve payment status of a paricular order.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function ordersGetPaymentStatus(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetOrdersIdPaymentStatusRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieve order refunds
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function ordersGetRefunds(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetOrdersIdRefundsRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieve order shipments
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function ordersGetShipments(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetOrdersIdShipmentsRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Add a new card
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function paymentsAddCard(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.PostPaymentsCardsRequestBody,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* List all saved cards.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function paymentsCardsList(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetPaymentsCardsRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* List all payment methods
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function paymentsListMethods(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetPaymentMethodsRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* The Virtual Payment Address or VPA is a unique ID given to an individual using the Unified Payment Interface (UPI) service to send or receive money. In the case of UPI collect VPA is the mandatory param and merchants are always advised to check if the VPA is valid or not.
|
|
30
30
|
* Validating the VPA will help in reducing the failure rate due to incorrect vpa.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function paymentsVerifyVpa(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetPaymentsVerifyVpaRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieves a list of products similar to a specified product based on their attributes and category. The similar products are returned sorted by relevance, with the most closely matching products appearing first. Useful for providing product recommendations to your customers.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function productsGetSimilar(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetSimilarRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function productsGetUpsells(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetUpSellRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function productsList(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetProductsRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function productsListCrossSells(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetCrossSellRequest,
|
|
35
35
|
options?: RequestOptions,
|
package/src/funcs/{shippingCheckPincodeServiceability.ts → shipmentCheckPincodeServiceability.ts}
RENAMED
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Check shipment delivery availability in an area by pincode
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function shipmentCheckPincodeServiceability(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.GetShipmentPincodeServiceabilityRequest,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* 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.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function userDeleteProfileImage(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.DeleteAuthUserIdProfileImageRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Reset password
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function userResetPassword(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.PostAuthResetPasswordRequestBody,
|
|
35
35
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* 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.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function userUpdate(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.PutAuthUserIdRequest,
|
|
34
34
|
options?: RequestOptions,
|
package/src/funcs/{userNotificationPreferencesUpdate.ts → userUpdateNotificationPreferences.ts}
RENAMED
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function userUpdateNotificationPreferences(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.PutAuthUserIdNotificationPreferencesRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -31,7 +31,7 @@ import { isReadableStream } from "../types/streams.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* 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.
|
|
33
33
|
*/
|
|
34
|
-
export async function
|
|
34
|
+
export async function userUpdateProfileImage(
|
|
35
35
|
client: CeStorefrontCore,
|
|
36
36
|
request: operations.PutAuthUserIdProfileImageRequest,
|
|
37
37
|
options?: RequestOptions,
|
package/src/funcs/{userNotificationPreferencesCreate.ts → usersCreateNotificationPreferences.ts}
RENAMED
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function usersCreateNotificationPreferences(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.PostAuthUserIdNotificationPreferencesRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* 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.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function usersGet(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetAuthUserIdRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* 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.
|
|
30
30
|
*/
|
|
31
|
-
export async function
|
|
31
|
+
export async function usersGetProfileImage(
|
|
32
32
|
client: CeStorefrontCore,
|
|
33
33
|
request: operations.GetAuthUserIdProfileImageRequest,
|
|
34
34
|
options?: RequestOptions,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Remove product from wishlist
|
|
31
31
|
*/
|
|
32
|
-
export async function
|
|
32
|
+
export async function wishlistRemoveItem(
|
|
33
33
|
client: CeStorefrontCore,
|
|
34
34
|
request: operations.DeleteWishlistRequest,
|
|
35
35
|
options?: RequestOptions,
|
package/src/lib/config.ts
CHANGED
|
@@ -74,7 +74,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
74
74
|
export const SDK_METADATA = {
|
|
75
75
|
language: "typescript",
|
|
76
76
|
openapiDocVersion: "1.0",
|
|
77
|
-
sdkVersion: "0.3.
|
|
77
|
+
sdkVersion: "0.3.17",
|
|
78
78
|
genVersion: "2.495.1",
|
|
79
|
-
userAgent: "speakeasy-sdk/typescript 0.3.
|
|
79
|
+
userAgent: "speakeasy-sdk/typescript 0.3.17 2.495.1 1.0 ce-storefront",
|
|
80
80
|
} as const;
|
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,
|
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
|
*
|