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
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import * as components from "../components/index.js";
|
|
2
|
-
import * as z from "zod";
|
|
3
|
-
export type PostOrdersOrderNumberReturnRequest = {
|
|
4
|
-
/**
|
|
5
|
-
* order number
|
|
6
|
-
*/
|
|
7
|
-
orderNumber: string;
|
|
8
|
-
createOrderReturn?: components.CreateOrderReturn | undefined;
|
|
9
|
-
};
|
|
10
|
-
export type PostOrdersOrderNumberReturnContent = {
|
|
11
|
-
orderReturn?: components.OrderReturn | undefined;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* OK
|
|
15
|
-
*/
|
|
16
|
-
export type PostOrdersOrderNumberReturnResponseBody = {
|
|
17
|
-
message?: string | undefined;
|
|
18
|
-
success?: boolean | undefined;
|
|
19
|
-
content?: PostOrdersOrderNumberReturnContent | undefined;
|
|
20
|
-
};
|
|
21
|
-
/** @internal */
|
|
22
|
-
export declare const PostOrdersOrderNumberReturnRequest$inboundSchema: z.ZodType<PostOrdersOrderNumberReturnRequest, z.ZodTypeDef, unknown>;
|
|
23
|
-
/** @internal */
|
|
24
|
-
export type PostOrdersOrderNumberReturnRequest$Outbound = {
|
|
25
|
-
order_number: string;
|
|
26
|
-
CreateOrderReturn?: components.CreateOrderReturn$Outbound | undefined;
|
|
27
|
-
};
|
|
28
|
-
/** @internal */
|
|
29
|
-
export declare const PostOrdersOrderNumberReturnRequest$outboundSchema: z.ZodType<PostOrdersOrderNumberReturnRequest$Outbound, z.ZodTypeDef, PostOrdersOrderNumberReturnRequest>;
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
-
*/
|
|
34
|
-
export declare namespace PostOrdersOrderNumberReturnRequest$ {
|
|
35
|
-
/** @deprecated use `PostOrdersOrderNumberReturnRequest$inboundSchema` instead. */
|
|
36
|
-
const inboundSchema: z.ZodType<PostOrdersOrderNumberReturnRequest, z.ZodTypeDef, unknown>;
|
|
37
|
-
/** @deprecated use `PostOrdersOrderNumberReturnRequest$outboundSchema` instead. */
|
|
38
|
-
const outboundSchema: z.ZodType<PostOrdersOrderNumberReturnRequest$Outbound, z.ZodTypeDef, PostOrdersOrderNumberReturnRequest>;
|
|
39
|
-
/** @deprecated use `PostOrdersOrderNumberReturnRequest$Outbound` instead. */
|
|
40
|
-
type Outbound = PostOrdersOrderNumberReturnRequest$Outbound;
|
|
41
|
-
}
|
|
42
|
-
/** @internal */
|
|
43
|
-
export declare const PostOrdersOrderNumberReturnContent$inboundSchema: z.ZodType<PostOrdersOrderNumberReturnContent, z.ZodTypeDef, unknown>;
|
|
44
|
-
/** @internal */
|
|
45
|
-
export type PostOrdersOrderNumberReturnContent$Outbound = {
|
|
46
|
-
order_return?: components.OrderReturn$Outbound | undefined;
|
|
47
|
-
};
|
|
48
|
-
/** @internal */
|
|
49
|
-
export declare const PostOrdersOrderNumberReturnContent$outboundSchema: z.ZodType<PostOrdersOrderNumberReturnContent$Outbound, z.ZodTypeDef, PostOrdersOrderNumberReturnContent>;
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
-
*/
|
|
54
|
-
export declare namespace PostOrdersOrderNumberReturnContent$ {
|
|
55
|
-
/** @deprecated use `PostOrdersOrderNumberReturnContent$inboundSchema` instead. */
|
|
56
|
-
const inboundSchema: z.ZodType<PostOrdersOrderNumberReturnContent, z.ZodTypeDef, unknown>;
|
|
57
|
-
/** @deprecated use `PostOrdersOrderNumberReturnContent$outboundSchema` instead. */
|
|
58
|
-
const outboundSchema: z.ZodType<PostOrdersOrderNumberReturnContent$Outbound, z.ZodTypeDef, PostOrdersOrderNumberReturnContent>;
|
|
59
|
-
/** @deprecated use `PostOrdersOrderNumberReturnContent$Outbound` instead. */
|
|
60
|
-
type Outbound = PostOrdersOrderNumberReturnContent$Outbound;
|
|
61
|
-
}
|
|
62
|
-
/** @internal */
|
|
63
|
-
export declare const PostOrdersOrderNumberReturnResponseBody$inboundSchema: z.ZodType<PostOrdersOrderNumberReturnResponseBody, z.ZodTypeDef, unknown>;
|
|
64
|
-
/** @internal */
|
|
65
|
-
export type PostOrdersOrderNumberReturnResponseBody$Outbound = {
|
|
66
|
-
message: string;
|
|
67
|
-
success?: boolean | undefined;
|
|
68
|
-
content?: PostOrdersOrderNumberReturnContent$Outbound | undefined;
|
|
69
|
-
};
|
|
70
|
-
/** @internal */
|
|
71
|
-
export declare const PostOrdersOrderNumberReturnResponseBody$outboundSchema: z.ZodType<PostOrdersOrderNumberReturnResponseBody$Outbound, z.ZodTypeDef, PostOrdersOrderNumberReturnResponseBody>;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
-
*/
|
|
76
|
-
export declare namespace PostOrdersOrderNumberReturnResponseBody$ {
|
|
77
|
-
/** @deprecated use `PostOrdersOrderNumberReturnResponseBody$inboundSchema` instead. */
|
|
78
|
-
const inboundSchema: z.ZodType<PostOrdersOrderNumberReturnResponseBody, z.ZodTypeDef, unknown>;
|
|
79
|
-
/** @deprecated use `PostOrdersOrderNumberReturnResponseBody$outboundSchema` instead. */
|
|
80
|
-
const outboundSchema: z.ZodType<PostOrdersOrderNumberReturnResponseBody$Outbound, z.ZodTypeDef, PostOrdersOrderNumberReturnResponseBody>;
|
|
81
|
-
/** @deprecated use `PostOrdersOrderNumberReturnResponseBody$Outbound` instead. */
|
|
82
|
-
type Outbound = PostOrdersOrderNumberReturnResponseBody$Outbound;
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=postordersordernumberreturn.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postordersordernumberreturn.d.ts","sourceRoot":"","sources":["../../src/models/operations/postordersordernumberreturn.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.PostOrdersOrderNumberReturnResponseBody$ = exports.PostOrdersOrderNumberReturnResponseBody$outboundSchema = exports.PostOrdersOrderNumberReturnResponseBody$inboundSchema = exports.PostOrdersOrderNumberReturnContent$ = exports.PostOrdersOrderNumberReturnContent$outboundSchema = exports.PostOrdersOrderNumberReturnContent$inboundSchema = exports.PostOrdersOrderNumberReturnRequest$ = exports.PostOrdersOrderNumberReturnRequest$outboundSchema = exports.PostOrdersOrderNumberReturnRequest$inboundSchema = void 0;
|
|
30
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
31
|
-
const components = __importStar(require("../components/index.js"));
|
|
32
|
-
const z = __importStar(require("zod"));
|
|
33
|
-
/** @internal */
|
|
34
|
-
exports.PostOrdersOrderNumberReturnRequest$inboundSchema = z
|
|
35
|
-
.object({
|
|
36
|
-
order_number: z.string(),
|
|
37
|
-
CreateOrderReturn: components.CreateOrderReturn$inboundSchema.optional(),
|
|
38
|
-
})
|
|
39
|
-
.transform((v) => {
|
|
40
|
-
return (0, primitives_js_1.remap)(v, {
|
|
41
|
-
order_number: "orderNumber",
|
|
42
|
-
CreateOrderReturn: "createOrderReturn",
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
/** @internal */
|
|
46
|
-
exports.PostOrdersOrderNumberReturnRequest$outboundSchema = z
|
|
47
|
-
.object({
|
|
48
|
-
orderNumber: z.string(),
|
|
49
|
-
createOrderReturn: components.CreateOrderReturn$outboundSchema.optional(),
|
|
50
|
-
})
|
|
51
|
-
.transform((v) => {
|
|
52
|
-
return (0, primitives_js_1.remap)(v, {
|
|
53
|
-
orderNumber: "order_number",
|
|
54
|
-
createOrderReturn: "CreateOrderReturn",
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
-
*/
|
|
61
|
-
var PostOrdersOrderNumberReturnRequest$;
|
|
62
|
-
(function (PostOrdersOrderNumberReturnRequest$) {
|
|
63
|
-
/** @deprecated use `PostOrdersOrderNumberReturnRequest$inboundSchema` instead. */
|
|
64
|
-
PostOrdersOrderNumberReturnRequest$.inboundSchema = exports.PostOrdersOrderNumberReturnRequest$inboundSchema;
|
|
65
|
-
/** @deprecated use `PostOrdersOrderNumberReturnRequest$outboundSchema` instead. */
|
|
66
|
-
PostOrdersOrderNumberReturnRequest$.outboundSchema = exports.PostOrdersOrderNumberReturnRequest$outboundSchema;
|
|
67
|
-
})(PostOrdersOrderNumberReturnRequest$ || (exports.PostOrdersOrderNumberReturnRequest$ = PostOrdersOrderNumberReturnRequest$ = {}));
|
|
68
|
-
/** @internal */
|
|
69
|
-
exports.PostOrdersOrderNumberReturnContent$inboundSchema = z
|
|
70
|
-
.object({
|
|
71
|
-
order_return: components.OrderReturn$inboundSchema.optional(),
|
|
72
|
-
})
|
|
73
|
-
.transform((v) => {
|
|
74
|
-
return (0, primitives_js_1.remap)(v, {
|
|
75
|
-
order_return: "orderReturn",
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
/** @internal */
|
|
79
|
-
exports.PostOrdersOrderNumberReturnContent$outboundSchema = z
|
|
80
|
-
.object({
|
|
81
|
-
orderReturn: components.OrderReturn$outboundSchema.optional(),
|
|
82
|
-
})
|
|
83
|
-
.transform((v) => {
|
|
84
|
-
return (0, primitives_js_1.remap)(v, {
|
|
85
|
-
orderReturn: "order_return",
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
91
|
-
*/
|
|
92
|
-
var PostOrdersOrderNumberReturnContent$;
|
|
93
|
-
(function (PostOrdersOrderNumberReturnContent$) {
|
|
94
|
-
/** @deprecated use `PostOrdersOrderNumberReturnContent$inboundSchema` instead. */
|
|
95
|
-
PostOrdersOrderNumberReturnContent$.inboundSchema = exports.PostOrdersOrderNumberReturnContent$inboundSchema;
|
|
96
|
-
/** @deprecated use `PostOrdersOrderNumberReturnContent$outboundSchema` instead. */
|
|
97
|
-
PostOrdersOrderNumberReturnContent$.outboundSchema = exports.PostOrdersOrderNumberReturnContent$outboundSchema;
|
|
98
|
-
})(PostOrdersOrderNumberReturnContent$ || (exports.PostOrdersOrderNumberReturnContent$ = PostOrdersOrderNumberReturnContent$ = {}));
|
|
99
|
-
/** @internal */
|
|
100
|
-
exports.PostOrdersOrderNumberReturnResponseBody$inboundSchema = z.object({
|
|
101
|
-
message: z.string().default("order details"),
|
|
102
|
-
success: z.boolean().optional(),
|
|
103
|
-
content: z.lazy(() => exports.PostOrdersOrderNumberReturnContent$inboundSchema).optional(),
|
|
104
|
-
});
|
|
105
|
-
/** @internal */
|
|
106
|
-
exports.PostOrdersOrderNumberReturnResponseBody$outboundSchema = z.object({
|
|
107
|
-
message: z.string().default("order details"),
|
|
108
|
-
success: z.boolean().optional(),
|
|
109
|
-
content: z.lazy(() => exports.PostOrdersOrderNumberReturnContent$outboundSchema).optional(),
|
|
110
|
-
});
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
114
|
-
*/
|
|
115
|
-
var PostOrdersOrderNumberReturnResponseBody$;
|
|
116
|
-
(function (PostOrdersOrderNumberReturnResponseBody$) {
|
|
117
|
-
/** @deprecated use `PostOrdersOrderNumberReturnResponseBody$inboundSchema` instead. */
|
|
118
|
-
PostOrdersOrderNumberReturnResponseBody$.inboundSchema = exports.PostOrdersOrderNumberReturnResponseBody$inboundSchema;
|
|
119
|
-
/** @deprecated use `PostOrdersOrderNumberReturnResponseBody$outboundSchema` instead. */
|
|
120
|
-
PostOrdersOrderNumberReturnResponseBody$.outboundSchema = exports.PostOrdersOrderNumberReturnResponseBody$outboundSchema;
|
|
121
|
-
})(PostOrdersOrderNumberReturnResponseBody$ || (exports.PostOrdersOrderNumberReturnResponseBody$ = PostOrdersOrderNumberReturnResponseBody$ = {}));
|
|
122
|
-
//# sourceMappingURL=postordersordernumberreturn.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postordersordernumberreturn.js","sourceRoot":"","sources":["../../src/models/operations/postordersordernumberreturn.ts"],"names":[],"mappings":"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"}
|
package/sdk/common.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
import { Countries } from "./countries.js";
|
|
4
|
-
export declare class Common extends ClientSDK {
|
|
5
|
-
private _countries?;
|
|
6
|
-
get countries(): Countries;
|
|
7
|
-
/**
|
|
8
|
-
* Retrieve all countries
|
|
9
|
-
*
|
|
10
|
-
* @remarks
|
|
11
|
-
* Retrieve all countries
|
|
12
|
-
*/
|
|
13
|
-
getCountries(options?: RequestOptions): Promise<operations.GetCommonCountriesResponseBody>;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=common.d.ts.map
|
package/sdk/common.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/sdk/common.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,qBAAa,MAAO,SAAQ,SAAS;IACjC,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;IAED;;;;;OAKG;IACG,YAAY,CACd,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC;CAGxD"}
|
package/sdk/common.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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.Common = void 0;
|
|
7
|
-
const commonGetCountries_js_1 = require("../funcs/commonGetCountries.js");
|
|
8
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
const countries_js_1 = require("./countries.js");
|
|
11
|
-
class Common extends sdks_js_1.ClientSDK {
|
|
12
|
-
get countries() {
|
|
13
|
-
var _a;
|
|
14
|
-
return ((_a = this._countries) !== null && _a !== void 0 ? _a : (this._countries = new countries_js_1.Countries(this.options$)));
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Retrieve all countries
|
|
18
|
-
*
|
|
19
|
-
* @remarks
|
|
20
|
-
* Retrieve all countries
|
|
21
|
-
*/
|
|
22
|
-
async getCountries(options) {
|
|
23
|
-
return (0, fp_js_1.unwrapAsync)((0, commonGetCountries_js_1.commonGetCountries)(this, options));
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.Common = Common;
|
|
27
|
-
//# sourceMappingURL=common.js.map
|
package/sdk/common.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../src/sdk/common.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0EAAoE;AACpE,4CAA2D;AAE3D,0CAA6C;AAC7C,iDAA2C;AAE3C,MAAa,MAAO,SAAQ,mBAAS;IAEjC,IAAI,SAAS;;QACT,OAAO,OAAC,IAAI,CAAC,UAAU,oCAAf,IAAI,CAAC,UAAU,GAAK,IAAI,wBAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CACd,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,CAAC;CACJ;AAjBD,wBAiBC"}
|
package/sdk/countries.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../src/sdk/countries.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,SAAU,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,SAAS,CACX,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,2CAA2C,CAAC;IAIlE;;;;;OAKG;IACG,WAAW,CACb,OAAO,EAAE,UAAU,CAAC,+CAA+C,EACnE,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,oDAAoD,CAAC;CAG9E"}
|
package/sdk/countries.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
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.Countries = void 0;
|
|
7
|
-
const commonCountriesGetPincodes_js_1 = require("../funcs/commonCountriesGetPincodes.js");
|
|
8
|
-
const commonCountriesGetStates_js_1 = require("../funcs/commonCountriesGetStates.js");
|
|
9
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
10
|
-
const fp_js_1 = require("../types/fp.js");
|
|
11
|
-
class Countries extends sdks_js_1.ClientSDK {
|
|
12
|
-
/**
|
|
13
|
-
* Retrieve country wise states
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Retrieve country wise states
|
|
17
|
-
*/
|
|
18
|
-
async getStates(request, options) {
|
|
19
|
-
return (0, fp_js_1.unwrapAsync)((0, commonCountriesGetStates_js_1.commonCountriesGetStates)(this, request, options));
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Retrieve pincodes
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* Retrieve pincodes
|
|
26
|
-
*/
|
|
27
|
-
async getPincodes(request, options) {
|
|
28
|
-
return (0, fp_js_1.unwrapAsync)((0, commonCountriesGetPincodes_js_1.commonCountriesGetPincodes)(this, request, options));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.Countries = Countries;
|
|
32
|
-
//# sourceMappingURL=countries.js.map
|
package/sdk/countries.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"countries.js","sourceRoot":"","sources":["../src/sdk/countries.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0FAAoF;AACpF,sFAAgF;AAChF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,SAAU,SAAQ,mBAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACX,OAA0D,EAC1D,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACzE,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACb,OAAmE,EACnE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0DAA0B,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC3E,CAAC;CACJ;AA1BD,8BA0BC"}
|
package/sdk/crosssell.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class CrossSell extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Retrieve cross-sell products
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
9
|
-
*/
|
|
10
|
-
list(request: operations.GetCrossSellRequest, options?: RequestOptions): Promise<operations.GetCrossSellResponseBody>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=crosssell.d.ts.map
|
package/sdk/crosssell.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crosssell.d.ts","sourceRoot":"","sources":["../src/sdk/crosssell.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,SAAU,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,IAAI,CACN,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;CAGlD"}
|
package/sdk/crosssell.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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.CrossSell = void 0;
|
|
7
|
-
const catalogProductsCrossSellList_js_1 = require("../funcs/catalogProductsCrossSellList.js");
|
|
8
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
class CrossSell extends sdks_js_1.ClientSDK {
|
|
11
|
-
/**
|
|
12
|
-
* Retrieve cross-sell products
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
16
|
-
*/
|
|
17
|
-
async list(request, options) {
|
|
18
|
-
return (0, fp_js_1.unwrapAsync)((0, catalogProductsCrossSellList_js_1.catalogProductsCrossSellList)(this, request, options));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.CrossSell = CrossSell;
|
|
22
|
-
//# sourceMappingURL=crosssell.js.map
|
package/sdk/crosssell.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crosssell.js","sourceRoot":"","sources":["../src/sdk/crosssell.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8FAAwF;AACxF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,SAAU,SAAQ,mBAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACN,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7E,CAAC;CACJ;AAbD,8BAaC"}
|
package/sdk/otp.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class Otp extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Generate OTP
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Generating a One-Time Password (OTP) typically involves creating a random code that is sent to a user for authentication or verification purposes.
|
|
9
|
-
*/
|
|
10
|
-
generate(request?: operations.PostAuthGenerateOtpRequestBody | undefined, options?: RequestOptions): Promise<operations.PostAuthGenerateOtpResponseBody>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=otp.d.ts.map
|
package/sdk/otp.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"otp.d.ts","sourceRoot":"","sources":["../src/sdk/otp.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,GAAI,SAAQ,SAAS;IAC9B;;;;;OAKG;IACG,QAAQ,CACV,OAAO,CAAC,EAAE,UAAU,CAAC,8BAA8B,GAAG,SAAS,EAC/D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGzD"}
|
package/sdk/otp.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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.Otp = void 0;
|
|
7
|
-
const authOtpGenerate_js_1 = require("../funcs/authOtpGenerate.js");
|
|
8
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
class Otp extends sdks_js_1.ClientSDK {
|
|
11
|
-
/**
|
|
12
|
-
* Generate OTP
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Generating a One-Time Password (OTP) typically involves creating a random code that is sent to a user for authentication or verification purposes.
|
|
16
|
-
*/
|
|
17
|
-
async generate(request, options) {
|
|
18
|
-
return (0, fp_js_1.unwrapAsync)((0, authOtpGenerate_js_1.authOtpGenerate)(this, request, options));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.Otp = Otp;
|
|
22
|
-
//# sourceMappingURL=otp.js.map
|
package/sdk/otp.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"otp.js","sourceRoot":"","sources":["../src/sdk/otp.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oEAA8D;AAC9D,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,GAAI,SAAQ,mBAAS;IAC9B;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACV,OAA+D,EAC/D,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oCAAe,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAChE,CAAC;CACJ;AAbD,kBAaC"}
|
package/sdk/recommended.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recommended.d.ts","sourceRoot":"","sources":["../src/sdk/recommended.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,WAAY,SAAQ,SAAS;IACtC;;;;;OAKG;IACG,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAGvF"}
|
package/sdk/recommended.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recommended.js","sourceRoot":"","sources":["../src/sdk/recommended.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kGAA4F;AAC5F,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,WAAY,SAAQ,mBAAS;IACtC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CAAC,OAAwB;QAC/B,OAAO,IAAA,mBAAW,EAAC,IAAA,kEAA8B,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACtE,CAAC;CACJ;AAVD,kCAUC"}
|
package/sdk/returns.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class Returns extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Create order return
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Create order return
|
|
9
|
-
*/
|
|
10
|
-
create(request: operations.PostOrdersOrderNumberReturnRequest, options?: RequestOptions): Promise<operations.PostOrdersOrderNumberReturnResponseBody>;
|
|
11
|
-
/**
|
|
12
|
-
* List all order returns
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* List all order returns
|
|
16
|
-
*/
|
|
17
|
-
list(request: operations.GetOrdersOrderNumberReturnRequest, options?: RequestOptions): Promise<operations.GetOrdersOrderNumberReturnResponseBody>;
|
|
18
|
-
/**
|
|
19
|
-
* Retrieve order return detail
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Retrieve order return detail
|
|
23
|
-
*/
|
|
24
|
-
get(request: operations.GetOrdersOrderNumberReturnReturnIdRequest, options?: RequestOptions): Promise<operations.GetOrdersOrderNumberReturnReturnIdResponseBody>;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=returns.d.ts.map
|
package/sdk/returns.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"returns.d.ts","sourceRoot":"","sources":["../src/sdk/returns.ts"],"names":[],"mappings":"AAOA,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,MAAM,CACR,OAAO,EAAE,UAAU,CAAC,kCAAkC,EACtD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,uCAAuC,CAAC;IAI9D;;;;;OAKG;IACG,IAAI,CACN,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;IAI7D;;;;;OAKG;IACG,GAAG,CACL,OAAO,EAAE,UAAU,CAAC,yCAAyC,EAC7D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,8CAA8C,CAAC;CAGxE"}
|
package/sdk/returns.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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.Returns = void 0;
|
|
7
|
-
const ordersReturnsCreate_js_1 = require("../funcs/ordersReturnsCreate.js");
|
|
8
|
-
const ordersReturnsGet_js_1 = require("../funcs/ordersReturnsGet.js");
|
|
9
|
-
const ordersReturnsList_js_1 = require("../funcs/ordersReturnsList.js");
|
|
10
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
11
|
-
const fp_js_1 = require("../types/fp.js");
|
|
12
|
-
class Returns extends sdks_js_1.ClientSDK {
|
|
13
|
-
/**
|
|
14
|
-
* Create order return
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* Create order return
|
|
18
|
-
*/
|
|
19
|
-
async create(request, options) {
|
|
20
|
-
return (0, fp_js_1.unwrapAsync)((0, ordersReturnsCreate_js_1.ordersReturnsCreate)(this, request, options));
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* List all order returns
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* List all order returns
|
|
27
|
-
*/
|
|
28
|
-
async list(request, options) {
|
|
29
|
-
return (0, fp_js_1.unwrapAsync)((0, ordersReturnsList_js_1.ordersReturnsList)(this, request, options));
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Retrieve order return detail
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Retrieve order return detail
|
|
36
|
-
*/
|
|
37
|
-
async get(request, options) {
|
|
38
|
-
return (0, fp_js_1.unwrapAsync)((0, ordersReturnsGet_js_1.ordersReturnsGet)(this, request, options));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.Returns = Returns;
|
|
42
|
-
//# sourceMappingURL=returns.js.map
|
package/sdk/returns.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"returns.js","sourceRoot":"","sources":["../src/sdk/returns.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4EAAsE;AACtE,sEAAgE;AAChE,wEAAkE;AAClE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACR,OAAsD,EACtD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACpE,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACN,OAAqD,EACrD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wCAAiB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACL,OAA6D,EAC7D,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACjE,CAAC;CACJ;AAvCD,0BAuCC"}
|
package/sdk/similar.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class Similar extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Retrieve similar products
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Retrieves a list of products similar to a specified product based on their attributes and category. The similar products are returned sorted by relevance, with the most closely matching products appearing first. Useful for providing product recommendations to your customers.
|
|
9
|
-
*/
|
|
10
|
-
list(request: operations.GetSimilarRequest, options?: RequestOptions): Promise<operations.GetSimilarResponseBody>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=similar.d.ts.map
|
package/sdk/similar.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"similar.d.ts","sourceRoot":"","sources":["../src/sdk/similar.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,CACN,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;CAGhD"}
|
package/sdk/similar.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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.Similar = void 0;
|
|
7
|
-
const catalogProductsSimilarList_js_1 = require("../funcs/catalogProductsSimilarList.js");
|
|
8
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
class Similar extends sdks_js_1.ClientSDK {
|
|
11
|
-
/**
|
|
12
|
-
* Retrieve similar products
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Retrieves a list of products similar to a specified product based on their attributes and category. The similar products are returned sorted by relevance, with the most closely matching products appearing first. Useful for providing product recommendations to your customers.
|
|
16
|
-
*/
|
|
17
|
-
async list(request, options) {
|
|
18
|
-
return (0, fp_js_1.unwrapAsync)((0, catalogProductsSimilarList_js_1.catalogProductsSimilarList)(this, request, options));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.Similar = Similar;
|
|
22
|
-
//# sourceMappingURL=similar.js.map
|
package/sdk/similar.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"similar.js","sourceRoot":"","sources":["../src/sdk/similar.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0FAAoF;AACpF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACN,OAAqC,EACrC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0DAA0B,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC3E,CAAC;CACJ;AAbD,0BAaC"}
|
package/sdk/token.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class Token extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Refresh access token
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* 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.
|
|
9
|
-
*/
|
|
10
|
-
refresh(request?: operations.PostAuthRefreshTokenRequestBody | undefined, options?: RequestOptions): Promise<operations.PostAuthRefreshTokenResponseBody>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=token.d.ts.map
|
package/sdk/token.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"token.d.ts","sourceRoot":"","sources":["../src/sdk/token.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,KAAM,SAAQ,SAAS;IAChC;;;;;OAKG;IACG,OAAO,CACT,OAAO,CAAC,EAAE,UAAU,CAAC,+BAA+B,GAAG,SAAS,EAChE,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;CAG1D"}
|
package/sdk/token.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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.Token = void 0;
|
|
7
|
-
const authTokenRefresh_js_1 = require("../funcs/authTokenRefresh.js");
|
|
8
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
class Token extends sdks_js_1.ClientSDK {
|
|
11
|
-
/**
|
|
12
|
-
* Refresh access token
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* 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.
|
|
16
|
-
*/
|
|
17
|
-
async refresh(request, options) {
|
|
18
|
-
return (0, fp_js_1.unwrapAsync)((0, authTokenRefresh_js_1.authTokenRefresh)(this, request, options));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.Token = Token;
|
|
22
|
-
//# sourceMappingURL=token.js.map
|
package/sdk/token.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"token.js","sourceRoot":"","sources":["../src/sdk/token.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sEAAgE;AAChE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,KAAM,SAAQ,mBAAS;IAChC;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CACT,OAAgE,EAChE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACjE,CAAC;CACJ;AAbD,sBAaC"}
|
package/sdk/upsell.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class UpSell extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Retrieve up-sell products
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
|
|
9
|
-
*/
|
|
10
|
-
list(request: operations.GetUpSellRequest, options?: RequestOptions): Promise<operations.GetUpSellResponseBody>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=upsell.d.ts.map
|
package/sdk/upsell.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upsell.d.ts","sourceRoot":"","sources":["../src/sdk/upsell.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACjC;;;;;OAKG;IACG,IAAI,CACN,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;CAG/C"}
|
package/sdk/upsell.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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.UpSell = void 0;
|
|
7
|
-
const catalogProductsUpSellList_js_1 = require("../funcs/catalogProductsUpSellList.js");
|
|
8
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
class UpSell extends sdks_js_1.ClientSDK {
|
|
11
|
-
/**
|
|
12
|
-
* Retrieve up-sell products
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
|
|
16
|
-
*/
|
|
17
|
-
async list(request, options) {
|
|
18
|
-
return (0, fp_js_1.unwrapAsync)((0, catalogProductsUpSellList_js_1.catalogProductsUpSellList)(this, request, options));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.UpSell = UpSell;
|
|
22
|
-
//# sourceMappingURL=upsell.js.map
|
package/sdk/upsell.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upsell.js","sourceRoot":"","sources":["../src/sdk/upsell.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wFAAkF;AAClF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,MAAO,SAAQ,mBAAS;IACjC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACN,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wDAAyB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1E,CAAC;CACJ;AAbD,wBAaC"}
|