ce-storefront 0.0.1 → 0.0.2

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.
Files changed (375) hide show
  1. package/.devcontainer/README.md +5 -0
  2. package/README.md +89 -124
  3. package/docs/sdks/addresses/README.md +78 -0
  4. package/docs/sdks/analytics/README.md +5 -5
  5. package/docs/sdks/auth/README.md +16 -24
  6. package/docs/sdks/campaigns/README.md +1 -79
  7. package/docs/sdks/cestorefrontuser/README.md +850 -0
  8. package/docs/sdks/{common → coupons}/README.md +9 -9
  9. package/docs/sdks/customers/README.md +12 -15
  10. package/docs/sdks/{otp → newsletter}/README.md +10 -10
  11. package/docs/sdks/notificationpreferences/README.md +240 -0
  12. package/docs/sdks/offers/README.md +1 -152
  13. package/docs/sdks/orders/README.md +0 -73
  14. package/docs/sdks/products/README.md +228 -0
  15. package/docs/sdks/{recommended → promotions}/README.md +8 -9
  16. package/docs/sdks/returns/README.md +0 -160
  17. package/docs/sdks/reviews/README.md +5 -5
  18. package/docs/sdks/shipping/README.md +5 -5
  19. package/docs/sdks/user/README.md +1 -927
  20. package/docs/sdks/{countries → utils}/README.md +81 -8
  21. package/funcs/{analyticsTrackEvent.d.ts → analyticsTrack.d.ts} +2 -2
  22. package/funcs/analyticsTrack.d.ts.map +1 -0
  23. package/funcs/{analyticsTrackEvent.js → analyticsTrack.js} +3 -3
  24. package/funcs/analyticsTrack.js.map +1 -0
  25. package/funcs/{authOtpGenerate.d.ts → authGenerateOtp.d.ts} +2 -2
  26. package/funcs/{authOtpGenerate.d.ts.map → authGenerateOtp.d.ts.map} +1 -1
  27. package/funcs/{authOtpGenerate.js → authGenerateOtp.js} +3 -3
  28. package/funcs/{authOtpGenerate.js.map → authGenerateOtp.js.map} +1 -1
  29. package/funcs/{authTokenRefresh.d.ts → authRefreshToken.d.ts} +2 -2
  30. package/funcs/{authTokenRefresh.d.ts.map → authRefreshToken.d.ts.map} +1 -1
  31. package/funcs/{authTokenRefresh.js → authRefreshToken.js} +3 -3
  32. package/funcs/{authTokenRefresh.js.map → authRefreshToken.js.map} +1 -1
  33. package/funcs/{authGetUser.d.ts → authUserGet.d.ts} +2 -2
  34. package/funcs/{authGetUser.d.ts.map → authUserGet.d.ts.map} +1 -1
  35. package/funcs/{authGetUser.js → authUserGet.js} +3 -3
  36. package/funcs/{authGetUser.js.map → authUserGet.js.map} +1 -1
  37. package/funcs/{authUpdateUser.d.ts → authUserUpdate.d.ts} +2 -2
  38. package/funcs/{authUpdateUser.d.ts.map → authUserUpdate.d.ts.map} +1 -1
  39. package/funcs/{authUpdateUser.js → authUserUpdate.js} +3 -3
  40. package/funcs/{authUpdateUser.js.map → authUserUpdate.js.map} +1 -1
  41. package/funcs/{campaignsSubscribeNewsletter.d.ts → campaignsNewsletterSubscribe.d.ts} +2 -2
  42. package/funcs/{campaignsSubscribeNewsletter.d.ts.map → campaignsNewsletterSubscribe.d.ts.map} +1 -1
  43. package/funcs/{campaignsSubscribeNewsletter.js → campaignsNewsletterSubscribe.js} +3 -3
  44. package/funcs/{campaignsSubscribeNewsletter.js.map → campaignsNewsletterSubscribe.js.map} +1 -1
  45. package/funcs/{catalogProductsCrossSellList.d.ts → catalogProductsGetCrossSells.d.ts} +2 -2
  46. package/funcs/{catalogProductsCrossSellList.d.ts.map → catalogProductsGetCrossSells.d.ts.map} +1 -1
  47. package/funcs/{catalogProductsCrossSellList.js → catalogProductsGetCrossSells.js} +3 -3
  48. package/funcs/{catalogProductsCrossSellList.js.map → catalogProductsGetCrossSells.js.map} +1 -1
  49. package/funcs/{catalogProductsSimilarList.d.ts → catalogProductsGetSimilar.d.ts} +2 -2
  50. package/funcs/catalogProductsGetSimilar.d.ts.map +1 -0
  51. package/funcs/{catalogProductsSimilarList.js → catalogProductsGetSimilar.js} +3 -3
  52. package/funcs/catalogProductsGetSimilar.js.map +1 -0
  53. package/funcs/{catalogProductsUpSellList.d.ts → catalogProductsGetUpsells.d.ts} +2 -2
  54. package/funcs/{catalogProductsUpSellList.d.ts.map → catalogProductsGetUpsells.d.ts.map} +1 -1
  55. package/funcs/{catalogProductsUpSellList.js → catalogProductsGetUpsells.js} +3 -3
  56. package/funcs/{catalogProductsUpSellList.js.map → catalogProductsGetUpsells.js.map} +1 -1
  57. package/funcs/{commonCountriesGetPincodes.d.ts → customersAddressesList.d.ts} +4 -4
  58. package/funcs/customersAddressesList.d.ts.map +1 -0
  59. package/funcs/{customersGetAddresses.js → customersAddressesList.js} +3 -3
  60. package/funcs/customersAddressesList.js.map +1 -0
  61. package/funcs/{catalogProductsRecommendedList.d.ts → customersGetRecommendedProducts.d.ts} +2 -2
  62. package/funcs/customersGetRecommendedProducts.d.ts.map +1 -0
  63. package/funcs/{catalogProductsRecommendedList.js → customersGetRecommendedProducts.js} +3 -3
  64. package/funcs/customersGetRecommendedProducts.js.map +1 -0
  65. package/funcs/{customersReviewsGetAll.d.ts → customersReviewsList.d.ts} +2 -2
  66. package/funcs/customersReviewsList.d.ts.map +1 -0
  67. package/funcs/{customersReviewsGetAll.js → customersReviewsList.js} +3 -3
  68. package/funcs/customersReviewsList.js.map +1 -0
  69. package/funcs/{offersGetCoupons.d.ts → offersCouponsList.d.ts} +2 -2
  70. package/funcs/offersCouponsList.d.ts.map +1 -0
  71. package/funcs/{offersGetCoupons.js → offersCouponsList.js} +3 -3
  72. package/funcs/{ordersGetReturns.js.map → offersCouponsList.js.map} +1 -1
  73. package/funcs/{offersGetPromotions.d.ts → offersPromotionsList.d.ts} +2 -2
  74. package/funcs/offersPromotionsList.d.ts.map +1 -0
  75. package/funcs/{offersGetPromotions.js → offersPromotionsList.js} +3 -3
  76. package/funcs/offersPromotionsList.js.map +1 -0
  77. package/funcs/{shippingGetPincodeServiceability.d.ts → shippingCheckPincodeServiceability.d.ts} +2 -2
  78. package/funcs/shippingCheckPincodeServiceability.d.ts.map +1 -0
  79. package/funcs/{shippingGetPincodeServiceability.js → shippingCheckPincodeServiceability.js} +3 -3
  80. package/funcs/shippingCheckPincodeServiceability.js.map +1 -0
  81. package/funcs/{authUserCreateNotificationPreferences.d.ts → userNotificationPreferencesCreate.d.ts} +2 -2
  82. package/funcs/userNotificationPreferencesCreate.d.ts.map +1 -0
  83. package/funcs/{authUserCreateNotificationPreferences.js → userNotificationPreferencesCreate.js} +3 -3
  84. package/funcs/userNotificationPreferencesCreate.js.map +1 -0
  85. package/funcs/{authUserGetNotificationPreferences.d.ts → userNotificationPreferencesGet.d.ts} +2 -2
  86. package/funcs/userNotificationPreferencesGet.d.ts.map +1 -0
  87. package/funcs/{authUserGetNotificationPreferences.js → userNotificationPreferencesGet.js} +3 -3
  88. package/funcs/userNotificationPreferencesGet.js.map +1 -0
  89. package/funcs/{authUserUpdateNotificationPreferences.d.ts → userNotificationPreferencesUpdate.d.ts} +2 -2
  90. package/funcs/userNotificationPreferencesUpdate.d.ts.map +1 -0
  91. package/funcs/{authUserUpdateNotificationPreferences.js → userNotificationPreferencesUpdate.js} +3 -3
  92. package/funcs/userNotificationPreferencesUpdate.js.map +1 -0
  93. package/funcs/{commonGetCountries.d.ts → utilsGetCountries.d.ts} +2 -2
  94. package/funcs/utilsGetCountries.d.ts.map +1 -0
  95. package/funcs/{commonGetCountries.js → utilsGetCountries.js} +3 -3
  96. package/funcs/utilsGetCountries.js.map +1 -0
  97. package/funcs/{customersGetAddresses.d.ts → utilsGetPincodes.d.ts} +4 -4
  98. package/funcs/utilsGetPincodes.d.ts.map +1 -0
  99. package/funcs/{commonCountriesGetPincodes.js → utilsGetPincodes.js} +3 -3
  100. package/funcs/utilsGetPincodes.js.map +1 -0
  101. package/funcs/{commonCountriesGetStates.d.ts → utilsGetStates.d.ts} +2 -2
  102. package/funcs/utilsGetStates.d.ts.map +1 -0
  103. package/funcs/{commonCountriesGetStates.js → utilsGetStates.js} +3 -3
  104. package/funcs/utilsGetStates.js.map +1 -0
  105. package/lib/config.d.ts +4 -4
  106. package/lib/config.d.ts.map +1 -1
  107. package/lib/config.js +3 -8
  108. package/lib/config.js.map +1 -1
  109. package/models/components/cartitem.js +4 -4
  110. package/models/components/cartitem.js.map +1 -1
  111. package/models/components/index.d.ts +0 -1
  112. package/models/components/index.d.ts.map +1 -1
  113. package/models/components/index.js +0 -1
  114. package/models/components/index.js.map +1 -1
  115. package/models/components/orderreturnitem.d.ts +0 -31
  116. package/models/components/orderreturnitem.d.ts.map +1 -1
  117. package/models/components/orderreturnitem.js +1 -42
  118. package/models/components/orderreturnitem.js.map +1 -1
  119. package/models/components/productattribute.js +1 -1
  120. package/models/components/productattribute.js.map +1 -1
  121. package/models/components/productdetail.js +5 -5
  122. package/models/components/productdetail.js.map +1 -1
  123. package/models/components/productlist.js +5 -5
  124. package/models/components/productlist.js.map +1 -1
  125. package/models/components/productreview.js +1 -1
  126. package/models/components/productreview.js.map +1 -1
  127. package/models/components/productshipping.js +2 -2
  128. package/models/components/productshipping.js.map +1 -1
  129. package/models/components/productsubscription.js +1 -1
  130. package/models/components/productsubscription.js.map +1 -1
  131. package/models/components/skuinfo.js +4 -4
  132. package/models/components/skuinfo.js.map +1 -1
  133. package/models/errors/unauthorized.js +1 -1
  134. package/models/errors/unauthorized.js.map +1 -1
  135. package/models/operations/index.d.ts +0 -3
  136. package/models/operations/index.d.ts.map +1 -1
  137. package/models/operations/index.js +0 -3
  138. package/models/operations/index.js.map +1 -1
  139. package/models/operations/postcartitemid.js +1 -1
  140. package/models/operations/postcartitemid.js.map +1 -1
  141. package/package.json +5 -1
  142. package/sdk/addresses.d.ts +7 -0
  143. package/sdk/addresses.d.ts.map +1 -1
  144. package/sdk/addresses.js +10 -0
  145. package/sdk/addresses.js.map +1 -1
  146. package/sdk/analytics.d.ts +1 -1
  147. package/sdk/analytics.d.ts.map +1 -1
  148. package/sdk/analytics.js +3 -3
  149. package/sdk/analytics.js.map +1 -1
  150. package/sdk/auth.d.ts +8 -14
  151. package/sdk/auth.d.ts.map +1 -1
  152. package/sdk/auth.js +12 -22
  153. package/sdk/auth.js.map +1 -1
  154. package/sdk/campaigns.d.ts +4 -9
  155. package/sdk/campaigns.d.ts.map +1 -1
  156. package/sdk/campaigns.js +4 -10
  157. package/sdk/campaigns.js.map +1 -1
  158. package/sdk/cestorefrontuser.d.ts +82 -0
  159. package/sdk/cestorefrontuser.d.ts.map +1 -0
  160. package/sdk/cestorefrontuser.js +122 -0
  161. package/sdk/cestorefrontuser.js.map +1 -0
  162. package/sdk/coupons.d.ts +12 -0
  163. package/sdk/coupons.d.ts.map +1 -0
  164. package/sdk/coupons.js +22 -0
  165. package/sdk/coupons.js.map +1 -0
  166. package/sdk/customers.d.ts +3 -3
  167. package/sdk/customers.d.ts.map +1 -1
  168. package/sdk/customers.js +5 -5
  169. package/sdk/customers.js.map +1 -1
  170. package/sdk/newsletter.d.ts +12 -0
  171. package/sdk/newsletter.d.ts.map +1 -0
  172. package/sdk/newsletter.js +22 -0
  173. package/sdk/newsletter.js.map +1 -0
  174. package/sdk/notificationpreferences.d.ts +26 -0
  175. package/sdk/notificationpreferences.d.ts.map +1 -0
  176. package/sdk/notificationpreferences.js +42 -0
  177. package/sdk/notificationpreferences.js.map +1 -0
  178. package/sdk/offers.d.ts +7 -16
  179. package/sdk/offers.d.ts.map +1 -1
  180. package/sdk/offers.js +8 -19
  181. package/sdk/offers.js.map +1 -1
  182. package/sdk/orders.d.ts +0 -7
  183. package/sdk/orders.d.ts.map +1 -1
  184. package/sdk/orders.js +0 -10
  185. package/sdk/orders.js.map +1 -1
  186. package/sdk/products.d.ts +21 -12
  187. package/sdk/products.d.ts.map +1 -1
  188. package/sdk/products.js +30 -20
  189. package/sdk/products.js.map +1 -1
  190. package/sdk/promotions.d.ts +12 -0
  191. package/sdk/promotions.d.ts.map +1 -0
  192. package/sdk/promotions.js +22 -0
  193. package/sdk/promotions.js.map +1 -0
  194. package/sdk/returns.d.ts +0 -14
  195. package/sdk/returns.d.ts.map +1 -1
  196. package/sdk/returns.js +0 -20
  197. package/sdk/returns.js.map +1 -1
  198. package/sdk/reviews.d.ts +1 -1
  199. package/sdk/reviews.d.ts.map +1 -1
  200. package/sdk/reviews.js +3 -3
  201. package/sdk/reviews.js.map +1 -1
  202. package/sdk/sdk.d.ts +8 -5
  203. package/sdk/sdk.d.ts.map +1 -1
  204. package/sdk/sdk.js +12 -7
  205. package/sdk/sdk.js.map +1 -1
  206. package/sdk/shipping.d.ts +1 -1
  207. package/sdk/shipping.d.ts.map +1 -1
  208. package/sdk/shipping.js +3 -3
  209. package/sdk/shipping.js.map +1 -1
  210. package/sdk/user.d.ts +4 -86
  211. package/sdk/user.d.ts.map +1 -1
  212. package/sdk/user.js +4 -120
  213. package/sdk/user.js.map +1 -1
  214. package/sdk/{countries.d.ts → utils.d.ts} +9 -2
  215. package/sdk/utils.d.ts.map +1 -0
  216. package/sdk/utils.js +42 -0
  217. package/sdk/utils.js.map +1 -0
  218. package/src/funcs/{analyticsTrackEvent.ts → analyticsTrack.ts} +1 -1
  219. package/src/funcs/{authOtpGenerate.ts → authGenerateOtp.ts} +1 -1
  220. package/src/funcs/{authTokenRefresh.ts → authRefreshToken.ts} +1 -1
  221. package/src/funcs/{authGetUser.ts → authUserGet.ts} +1 -1
  222. package/src/funcs/{authUpdateUser.ts → authUserUpdate.ts} +1 -1
  223. package/src/funcs/{campaignsSubscribeNewsletter.ts → campaignsNewsletterSubscribe.ts} +1 -1
  224. package/src/funcs/{catalogProductsCrossSellList.ts → catalogProductsGetCrossSells.ts} +1 -1
  225. package/src/funcs/{catalogProductsSimilarList.ts → catalogProductsGetSimilar.ts} +1 -1
  226. package/src/funcs/{catalogProductsUpSellList.ts → catalogProductsGetUpsells.ts} +1 -1
  227. package/src/funcs/{customersGetAddresses.ts → customersAddressesList.ts} +1 -1
  228. package/src/funcs/{catalogProductsRecommendedList.ts → customersGetRecommendedProducts.ts} +1 -1
  229. package/src/funcs/{customersReviewsGetAll.ts → customersReviewsList.ts} +1 -1
  230. package/src/funcs/{offersGetCoupons.ts → offersCouponsList.ts} +1 -1
  231. package/src/funcs/{offersGetPromotions.ts → offersPromotionsList.ts} +1 -1
  232. package/src/funcs/{shippingGetPincodeServiceability.ts → shippingCheckPincodeServiceability.ts} +1 -1
  233. package/src/funcs/{authUserCreateNotificationPreferences.ts → userNotificationPreferencesCreate.ts} +1 -1
  234. package/src/funcs/{authUserGetNotificationPreferences.ts → userNotificationPreferencesGet.ts} +1 -1
  235. package/src/funcs/{authUserUpdateNotificationPreferences.ts → userNotificationPreferencesUpdate.ts} +1 -1
  236. package/src/funcs/{commonGetCountries.ts → utilsGetCountries.ts} +1 -1
  237. package/src/funcs/{commonCountriesGetPincodes.ts → utilsGetPincodes.ts} +1 -1
  238. package/src/funcs/{commonCountriesGetStates.ts → utilsGetStates.ts} +1 -1
  239. package/src/lib/config.ts +3 -8
  240. package/src/models/components/cartitem.ts +4 -4
  241. package/src/models/components/index.ts +0 -1
  242. package/src/models/components/orderreturnitem.ts +0 -70
  243. package/src/models/components/productattribute.ts +1 -1
  244. package/src/models/components/productdetail.ts +5 -5
  245. package/src/models/components/productlist.ts +5 -5
  246. package/src/models/components/productreview.ts +1 -1
  247. package/src/models/components/productshipping.ts +2 -2
  248. package/src/models/components/productsubscription.ts +1 -1
  249. package/src/models/components/skuinfo.ts +4 -4
  250. package/src/models/errors/unauthorized.ts +1 -1
  251. package/src/models/operations/index.ts +0 -3
  252. package/src/models/operations/postcartitemid.ts +1 -1
  253. package/src/sdk/addresses.ts +14 -0
  254. package/src/sdk/analytics.ts +3 -3
  255. package/src/sdk/auth.ts +18 -30
  256. package/src/sdk/campaigns.ts +5 -15
  257. package/src/sdk/cestorefrontuser.ts +160 -0
  258. package/src/sdk/coupons.ts +20 -0
  259. package/src/sdk/customers.ts +6 -7
  260. package/src/sdk/newsletter.ts +23 -0
  261. package/src/sdk/notificationpreferences.ts +51 -0
  262. package/src/sdk/offers.ts +9 -21
  263. package/src/sdk/orders.ts +0 -11
  264. package/src/sdk/products.ts +42 -24
  265. package/src/sdk/promotions.ts +20 -0
  266. package/src/sdk/returns.ts +0 -28
  267. package/src/sdk/reviews.ts +3 -3
  268. package/src/sdk/sdk.ts +15 -9
  269. package/src/sdk/shipping.ts +3 -3
  270. package/src/sdk/user.ts +5 -166
  271. package/src/sdk/{countries.ts → utils.ts} +18 -5
  272. package/docs/sdks/crosssell/README.md +0 -82
  273. package/docs/sdks/similar/README.md +0 -82
  274. package/docs/sdks/token/README.md +0 -80
  275. package/docs/sdks/upsell/README.md +0 -82
  276. package/funcs/analyticsTrackEvent.d.ts.map +0 -1
  277. package/funcs/analyticsTrackEvent.js.map +0 -1
  278. package/funcs/authUserCreateNotificationPreferences.d.ts.map +0 -1
  279. package/funcs/authUserCreateNotificationPreferences.js.map +0 -1
  280. package/funcs/authUserGetNotificationPreferences.d.ts.map +0 -1
  281. package/funcs/authUserGetNotificationPreferences.js.map +0 -1
  282. package/funcs/authUserUpdateNotificationPreferences.d.ts.map +0 -1
  283. package/funcs/authUserUpdateNotificationPreferences.js.map +0 -1
  284. package/funcs/catalogProductsRecommendedList.d.ts.map +0 -1
  285. package/funcs/catalogProductsRecommendedList.js.map +0 -1
  286. package/funcs/catalogProductsSimilarList.d.ts.map +0 -1
  287. package/funcs/catalogProductsSimilarList.js.map +0 -1
  288. package/funcs/commonCountriesGetPincodes.d.ts.map +0 -1
  289. package/funcs/commonCountriesGetPincodes.js.map +0 -1
  290. package/funcs/commonCountriesGetStates.d.ts.map +0 -1
  291. package/funcs/commonCountriesGetStates.js.map +0 -1
  292. package/funcs/commonGetCountries.d.ts.map +0 -1
  293. package/funcs/commonGetCountries.js.map +0 -1
  294. package/funcs/customersGetAddresses.d.ts.map +0 -1
  295. package/funcs/customersGetAddresses.js.map +0 -1
  296. package/funcs/customersReviewsGetAll.d.ts.map +0 -1
  297. package/funcs/customersReviewsGetAll.js.map +0 -1
  298. package/funcs/offersGetCoupons.d.ts.map +0 -1
  299. package/funcs/offersGetCoupons.js.map +0 -1
  300. package/funcs/offersGetPromotions.d.ts.map +0 -1
  301. package/funcs/offersGetPromotions.js.map +0 -1
  302. package/funcs/ordersGetReturns.d.ts +0 -15
  303. package/funcs/ordersGetReturns.d.ts.map +0 -1
  304. package/funcs/ordersGetReturns.js +0 -80
  305. package/funcs/ordersReturnsCreate.d.ts +0 -16
  306. package/funcs/ordersReturnsCreate.d.ts.map +0 -1
  307. package/funcs/ordersReturnsCreate.js +0 -101
  308. package/funcs/ordersReturnsCreate.js.map +0 -1
  309. package/funcs/ordersReturnsGet.d.ts +0 -15
  310. package/funcs/ordersReturnsGet.d.ts.map +0 -1
  311. package/funcs/ordersReturnsGet.js +0 -100
  312. package/funcs/ordersReturnsGet.js.map +0 -1
  313. package/funcs/shippingGetPincodeServiceability.d.ts.map +0 -1
  314. package/funcs/shippingGetPincodeServiceability.js.map +0 -1
  315. package/models/components/createorderreturn.d.ts +0 -29
  316. package/models/components/createorderreturn.d.ts.map +0 -1
  317. package/models/components/createorderreturn.js +0 -69
  318. package/models/components/createorderreturn.js.map +0 -1
  319. package/models/operations/getordersordernumberreturnreturnid.d.ts +0 -87
  320. package/models/operations/getordersordernumberreturnreturnid.d.ts.map +0 -1
  321. package/models/operations/getordersordernumberreturnreturnid.js +0 -122
  322. package/models/operations/getordersordernumberreturnreturnid.js.map +0 -1
  323. package/models/operations/getordersreturns.d.ts +0 -56
  324. package/models/operations/getordersreturns.d.ts.map +0 -1
  325. package/models/operations/getordersreturns.js +0 -74
  326. package/models/operations/getordersreturns.js.map +0 -1
  327. package/models/operations/postordersordernumberreturn.d.ts +0 -84
  328. package/models/operations/postordersordernumberreturn.d.ts.map +0 -1
  329. package/models/operations/postordersordernumberreturn.js +0 -122
  330. package/models/operations/postordersordernumberreturn.js.map +0 -1
  331. package/sdk/common.d.ts +0 -15
  332. package/sdk/common.d.ts.map +0 -1
  333. package/sdk/common.js +0 -27
  334. package/sdk/common.js.map +0 -1
  335. package/sdk/countries.d.ts.map +0 -1
  336. package/sdk/countries.js +0 -32
  337. package/sdk/countries.js.map +0 -1
  338. package/sdk/crosssell.d.ts +0 -12
  339. package/sdk/crosssell.d.ts.map +0 -1
  340. package/sdk/crosssell.js +0 -22
  341. package/sdk/crosssell.js.map +0 -1
  342. package/sdk/otp.d.ts +0 -12
  343. package/sdk/otp.d.ts.map +0 -1
  344. package/sdk/otp.js +0 -22
  345. package/sdk/otp.js.map +0 -1
  346. package/sdk/recommended.d.ts +0 -12
  347. package/sdk/recommended.d.ts.map +0 -1
  348. package/sdk/recommended.js +0 -22
  349. package/sdk/recommended.js.map +0 -1
  350. package/sdk/similar.d.ts +0 -12
  351. package/sdk/similar.d.ts.map +0 -1
  352. package/sdk/similar.js +0 -22
  353. package/sdk/similar.js.map +0 -1
  354. package/sdk/token.d.ts +0 -12
  355. package/sdk/token.d.ts.map +0 -1
  356. package/sdk/token.js +0 -22
  357. package/sdk/token.js.map +0 -1
  358. package/sdk/upsell.d.ts +0 -12
  359. package/sdk/upsell.d.ts.map +0 -1
  360. package/sdk/upsell.js +0 -22
  361. package/sdk/upsell.js.map +0 -1
  362. package/src/funcs/ordersGetReturns.ts +0 -103
  363. package/src/funcs/ordersReturnsCreate.ts +0 -139
  364. package/src/funcs/ordersReturnsGet.ts +0 -132
  365. package/src/models/components/createorderreturn.ts +0 -73
  366. package/src/models/operations/getordersordernumberreturnreturnid.ts +0 -174
  367. package/src/models/operations/getordersreturns.ts +0 -97
  368. package/src/models/operations/postordersordernumberreturn.ts +0 -171
  369. package/src/sdk/common.ts +0 -28
  370. package/src/sdk/crosssell.ts +0 -23
  371. package/src/sdk/otp.ts +0 -23
  372. package/src/sdk/recommended.ts +0 -20
  373. package/src/sdk/similar.ts +0 -23
  374. package/src/sdk/token.ts +0 -23
  375. package/src/sdk/upsell.ts +0 -23
