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/src/sdk/loyalty.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { customersLoyaltyGet } from "../funcs/customersLoyaltyGet.js";
|
|
6
|
-
import { customersLoyaltyListActivities } from "../funcs/customersLoyaltyListActivities.js";
|
|
7
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
7
|
import * as operations from "../models/operations/index.js";
|
|
9
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -25,21 +24,4 @@ export class Loyalty extends ClientSDK {
|
|
|
25
24
|
options,
|
|
26
25
|
));
|
|
27
26
|
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* List all loyalty points activity
|
|
31
|
-
*
|
|
32
|
-
* @remarks
|
|
33
|
-
* List all loyalty points activity
|
|
34
|
-
*/
|
|
35
|
-
async listActivities(
|
|
36
|
-
request: operations.GetLoyaltyPointActivityRequest,
|
|
37
|
-
options?: RequestOptions,
|
|
38
|
-
): Promise<operations.GetLoyaltyPointActivityResponseBody> {
|
|
39
|
-
return unwrapAsync(customersLoyaltyListActivities(
|
|
40
|
-
this,
|
|
41
|
-
request,
|
|
42
|
-
options,
|
|
43
|
-
));
|
|
44
|
-
}
|
|
45
27
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { loyaltyPointsListActivities } from "../funcs/loyaltyPointsListActivities.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 LoyaltyPoints extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* List all loyalty points activity
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* List all loyalty points activity
|
|
16
|
+
*/
|
|
17
|
+
async listActivities(
|
|
18
|
+
request: operations.GetLoyaltyPointActivityRequest,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<operations.GetLoyaltyPointActivityResponseBody> {
|
|
21
|
+
return unwrapAsync(loyaltyPointsListActivities(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import { userNotificationPreferencesGet } from "../funcs/userNotificationPreferencesGet.js";
|
|
7
|
-
import { userNotificationPreferencesUpdate } from "../funcs/userNotificationPreferencesUpdate.js";
|
|
5
|
+
import { authUserNotificationPreferencesGet } from "../funcs/authUserNotificationPreferencesGet.js";
|
|
8
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
7
|
import * as operations from "../models/operations/index.js";
|
|
10
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -20,41 +18,7 @@ export class NotificationPreferences extends ClientSDK {
|
|
|
20
18
|
request: operations.GetAuthUserIdNotificationPreferencesRequest,
|
|
21
19
|
options?: RequestOptions,
|
|
22
20
|
): Promise<operations.GetAuthUserIdNotificationPreferencesResponseBody> {
|
|
23
|
-
return unwrapAsync(
|
|
24
|
-
this,
|
|
25
|
-
request,
|
|
26
|
-
options,
|
|
27
|
-
));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Create user notification preferences
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
|
|
35
|
-
*/
|
|
36
|
-
async create(
|
|
37
|
-
request: operations.PostAuthUserIdNotificationPreferencesRequest,
|
|
38
|
-
options?: RequestOptions,
|
|
39
|
-
): Promise<operations.PostAuthUserIdNotificationPreferencesResponseBody> {
|
|
40
|
-
return unwrapAsync(userNotificationPreferencesCreate(
|
|
41
|
-
this,
|
|
42
|
-
request,
|
|
43
|
-
options,
|
|
44
|
-
));
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Update user notification preferences
|
|
49
|
-
*
|
|
50
|
-
* @remarks
|
|
51
|
-
* Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
|
|
52
|
-
*/
|
|
53
|
-
async update(
|
|
54
|
-
request: operations.PutAuthUserIdNotificationPreferencesRequest,
|
|
55
|
-
options?: RequestOptions,
|
|
56
|
-
): Promise<operations.PutAuthUserIdNotificationPreferencesResponseBody> {
|
|
57
|
-
return unwrapAsync(userNotificationPreferencesUpdate(
|
|
21
|
+
return unwrapAsync(authUserNotificationPreferencesGet(
|
|
58
22
|
this,
|
|
59
23
|
request,
|
|
60
24
|
options,
|
package/src/sdk/orders.ts
CHANGED
|
@@ -5,27 +5,17 @@
|
|
|
5
5
|
import { ordersCancel } from "../funcs/ordersCancel.js";
|
|
6
6
|
import { ordersCreate } from "../funcs/ordersCreate.js";
|
|
7
7
|
import { ordersGet } from "../funcs/ordersGet.js";
|
|
8
|
-
import {
|
|
8
|
+
import { ordersGetPaymentStatus } from "../funcs/ordersGetPaymentStatus.js";
|
|
9
|
+
import { ordersGetRefunds } from "../funcs/ordersGetRefunds.js";
|
|
10
|
+
import { ordersGetShipments } from "../funcs/ordersGetShipments.js";
|
|
9
11
|
import { ordersList } from "../funcs/ordersList.js";
|
|
10
12
|
import { ordersRetryPayment } from "../funcs/ordersRetryPayment.js";
|
|
11
13
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
12
14
|
import * as operations from "../models/operations/index.js";
|
|
13
15
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
16
|
import { CeStorefrontOrdersPayments } from "./cestorefrontorderspayments.js";
|
|
15
|
-
import { Refunds } from "./refunds.js";
|
|
16
|
-
import { Shipments } from "./shipments.js";
|
|
17
17
|
|
|
18
18
|
export class Orders extends ClientSDK {
|
|
19
|
-
private _shipments?: Shipments;
|
|
20
|
-
get shipments(): Shipments {
|
|
21
|
-
return (this._shipments ??= new Shipments(this._options));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
private _refunds?: Refunds;
|
|
25
|
-
get refunds(): Refunds {
|
|
26
|
-
return (this._refunds ??= new Refunds(this._options));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
19
|
private _payments?: CeStorefrontOrdersPayments;
|
|
30
20
|
get payments(): CeStorefrontOrdersPayments {
|
|
31
21
|
return (this._payments ??= new CeStorefrontOrdersPayments(this._options));
|
|
@@ -82,6 +72,40 @@ export class Orders extends ClientSDK {
|
|
|
82
72
|
));
|
|
83
73
|
}
|
|
84
74
|
|
|
75
|
+
/**
|
|
76
|
+
* Retrieve order shipments
|
|
77
|
+
*
|
|
78
|
+
* @remarks
|
|
79
|
+
* Retrieve order shipments
|
|
80
|
+
*/
|
|
81
|
+
async getShipments(
|
|
82
|
+
request: operations.GetOrdersIdShipmentsRequest,
|
|
83
|
+
options?: RequestOptions,
|
|
84
|
+
): Promise<operations.GetOrdersIdShipmentsResponseBody> {
|
|
85
|
+
return unwrapAsync(ordersGetShipments(
|
|
86
|
+
this,
|
|
87
|
+
request,
|
|
88
|
+
options,
|
|
89
|
+
));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Retrieve order refunds
|
|
94
|
+
*
|
|
95
|
+
* @remarks
|
|
96
|
+
* Retrieve order refunds
|
|
97
|
+
*/
|
|
98
|
+
async getRefunds(
|
|
99
|
+
request: operations.GetOrdersIdRefundsRequest,
|
|
100
|
+
options?: RequestOptions,
|
|
101
|
+
): Promise<operations.GetOrdersIdRefundsResponseBody> {
|
|
102
|
+
return unwrapAsync(ordersGetRefunds(
|
|
103
|
+
this,
|
|
104
|
+
request,
|
|
105
|
+
options,
|
|
106
|
+
));
|
|
107
|
+
}
|
|
108
|
+
|
|
85
109
|
/**
|
|
86
110
|
* Cancel order
|
|
87
111
|
*
|
|
@@ -122,11 +146,11 @@ export class Orders extends ClientSDK {
|
|
|
122
146
|
* @remarks
|
|
123
147
|
* Retrieve payment status of a paricular order.
|
|
124
148
|
*/
|
|
125
|
-
async
|
|
149
|
+
async getPaymentStatus(
|
|
126
150
|
request: operations.GetOrdersIdPaymentStatusRequest,
|
|
127
151
|
options?: RequestOptions,
|
|
128
152
|
): Promise<operations.GetOrdersIdPaymentStatusResponseBody> {
|
|
129
|
-
return unwrapAsync(
|
|
153
|
+
return unwrapAsync(ordersGetPaymentStatus(
|
|
130
154
|
this,
|
|
131
155
|
request,
|
|
132
156
|
options,
|
package/src/sdk/payments.ts
CHANGED
|
@@ -2,16 +2,21 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { paymentsAddCard } from "../funcs/paymentsAddCard.js";
|
|
5
6
|
import { paymentsGenerateHash } from "../funcs/paymentsGenerateHash.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { paymentsGetPaymentsVerifyVpa } from "../funcs/paymentsGetPaymentsVerifyVpa.js";
|
|
9
|
-
import { paymentsPostPaymentsCards } from "../funcs/paymentsPostPaymentsCards.js";
|
|
7
|
+
import { paymentsListMethods } from "../funcs/paymentsListMethods.js";
|
|
8
|
+
import { paymentsVerifyVpa } from "../funcs/paymentsVerifyVpa.js";
|
|
10
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
10
|
import * as operations from "../models/operations/index.js";
|
|
12
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
+
import { Cards } from "./cards.js";
|
|
13
13
|
|
|
14
14
|
export class Payments extends ClientSDK {
|
|
15
|
+
private _cards?: Cards;
|
|
16
|
+
get cards(): Cards {
|
|
17
|
+
return (this._cards ??= new Cards(this._options));
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
/**
|
|
16
21
|
* Generate hash
|
|
17
22
|
*
|
|
@@ -35,28 +40,11 @@ export class Payments extends ClientSDK {
|
|
|
35
40
|
* @remarks
|
|
36
41
|
* List all payment methods
|
|
37
42
|
*/
|
|
38
|
-
async
|
|
43
|
+
async listMethods(
|
|
39
44
|
request: operations.GetPaymentMethodsRequest,
|
|
40
45
|
options?: RequestOptions,
|
|
41
46
|
): Promise<operations.GetPaymentMethodsResponseBody> {
|
|
42
|
-
return unwrapAsync(
|
|
43
|
-
this,
|
|
44
|
-
request,
|
|
45
|
-
options,
|
|
46
|
-
));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* List all saved cards
|
|
51
|
-
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* List all saved cards.
|
|
54
|
-
*/
|
|
55
|
-
async getPaymentsCards(
|
|
56
|
-
request: operations.GetPaymentsCardsRequest,
|
|
57
|
-
options?: RequestOptions,
|
|
58
|
-
): Promise<operations.GetPaymentsCardsResponseBody> {
|
|
59
|
-
return unwrapAsync(paymentsGetPaymentsCards(
|
|
47
|
+
return unwrapAsync(paymentsListMethods(
|
|
60
48
|
this,
|
|
61
49
|
request,
|
|
62
50
|
options,
|
|
@@ -69,11 +57,11 @@ export class Payments extends ClientSDK {
|
|
|
69
57
|
* @remarks
|
|
70
58
|
* Add a new card
|
|
71
59
|
*/
|
|
72
|
-
async
|
|
60
|
+
async addCard(
|
|
73
61
|
request: operations.PostPaymentsCardsRequestBody,
|
|
74
62
|
options?: RequestOptions,
|
|
75
63
|
): Promise<operations.PostPaymentsCardsResponseBody> {
|
|
76
|
-
return unwrapAsync(
|
|
64
|
+
return unwrapAsync(paymentsAddCard(
|
|
77
65
|
this,
|
|
78
66
|
request,
|
|
79
67
|
options,
|
|
@@ -87,11 +75,11 @@ export class Payments extends ClientSDK {
|
|
|
87
75
|
* 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.
|
|
88
76
|
* Validating the VPA will help in reducing the failure rate due to incorrect vpa.
|
|
89
77
|
*/
|
|
90
|
-
async
|
|
78
|
+
async verifyVpa(
|
|
91
79
|
request: operations.GetPaymentsVerifyVpaRequest,
|
|
92
80
|
options?: RequestOptions,
|
|
93
81
|
): Promise<operations.GetPaymentsVerifyVpaResponseBody> {
|
|
94
|
-
return unwrapAsync(
|
|
82
|
+
return unwrapAsync(paymentsVerifyVpa(
|
|
95
83
|
this,
|
|
96
84
|
request,
|
|
97
85
|
options,
|
package/src/sdk/products.ts
CHANGED
|
@@ -2,28 +2,15 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { catalogProductsList } from "../funcs/catalogProductsList.js";
|
|
5
|
+
import { productsGetSimilar } from "../funcs/productsGetSimilar.js";
|
|
6
|
+
import { productsGetUpsells } from "../funcs/productsGetUpsells.js";
|
|
7
|
+
import { productsList } from "../funcs/productsList.js";
|
|
8
|
+
import { productsListCrossSells } from "../funcs/productsListCrossSells.js";
|
|
10
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
10
|
import * as operations from "../models/operations/index.js";
|
|
12
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
-
import { CeStorefrontReviews } from "./cestorefrontreviews.js";
|
|
14
|
-
import { Variants } from "./variants.js";
|
|
15
12
|
|
|
16
13
|
export class Products extends ClientSDK {
|
|
17
|
-
private _variants?: Variants;
|
|
18
|
-
get variants(): Variants {
|
|
19
|
-
return (this._variants ??= new Variants(this._options));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
private _reviews?: CeStorefrontReviews;
|
|
23
|
-
get reviews(): CeStorefrontReviews {
|
|
24
|
-
return (this._reviews ??= new CeStorefrontReviews(this._options));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
14
|
/**
|
|
28
15
|
* List all products
|
|
29
16
|
*
|
|
@@ -34,24 +21,7 @@ export class Products extends ClientSDK {
|
|
|
34
21
|
request: operations.GetProductsRequest,
|
|
35
22
|
options?: RequestOptions,
|
|
36
23
|
): Promise<operations.GetProductsResponseBody> {
|
|
37
|
-
return unwrapAsync(
|
|
38
|
-
this,
|
|
39
|
-
request,
|
|
40
|
-
options,
|
|
41
|
-
));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Retrieve a product detail
|
|
46
|
-
*
|
|
47
|
-
* @remarks
|
|
48
|
-
* 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.
|
|
49
|
-
*/
|
|
50
|
-
async get(
|
|
51
|
-
request: operations.GetProductDetailsRequest,
|
|
52
|
-
options?: RequestOptions,
|
|
53
|
-
): Promise<operations.GetProductDetailsResponseBody> {
|
|
54
|
-
return unwrapAsync(catalogProductsGet(
|
|
24
|
+
return unwrapAsync(productsList(
|
|
55
25
|
this,
|
|
56
26
|
request,
|
|
57
27
|
options,
|
|
@@ -68,7 +38,7 @@ export class Products extends ClientSDK {
|
|
|
68
38
|
request: operations.GetSimilarRequest,
|
|
69
39
|
options?: RequestOptions,
|
|
70
40
|
): Promise<operations.GetSimilarResponseBody> {
|
|
71
|
-
return unwrapAsync(
|
|
41
|
+
return unwrapAsync(productsGetSimilar(
|
|
72
42
|
this,
|
|
73
43
|
request,
|
|
74
44
|
options,
|
|
@@ -85,7 +55,7 @@ export class Products extends ClientSDK {
|
|
|
85
55
|
request: operations.GetUpSellRequest,
|
|
86
56
|
options?: RequestOptions,
|
|
87
57
|
): Promise<operations.GetUpSellResponseBody> {
|
|
88
|
-
return unwrapAsync(
|
|
58
|
+
return unwrapAsync(productsGetUpsells(
|
|
89
59
|
this,
|
|
90
60
|
request,
|
|
91
61
|
options,
|
|
@@ -98,11 +68,11 @@ export class Products extends ClientSDK {
|
|
|
98
68
|
* @remarks
|
|
99
69
|
* Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
100
70
|
*/
|
|
101
|
-
async
|
|
71
|
+
async listCrossSells(
|
|
102
72
|
request: operations.GetCrossSellRequest,
|
|
103
73
|
options?: RequestOptions,
|
|
104
74
|
): Promise<operations.GetCrossSellResponseBody> {
|
|
105
|
-
return unwrapAsync(
|
|
75
|
+
return unwrapAsync(productsListCrossSells(
|
|
106
76
|
this,
|
|
107
77
|
request,
|
|
108
78
|
options,
|
package/src/sdk/reviews.ts
CHANGED
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { catalogProductsReviewsList } from "../funcs/catalogProductsReviewsList.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
10
|
export class Reviews extends ClientSDK {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* List all product reviews
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
16
16
|
*/
|
|
17
17
|
async list(
|
|
18
|
-
request: operations.
|
|
18
|
+
request: operations.GetProductsIdReviewsRequest,
|
|
19
19
|
options?: RequestOptions,
|
|
20
|
-
): Promise<operations.
|
|
21
|
-
return unwrapAsync(
|
|
20
|
+
): Promise<operations.GetProductsIdReviewsResponseBody> {
|
|
21
|
+
return unwrapAsync(catalogProductsReviewsList(
|
|
22
22
|
this,
|
|
23
23
|
request,
|
|
24
24
|
options,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -3,28 +3,58 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
|
+
import { Addresses } from "./addresses.js";
|
|
6
7
|
import { Analytics } from "./analytics.js";
|
|
7
8
|
import { Auth } from "./auth.js";
|
|
9
|
+
import { AuthUser } from "./authuser.js";
|
|
8
10
|
import { Campaigns } from "./campaigns.js";
|
|
9
11
|
import { Carts } from "./carts.js";
|
|
10
12
|
import { Catalog } from "./catalog.js";
|
|
13
|
+
import { CatalogProductReviews } from "./catalogproductreviews.js";
|
|
14
|
+
import { CatalogProducts } from "./catalogproducts.js";
|
|
15
|
+
import { CatalogSkus } from "./catalogskus.js";
|
|
11
16
|
import { Checkout } from "./checkout.js";
|
|
12
17
|
import { Customers } from "./customers.js";
|
|
13
18
|
import { Juspay } from "./juspay.js";
|
|
19
|
+
import { LoyaltyPoints } from "./loyaltypoints.js";
|
|
14
20
|
import { Offers } from "./offers.js";
|
|
15
21
|
import { Orders } from "./orders.js";
|
|
16
22
|
import { Payments } from "./payments.js";
|
|
17
|
-
import {
|
|
23
|
+
import { Products } from "./products.js";
|
|
24
|
+
import { Shipment } from "./shipment.js";
|
|
18
25
|
import { User } from "./user.js";
|
|
26
|
+
import { Users } from "./users.js";
|
|
19
27
|
import { Utils } from "./utils.js";
|
|
20
28
|
import { Wishlist } from "./wishlist.js";
|
|
21
29
|
|
|
22
30
|
export class CeStorefront extends ClientSDK {
|
|
31
|
+
private _products?: Products;
|
|
32
|
+
get products(): Products {
|
|
33
|
+
return (this._products ??= new Products(this._options));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
private _catalogSkus?: CatalogSkus;
|
|
37
|
+
get catalogSkus(): CatalogSkus {
|
|
38
|
+
return (this._catalogSkus ??= new CatalogSkus(this._options));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
private _catalogProducts?: CatalogProducts;
|
|
42
|
+
get catalogProducts(): CatalogProducts {
|
|
43
|
+
return (this._catalogProducts ??= new CatalogProducts(this._options));
|
|
44
|
+
}
|
|
45
|
+
|
|
23
46
|
private _catalog?: Catalog;
|
|
24
47
|
get catalog(): Catalog {
|
|
25
48
|
return (this._catalog ??= new Catalog(this._options));
|
|
26
49
|
}
|
|
27
50
|
|
|
51
|
+
private _catalogProductReviews?: CatalogProductReviews;
|
|
52
|
+
get catalogProductReviews(): CatalogProductReviews {
|
|
53
|
+
return (this._catalogProductReviews ??= new CatalogProductReviews(
|
|
54
|
+
this._options,
|
|
55
|
+
));
|
|
56
|
+
}
|
|
57
|
+
|
|
28
58
|
private _carts?: Carts;
|
|
29
59
|
get carts(): Carts {
|
|
30
60
|
return (this._carts ??= new Carts(this._options));
|
|
@@ -50,14 +80,24 @@ export class CeStorefront extends ClientSDK {
|
|
|
50
80
|
return (this._customers ??= new Customers(this._options));
|
|
51
81
|
}
|
|
52
82
|
|
|
83
|
+
private _addresses?: Addresses;
|
|
84
|
+
get addresses(): Addresses {
|
|
85
|
+
return (this._addresses ??= new Addresses(this._options));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
private _loyaltyPoints?: LoyaltyPoints;
|
|
89
|
+
get loyaltyPoints(): LoyaltyPoints {
|
|
90
|
+
return (this._loyaltyPoints ??= new LoyaltyPoints(this._options));
|
|
91
|
+
}
|
|
92
|
+
|
|
53
93
|
private _orders?: Orders;
|
|
54
94
|
get orders(): Orders {
|
|
55
95
|
return (this._orders ??= new Orders(this._options));
|
|
56
96
|
}
|
|
57
97
|
|
|
58
|
-
private
|
|
59
|
-
get
|
|
60
|
-
return (this.
|
|
98
|
+
private _shipment?: Shipment;
|
|
99
|
+
get shipment(): Shipment {
|
|
100
|
+
return (this._shipment ??= new Shipment(this._options));
|
|
61
101
|
}
|
|
62
102
|
|
|
63
103
|
private _auth?: Auth;
|
|
@@ -65,11 +105,21 @@ export class CeStorefront extends ClientSDK {
|
|
|
65
105
|
return (this._auth ??= new Auth(this._options));
|
|
66
106
|
}
|
|
67
107
|
|
|
108
|
+
private _users?: Users;
|
|
109
|
+
get users(): Users {
|
|
110
|
+
return (this._users ??= new Users(this._options));
|
|
111
|
+
}
|
|
112
|
+
|
|
68
113
|
private _user?: User;
|
|
69
114
|
get user(): User {
|
|
70
115
|
return (this._user ??= new User(this._options));
|
|
71
116
|
}
|
|
72
117
|
|
|
118
|
+
private _authUser?: AuthUser;
|
|
119
|
+
get authUser(): AuthUser {
|
|
120
|
+
return (this._authUser ??= new AuthUser(this._options));
|
|
121
|
+
}
|
|
122
|
+
|
|
73
123
|
private _payments?: Payments;
|
|
74
124
|
get payments(): Payments {
|
|
75
125
|
return (this._payments ??= new Payments(this._options));
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { shipmentCheckPincodeServiceability } from "../funcs/shipmentCheckPincodeServiceability.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 Shipment extends ClientSDK {
|
|
11
11
|
/**
|
|
12
12
|
* Check pincode serviceability
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ export class Shipping extends ClientSDK {
|
|
|
18
18
|
request: operations.GetShipmentPincodeServiceabilityRequest,
|
|
19
19
|
options?: RequestOptions,
|
|
20
20
|
): Promise<operations.GetShipmentPincodeServiceabilityResponseBody> {
|
|
21
|
-
return unwrapAsync(
|
|
21
|
+
return unwrapAsync(shipmentCheckPincodeServiceability(
|
|
22
22
|
this,
|
|
23
23
|
request,
|
|
24
24
|
options,
|
package/src/sdk/user.ts
CHANGED
|
@@ -2,14 +2,98 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { userDeleteProfileImage } from "../funcs/userDeleteProfileImage.js";
|
|
6
|
+
import { userResetPassword } from "../funcs/userResetPassword.js";
|
|
7
|
+
import { userUpdate } from "../funcs/userUpdate.js";
|
|
8
|
+
import { userUpdateNotificationPreferences } from "../funcs/userUpdateNotificationPreferences.js";
|
|
9
|
+
import { userUpdateProfileImage } from "../funcs/userUpdateProfileImage.js";
|
|
10
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import * as operations from "../models/operations/index.js";
|
|
12
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
13
|
|
|
8
14
|
export class User extends ClientSDK {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Update a user
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
async update(
|
|
22
|
+
request: operations.PutAuthUserIdRequest,
|
|
23
|
+
options?: RequestOptions,
|
|
24
|
+
): Promise<operations.PutAuthUserIdResponseBody> {
|
|
25
|
+
return unwrapAsync(userUpdate(
|
|
26
|
+
this,
|
|
27
|
+
request,
|
|
28
|
+
options,
|
|
29
|
+
));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Update profile image
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* 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.
|
|
37
|
+
*/
|
|
38
|
+
async updateProfileImage(
|
|
39
|
+
request: operations.PutAuthUserIdProfileImageRequest,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): Promise<operations.PutAuthUserIdProfileImageResponseBody> {
|
|
42
|
+
return unwrapAsync(userUpdateProfileImage(
|
|
43
|
+
this,
|
|
44
|
+
request,
|
|
45
|
+
options,
|
|
46
|
+
));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Delete profile image
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* 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.
|
|
54
|
+
*/
|
|
55
|
+
async deleteProfileImage(
|
|
56
|
+
request: operations.DeleteAuthUserIdProfileImageRequest,
|
|
57
|
+
options?: RequestOptions,
|
|
58
|
+
): Promise<operations.DeleteAuthUserIdProfileImageResponseBody> {
|
|
59
|
+
return unwrapAsync(userDeleteProfileImage(
|
|
60
|
+
this,
|
|
61
|
+
request,
|
|
62
|
+
options,
|
|
63
|
+
));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Reset password
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
* Reset password
|
|
71
|
+
*/
|
|
72
|
+
async resetPassword(
|
|
73
|
+
request: operations.PostAuthResetPasswordRequestBody,
|
|
74
|
+
options?: RequestOptions,
|
|
75
|
+
): Promise<operations.PostAuthResetPasswordResponseBody> {
|
|
76
|
+
return unwrapAsync(userResetPassword(
|
|
77
|
+
this,
|
|
78
|
+
request,
|
|
79
|
+
options,
|
|
80
|
+
));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Update user notification preferences
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
|
|
88
|
+
*/
|
|
89
|
+
async updateNotificationPreferences(
|
|
90
|
+
request: operations.PutAuthUserIdNotificationPreferencesRequest,
|
|
91
|
+
options?: RequestOptions,
|
|
92
|
+
): Promise<operations.PutAuthUserIdNotificationPreferencesResponseBody> {
|
|
93
|
+
return unwrapAsync(userUpdateNotificationPreferences(
|
|
94
|
+
this,
|
|
95
|
+
request,
|
|
96
|
+
options,
|
|
13
97
|
));
|
|
14
98
|
}
|
|
15
99
|
}
|