@djust-b2b/djust-front-sdk 3.0.0-beta.8 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (722) hide show
  1. package/README.md +34 -30
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/.tsbuildinfo-esm +1 -1
  4. package/dist/client/create-client.d.ts +18 -0
  5. package/dist/client/create-client.d.ts.map +1 -1
  6. package/dist/client/transport.d.ts +5 -0
  7. package/dist/client/transport.d.ts.map +1 -1
  8. package/dist/errors/classes/not-found.error.d.ts +1 -1
  9. package/dist/errors/classes/not-found.error.d.ts.map +1 -1
  10. package/dist/errors/factory.d.ts.map +1 -1
  11. package/dist/errors/helpers/djust-api-error.d.ts +29 -0
  12. package/dist/errors/helpers/djust-api-error.d.ts.map +1 -0
  13. package/dist/errors/types.d.ts +4 -0
  14. package/dist/errors/types.d.ts.map +1 -1
  15. package/dist/index.d.ts +43 -41
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.mjs +274 -64
  18. package/dist/interfaces/index.d.ts +15 -3
  19. package/dist/interfaces/index.d.ts.map +1 -1
  20. package/dist/services/base.service.d.ts +2 -0
  21. package/dist/services/base.service.d.ts.map +1 -1
  22. package/dist/services/commercial-order/commercial-order.service.d.ts +8 -5
  23. package/dist/services/commercial-order/commercial-order.service.d.ts.map +1 -1
  24. package/dist/services/commercial-order/definitions.d.ts +13 -0
  25. package/dist/services/commercial-order/definitions.d.ts.map +1 -1
  26. package/dist/services/commercial-order/index.d.ts +30 -19
  27. package/dist/services/commercial-order/index.d.ts.map +1 -1
  28. package/dist/services/commercial-order/module.d.ts +1 -1
  29. package/dist/services/commercial-order/module.d.ts.map +1 -1
  30. package/dist/services/commercial-order/types.d.ts +1 -0
  31. package/dist/services/commercial-order/types.d.ts.map +1 -1
  32. package/dist/services/logistic-order/definitions.d.ts +23 -1
  33. package/dist/services/logistic-order/definitions.d.ts.map +1 -1
  34. package/dist/services/logistic-order/endpoints.d.ts +1 -0
  35. package/dist/services/logistic-order/endpoints.d.ts.map +1 -1
  36. package/dist/services/logistic-order/index.d.ts +77 -1
  37. package/dist/services/logistic-order/index.d.ts.map +1 -1
  38. package/dist/services/logistic-order/logistic-order.service.d.ts +6 -1
  39. package/dist/services/logistic-order/logistic-order.service.d.ts.map +1 -1
  40. package/dist/services/logistic-order/module.d.ts +1 -1
  41. package/dist/services/logistic-order/module.d.ts.map +1 -1
  42. package/dist/services/logistic-order/types.d.ts +9 -0
  43. package/dist/services/logistic-order/types.d.ts.map +1 -1
  44. package/dist/services/operation/definitions.d.ts +1 -18
  45. package/dist/services/operation/definitions.d.ts.map +1 -1
  46. package/dist/services/payment/definitions.d.ts +0 -10
  47. package/dist/services/payment/definitions.d.ts.map +1 -1
  48. package/dist/services/product/definitions.d.ts +1 -0
  49. package/dist/services/product/definitions.d.ts.map +1 -1
  50. package/dist/services/product/index.d.ts +6 -5
  51. package/dist/services/product/index.d.ts.map +1 -1
  52. package/dist/services/product-variant/definitions.d.ts +3 -142
  53. package/dist/services/product-variant/definitions.d.ts.map +1 -1
  54. package/dist/services/quote/definitions.d.ts +3 -1
  55. package/dist/services/quote/definitions.d.ts.map +1 -1
  56. package/dist/services/quote/index.d.ts +2 -1
  57. package/dist/services/quote/index.d.ts.map +1 -1
  58. package/dist/services/quote/quote.service.d.ts +1 -0
  59. package/dist/services/quote/quote.service.d.ts.map +1 -1
  60. package/dist/services/quote/types.d.ts +2 -0
  61. package/dist/services/quote/types.d.ts.map +1 -1
  62. package/dist/settings/fetch-instance.d.ts.map +1 -1
  63. package/dist/settings/sdk-version.d.ts +3 -0
  64. package/dist/settings/sdk-version.d.ts.map +1 -0
  65. package/lib/.tsbuildinfo +1 -0
  66. package/lib/client/create-client.d.ts +251 -0
  67. package/lib/client/create-client.d.ts.map +1 -0
  68. package/lib/client/create-client.js +233 -0
  69. package/lib/client/create-client.js.map +1 -0
  70. package/lib/client/index.d.ts +14 -0
  71. package/lib/client/index.d.ts.map +1 -0
  72. package/lib/client/index.js +91 -0
  73. package/lib/client/index.js.map +1 -0
  74. package/lib/client/performance.d.ts +203 -0
  75. package/lib/client/performance.d.ts.map +1 -0
  76. package/lib/client/performance.js +409 -0
  77. package/lib/client/performance.js.map +1 -0
  78. package/lib/client/transport.d.ts +372 -0
  79. package/lib/client/transport.d.ts.map +1 -0
  80. package/lib/client/transport.js +735 -0
  81. package/lib/client/transport.js.map +1 -0
  82. package/lib/errors/base.d.ts +101 -0
  83. package/lib/errors/base.d.ts.map +1 -0
  84. package/lib/errors/base.js +145 -0
  85. package/lib/errors/base.js.map +1 -0
  86. package/lib/errors/classes/auth.error.d.ts +64 -0
  87. package/lib/errors/classes/auth.error.d.ts.map +1 -0
  88. package/lib/errors/classes/auth.error.js +116 -0
  89. package/lib/errors/classes/auth.error.js.map +1 -0
  90. package/lib/errors/classes/forbidden.error.d.ts +52 -0
  91. package/lib/errors/classes/forbidden.error.d.ts.map +1 -0
  92. package/lib/errors/classes/forbidden.error.js +90 -0
  93. package/lib/errors/classes/forbidden.error.js.map +1 -0
  94. package/lib/errors/classes/index.d.ts +17 -0
  95. package/lib/errors/classes/index.d.ts.map +1 -0
  96. package/lib/errors/classes/index.js +29 -0
  97. package/lib/errors/classes/index.js.map +1 -0
  98. package/lib/errors/classes/network.error.d.ts +63 -0
  99. package/lib/errors/classes/network.error.d.ts.map +1 -0
  100. package/lib/errors/classes/network.error.js +122 -0
  101. package/lib/errors/classes/network.error.js.map +1 -0
  102. package/lib/errors/classes/not-found.error.d.ts +58 -0
  103. package/lib/errors/classes/not-found.error.d.ts.map +1 -0
  104. package/lib/errors/classes/not-found.error.js +120 -0
  105. package/lib/errors/classes/not-found.error.js.map +1 -0
  106. package/lib/errors/classes/rate-limit.error.d.ts +49 -0
  107. package/lib/errors/classes/rate-limit.error.d.ts.map +1 -0
  108. package/lib/errors/classes/rate-limit.error.js +107 -0
  109. package/lib/errors/classes/rate-limit.error.js.map +1 -0
  110. package/lib/errors/classes/server.error.d.ts +63 -0
  111. package/lib/errors/classes/server.error.d.ts.map +1 -0
  112. package/lib/errors/classes/server.error.js +156 -0
  113. package/lib/errors/classes/server.error.js.map +1 -0
  114. package/lib/errors/classes/timeout.error.d.ts +64 -0
  115. package/lib/errors/classes/timeout.error.d.ts.map +1 -0
  116. package/lib/errors/classes/timeout.error.js +90 -0
  117. package/lib/errors/classes/timeout.error.js.map +1 -0
  118. package/lib/errors/classes/unexpected.error.d.ts +70 -0
  119. package/lib/errors/classes/unexpected.error.d.ts.map +1 -0
  120. package/lib/errors/classes/unexpected.error.js +105 -0
  121. package/lib/errors/classes/unexpected.error.js.map +1 -0
  122. package/lib/errors/classes/validation.error.d.ts +68 -0
  123. package/lib/errors/classes/validation.error.d.ts.map +1 -0
  124. package/lib/errors/classes/validation.error.js +103 -0
  125. package/lib/errors/classes/validation.error.js.map +1 -0
  126. package/lib/errors/codes.d.ts +111 -0
  127. package/lib/errors/codes.d.ts.map +1 -0
  128. package/lib/errors/codes.js +143 -0
  129. package/lib/errors/codes.js.map +1 -0
  130. package/lib/errors/compat.d.ts +99 -0
  131. package/lib/errors/compat.d.ts.map +1 -0
  132. package/lib/errors/compat.js +280 -0
  133. package/lib/errors/compat.js.map +1 -0
  134. package/lib/errors/factory.d.ts +33 -0
  135. package/lib/errors/factory.d.ts.map +1 -0
  136. package/lib/errors/factory.js +298 -0
  137. package/lib/errors/factory.js.map +1 -0
  138. package/lib/errors/guards.d.ts +142 -0
  139. package/lib/errors/guards.d.ts.map +1 -0
  140. package/lib/errors/guards.js +281 -0
  141. package/lib/errors/guards.js.map +1 -0
  142. package/lib/errors/helpers/djust-api-error.d.ts +29 -0
  143. package/lib/errors/helpers/djust-api-error.d.ts.map +1 -0
  144. package/lib/errors/helpers/djust-api-error.js +49 -0
  145. package/lib/errors/helpers/djust-api-error.js.map +1 -0
  146. package/lib/errors/index.d.ts +25 -0
  147. package/lib/errors/index.d.ts.map +1 -0
  148. package/lib/errors/index.js +89 -0
  149. package/lib/errors/index.js.map +1 -0
  150. package/lib/errors/types.d.ts +104 -0
  151. package/lib/errors/types.d.ts.map +1 -0
  152. package/lib/errors/types.js +10 -0
  153. package/lib/errors/types.js.map +1 -0
  154. package/lib/helpers/index.d.ts +42 -0
  155. package/lib/helpers/index.d.ts.map +1 -0
  156. package/lib/helpers/index.js +102 -0
  157. package/lib/helpers/index.js.map +1 -0
  158. package/lib/helpers/parameters-validation.d.ts +3 -0
  159. package/lib/helpers/parameters-validation.d.ts.map +1 -0
  160. package/lib/helpers/parameters-validation.js +22 -0
  161. package/lib/helpers/parameters-validation.js.map +1 -0
  162. package/lib/helpers/utils.d.ts +5 -0
  163. package/lib/helpers/utils.d.ts.map +1 -0
  164. package/lib/helpers/utils.js +30 -0
  165. package/lib/helpers/utils.js.map +1 -0
  166. package/lib/index.d.ts +267 -0
  167. package/lib/index.d.ts.map +1 -0
  168. package/lib/index.js +182 -0
  169. package/lib/index.js.map +1 -0
  170. package/lib/interfaces/index.d.ts +43 -0
  171. package/lib/interfaces/index.d.ts.map +1 -0
  172. package/lib/interfaces/index.js +36 -0
  173. package/lib/interfaces/index.js.map +1 -0
  174. package/lib/interfaces/models/address.d.ts +61 -0
  175. package/lib/interfaces/models/address.d.ts.map +1 -0
  176. package/lib/interfaces/models/address.js +3 -0
  177. package/lib/interfaces/models/address.js.map +1 -0
  178. package/lib/interfaces/models/attribute.d.ts +31 -0
  179. package/lib/interfaces/models/attribute.d.ts.map +1 -0
  180. package/lib/interfaces/models/attribute.js +3 -0
  181. package/lib/interfaces/models/attribute.js.map +1 -0
  182. package/lib/interfaces/models/auth.d.ts +37 -0
  183. package/lib/interfaces/models/auth.d.ts.map +1 -0
  184. package/lib/interfaces/models/auth.js +3 -0
  185. package/lib/interfaces/models/auth.js.map +1 -0
  186. package/lib/interfaces/models/cart.d.ts +64 -0
  187. package/lib/interfaces/models/cart.d.ts.map +1 -0
  188. package/lib/interfaces/models/cart.js +3 -0
  189. package/lib/interfaces/models/cart.js.map +1 -0
  190. package/lib/interfaces/models/common.d.ts +68 -0
  191. package/lib/interfaces/models/common.d.ts.map +1 -0
  192. package/lib/interfaces/models/common.js +3 -0
  193. package/lib/interfaces/models/common.js.map +1 -0
  194. package/lib/interfaces/models/custom-field.d.ts +57 -0
  195. package/lib/interfaces/models/custom-field.d.ts.map +1 -0
  196. package/lib/interfaces/models/custom-field.js +3 -0
  197. package/lib/interfaces/models/custom-field.js.map +1 -0
  198. package/lib/interfaces/models/customer-account.d.ts +52 -0
  199. package/lib/interfaces/models/customer-account.d.ts.map +1 -0
  200. package/lib/interfaces/models/customer-account.js +3 -0
  201. package/lib/interfaces/models/customer-account.js.map +1 -0
  202. package/lib/interfaces/models/customer-organisation.d.ts +14 -0
  203. package/lib/interfaces/models/customer-organisation.d.ts.map +1 -0
  204. package/lib/interfaces/models/customer-organisation.js +3 -0
  205. package/lib/interfaces/models/customer-organisation.js.map +1 -0
  206. package/lib/interfaces/models/customer-user.d.ts +114 -0
  207. package/lib/interfaces/models/customer-user.d.ts.map +1 -0
  208. package/lib/interfaces/models/customer-user.js +3 -0
  209. package/lib/interfaces/models/customer-user.js.map +1 -0
  210. package/lib/interfaces/models/incident.d.ts +37 -0
  211. package/lib/interfaces/models/incident.d.ts.map +1 -0
  212. package/lib/interfaces/models/incident.js +3 -0
  213. package/lib/interfaces/models/incident.js.map +1 -0
  214. package/lib/interfaces/models/navigation-category.d.ts +22 -0
  215. package/lib/interfaces/models/navigation-category.d.ts.map +1 -0
  216. package/lib/interfaces/models/navigation-category.js +3 -0
  217. package/lib/interfaces/models/navigation-category.js.map +1 -0
  218. package/lib/interfaces/models/offer.d.ts +151 -0
  219. package/lib/interfaces/models/offer.d.ts.map +1 -0
  220. package/lib/interfaces/models/offer.js +3 -0
  221. package/lib/interfaces/models/offer.js.map +1 -0
  222. package/lib/interfaces/models/order.d.ts +701 -0
  223. package/lib/interfaces/models/order.d.ts.map +1 -0
  224. package/lib/interfaces/models/order.js +3 -0
  225. package/lib/interfaces/models/order.js.map +1 -0
  226. package/lib/interfaces/models/payment.d.ts +20 -0
  227. package/lib/interfaces/models/payment.d.ts.map +1 -0
  228. package/lib/interfaces/models/payment.js +3 -0
  229. package/lib/interfaces/models/payment.js.map +1 -0
  230. package/lib/interfaces/models/price.d.ts +6 -0
  231. package/lib/interfaces/models/price.d.ts.map +1 -0
  232. package/lib/interfaces/models/price.js +3 -0
  233. package/lib/interfaces/models/price.js.map +1 -0
  234. package/lib/interfaces/models/product.d.ts +243 -0
  235. package/lib/interfaces/models/product.d.ts.map +1 -0
  236. package/lib/interfaces/models/product.js +3 -0
  237. package/lib/interfaces/models/product.js.map +1 -0
  238. package/lib/interfaces/models/quote.d.ts +77 -0
  239. package/lib/interfaces/models/quote.d.ts.map +1 -0
  240. package/lib/interfaces/models/quote.js +3 -0
  241. package/lib/interfaces/models/quote.js.map +1 -0
  242. package/lib/interfaces/models/searchProduct.d.ts +128 -0
  243. package/lib/interfaces/models/searchProduct.d.ts.map +1 -0
  244. package/lib/interfaces/models/searchProduct.js +3 -0
  245. package/lib/interfaces/models/searchProduct.js.map +1 -0
  246. package/lib/interfaces/models/supplier.d.ts +72 -0
  247. package/lib/interfaces/models/supplier.d.ts.map +1 -0
  248. package/lib/interfaces/models/supplier.js +3 -0
  249. package/lib/interfaces/models/supplier.js.map +1 -0
  250. package/lib/services/attributes/attributes.service.d.ts +18 -0
  251. package/lib/services/attributes/attributes.service.d.ts.map +1 -0
  252. package/lib/services/attributes/attributes.service.js +37 -0
  253. package/lib/services/attributes/attributes.service.js.map +1 -0
  254. package/lib/services/attributes/definitions.d.ts +28 -0
  255. package/lib/services/attributes/definitions.d.ts.map +1 -0
  256. package/lib/services/attributes/definitions.js +3 -0
  257. package/lib/services/attributes/definitions.js.map +1 -0
  258. package/lib/services/attributes/endpoints.d.ts +12 -0
  259. package/lib/services/attributes/endpoints.d.ts.map +1 -0
  260. package/lib/services/attributes/endpoints.js +14 -0
  261. package/lib/services/attributes/endpoints.js.map +1 -0
  262. package/lib/services/attributes/index.d.ts +33 -0
  263. package/lib/services/attributes/index.d.ts.map +1 -0
  264. package/lib/services/attributes/index.js +50 -0
  265. package/lib/services/attributes/index.js.map +1 -0
  266. package/lib/services/attributes/module.d.ts +11 -0
  267. package/lib/services/attributes/module.d.ts.map +1 -0
  268. package/lib/services/attributes/module.js +15 -0
  269. package/lib/services/attributes/module.js.map +1 -0
  270. package/lib/services/attributes/types.d.ts +35 -0
  271. package/lib/services/attributes/types.d.ts.map +1 -0
  272. package/lib/services/attributes/types.js +10 -0
  273. package/lib/services/attributes/types.js.map +1 -0
  274. package/lib/services/auth/__mocks__/auth.mocks.d.ts +249 -0
  275. package/lib/services/auth/__mocks__/auth.mocks.d.ts.map +1 -0
  276. package/lib/services/auth/__mocks__/auth.mocks.js +221 -0
  277. package/lib/services/auth/__mocks__/auth.mocks.js.map +1 -0
  278. package/lib/services/auth/auth.service.d.ts +286 -0
  279. package/lib/services/auth/auth.service.d.ts.map +1 -0
  280. package/lib/services/auth/auth.service.js +423 -0
  281. package/lib/services/auth/auth.service.js.map +1 -0
  282. package/lib/services/auth/definitions.d.ts +69 -0
  283. package/lib/services/auth/definitions.d.ts.map +1 -0
  284. package/lib/services/auth/definitions.js +3 -0
  285. package/lib/services/auth/definitions.js.map +1 -0
  286. package/lib/services/auth/definitions.requests.d.ts +25 -0
  287. package/lib/services/auth/definitions.requests.d.ts.map +1 -0
  288. package/lib/services/auth/definitions.requests.js +6 -0
  289. package/lib/services/auth/definitions.requests.js.map +1 -0
  290. package/lib/services/auth/endpoints.d.ts +30 -0
  291. package/lib/services/auth/endpoints.d.ts.map +1 -0
  292. package/lib/services/auth/endpoints.js +32 -0
  293. package/lib/services/auth/endpoints.js.map +1 -0
  294. package/lib/services/auth/index.d.ts +232 -0
  295. package/lib/services/auth/index.d.ts.map +1 -0
  296. package/lib/services/auth/index.js +310 -0
  297. package/lib/services/auth/index.js.map +1 -0
  298. package/lib/services/auth/module.d.ts +11 -0
  299. package/lib/services/auth/module.d.ts.map +1 -0
  300. package/lib/services/auth/module.js +17 -0
  301. package/lib/services/auth/module.js.map +1 -0
  302. package/lib/services/auth/types.d.ts +124 -0
  303. package/lib/services/auth/types.d.ts.map +1 -0
  304. package/lib/services/auth/types.js +10 -0
  305. package/lib/services/auth/types.js.map +1 -0
  306. package/lib/services/base.service.d.ts +83 -0
  307. package/lib/services/base.service.d.ts.map +1 -0
  308. package/lib/services/base.service.js +121 -0
  309. package/lib/services/base.service.js.map +1 -0
  310. package/lib/services/cart/cart.service.d.ts +443 -0
  311. package/lib/services/cart/cart.service.d.ts.map +1 -0
  312. package/lib/services/cart/cart.service.js +551 -0
  313. package/lib/services/cart/cart.service.js.map +1 -0
  314. package/lib/services/cart/definitions.d.ts +84 -0
  315. package/lib/services/cart/definitions.d.ts.map +1 -0
  316. package/lib/services/cart/definitions.js +3 -0
  317. package/lib/services/cart/definitions.js.map +1 -0
  318. package/lib/services/cart/endpoints.d.ts +24 -0
  319. package/lib/services/cart/endpoints.d.ts.map +1 -0
  320. package/lib/services/cart/endpoints.js +26 -0
  321. package/lib/services/cart/endpoints.js.map +1 -0
  322. package/lib/services/cart/index.d.ts +330 -0
  323. package/lib/services/cart/index.d.ts.map +1 -0
  324. package/lib/services/cart/index.js +464 -0
  325. package/lib/services/cart/index.js.map +1 -0
  326. package/lib/services/cart/module.d.ts +11 -0
  327. package/lib/services/cart/module.d.ts.map +1 -0
  328. package/lib/services/cart/module.js +17 -0
  329. package/lib/services/cart/module.js.map +1 -0
  330. package/lib/services/cart/types.d.ts +236 -0
  331. package/lib/services/cart/types.d.ts.map +1 -0
  332. package/lib/services/cart/types.js +10 -0
  333. package/lib/services/cart/types.js.map +1 -0
  334. package/lib/services/commercial-order/commercial-order.service.d.ts +435 -0
  335. package/lib/services/commercial-order/commercial-order.service.d.ts.map +1 -0
  336. package/lib/services/commercial-order/commercial-order.service.js +690 -0
  337. package/lib/services/commercial-order/commercial-order.service.js.map +1 -0
  338. package/lib/services/commercial-order/definitions.d.ts +182 -0
  339. package/lib/services/commercial-order/definitions.d.ts.map +1 -0
  340. package/lib/services/commercial-order/definitions.js +3 -0
  341. package/lib/services/commercial-order/definitions.js.map +1 -0
  342. package/lib/services/commercial-order/endpoints.d.ts +28 -0
  343. package/lib/services/commercial-order/endpoints.d.ts.map +1 -0
  344. package/lib/services/commercial-order/endpoints.js +33 -0
  345. package/lib/services/commercial-order/endpoints.js.map +1 -0
  346. package/lib/services/commercial-order/index.d.ts +721 -0
  347. package/lib/services/commercial-order/index.d.ts.map +1 -0
  348. package/lib/services/commercial-order/index.js +986 -0
  349. package/lib/services/commercial-order/index.js.map +1 -0
  350. package/lib/services/commercial-order/module.d.ts +11 -0
  351. package/lib/services/commercial-order/module.d.ts.map +1 -0
  352. package/lib/services/commercial-order/module.js +15 -0
  353. package/lib/services/commercial-order/module.js.map +1 -0
  354. package/lib/services/commercial-order/types.d.ts +244 -0
  355. package/lib/services/commercial-order/types.d.ts.map +1 -0
  356. package/lib/services/commercial-order/types.js +10 -0
  357. package/lib/services/commercial-order/types.js.map +1 -0
  358. package/lib/services/custom-field/custom-field.service.d.ts +23 -0
  359. package/lib/services/custom-field/custom-field.service.d.ts.map +1 -0
  360. package/lib/services/custom-field/custom-field.service.js +64 -0
  361. package/lib/services/custom-field/custom-field.service.js.map +1 -0
  362. package/lib/services/custom-field/definitions.d.ts +107 -0
  363. package/lib/services/custom-field/definitions.d.ts.map +1 -0
  364. package/lib/services/custom-field/definitions.js +61 -0
  365. package/lib/services/custom-field/definitions.js.map +1 -0
  366. package/lib/services/custom-field/endpoints.d.ts +13 -0
  367. package/lib/services/custom-field/endpoints.d.ts.map +1 -0
  368. package/lib/services/custom-field/endpoints.js +15 -0
  369. package/lib/services/custom-field/endpoints.js.map +1 -0
  370. package/lib/services/custom-field/index.d.ts +115 -0
  371. package/lib/services/custom-field/index.d.ts.map +1 -0
  372. package/lib/services/custom-field/index.js +144 -0
  373. package/lib/services/custom-field/index.js.map +1 -0
  374. package/lib/services/custom-field/module.d.ts +11 -0
  375. package/lib/services/custom-field/module.d.ts.map +1 -0
  376. package/lib/services/custom-field/module.js +15 -0
  377. package/lib/services/custom-field/module.js.map +1 -0
  378. package/lib/services/custom-field/types.d.ts +51 -0
  379. package/lib/services/custom-field/types.d.ts.map +1 -0
  380. package/lib/services/custom-field/types.js +10 -0
  381. package/lib/services/custom-field/types.js.map +1 -0
  382. package/lib/services/customer-account/customer-account.service.d.ts +387 -0
  383. package/lib/services/customer-account/customer-account.service.d.ts.map +1 -0
  384. package/lib/services/customer-account/customer-account.service.js +579 -0
  385. package/lib/services/customer-account/customer-account.service.js.map +1 -0
  386. package/lib/services/customer-account/definitions.d.ts +164 -0
  387. package/lib/services/customer-account/definitions.d.ts.map +1 -0
  388. package/lib/services/customer-account/definitions.js +3 -0
  389. package/lib/services/customer-account/definitions.js.map +1 -0
  390. package/lib/services/customer-account/endpoints.d.ts +25 -0
  391. package/lib/services/customer-account/endpoints.d.ts.map +1 -0
  392. package/lib/services/customer-account/endpoints.js +33 -0
  393. package/lib/services/customer-account/endpoints.js.map +1 -0
  394. package/lib/services/customer-account/index.d.ts +656 -0
  395. package/lib/services/customer-account/index.d.ts.map +1 -0
  396. package/lib/services/customer-account/index.js +929 -0
  397. package/lib/services/customer-account/index.js.map +1 -0
  398. package/lib/services/customer-account/module.d.ts +11 -0
  399. package/lib/services/customer-account/module.d.ts.map +1 -0
  400. package/lib/services/customer-account/module.js +15 -0
  401. package/lib/services/customer-account/module.js.map +1 -0
  402. package/lib/services/customer-account/types.d.ts +253 -0
  403. package/lib/services/customer-account/types.d.ts.map +1 -0
  404. package/lib/services/customer-account/types.js +10 -0
  405. package/lib/services/customer-account/types.js.map +1 -0
  406. package/lib/services/customer-user/customer-user.service.d.ts +280 -0
  407. package/lib/services/customer-user/customer-user.service.d.ts.map +1 -0
  408. package/lib/services/customer-user/customer-user.service.js +402 -0
  409. package/lib/services/customer-user/customer-user.service.js.map +1 -0
  410. package/lib/services/customer-user/definitions.d.ts +84 -0
  411. package/lib/services/customer-user/definitions.d.ts.map +1 -0
  412. package/lib/services/customer-user/definitions.js +3 -0
  413. package/lib/services/customer-user/definitions.js.map +1 -0
  414. package/lib/services/customer-user/endpoints.d.ts +19 -0
  415. package/lib/services/customer-user/endpoints.d.ts.map +1 -0
  416. package/lib/services/customer-user/endpoints.js +21 -0
  417. package/lib/services/customer-user/endpoints.js.map +1 -0
  418. package/lib/services/customer-user/index.d.ts +394 -0
  419. package/lib/services/customer-user/index.d.ts.map +1 -0
  420. package/lib/services/customer-user/index.js +528 -0
  421. package/lib/services/customer-user/index.js.map +1 -0
  422. package/lib/services/customer-user/module.d.ts +11 -0
  423. package/lib/services/customer-user/module.d.ts.map +1 -0
  424. package/lib/services/customer-user/module.js +15 -0
  425. package/lib/services/customer-user/module.js.map +1 -0
  426. package/lib/services/customer-user/types.d.ts +118 -0
  427. package/lib/services/customer-user/types.d.ts.map +1 -0
  428. package/lib/services/customer-user/types.js +10 -0
  429. package/lib/services/customer-user/types.js.map +1 -0
  430. package/lib/services/factory.d.ts +104 -0
  431. package/lib/services/factory.d.ts.map +1 -0
  432. package/lib/services/factory.js +89 -0
  433. package/lib/services/factory.js.map +1 -0
  434. package/lib/services/incident/definitions.d.ts +85 -0
  435. package/lib/services/incident/definitions.d.ts.map +1 -0
  436. package/lib/services/incident/definitions.js +3 -0
  437. package/lib/services/incident/definitions.js.map +1 -0
  438. package/lib/services/incident/endpoints.d.ts +17 -0
  439. package/lib/services/incident/endpoints.d.ts.map +1 -0
  440. package/lib/services/incident/endpoints.js +19 -0
  441. package/lib/services/incident/endpoints.js.map +1 -0
  442. package/lib/services/incident/incident.service.d.ts +24 -0
  443. package/lib/services/incident/incident.service.d.ts.map +1 -0
  444. package/lib/services/incident/incident.service.js +141 -0
  445. package/lib/services/incident/incident.service.js.map +1 -0
  446. package/lib/services/incident/index.d.ts +270 -0
  447. package/lib/services/incident/index.d.ts.map +1 -0
  448. package/lib/services/incident/index.js +389 -0
  449. package/lib/services/incident/index.js.map +1 -0
  450. package/lib/services/incident/module.d.ts +11 -0
  451. package/lib/services/incident/module.d.ts.map +1 -0
  452. package/lib/services/incident/module.js +15 -0
  453. package/lib/services/incident/module.js.map +1 -0
  454. package/lib/services/incident/types.d.ts +116 -0
  455. package/lib/services/incident/types.d.ts.map +1 -0
  456. package/lib/services/incident/types.js +10 -0
  457. package/lib/services/incident/types.js.map +1 -0
  458. package/lib/services/logistic-order/definitions.d.ts +315 -0
  459. package/lib/services/logistic-order/definitions.d.ts.map +1 -0
  460. package/lib/services/logistic-order/definitions.js +3 -0
  461. package/lib/services/logistic-order/definitions.js.map +1 -0
  462. package/lib/services/logistic-order/endpoints.d.ts +44 -0
  463. package/lib/services/logistic-order/endpoints.d.ts.map +1 -0
  464. package/lib/services/logistic-order/endpoints.js +57 -0
  465. package/lib/services/logistic-order/endpoints.js.map +1 -0
  466. package/lib/services/logistic-order/index.d.ts +1376 -0
  467. package/lib/services/logistic-order/index.d.ts.map +1 -0
  468. package/lib/services/logistic-order/index.js +1823 -0
  469. package/lib/services/logistic-order/index.js.map +1 -0
  470. package/lib/services/logistic-order/logistic-order.service.d.ts +62 -0
  471. package/lib/services/logistic-order/logistic-order.service.d.ts.map +1 -0
  472. package/lib/services/logistic-order/logistic-order.service.js +499 -0
  473. package/lib/services/logistic-order/logistic-order.service.js.map +1 -0
  474. package/lib/services/logistic-order/module.d.ts +11 -0
  475. package/lib/services/logistic-order/module.d.ts.map +1 -0
  476. package/lib/services/logistic-order/module.js +15 -0
  477. package/lib/services/logistic-order/module.js.map +1 -0
  478. package/lib/services/logistic-order/types.d.ts +411 -0
  479. package/lib/services/logistic-order/types.d.ts.map +1 -0
  480. package/lib/services/logistic-order/types.js +10 -0
  481. package/lib/services/logistic-order/types.js.map +1 -0
  482. package/lib/services/module.d.ts +64 -0
  483. package/lib/services/module.d.ts.map +1 -0
  484. package/lib/services/module.js +147 -0
  485. package/lib/services/module.js.map +1 -0
  486. package/lib/services/navigation-category/definitions.d.ts +31 -0
  487. package/lib/services/navigation-category/definitions.d.ts.map +1 -0
  488. package/lib/services/navigation-category/definitions.js +3 -0
  489. package/lib/services/navigation-category/definitions.js.map +1 -0
  490. package/lib/services/navigation-category/endpoints.d.ts +15 -0
  491. package/lib/services/navigation-category/endpoints.d.ts.map +1 -0
  492. package/lib/services/navigation-category/endpoints.js +17 -0
  493. package/lib/services/navigation-category/endpoints.js.map +1 -0
  494. package/lib/services/navigation-category/index.d.ts +114 -0
  495. package/lib/services/navigation-category/index.d.ts.map +1 -0
  496. package/lib/services/navigation-category/index.js +160 -0
  497. package/lib/services/navigation-category/index.js.map +1 -0
  498. package/lib/services/navigation-category/module.d.ts +11 -0
  499. package/lib/services/navigation-category/module.d.ts.map +1 -0
  500. package/lib/services/navigation-category/module.js +15 -0
  501. package/lib/services/navigation-category/module.js.map +1 -0
  502. package/lib/services/navigation-category/navigation-category.service.d.ts +148 -0
  503. package/lib/services/navigation-category/navigation-category.service.d.ts.map +1 -0
  504. package/lib/services/navigation-category/navigation-category.service.js +191 -0
  505. package/lib/services/navigation-category/navigation-category.service.js.map +1 -0
  506. package/lib/services/navigation-category/types.d.ts +51 -0
  507. package/lib/services/navigation-category/types.d.ts.map +1 -0
  508. package/lib/services/navigation-category/types.js +10 -0
  509. package/lib/services/navigation-category/types.js.map +1 -0
  510. package/lib/services/offer-inventories/definitions.d.ts +73 -0
  511. package/lib/services/offer-inventories/definitions.d.ts.map +1 -0
  512. package/lib/services/offer-inventories/definitions.js +3 -0
  513. package/lib/services/offer-inventories/definitions.js.map +1 -0
  514. package/lib/services/offer-inventories/endpoints.d.ts +16 -0
  515. package/lib/services/offer-inventories/endpoints.d.ts.map +1 -0
  516. package/lib/services/offer-inventories/endpoints.js +18 -0
  517. package/lib/services/offer-inventories/endpoints.js.map +1 -0
  518. package/lib/services/offer-inventories/index.d.ts +120 -0
  519. package/lib/services/offer-inventories/index.d.ts.map +1 -0
  520. package/lib/services/offer-inventories/index.js +175 -0
  521. package/lib/services/offer-inventories/index.js.map +1 -0
  522. package/lib/services/offer-inventories/module.d.ts +11 -0
  523. package/lib/services/offer-inventories/module.d.ts.map +1 -0
  524. package/lib/services/offer-inventories/module.js +15 -0
  525. package/lib/services/offer-inventories/module.js.map +1 -0
  526. package/lib/services/offer-inventories/offer-inventories.service.d.ts +26 -0
  527. package/lib/services/offer-inventories/offer-inventories.service.d.ts.map +1 -0
  528. package/lib/services/offer-inventories/offer-inventories.service.js +80 -0
  529. package/lib/services/offer-inventories/offer-inventories.service.js.map +1 -0
  530. package/lib/services/offer-inventories/types.d.ts +85 -0
  531. package/lib/services/offer-inventories/types.d.ts.map +1 -0
  532. package/lib/services/offer-inventories/types.js +10 -0
  533. package/lib/services/offer-inventories/types.js.map +1 -0
  534. package/lib/services/offer-prices/__mocks__/offer-prices.mocks.d.ts +109 -0
  535. package/lib/services/offer-prices/__mocks__/offer-prices.mocks.d.ts.map +1 -0
  536. package/lib/services/offer-prices/__mocks__/offer-prices.mocks.js +201 -0
  537. package/lib/services/offer-prices/__mocks__/offer-prices.mocks.js.map +1 -0
  538. package/lib/services/offer-prices/definitions.d.ts +24 -0
  539. package/lib/services/offer-prices/definitions.d.ts.map +1 -0
  540. package/lib/services/offer-prices/definitions.js +3 -0
  541. package/lib/services/offer-prices/definitions.js.map +1 -0
  542. package/lib/services/offer-prices/endpoints.d.ts +12 -0
  543. package/lib/services/offer-prices/endpoints.d.ts.map +1 -0
  544. package/lib/services/offer-prices/endpoints.js +14 -0
  545. package/lib/services/offer-prices/endpoints.js.map +1 -0
  546. package/lib/services/offer-prices/index.d.ts +36 -0
  547. package/lib/services/offer-prices/index.d.ts.map +1 -0
  548. package/lib/services/offer-prices/index.js +53 -0
  549. package/lib/services/offer-prices/index.js.map +1 -0
  550. package/lib/services/offer-prices/module.d.ts +11 -0
  551. package/lib/services/offer-prices/module.d.ts.map +1 -0
  552. package/lib/services/offer-prices/module.js +15 -0
  553. package/lib/services/offer-prices/module.js.map +1 -0
  554. package/lib/services/offer-prices/offer-prices.service.d.ts +18 -0
  555. package/lib/services/offer-prices/offer-prices.service.d.ts.map +1 -0
  556. package/lib/services/offer-prices/offer-prices.service.js +36 -0
  557. package/lib/services/offer-prices/offer-prices.service.js.map +1 -0
  558. package/lib/services/offer-prices/types.d.ts +33 -0
  559. package/lib/services/offer-prices/types.d.ts.map +1 -0
  560. package/lib/services/offer-prices/types.js +10 -0
  561. package/lib/services/offer-prices/types.js.map +1 -0
  562. package/lib/services/operation/definitions.d.ts +263 -0
  563. package/lib/services/operation/definitions.d.ts.map +1 -0
  564. package/lib/services/operation/definitions.js +18 -0
  565. package/lib/services/operation/definitions.js.map +1 -0
  566. package/lib/services/operation/endpoints.d.ts +18 -0
  567. package/lib/services/operation/endpoints.d.ts.map +1 -0
  568. package/lib/services/operation/endpoints.js +22 -0
  569. package/lib/services/operation/endpoints.js.map +1 -0
  570. package/lib/services/operation/index.d.ts +520 -0
  571. package/lib/services/operation/index.d.ts.map +1 -0
  572. package/lib/services/operation/index.js +704 -0
  573. package/lib/services/operation/index.js.map +1 -0
  574. package/lib/services/operation/module.d.ts +11 -0
  575. package/lib/services/operation/module.d.ts.map +1 -0
  576. package/lib/services/operation/module.js +15 -0
  577. package/lib/services/operation/module.js.map +1 -0
  578. package/lib/services/operation/operation.service.d.ts +32 -0
  579. package/lib/services/operation/operation.service.d.ts.map +1 -0
  580. package/lib/services/operation/operation.service.js +206 -0
  581. package/lib/services/operation/operation.service.js.map +1 -0
  582. package/lib/services/operation/types.d.ts +174 -0
  583. package/lib/services/operation/types.d.ts.map +1 -0
  584. package/lib/services/operation/types.js +10 -0
  585. package/lib/services/operation/types.js.map +1 -0
  586. package/lib/services/payment/definitions.d.ts +69 -0
  587. package/lib/services/payment/definitions.d.ts.map +1 -0
  588. package/lib/services/payment/definitions.js +3 -0
  589. package/lib/services/payment/definitions.js.map +1 -0
  590. package/lib/services/payment/endpoints.d.ts +16 -0
  591. package/lib/services/payment/endpoints.d.ts.map +1 -0
  592. package/lib/services/payment/endpoints.js +18 -0
  593. package/lib/services/payment/endpoints.js.map +1 -0
  594. package/lib/services/payment/index.d.ts +150 -0
  595. package/lib/services/payment/index.d.ts.map +1 -0
  596. package/lib/services/payment/index.js +220 -0
  597. package/lib/services/payment/index.js.map +1 -0
  598. package/lib/services/payment/module.d.ts +11 -0
  599. package/lib/services/payment/module.d.ts.map +1 -0
  600. package/lib/services/payment/module.js +15 -0
  601. package/lib/services/payment/module.js.map +1 -0
  602. package/lib/services/payment/payment.service.d.ts +224 -0
  603. package/lib/services/payment/payment.service.d.ts.map +1 -0
  604. package/lib/services/payment/payment.service.js +288 -0
  605. package/lib/services/payment/payment.service.js.map +1 -0
  606. package/lib/services/payment/types.d.ts +93 -0
  607. package/lib/services/payment/types.d.ts.map +1 -0
  608. package/lib/services/payment/types.js +10 -0
  609. package/lib/services/payment/types.js.map +1 -0
  610. package/lib/services/product/definitions.d.ts +150 -0
  611. package/lib/services/product/definitions.d.ts.map +1 -0
  612. package/lib/services/product/definitions.js +9 -0
  613. package/lib/services/product/definitions.js.map +1 -0
  614. package/lib/services/product/endpoints.d.ts +40 -0
  615. package/lib/services/product/endpoints.d.ts.map +1 -0
  616. package/lib/services/product/endpoints.js +42 -0
  617. package/lib/services/product/endpoints.js.map +1 -0
  618. package/lib/services/product/index.d.ts +388 -0
  619. package/lib/services/product/index.d.ts.map +1 -0
  620. package/lib/services/product/index.js +564 -0
  621. package/lib/services/product/index.js.map +1 -0
  622. package/lib/services/product/module.d.ts +11 -0
  623. package/lib/services/product/module.d.ts.map +1 -0
  624. package/lib/services/product/module.js +17 -0
  625. package/lib/services/product/module.js.map +1 -0
  626. package/lib/services/product/product.service.d.ts +452 -0
  627. package/lib/services/product/product.service.d.ts.map +1 -0
  628. package/lib/services/product/product.service.js +624 -0
  629. package/lib/services/product/product.service.js.map +1 -0
  630. package/lib/services/product/types.d.ts +344 -0
  631. package/lib/services/product/types.d.ts.map +1 -0
  632. package/lib/services/product/types.js +10 -0
  633. package/lib/services/product/types.js.map +1 -0
  634. package/lib/services/product-variant/definitions.d.ts +33 -0
  635. package/lib/services/product-variant/definitions.d.ts.map +1 -0
  636. package/lib/services/product-variant/definitions.js +7 -0
  637. package/lib/services/product-variant/definitions.js.map +1 -0
  638. package/lib/services/product-variant/endpoints.d.ts +15 -0
  639. package/lib/services/product-variant/endpoints.d.ts.map +1 -0
  640. package/lib/services/product-variant/endpoints.js +17 -0
  641. package/lib/services/product-variant/endpoints.js.map +1 -0
  642. package/lib/services/product-variant/index.d.ts +123 -0
  643. package/lib/services/product-variant/index.d.ts.map +1 -0
  644. package/lib/services/product-variant/index.js +172 -0
  645. package/lib/services/product-variant/index.js.map +1 -0
  646. package/lib/services/product-variant/module.d.ts +11 -0
  647. package/lib/services/product-variant/module.d.ts.map +1 -0
  648. package/lib/services/product-variant/module.js +15 -0
  649. package/lib/services/product-variant/module.js.map +1 -0
  650. package/lib/services/product-variant/product-variant.service.d.ts +21 -0
  651. package/lib/services/product-variant/product-variant.service.d.ts.map +1 -0
  652. package/lib/services/product-variant/product-variant.service.js +69 -0
  653. package/lib/services/product-variant/product-variant.service.js.map +1 -0
  654. package/lib/services/product-variant/types.d.ts +73 -0
  655. package/lib/services/product-variant/types.d.ts.map +1 -0
  656. package/lib/services/product-variant/types.js +10 -0
  657. package/lib/services/product-variant/types.js.map +1 -0
  658. package/lib/services/quote/definitions.d.ts +102 -0
  659. package/lib/services/quote/definitions.d.ts.map +1 -0
  660. package/lib/services/quote/definitions.js +3 -0
  661. package/lib/services/quote/definitions.js.map +1 -0
  662. package/lib/services/quote/endpoints.d.ts +20 -0
  663. package/lib/services/quote/endpoints.d.ts.map +1 -0
  664. package/lib/services/quote/endpoints.js +24 -0
  665. package/lib/services/quote/endpoints.js.map +1 -0
  666. package/lib/services/quote/index.d.ts +378 -0
  667. package/lib/services/quote/index.d.ts.map +1 -0
  668. package/lib/services/quote/index.js +506 -0
  669. package/lib/services/quote/index.js.map +1 -0
  670. package/lib/services/quote/module.d.ts +11 -0
  671. package/lib/services/quote/module.d.ts.map +1 -0
  672. package/lib/services/quote/module.js +15 -0
  673. package/lib/services/quote/module.js.map +1 -0
  674. package/lib/services/quote/quote.service.d.ts +346 -0
  675. package/lib/services/quote/quote.service.d.ts.map +1 -0
  676. package/lib/services/quote/quote.service.js +479 -0
  677. package/lib/services/quote/quote.service.js.map +1 -0
  678. package/lib/services/quote/types.d.ts +160 -0
  679. package/lib/services/quote/types.d.ts.map +1 -0
  680. package/lib/services/quote/types.js +10 -0
  681. package/lib/services/quote/types.js.map +1 -0
  682. package/lib/services/supplier/__mocks__/supplier-mocks.d.ts +49 -0
  683. package/lib/services/supplier/__mocks__/supplier-mocks.d.ts.map +1 -0
  684. package/lib/services/supplier/__mocks__/supplier-mocks.js +168 -0
  685. package/lib/services/supplier/__mocks__/supplier-mocks.js.map +1 -0
  686. package/lib/services/supplier/definitions.d.ts +30 -0
  687. package/lib/services/supplier/definitions.d.ts.map +1 -0
  688. package/lib/services/supplier/definitions.js +3 -0
  689. package/lib/services/supplier/definitions.js.map +1 -0
  690. package/lib/services/supplier/endpoints.d.ts +14 -0
  691. package/lib/services/supplier/endpoints.d.ts.map +1 -0
  692. package/lib/services/supplier/endpoints.js +16 -0
  693. package/lib/services/supplier/endpoints.js.map +1 -0
  694. package/lib/services/supplier/index.d.ts +102 -0
  695. package/lib/services/supplier/index.d.ts.map +1 -0
  696. package/lib/services/supplier/index.js +146 -0
  697. package/lib/services/supplier/index.js.map +1 -0
  698. package/lib/services/supplier/module.d.ts +11 -0
  699. package/lib/services/supplier/module.d.ts.map +1 -0
  700. package/lib/services/supplier/module.js +15 -0
  701. package/lib/services/supplier/module.js.map +1 -0
  702. package/lib/services/supplier/supplier.service.d.ts +20 -0
  703. package/lib/services/supplier/supplier.service.d.ts.map +1 -0
  704. package/lib/services/supplier/supplier.service.js +63 -0
  705. package/lib/services/supplier/supplier.service.js.map +1 -0
  706. package/lib/services/supplier/types.d.ts +58 -0
  707. package/lib/services/supplier/types.d.ts.map +1 -0
  708. package/lib/services/supplier/types.js +10 -0
  709. package/lib/services/supplier/types.js.map +1 -0
  710. package/lib/services/types.d.ts +81 -0
  711. package/lib/services/types.d.ts.map +1 -0
  712. package/lib/services/types.js +10 -0
  713. package/lib/services/types.js.map +1 -0
  714. package/lib/settings/fetch-instance.d.ts +30 -0
  715. package/lib/settings/fetch-instance.d.ts.map +1 -0
  716. package/lib/settings/fetch-instance.js +223 -0
  717. package/lib/settings/fetch-instance.js.map +1 -0
  718. package/lib/settings/sdk-version.d.ts +3 -0
  719. package/lib/settings/sdk-version.d.ts.map +1 -0
  720. package/lib/settings/sdk-version.js +6 -0
  721. package/lib/settings/sdk-version.js.map +1 -0
  722. package/package.json +27 -8
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/customer-account/index.ts"],"names":[],"mappings":";;AA4DA,gDASC;AA2BD,oDAaC;AAuED,sDAoCC;AAsBD,sDA8BC;AAuBD,kEASC;AAgDD,oEAWC;AAqBD,oEAUC;AAgDD,oEAsCC;AA2BD,wEAiBC;AAuCD,4DAiBC;AA6BD,0DAgBC;AA6BD,8EAYC;AAiCD,8EAYC;AA2BD,0EAcC;AAwBD,0FAWC;AA4BD,4FAYC;AAqDD,4FAeC;AA+BD,oFAqBC;AA6BD,kFAkBC;AA4CD,sFAeC;AAzhCD,+EAA+D;AAK/D,kEAA8D;AAuC9D;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,kBAAkB,CACtC,MAAoB;IAEpB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,8BAAa,EAA6B;QAC/D,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,4BAA4B;QAClC,MAAM,EAAE,MAAM;KACf,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACI,KAAK,UAAU,oBAAoB,CACxC,QA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CG;AACI,KAAK,UAAU,qCAAqC,CACzD,MAAqE;IAErE,IAAA,gCAAQ,EAAC;QACP,cAAc,EAAE,MAAM,CAAC,cAAc;QACrC,cAAc,EAAE,MAAM,CAAC,cAAc;KACtC,CAAC,CAAC;IACH,MAAM,EAAE,IAAI,EAAE,GACZ,MAAM,IAAA,8BAAa,EAAgD;QACjE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,4CAA4C,MAAM,CAAC,cAAc,UAAU,MAAM,CAAC,cAAc,EAAE;QACxG,MAAM;QACN,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;KAC7B,CAAC,CAAC;IACL,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * DJUST SDK Customer Account Module
3
+ * Re-exports all customer account-related types and service.
4
+ *
5
+ * @module services/customer-account
6
+ * @since 2.17.0
7
+ */
8
+ export type { Civility, IdType, OrganisationStatus, AccountCustomFieldsIdType, CustomFieldValueRequest, LegalUserInfo, AddressRequest, GetCustomerAccountParams, GetCustomerAccountV2Params, CreateCustomerAccountParams, UpdateCustomerAccountParams, GetCustomerAccountAddressesParams, CreateCustomerAccountAddressParams, DeleteCustomerAccountAddressParams, UpdateCustomerAccountAddressParams, GetCustomerAccountCustomFieldsParams, GetCustomerAccountOrdersParams, GetCustomerAccountUsersParams, CreateOrganisationParams, UpdateOrganisationParams, GetOrganisationsParams, GetOrganisationAddressesParams, DeleteOrganisationAddressParams, UpdateOrganisationAddressParams, GetOrganisationOrdersParams, GetOrganisationUsersParams, UpdateOrganisationUserParams, Address, CustomerAccount, CustomerUser, Organisation, OrderSummary, GetCustomerAccountResponse, GetCustomerAccountV2Response, CreateCustomerAccountResponse, UpdateCustomerAccountResponse, GetCustomerAccountAddressesResponse, CreateCustomerAccountAddressResponse, UpdateCustomerAccountAddressResponse, GetCustomerAccountCustomFieldsResponse, GetCustomerAccountOrdersResponse, GetCustomerAccountUsersResponse, CreateOrganisationResponse, UpdateOrganisationResponse, GetOrganisationsResponse, GetOrganisationAddressesResponse, UpdateOrganisationAddressResponse, GetOrganisationOrdersResponse, GetOrganisationUsersResponse, UpdateOrganisationUserResponse, } from "./types";
9
+ export { CustomerAccountEndpoints, type CustomerAccountEndpoint, } from "./endpoints";
10
+ export { CustomerAccountService } from "./customer-account.service";
11
+ //# sourceMappingURL=module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/services/customer-account/module.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,QAAQ,EACR,MAAM,EACN,kBAAkB,EAClB,yBAAyB,EACzB,uBAAuB,EACvB,aAAa,EACb,cAAc,EACd,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC3B,iCAAiC,EACjC,kCAAkC,EAClC,kCAAkC,EAClC,kCAAkC,EAClC,oCAAoC,EACpC,8BAA8B,EAC9B,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,2BAA2B,EAC3B,0BAA0B,EAC1B,4BAA4B,EAC5B,OAAO,EACP,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,EAC7B,mCAAmC,EACnC,oCAAoC,EACpC,oCAAoC,EACpC,sCAAsC,EACtC,gCAAgC,EAChC,+BAA+B,EAC/B,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,EACxB,gCAAgC,EAChC,iCAAiC,EACjC,6BAA6B,EAC7B,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,wBAAwB,EACxB,KAAK,uBAAuB,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * DJUST SDK Customer Account Module
4
+ * Re-exports all customer account-related types and service.
5
+ *
6
+ * @module services/customer-account
7
+ * @since 2.17.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.CustomerAccountService = exports.CustomerAccountEndpoints = void 0;
11
+ var endpoints_1 = require("./endpoints");
12
+ Object.defineProperty(exports, "CustomerAccountEndpoints", { enumerable: true, get: function () { return endpoints_1.CustomerAccountEndpoints; } });
13
+ var customer_account_service_1 = require("./customer-account.service");
14
+ Object.defineProperty(exports, "CustomerAccountService", { enumerable: true, get: function () { return customer_account_service_1.CustomerAccountService; } });
15
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../../../src/services/customer-account/module.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAuDH,yCAGqB;AAFnB,qHAAA,wBAAwB,OAAA;AAG1B,uEAAoE;AAA3D,kIAAA,sBAAsB,OAAA"}
@@ -0,0 +1,253 @@
1
+ /**
2
+ * DJUST SDK Customer Account Service - Types
3
+ * Type definitions for customer account operations.
4
+ *
5
+ * @module services/customer-account/types
6
+ * @since 2.17.0
7
+ */
8
+ import type { Pageable, PaginatedResponse } from "../types";
9
+ export type Civility = "MR" | "MRS" | "MS";
10
+ export type IdType = "DJUST_ID" | "EXTERNAL_ID";
11
+ export type OrganisationStatus = "ACTIVE" | "INACTIVE";
12
+ export type AccountCustomFieldsIdType = "DJUST_ID" | "EXTERNAL_ID";
13
+ export interface CustomFieldValueRequest {
14
+ customFieldId: string;
15
+ customFieldValue?: string;
16
+ }
17
+ export interface LegalUserInfo {
18
+ birthday?: string;
19
+ countryOfResidence?: string;
20
+ email?: string;
21
+ firstName?: string;
22
+ lastName?: string;
23
+ nationality?: string;
24
+ }
25
+ export interface AddressRequest {
26
+ additionalAddress?: string;
27
+ address: string;
28
+ billing?: boolean;
29
+ city: string;
30
+ company?: string;
31
+ country: string;
32
+ externalId?: string;
33
+ fullName: string;
34
+ label?: string;
35
+ phone?: string;
36
+ shipping?: boolean;
37
+ state?: string;
38
+ zipcode: string;
39
+ }
40
+ export interface GetCustomerAccountParams {
41
+ locale?: string;
42
+ }
43
+ export interface GetCustomerAccountV2Params {
44
+ pageable?: Pageable;
45
+ }
46
+ export interface CreateCustomerAccountParams {
47
+ createAddressRequests: AddressRequest[];
48
+ createCustomerUserRequest: {
49
+ email: string;
50
+ firstName: string;
51
+ lastName: string;
52
+ password: string;
53
+ groups?: string[];
54
+ phone?: string;
55
+ };
56
+ createObjectCustomerAccountRequest: {
57
+ accountManager?: string;
58
+ businessRegistrationNumber?: string;
59
+ companyRegistrationName?: string;
60
+ externalId?: string;
61
+ name: string;
62
+ vatNumber?: string;
63
+ website?: string;
64
+ };
65
+ customFieldValues: CustomFieldValueRequest[];
66
+ customerTagList: string[];
67
+ fromFO: boolean;
68
+ legalUser: LegalUserInfo;
69
+ }
70
+ export interface UpdateCustomerAccountParams {
71
+ accountManager?: string;
72
+ businessRegistrationNumber?: string;
73
+ companyRegistrationName?: string;
74
+ customFieldValues?: CustomFieldValueRequest[];
75
+ customerTagList?: string[];
76
+ legalUser?: LegalUserInfo;
77
+ name?: string;
78
+ vatNumber?: string;
79
+ website?: string;
80
+ }
81
+ export interface GetCustomerAccountAddressesParams {
82
+ shipping?: boolean;
83
+ billing?: boolean;
84
+ }
85
+ export interface CreateCustomerAccountAddressParams extends AddressRequest {
86
+ }
87
+ export interface DeleteCustomerAccountAddressParams {
88
+ addressId: string;
89
+ }
90
+ export interface UpdateCustomerAccountAddressParams extends AddressRequest {
91
+ addressId: string;
92
+ }
93
+ export interface GetCustomerAccountCustomFieldsParams {
94
+ customFieldIds?: string[];
95
+ idType?: AccountCustomFieldsIdType;
96
+ pageable?: Pageable;
97
+ }
98
+ export interface GetCustomerAccountOrdersParams {
99
+ pageable: Pageable;
100
+ locale: string;
101
+ nbPreviewLines?: number;
102
+ logisticOrderStatuses?: string[];
103
+ /** @deprecated use logisticOrderStatuses instead */
104
+ orderLogisticStatusType?: string;
105
+ }
106
+ export interface GetCustomerAccountUsersParams {
107
+ pageable: Pageable;
108
+ forAllAccounts?: boolean;
109
+ query?: string;
110
+ locale?: string;
111
+ }
112
+ export interface CreateOrganisationParams {
113
+ externalId: string;
114
+ name: string;
115
+ parentId?: string;
116
+ }
117
+ export interface UpdateOrganisationParams {
118
+ organisationId: string;
119
+ name?: string;
120
+ parentId?: string;
121
+ status?: OrganisationStatus;
122
+ }
123
+ export interface GetOrganisationsParams {
124
+ pageable?: Pageable;
125
+ }
126
+ export interface GetOrganisationAddressesParams {
127
+ organisationId: string;
128
+ }
129
+ export interface DeleteOrganisationAddressParams {
130
+ organisationId: string;
131
+ addressId: string;
132
+ }
133
+ export interface UpdateOrganisationAddressParams extends AddressRequest {
134
+ organisationId: string;
135
+ addressId: string;
136
+ }
137
+ export interface GetOrganisationOrdersParams {
138
+ organisationId: string;
139
+ pageable: Pageable;
140
+ locale: string;
141
+ nbPreviewLines?: number;
142
+ }
143
+ export interface GetOrganisationUsersParams {
144
+ organisationId: string;
145
+ pageable: Pageable;
146
+ }
147
+ export interface UpdateOrganisationUserParams {
148
+ organisationId: string;
149
+ customerUserId: string;
150
+ civility?: Civility;
151
+ customFieldValues?: CustomFieldValueRequest[];
152
+ firstName?: string;
153
+ lastName?: string;
154
+ phone?: string;
155
+ }
156
+ export interface Address {
157
+ id: string;
158
+ additionalAddress?: string;
159
+ address: string;
160
+ billing: boolean;
161
+ city: string;
162
+ company?: string;
163
+ country: string;
164
+ externalId?: string;
165
+ fullName: string;
166
+ label?: string;
167
+ phone?: string;
168
+ shipping: boolean;
169
+ state?: string;
170
+ zipcode: string;
171
+ }
172
+ export interface CustomerAccount {
173
+ id: string;
174
+ externalId?: string;
175
+ name: string;
176
+ accountManager?: string;
177
+ businessRegistrationNumber?: string;
178
+ companyRegistrationName?: string;
179
+ vatNumber?: string;
180
+ website?: string;
181
+ addresses: Address[];
182
+ customFieldValues: CustomFieldValueRequest[];
183
+ customerTagList: string[];
184
+ legalUser?: LegalUserInfo;
185
+ createdAt: string;
186
+ updatedAt: string;
187
+ }
188
+ export interface CustomerUser {
189
+ id: string;
190
+ email: string;
191
+ firstName: string;
192
+ lastName: string;
193
+ phone?: string;
194
+ civility?: Civility;
195
+ status: string;
196
+ groups: string[];
197
+ customFieldValues?: CustomFieldValueRequest[];
198
+ }
199
+ export interface Organisation {
200
+ id: string;
201
+ externalId?: string;
202
+ name: string;
203
+ parentId?: string;
204
+ status: OrganisationStatus;
205
+ }
206
+ export interface OrderSummary {
207
+ id: string;
208
+ businessId: string;
209
+ status: string;
210
+ totalPrice: number;
211
+ currency: string;
212
+ createdAt: string;
213
+ lines?: unknown[];
214
+ }
215
+ export interface GetCustomerAccountResponse extends CustomerAccount {
216
+ }
217
+ export interface GetCustomerAccountV2Response extends PaginatedResponse<CustomerAccount> {
218
+ }
219
+ export interface CreateCustomerAccountResponse extends CustomerAccount {
220
+ }
221
+ export interface UpdateCustomerAccountResponse extends CustomerAccount {
222
+ }
223
+ export interface GetCustomerAccountAddressesResponse {
224
+ addresses: Address[];
225
+ }
226
+ export interface CreateCustomerAccountAddressResponse extends Address {
227
+ }
228
+ export interface UpdateCustomerAccountAddressResponse extends Address {
229
+ }
230
+ export interface GetCustomerAccountCustomFieldsResponse extends PaginatedResponse<CustomFieldValueRequest> {
231
+ }
232
+ export interface GetCustomerAccountOrdersResponse extends PaginatedResponse<OrderSummary> {
233
+ }
234
+ export interface GetCustomerAccountUsersResponse extends PaginatedResponse<CustomerUser> {
235
+ }
236
+ export interface CreateOrganisationResponse extends Organisation {
237
+ }
238
+ export interface UpdateOrganisationResponse extends Organisation {
239
+ }
240
+ export interface GetOrganisationsResponse extends PaginatedResponse<Organisation> {
241
+ }
242
+ export interface GetOrganisationAddressesResponse {
243
+ addresses: Address[];
244
+ }
245
+ export interface UpdateOrganisationAddressResponse extends Address {
246
+ }
247
+ export interface GetOrganisationOrdersResponse extends PaginatedResponse<OrderSummary> {
248
+ }
249
+ export interface GetOrganisationUsersResponse extends PaginatedResponse<CustomerUser> {
250
+ }
251
+ export interface UpdateOrganisationUserResponse extends CustomerUser {
252
+ }
253
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/customer-account/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAM5D,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,CAAC;AAC3C,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG,aAAa,CAAC;AAChD,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,UAAU,CAAC;AACvD,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,aAAa,CAAC;AAEnE,MAAM,WAAW,uBAAuB;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,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SAAQ,iBAAiB,CAAC,YAAY,CAAC;CAAG;AAC5C,MAAM,WAAW,8BAA+B,SAAQ,YAAY;CAAG"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * DJUST SDK Customer Account Service - Types
4
+ * Type definitions for customer account operations.
5
+ *
6
+ * @module services/customer-account/types
7
+ * @since 2.17.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/services/customer-account/types.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -0,0 +1,280 @@
1
+ /**
2
+ * # Customer User Service
3
+ *
4
+ * User profile and account management for B2B customers.
5
+ *
6
+ * ## Features
7
+ * - User registration and activation
8
+ * - Profile management
9
+ * - Address book access
10
+ * - Organisation membership
11
+ * - Multi-account management
12
+ *
13
+ * @module services/customer-user
14
+ * @since 2.17.0
15
+ */
16
+ import { BaseService } from "../base.service";
17
+ import type { RequestContext } from "../../client/transport";
18
+ import type { CreateCustomerUserParams, UpdateCustomerUserParams, ActivateCustomerUserParams, GetCustomerUserAddressesParams, SendActivationRequestParams, UpdateSpecificCustomerUserParams, RemoveAccountsFromUserParams, AddUserToAccountsParams, GetAuthenticatedUserResponse, CreateCustomerUserResponse, UpdateCustomerUserResponse, GetCustomerUserAddressesResponse, GetCustomerUserOrganisationsResponse } from "./types";
19
+ /**
20
+ * Service for customer user management.
21
+ *
22
+ * Handles individual user operations:
23
+ * - Profile creation and updates
24
+ * - Account activation
25
+ * - Address management
26
+ * - Multi-account access
27
+ *
28
+ * @example
29
+ * ```typescript
30
+ * import { createDjustClient } from '@djust-b2b/djust-front-sdk';
31
+ *
32
+ * const client = createDjustClient({ baseUrl, clientId, apiKey });
33
+ *
34
+ * // Get current user
35
+ * const user = await client.customerUser.getAuthenticatedUser();
36
+ * console.log(`Hello, ${user.firstName}!`);
37
+ *
38
+ * // Update profile
39
+ * await client.customerUser.updateCustomerUser({
40
+ * civility: 'Mr',
41
+ * firstName: 'John',
42
+ * lastName: 'Doe',
43
+ * phone: '+1-555-123-4567',
44
+ * });
45
+ * ```
46
+ */
47
+ export declare class CustomerUserService extends BaseService {
48
+ readonly serviceName = "customer-user";
49
+ /**
50
+ * Get the currently authenticated user's profile.
51
+ *
52
+ * Returns full user details including permissions and organisations.
53
+ *
54
+ * **Endpoint**: `GET /v1/shop/customer-users/authenticated-user [USR-100]`
55
+ *
56
+ * @example
57
+ * ```typescript
58
+ * const user = await client.customerUser.getAuthenticatedUser();
59
+ *
60
+ * console.log(`${user.firstName} ${user.lastName}`);
61
+ * console.log(`Email: ${user.email}`);
62
+ * console.log(`Groups: ${user.groups.join(', ')}`);
63
+ * ```
64
+ *
65
+ * @param context - Optional SSR request context
66
+ * @returns Authenticated user profile
67
+ */
68
+ getAuthenticatedUser(context?: RequestContext): Promise<GetAuthenticatedUserResponse>;
69
+ /**
70
+ * Create a new customer user (registration).
71
+ *
72
+ * Creates a user account with the specified details. An activation
73
+ * email will be sent if activationUrl is provided.
74
+ *
75
+ * **Endpoint**: `POST /v1/shop/customer-users [USR-101]`
76
+ *
77
+ * | Parameter | Type | Required | Description |
78
+ * |--------------------|----------|----------|--------------------------|
79
+ * | `civility` | `string` | Yes | Mr, Mrs, Ms, etc. |
80
+ * | `firstName` | `string` | Yes | First name |
81
+ * | `lastName` | `string` | Yes | Last name |
82
+ * | `email` | `string` | Yes | Email address |
83
+ * | `password` | `string` | Yes | Password |
84
+ * | `groups` | `array` | Yes | User groups/roles |
85
+ * | `activationUrl` | `string` | No | URL for activation email |
86
+ * | `phone` | `string` | No | Phone number |
87
+ * | `externalId` | `string` | No | External system ID |
88
+ * | `organisations` | `array` | No | Organisation assignments |
89
+ *
90
+ * @example
91
+ * ```typescript
92
+ * const user = await client.customerUser.createCustomerUser({
93
+ * civility: 'Mr',
94
+ * firstName: 'John',
95
+ * lastName: 'Doe',
96
+ * email: 'john.doe@company.com',
97
+ * password: 'SecurePass123!',
98
+ * groups: ['BUYER'],
99
+ * activationUrl: 'https://myapp.com/activate',
100
+ * });
101
+ *
102
+ * console.log(`User created: ${user.id}`);
103
+ * ```
104
+ *
105
+ * @param params - User registration data
106
+ * @param context - Optional SSR request context
107
+ * @throws {ValidationError} If required parameters are missing
108
+ * @returns Created user details
109
+ */
110
+ createCustomerUser(params: CreateCustomerUserParams, context?: RequestContext): Promise<CreateCustomerUserResponse>;
111
+ /**
112
+ * Update the current user's profile.
113
+ *
114
+ * **Endpoint**: `PUT /v1/shop/customer-users [USR-102]`
115
+ *
116
+ * | Parameter | Type | Required | Description |
117
+ * |--------------------|----------|----------|--------------------------|
118
+ * | `civility` | `string` | Yes | Mr, Mrs, Ms, etc. |
119
+ * | `firstName` | `string` | Yes | First name |
120
+ * | `lastName` | `string` | Yes | Last name |
121
+ * | `phone` | `string` | No | Phone number |
122
+ * | `customFieldValues`| `object` | No | Custom field updates |
123
+ *
124
+ * @example
125
+ * ```typescript
126
+ * await client.customerUser.updateCustomerUser({
127
+ * civility: 'Mr',
128
+ * firstName: 'John',
129
+ * lastName: 'Smith',
130
+ * phone: '+1-555-987-6543',
131
+ * });
132
+ * ```
133
+ *
134
+ * @param params - Profile update data
135
+ * @param context - Optional SSR request context
136
+ * @throws {ValidationError} If required parameters are missing
137
+ * @returns Updated user profile
138
+ */
139
+ updateCustomerUser(params: UpdateCustomerUserParams, context?: RequestContext): Promise<UpdateCustomerUserResponse>;
140
+ /**
141
+ * Activate a user account with activation token.
142
+ *
143
+ * Completes the registration process after email verification.
144
+ *
145
+ * **Endpoint**: `POST /v1/shop/customer-users/activate [USR-103]`
146
+ *
147
+ * | Parameter | Type | Required | Description |
148
+ * |-----------|----------|----------|--------------------------|
149
+ * | `token` | `string` | Yes | Activation token from email |
150
+ *
151
+ * @example
152
+ * ```typescript
153
+ * // Token from URL: /activate?token=abc123
154
+ * await client.customerUser.activateCustomerUser({
155
+ * token: 'abc123',
156
+ * });
157
+ *
158
+ * console.log('Account activated!');
159
+ * ```
160
+ *
161
+ * @param params - Activation token
162
+ * @param context - Optional SSR request context
163
+ * @throws {ValidationError} If token is missing
164
+ * @throws {SDKError} If token is invalid or expired
165
+ */
166
+ activateCustomerUser(params: ActivateCustomerUserParams, context?: RequestContext): Promise<void>;
167
+ /**
168
+ * Get addresses accessible to the current user.
169
+ *
170
+ * **Endpoint**: `GET /v1/shop/customer-users/addresses [USR-104]`
171
+ *
172
+ * @example
173
+ * ```typescript
174
+ * const addresses = await client.customerUser.getCustomerUserAddresses();
175
+ *
176
+ * addresses.forEach(addr => {
177
+ * console.log(`${addr.label}: ${addr.city}, ${addr.country}`);
178
+ * });
179
+ * ```
180
+ *
181
+ * @param params - Optional query parameters
182
+ * @param context - Optional SSR request context
183
+ * @returns List of accessible addresses
184
+ */
185
+ getCustomerUserAddresses(params?: GetCustomerUserAddressesParams, context?: RequestContext): Promise<GetCustomerUserAddressesResponse>;
186
+ /**
187
+ * Get organisations the user belongs to.
188
+ *
189
+ * **Endpoint**: `GET /v1/shop/customer-users/organisations [USR-105]`
190
+ *
191
+ * @example
192
+ * ```typescript
193
+ * const organisations = await client.customerUser.getCustomerUserOrganisations();
194
+ *
195
+ * organisations.forEach(org => {
196
+ * console.log(`${org.name} (${org.externalId})`);
197
+ * });
198
+ * ```
199
+ *
200
+ * @param context - Optional SSR request context
201
+ * @returns List of user's organisations
202
+ */
203
+ getCustomerUserOrganisations(context?: RequestContext): Promise<GetCustomerUserOrganisationsResponse>;
204
+ /**
205
+ * Resend activation email to a user.
206
+ *
207
+ * **Endpoint**: `POST /v1/shop/customer-users/resend-activation [USR-106]`
208
+ *
209
+ * | Parameter | Type | Required | Description |
210
+ * |---------------|----------|----------|--------------------------|
211
+ * | `token` | `string` | Yes | User's registration token|
212
+ * | `redirectUrl` | `string` | No | Custom activation URL |
213
+ *
214
+ * @param params - Resend request data
215
+ * @param context - Optional SSR request context
216
+ * @throws {ValidationError} If token is missing
217
+ */
218
+ sendCustomerUserActivationRequest(params: SendActivationRequestParams, context?: RequestContext): Promise<void>;
219
+ /**
220
+ * Update another user's profile (admin function).
221
+ *
222
+ * **Endpoint**: `PUT /v1/shop/customer-users/{userId} [USR-107]`
223
+ *
224
+ * | Parameter | Type | Required | Description |
225
+ * |------------------|----------|----------|--------------------------|
226
+ * | `userToUpdateId` | `string` | Yes | User ID to update |
227
+ * | `civility` | `string` | Yes | Mr, Mrs, Ms, etc. |
228
+ * | `firstName` | `string` | Yes | First name |
229
+ * | `lastName` | `string` | Yes | Last name |
230
+ * | `idType` | `string` | No | ID type (id, externalId) |
231
+ * | `groups` | `array` | No | Updated groups/roles |
232
+ *
233
+ * @param params - User update data
234
+ * @param context - Optional SSR request context
235
+ * @throws {ValidationError} If required parameters are missing
236
+ * @throws {AuthError} If user lacks permission
237
+ */
238
+ updateSpecificCustomerUser(params: UpdateSpecificCustomerUserParams, context?: RequestContext): Promise<void>;
239
+ /**
240
+ * Remove a user from customer accounts.
241
+ *
242
+ * **Endpoint**: `DELETE /v1/shop/customer-users/{userId}/accounts [USR-108]`
243
+ *
244
+ * | Parameter | Type | Required | Description |
245
+ * |------------------|----------|----------|--------------------------|
246
+ * | `userToUpdateId` | `string` | Yes | User ID |
247
+ * | `accountIds` | `array` | Yes | Account IDs to remove |
248
+ * | `idType` | `string` | No | ID type |
249
+ *
250
+ * @param params - Removal data
251
+ * @param context - Optional SSR request context
252
+ * @throws {ValidationError} If required parameters are missing
253
+ */
254
+ removeAccountsFromCustomerUser(params: RemoveAccountsFromUserParams, context?: RequestContext): Promise<void>;
255
+ /**
256
+ * Add a user to customer accounts.
257
+ *
258
+ * **Endpoint**: `PATCH /v1/shop/customer-users/{userId}/accounts [USR-109]`
259
+ *
260
+ * | Parameter | Type | Required | Description |
261
+ * |------------------|----------|----------|--------------------------|
262
+ * | `userToUpdateId` | `string` | Yes | User ID |
263
+ * | `accountIds` | `array` | Yes | Account IDs to add |
264
+ * | `idType` | `string` | No | ID type |
265
+ *
266
+ * @example
267
+ * ```typescript
268
+ * await client.customerUser.addCustomerUserToAccounts({
269
+ * userToUpdateId: 'user-123',
270
+ * accountIds: ['account-456', 'account-789'],
271
+ * });
272
+ * ```
273
+ *
274
+ * @param params - Addition data
275
+ * @param context - Optional SSR request context
276
+ * @throws {ValidationError} If required parameters are missing
277
+ */
278
+ addCustomerUserToAccounts(params: AddUserToAccountsParams, context?: RequestContext): Promise<void>;
279
+ }
280
+ //# sourceMappingURL=customer-user.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customer-user.service.d.ts","sourceRoot":"","sources":["../../../src/services/customer-user/customer-user.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,EAC9B,2BAA2B,EAC3B,gCAAgC,EAChC,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,EAC1B,gCAAgC,EAChC,oCAAoC,EACrC,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;IAClD,QAAQ,CAAC,WAAW,mBAAmB;IAEvC;;;;;;;;;;;;;;;;;;OAkBG;IACG,oBAAoB,CACxB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,4BAA4B,CAAC;IAUxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACG,kBAAkB,CACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,0BAA0B,CAAC;IAkCtC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACG,kB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