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
|
@@ -88,27 +88,27 @@ export type SingleProductDetail = {
|
|
|
88
88
|
slug: string | null;
|
|
89
89
|
shortDescription: string | null;
|
|
90
90
|
productType: SingleProductDetailProductType;
|
|
91
|
-
active
|
|
91
|
+
active: boolean;
|
|
92
92
|
/**
|
|
93
93
|
* Indicates whether the product has stock available
|
|
94
94
|
*/
|
|
95
|
-
stockAvailable
|
|
95
|
+
stockAvailable: boolean;
|
|
96
96
|
/**
|
|
97
97
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
98
98
|
*/
|
|
99
|
-
onOffer
|
|
99
|
+
onOffer: boolean;
|
|
100
100
|
/**
|
|
101
101
|
* Indicates whether the product has any subscription plans avaialble
|
|
102
102
|
*/
|
|
103
|
-
onSubscription
|
|
103
|
+
onSubscription: boolean;
|
|
104
104
|
/**
|
|
105
105
|
* Indicates whether the product is currently on promotion. When true, the `ProductPromotion` object will contain details of the promotion
|
|
106
106
|
*/
|
|
107
|
-
onPromotion
|
|
107
|
+
onPromotion: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* Indicates whether the product has variants
|
|
110
110
|
*/
|
|
111
|
-
hasVariant
|
|
111
|
+
hasVariant: boolean;
|
|
112
112
|
tags: Array<string> | null;
|
|
113
113
|
categoryIds: Array<string>;
|
|
114
114
|
reviewsRatingSum: number;
|
|
@@ -172,12 +172,12 @@ export const SingleProductDetail$inboundSchema: z.ZodType<
|
|
|
172
172
|
slug: z.nullable(z.string()),
|
|
173
173
|
short_description: z.nullable(z.string()),
|
|
174
174
|
product_type: SingleProductDetailProductType$inboundSchema,
|
|
175
|
-
active: z.boolean()
|
|
176
|
-
stock_available: z.boolean()
|
|
177
|
-
on_offer: z.boolean()
|
|
178
|
-
on_subscription: z.boolean()
|
|
179
|
-
on_promotion: z.boolean()
|
|
180
|
-
has_variant: z.boolean()
|
|
175
|
+
active: z.boolean(),
|
|
176
|
+
stock_available: z.boolean(),
|
|
177
|
+
on_offer: z.boolean(),
|
|
178
|
+
on_subscription: z.boolean(),
|
|
179
|
+
on_promotion: z.boolean(),
|
|
180
|
+
has_variant: z.boolean(),
|
|
181
181
|
tags: z.nullable(z.array(z.string())),
|
|
182
182
|
category_ids: z.array(z.string()),
|
|
183
183
|
reviews_rating_sum: z.number(),
|
|
@@ -263,12 +263,12 @@ export const SingleProductDetail$outboundSchema: z.ZodType<
|
|
|
263
263
|
slug: z.nullable(z.string()),
|
|
264
264
|
shortDescription: z.nullable(z.string()),
|
|
265
265
|
productType: SingleProductDetailProductType$outboundSchema,
|
|
266
|
-
active: z.boolean()
|
|
267
|
-
stockAvailable: z.boolean()
|
|
268
|
-
onOffer: z.boolean()
|
|
269
|
-
onSubscription: z.boolean()
|
|
270
|
-
onPromotion: z.boolean()
|
|
271
|
-
hasVariant: z.boolean()
|
|
266
|
+
active: z.boolean(),
|
|
267
|
+
stockAvailable: z.boolean(),
|
|
268
|
+
onOffer: z.boolean(),
|
|
269
|
+
onSubscription: z.boolean(),
|
|
270
|
+
onPromotion: z.boolean(),
|
|
271
|
+
hasVariant: z.boolean(),
|
|
272
272
|
tags: z.nullable(z.array(z.string())),
|
|
273
273
|
categoryIds: z.array(z.string()),
|
|
274
274
|
reviewsRatingSum: z.number(),
|
|
@@ -61,14 +61,14 @@ export type Sku = {
|
|
|
61
61
|
variantName: string | null;
|
|
62
62
|
productType: SKUProductType;
|
|
63
63
|
shortDescription: string | null;
|
|
64
|
-
active
|
|
65
|
-
stockAvailable
|
|
64
|
+
active: boolean;
|
|
65
|
+
stockAvailable: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
68
68
|
*/
|
|
69
|
-
onOffer
|
|
70
|
-
onSubscription
|
|
71
|
-
onPromotion
|
|
69
|
+
onOffer: boolean;
|
|
70
|
+
onSubscription: boolean;
|
|
71
|
+
onPromotion: boolean;
|
|
72
72
|
categoryIds: Array<string>;
|
|
73
73
|
tags: Array<string> | null;
|
|
74
74
|
reviewsCount: number;
|
|
@@ -113,11 +113,11 @@ export const Sku$inboundSchema: z.ZodType<Sku, z.ZodTypeDef, unknown> = z
|
|
|
113
113
|
variant_name: z.nullable(z.string()),
|
|
114
114
|
product_type: SKUProductType$inboundSchema,
|
|
115
115
|
short_description: z.nullable(z.string()),
|
|
116
|
-
active: z.boolean()
|
|
117
|
-
stock_available: z.boolean()
|
|
118
|
-
on_offer: z.boolean()
|
|
119
|
-
on_subscription: z.boolean()
|
|
120
|
-
on_promotion: z.boolean()
|
|
116
|
+
active: z.boolean(),
|
|
117
|
+
stock_available: z.boolean(),
|
|
118
|
+
on_offer: z.boolean(),
|
|
119
|
+
on_subscription: z.boolean(),
|
|
120
|
+
on_promotion: z.boolean(),
|
|
121
121
|
category_ids: z.array(z.string()),
|
|
122
122
|
tags: z.nullable(z.array(z.string())),
|
|
123
123
|
reviews_count: z.number().int(),
|
|
@@ -185,11 +185,11 @@ export const Sku$outboundSchema: z.ZodType<Sku$Outbound, z.ZodTypeDef, Sku> = z
|
|
|
185
185
|
variantName: z.nullable(z.string()),
|
|
186
186
|
productType: SKUProductType$outboundSchema,
|
|
187
187
|
shortDescription: z.nullable(z.string()),
|
|
188
|
-
active: z.boolean()
|
|
189
|
-
stockAvailable: z.boolean()
|
|
190
|
-
onOffer: z.boolean()
|
|
191
|
-
onSubscription: z.boolean()
|
|
192
|
-
onPromotion: z.boolean()
|
|
188
|
+
active: z.boolean(),
|
|
189
|
+
stockAvailable: z.boolean(),
|
|
190
|
+
onOffer: z.boolean(),
|
|
191
|
+
onSubscription: z.boolean(),
|
|
192
|
+
onPromotion: z.boolean(),
|
|
193
193
|
categoryIds: z.array(z.string()),
|
|
194
194
|
tags: z.nullable(z.array(z.string())),
|
|
195
195
|
reviewsCount: z.number().int(),
|
|
@@ -66,9 +66,9 @@ export type Variant = {
|
|
|
66
66
|
/**
|
|
67
67
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
68
68
|
*/
|
|
69
|
-
onOffer
|
|
70
|
-
onPromotion
|
|
71
|
-
onSubscription
|
|
69
|
+
onOffer: boolean;
|
|
70
|
+
onPromotion: boolean;
|
|
71
|
+
onSubscription: boolean;
|
|
72
72
|
/**
|
|
73
73
|
* Indicates whether a variant is marked as the default variant for a product
|
|
74
74
|
*/
|
|
@@ -95,9 +95,9 @@ export const Variant$inboundSchema: z.ZodType<Variant, z.ZodTypeDef, unknown> =
|
|
|
95
95
|
short_description: z.nullable(z.string()),
|
|
96
96
|
active: z.boolean(),
|
|
97
97
|
stock_available: z.boolean(),
|
|
98
|
-
on_offer: z.boolean()
|
|
99
|
-
on_promotion: z.boolean()
|
|
100
|
-
on_subscription: z.boolean()
|
|
98
|
+
on_offer: z.boolean(),
|
|
99
|
+
on_promotion: z.boolean(),
|
|
100
|
+
on_subscription: z.boolean(),
|
|
101
101
|
is_default: z.boolean(),
|
|
102
102
|
associated_options: z.record(AssociatedOption$inboundSchema),
|
|
103
103
|
images: z.array(ProductImage$inboundSchema),
|
|
@@ -155,9 +155,9 @@ export const Variant$outboundSchema: z.ZodType<
|
|
|
155
155
|
shortDescription: z.nullable(z.string()),
|
|
156
156
|
active: z.boolean(),
|
|
157
157
|
stockAvailable: z.boolean(),
|
|
158
|
-
onOffer: z.boolean()
|
|
159
|
-
onPromotion: z.boolean()
|
|
160
|
-
onSubscription: z.boolean()
|
|
158
|
+
onOffer: z.boolean(),
|
|
159
|
+
onPromotion: z.boolean(),
|
|
160
|
+
onSubscription: z.boolean(),
|
|
161
161
|
isDefault: z.boolean(),
|
|
162
162
|
associatedOptions: z.record(AssociatedOption$outboundSchema),
|
|
163
163
|
images: z.array(ProductImage$outboundSchema),
|
|
@@ -106,9 +106,9 @@ export type VariantDetail = {
|
|
|
106
106
|
/**
|
|
107
107
|
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
108
108
|
*/
|
|
109
|
-
onOffer
|
|
110
|
-
onPromotion
|
|
111
|
-
onSubscription
|
|
109
|
+
onOffer: boolean;
|
|
110
|
+
onPromotion: boolean;
|
|
111
|
+
onSubscription: boolean;
|
|
112
112
|
/**
|
|
113
113
|
* Indicates whether a variant is marked as the default variant for a product
|
|
114
114
|
*/
|
|
@@ -173,9 +173,9 @@ export const VariantDetail$inboundSchema: z.ZodType<
|
|
|
173
173
|
short_description: z.nullable(z.string()),
|
|
174
174
|
active: z.boolean(),
|
|
175
175
|
stock_available: z.boolean(),
|
|
176
|
-
on_offer: z.boolean()
|
|
177
|
-
on_promotion: z.boolean()
|
|
178
|
-
on_subscription: z.boolean()
|
|
176
|
+
on_offer: z.boolean(),
|
|
177
|
+
on_promotion: z.boolean(),
|
|
178
|
+
on_subscription: z.boolean(),
|
|
179
179
|
is_default: z.boolean(),
|
|
180
180
|
associated_options: z.record(AssociatedOption$inboundSchema),
|
|
181
181
|
images: z.array(ProductImage$inboundSchema),
|
|
@@ -269,9 +269,9 @@ export const VariantDetail$outboundSchema: z.ZodType<
|
|
|
269
269
|
shortDescription: z.nullable(z.string()),
|
|
270
270
|
active: z.boolean(),
|
|
271
271
|
stockAvailable: z.boolean(),
|
|
272
|
-
onOffer: z.boolean()
|
|
273
|
-
onPromotion: z.boolean()
|
|
274
|
-
onSubscription: z.boolean()
|
|
272
|
+
onOffer: z.boolean(),
|
|
273
|
+
onPromotion: z.boolean(),
|
|
274
|
+
onSubscription: z.boolean(),
|
|
275
275
|
isDefault: z.boolean(),
|
|
276
276
|
associatedOptions: z.record(AssociatedOption$outboundSchema),
|
|
277
277
|
images: z.array(ProductImage$outboundSchema),
|
package/src/sdk/addresses.ts
CHANGED
|
@@ -2,12 +2,50 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { customersAddressesAdd } from "../funcs/customersAddressesAdd.js";
|
|
6
|
+
import { customersAddressesDelete } from "../funcs/customersAddressesDelete.js";
|
|
7
|
+
import { customersAddressesGet } from "../funcs/customersAddressesGet.js";
|
|
8
|
+
import { customersAddressesList } from "../funcs/customersAddressesList.js";
|
|
9
|
+
import { customersAddressesUpdate } from "../funcs/customersAddressesUpdate.js";
|
|
6
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
11
|
import * as operations from "../models/operations/index.js";
|
|
8
12
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
13
|
|
|
10
14
|
export class Addresses extends ClientSDK {
|
|
15
|
+
/**
|
|
16
|
+
* Retrieve all addresses
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Retrieve billing and shipping address of particular customer
|
|
20
|
+
*/
|
|
21
|
+
async list(
|
|
22
|
+
request: operations.GetAddressRequest,
|
|
23
|
+
options?: RequestOptions,
|
|
24
|
+
): Promise<operations.GetAddressResponseBody> {
|
|
25
|
+
return unwrapAsync(customersAddressesList(
|
|
26
|
+
this,
|
|
27
|
+
request,
|
|
28
|
+
options,
|
|
29
|
+
));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Add address
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Add new address
|
|
37
|
+
*/
|
|
38
|
+
async add(
|
|
39
|
+
request: operations.PostAddressRequest,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): Promise<operations.PostAddressResponseBody> {
|
|
42
|
+
return unwrapAsync(customersAddressesAdd(
|
|
43
|
+
this,
|
|
44
|
+
request,
|
|
45
|
+
options,
|
|
46
|
+
));
|
|
47
|
+
}
|
|
48
|
+
|
|
11
49
|
/**
|
|
12
50
|
* Retrieve particular address
|
|
13
51
|
*
|
|
@@ -18,7 +56,41 @@ export class Addresses extends ClientSDK {
|
|
|
18
56
|
request: operations.GetCustomerAddressIdRequest,
|
|
19
57
|
options?: RequestOptions,
|
|
20
58
|
): Promise<operations.GetCustomerAddressIdResponseBody> {
|
|
21
|
-
return unwrapAsync(
|
|
59
|
+
return unwrapAsync(customersAddressesGet(
|
|
60
|
+
this,
|
|
61
|
+
request,
|
|
62
|
+
options,
|
|
63
|
+
));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Update particular address
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
* Update address
|
|
71
|
+
*/
|
|
72
|
+
async update(
|
|
73
|
+
request: operations.PutCustomerAddressIdRequest,
|
|
74
|
+
options?: RequestOptions,
|
|
75
|
+
): Promise<operations.PutCustomerAddressIdResponseBody> {
|
|
76
|
+
return unwrapAsync(customersAddressesUpdate(
|
|
77
|
+
this,
|
|
78
|
+
request,
|
|
79
|
+
options,
|
|
80
|
+
));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Remove particular address
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* Delete address
|
|
88
|
+
*/
|
|
89
|
+
async delete(
|
|
90
|
+
request: operations.DeleteCustomerAddressIdRequest,
|
|
91
|
+
options?: RequestOptions,
|
|
92
|
+
): Promise<operations.DeleteCustomerAddressIdResponseBody> {
|
|
93
|
+
return unwrapAsync(customersAddressesDelete(
|
|
22
94
|
this,
|
|
23
95
|
request,
|
|
24
96
|
options,
|
package/src/sdk/auth.ts
CHANGED
|
@@ -8,7 +8,6 @@ import { authLoginWithEmail } from "../funcs/authLoginWithEmail.js";
|
|
|
8
8
|
import { authLoginWithPassword } from "../funcs/authLoginWithPassword.js";
|
|
9
9
|
import { authLoginWithPhone } from "../funcs/authLoginWithPhone.js";
|
|
10
10
|
import { authLoginWithWhatsapp } from "../funcs/authLoginWithWhatsapp.js";
|
|
11
|
-
import { authLogout } from "../funcs/authLogout.js";
|
|
12
11
|
import { authRefreshToken } from "../funcs/authRefreshToken.js";
|
|
13
12
|
import { authRegisterWithEmail } from "../funcs/authRegisterWithEmail.js";
|
|
14
13
|
import { authRegisterWithPassword } from "../funcs/authRegisterWithPassword.js";
|
|
@@ -20,14 +19,8 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
20
19
|
import * as operations from "../models/operations/index.js";
|
|
21
20
|
import { unwrapAsync } from "../types/fp.js";
|
|
22
21
|
import { CeStorefrontUser } from "./cestorefrontuser.js";
|
|
23
|
-
import { CeStorefrontUsers } from "./cestorefrontusers.js";
|
|
24
22
|
|
|
25
23
|
export class Auth extends ClientSDK {
|
|
26
|
-
private _users?: CeStorefrontUsers;
|
|
27
|
-
get users(): CeStorefrontUsers {
|
|
28
|
-
return (this._users ??= new CeStorefrontUsers(this._options));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
24
|
private _user?: CeStorefrontUser;
|
|
32
25
|
get user(): CeStorefrontUser {
|
|
33
26
|
return (this._user ??= new CeStorefrontUser(this._options));
|
|
@@ -241,21 +234,6 @@ export class Auth extends ClientSDK {
|
|
|
241
234
|
));
|
|
242
235
|
}
|
|
243
236
|
|
|
244
|
-
/**
|
|
245
|
-
* Logout user
|
|
246
|
-
*
|
|
247
|
-
* @remarks
|
|
248
|
-
* The Logout User API initiate the logout process for a user. Upon a successful request, the API responds with a confirmation message. If the user is not found or there's an issue with the request, an error response is returned with an appropriate message.
|
|
249
|
-
*/
|
|
250
|
-
async logout(
|
|
251
|
-
options?: RequestOptions,
|
|
252
|
-
): Promise<operations.PostAuthLogoutResponseBody> {
|
|
253
|
-
return unwrapAsync(authLogout(
|
|
254
|
-
this,
|
|
255
|
-
options,
|
|
256
|
-
));
|
|
257
|
-
}
|
|
258
|
-
|
|
259
237
|
/**
|
|
260
238
|
* Check verified email phone
|
|
261
239
|
*
|
package/src/sdk/catalog.ts
CHANGED
|
@@ -4,12 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
6
|
import { Categories } from "./categories.js";
|
|
7
|
-
import {
|
|
7
|
+
import { Products } from "./products.js";
|
|
8
|
+
import { Skus } from "./skus.js";
|
|
8
9
|
|
|
9
10
|
export class Catalog extends ClientSDK {
|
|
10
|
-
private _products?:
|
|
11
|
-
get products():
|
|
12
|
-
return (this._products ??= new
|
|
11
|
+
private _products?: Products;
|
|
12
|
+
get products(): Products {
|
|
13
|
+
return (this._products ??= new Products(this._options));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
private _skus?: Skus;
|
|
17
|
+
get skus(): Skus {
|
|
18
|
+
return (this._skus ??= new Skus(this._options));
|
|
13
19
|
}
|
|
14
20
|
|
|
15
21
|
private _categories?: Categories;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { catalogProductsReviewsCreate } from "../funcs/catalogProductsReviewsCreate.js";
|
|
6
|
+
import { catalogProductsReviewsList } from "../funcs/catalogProductsReviewsList.js";
|
|
7
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
+
|
|
11
|
+
export class CeStorefrontReviews extends ClientSDK {
|
|
12
|
+
/**
|
|
13
|
+
* List all product reviews
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
async list(
|
|
19
|
+
request: operations.GetProductsIdReviewsRequest,
|
|
20
|
+
options?: RequestOptions,
|
|
21
|
+
): Promise<operations.GetProductsIdReviewsResponseBody> {
|
|
22
|
+
return unwrapAsync(catalogProductsReviewsList(
|
|
23
|
+
this,
|
|
24
|
+
request,
|
|
25
|
+
options,
|
|
26
|
+
));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Create product review
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Create a product review
|
|
34
|
+
*/
|
|
35
|
+
async create(
|
|
36
|
+
request: operations.PostProductsIdReviewsRequest,
|
|
37
|
+
options?: RequestOptions,
|
|
38
|
+
): Promise<operations.PostProductsIdReviewsResponseBody> {
|
|
39
|
+
return unwrapAsync(catalogProductsReviewsCreate(
|
|
40
|
+
this,
|
|
41
|
+
request,
|
|
42
|
+
options,
|
|
43
|
+
));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -2,18 +2,121 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { authUserAddProfileImage } from "../funcs/authUserAddProfileImage.js";
|
|
5
6
|
import { authUserChangePassword } from "../funcs/authUserChangePassword.js";
|
|
6
|
-
import {
|
|
7
|
+
import { authUserDeactivateAccount } from "../funcs/authUserDeactivateAccount.js";
|
|
8
|
+
import { authUserDeleteProfileImage } from "../funcs/authUserDeleteProfileImage.js";
|
|
9
|
+
import { authUserForgotPassword } from "../funcs/authUserForgotPassword.js";
|
|
10
|
+
import { authUserGet } from "../funcs/authUserGet.js";
|
|
11
|
+
import { authUserGetProfileImage } from "../funcs/authUserGetProfileImage.js";
|
|
12
|
+
import { authUserLogout } from "../funcs/authUserLogout.js";
|
|
13
|
+
import { authUserResetPassword } from "../funcs/authUserResetPassword.js";
|
|
14
|
+
import { authUserUpdate } from "../funcs/authUserUpdate.js";
|
|
15
|
+
import { authUserUpdateProfileImage } from "../funcs/authUserUpdateProfileImage.js";
|
|
7
16
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
17
|
import * as operations from "../models/operations/index.js";
|
|
9
18
|
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
-
import { NotificationPreferences } from "./notificationpreferences.js";
|
|
11
19
|
|
|
12
20
|
export class CeStorefrontUser extends ClientSDK {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Retrieve a user
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* The Retrieve User API is designed to facilitate the retrieval of comprehensive user information from the system. A required parameter is a user-id of the user whose information needs to be retrieved.
|
|
26
|
+
*/
|
|
27
|
+
async get(
|
|
28
|
+
request: operations.GetAuthUserIdRequest,
|
|
29
|
+
options?: RequestOptions,
|
|
30
|
+
): Promise<operations.GetAuthUserIdResponseBody> {
|
|
31
|
+
return unwrapAsync(authUserGet(
|
|
32
|
+
this,
|
|
33
|
+
request,
|
|
34
|
+
options,
|
|
35
|
+
));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Update a user
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* The Update User API helps to efficiently modify and enhance user information within the system, ensuring that user profiles remain accurate and up-to-date. This API provides a secure and flexible mechanism for updating specific details while maintaining adherence to established conventions.
|
|
43
|
+
*/
|
|
44
|
+
async update(
|
|
45
|
+
request: operations.PutAuthUserIdRequest,
|
|
46
|
+
options?: RequestOptions,
|
|
47
|
+
): Promise<operations.PutAuthUserIdResponseBody> {
|
|
48
|
+
return unwrapAsync(authUserUpdate(
|
|
49
|
+
this,
|
|
50
|
+
request,
|
|
51
|
+
options,
|
|
52
|
+
));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Add profile image
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* The Profile Image API streamlines the process of uploading profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
|
|
60
|
+
*/
|
|
61
|
+
async addProfileImage(
|
|
62
|
+
request: operations.PostAuthUserIdProfileImageRequest,
|
|
63
|
+
options?: RequestOptions,
|
|
64
|
+
): Promise<operations.PostAuthUserIdProfileImageResponseBody> {
|
|
65
|
+
return unwrapAsync(authUserAddProfileImage(
|
|
66
|
+
this,
|
|
67
|
+
request,
|
|
68
|
+
options,
|
|
69
|
+
));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Update profile image
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* The Profile Image API streamlines the process of updating profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
|
|
77
|
+
*/
|
|
78
|
+
async updateProfileImage(
|
|
79
|
+
request: operations.PutAuthUserIdProfileImageRequest,
|
|
80
|
+
options?: RequestOptions,
|
|
81
|
+
): Promise<operations.PutAuthUserIdProfileImageResponseBody> {
|
|
82
|
+
return unwrapAsync(authUserUpdateProfileImage(
|
|
83
|
+
this,
|
|
84
|
+
request,
|
|
85
|
+
options,
|
|
86
|
+
));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Delete profile image
|
|
91
|
+
*
|
|
92
|
+
* @remarks
|
|
93
|
+
* Delete profile image API streamlines the process of removing profile images associating with user accounts. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution.
|
|
94
|
+
*/
|
|
95
|
+
async deleteProfileImage(
|
|
96
|
+
request: operations.DeleteAuthUserIdProfileImageRequest,
|
|
97
|
+
options?: RequestOptions,
|
|
98
|
+
): Promise<operations.DeleteAuthUserIdProfileImageResponseBody> {
|
|
99
|
+
return unwrapAsync(authUserDeleteProfileImage(
|
|
100
|
+
this,
|
|
101
|
+
request,
|
|
102
|
+
options,
|
|
103
|
+
));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Retrieve a profile image
|
|
108
|
+
*
|
|
109
|
+
* @remarks
|
|
110
|
+
* Retrieve user profile image API streamlines the process of retriving profile images associating with user accounts. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution.
|
|
111
|
+
*/
|
|
112
|
+
async getProfileImage(
|
|
113
|
+
request: operations.GetAuthUserIdProfileImageRequest,
|
|
114
|
+
options?: RequestOptions,
|
|
115
|
+
): Promise<operations.GetAuthUserIdProfileImageResponseBody> {
|
|
116
|
+
return unwrapAsync(authUserGetProfileImage(
|
|
117
|
+
this,
|
|
118
|
+
request,
|
|
119
|
+
options,
|
|
17
120
|
));
|
|
18
121
|
}
|
|
19
122
|
|
|
@@ -23,11 +126,11 @@ export class CeStorefrontUser extends ClientSDK {
|
|
|
23
126
|
* @remarks
|
|
24
127
|
* 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.
|
|
25
128
|
*/
|
|
26
|
-
async
|
|
129
|
+
async deactivateAccount(
|
|
27
130
|
request: operations.PutAuthUserIdDeactivateRequest,
|
|
28
131
|
options?: RequestOptions,
|
|
29
132
|
): Promise<operations.PutAuthUserIdDeactivateResponseBody> {
|
|
30
|
-
return unwrapAsync(
|
|
133
|
+
return unwrapAsync(authUserDeactivateAccount(
|
|
31
134
|
this,
|
|
32
135
|
request,
|
|
33
136
|
options,
|
|
@@ -50,4 +153,53 @@ export class CeStorefrontUser extends ClientSDK {
|
|
|
50
153
|
options,
|
|
51
154
|
));
|
|
52
155
|
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Forgot password
|
|
159
|
+
*
|
|
160
|
+
* @remarks
|
|
161
|
+
* The Forgot Password API provides a secure mechanism for users to initiate the password recovery process. This API provides one-time password (OTP) token, which facilitas the resetting of user’s account password.
|
|
162
|
+
*/
|
|
163
|
+
async forgotPassword(
|
|
164
|
+
request: operations.PostAuthForgotPasswordRequestBody,
|
|
165
|
+
options?: RequestOptions,
|
|
166
|
+
): Promise<operations.PostAuthForgotPasswordResponseBody> {
|
|
167
|
+
return unwrapAsync(authUserForgotPassword(
|
|
168
|
+
this,
|
|
169
|
+
request,
|
|
170
|
+
options,
|
|
171
|
+
));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Reset password
|
|
176
|
+
*
|
|
177
|
+
* @remarks
|
|
178
|
+
* Reset password
|
|
179
|
+
*/
|
|
180
|
+
async resetPassword(
|
|
181
|
+
request: operations.PostAuthResetPasswordRequestBody,
|
|
182
|
+
options?: RequestOptions,
|
|
183
|
+
): Promise<operations.PostAuthResetPasswordResponseBody> {
|
|
184
|
+
return unwrapAsync(authUserResetPassword(
|
|
185
|
+
this,
|
|
186
|
+
request,
|
|
187
|
+
options,
|
|
188
|
+
));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Logout user
|
|
193
|
+
*
|
|
194
|
+
* @remarks
|
|
195
|
+
* The Logout User API initiate the logout process for a user. Upon a successful request, the API responds with a confirmation message. If the user is not found or there's an issue with the request, an error response is returned with an appropriate message.
|
|
196
|
+
*/
|
|
197
|
+
async logout(
|
|
198
|
+
options?: RequestOptions,
|
|
199
|
+
): Promise<operations.PostAuthLogoutResponseBody> {
|
|
200
|
+
return unwrapAsync(authUserLogout(
|
|
201
|
+
this,
|
|
202
|
+
options,
|
|
203
|
+
));
|
|
204
|
+
}
|
|
53
205
|
}
|