ce-storefront 0.0.1 → 0.0.4
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/.devcontainer/README.md +5 -0
- package/README.md +101 -117
- package/docs/sdks/addresses/README.md +78 -0
- package/docs/sdks/analytics/README.md +5 -5
- package/docs/sdks/auth/README.md +91 -24
- package/docs/sdks/campaigns/README.md +1 -79
- package/docs/sdks/cestorefrontuser/README.md +850 -0
- package/docs/sdks/{common → coupons}/README.md +9 -9
- package/docs/sdks/customers/README.md +1 -83
- package/docs/sdks/{upsell → customersapi}/README.md +16 -10
- package/docs/sdks/{otp → newsletter}/README.md +10 -10
- package/docs/sdks/{returns → notificationpreferences}/README.md +35 -39
- package/docs/sdks/offers/README.md +1 -152
- package/docs/sdks/orders/README.md +0 -73
- package/docs/sdks/products/README.md +228 -0
- package/docs/sdks/{recommended → promotions}/README.md +8 -9
- package/docs/sdks/reviews/README.md +5 -5
- package/docs/sdks/shipping/README.md +5 -5
- package/docs/sdks/user/README.md +1 -927
- package/docs/sdks/{countries → utils}/README.md +81 -8
- package/funcs/{analyticsTrackEvent.d.ts → analyticsTrack.d.ts} +2 -2
- package/funcs/analyticsTrack.d.ts.map +1 -0
- package/funcs/{analyticsTrackEvent.js → analyticsTrack.js} +3 -3
- package/funcs/analyticsTrack.js.map +1 -0
- package/funcs/{authOtpGenerate.d.ts → authGenerateOtp.d.ts} +2 -2
- package/funcs/{authOtpGenerate.d.ts.map → authGenerateOtp.d.ts.map} +1 -1
- package/funcs/{authOtpGenerate.js → authGenerateOtp.js} +3 -3
- package/funcs/{authOtpGenerate.js.map → authGenerateOtp.js.map} +1 -1
- package/funcs/authLoginAnonymously.d.ts +16 -0
- package/funcs/authLoginAnonymously.d.ts.map +1 -0
- package/funcs/{ordersGetReturns.js → authLoginAnonymously.js} +21 -13
- package/funcs/authLoginAnonymously.js.map +1 -0
- package/funcs/{authTokenRefresh.d.ts → authRefreshToken.d.ts} +2 -2
- package/funcs/{authTokenRefresh.d.ts.map → authRefreshToken.d.ts.map} +1 -1
- package/funcs/{authTokenRefresh.js → authRefreshToken.js} +3 -3
- package/funcs/{authTokenRefresh.js.map → authRefreshToken.js.map} +1 -1
- package/funcs/{authGetUser.d.ts → authUserGet.d.ts} +2 -2
- package/funcs/{authGetUser.d.ts.map → authUserGet.d.ts.map} +1 -1
- package/funcs/{authGetUser.js → authUserGet.js} +3 -3
- package/funcs/{authGetUser.js.map → authUserGet.js.map} +1 -1
- package/funcs/{authUpdateUser.d.ts → authUserUpdate.d.ts} +2 -2
- package/funcs/{authUpdateUser.d.ts.map → authUserUpdate.d.ts.map} +1 -1
- package/funcs/{authUpdateUser.js → authUserUpdate.js} +3 -3
- package/funcs/{authUpdateUser.js.map → authUserUpdate.js.map} +1 -1
- package/funcs/{campaignsSubscribeNewsletter.d.ts → campaignsNewsletterSubscribe.d.ts} +2 -2
- package/funcs/{campaignsSubscribeNewsletter.d.ts.map → campaignsNewsletterSubscribe.d.ts.map} +1 -1
- package/funcs/{campaignsSubscribeNewsletter.js → campaignsNewsletterSubscribe.js} +3 -3
- package/funcs/{campaignsSubscribeNewsletter.js.map → campaignsNewsletterSubscribe.js.map} +1 -1
- package/funcs/{catalogProductsCrossSellList.d.ts → catalogProductsGetCrossSells.d.ts} +2 -2
- package/funcs/{catalogProductsCrossSellList.d.ts.map → catalogProductsGetCrossSells.d.ts.map} +1 -1
- package/funcs/{catalogProductsCrossSellList.js → catalogProductsGetCrossSells.js} +3 -3
- package/funcs/{catalogProductsCrossSellList.js.map → catalogProductsGetCrossSells.js.map} +1 -1
- package/funcs/{catalogProductsSimilarList.d.ts → catalogProductsGetSimilar.d.ts} +2 -2
- package/funcs/catalogProductsGetSimilar.d.ts.map +1 -0
- package/funcs/{catalogProductsSimilarList.js → catalogProductsGetSimilar.js} +3 -3
- package/funcs/catalogProductsGetSimilar.js.map +1 -0
- package/funcs/{catalogProductsUpSellList.d.ts → catalogProductsGetUpsells.d.ts} +2 -2
- package/funcs/{catalogProductsUpSellList.d.ts.map → catalogProductsGetUpsells.d.ts.map} +1 -1
- package/funcs/{catalogProductsUpSellList.js → catalogProductsGetUpsells.js} +3 -3
- package/funcs/{catalogProductsUpSellList.js.map → catalogProductsGetUpsells.js.map} +1 -1
- package/funcs/{catalogProductsRecommendedList.d.ts → customersAPIGetRecommendedProducts.d.ts} +3 -3
- package/funcs/customersAPIGetRecommendedProducts.d.ts.map +1 -0
- package/funcs/customersAPIGetRecommendedProducts.js +97 -0
- package/funcs/customersAPIGetRecommendedProducts.js.map +1 -0
- package/funcs/{commonCountriesGetPincodes.d.ts → customersAddressesList.d.ts} +4 -4
- package/funcs/customersAddressesList.d.ts.map +1 -0
- package/funcs/{customersGetAddresses.js → customersAddressesList.js} +3 -3
- package/funcs/customersAddressesList.js.map +1 -0
- package/funcs/{customersReviewsGetAll.d.ts → customersReviewsList.d.ts} +2 -2
- package/funcs/customersReviewsList.d.ts.map +1 -0
- package/funcs/{customersReviewsGetAll.js → customersReviewsList.js} +3 -3
- package/funcs/customersReviewsList.js.map +1 -0
- package/funcs/{offersGetCoupons.d.ts → offersCouponsList.d.ts} +2 -2
- package/funcs/offersCouponsList.d.ts.map +1 -0
- package/funcs/{offersGetCoupons.js → offersCouponsList.js} +3 -3
- package/funcs/{ordersGetReturns.js.map → offersCouponsList.js.map} +1 -1
- package/funcs/{offersGetPromotions.d.ts → offersPromotionsList.d.ts} +2 -2
- package/funcs/offersPromotionsList.d.ts.map +1 -0
- package/funcs/{offersGetPromotions.js → offersPromotionsList.js} +3 -3
- package/funcs/offersPromotionsList.js.map +1 -0
- package/funcs/{shippingGetPincodeServiceability.d.ts → shippingCheckPincodeServiceability.d.ts} +2 -2
- package/funcs/shippingCheckPincodeServiceability.d.ts.map +1 -0
- package/funcs/{shippingGetPincodeServiceability.js → shippingCheckPincodeServiceability.js} +3 -3
- package/funcs/shippingCheckPincodeServiceability.js.map +1 -0
- package/funcs/{authUserCreateNotificationPreferences.d.ts → userNotificationPreferencesCreate.d.ts} +2 -2
- package/funcs/userNotificationPreferencesCreate.d.ts.map +1 -0
- package/funcs/{authUserCreateNotificationPreferences.js → userNotificationPreferencesCreate.js} +3 -3
- package/funcs/userNotificationPreferencesCreate.js.map +1 -0
- package/funcs/{authUserGetNotificationPreferences.d.ts → userNotificationPreferencesGet.d.ts} +2 -2
- package/funcs/userNotificationPreferencesGet.d.ts.map +1 -0
- package/funcs/{authUserGetNotificationPreferences.js → userNotificationPreferencesGet.js} +3 -3
- package/funcs/userNotificationPreferencesGet.js.map +1 -0
- package/funcs/{authUserUpdateNotificationPreferences.d.ts → userNotificationPreferencesUpdate.d.ts} +2 -2
- package/funcs/userNotificationPreferencesUpdate.d.ts.map +1 -0
- package/funcs/{authUserUpdateNotificationPreferences.js → userNotificationPreferencesUpdate.js} +3 -3
- package/funcs/userNotificationPreferencesUpdate.js.map +1 -0
- package/funcs/{commonGetCountries.d.ts → utilsGetCountries.d.ts} +2 -2
- package/funcs/utilsGetCountries.d.ts.map +1 -0
- package/funcs/{commonGetCountries.js → utilsGetCountries.js} +3 -3
- package/funcs/utilsGetCountries.js.map +1 -0
- package/funcs/{customersGetAddresses.d.ts → utilsGetPincodes.d.ts} +4 -4
- package/funcs/utilsGetPincodes.d.ts.map +1 -0
- package/funcs/{commonCountriesGetPincodes.js → utilsGetPincodes.js} +3 -3
- package/funcs/utilsGetPincodes.js.map +1 -0
- package/funcs/{commonCountriesGetStates.d.ts → utilsGetStates.d.ts} +2 -2
- package/funcs/utilsGetStates.d.ts.map +1 -0
- package/funcs/{commonCountriesGetStates.js → utilsGetStates.js} +3 -3
- package/funcs/utilsGetStates.js.map +1 -0
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -8
- package/lib/config.js.map +1 -1
- package/models/components/cartitem.js +4 -4
- package/models/components/cartitem.js.map +1 -1
- package/models/components/index.d.ts +1 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -3
- package/models/components/index.js.map +1 -1
- package/models/components/productattribute.js +1 -1
- package/models/components/productattribute.js.map +1 -1
- package/models/components/productdetail.js +5 -5
- package/models/components/productdetail.js.map +1 -1
- package/models/components/productlist.js +5 -5
- package/models/components/productlist.js.map +1 -1
- package/models/components/productreview.js +1 -1
- package/models/components/productreview.js.map +1 -1
- package/models/components/productshipping.js +2 -2
- package/models/components/productshipping.js.map +1 -1
- package/models/components/productsubscription.js +1 -1
- package/models/components/productsubscription.js.map +1 -1
- package/models/components/recommendedproduct.d.ts +149 -0
- package/models/components/recommendedproduct.d.ts.map +1 -0
- package/models/components/recommendedproduct.js +230 -0
- package/models/components/recommendedproduct.js.map +1 -0
- package/models/components/skuinfo.js +4 -4
- package/models/components/skuinfo.js.map +1 -1
- package/models/errors/unauthorized.js +1 -1
- package/models/errors/unauthorized.js.map +1 -1
- package/models/operations/getrecommendedproducts.d.ts +82 -0
- package/models/operations/getrecommendedproducts.d.ts.map +1 -0
- package/models/operations/getrecommendedproducts.js +93 -0
- package/models/operations/getrecommendedproducts.js.map +1 -0
- package/models/operations/index.d.ts +2 -5
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -5
- package/models/operations/index.js.map +1 -1
- package/models/operations/postauthanonymous.d.ts +101 -0
- package/models/operations/postauthanonymous.d.ts.map +1 -0
- package/models/operations/postauthanonymous.js +124 -0
- package/models/operations/postauthanonymous.js.map +1 -0
- package/models/operations/postcartitemid.js +1 -1
- package/models/operations/postcartitemid.js.map +1 -1
- package/package.json +5 -1
- package/sdk/addresses.d.ts +7 -0
- package/sdk/addresses.d.ts.map +1 -1
- package/sdk/addresses.js +10 -0
- package/sdk/addresses.js.map +1 -1
- package/sdk/analytics.d.ts +1 -1
- package/sdk/analytics.d.ts.map +1 -1
- package/sdk/analytics.js +3 -3
- package/sdk/analytics.js.map +1 -1
- package/sdk/auth.d.ts +16 -14
- package/sdk/auth.d.ts.map +1 -1
- package/sdk/auth.js +22 -21
- package/sdk/auth.js.map +1 -1
- package/sdk/campaigns.d.ts +4 -9
- package/sdk/campaigns.d.ts.map +1 -1
- package/sdk/campaigns.js +4 -10
- package/sdk/campaigns.js.map +1 -1
- package/sdk/cestorefrontuser.d.ts +82 -0
- package/sdk/cestorefrontuser.d.ts.map +1 -0
- package/sdk/cestorefrontuser.js +122 -0
- package/sdk/cestorefrontuser.js.map +1 -0
- package/sdk/coupons.d.ts +12 -0
- package/sdk/coupons.d.ts.map +1 -0
- package/sdk/coupons.js +22 -0
- package/sdk/coupons.js.map +1 -0
- package/sdk/customers.d.ts +1 -9
- package/sdk/customers.d.ts.map +1 -1
- package/sdk/customers.js +0 -11
- package/sdk/customers.js.map +1 -1
- package/sdk/{recommended.d.ts → customersapi.d.ts} +4 -4
- package/sdk/customersapi.d.ts.map +1 -0
- package/sdk/{recommended.js → customersapi.js} +8 -8
- package/sdk/customersapi.js.map +1 -0
- package/sdk/newsletter.d.ts +12 -0
- package/sdk/newsletter.d.ts.map +1 -0
- package/sdk/newsletter.js +22 -0
- package/sdk/newsletter.js.map +1 -0
- package/sdk/notificationpreferences.d.ts +26 -0
- package/sdk/notificationpreferences.d.ts.map +1 -0
- package/sdk/notificationpreferences.js +42 -0
- package/sdk/notificationpreferences.js.map +1 -0
- package/sdk/offers.d.ts +7 -16
- package/sdk/offers.d.ts.map +1 -1
- package/sdk/offers.js +8 -19
- package/sdk/offers.js.map +1 -1
- package/sdk/orders.d.ts +0 -10
- package/sdk/orders.d.ts.map +1 -1
- package/sdk/orders.js +0 -15
- package/sdk/orders.js.map +1 -1
- package/sdk/products.d.ts +21 -12
- package/sdk/products.d.ts.map +1 -1
- package/sdk/products.js +30 -20
- package/sdk/products.js.map +1 -1
- package/sdk/promotions.d.ts +12 -0
- package/sdk/promotions.d.ts.map +1 -0
- package/sdk/promotions.js +22 -0
- package/sdk/promotions.js.map +1 -0
- package/sdk/reviews.d.ts +1 -1
- package/sdk/reviews.d.ts.map +1 -1
- package/sdk/reviews.js +3 -3
- package/sdk/reviews.js.map +1 -1
- package/sdk/sdk.d.ts +9 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +13 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/shipping.d.ts +1 -1
- package/sdk/shipping.d.ts.map +1 -1
- package/sdk/shipping.js +3 -3
- package/sdk/shipping.js.map +1 -1
- package/sdk/user.d.ts +4 -86
- package/sdk/user.d.ts.map +1 -1
- package/sdk/user.js +4 -120
- package/sdk/user.js.map +1 -1
- package/sdk/{countries.d.ts → utils.d.ts} +9 -2
- package/sdk/utils.d.ts.map +1 -0
- package/sdk/utils.js +42 -0
- package/sdk/utils.js.map +1 -0
- package/src/funcs/{analyticsTrackEvent.ts → analyticsTrack.ts} +1 -1
- package/src/funcs/{authOtpGenerate.ts → authGenerateOtp.ts} +1 -1
- package/src/funcs/{ordersGetReturns.ts → authLoginAnonymously.ts} +23 -14
- package/src/funcs/{authTokenRefresh.ts → authRefreshToken.ts} +1 -1
- package/src/funcs/{authGetUser.ts → authUserGet.ts} +1 -1
- package/src/funcs/{authUpdateUser.ts → authUserUpdate.ts} +1 -1
- package/src/funcs/{campaignsSubscribeNewsletter.ts → campaignsNewsletterSubscribe.ts} +1 -1
- package/src/funcs/{catalogProductsCrossSellList.ts → catalogProductsGetCrossSells.ts} +1 -1
- package/src/funcs/{catalogProductsSimilarList.ts → catalogProductsGetSimilar.ts} +1 -1
- package/src/funcs/{catalogProductsUpSellList.ts → catalogProductsGetUpsells.ts} +1 -1
- package/src/funcs/{ordersReturnsCreate.ts → customersAPIGetRecommendedProducts.ts} +14 -18
- package/src/funcs/{customersGetAddresses.ts → customersAddressesList.ts} +1 -1
- package/src/funcs/{customersReviewsGetAll.ts → customersReviewsList.ts} +1 -1
- package/src/funcs/{offersGetCoupons.ts → offersCouponsList.ts} +1 -1
- package/src/funcs/{offersGetPromotions.ts → offersPromotionsList.ts} +1 -1
- package/src/funcs/{shippingGetPincodeServiceability.ts → shippingCheckPincodeServiceability.ts} +1 -1
- package/src/funcs/{authUserCreateNotificationPreferences.ts → userNotificationPreferencesCreate.ts} +1 -1
- package/src/funcs/{authUserGetNotificationPreferences.ts → userNotificationPreferencesGet.ts} +1 -1
- package/src/funcs/{authUserUpdateNotificationPreferences.ts → userNotificationPreferencesUpdate.ts} +1 -1
- package/src/funcs/{commonGetCountries.ts → utilsGetCountries.ts} +1 -1
- package/src/funcs/{commonCountriesGetPincodes.ts → utilsGetPincodes.ts} +1 -1
- package/src/funcs/{commonCountriesGetStates.ts → utilsGetStates.ts} +1 -1
- package/src/lib/config.ts +3 -8
- package/src/models/components/cartitem.ts +4 -4
- package/src/models/components/index.ts +1 -3
- package/src/models/components/productattribute.ts +1 -1
- package/src/models/components/productdetail.ts +5 -5
- package/src/models/components/productlist.ts +5 -5
- package/src/models/components/productreview.ts +1 -1
- package/src/models/components/productshipping.ts +2 -2
- package/src/models/components/productsubscription.ts +1 -1
- package/src/models/components/recommendedproduct.ts +359 -0
- package/src/models/components/skuinfo.ts +4 -4
- package/src/models/errors/unauthorized.ts +1 -1
- package/src/models/operations/getrecommendedproducts.ts +140 -0
- package/src/models/operations/index.ts +2 -5
- package/src/models/operations/postauthanonymous.ts +190 -0
- package/src/models/operations/postcartitemid.ts +1 -1
- package/src/sdk/addresses.ts +14 -0
- package/src/sdk/analytics.ts +3 -3
- package/src/sdk/auth.ts +31 -28
- package/src/sdk/campaigns.ts +5 -15
- package/src/sdk/cestorefrontuser.ts +160 -0
- package/src/sdk/coupons.ts +20 -0
- package/src/sdk/customers.ts +1 -17
- package/src/sdk/{recommended.ts → customersapi.ts} +8 -5
- package/src/sdk/newsletter.ts +23 -0
- package/src/sdk/notificationpreferences.ts +51 -0
- package/src/sdk/offers.ts +9 -21
- package/src/sdk/orders.ts +0 -17
- package/src/sdk/products.ts +42 -24
- package/src/sdk/promotions.ts +20 -0
- package/src/sdk/reviews.ts +3 -3
- package/src/sdk/sdk.ts +16 -4
- package/src/sdk/shipping.ts +3 -3
- package/src/sdk/user.ts +5 -166
- package/src/sdk/{countries.ts → utils.ts} +18 -5
- package/docs/sdks/crosssell/README.md +0 -82
- package/docs/sdks/similar/README.md +0 -82
- package/docs/sdks/token/README.md +0 -80
- package/funcs/analyticsTrackEvent.d.ts.map +0 -1
- package/funcs/analyticsTrackEvent.js.map +0 -1
- package/funcs/authUserCreateNotificationPreferences.d.ts.map +0 -1
- package/funcs/authUserCreateNotificationPreferences.js.map +0 -1
- package/funcs/authUserGetNotificationPreferences.d.ts.map +0 -1
- package/funcs/authUserGetNotificationPreferences.js.map +0 -1
- package/funcs/authUserUpdateNotificationPreferences.d.ts.map +0 -1
- package/funcs/authUserUpdateNotificationPreferences.js.map +0 -1
- package/funcs/catalogProductsRecommendedList.d.ts.map +0 -1
- package/funcs/catalogProductsRecommendedList.js +0 -84
- package/funcs/catalogProductsRecommendedList.js.map +0 -1
- package/funcs/catalogProductsSimilarList.d.ts.map +0 -1
- package/funcs/catalogProductsSimilarList.js.map +0 -1
- package/funcs/commonCountriesGetPincodes.d.ts.map +0 -1
- package/funcs/commonCountriesGetPincodes.js.map +0 -1
- package/funcs/commonCountriesGetStates.d.ts.map +0 -1
- package/funcs/commonCountriesGetStates.js.map +0 -1
- package/funcs/commonGetCountries.d.ts.map +0 -1
- package/funcs/commonGetCountries.js.map +0 -1
- package/funcs/customersGetAddresses.d.ts.map +0 -1
- package/funcs/customersGetAddresses.js.map +0 -1
- package/funcs/customersReviewsGetAll.d.ts.map +0 -1
- package/funcs/customersReviewsGetAll.js.map +0 -1
- package/funcs/offersGetCoupons.d.ts.map +0 -1
- package/funcs/offersGetCoupons.js.map +0 -1
- package/funcs/offersGetPromotions.d.ts.map +0 -1
- package/funcs/offersGetPromotions.js.map +0 -1
- package/funcs/ordersGetReturns.d.ts +0 -15
- package/funcs/ordersGetReturns.d.ts.map +0 -1
- package/funcs/ordersReturnsCreate.d.ts +0 -16
- package/funcs/ordersReturnsCreate.d.ts.map +0 -1
- package/funcs/ordersReturnsCreate.js +0 -101
- package/funcs/ordersReturnsCreate.js.map +0 -1
- package/funcs/ordersReturnsGet.d.ts +0 -15
- package/funcs/ordersReturnsGet.d.ts.map +0 -1
- package/funcs/ordersReturnsGet.js +0 -100
- package/funcs/ordersReturnsGet.js.map +0 -1
- package/funcs/ordersReturnsList.d.ts +0 -15
- package/funcs/ordersReturnsList.d.ts.map +0 -1
- package/funcs/ordersReturnsList.js +0 -96
- package/funcs/ordersReturnsList.js.map +0 -1
- package/funcs/shippingGetPincodeServiceability.d.ts.map +0 -1
- package/funcs/shippingGetPincodeServiceability.js.map +0 -1
- package/models/components/createorderreturn.d.ts +0 -29
- package/models/components/createorderreturn.d.ts.map +0 -1
- package/models/components/createorderreturn.js +0 -69
- package/models/components/createorderreturn.js.map +0 -1
- package/models/components/orderreturn.d.ts +0 -59
- package/models/components/orderreturn.d.ts.map +0 -1
- package/models/components/orderreturn.js +0 -165
- package/models/components/orderreturn.js.map +0 -1
- package/models/components/orderreturnitem.d.ts +0 -122
- package/models/components/orderreturnitem.d.ts.map +0 -1
- package/models/components/orderreturnitem.js +0 -171
- package/models/components/orderreturnitem.js.map +0 -1
- package/models/operations/getordersordernumberreturn.d.ts +0 -59
- package/models/operations/getordersordernumberreturn.d.ts.map +0 -1
- package/models/operations/getordersordernumberreturn.js +0 -99
- package/models/operations/getordersordernumberreturn.js.map +0 -1
- package/models/operations/getordersordernumberreturnreturnid.d.ts +0 -87
- package/models/operations/getordersordernumberreturnreturnid.d.ts.map +0 -1
- package/models/operations/getordersordernumberreturnreturnid.js +0 -122
- package/models/operations/getordersordernumberreturnreturnid.js.map +0 -1
- package/models/operations/getordersreturns.d.ts +0 -56
- package/models/operations/getordersreturns.d.ts.map +0 -1
- package/models/operations/getordersreturns.js +0 -74
- package/models/operations/getordersreturns.js.map +0 -1
- package/models/operations/getrecommended.d.ts +0 -56
- package/models/operations/getrecommended.d.ts.map +0 -1
- package/models/operations/getrecommended.js +0 -74
- package/models/operations/getrecommended.js.map +0 -1
- package/models/operations/postordersordernumberreturn.d.ts +0 -84
- package/models/operations/postordersordernumberreturn.d.ts.map +0 -1
- package/models/operations/postordersordernumberreturn.js +0 -122
- package/models/operations/postordersordernumberreturn.js.map +0 -1
- package/sdk/common.d.ts +0 -15
- package/sdk/common.d.ts.map +0 -1
- package/sdk/common.js +0 -27
- package/sdk/common.js.map +0 -1
- package/sdk/countries.d.ts.map +0 -1
- package/sdk/countries.js +0 -32
- package/sdk/countries.js.map +0 -1
- package/sdk/crosssell.d.ts +0 -12
- package/sdk/crosssell.d.ts.map +0 -1
- package/sdk/crosssell.js +0 -22
- package/sdk/crosssell.js.map +0 -1
- package/sdk/otp.d.ts +0 -12
- package/sdk/otp.d.ts.map +0 -1
- package/sdk/otp.js +0 -22
- package/sdk/otp.js.map +0 -1
- package/sdk/recommended.d.ts.map +0 -1
- package/sdk/recommended.js.map +0 -1
- package/sdk/returns.d.ts +0 -26
- package/sdk/returns.d.ts.map +0 -1
- package/sdk/returns.js +0 -42
- package/sdk/returns.js.map +0 -1
- package/sdk/similar.d.ts +0 -12
- package/sdk/similar.d.ts.map +0 -1
- package/sdk/similar.js +0 -22
- package/sdk/similar.js.map +0 -1
- package/sdk/token.d.ts +0 -12
- package/sdk/token.d.ts.map +0 -1
- package/sdk/token.js +0 -22
- package/sdk/token.js.map +0 -1
- package/sdk/upsell.d.ts +0 -12
- package/sdk/upsell.d.ts.map +0 -1
- package/sdk/upsell.js +0 -22
- package/sdk/upsell.js.map +0 -1
- package/src/funcs/catalogProductsRecommendedList.ts +0 -114
- package/src/funcs/ordersReturnsGet.ts +0 -132
- package/src/funcs/ordersReturnsList.ts +0 -127
- package/src/models/components/createorderreturn.ts +0 -73
- package/src/models/components/orderreturn.ts +0 -198
- package/src/models/components/orderreturnitem.ts +0 -222
- package/src/models/operations/getordersordernumberreturn.ts +0 -125
- package/src/models/operations/getordersordernumberreturnreturnid.ts +0 -174
- package/src/models/operations/getordersreturns.ts +0 -97
- package/src/models/operations/getrecommended.ts +0 -97
- package/src/models/operations/postordersordernumberreturn.ts +0 -171
- package/src/sdk/common.ts +0 -28
- package/src/sdk/crosssell.ts +0 -23
- package/src/sdk/otp.ts +0 -23
- package/src/sdk/returns.ts +0 -51
- package/src/sdk/similar.ts +0 -23
- package/src/sdk/token.ts +0 -23
- package/src/sdk/upsell.ts +0 -23
package/sdk/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/sdk/auth.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/sdk/auth.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,qBAAa,IAAK,SAAQ,SAAS;IAC/B,OAAO,CAAC,KAAK,CAAC,CAAmB;IACjC,IAAI,IAAI,IAAI,gBAAgB,CAE3B;IAED;;;;;;OAMG;IACG,gBAAgB,CAClB,QAAQ,EAAE,UAAU,CAAC,yBAAyB,EAC9C,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;IAIpD;;;;;OAKG;IACG,cAAc,CAChB,OAAO,CAAC,EAAE,UAAU,CAAC,6BAA6B,GAAG,SAAS,EAC9D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC;IAIrD;;;;;OAKG;IACG,cAAc,CAChB,OAAO,CAAC,EAAE,UAAU,CAAC,6BAA6B,GAAG,SAAS,EAC9D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC;IAIrD;;;;;OAKG;IACG,iBAAiB,CACnB,OAAO,CAAC,EAAE,UAAU,CAAC,gCAAgC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;;;OAKG;IACG,WAAW,CACb,OAAO,CAAC,EAAE,UAAU,CAAC,8BAA8B,GAAG,SAAS,EAC/D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC;IAItD;;;;;OAKG;IACG,gBAAgB,CAClB,OAAO,CAAC,EAAE,UAAU,CAAC,qCAAqC,GAAG,SAAS,EACtE,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;CAGhE"}
|
package/sdk/auth.js
CHANGED
|
@@ -4,35 +4,36 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Auth = void 0;
|
|
7
|
-
const
|
|
7
|
+
const authGenerateOtp_js_1 = require("../funcs/authGenerateOtp.js");
|
|
8
|
+
const authLoginAnonymously_js_1 = require("../funcs/authLoginAnonymously.js");
|
|
8
9
|
const authLoginWithEmail_js_1 = require("../funcs/authLoginWithEmail.js");
|
|
9
10
|
const authLoginWithPassword_js_1 = require("../funcs/authLoginWithPassword.js");
|
|
10
11
|
const authLoginWithPhone_js_1 = require("../funcs/authLoginWithPhone.js");
|
|
11
12
|
const authLoginWithWhatsapp_js_1 = require("../funcs/authLoginWithWhatsapp.js");
|
|
13
|
+
const authRefreshToken_js_1 = require("../funcs/authRefreshToken.js");
|
|
12
14
|
const authRegisterWithEmail_js_1 = require("../funcs/authRegisterWithEmail.js");
|
|
13
15
|
const authRegisterWithPassword_js_1 = require("../funcs/authRegisterWithPassword.js");
|
|
14
16
|
const authRegisterWithPhone_js_1 = require("../funcs/authRegisterWithPhone.js");
|
|
15
17
|
const authRegisterWithWhatsapp_js_1 = require("../funcs/authRegisterWithWhatsapp.js");
|
|
16
|
-
const authUpdateUser_js_1 = require("../funcs/authUpdateUser.js");
|
|
17
18
|
const authVerifyEmailPhone_js_1 = require("../funcs/authVerifyEmailPhone.js");
|
|
18
19
|
const authVerifyOtp_js_1 = require("../funcs/authVerifyOtp.js");
|
|
19
20
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
20
21
|
const fp_js_1 = require("../types/fp.js");
|
|
21
|
-
const
|
|
22
|
-
const token_js_1 = require("./token.js");
|
|
23
|
-
const user_js_1 = require("./user.js");
|
|
22
|
+
const cestorefrontuser_js_1 = require("./cestorefrontuser.js");
|
|
24
23
|
class Auth extends sdks_js_1.ClientSDK {
|
|
25
24
|
get user() {
|
|
26
25
|
var _a;
|
|
27
|
-
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new
|
|
26
|
+
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new cestorefrontuser_js_1.CeStorefrontUser(this.options$)));
|
|
28
27
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Anonymous user
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* This API’s focus is on anonymous users who have not undergone the formal account creation process. These anonymous users are associated with a unique identifier called a ULID, ensuring that even in the absence of a fully realized account, there is a distinct and trackable identity for each user.
|
|
33
|
+
* To interact with the system, each anonymous user is issued an access token. This access token plays a dual role in the system: it serves as a means of authenticating the user and it also acts as a tool for authorization, determining what actions the authenticated user is permitted to perform.
|
|
34
|
+
*/
|
|
35
|
+
async loginAnonymously(security, options) {
|
|
36
|
+
return (0, fp_js_1.unwrapAsync)((0, authLoginAnonymously_js_1.authLoginAnonymously)(this, security, options));
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
39
|
* Login with phone
|
|
@@ -120,22 +121,22 @@ class Auth extends sdks_js_1.ClientSDK {
|
|
|
120
121
|
return (0, fp_js_1.unwrapAsync)((0, authRegisterWithPassword_js_1.authRegisterWithPassword)(this, request, options));
|
|
121
122
|
}
|
|
122
123
|
/**
|
|
123
|
-
*
|
|
124
|
+
* Refresh access token
|
|
124
125
|
*
|
|
125
126
|
* @remarks
|
|
126
|
-
* The
|
|
127
|
+
* The Refresh Access Token API is an integral component designed to enhance security and user experience. It enables clients to refresh their access tokens seamlessly, extending user sessions without compromising security.
|
|
127
128
|
*/
|
|
128
|
-
async
|
|
129
|
-
return (0, fp_js_1.unwrapAsync)((0,
|
|
129
|
+
async refreshToken(request, options) {
|
|
130
|
+
return (0, fp_js_1.unwrapAsync)((0, authRefreshToken_js_1.authRefreshToken)(this, request, options));
|
|
130
131
|
}
|
|
131
132
|
/**
|
|
132
|
-
*
|
|
133
|
+
* Generate OTP
|
|
133
134
|
*
|
|
134
135
|
* @remarks
|
|
135
|
-
*
|
|
136
|
+
* Generating a One-Time Password (OTP) typically involves creating a random code that is sent to a user for authentication or verification purposes.
|
|
136
137
|
*/
|
|
137
|
-
async
|
|
138
|
-
return (0, fp_js_1.unwrapAsync)((0,
|
|
138
|
+
async generateOtp(request, options) {
|
|
139
|
+
return (0, fp_js_1.unwrapAsync)((0, authGenerateOtp_js_1.authGenerateOtp)(this, request, options));
|
|
139
140
|
}
|
|
140
141
|
/**
|
|
141
142
|
* Check verified email phone
|
package/sdk/auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/sdk/auth.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/sdk/auth.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oEAA8D;AAC9D,8EAAwE;AACxE,0EAAoE;AACpE,gFAA0E;AAC1E,0EAAoE;AACpE,gFAA0E;AAC1E,sEAAgE;AAChE,gFAA0E;AAC1E,sFAAgF;AAChF,gFAA0E;AAC1E,sFAAgF;AAChF,8EAAwE;AACxE,gEAA0D;AAC1D,4CAA2D;AAE3D,0CAA6C;AAC7C,+DAAyD;AAEzD,MAAa,IAAK,SAAQ,mBAAS;IAE/B,IAAI,IAAI;;QACJ,OAAO,OAAC,IA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"}
|
package/sdk/campaigns.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { ClientSDK
|
|
2
|
-
import
|
|
1
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
2
|
+
import { Newsletter } from "./newsletter.js";
|
|
3
3
|
export declare class Campaigns extends ClientSDK {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Subscribe to newsletter
|
|
9
|
-
*/
|
|
10
|
-
subscribeNewsletter(request?: operations.PostCustomersNewsletterSubscriptionRequestBody | undefined, options?: RequestOptions): Promise<operations.PostCustomersNewsletterSubscriptionResponseBody>;
|
|
4
|
+
private _newsletter?;
|
|
5
|
+
get newsletter(): Newsletter;
|
|
11
6
|
}
|
|
12
7
|
//# sourceMappingURL=campaigns.d.ts.map
|
package/sdk/campaigns.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaigns.d.ts","sourceRoot":"","sources":["../src/sdk/campaigns.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"campaigns.d.ts","sourceRoot":"","sources":["../src/sdk/campaigns.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,qBAAa,SAAU,SAAQ,SAAS;IACpC,OAAO,CAAC,WAAW,CAAC,CAAa;IACjC,IAAI,UAAU,IAAI,UAAU,CAE3B;CACJ"}
|
package/sdk/campaigns.js
CHANGED
|
@@ -4,18 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Campaigns = void 0;
|
|
7
|
-
const campaignsSubscribeNewsletter_js_1 = require("../funcs/campaignsSubscribeNewsletter.js");
|
|
8
7
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const
|
|
8
|
+
const newsletter_js_1 = require("./newsletter.js");
|
|
10
9
|
class Campaigns extends sdks_js_1.ClientSDK {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* @remarks
|
|
15
|
-
* Subscribe to newsletter
|
|
16
|
-
*/
|
|
17
|
-
async subscribeNewsletter(request, options) {
|
|
18
|
-
return (0, fp_js_1.unwrapAsync)((0, campaignsSubscribeNewsletter_js_1.campaignsSubscribeNewsletter)(this, request, options));
|
|
10
|
+
get newsletter() {
|
|
11
|
+
var _a;
|
|
12
|
+
return ((_a = this._newsletter) !== null && _a !== void 0 ? _a : (this._newsletter = new newsletter_js_1.Newsletter(this.options$)));
|
|
19
13
|
}
|
|
20
14
|
}
|
|
21
15
|
exports.Campaigns = Campaigns;
|
package/sdk/campaigns.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaigns.js","sourceRoot":"","sources":["../src/sdk/campaigns.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"campaigns.js","sourceRoot":"","sources":["../src/sdk/campaigns.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,mDAA6C;AAE7C,MAAa,SAAU,SAAQ,mBAAS;IAEpC,IAAI,UAAU;;QACV,OAAO,OAAC,IAAI,CAAC,WAAW,oCAAhB,IAAI,CAAC,WAAW,GAAK,IAAI,0BAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAChE,CAAC;CACJ;AALD,8BAKC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class CeStorefrontUser extends ClientSDK {
|
|
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>;
|
|
46
|
+
/**
|
|
47
|
+
* Deactivate account
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
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.
|
|
51
|
+
*/
|
|
52
|
+
deactivateAccount(request: operations.PutAuthUserIdDeactivateRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdDeactivateResponseBody>;
|
|
53
|
+
/**
|
|
54
|
+
* Change password
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* The Change Password API is a key feature designed to provide a secure and standardized method for users to update their passwords.
|
|
58
|
+
*/
|
|
59
|
+
changePassword(request?: operations.PostAuthChangePasswordRequestBody | undefined, 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 | undefined, options?: RequestOptions): Promise<operations.PostAuthForgotPasswordResponseBody>;
|
|
67
|
+
/**
|
|
68
|
+
* Reset password
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Reset password
|
|
72
|
+
*/
|
|
73
|
+
resetPassword(request?: operations.PostAuthResetPasswordRequestBody | undefined, 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>;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=cestorefrontuser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;IAC3C;;;;;OAKG;IACG,GAAG,CACL,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAIhD;;;;;OAKG;IACG,MAAM,CACR,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAIhD;;;;;OAKG;IACG,eAAe,CACjB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;IAI7D;;;;;OAKG;IACG,kBAAkB,CACpB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACp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
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CeStorefrontUser = void 0;
|
|
7
|
+
const authUserAddProfileImage_js_1 = require("../funcs/authUserAddProfileImage.js");
|
|
8
|
+
const authUserChangePassword_js_1 = require("../funcs/authUserChangePassword.js");
|
|
9
|
+
const authUserDeactivateAccount_js_1 = require("../funcs/authUserDeactivateAccount.js");
|
|
10
|
+
const authUserDeleteProfileImage_js_1 = require("../funcs/authUserDeleteProfileImage.js");
|
|
11
|
+
const authUserForgotPassword_js_1 = require("../funcs/authUserForgotPassword.js");
|
|
12
|
+
const authUserGet_js_1 = require("../funcs/authUserGet.js");
|
|
13
|
+
const authUserGetProfileImage_js_1 = require("../funcs/authUserGetProfileImage.js");
|
|
14
|
+
const authUserLogout_js_1 = require("../funcs/authUserLogout.js");
|
|
15
|
+
const authUserResetPassword_js_1 = require("../funcs/authUserResetPassword.js");
|
|
16
|
+
const authUserUpdate_js_1 = require("../funcs/authUserUpdate.js");
|
|
17
|
+
const authUserUpdateProfileImage_js_1 = require("../funcs/authUserUpdateProfileImage.js");
|
|
18
|
+
const sdks_js_1 = require("../lib/sdks.js");
|
|
19
|
+
const fp_js_1 = require("../types/fp.js");
|
|
20
|
+
class CeStorefrontUser extends sdks_js_1.ClientSDK {
|
|
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(request, options) {
|
|
28
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserGet_js_1.authUserGet)(this, request, options));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Update a user
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* 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.
|
|
35
|
+
*/
|
|
36
|
+
async update(request, options) {
|
|
37
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserUpdate_js_1.authUserUpdate)(this, request, options));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Add profile image
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* 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.
|
|
44
|
+
*/
|
|
45
|
+
async addProfileImage(request, options) {
|
|
46
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserAddProfileImage_js_1.authUserAddProfileImage)(this, request, options));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Update profile image
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* 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.
|
|
53
|
+
*/
|
|
54
|
+
async updateProfileImage(request, options) {
|
|
55
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserUpdateProfileImage_js_1.authUserUpdateProfileImage)(this, request, options));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Delete profile image
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
* 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.
|
|
62
|
+
*/
|
|
63
|
+
async deleteProfileImage(request, options) {
|
|
64
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserDeleteProfileImage_js_1.authUserDeleteProfileImage)(this, request, options));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Retrieve a profile image
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
* 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.
|
|
71
|
+
*/
|
|
72
|
+
async getProfileImage(request, options) {
|
|
73
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserGetProfileImage_js_1.authUserGetProfileImage)(this, request, options));
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Deactivate account
|
|
77
|
+
*
|
|
78
|
+
* @remarks
|
|
79
|
+
* 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.
|
|
80
|
+
*/
|
|
81
|
+
async deactivateAccount(request, options) {
|
|
82
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserDeactivateAccount_js_1.authUserDeactivateAccount)(this, request, options));
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Change password
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* The Change Password API is a key feature designed to provide a secure and standardized method for users to update their passwords.
|
|
89
|
+
*/
|
|
90
|
+
async changePassword(request, options) {
|
|
91
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserChangePassword_js_1.authUserChangePassword)(this, request, options));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Forgot password
|
|
95
|
+
*
|
|
96
|
+
* @remarks
|
|
97
|
+
* 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.
|
|
98
|
+
*/
|
|
99
|
+
async forgotPassword(request, options) {
|
|
100
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserForgotPassword_js_1.authUserForgotPassword)(this, request, options));
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Reset password
|
|
104
|
+
*
|
|
105
|
+
* @remarks
|
|
106
|
+
* Reset password
|
|
107
|
+
*/
|
|
108
|
+
async resetPassword(request, options) {
|
|
109
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserResetPassword_js_1.authUserResetPassword)(this, request, options));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Logout user
|
|
113
|
+
*
|
|
114
|
+
* @remarks
|
|
115
|
+
* 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.
|
|
116
|
+
*/
|
|
117
|
+
async logout(options) {
|
|
118
|
+
return (0, fp_js_1.unwrapAsync)((0, authUserLogout_js_1.authUserLogout)(this, options));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.CeStorefrontUser = CeStorefrontUser;
|
|
122
|
+
//# sourceMappingURL=cestorefrontuser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cestorefrontuser.js","sourceRoot":"","sources":["../src/sdk/cestorefrontuser.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oFAA8E;AAC9E,kFAA4E;AAC5E,wFAAkF;AAClF,0FAAoF;AACpF,kFAA4E;AAC5E,4DAAsD;AACtD,oFAA8E;AAC9E,kEAA4D;AAC5D,gFAA0E;AAC1E,kEAA4D;AAC5D,0FAAoF;AACpF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,gBAAiB,SAAQ,mBAAS;IAC3C;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACL,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4BAAW,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACR,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC/D,C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AC,CAAC;IACvE,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACf,OAAiE,EACjE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACtE,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CAAC,OAAwB;QACjC,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,CAAC;CACJ;AA5ID,4CA4IC"}
|
package/sdk/coupons.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class Coupons extends ClientSDK {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve all coupons
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Retrieve active coupons
|
|
9
|
+
*/
|
|
10
|
+
list(options?: RequestOptions): Promise<operations.GetCouponsResponseBody>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=coupons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coupons.d.ts","sourceRoot":"","sources":["../src/sdk/coupons.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IAClC;;;;;OAKG;IACG,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;CAGnF"}
|
package/sdk/coupons.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Coupons = void 0;
|
|
7
|
+
const offersCouponsList_js_1 = require("../funcs/offersCouponsList.js");
|
|
8
|
+
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
+
const fp_js_1 = require("../types/fp.js");
|
|
10
|
+
class Coupons extends sdks_js_1.ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve all coupons
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Retrieve active coupons
|
|
16
|
+
*/
|
|
17
|
+
async list(options) {
|
|
18
|
+
return (0, fp_js_1.unwrapAsync)((0, offersCouponsList_js_1.offersCouponsList)(this, options));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Coupons = Coupons;
|
|
22
|
+
//# sourceMappingURL=coupons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coupons.js","sourceRoot":"","sources":["../src/sdk/coupons.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wEAAkE;AAClE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CAAC,OAAwB;QAC/B,OAAO,IAAA,mBAAW,EAAC,IAAA,wCAAiB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACzD,CAAC;CACJ;AAVD,0BAUC"}
|
package/sdk/customers.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ClientSDK
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
1
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
3
2
|
import { Addresses } from "./addresses.js";
|
|
4
3
|
import { Loyalty } from "./loyalty.js";
|
|
5
4
|
import { Reviews } from "./reviews.js";
|
|
@@ -10,12 +9,5 @@ export declare class Customers extends ClientSDK {
|
|
|
10
9
|
get loyalty(): Loyalty;
|
|
11
10
|
private _reviews?;
|
|
12
11
|
get reviews(): Reviews;
|
|
13
|
-
/**
|
|
14
|
-
* Retrieve all addresses
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* Retrieve billing and shipping address of particular customer
|
|
18
|
-
*/
|
|
19
|
-
getAddresses(request: operations.GetAddressRequest, options?: RequestOptions): Promise<operations.GetAddressResponseBody>;
|
|
20
12
|
}
|
|
21
13
|
//# sourceMappingURL=customers.d.ts.map
|
package/sdk/customers.d.ts.map
CHANGED
|
@@ -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":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,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;IACpC,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;CACJ"}
|
package/sdk/customers.js
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Customers = void 0;
|
|
7
|
-
const customersGetAddresses_js_1 = require("../funcs/customersGetAddresses.js");
|
|
8
7
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
8
|
const addresses_js_1 = require("./addresses.js");
|
|
11
9
|
const loyalty_js_1 = require("./loyalty.js");
|
|
12
10
|
const reviews_js_1 = require("./reviews.js");
|
|
@@ -23,15 +21,6 @@ class Customers extends sdks_js_1.ClientSDK {
|
|
|
23
21
|
var _a;
|
|
24
22
|
return ((_a = this._reviews) !== null && _a !== void 0 ? _a : (this._reviews = new reviews_js_1.Reviews(this.options$)));
|
|
25
23
|
}
|
|
26
|
-
/**
|
|
27
|
-
* Retrieve all addresses
|
|
28
|
-
*
|
|
29
|
-
* @remarks
|
|
30
|
-
* Retrieve billing and shipping address of particular customer
|
|
31
|
-
*/
|
|
32
|
-
async getAddresses(request, options) {
|
|
33
|
-
return (0, fp_js_1.unwrapAsync)((0, customersGetAddresses_js_1.customersGetAddresses)(this, request, options));
|
|
34
|
-
}
|
|
35
24
|
}
|
|
36
25
|
exports.Customers = Customers;
|
|
37
26
|
//# sourceMappingURL=customers.js.map
|
package/sdk/customers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../src/sdk/customers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../src/sdk/customers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,iDAA2C;AAC3C,6CAAuC;AACvC,6CAAuC;AAEvC,MAAa,SAAU,SAAQ,mBAAS;IAEpC,IAAI,SAAS;;QACT,OAAO,OAAC,IAAI,CAAC,UAAU,oCAAf,IAAI,CAAC,UAAU,GAAK,IAAI,wBAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;IAGD,IAAI,OAAO;;QACP,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;IAGD,IAAI,OAAO;;QACP,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;CACJ;AAfD,8BAeC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class CustomersAPI extends ClientSDK {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* List all recommended products
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
8
|
* Retrieves a list of recommended products for a specified user based on their browsing history, past purchases, and indicated preferences. The recommended products are returned sorted by relevance, providing a personalized shopping experience for each user.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
getRecommendedProducts(request: operations.GetRecommendedProductsRequest, options?: RequestOptions): Promise<operations.GetRecommendedProductsResponseBody>;
|
|
11
11
|
}
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=customersapi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customersapi.d.ts","sourceRoot":"","sources":["../src/sdk/customersapi.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,YAAa,SAAQ,SAAS;IACvC;;;;;OAKG;IACG,sBAAsB,CACxB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;CAG5D"}
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
const
|
|
6
|
+
exports.CustomersAPI = void 0;
|
|
7
|
+
const customersAPIGetRecommendedProducts_js_1 = require("../funcs/customersAPIGetRecommendedProducts.js");
|
|
8
8
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
9
|
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
class
|
|
10
|
+
class CustomersAPI extends sdks_js_1.ClientSDK {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* List all recommended products
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Retrieves a list of recommended products for a specified user based on their browsing history, past purchases, and indicated preferences. The recommended products are returned sorted by relevance, providing a personalized shopping experience for each user.
|
|
16
16
|
*/
|
|
17
|
-
async
|
|
18
|
-
return (0, fp_js_1.unwrapAsync)((0,
|
|
17
|
+
async getRecommendedProducts(request, options) {
|
|
18
|
+
return (0, fp_js_1.unwrapAsync)((0, customersAPIGetRecommendedProducts_js_1.customersAPIGetRecommendedProducts)(this, request, options));
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
exports.
|
|
22
|
-
//# sourceMappingURL=
|
|
21
|
+
exports.CustomersAPI = CustomersAPI;
|
|
22
|
+
//# sourceMappingURL=customersapi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customersapi.js","sourceRoot":"","sources":["../src/sdk/customersapi.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0GAAoG;AACpG,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,YAAa,SAAQ,mBAAS;IACvC;;;;;OAKG;IACH,KAAK,CAAC,sBAAsB,CACxB,OAAiD,EACjD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAkC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACnF,CAAC;CACJ;AAbD,oCAaC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class Newsletter extends ClientSDK {
|
|
4
|
+
/**
|
|
5
|
+
* Subscribe to newsletter
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Subscribe to newsletter
|
|
9
|
+
*/
|
|
10
|
+
subscribe(request?: operations.PostCustomersNewsletterSubscriptionRequestBody | undefined, options?: RequestOptions): Promise<operations.PostCustomersNewsletterSubscriptionResponseBody>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=newsletter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"newsletter.d.ts","sourceRoot":"","sources":["../src/sdk/newsletter.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,UAAW,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,SAAS,CACX,OAAO,CAAC,EAAE,UAAU,CAAC,8CAA8C,GAAG,SAAS,EAC/E,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,+CAA+C,CAAC;CAGzE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Newsletter = void 0;
|
|
7
|
+
const campaignsNewsletterSubscribe_js_1 = require("../funcs/campaignsNewsletterSubscribe.js");
|
|
8
|
+
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
+
const fp_js_1 = require("../types/fp.js");
|
|
10
|
+
class Newsletter extends sdks_js_1.ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Subscribe to newsletter
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Subscribe to newsletter
|
|
16
|
+
*/
|
|
17
|
+
async subscribe(request, options) {
|
|
18
|
+
return (0, fp_js_1.unwrapAsync)((0, campaignsNewsletterSubscribe_js_1.campaignsNewsletterSubscribe)(this, request, options));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Newsletter = Newsletter;
|
|
22
|
+
//# sourceMappingURL=newsletter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"newsletter.js","sourceRoot":"","sources":["../src/sdk/newsletter.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8FAAwF;AACxF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,UAAW,SAAQ,mBAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACX,OAA+E,EAC/E,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7E,CAAC;CACJ;AAbD,gCAaC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class NotificationPreferences extends ClientSDK {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve user notification preferences
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
|
|
9
|
+
*/
|
|
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>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=notificationpreferences.d.ts.map
|