@@ -1 +1 @@
1
- {"version":3,"file":"products.js","sourceRoot":"","sources":["../src/sdk/products.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0EAAoE;AACpE,4EAAsE;AACtE,4CAA2D;AAE3D,0CAA6C;AAC7C,qEAA+D;AAC/D,iDAA2C;AAC3C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AAO,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACZ,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wDAAyB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACf,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7E,CAAC;CACJ;AA3ED,4BA2EC"}
@@ -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 Promotions extends ClientSDK {
4
+ /**
5
+ * Retrieve all promotions
6
+ *
7
+ * @remarks
8
+ * All active promotions
9
+ */
10
+ list(options?: RequestOptions): Promise<operations.GetPromotionsResponseBody>;
11
+ }
12
+ //# sourceMappingURL=promotions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotions.d.ts","sourceRoot":"","sources":["../src/sdk/promotions.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,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;CAGtF"}
@@ -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.Promotions = void 0;
7
+ const offersPromotionsList_js_1 = require("../funcs/offersPromotionsList.js");
8
+ const sdks_js_1 = require("../lib/sdks.js");
9
+ const fp_js_1 = require("../types/fp.js");
10
+ class Promotions extends sdks_js_1.ClientSDK {
11
+ /**
12
+ * Retrieve all promotions
13
+ *
14
+ * @remarks
15
+ * All active promotions
16
+ */
17
+ async list(options) {
18
+ return (0, fp_js_1.unwrapAsync)((0, offersPromotionsList_js_1.offersPromotionsList)(this, options));
19
+ }
20
+ }
21
+ exports.Promotions = Promotions;
22
+ //# sourceMappingURL=promotions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotions.js","sourceRoot":"","sources":["../src/sdk/promotions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8EAAwE;AACxE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,UAAW,SAAQ,mBAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CAAC,OAAwB;QAC/B,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAC5D,CAAC;CACJ;AAVD,gCAUC"}
package/sdk/returns.d.ts CHANGED
@@ -1,13 +1,6 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
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
4
  /**
12
5
  * List all order returns
13
6
  *
@@ -15,12 +8,5 @@ export declare class Returns extends ClientSDK {
15
8
  * List all order returns
16
9
  */
17
10
  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
11
  }
