ce-storefront 0.3.17 → 0.4.0
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 +108 -129
- package/docs/sdks/addresses/README.md +363 -4
- package/docs/sdks/auth/README.md +0 -72
- package/docs/sdks/{cestorefrontaddresses → cestorefrontreviews}/README.md +34 -123
- package/docs/sdks/cestorefrontuser/README.md +735 -6
- package/docs/sdks/customers/README.md +18 -192
- package/docs/sdks/juspay/README.md +15 -15
- package/docs/sdks/loyalty/README.md +81 -0
- package/docs/sdks/notificationpreferences/README.md +162 -4
- package/docs/sdks/orders/README.md +5 -163
- package/docs/sdks/payments/README.md +95 -15
- package/docs/sdks/products/README.md +94 -15
- package/docs/sdks/{cards → refunds}/README.md +11 -12
- package/docs/sdks/reviews/README.md +13 -17
- package/docs/sdks/{catalogproducts → shipments}/README.md +12 -12
- package/docs/sdks/{shipment → shipping}/README.md +5 -5
- package/docs/sdks/{catalogskus → skus}/README.md +3 -3
- package/docs/sdks/user/README.md +0 -425
- package/docs/sdks/utils/README.md +72 -0
- package/docs/sdks/wishlist/README.md +5 -5
- package/esm/funcs/{authUsersAddProfileImage.d.ts → authUserAddProfileImage.d.ts} +2 -2
- package/esm/funcs/authUserAddProfileImage.d.ts.map +1 -0
- package/esm/funcs/{authUsersAddProfileImage.js → authUserAddProfileImage.js} +2 -2
- package/esm/funcs/authUserAddProfileImage.js.map +1 -0
- package/esm/funcs/{authUserDeactivate.d.ts → authUserDeactivateAccount.d.ts} +2 -2
- package/esm/funcs/authUserDeactivateAccount.d.ts.map +1 -0
- package/esm/funcs/{authUserDeactivate.js → authUserDeactivateAccount.js} +2 -2
- package/esm/funcs/authUserDeactivateAccount.js.map +1 -0
- package/esm/funcs/{userDeleteProfileImage.d.ts → authUserDeleteProfileImage.d.ts} +2 -2
- package/esm/funcs/authUserDeleteProfileImage.d.ts.map +1 -0
- package/esm/funcs/{userDeleteProfileImage.js → authUserDeleteProfileImage.js} +2 -2
- package/esm/funcs/authUserDeleteProfileImage.js.map +1 -0
- package/esm/funcs/{usersGet.d.ts → authUserGet.d.ts} +2 -2
- package/esm/funcs/authUserGet.d.ts.map +1 -0
- package/esm/funcs/{usersGet.js → authUserGet.js} +2 -2
- package/esm/funcs/authUserGet.js.map +1 -0
- package/esm/funcs/{usersGetProfileImage.d.ts → authUserGetProfileImage.d.ts} +2 -2
- package/esm/funcs/authUserGetProfileImage.d.ts.map +1 -0
- package/esm/funcs/{usersGetProfileImage.js → authUserGetProfileImage.js} +2 -2
- package/esm/funcs/authUserGetProfileImage.js.map +1 -0
- package/esm/funcs/{authLogout.d.ts → authUserLogout.d.ts} +2 -2
- package/esm/funcs/authUserLogout.d.ts.map +1 -0
- package/esm/funcs/{authLogout.js → authUserLogout.js} +2 -2
- package/esm/funcs/authUserLogout.js.map +1 -0
- package/esm/funcs/{userResetPassword.d.ts → authUserResetPassword.d.ts} +2 -2
- package/esm/funcs/authUserResetPassword.d.ts.map +1 -0
- package/esm/funcs/{userResetPassword.js → authUserResetPassword.js} +2 -2
- package/esm/funcs/authUserResetPassword.js.map +1 -0
- package/esm/funcs/{userUpdate.d.ts → authUserUpdate.d.ts} +2 -2
- package/esm/funcs/authUserUpdate.d.ts.map +1 -0
- package/esm/funcs/{userUpdate.js → authUserUpdate.js} +2 -2
- package/esm/funcs/authUserUpdate.js.map +1 -0
- package/esm/funcs/{userUpdateProfileImage.d.ts → authUserUpdateProfileImage.d.ts} +2 -2
- package/esm/funcs/authUserUpdateProfileImage.d.ts.map +1 -0
- package/esm/funcs/{userUpdateProfileImage.js → authUserUpdateProfileImage.js} +2 -2
- package/esm/funcs/authUserUpdateProfileImage.js.map +1 -0
- package/esm/funcs/{addressesGet.d.ts → catalogProductsGetCrossSells.d.ts} +4 -4
- package/esm/funcs/catalogProductsGetCrossSells.d.ts.map +1 -0
- package/esm/funcs/{productsListCrossSells.js → catalogProductsGetCrossSells.js} +2 -2
- package/esm/funcs/catalogProductsGetCrossSells.js.map +1 -0
- package/esm/funcs/{productsGetSimilar.d.ts → catalogProductsGetSimilar.d.ts} +2 -2
- package/esm/funcs/catalogProductsGetSimilar.d.ts.map +1 -0
- package/esm/funcs/{productsGetSimilar.js → catalogProductsGetSimilar.js} +2 -2
- package/esm/funcs/catalogProductsGetSimilar.js.map +1 -0
- package/esm/funcs/{productsGetUpsells.d.ts → catalogProductsGetUpsells.d.ts} +2 -2
- package/esm/funcs/catalogProductsGetUpsells.d.ts.map +1 -0
- package/esm/funcs/{productsGetUpsells.js → catalogProductsGetUpsells.js} +2 -2
- package/esm/funcs/catalogProductsGetUpsells.js.map +1 -0
- package/esm/funcs/{productsList.d.ts → catalogProductsList.d.ts} +2 -2
- package/esm/funcs/{customersAddAddress.d.ts.map → catalogProductsList.d.ts.map} +1 -1
- package/esm/funcs/{productsList.js → catalogProductsList.js} +2 -2
- package/esm/funcs/catalogProductsList.js.map +1 -0
- package/esm/funcs/{catalogProductReviewsCreate.d.ts → catalogProductsReviewsCreate.d.ts} +2 -2
- package/esm/funcs/catalogProductsReviewsCreate.d.ts.map +1 -0
- package/esm/funcs/{catalogProductReviewsCreate.js → catalogProductsReviewsCreate.js} +2 -2
- package/esm/funcs/catalogProductsReviewsCreate.js.map +1 -0
- package/esm/funcs/{customersUpdate.d.ts → customersAddressesAdd.d.ts} +4 -4
- package/esm/funcs/customersAddressesAdd.d.ts.map +1 -0
- package/esm/funcs/{customersAddAddress.js → customersAddressesAdd.js} +2 -2
- package/esm/funcs/customersAddressesAdd.js.map +1 -0
- package/esm/funcs/customersAddressesGet.d.ts +16 -0
- package/esm/funcs/customersAddressesGet.d.ts.map +1 -0
- package/esm/funcs/{addressesGet.js → customersAddressesGet.js} +2 -2
- package/esm/funcs/customersAddressesGet.js.map +1 -0
- package/esm/funcs/{customersGet.d.ts → customersGetCustomersId.d.ts} +2 -2
- package/esm/funcs/customersGetCustomersId.d.ts.map +1 -0
- package/esm/funcs/{customersGet.js → customersGetCustomersId.js} +2 -2
- package/esm/funcs/customersGetCustomersId.js.map +1 -0
- package/esm/funcs/{loyaltyPointsListActivities.d.ts → customersLoyaltyListActivities.d.ts} +2 -2
- package/esm/funcs/customersLoyaltyListActivities.d.ts.map +1 -0
- package/esm/funcs/{loyaltyPointsListActivities.js → customersLoyaltyListActivities.js} +2 -2
- package/esm/funcs/customersLoyaltyListActivities.js.map +1 -0
- package/esm/funcs/{customersCreate.d.ts → customersPostCustomers.d.ts} +2 -2
- package/esm/funcs/customersPostCustomers.d.ts.map +1 -0
- package/esm/funcs/{customersCreate.js → customersPostCustomers.js} +2 -2
- package/esm/funcs/customersPostCustomers.js.map +1 -0
- package/esm/funcs/customersPutCustomersId.d.ts +16 -0
- package/esm/funcs/customersPutCustomersId.d.ts.map +1 -0
- package/esm/funcs/{customersUpdate.js → customersPutCustomersId.js} +2 -2
- package/esm/funcs/customersPutCustomersId.js.map +1 -0
- package/esm/funcs/{ordersGetPaymentStatus.d.ts → customersReviewsList.d.ts} +4 -4
- package/esm/funcs/{usersGetProfileImage.d.ts.map → customersReviewsList.d.ts.map} +1 -1
- package/esm/funcs/{customersGetReviews.js → customersReviewsList.js} +2 -2
- package/esm/funcs/{usersGetProfileImage.js.map → customersReviewsList.js.map} +1 -1
- package/esm/funcs/{juspayGetCustomer.d.ts → juspayGetPaymentsJuspayCustomer.d.ts} +2 -2
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +1 -0
- package/esm/funcs/{juspayGetCustomer.js → juspayGetPaymentsJuspayCustomer.js} +2 -2
- package/esm/funcs/{juspayCreateOrder.js.map → juspayGetPaymentsJuspayCustomer.js.map} +1 -1
- package/esm/funcs/{wishlistRemoveItem.d.ts → juspayPostPaymentsJuspayCreateCustomer.d.ts} +5 -4
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +1 -0
- package/esm/funcs/{juspayCreateCustomer.js → juspayPostPaymentsJuspayCreateCustomer.js} +2 -2
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +1 -0
- package/esm/funcs/{juspayCreateOrder.d.ts → juspayPostPaymentsJuspayCreateOrder.d.ts} +2 -2
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +1 -0
- package/esm/funcs/{juspayCreateOrder.js → juspayPostPaymentsJuspayCreateOrder.js} +2 -2
- package/esm/funcs/{juspayGetCustomer.js.map → juspayPostPaymentsJuspayCreateOrder.js.map} +1 -1
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts +15 -0
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +1 -0
- package/esm/funcs/{ordersGetPaymentStatus.js → ordersGetOrdersIdPaymentStatus.js} +2 -2
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +1 -0
- package/esm/funcs/{ordersGetRefunds.d.ts → ordersRefundsList.d.ts} +2 -2
- package/esm/funcs/{userResetPassword.d.ts.map → ordersRefundsList.d.ts.map} +1 -1
- package/esm/funcs/{ordersGetRefunds.js → ordersRefundsList.js} +2 -2
- package/esm/funcs/ordersRefundsList.js.map +1 -0
- package/esm/funcs/{ordersGetShipments.d.ts → ordersShipmentsList.d.ts} +2 -2
- package/esm/funcs/ordersShipmentsList.d.ts.map +1 -0
- package/esm/funcs/{ordersGetShipments.js → ordersShipmentsList.js} +2 -2
- package/esm/funcs/ordersShipmentsList.js.map +1 -0
- package/esm/funcs/{paymentsListMethods.d.ts → paymentsGetMethods.d.ts} +2 -2
- package/esm/funcs/{authUserDeactivate.d.ts.map → paymentsGetMethods.d.ts.map} +1 -1
- package/esm/funcs/{paymentsListMethods.js → paymentsGetMethods.js} +2 -2
- package/esm/funcs/paymentsGetMethods.js.map +1 -0
- package/esm/funcs/{paymentsCardsList.d.ts → paymentsGetPaymentsCards.d.ts} +2 -2
- package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +1 -0
- package/esm/funcs/{paymentsCardsList.js → paymentsGetPaymentsCards.js} +2 -2
- package/esm/funcs/paymentsGetPaymentsCards.js.map +1 -0
- package/esm/funcs/{paymentsVerifyVpa.d.ts → paymentsGetPaymentsVerifyVpa.d.ts} +2 -2
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +1 -0
- package/esm/funcs/{paymentsVerifyVpa.js → paymentsGetPaymentsVerifyVpa.js} +2 -2
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +1 -0
- package/esm/funcs/{paymentsAddCard.d.ts → paymentsPostPaymentsCards.d.ts} +2 -2
- package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +1 -0
- package/esm/funcs/{paymentsAddCard.js → paymentsPostPaymentsCards.js} +2 -2
- package/esm/funcs/paymentsPostPaymentsCards.js.map +1 -0
- package/esm/funcs/{shipmentCheckPincodeServiceability.d.ts → shippingCheckPincodeServiceability.d.ts} +2 -2
- package/esm/funcs/{shipmentCheckPincodeServiceability.d.ts.map → shippingCheckPincodeServiceability.d.ts.map} +1 -1
- package/esm/funcs/{shipmentCheckPincodeServiceability.js → shippingCheckPincodeServiceability.js} +2 -2
- package/esm/funcs/{shipmentCheckPincodeServiceability.js.map → shippingCheckPincodeServiceability.js.map} +1 -1
- package/esm/funcs/{usersCreateNotificationPreferences.d.ts → userNotificationPreferencesCreate.d.ts} +2 -2
- package/esm/funcs/userNotificationPreferencesCreate.d.ts.map +1 -0
- package/esm/funcs/{usersCreateNotificationPreferences.js → userNotificationPreferencesCreate.js} +2 -2
- package/esm/funcs/userNotificationPreferencesCreate.js.map +1 -0
- package/esm/funcs/{authUserNotificationPreferencesGet.d.ts → userNotificationPreferencesGet.d.ts} +2 -2
- package/esm/funcs/userNotificationPreferencesGet.d.ts.map +1 -0
- package/esm/funcs/{authUserNotificationPreferencesGet.js → userNotificationPreferencesGet.js} +2 -2
- package/esm/funcs/userNotificationPreferencesGet.js.map +1 -0
- package/esm/funcs/{userUpdateNotificationPreferences.d.ts → userNotificationPreferencesUpdate.d.ts} +2 -2
- package/esm/funcs/{userUpdateNotificationPreferences.d.ts.map → userNotificationPreferencesUpdate.d.ts.map} +1 -1
- package/esm/funcs/{userUpdateNotificationPreferences.js → userNotificationPreferencesUpdate.js} +2 -2
- package/esm/funcs/{userUpdateNotificationPreferences.js.map → userNotificationPreferencesUpdate.js.map} +1 -1
- package/esm/funcs/{utilsCountriesGet.d.ts → utilsGetCountries.d.ts} +2 -2
- package/esm/funcs/{utilsCountriesGet.d.ts.map → utilsGetCountries.d.ts.map} +1 -1
- package/esm/funcs/{utilsCountriesGet.js → utilsGetCountries.js} +2 -2
- package/esm/funcs/{utilsCountriesGet.js.map → utilsGetCountries.js.map} +1 -1
- package/esm/funcs/{customersAddAddress.d.ts → wishlistDelete.d.ts} +4 -4
- package/esm/funcs/wishlistDelete.d.ts.map +1 -0
- package/esm/funcs/{wishlistRemoveItem.js → wishlistDelete.js} +2 -2
- package/esm/funcs/wishlistDelete.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/models/components/bundleproduct.d.ts +11 -11
- package/esm/models/components/bundleproduct.d.ts.map +1 -1
- package/esm/models/components/bundleproduct.js +22 -22
- package/esm/models/components/bundleproduct.js.map +1 -1
- package/esm/models/components/bundleproductdetail.d.ts +11 -11
- package/esm/models/components/bundleproductdetail.d.ts.map +1 -1
- package/esm/models/components/bundleproductdetail.js +22 -22
- package/esm/models/components/bundleproductdetail.js.map +1 -1
- package/esm/models/components/cartitem.d.ts +4 -4
- package/esm/models/components/cartitem.d.ts.map +1 -1
- package/esm/models/components/cartitem.js +8 -8
- package/esm/models/components/cartitem.js.map +1 -1
- package/esm/models/components/productimage.d.ts +2 -0
- package/esm/models/components/productimage.d.ts.map +1 -1
- package/esm/models/components/productimage.js +2 -0
- package/esm/models/components/productimage.js.map +1 -1
- package/esm/models/components/singleproduct.d.ts +6 -6
- package/esm/models/components/singleproduct.d.ts.map +1 -1
- package/esm/models/components/singleproduct.js +12 -12
- package/esm/models/components/singleproduct.js.map +1 -1
- package/esm/models/components/singleproductdetail.d.ts +6 -6
- package/esm/models/components/singleproductdetail.d.ts.map +1 -1
- package/esm/models/components/singleproductdetail.js +12 -12
- package/esm/models/components/singleproductdetail.js.map +1 -1
- package/esm/models/components/sku.d.ts +5 -5
- package/esm/models/components/sku.d.ts.map +1 -1
- package/esm/models/components/sku.js +10 -10
- package/esm/models/components/sku.js.map +1 -1
- package/esm/models/components/variant.d.ts +3 -3
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +6 -6
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +3 -3
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +6 -6
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/sdk/addresses.d.ts +28 -0
- package/esm/sdk/addresses.d.ts.map +1 -1
- package/esm/sdk/addresses.js +42 -2
- package/esm/sdk/addresses.js.map +1 -1
- package/esm/sdk/auth.d.ts +0 -10
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +0 -14
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/catalog.d.ts +5 -2
- package/esm/sdk/catalog.d.ts.map +1 -1
- package/esm/sdk/catalog.js +6 -2
- package/esm/sdk/catalog.js.map +1 -1
- package/esm/sdk/cestorefrontreviews.d.ts +19 -0
- package/esm/sdk/cestorefrontreviews.d.ts.map +1 -0
- package/esm/sdk/cestorefrontreviews.js +28 -0
- package/esm/sdk/cestorefrontreviews.js.map +1 -0
- package/esm/sdk/cestorefrontuser.d.ts +64 -4
- package/esm/sdk/cestorefrontuser.d.ts.map +1 -1
- package/esm/sdk/cestorefrontuser.js +92 -6
- package/esm/sdk/cestorefrontuser.js.map +1 -1
- package/esm/sdk/customers.d.ts +8 -19
- package/esm/sdk/customers.d.ts.map +1 -1
- package/esm/sdk/customers.js +15 -31
- 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 +7 -0
- package/esm/sdk/loyalty.d.ts.map +1 -1
- package/esm/sdk/loyalty.js +10 -0
- package/esm/sdk/loyalty.js.map +1 -1
- package/esm/sdk/notificationpreferences.d.ts +14 -0
- package/esm/sdk/notificationpreferences.d.ts.map +1 -1
- package/esm/sdk/notificationpreferences.js +22 -2
- package/esm/sdk/notificationpreferences.js.map +1 -1
- package/esm/sdk/orders.d.ts +7 -15
- package/esm/sdk/orders.d.ts.map +1 -1
- package/esm/sdk/orders.js +11 -23
- package/esm/sdk/orders.js.map +1 -1
- package/esm/sdk/payments.d.ts +10 -6
- package/esm/sdk/payments.d.ts.map +1 -1
- package/esm/sdk/payments.js +19 -13
- package/esm/sdk/payments.js.map +1 -1
- package/esm/sdk/products.d.ts +14 -1
- package/esm/sdk/products.d.ts.map +1 -1
- package/esm/sdk/products.js +27 -9
- package/esm/sdk/products.js.map +1 -1
- package/esm/sdk/refunds.d.ts +12 -0
- package/esm/sdk/refunds.d.ts.map +1 -0
- package/esm/sdk/refunds.js +18 -0
- package/esm/sdk/refunds.js.map +1 -0
- 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 +3 -27
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +3 -35
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/shipments.d.ts +12 -0
- package/esm/sdk/shipments.d.ts.map +1 -0
- package/esm/sdk/shipments.js +18 -0
- package/esm/sdk/shipments.js.map +1 -0
- package/esm/sdk/{shipment.d.ts → shipping.d.ts} +2 -2
- package/esm/sdk/{shipment.d.ts.map → shipping.d.ts.map} +1 -1
- package/esm/sdk/{shipment.js → shipping.js} +4 -4
- package/esm/sdk/{shipment.js.map → shipping.js.map} +1 -1
- package/esm/sdk/{catalogskus.d.ts → skus.d.ts} +2 -2
- package/esm/sdk/skus.d.ts.map +1 -0
- package/esm/sdk/{catalogskus.js → skus.js} +2 -2
- package/esm/sdk/skus.js.map +1 -0
- package/esm/sdk/user.d.ts +4 -37
- package/esm/sdk/user.d.ts.map +1 -1
- package/esm/sdk/user.js +3 -50
- package/esm/sdk/user.js.map +1 -1
- package/esm/sdk/utils.d.ts +7 -3
- package/esm/sdk/utils.d.ts.map +1 -1
- package/esm/sdk/utils.js +9 -3
- 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/{authUsersAddProfileImage.ts → authUserAddProfileImage.ts} +1 -1
- package/src/funcs/{authUserDeactivate.ts → authUserDeactivateAccount.ts} +1 -1
- package/src/funcs/{userDeleteProfileImage.ts → authUserDeleteProfileImage.ts} +1 -1
- package/src/funcs/{usersGet.ts → authUserGet.ts} +1 -1
- package/src/funcs/{usersGetProfileImage.ts → authUserGetProfileImage.ts} +1 -1
- package/src/funcs/{authLogout.ts → authUserLogout.ts} +1 -1
- package/src/funcs/{userResetPassword.ts → authUserResetPassword.ts} +1 -1
- package/src/funcs/{userUpdate.ts → authUserUpdate.ts} +1 -1
- package/src/funcs/{userUpdateProfileImage.ts → authUserUpdateProfileImage.ts} +1 -1
- package/src/funcs/{productsListCrossSells.ts → catalogProductsGetCrossSells.ts} +1 -1
- package/src/funcs/{productsGetSimilar.ts → catalogProductsGetSimilar.ts} +1 -1
- package/src/funcs/{productsGetUpsells.ts → catalogProductsGetUpsells.ts} +1 -1
- package/src/funcs/{productsList.ts → catalogProductsList.ts} +1 -1
- package/src/funcs/{catalogProductReviewsCreate.ts → catalogProductsReviewsCreate.ts} +1 -1
- package/src/funcs/{customersAddAddress.ts → customersAddressesAdd.ts} +1 -1
- package/src/funcs/{addressesGet.ts → customersAddressesGet.ts} +1 -1
- package/src/funcs/{customersGet.ts → customersGetCustomersId.ts} +1 -1
- package/src/funcs/{loyaltyPointsListActivities.ts → customersLoyaltyListActivities.ts} +1 -1
- package/src/funcs/{customersCreate.ts → customersPostCustomers.ts} +1 -1
- package/src/funcs/{customersUpdate.ts → customersPutCustomersId.ts} +1 -1
- package/src/funcs/{customersGetReviews.ts → customersReviewsList.ts} +1 -1
- package/src/funcs/{juspayGetCustomer.ts → juspayGetPaymentsJuspayCustomer.ts} +1 -1
- package/src/funcs/{juspayCreateCustomer.ts → juspayPostPaymentsJuspayCreateCustomer.ts} +1 -1
- package/src/funcs/{juspayCreateOrder.ts → juspayPostPaymentsJuspayCreateOrder.ts} +1 -1
- package/src/funcs/{ordersGetPaymentStatus.ts → ordersGetOrdersIdPaymentStatus.ts} +1 -1
- package/src/funcs/{ordersGetRefunds.ts → ordersRefundsList.ts} +1 -1
- package/src/funcs/{ordersGetShipments.ts → ordersShipmentsList.ts} +1 -1
- package/src/funcs/{paymentsListMethods.ts → paymentsGetMethods.ts} +1 -1
- package/src/funcs/{paymentsCardsList.ts → paymentsGetPaymentsCards.ts} +1 -1
- package/src/funcs/{paymentsVerifyVpa.ts → paymentsGetPaymentsVerifyVpa.ts} +1 -1
- package/src/funcs/{paymentsAddCard.ts → paymentsPostPaymentsCards.ts} +1 -1
- package/src/funcs/{shipmentCheckPincodeServiceability.ts → shippingCheckPincodeServiceability.ts} +1 -1
- package/src/funcs/{usersCreateNotificationPreferences.ts → userNotificationPreferencesCreate.ts} +1 -1
- package/src/funcs/{authUserNotificationPreferencesGet.ts → userNotificationPreferencesGet.ts} +1 -1
- package/src/funcs/{userUpdateNotificationPreferences.ts → userNotificationPreferencesUpdate.ts} +1 -1
- package/src/funcs/{utilsCountriesGet.ts → utilsGetCountries.ts} +1 -1
- package/src/funcs/{wishlistRemoveItem.ts → wishlistDelete.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/bundleproduct.ts +33 -33
- package/src/models/components/bundleproductdetail.ts +33 -33
- package/src/models/components/cartitem.ts +12 -12
- package/src/models/components/productimage.ts +4 -0
- package/src/models/components/singleproduct.ts +18 -18
- package/src/models/components/singleproductdetail.ts +18 -18
- package/src/models/components/sku.ts +15 -15
- package/src/models/components/variant.ts +9 -9
- package/src/models/components/variantdetail.ts +9 -9
- package/src/sdk/addresses.ts +74 -2
- package/src/sdk/auth.ts +0 -22
- package/src/sdk/catalog.ts +10 -4
- package/src/sdk/cestorefrontreviews.ts +45 -0
- package/src/sdk/cestorefrontuser.ts +160 -8
- package/src/sdk/customers.ts +19 -49
- package/src/sdk/juspay.ts +9 -9
- package/src/sdk/loyalty.ts +18 -0
- package/src/sdk/notificationpreferences.ts +38 -2
- package/src/sdk/orders.ts +15 -39
- package/src/sdk/payments.ts +27 -15
- package/src/sdk/products.ts +39 -9
- package/src/sdk/{cards.ts → refunds.ts} +7 -7
- package/src/sdk/reviews.ts +6 -6
- package/src/sdk/sdk.ts +4 -54
- package/src/sdk/shipments.ts +27 -0
- package/src/sdk/{shipment.ts → shipping.ts} +3 -3
- package/src/sdk/{catalogskus.ts → skus.ts} +1 -1
- package/src/sdk/user.ts +6 -90
- package/src/sdk/utils.ts +14 -4
- package/src/sdk/wishlist.ts +3 -3
- package/docs/sdks/authuser/README.md +0 -80
- package/docs/sdks/catalogproductreviews/README.md +0 -97
- package/docs/sdks/cestorefrontproducts/README.md +0 -6
- package/docs/sdks/cestorefrontusers/README.md +0 -92
- package/docs/sdks/countries/README.md +0 -79
- package/docs/sdks/loyaltypoints/README.md +0 -88
- package/docs/sdks/users/README.md +0 -240
- package/esm/funcs/addressesGet.d.ts.map +0 -1
- package/esm/funcs/addressesGet.js.map +0 -1
- package/esm/funcs/authLogout.d.ts.map +0 -1
- package/esm/funcs/authLogout.js.map +0 -1
- package/esm/funcs/authUserDeactivate.js.map +0 -1
- package/esm/funcs/authUserNotificationPreferencesGet.d.ts.map +0 -1
- package/esm/funcs/authUserNotificationPreferencesGet.js.map +0 -1
- package/esm/funcs/authUsersAddProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUsersAddProfileImage.js.map +0 -1
- package/esm/funcs/catalogProductReviewsCreate.d.ts.map +0 -1
- package/esm/funcs/catalogProductReviewsCreate.js.map +0 -1
- package/esm/funcs/customersAddAddress.js.map +0 -1
- package/esm/funcs/customersCreate.d.ts.map +0 -1
- package/esm/funcs/customersCreate.js.map +0 -1
- package/esm/funcs/customersGet.d.ts.map +0 -1
- package/esm/funcs/customersGet.js.map +0 -1
- package/esm/funcs/customersGetReviews.d.ts +0 -15
- package/esm/funcs/customersGetReviews.d.ts.map +0 -1
- package/esm/funcs/customersGetReviews.js.map +0 -1
- package/esm/funcs/customersUpdate.d.ts.map +0 -1
- package/esm/funcs/customersUpdate.js.map +0 -1
- package/esm/funcs/juspayCreateCustomer.d.ts +0 -17
- package/esm/funcs/juspayCreateCustomer.d.ts.map +0 -1
- package/esm/funcs/juspayCreateCustomer.js.map +0 -1
- package/esm/funcs/juspayCreateOrder.d.ts.map +0 -1
- package/esm/funcs/juspayGetCustomer.d.ts.map +0 -1
- package/esm/funcs/loyaltyPointsListActivities.d.ts.map +0 -1
- package/esm/funcs/loyaltyPointsListActivities.js.map +0 -1
- package/esm/funcs/ordersGetPaymentStatus.d.ts.map +0 -1
- package/esm/funcs/ordersGetPaymentStatus.js.map +0 -1
- package/esm/funcs/ordersGetRefunds.d.ts.map +0 -1
- package/esm/funcs/ordersGetRefunds.js.map +0 -1
- package/esm/funcs/ordersGetShipments.d.ts.map +0 -1
- package/esm/funcs/ordersGetShipments.js.map +0 -1
- package/esm/funcs/paymentsAddCard.d.ts.map +0 -1
- package/esm/funcs/paymentsAddCard.js.map +0 -1
- package/esm/funcs/paymentsCardsList.d.ts.map +0 -1
- package/esm/funcs/paymentsCardsList.js.map +0 -1
- package/esm/funcs/paymentsListMethods.d.ts.map +0 -1
- package/esm/funcs/paymentsListMethods.js.map +0 -1
- package/esm/funcs/paymentsVerifyVpa.d.ts.map +0 -1
- package/esm/funcs/paymentsVerifyVpa.js.map +0 -1
- package/esm/funcs/productsGetSimilar.d.ts.map +0 -1
- package/esm/funcs/productsGetSimilar.js.map +0 -1
- package/esm/funcs/productsGetUpsells.d.ts.map +0 -1
- package/esm/funcs/productsGetUpsells.js.map +0 -1
- package/esm/funcs/productsList.d.ts.map +0 -1
- package/esm/funcs/productsList.js.map +0 -1
- package/esm/funcs/productsListCrossSells.d.ts +0 -16
- package/esm/funcs/productsListCrossSells.d.ts.map +0 -1
- package/esm/funcs/productsListCrossSells.js.map +0 -1
- package/esm/funcs/userDeleteProfileImage.d.ts.map +0 -1
- package/esm/funcs/userDeleteProfileImage.js.map +0 -1
- package/esm/funcs/userResetPassword.js.map +0 -1
- package/esm/funcs/userUpdate.d.ts.map +0 -1
- package/esm/funcs/userUpdate.js.map +0 -1
- package/esm/funcs/userUpdateProfileImage.d.ts.map +0 -1
- package/esm/funcs/userUpdateProfileImage.js.map +0 -1
- package/esm/funcs/usersCreateNotificationPreferences.d.ts.map +0 -1
- package/esm/funcs/usersCreateNotificationPreferences.js.map +0 -1
- package/esm/funcs/usersGet.d.ts.map +0 -1
- package/esm/funcs/usersGet.js.map +0 -1
- package/esm/funcs/wishlistRemoveItem.d.ts.map +0 -1
- package/esm/funcs/wishlistRemoveItem.js.map +0 -1
- package/esm/sdk/authuser.d.ts +0 -12
- package/esm/sdk/authuser.d.ts.map +0 -1
- package/esm/sdk/authuser.js +0 -18
- package/esm/sdk/authuser.js.map +0 -1
- package/esm/sdk/cards.d.ts +0 -12
- package/esm/sdk/cards.d.ts.map +0 -1
- package/esm/sdk/cards.js +0 -18
- package/esm/sdk/cards.js.map +0 -1
- package/esm/sdk/catalogproductreviews.d.ts +0 -12
- package/esm/sdk/catalogproductreviews.d.ts.map +0 -1
- package/esm/sdk/catalogproductreviews.js +0 -18
- package/esm/sdk/catalogproductreviews.js.map +0 -1
- package/esm/sdk/catalogproducts.d.ts +0 -12
- package/esm/sdk/catalogproducts.d.ts.map +0 -1
- package/esm/sdk/catalogproducts.js +0 -18
- package/esm/sdk/catalogproducts.js.map +0 -1
- package/esm/sdk/catalogskus.d.ts.map +0 -1
- package/esm/sdk/catalogskus.js.map +0 -1
- package/esm/sdk/cestorefrontaddresses.d.ts +0 -26
- package/esm/sdk/cestorefrontaddresses.d.ts.map +0 -1
- package/esm/sdk/cestorefrontaddresses.js +0 -38
- package/esm/sdk/cestorefrontaddresses.js.map +0 -1
- package/esm/sdk/cestorefrontproducts.d.ts +0 -10
- package/esm/sdk/cestorefrontproducts.d.ts.map +0 -1
- package/esm/sdk/cestorefrontproducts.js +0 -15
- package/esm/sdk/cestorefrontproducts.js.map +0 -1
- package/esm/sdk/cestorefrontusers.d.ts +0 -12
- package/esm/sdk/cestorefrontusers.d.ts.map +0 -1
- package/esm/sdk/cestorefrontusers.js +0 -18
- package/esm/sdk/cestorefrontusers.js.map +0 -1
- package/esm/sdk/countries.d.ts +0 -12
- package/esm/sdk/countries.d.ts.map +0 -1
- package/esm/sdk/countries.js +0 -18
- package/esm/sdk/countries.js.map +0 -1
- package/esm/sdk/loyaltypoints.d.ts +0 -12
- package/esm/sdk/loyaltypoints.d.ts.map +0 -1
- package/esm/sdk/loyaltypoints.js +0 -18
- package/esm/sdk/loyaltypoints.js.map +0 -1
- package/esm/sdk/users.d.ts +0 -26
- package/esm/sdk/users.d.ts.map +0 -1
- package/esm/sdk/users.js +0 -38
- package/esm/sdk/users.js.map +0 -1
- package/src/sdk/authuser.ts +0 -27
- package/src/sdk/catalogproductreviews.ts +0 -27
- package/src/sdk/catalogproducts.ts +0 -27
- package/src/sdk/cestorefrontaddresses.ts +0 -63
- package/src/sdk/cestorefrontproducts.ts +0 -19
- package/src/sdk/cestorefrontusers.ts +0 -27
- package/src/sdk/countries.ts +0 -25
- package/src/sdk/loyaltypoints.ts +0 -27
- package/src/sdk/users.ts +0 -63
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cestorefrontreviews.d.ts","sourceRoot":"","sources":["../../src/sdk/cestorefrontreviews.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,mBAAoB,SAAQ,SAAS;IAChD;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQvD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;CAOzD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { catalogProductsReviewsCreate } from "../funcs/catalogProductsReviewsCreate.js";
|
|
5
|
+
import { catalogProductsReviewsList } from "../funcs/catalogProductsReviewsList.js";
|
|
6
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
7
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
8
|
+
export class CeStorefrontReviews extends ClientSDK {
|
|
9
|
+
/**
|
|
10
|
+
* List all product reviews
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
async list(request, options) {
|
|
16
|
+
return unwrapAsync(catalogProductsReviewsList(this, request, options));
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Create product review
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Create a product review
|
|
23
|
+
*/
|
|
24
|
+
async create(request, options) {
|
|
25
|
+
return unwrapAsync(catalogProductsReviewsCreate(this, request, options));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=cestorefrontreviews.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cestorefrontreviews.js","sourceRoot":"","sources":["../../src/sdk/cestorefrontreviews.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAChD;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAgD,EAChD,OAAwB;QAExB,OAAO,WAAW,CAAC,4BAA4B,CAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,16 +1,55 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as operations from "../models/operations/index.js";
|
|
3
|
-
import { NotificationPreferences } from "./notificationpreferences.js";
|
|
4
3
|
export declare class CeStorefrontUser extends ClientSDK {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve a user
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* 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.
|
|
9
|
+
*/
|
|
10
|
+
get(request: operations.GetAuthUserIdRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdResponseBody>;
|
|
11
|
+
/**
|
|
12
|
+
* Update a user
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
update(request: operations.PutAuthUserIdRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdResponseBody>;
|
|
18
|
+
/**
|
|
19
|
+
* Add profile image
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* 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.
|
|
23
|
+
*/
|
|
24
|
+
addProfileImage(request: operations.PostAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.PostAuthUserIdProfileImageResponseBody>;
|
|
25
|
+
/**
|
|
26
|
+
* Update profile image
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* 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.
|
|
30
|
+
*/
|
|
31
|
+
updateProfileImage(request: operations.PutAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdProfileImageResponseBody>;
|
|
32
|
+
/**
|
|
33
|
+
* Delete profile image
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* 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.
|
|
37
|
+
*/
|
|
38
|
+
deleteProfileImage(request: operations.DeleteAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.DeleteAuthUserIdProfileImageResponseBody>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve a profile image
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* 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.
|
|
44
|
+
*/
|
|
45
|
+
getProfileImage(request: operations.GetAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdProfileImageResponseBody>;
|
|
7
46
|
/**
|
|
8
47
|
* Deactivate account
|
|
9
48
|
*
|
|
10
49
|
* @remarks
|
|
11
50
|
* 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.
|
|
12
51
|
*/
|
|
13
|
-
|
|
52
|
+
deactivateAccount(request: operations.PutAuthUserIdDeactivateRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdDeactivateResponseBody>;
|
|
14
53
|
/**
|
|
15
54
|
* Change password
|
|
16
55
|
*
|
|
@@ -18,5 +57,26 @@ export declare class CeStorefrontUser extends ClientSDK {
|
|
|
18
57
|
* The Change Password API is a key feature designed to provide a secure and standardized method for users to update their passwords.
|
|
19
58
|
*/
|
|
20
59
|
changePassword(request: operations.PostAuthChangePasswordRequestBody, options?: RequestOptions): Promise<operations.PostAuthChangePasswordResponseBody>;
|
|
60
|
+
/**
|
|
61
|
+
* Forgot password
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* The Forgot Password API provides a secure mechanism for users to initiate the password recovery process. This API provides one-time password (OTP) token, which facilitas the resetting of user’s account password.
|
|
65
|
+
*/
|
|
66
|
+
forgotPassword(request: operations.PostAuthForgotPasswordRequestBody, options?: RequestOptions): Promise<operations.PostAuthForgotPasswordResponseBody>;
|
|
67
|
+
/**
|
|
68
|
+
* Reset password
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Reset password
|
|
72
|
+
*/
|
|
73
|
+
resetPassword(request: operations.PostAuthResetPasswordRequestBody, options?: RequestOptions): Promise<operations.PostAuthResetPasswordResponseBody>;
|
|
74
|
+
/**
|
|
75
|
+
* Logout user
|
|
76
|
+
*
|
|
77
|
+
* @remarks
|
|
78
|
+
* 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.
|
|
79
|
+
*/
|
|
80
|
+
logout(options?: RequestOptions): Promise<operations.PostAuthLogoutResponseBody>;
|
|
21
81
|
}
|
|
22
82
|
//# sourceMappingURL=cestorefrontuser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cestorefrontuser.d.ts","sourceRoot":"","sources":["../../src/sdk/cestorefrontuser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cestorefrontuser.d.ts","sourceRoot":"","sources":["../../src/sdk/cestorefrontuser.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;IAQ7D;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;IAQ5D;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wCAAwC,CAAC;IAQ/D;;;;;OAKG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;IAQ5D;;;;;OAKG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mCAAmC,CAAC;IAQ1D;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAQzD;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAQzD;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAQxD;;;;;OAKG;IACG,MAAM,CACV,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAMlD"}
|
|
@@ -1,14 +1,73 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
+
import { authUserAddProfileImage } from "../funcs/authUserAddProfileImage.js";
|
|
4
5
|
import { authUserChangePassword } from "../funcs/authUserChangePassword.js";
|
|
5
|
-
import {
|
|
6
|
+
import { authUserDeactivateAccount } from "../funcs/authUserDeactivateAccount.js";
|
|
7
|
+
import { authUserDeleteProfileImage } from "../funcs/authUserDeleteProfileImage.js";
|
|
8
|
+
import { authUserForgotPassword } from "../funcs/authUserForgotPassword.js";
|
|
9
|
+
import { authUserGet } from "../funcs/authUserGet.js";
|
|
10
|
+
import { authUserGetProfileImage } from "../funcs/authUserGetProfileImage.js";
|
|
11
|
+
import { authUserLogout } from "../funcs/authUserLogout.js";
|
|
12
|
+
import { authUserResetPassword } from "../funcs/authUserResetPassword.js";
|
|
13
|
+
import { authUserUpdate } from "../funcs/authUserUpdate.js";
|
|
14
|
+
import { authUserUpdateProfileImage } from "../funcs/authUserUpdateProfileImage.js";
|
|
6
15
|
import { ClientSDK } from "../lib/sdks.js";
|
|
7
16
|
import { unwrapAsync } from "../types/fp.js";
|
|
8
|
-
import { NotificationPreferences } from "./notificationpreferences.js";
|
|
9
17
|
export class CeStorefrontUser extends ClientSDK {
|
|
10
|
-
|
|
11
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve a user
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* 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.
|
|
23
|
+
*/
|
|
24
|
+
async get(request, options) {
|
|
25
|
+
return unwrapAsync(authUserGet(this, request, options));
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Update a user
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* 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.
|
|
32
|
+
*/
|
|
33
|
+
async update(request, options) {
|
|
34
|
+
return unwrapAsync(authUserUpdate(this, request, options));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Add profile image
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* 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.
|
|
41
|
+
*/
|
|
42
|
+
async addProfileImage(request, options) {
|
|
43
|
+
return unwrapAsync(authUserAddProfileImage(this, request, options));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Update profile image
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* 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.
|
|
50
|
+
*/
|
|
51
|
+
async updateProfileImage(request, options) {
|
|
52
|
+
return unwrapAsync(authUserUpdateProfileImage(this, request, options));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Delete profile image
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* 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.
|
|
59
|
+
*/
|
|
60
|
+
async deleteProfileImage(request, options) {
|
|
61
|
+
return unwrapAsync(authUserDeleteProfileImage(this, request, options));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Retrieve a profile image
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* 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.
|
|
68
|
+
*/
|
|
69
|
+
async getProfileImage(request, options) {
|
|
70
|
+
return unwrapAsync(authUserGetProfileImage(this, request, options));
|
|
12
71
|
}
|
|
13
72
|
/**
|
|
14
73
|
* Deactivate account
|
|
@@ -16,8 +75,8 @@ export class CeStorefrontUser extends ClientSDK {
|
|
|
16
75
|
* @remarks
|
|
17
76
|
* 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.
|
|
18
77
|
*/
|
|
19
|
-
async
|
|
20
|
-
return unwrapAsync(
|
|
78
|
+
async deactivateAccount(request, options) {
|
|
79
|
+
return unwrapAsync(authUserDeactivateAccount(this, request, options));
|
|
21
80
|
}
|
|
22
81
|
/**
|
|
23
82
|
* Change password
|
|
@@ -28,5 +87,32 @@ export class CeStorefrontUser extends ClientSDK {
|
|
|
28
87
|
async changePassword(request, options) {
|
|
29
88
|
return unwrapAsync(authUserChangePassword(this, request, options));
|
|
30
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Forgot password
|
|
92
|
+
*
|
|
93
|
+
* @remarks
|
|
94
|
+
* The Forgot Password API provides a secure mechanism for users to initiate the password recovery process. This API provides one-time password (OTP) token, which facilitas the resetting of user’s account password.
|
|
95
|
+
*/
|
|
96
|
+
async forgotPassword(request, options) {
|
|
97
|
+
return unwrapAsync(authUserForgotPassword(this, request, options));
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Reset password
|
|
101
|
+
*
|
|
102
|
+
* @remarks
|
|
103
|
+
* Reset password
|
|
104
|
+
*/
|
|
105
|
+
async resetPassword(request, options) {
|
|
106
|
+
return unwrapAsync(authUserResetPassword(this, request, options));
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Logout user
|
|
110
|
+
*
|
|
111
|
+
* @remarks
|
|
112
|
+
* 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.
|
|
113
|
+
*/
|
|
114
|
+
async logout(options) {
|
|
115
|
+
return unwrapAsync(authUserLogout(this, options));
|
|
116
|
+
}
|
|
31
117
|
}
|
|
32
118
|
//# sourceMappingURL=cestorefrontuser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cestorefrontuser.js","sourceRoot":"","sources":["../../src/sdk/cestorefrontuser.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"cestorefrontuser.js","sourceRoot":"","sources":["../../src/sdk/cestorefrontuser.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC7C;;;;;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,MAAM,CACV,OAAwC,EACxC,OAAwB;QAExB,OAAO,WAAW,CAAC,cAAc,CAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,eAAe,CACnB,OAAqD,EACrD,OAAwB;QAExB,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,kBAAkB,CACtB,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,kBAAkB,CACtB,OAAuD,EACvD,OAAwB;QAExB,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,eAAe,CACnB,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAAkD,EAClD,OAAwB;QAExB,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAqD,EACrD,OAAwB;QAExB,OAAO,WAAW,CAAC,sBAAsB,CACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAqD,EACrD,OAAwB;QAExB,OAAO,WAAW,CAAC,sBAAsB,CACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,qBAAqB,CACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAwB;QAExB,OAAO,WAAW,CAAC,cAAc,CAC/B,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/customers.d.ts
CHANGED
|
@@ -1,47 +1,36 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as components from "../models/components/index.js";
|
|
3
3
|
import * as operations from "../models/operations/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Addresses } from "./addresses.js";
|
|
5
5
|
import { Loyalty } from "./loyalty.js";
|
|
6
|
+
import { Reviews } from "./reviews.js";
|
|
6
7
|
export declare class Customers extends ClientSDK {
|
|
7
8
|
private _addresses?;
|
|
8
|
-
get addresses():
|
|
9
|
+
get addresses(): Addresses;
|
|
9
10
|
private _loyalty?;
|
|
10
11
|
get loyalty(): Loyalty;
|
|
12
|
+
private _reviews?;
|
|
13
|
+
get reviews(): Reviews;
|
|
11
14
|
/**
|
|
12
15
|
* Create customer
|
|
13
16
|
*
|
|
14
17
|
* @remarks
|
|
15
18
|
* Create customer
|
|
16
19
|
*/
|
|
17
|
-
|
|
20
|
+
postCustomers(request: components.CreateCustomer, options?: RequestOptions): Promise<operations.PostCustomersResponseBody>;
|
|
18
21
|
/**
|
|
19
22
|
* Retrieve customer detail
|
|
20
23
|
*
|
|
21
24
|
* @remarks
|
|
22
25
|
* Retrieve customer detail.
|
|
23
26
|
*/
|
|
24
|
-
|
|
27
|
+
getCustomersId(request: operations.GetCustomersIdRequest, options?: RequestOptions): Promise<operations.GetCustomersIdResponseBody>;
|
|
25
28
|
/**
|
|
26
29
|
* Update customer detail
|
|
27
30
|
*
|
|
28
31
|
* @remarks
|
|
29
32
|
* Update customer detail
|
|
30
33
|
*/
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Add address
|
|
34
|
-
*
|
|
35
|
-
* @remarks
|
|
36
|
-
* Add new address
|
|
37
|
-
*/
|
|
38
|
-
addAddress(request: operations.PostAddressRequest, options?: RequestOptions): Promise<operations.PostAddressResponseBody>;
|
|
39
|
-
/**
|
|
40
|
-
* Retrieve all reviews
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
* Retrieve all reviews
|
|
44
|
-
*/
|
|
45
|
-
getReviews(request: operations.GetCustomersUserIdReviewsRequest, options?: RequestOptions): Promise<operations.GetCustomersUserIdReviewsResponseBody>;
|
|
34
|
+
putCustomersId(request: operations.PutCustomersIdRequest, options?: RequestOptions): Promise<operations.PutCustomersIdResponseBody>;
|
|
46
35
|
}
|
|
47
36
|
//# sourceMappingURL=customers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,qBAAa,SAAU,SAAQ,SAAS;IACtC,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;IAED,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
|
package/esm/sdk/customers.js
CHANGED
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { customersGetReviews } from "../funcs/customersGetReviews.js";
|
|
8
|
-
import { customersUpdate } from "../funcs/customersUpdate.js";
|
|
4
|
+
import { customersGetCustomersId } from "../funcs/customersGetCustomersId.js";
|
|
5
|
+
import { customersPostCustomers } from "../funcs/customersPostCustomers.js";
|
|
6
|
+
import { customersPutCustomersId } from "../funcs/customersPutCustomersId.js";
|
|
9
7
|
import { ClientSDK } from "../lib/sdks.js";
|
|
10
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
11
|
-
import {
|
|
9
|
+
import { Addresses } from "./addresses.js";
|
|
12
10
|
import { Loyalty } from "./loyalty.js";
|
|
11
|
+
import { Reviews } from "./reviews.js";
|
|
13
12
|
export class Customers extends ClientSDK {
|
|
14
13
|
get addresses() {
|
|
15
|
-
return (this._addresses ?? (this._addresses = new
|
|
14
|
+
return (this._addresses ?? (this._addresses = new Addresses(this._options)));
|
|
16
15
|
}
|
|
17
16
|
get loyalty() {
|
|
18
17
|
return (this._loyalty ?? (this._loyalty = new Loyalty(this._options)));
|
|
19
18
|
}
|
|
19
|
+
get reviews() {
|
|
20
|
+
return (this._reviews ?? (this._reviews = new Reviews(this._options)));
|
|
21
|
+
}
|
|
20
22
|
/**
|
|
21
23
|
* Create customer
|
|
22
24
|
*
|
|
23
25
|
* @remarks
|
|
24
26
|
* Create customer
|
|
25
27
|
*/
|
|
26
|
-
async
|
|
27
|
-
return unwrapAsync(
|
|
28
|
+
async postCustomers(request, options) {
|
|
29
|
+
return unwrapAsync(customersPostCustomers(this, request, options));
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
30
32
|
* Retrieve customer detail
|
|
@@ -32,8 +34,8 @@ export class Customers extends ClientSDK {
|
|
|
32
34
|
* @remarks
|
|
33
35
|
* Retrieve customer detail.
|
|
34
36
|
*/
|
|
35
|
-
async
|
|
36
|
-
return unwrapAsync(
|
|
37
|
+
async getCustomersId(request, options) {
|
|
38
|
+
return unwrapAsync(customersGetCustomersId(this, request, options));
|
|
37
39
|
}
|
|
38
40
|
/**
|
|
39
41
|
* Update customer detail
|
|
@@ -41,26 +43,8 @@ export class Customers extends ClientSDK {
|
|
|
41
43
|
* @remarks
|
|
42
44
|
* Update customer detail
|
|
43
45
|
*/
|
|
44
|
-
async
|
|
45
|
-
return unwrapAsync(
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Add address
|
|
49
|
-
*
|
|
50
|
-
* @remarks
|
|
51
|
-
* Add new address
|
|
52
|
-
*/
|
|
53
|
-
async addAddress(request, options) {
|
|
54
|
-
return unwrapAsync(customersAddAddress(this, request, options));
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Retrieve all reviews
|
|
58
|
-
*
|
|
59
|
-
* @remarks
|
|
60
|
-
* Retrieve all reviews
|
|
61
|
-
*/
|
|
62
|
-
async getReviews(request, options) {
|
|
63
|
-
return unwrapAsync(customersGetReviews(this, request, options));
|
|
46
|
+
async putCustomersId(request, options) {
|
|
47
|
+
return unwrapAsync(customersPutCustomersId(this, request, options));
|
|
64
48
|
}
|
|
65
49
|
}
|
|
66
50
|
//# sourceMappingURL=customers.js.map
|
package/esm/sdk/customers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,OAAO,SAAU,SAAQ,SAAS;IAEtC,IAAI,SAAS;QACX,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAGD,IAAI,OAAO;QACT,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAGD,IAAI,OAAO;QACT,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAkC,EAClC,OAAwB;QAExB,OAAO,WAAW,CAAC,sBAAsB,CACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/juspay.d.ts
CHANGED
|
@@ -9,20 +9,20 @@ export declare class Juspay extends ClientSDK {
|
|
|
9
9
|
* Creates an order in the Juspay system and fetches the corresponding client_auth_token.
|
|
10
10
|
* To be used for Express Checkout integration.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
postPaymentsJuspayCreateOrder(request: components.JuspayCreateOrderPayload, options?: RequestOptions): Promise<operations.PostPaymentsJuspayCreateOrderResponseBody>;
|
|
13
13
|
/**
|
|
14
14
|
* Create customer in juspay
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
17
|
* Create customer in juspay.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
postPaymentsJuspayCreateCustomer(request: components.JuspayCreateCustomerPayload, options?: RequestOptions): Promise<operations.PostPaymentsJuspayCreateCustomerResponseBody>;
|
|
20
20
|
/**
|
|
21
21
|
* Retrieve customer from juspay
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
24
|
* Retrieve customer from juspay.
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
getPaymentsJuspayCustomer(request: operations.GetPaymentsJuspayCustomerRequest, options?: RequestOptions): Promise<operations.GetPaymentsJuspayCustomerResponseBody>;
|
|
27
27
|
}
|
|
28
28
|
//# sourceMappingURL=juspay.d.ts.map
|
package/esm/sdk/juspay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspay.d.ts","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACG,
|
|
1
|
+
{"version":3,"file":"juspay.d.ts","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACG,6BAA6B,CACjC,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yCAAyC,CAAC;IAQhE;;;;;OAKG;IACG,gCAAgC,CACpC,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;IAQnE;;;;;OAKG;IACG,yBAAyB,CAC7B,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;CAO7D"}
|
package/esm/sdk/juspay.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { juspayGetPaymentsJuspayCustomer } from "../funcs/juspayGetPaymentsJuspayCustomer.js";
|
|
5
|
+
import { juspayPostPaymentsJuspayCreateCustomer } from "../funcs/juspayPostPaymentsJuspayCreateCustomer.js";
|
|
6
|
+
import { juspayPostPaymentsJuspayCreateOrder } from "../funcs/juspayPostPaymentsJuspayCreateOrder.js";
|
|
7
7
|
import { ClientSDK } from "../lib/sdks.js";
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
export class Juspay extends ClientSDK {
|
|
@@ -14,8 +14,8 @@ export class Juspay extends ClientSDK {
|
|
|
14
14
|
* Creates an order in the Juspay system and fetches the corresponding client_auth_token.
|
|
15
15
|
* To be used for Express Checkout integration.
|
|
16
16
|
*/
|
|
17
|
-
async
|
|
18
|
-
return unwrapAsync(
|
|
17
|
+
async postPaymentsJuspayCreateOrder(request, options) {
|
|
18
|
+
return unwrapAsync(juspayPostPaymentsJuspayCreateOrder(this, request, options));
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Create customer in juspay
|
|
@@ -23,8 +23,8 @@ export class Juspay extends ClientSDK {
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* Create customer in juspay.
|
|
25
25
|
*/
|
|
26
|
-
async
|
|
27
|
-
return unwrapAsync(
|
|
26
|
+
async postPaymentsJuspayCreateCustomer(request, options) {
|
|
27
|
+
return unwrapAsync(juspayPostPaymentsJuspayCreateCustomer(this, request, options));
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Retrieve customer from juspay
|
|
@@ -32,8 +32,8 @@ export class Juspay extends ClientSDK {
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Retrieve customer from juspay.
|
|
34
34
|
*/
|
|
35
|
-
async
|
|
36
|
-
return unwrapAsync(
|
|
35
|
+
async getPaymentsJuspayCustomer(request, options) {
|
|
36
|
+
return unwrapAsync(juspayGetPaymentsJuspayCustomer(this, request, options));
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=juspay.js.map
|
package/esm/sdk/juspay.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juspay.js","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"juspay.js","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAC9F,OAAO,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AAC5G,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACH,KAAK,CAAC,6BAA6B,CACjC,OAA4C,EAC5C,OAAwB;QAExB,OAAO,WAAW,CAAC,mCAAmC,CACpD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gCAAgC,CACpC,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,sCAAsC,CACvD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,yBAAyB,CAC7B,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/loyalty.d.ts
CHANGED
|
@@ -8,5 +8,12 @@ export declare class Loyalty extends ClientSDK {
|
|
|
8
8
|
* Retrieve loyalty details
|
|
9
9
|
*/
|
|
10
10
|
get(request: operations.GetLoyaltyPointRequest, options?: RequestOptions): Promise<operations.GetLoyaltyPointResponseBody>;
|
|
11
|
+
/**
|
|
12
|
+
* List all loyalty points activity
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* List all loyalty points activity
|
|
16
|
+
*/
|
|
17
|
+
listActivities(request: operations.GetLoyaltyPointActivityRequest, options?: RequestOptions): Promise<operations.GetLoyaltyPointActivityResponseBody>;
|
|
11
18
|
}
|
|
12
19
|
//# sourceMappingURL=loyalty.d.ts.map
|
package/esm/sdk/loyalty.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty.d.ts","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loyalty.d.ts","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAQlD;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mCAAmC,CAAC;CAO3D"}
|
package/esm/sdk/loyalty.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import { customersLoyaltyGet } from "../funcs/customersLoyaltyGet.js";
|
|
5
|
+
import { customersLoyaltyListActivities } from "../funcs/customersLoyaltyListActivities.js";
|
|
5
6
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
7
|
import { unwrapAsync } from "../types/fp.js";
|
|
7
8
|
export class Loyalty extends ClientSDK {
|
|
@@ -14,5 +15,14 @@ export class Loyalty extends ClientSDK {
|
|
|
14
15
|
async get(request, options) {
|
|
15
16
|
return unwrapAsync(customersLoyaltyGet(this, request, options));
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* List all loyalty points activity
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* List all loyalty points activity
|
|
23
|
+
*/
|
|
24
|
+
async listActivities(request, options) {
|
|
25
|
+
return unwrapAsync(customersLoyaltyListActivities(this, request, options));
|
|
26
|
+
}
|
|
17
27
|
}
|
|
18
28
|
//# sourceMappingURL=loyalty.js.map
|
package/esm/sdk/loyalty.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty.js","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAA0C,EAC1C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"loyalty.js","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAA0C,EAC1C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAkD,EAClD,OAAwB;QAExB,OAAO,WAAW,CAAC,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -8,5 +8,19 @@ export declare class NotificationPreferences extends ClientSDK {
|
|
|
8
8
|
* The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
|
|
9
9
|
*/
|
|
10
10
|
get(request: operations.GetAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdNotificationPreferencesResponseBody>;
|
|
11
|
+
/**
|
|
12
|
+
* Create user notification preferences
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
|
|
16
|
+
*/
|
|
17
|
+
create(request: operations.PostAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PostAuthUserIdNotificationPreferencesResponseBody>;
|
|
18
|
+
/**
|
|
19
|
+
* Update user notification preferences
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
|
|
23
|
+
*/
|
|
24
|
+
update(request: operations.PutAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdNotificationPreferencesResponseBody>;
|
|
11
25
|
}
|
|
12
26
|
//# sourceMappingURL=notificationpreferences.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationpreferences.d.ts","sourceRoot":"","sources":["../../src/sdk/notificationpreferences.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationpreferences.d.ts","sourceRoot":"","sources":["../../src/sdk/notificationpreferences.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,uBAAwB,SAAQ,SAAS;IACpD;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;IAQvE;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,4CAA4C,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iDAAiD,CAAC;IAQxE;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;CAOxE"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { userNotificationPreferencesCreate } from "../funcs/userNotificationPreferencesCreate.js";
|
|
5
|
+
import { userNotificationPreferencesGet } from "../funcs/userNotificationPreferencesGet.js";
|
|
6
|
+
import { userNotificationPreferencesUpdate } from "../funcs/userNotificationPreferencesUpdate.js";
|
|
5
7
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
7
9
|
export class NotificationPreferences extends ClientSDK {
|
|
@@ -12,7 +14,25 @@ export class NotificationPreferences extends ClientSDK {
|
|
|
12
14
|
* The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
|
|
13
15
|
*/
|
|
14
16
|
async get(request, options) {
|
|
15
|
-
return unwrapAsync(
|
|
17
|
+
return unwrapAsync(userNotificationPreferencesGet(this, request, options));
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Create user notification preferences
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
|
|
24
|
+
*/
|
|
25
|
+
async create(request, options) {
|
|
26
|
+
return unwrapAsync(userNotificationPreferencesCreate(this, request, options));
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Update user notification preferences
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
|
|
33
|
+
*/
|
|
34
|
+
async update(request, options) {
|
|
35
|
+
return unwrapAsync(userNotificationPreferencesUpdate(this, request, options));
|
|
16
36
|
}
|
|
17
37
|
}
|
|
18
38
|
//# sourceMappingURL=notificationpreferences.js.map
|