26
12
  //# sourceMappingURL=returns.d.ts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"returns.d.ts","sourceRoot":"","sources":["../src/sdk/returns.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,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;CAGhE"}
package/sdk/returns.js CHANGED
@@ -4,21 +4,10 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Returns = void 0;
7
- const ordersReturnsCreate_js_1 = require("../funcs/ordersReturnsCreate.js");
8
- const ordersReturnsGet_js_1 = require("../funcs/ordersReturnsGet.js");
9
7
  const ordersReturnsList_js_1 = require("../funcs/ordersReturnsList.js");
10
8
  const sdks_js_1 = require("../lib/sdks.js");
11
9
  const fp_js_1 = require("../types/fp.js");
12
10
  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
11
  /**
23
12
  * List all order returns
24
13
  *
@@ -28,15 +17,6 @@ class Returns extends sdks_js_1.ClientSDK {
28
17
  async list(request, options) {
29
18
  return (0, fp_js_1.unwrapAsync)((0, ordersReturnsList_js_1.ordersReturnsList)(this, request, options));
30
19
  }
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
20
  }
41
21
  exports.Returns = Returns;
42
22
  //# sourceMappingURL=returns.js.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"returns.js","sourceRoot":"","sources":["../src/sdk/returns.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wEAAkE;AAClE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IAClC;;;;;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;CACJ;AAbD,0BAaC"}
package/sdk/reviews.d.ts CHANGED
@@ -7,6 +7,6 @@ export declare class Reviews extends ClientSDK {
7
7
  * @remarks
8
8
  * Retrieve all reviews
9
9
  */
10
- getAll(request: operations.GetCustomersUserIdReviewsRequest, options?: RequestOptions): Promise<operations.GetCustomersUserIdReviewsResponseBody>;
10
+ list(request: operations.GetCustomersUserIdReviewsRequest, options?: RequestOptions): Promise<operations.GetCustomersUserIdReviewsResponseBody>;
11
11
  }
12
12
  //# sourceMappingURL=reviews.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../src/sdk/reviews.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,MAAM,CACR,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;CAG/D"}
1
+ {"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../src/sdk/reviews.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,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;CAG/D"}
package/sdk/reviews.js CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Reviews = void 0;
7
- const customersReviewsGetAll_js_1 = require("../funcs/customersReviewsGetAll.js");
7
+ const customersReviewsList_js_1 = require("../funcs/customersReviewsList.js");
8
8
  const sdks_js_1 = require("../lib/sdks.js");
9
9
  const fp_js_1 = require("../types/fp.js");
10
10
  class Reviews extends sdks_js_1.ClientSDK {
@@ -14,8 +14,8 @@ class Reviews extends sdks_js_1.ClientSDK {
14
14
  * @remarks
15
15
  * Retrieve all reviews
16
16
  */
17
- async getAll(request, options) {
18
- return (0, fp_js_1.unwrapAsync)((0, customersReviewsGetAll_js_1.customersReviewsGetAll)(this, request, options));
17
+ async list(request, options) {
18
+ return (0, fp_js_1.unwrapAsync)((0, customersReviewsList_js_1.customersReviewsList)(this, request, options));
19
19
  }
20
20
  }
21
21
  exports.Reviews = Reviews;
@@ -1 +1 @@
1
- {"version":3,"file":"reviews.js","sourceRoot":"","sources":["../src/sdk/reviews.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kFAA4E;AAC5E,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACR,OAAoD,EACpD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kDAAsB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACvE,CAAC;CACJ;AAbD,0BAaC"}
1
+ {"version":3,"file":"reviews.js","sourceRoot":"","sources":["../src/sdk/reviews.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8EAAwE;AACxE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACN,OAAoD,EACpD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACrE,CAAC;CACJ;AAbD,0BAaC"}
package/sdk/sdk.d.ts CHANGED
@@ -5,16 +5,19 @@ import { Campaigns } from "./campaigns.js";
5
5
  import { Carts } from "./carts.js";
6
6
  import { Catalog } from "./catalog.js";
7
7
  import { Checkout } from "./checkout.js";
8
- import { Common } from "./common.js";
9
8
  import { Customers } from "./customers.js";
10
9
  import { Offers } from "./offers.js";
11
10
  import { Orders } from "./orders.js";
12
11
  import { Payments } from "./payments.js";
13
12
  import { Shipping } from "./shipping.js";
13
+ import { User } from "./user.js";
14
+ import { Utils } from "./utils.js";
14
15
  import { Wishlist } from "./wishlist.js";
15
16
  export declare class CeStorefront extends ClientSDK {
16
17
  private _catalog?;
17
18
  get catalog(): Catalog;
19
+ private _customers?;
20
+ get customers(): Customers;
18
21
  private _carts?;
19
22
  get carts(): Carts;
20
23
  private _checkout?;
@@ -23,18 +26,18 @@ export declare class CeStorefront extends ClientSDK {
23
26
  get offers(): Offers;
24
27
  private _wishlist?;
25
28
  get wishlist(): Wishlist;
26
- private _customers?;
27
- get customers(): Customers;
28
29
  private _orders?;
29
30
  get orders(): Orders;
30
31
  private _shipping?;
31
32
  get shipping(): Shipping;
32
33
  private _auth?;
33
34
  get auth(): Auth;
35
+ private _user?;
36
+ get user(): User;
34
37
  private _payments?;
35
38
  get payments(): Payments;
36
- private _common?;
37
- get common(): Common;
39
+ private _utils?;
40
+ get utils(): Utils;
38
41
  private _analytics?;
39
42
  get analytics(): Analytics;
40
43
  private _campaigns?;
package/sdk/sdk.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,qBAAa,YAAa,SAAQ,SAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,MAAM,CAAC,CAAQ;IACvB,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7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AAC,CAAQ;IACvB,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;IAED,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;CACJ"}
package/sdk/sdk.js CHANGED
@@ -11,18 +11,23 @@ const campaigns_js_1 = require("./campaigns.js");
11
11
  const carts_js_1 = require("./carts.js");
12
12
  const catalog_js_1 = require("./catalog.js");
13
13
  const checkout_js_1 = require("./checkout.js");
14
- const common_js_1 = require("./common.js");
15
14
  const customers_js_1 = require("./customers.js");
16
15
  const offers_js_1 = require("./offers.js");
17
16
  const orders_js_1 = require("./orders.js");
18
17
  const payments_js_1 = require("./payments.js");
19
18
  const shipping_js_1 = require("./shipping.js");
19
+ const user_js_1 = require("./user.js");
20
+ const utils_js_1 = require("./utils.js");
20
21
  const wishlist_js_1 = require("./wishlist.js");
21
22
  class CeStorefront extends sdks_js_1.ClientSDK {
22
23
  get catalog() {
23
24
  var _a;
24
25
  return ((_a = this._catalog) !== null && _a !== void 0 ? _a : (this._catalog = new catalog_js_1.Catalog(this.options$)));
25
26
  }
27
+ get customers() {
28
+ var _a;
29
+ return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new customers_js_1.Customers(this.options$)));
30
+ }
26
31
  get carts() {
27
32
  var _a;
28
33
  return ((_a = this._carts) !== null && _a !== void 0 ? _a : (this._carts = new carts_js_1.Carts(this.options$)));
@@ -39,10 +44,6 @@ class CeStorefront extends sdks_js_1.ClientSDK {
39
44
  var _a;
40
45
  return ((_a = this._wishlist) !== null && _a !== void 0 ? _a : (this._wishlist = new wishlist_js_1.Wishlist(this.options$)));
41
46
  }
42
- get customers() {
43
- var _a;
44
- return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new customers_js_1.Customers(this.options$)));
45
- }
46
47
  get orders() {
47
48
  var _a;
48
49
  return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new orders_js_1.Orders(this.options$)));
@@ -55,13 +56,17 @@ class CeStorefront extends sdks_js_1.ClientSDK {
55
56
  var _a;
56
57
  return ((_a = this._auth) !== null && _a !== void 0 ? _a : (this._auth = new auth_js_1.Auth(this.options$)));
57
58
  }
59
+ get user() {
60
+ var _a;
61
+ return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new user_js_1.User(this.options$)));
62
+ }
58
63
  get payments() {
59
64
  var _a;
60
65
  return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new payments_js_1.Payments(this.options$)));
61
66
  }
62
- get common() {
67
+ get utils() {
63
68
  var _a;
64
- return ((_a = this._common) !== null && _a !== void 0 ? _a : (this._common = new common_js_1.Common(this.options$)));
69
+ return ((_a = this._utils) !== null && _a !== void 0 ? _a : (this._utils = new utils_js_1.Utils(this.options$)));
65
70
  }
66
71
  get analytics() {
67
72
  var _a;
package/sdk/sdk.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,iDAA2C;AAC3C,uCAAiC;AACjC,iDAA2C;AAC3C,yCAAmC;AACnC,6CAAuC;AACvC,+CAAyC;AACzC,2CAAqC;AACrC,iDAA2C;AAC3C,2CAAqC;AACrC,2CAAqC;AACrC,+CAAyC;AACzC,+CAAyC;AACzC,+CAAyC;AAEzC,MAAa,YAAa,SAAQ,mBAAS;IAEvC,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,KAAK;;QACL,OAAO,OAAC,IAAI,CAAC,MAAM,oCAAX,IAAI,CAAC,MAAM,GAAK,IAAI,gBAAK,CAAC,IAAI,CAAC,QAAQ,C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AO,OAAC,IAAI,CAAC,SAAS,oCAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAGD,IAAI,KAAK;;QACL,OAAO,OAAC,IAAI,CAAC,MAAM,oCAAX,IAAI,CAAC,MAAM,GAAK,IAAI,gBAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACtD,CAAC;IAGD,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,SAAS;;QACT,OAAO,OAAC,IAAI,CAAC,UAAU,oCAAf,IAAI,CAAC,UAAU,GAAK,IAAI,wBAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;CACJ;AAtED,oCAsEC"}
package/sdk/shipping.d.ts CHANGED
@@ -7,6 +7,6 @@ export declare class Shipping extends ClientSDK {
7
7
  * @remarks
8
8
  * Check shipment delivery availability in an area by pincode
9
9
  */
10
- getPincodeServiceability(request: operations.GetShipmentPincodeServiceabilityRequest, options?: RequestOptions): Promise<operations.GetShipmentPincodeServiceabilityResponseBody>;
10
+ checkPincodeServiceability(request: operations.GetShipmentPincodeServiceabilityRequest, options?: RequestOptions): Promise<operations.GetShipmentPincodeServiceabilityResponseBody>;
11
11
  }
12
12
  //# sourceMappingURL=shipping.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping.d.ts","sourceRoot":"","sources":["../src/sdk/shipping.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACnC;;;;;OAKG;IACG,wBAAwB,CAC1B,OAAO,EAAE,UAAU,CAAC,uCAAuC,EAC3D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;CAGtE"}
1
+ {"version":3,"file":"shipping.d.ts","sourceRoot":"","sources":["../src/sdk/shipping.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACnC;;;;;OAKG;IACG,0BAA0B,CAC5B,OAAO,EAAE,UAAU,CAAC,uCAAuC,EAC3D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;CAGtE"}
package/sdk/shipping.js CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Shipping = void 0;
7
- const shippingGetPincodeServiceability_js_1 = require("../funcs/shippingGetPincodeServiceability.js");
7
+ const shippingCheckPincodeServiceability_js_1 = require("../funcs/shippingCheckPincodeServiceability.js");
8
8
  const sdks_js_1 = require("../lib/sdks.js");
9
9
  const fp_js_1 = require("../types/fp.js");
10
10
  class Shipping extends sdks_js_1.ClientSDK {
@@ -14,8 +14,8 @@ class Shipping extends sdks_js_1.ClientSDK {
14
14
  * @remarks
15
15
  * Check shipment delivery availability in an area by pincode
16
16
  */
17
- async getPincodeServiceability(request, options) {
18
- return (0, fp_js_1.unwrapAsync)((0, shippingGetPincodeServiceability_js_1.shippingGetPincodeServiceability)(this, request, options));
17
+ async checkPincodeServiceability(request, options) {
18
+ return (0, fp_js_1.unwrapAsync)((0, shippingCheckPincodeServiceability_js_1.shippingCheckPincodeServiceability)(this, request, options));
19
19
  }
20
20
  }
21
21
  exports.Shipping = Shipping;
@@ -1 +1 @@
1
- {"version":3,"file":"shipping.js","sourceRoot":"","sources":["../src/sdk/shipping.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sGAAgG;AAChG,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACnC;;;;;OAKG;IACH,KAAK,CAAC,wBAAwB,CAC1B,OAA2D,EAC3D,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sEAAgC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACjF,CAAC;CACJ;AAbD,4BAaC"}
1
+ {"version":3,"file":"shipping.js","sourceRoot":"","sources":["../src/sdk/shipping.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0GAAoG;AACpG,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACnC;;;;;OAKG;IACH,KAAK,CAAC,0BAA0B,CAC5B,OAA2D,EAC3D,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAkC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACnF,CAAC;CACJ;AAbD,4BAaC"}
package/sdk/user.d.ts CHANGED
@@ -1,89 +1,7 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as operations from "../models/operations/index.js";
1
+ import { ClientSDK } from "../lib/sdks.js";
2
+ import { NotificationPreferences } from "./notificationpreferences.js";
3
3
  export declare class User extends ClientSDK {
4
- /**
5
- * Add profile image
6
- *
7
- * @remarks
8
- * 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.
9
- */
10
- addProfileImage(request: operations.PostAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.PostAuthUserIdProfileImageResponseBody>;
11
- /**
12
- * Update profile image
13
- *
14
- * @remarks
15
- * 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.
16
- */
17
- updateProfileImage(request: operations.PutAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdProfileImageResponseBody>;
18
- /**
19
- * Delete profile image
20
- *
21
- * @remarks
22
- * 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.
23
- */
24
- deleteProfileImage(request: operations.DeleteAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.DeleteAuthUserIdProfileImageResponseBody>;
25
- /**
26
- * Retrieve a profile image
27
- *
28
- * @remarks
29
- * 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.
30
- */
31
- getProfileImage(request: operations.GetAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdProfileImageResponseBody>;
32
- /**
33
- * Deactivate account
34
- *
35
- * @remarks
36
- * 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.
37
- */
38
- deactivateAccount(request: operations.PutAuthUserIdDeactivateRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdDeactivateResponseBody>;
39
- /**
40
- * Change password
41
- *
42
- * @remarks
43
- * The Change Password API is a key feature designed to provide a secure and standardized method for users to update their passwords.
44
- */
45
- changePassword(request?: operations.PostAuthChangePasswordRequestBody | undefined, options?: RequestOptions): Promise<operations.PostAuthChangePasswordResponseBody>;
46
- /**
47
- * Forgot password
48
- *
49
- * @remarks
50
- * 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.
51
- */
52
- forgotPassword(request?: operations.PostAuthForgotPasswordRequestBody | undefined, options?: RequestOptions): Promise<operations.PostAuthForgotPasswordResponseBody>;
53
- /**
54
- * Reset password
55
- *
56
- * @remarks
57
- * Reset password
58
- */
59
- resetPassword(request?: operations.PostAuthResetPasswordRequestBody | undefined, options?: RequestOptions): Promise<operations.PostAuthResetPasswordResponseBody>;
60
- /**
61
- * Retrieve user notification preferences
62
- *
63
- * @remarks
64
- * The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
65
- */
66
- getNotificationPreferences(request: operations.GetAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdNotificationPreferencesResponseBody>;
67
- /**
68
- * Create user notification preferences
69
- *
70
- * @remarks
71
- * Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
72
- */
73
- createNotificationPreferences(request: operations.PostAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PostAuthUserIdNotificationPreferencesResponseBody>;
74
- /**
75
- * Update user notification preferences
76
- *
77
- * @remarks
78
- * Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
79
- */
80
- updateNotificationPreferences(request: operations.PutAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdNotificationPreferencesResponseBody>;
81
- /**
82
- * Logout user
83
- *
84
- * @remarks
85
- * 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.
86
- */
87
- logout(options?: RequestOptions): Promise<operations.PostAuthLogoutResponseBody>;
4
+ private _notificationPreferences?;
5
+ get notificationPreferences(): NotificationPreferences;
88
6
  }
89
7
  //# sourceMappingURL=user.d.ts.map
package/sdk/user.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../src/sdk/user.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK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AAU,CAAC,iCAAiC,CAAC;IAIxD;;;;;OAKG;IACG,0BAA0B,CAC5B,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;IAIvE;;;;;OAKG;IACG,6BAA6B,CAC/B,OAAO,EAAE,UAAU,CAAC,4CAA4C,EAChE,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,iDAAiD,CAAC;IAIxE;;;;;OAKG;IACG,6BAA6B,CAC/B,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;IAIvE;;;;;OAKG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAGzF"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../src/sdk/user.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,qBAAa,IAAK,SAAQ,SAAS;IAC/B,OAAO,CAAC,wBAAwB,CAAC,CAA0B;IAC3D,IAAI,uBAAuB,IAAI,uBAAuB,CAErD;CACJ"}
package/sdk/user.js CHANGED
@@ -4,128 +4,12 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.User = void 0;
7
- const authUserAddProfileImage_js_1 = require("../funcs/authUserAddProfileImage.js");
8
- const authUserChangePassword_js_1 = require("../funcs/authUserChangePassword.js");
9
- const authUserCreateNotificationPreferences_js_1 = require("../funcs/authUserCreateNotificationPreferences.js");
10
- const authUserDeactivateAccount_js_1 = require("../funcs/authUserDeactivateAccount.js");
11
- const authUserDeleteProfileImage_js_1 = require("../funcs/authUserDeleteProfileImage.js");
12
- const authUserForgotPassword_js_1 = require("../funcs/authUserForgotPassword.js");
13
- const authUserGetNotificationPreferences_js_1 = require("../funcs/authUserGetNotificationPreferences.js");
14
- const authUserGetProfileImage_js_1 = require("../funcs/authUserGetProfileImage.js");
15
- const authUserLogout_js_1 = require("../funcs/authUserLogout.js");
16
- const authUserResetPassword_js_1 = require("../funcs/authUserResetPassword.js");
17
- const authUserUpdateNotificationPreferences_js_1 = require("../funcs/authUserUpdateNotificationPreferences.js");
18
- const authUserUpdateProfileImage_js_1 = require("../funcs/authUserUpdateProfileImage.js");
19
7
  const sdks_js_1 = require("../lib/sdks.js");
20
- const fp_js_1 = require("../types/fp.js");
8
+ const notificationpreferences_js_1 = require("./notificationpreferences.js");
21
9
  class User extends sdks_js_1.ClientSDK {
22
- /**
23
- * Add profile image
24
- *
25
- * @remarks
26
- * 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.
27
- */
28
- async addProfileImage(request, options) {
29
- return (0, fp_js_1.unwrapAsync)((0, authUserAddProfileImage_js_1.authUserAddProfileImage)(this, request, options));
30
- }
31
- /**
32
- * Update profile image
33
- *
34
- * @remarks
35
- * 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.
36
- */
37
- async updateProfileImage(request, options) {
38
- return (0, fp_js_1.unwrapAsync)((0, authUserUpdateProfileImage_js_1.authUserUpdateProfileImage)(this, request, options));
39
- }
40
- /**
41
- * Delete profile image
42
- *
43
- * @remarks
44
- * 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.
45
- */
46
- async deleteProfileImage(request, options) {
47
- return (0, fp_js_1.unwrapAsync)((0, authUserDeleteProfileImage_js_1.authUserDeleteProfileImage)(this, request, options));
48
- }
49
- /**
50
- * Retrieve a profile image
51
- *
52
- * @remarks
53
- * 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.
54
- */
55
- async getProfileImage(request, options) {
56
- return (0, fp_js_1.unwrapAsync)((0, authUserGetProfileImage_js_1.authUserGetProfileImage)(this, request, options));
57
- }
58
- /**
59
- * Deactivate account
60
- *
61
- * @remarks
62
- * 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.
63
- */
64
- async deactivateAccount(request, options) {
65
- return (0, fp_js_1.unwrapAsync)((0, authUserDeactivateAccount_js_1.authUserDeactivateAccount)(this, request, options));
66
- }
67
- /**
68
- * Change password
69
- *
70
- * @remarks
71
- * The Change Password API is a key feature designed to provide a secure and standardized method for users to update their passwords.
72
- */
73
- async changePassword(request, options) {
74
- return (0, fp_js_1.unwrapAsync)((0, authUserChangePassword_js_1.authUserChangePassword)(this, request, options));
75
- }
76
- /**
77
- * Forgot password
78
- *
79
- * @remarks
80
- * 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.
81
- */
82
- async forgotPassword(request, options) {
83
- return (0, fp_js_1.unwrapAsync)((0, authUserForgotPassword_js_1.authUserForgotPassword)(this, request, options));
84
- }
85
- /**
86
- * Reset password
87
- *
88
- * @remarks
89
- * Reset password
90
- */
91
- async resetPassword(request, options) {
92
- return (0, fp_js_1.unwrapAsync)((0, authUserResetPassword_js_1.authUserResetPassword)(this, request, options));
93
- }
94
- /**
95
- * Retrieve user notification preferences
96
- *
97
- * @remarks
98
- * The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
99
- */
100
- async getNotificationPreferences(request, options) {
101
- return (0, fp_js_1.unwrapAsync)((0, authUserGetNotificationPreferences_js_1.authUserGetNotificationPreferences)(this, request, options));
102
- }
103
- /**
104
- * Create user notification preferences
105
- *
106
- * @remarks
107
- * Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
108
- */
109
- async createNotificationPreferences(request, options) {
110
- return (0, fp_js_1.unwrapAsync)((0, authUserCreateNotificationPreferences_js_1.authUserCreateNotificationPreferences)(this, request, options));
111
- }
112
- /**
113
- * Update user notification preferences
114
- *
115
- * @remarks
116
- * Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
117
- */
118
- async updateNotificationPreferences(request, options) {
119
- return (0, fp_js_1.unwrapAsync)((0, authUserUpdateNotificationPreferences_js_1.authUserUpdateNotificationPreferences)(this, request, options));
120
- }
121
- /**
122
- * Logout user
123
- *
124
- * @remarks
125
- * 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.
126
- */
127
- async logout(options) {
128
- return (0, fp_js_1.unwrapAsync)((0, authUserLogout_js_1.authUserLogout)(this, options));
10
+ get notificationPreferences() {
11
+ var _a;
12
+ return ((_a = this._notificationPreferences) !== null && _a !== void 0 ? _a : (this._notificationPreferences = new notificationpreferences_js_1.NotificationPreferences(this.options$)));
129
13
  }
130
14
  }
131
15
  exports.User = User;
package/sdk/user.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../src/sdk/user.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oFAA8E;AAC9E,kFAA4E;AAC5E,gHAA0G;AAC1G,wFAAkF;AAClF,0FAAoF;AACpF,kFAA4E;AAC5E,0GAAoG;AACpG,oFAA8E;AAC9E,kEAA4D;AAC5D,gFAA0E;AAC1E,gHAA0G;AAC1G,0FAAoF;AACpF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,IAAK,SAAQ,mBAAS;IAC/B;;;;;OA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@@ -1,6 +1,13 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
- export declare class Countries extends ClientSDK {
3
+ export declare class Utils extends ClientSDK {
4
+ /**
5
+ * Retrieve all countries
6
+ *
7
+ * @remarks
8
+ * Retrieve all countries
9
+ */
10
+ getCountries(options?: RequestOptions): Promise<operations.GetCommonCountriesResponseBody>;
4
11
  /**
5
12
  * Retrieve country wise states
6
13
  *
@@ -16,4 +23,4 @@ export declare class Countries extends ClientSDK {
16
23
  */
17
24
  getPincodes(request: operations.GetCommonCountriesCountryIsoCodePincodesRequest, options?: RequestOptions): Promise<operations.GetCommonCountriesCountryIsoCodePincodesResponseBody>;
18
25
  }
19
- //# sourceMappingURL=countries.d.ts.map
26
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/sdk/utils.ts"],"names":[],"mappings":"AAOA,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,YAAY,CACd,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC;IAIrD;;;;;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"}