@djust-b2b/djust-front-sdk 3.0.0-beta.9 → 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 (715) 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 +42 -40
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.mjs +269 -63
  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/index.d.ts +1 -1
  55. package/dist/settings/fetch-instance.d.ts.map +1 -1
  56. package/dist/settings/sdk-version.d.ts +3 -0
  57. package/dist/settings/sdk-version.d.ts.map +1 -0
  58. package/lib/.tsbuildinfo +1 -0
  59. package/lib/client/create-client.d.ts +251 -0
  60. package/lib/client/create-client.d.ts.map +1 -0
  61. package/lib/client/create-client.js +233 -0
  62. package/lib/client/create-client.js.map +1 -0
  63. package/lib/client/index.d.ts +14 -0
  64. package/lib/client/index.d.ts.map +1 -0
  65. package/lib/client/index.js +91 -0
  66. package/lib/client/index.js.map +1 -0
  67. package/lib/client/performance.d.ts +203 -0
  68. package/lib/client/performance.d.ts.map +1 -0
  69. package/lib/client/performance.js +409 -0
  70. package/lib/client/performance.js.map +1 -0
  71. package/lib/client/transport.d.ts +372 -0
  72. package/lib/client/transport.d.ts.map +1 -0
  73. package/lib/client/transport.js +735 -0
  74. package/lib/client/transport.js.map +1 -0
  75. package/lib/errors/base.d.ts +101 -0
  76. package/lib/errors/base.d.ts.map +1 -0
  77. package/lib/errors/base.js +145 -0
  78. package/lib/errors/base.js.map +1 -0
  79. package/lib/errors/classes/auth.error.d.ts +64 -0
  80. package/lib/errors/classes/auth.error.d.ts.map +1 -0
  81. package/lib/errors/classes/auth.error.js +116 -0
  82. package/lib/errors/classes/auth.error.js.map +1 -0
  83. package/lib/errors/classes/forbidden.error.d.ts +52 -0
  84. package/lib/errors/classes/forbidden.error.d.ts.map +1 -0
  85. package/lib/errors/classes/forbidden.error.js +90 -0
  86. package/lib/errors/classes/forbidden.error.js.map +1 -0
  87. package/lib/errors/classes/index.d.ts +17 -0
  88. package/lib/errors/classes/index.d.ts.map +1 -0
  89. package/lib/errors/classes/index.js +29 -0
  90. package/lib/errors/classes/index.js.map +1 -0
  91. package/lib/errors/classes/network.error.d.ts +63 -0
  92. package/lib/errors/classes/network.error.d.ts.map +1 -0
  93. package/lib/errors/classes/network.error.js +122 -0
  94. package/lib/errors/classes/network.error.js.map +1 -0
  95. package/lib/errors/classes/not-found.error.d.ts +58 -0
  96. package/lib/errors/classes/not-found.error.d.ts.map +1 -0
  97. package/lib/errors/classes/not-found.error.js +120 -0
  98. package/lib/errors/classes/not-found.error.js.map +1 -0
  99. package/lib/errors/classes/rate-limit.error.d.ts +49 -0
  100. package/lib/errors/classes/rate-limit.error.d.ts.map +1 -0
  101. package/lib/errors/classes/rate-limit.error.js +107 -0
  102. package/lib/errors/classes/rate-limit.error.js.map +1 -0
  103. package/lib/errors/classes/server.error.d.ts +63 -0
  104. package/lib/errors/classes/server.error.d.ts.map +1 -0
  105. package/lib/errors/classes/server.error.js +156 -0
  106. package/lib/errors/classes/server.error.js.map +1 -0
  107. package/lib/errors/classes/timeout.error.d.ts +64 -0
  108. package/lib/errors/classes/timeout.error.d.ts.map +1 -0
  109. package/lib/errors/classes/timeout.error.js +90 -0
  110. package/lib/errors/classes/timeout.error.js.map +1 -0
  111. package/lib/errors/classes/unexpected.error.d.ts +70 -0
  112. package/lib/errors/classes/unexpected.error.d.ts.map +1 -0
  113. package/lib/errors/classes/unexpected.error.js +105 -0
  114. package/lib/errors/classes/unexpected.error.js.map +1 -0
  115. package/lib/errors/classes/validation.error.d.ts +68 -0
  116. package/lib/errors/classes/validation.error.d.ts.map +1 -0
  117. package/lib/errors/classes/validation.error.js +103 -0
  118. package/lib/errors/classes/validation.error.js.map +1 -0
  119. package/lib/errors/codes.d.ts +111 -0
  120. package/lib/errors/codes.d.ts.map +1 -0
  121. package/lib/errors/codes.js +143 -0
  122. package/lib/errors/codes.js.map +1 -0
  123. package/lib/errors/compat.d.ts +99 -0
  124. package/lib/errors/compat.d.ts.map +1 -0
  125. package/lib/errors/compat.js +280 -0
  126. package/lib/errors/compat.js.map +1 -0
  127. package/lib/errors/factory.d.ts +33 -0
  128. package/lib/errors/factory.d.ts.map +1 -0
  129. package/lib/errors/factory.js +298 -0
  130. package/lib/errors/factory.js.map +1 -0
  131. package/lib/errors/guards.d.ts +142 -0
  132. package/lib/errors/guards.d.ts.map +1 -0
  133. package/lib/errors/guards.js +281 -0
  134. package/lib/errors/guards.js.map +1 -0
  135. package/lib/errors/helpers/djust-api-error.d.ts +29 -0
  136. package/lib/errors/helpers/djust-api-error.d.ts.map +1 -0
  137. package/lib/errors/helpers/djust-api-error.js +49 -0
  138. package/lib/errors/helpers/djust-api-error.js.map +1 -0
  139. package/lib/errors/index.d.ts +25 -0
  140. package/lib/errors/index.d.ts.map +1 -0
  141. package/lib/errors/index.js +89 -0
  142. package/lib/errors/index.js.map +1 -0
  143. package/lib/errors/types.d.ts +104 -0
  144. package/lib/errors/types.d.ts.map +1 -0
  145. package/lib/errors/types.js +10 -0
  146. package/lib/errors/types.js.map +1 -0
  147. package/lib/helpers/index.d.ts +42 -0
  148. package/lib/helpers/index.d.ts.map +1 -0
  149. package/lib/helpers/index.js +102 -0
  150. package/lib/helpers/index.js.map +1 -0
  151. package/lib/helpers/parameters-validation.d.ts +3 -0
  152. package/lib/helpers/parameters-validation.d.ts.map +1 -0
  153. package/lib/helpers/parameters-validation.js +22 -0
  154. package/lib/helpers/parameters-validation.js.map +1 -0
  155. package/lib/helpers/utils.d.ts +5 -0
  156. package/lib/helpers/utils.d.ts.map +1 -0
  157. package/lib/helpers/utils.js +30 -0
  158. package/lib/helpers/utils.js.map +1 -0
  159. package/lib/index.d.ts +267 -0
  160. package/lib/index.d.ts.map +1 -0
  161. package/lib/index.js +182 -0
  162. package/lib/index.js.map +1 -0
  163. package/lib/interfaces/index.d.ts +43 -0
  164. package/lib/interfaces/index.d.ts.map +1 -0
  165. package/lib/interfaces/index.js +36 -0
  166. package/lib/interfaces/index.js.map +1 -0
  167. package/lib/interfaces/models/address.d.ts +61 -0
  168. package/lib/interfaces/models/address.d.ts.map +1 -0
  169. package/lib/interfaces/models/address.js +3 -0
  170. package/lib/interfaces/models/address.js.map +1 -0
  171. package/lib/interfaces/models/attribute.d.ts +31 -0
  172. package/lib/interfaces/models/attribute.d.ts.map +1 -0
  173. package/lib/interfaces/models/attribute.js +3 -0
  174. package/lib/interfaces/models/attribute.js.map +1 -0
  175. package/lib/interfaces/models/auth.d.ts +37 -0
  176. package/lib/interfaces/models/auth.d.ts.map +1 -0
  177. package/lib/interfaces/models/auth.js +3 -0
  178. package/lib/interfaces/models/auth.js.map +1 -0
  179. package/lib/interfaces/models/cart.d.ts +64 -0
  180. package/lib/interfaces/models/cart.d.ts.map +1 -0
  181. package/lib/interfaces/models/cart.js +3 -0
  182. package/lib/interfaces/models/cart.js.map +1 -0
  183. package/lib/interfaces/models/common.d.ts +68 -0
  184. package/lib/interfaces/models/common.d.ts.map +1 -0
  185. package/lib/interfaces/models/common.js +3 -0
  186. package/lib/interfaces/models/common.js.map +1 -0
  187. package/lib/interfaces/models/custom-field.d.ts +57 -0
  188. package/lib/interfaces/models/custom-field.d.ts.map +1 -0
  189. package/lib/interfaces/models/custom-field.js +3 -0
  190. package/lib/interfaces/models/custom-field.js.map +1 -0
  191. package/lib/interfaces/models/customer-account.d.ts +52 -0
  192. package/lib/interfaces/models/customer-account.d.ts.map +1 -0
  193. package/lib/interfaces/models/customer-account.js +3 -0
  194. package/lib/interfaces/models/customer-account.js.map +1 -0
  195. package/lib/interfaces/models/customer-organisation.d.ts +14 -0
  196. package/lib/interfaces/models/customer-organisation.d.ts.map +1 -0
  197. package/lib/interfaces/models/customer-organisation.js +3 -0
  198. package/lib/interfaces/models/customer-organisation.js.map +1 -0
  199. package/lib/interfaces/models/customer-user.d.ts +114 -0
  200. package/lib/interfaces/models/customer-user.d.ts.map +1 -0
  201. package/lib/interfaces/models/customer-user.js +3 -0
  202. package/lib/interfaces/models/customer-user.js.map +1 -0
  203. package/lib/interfaces/models/incident.d.ts +37 -0
  204. package/lib/interfaces/models/incident.d.ts.map +1 -0
  205. package/lib/interfaces/models/incident.js +3 -0
  206. package/lib/interfaces/models/incident.js.map +1 -0
  207. package/lib/interfaces/models/navigation-category.d.ts +22 -0
  208. package/lib/interfaces/models/navigation-category.d.ts.map +1 -0
  209. package/lib/interfaces/models/navigation-category.js +3 -0
  210. package/lib/interfaces/models/navigation-category.js.map +1 -0
  211. package/lib/interfaces/models/offer.d.ts +151 -0
  212. package/lib/interfaces/models/offer.d.ts.map +1 -0
  213. package/lib/interfaces/models/offer.js +3 -0
  214. package/lib/interfaces/models/offer.js.map +1 -0
  215. package/lib/interfaces/models/order.d.ts +701 -0
  216. package/lib/interfaces/models/order.d.ts.map +1 -0
  217. package/lib/interfaces/models/order.js +3 -0
  218. package/lib/interfaces/models/order.js.map +1 -0
  219. package/lib/interfaces/models/payment.d.ts +20 -0
  220. package/lib/interfaces/models/payment.d.ts.map +1 -0
  221. package/lib/interfaces/models/payment.js +3 -0
  222. package/lib/interfaces/models/payment.js.map +1 -0
  223. package/lib/interfaces/models/price.d.ts +6 -0
  224. package/lib/interfaces/models/price.d.ts.map +1 -0
  225. package/lib/interfaces/models/price.js +3 -0
  226. package/lib/interfaces/models/price.js.map +1 -0
  227. package/lib/interfaces/models/product.d.ts +243 -0
  228. package/lib/interfaces/models/product.d.ts.map +1 -0
  229. package/lib/interfaces/models/product.js +3 -0
  230. package/lib/interfaces/models/product.js.map +1 -0
  231. package/lib/interfaces/models/quote.d.ts +77 -0
  232. package/lib/interfaces/models/quote.d.ts.map +1 -0
  233. package/lib/interfaces/models/quote.js +3 -0
  234. package/lib/interfaces/models/quote.js.map +1 -0
  235. package/lib/interfaces/models/searchProduct.d.ts +128 -0
  236. package/lib/interfaces/models/searchProduct.d.ts.map +1 -0
  237. package/lib/interfaces/models/searchProduct.js +3 -0
  238. package/lib/interfaces/models/searchProduct.js.map +1 -0
  239. package/lib/interfaces/models/supplier.d.ts +72 -0
  240. package/lib/interfaces/models/supplier.d.ts.map +1 -0
  241. package/lib/interfaces/models/supplier.js +3 -0
  242. package/lib/interfaces/models/supplier.js.map +1 -0
  243. package/lib/services/attributes/attributes.service.d.ts +18 -0
  244. package/lib/services/attributes/attributes.service.d.ts.map +1 -0
  245. package/lib/services/attributes/attributes.service.js +37 -0
  246. package/lib/services/attributes/attributes.service.js.map +1 -0
  247. package/lib/services/attributes/definitions.d.ts +28 -0
  248. package/lib/services/attributes/definitions.d.ts.map +1 -0
  249. package/lib/services/attributes/definitions.js +3 -0
  250. package/lib/services/attributes/definitions.js.map +1 -0
  251. package/lib/services/attributes/endpoints.d.ts +12 -0
  252. package/lib/services/attributes/endpoints.d.ts.map +1 -0
  253. package/lib/services/attributes/endpoints.js +14 -0
  254. package/lib/services/attributes/endpoints.js.map +1 -0
  255. package/lib/services/attributes/index.d.ts +33 -0
  256. package/lib/services/attributes/index.d.ts.map +1 -0
  257. package/lib/services/attributes/index.js +50 -0
  258. package/lib/services/attributes/index.js.map +1 -0
  259. package/lib/services/attributes/module.d.ts +11 -0
  260. package/lib/services/attributes/module.d.ts.map +1 -0
  261. package/lib/services/attributes/module.js +15 -0
  262. package/lib/services/attributes/module.js.map +1 -0
  263. package/lib/services/attributes/types.d.ts +35 -0
  264. package/lib/services/attributes/types.d.ts.map +1 -0
  265. package/lib/services/attributes/types.js +10 -0
  266. package/lib/services/attributes/types.js.map +1 -0
  267. package/lib/services/auth/__mocks__/auth.mocks.d.ts +249 -0
  268. package/lib/services/auth/__mocks__/auth.mocks.d.ts.map +1 -0
  269. package/lib/services/auth/__mocks__/auth.mocks.js +221 -0
  270. package/lib/services/auth/__mocks__/auth.mocks.js.map +1 -0
  271. package/lib/services/auth/auth.service.d.ts +286 -0
  272. package/lib/services/auth/auth.service.d.ts.map +1 -0
  273. package/lib/services/auth/auth.service.js +423 -0
  274. package/lib/services/auth/auth.service.js.map +1 -0
  275. package/lib/services/auth/definitions.d.ts +69 -0
  276. package/lib/services/auth/definitions.d.ts.map +1 -0
  277. package/lib/services/auth/definitions.js +3 -0
  278. package/lib/services/auth/definitions.js.map +1 -0
  279. package/lib/services/auth/definitions.requests.d.ts +25 -0
  280. package/lib/services/auth/definitions.requests.d.ts.map +1 -0
  281. package/lib/services/auth/definitions.requests.js +6 -0
  282. package/lib/services/auth/definitions.requests.js.map +1 -0
  283. package/lib/services/auth/endpoints.d.ts +30 -0
  284. package/lib/services/auth/endpoints.d.ts.map +1 -0
  285. package/lib/services/auth/endpoints.js +32 -0
  286. package/lib/services/auth/endpoints.js.map +1 -0
  287. package/lib/services/auth/index.d.ts +232 -0
  288. package/lib/services/auth/index.d.ts.map +1 -0
  289. package/lib/services/auth/index.js +310 -0
  290. package/lib/services/auth/index.js.map +1 -0
  291. package/lib/services/auth/module.d.ts +11 -0
  292. package/lib/services/auth/module.d.ts.map +1 -0
  293. package/lib/services/auth/module.js +17 -0
  294. package/lib/services/auth/module.js.map +1 -0
  295. package/lib/services/auth/types.d.ts +124 -0
  296. package/lib/services/auth/types.d.ts.map +1 -0
  297. package/lib/services/auth/types.js +10 -0
  298. package/lib/services/auth/types.js.map +1 -0
  299. package/lib/services/base.service.d.ts +83 -0
  300. package/lib/services/base.service.d.ts.map +1 -0
  301. package/lib/services/base.service.js +121 -0
  302. package/lib/services/base.service.js.map +1 -0
  303. package/lib/services/cart/cart.service.d.ts +443 -0
  304. package/lib/services/cart/cart.service.d.ts.map +1 -0
  305. package/lib/services/cart/cart.service.js +551 -0
  306. package/lib/services/cart/cart.service.js.map +1 -0
  307. package/lib/services/cart/definitions.d.ts +84 -0
  308. package/lib/services/cart/definitions.d.ts.map +1 -0
  309. package/lib/services/cart/definitions.js +3 -0
  310. package/lib/services/cart/definitions.js.map +1 -0
  311. package/lib/services/cart/endpoints.d.ts +24 -0
  312. package/lib/services/cart/endpoints.d.ts.map +1 -0
  313. package/lib/services/cart/endpoints.js +26 -0
  314. package/lib/services/cart/endpoints.js.map +1 -0
  315. package/lib/services/cart/index.d.ts +330 -0
  316. package/lib/services/cart/index.d.ts.map +1 -0
  317. package/lib/services/cart/index.js +464 -0
  318. package/lib/services/cart/index.js.map +1 -0
  319. package/lib/services/cart/module.d.ts +11 -0
  320. package/lib/services/cart/module.d.ts.map +1 -0
  321. package/lib/services/cart/module.js +17 -0
  322. package/lib/services/cart/module.js.map +1 -0
  323. package/lib/services/cart/types.d.ts +236 -0
  324. package/lib/services/cart/types.d.ts.map +1 -0
  325. package/lib/services/cart/types.js +10 -0
  326. package/lib/services/cart/types.js.map +1 -0
  327. package/lib/services/commercial-order/commercial-order.service.d.ts +435 -0
  328. package/lib/services/commercial-order/commercial-order.service.d.ts.map +1 -0
  329. package/lib/services/commercial-order/commercial-order.service.js +690 -0
  330. package/lib/services/commercial-order/commercial-order.service.js.map +1 -0
  331. package/lib/services/commercial-order/definitions.d.ts +182 -0
  332. package/lib/services/commercial-order/definitions.d.ts.map +1 -0
  333. package/lib/services/commercial-order/definitions.js +3 -0
  334. package/lib/services/commercial-order/definitions.js.map +1 -0
  335. package/lib/services/commercial-order/endpoints.d.ts +28 -0
  336. package/lib/services/commercial-order/endpoints.d.ts.map +1 -0
  337. package/lib/services/commercial-order/endpoints.js +33 -0
  338. package/lib/services/commercial-order/endpoints.js.map +1 -0
  339. package/lib/services/commercial-order/index.d.ts +721 -0
  340. package/lib/services/commercial-order/index.d.ts.map +1 -0
  341. package/lib/services/commercial-order/index.js +986 -0
  342. package/lib/services/commercial-order/index.js.map +1 -0
  343. package/lib/services/commercial-order/module.d.ts +11 -0
  344. package/lib/services/commercial-order/module.d.ts.map +1 -0
  345. package/lib/services/commercial-order/module.js +15 -0
  346. package/lib/services/commercial-order/module.js.map +1 -0
  347. package/lib/services/commercial-order/types.d.ts +244 -0
  348. package/lib/services/commercial-order/types.d.ts.map +1 -0
  349. package/lib/services/commercial-order/types.js +10 -0
  350. package/lib/services/commercial-order/types.js.map +1 -0
  351. package/lib/services/custom-field/custom-field.service.d.ts +23 -0
  352. package/lib/services/custom-field/custom-field.service.d.ts.map +1 -0
  353. package/lib/services/custom-field/custom-field.service.js +64 -0
  354. package/lib/services/custom-field/custom-field.service.js.map +1 -0
  355. package/lib/services/custom-field/definitions.d.ts +107 -0
  356. package/lib/services/custom-field/definitions.d.ts.map +1 -0
  357. package/lib/services/custom-field/definitions.js +61 -0
  358. package/lib/services/custom-field/definitions.js.map +1 -0
  359. package/lib/services/custom-field/endpoints.d.ts +13 -0
  360. package/lib/services/custom-field/endpoints.d.ts.map +1 -0
  361. package/lib/services/custom-field/endpoints.js +15 -0
  362. package/lib/services/custom-field/endpoints.js.map +1 -0
  363. package/lib/services/custom-field/index.d.ts +115 -0
  364. package/lib/services/custom-field/index.d.ts.map +1 -0
  365. package/lib/services/custom-field/index.js +144 -0
  366. package/lib/services/custom-field/index.js.map +1 -0
  367. package/lib/services/custom-field/module.d.ts +11 -0
  368. package/lib/services/custom-field/module.d.ts.map +1 -0
  369. package/lib/services/custom-field/module.js +15 -0
  370. package/lib/services/custom-field/module.js.map +1 -0
  371. package/lib/services/custom-field/types.d.ts +51 -0
  372. package/lib/services/custom-field/types.d.ts.map +1 -0
  373. package/lib/services/custom-field/types.js +10 -0
  374. package/lib/services/custom-field/types.js.map +1 -0
  375. package/lib/services/customer-account/customer-account.service.d.ts +387 -0
  376. package/lib/services/customer-account/customer-account.service.d.ts.map +1 -0
  377. package/lib/services/customer-account/customer-account.service.js +579 -0
  378. package/lib/services/customer-account/customer-account.service.js.map +1 -0
  379. package/lib/services/customer-account/definitions.d.ts +164 -0
  380. package/lib/services/customer-account/definitions.d.ts.map +1 -0
  381. package/lib/services/customer-account/definitions.js +3 -0
  382. package/lib/services/customer-account/definitions.js.map +1 -0
  383. package/lib/services/customer-account/endpoints.d.ts +25 -0
  384. package/lib/services/customer-account/endpoints.d.ts.map +1 -0
  385. package/lib/services/customer-account/endpoints.js +33 -0
  386. package/lib/services/customer-account/endpoints.js.map +1 -0
  387. package/lib/services/customer-account/index.d.ts +656 -0
  388. package/lib/services/customer-account/index.d.ts.map +1 -0
  389. package/lib/services/customer-account/index.js +929 -0
  390. package/lib/services/customer-account/index.js.map +1 -0
  391. package/lib/services/customer-account/module.d.ts +11 -0
  392. package/lib/services/customer-account/module.d.ts.map +1 -0
  393. package/lib/services/customer-account/module.js +15 -0
  394. package/lib/services/customer-account/module.js.map +1 -0
  395. package/lib/services/customer-account/types.d.ts +253 -0
  396. package/lib/services/customer-account/types.d.ts.map +1 -0
  397. package/lib/services/customer-account/types.js +10 -0
  398. package/lib/services/customer-account/types.js.map +1 -0
  399. package/lib/services/customer-user/customer-user.service.d.ts +280 -0
  400. package/lib/services/customer-user/customer-user.service.d.ts.map +1 -0
  401. package/lib/services/customer-user/customer-user.service.js +402 -0
  402. package/lib/services/customer-user/customer-user.service.js.map +1 -0
  403. package/lib/services/customer-user/definitions.d.ts +84 -0
  404. package/lib/services/customer-user/definitions.d.ts.map +1 -0
  405. package/lib/services/customer-user/definitions.js +3 -0
  406. package/lib/services/customer-user/definitions.js.map +1 -0
  407. package/lib/services/customer-user/endpoints.d.ts +19 -0
  408. package/lib/services/customer-user/endpoints.d.ts.map +1 -0
  409. package/lib/services/customer-user/endpoints.js +21 -0
  410. package/lib/services/customer-user/endpoints.js.map +1 -0
  411. package/lib/services/customer-user/index.d.ts +394 -0
  412. package/lib/services/customer-user/index.d.ts.map +1 -0
  413. package/lib/services/customer-user/index.js +528 -0
  414. package/lib/services/customer-user/index.js.map +1 -0
  415. package/lib/services/customer-user/module.d.ts +11 -0
  416. package/lib/services/customer-user/module.d.ts.map +1 -0
  417. package/lib/services/customer-user/module.js +15 -0
  418. package/lib/services/customer-user/module.js.map +1 -0
  419. package/lib/services/customer-user/types.d.ts +118 -0
  420. package/lib/services/customer-user/types.d.ts.map +1 -0
  421. package/lib/services/customer-user/types.js +10 -0
  422. package/lib/services/customer-user/types.js.map +1 -0
  423. package/lib/services/factory.d.ts +104 -0
  424. package/lib/services/factory.d.ts.map +1 -0
  425. package/lib/services/factory.js +89 -0
  426. package/lib/services/factory.js.map +1 -0
  427. package/lib/services/incident/definitions.d.ts +85 -0
  428. package/lib/services/incident/definitions.d.ts.map +1 -0
  429. package/lib/services/incident/definitions.js +3 -0
  430. package/lib/services/incident/definitions.js.map +1 -0
  431. package/lib/services/incident/endpoints.d.ts +17 -0
  432. package/lib/services/incident/endpoints.d.ts.map +1 -0
  433. package/lib/services/incident/endpoints.js +19 -0
  434. package/lib/services/incident/endpoints.js.map +1 -0
  435. package/lib/services/incident/incident.service.d.ts +24 -0
  436. package/lib/services/incident/incident.service.d.ts.map +1 -0
  437. package/lib/services/incident/incident.service.js +141 -0
  438. package/lib/services/incident/incident.service.js.map +1 -0
  439. package/lib/services/incident/index.d.ts +270 -0
  440. package/lib/services/incident/index.d.ts.map +1 -0
  441. package/lib/services/incident/index.js +389 -0
  442. package/lib/services/incident/index.js.map +1 -0
  443. package/lib/services/incident/module.d.ts +11 -0
  444. package/lib/services/incident/module.d.ts.map +1 -0
  445. package/lib/services/incident/module.js +15 -0
  446. package/lib/services/incident/module.js.map +1 -0
  447. package/lib/services/incident/types.d.ts +116 -0
  448. package/lib/services/incident/types.d.ts.map +1 -0
  449. package/lib/services/incident/types.js +10 -0
  450. package/lib/services/incident/types.js.map +1 -0
  451. package/lib/services/logistic-order/definitions.d.ts +315 -0
  452. package/lib/services/logistic-order/definitions.d.ts.map +1 -0
  453. package/lib/services/logistic-order/definitions.js +3 -0
  454. package/lib/services/logistic-order/definitions.js.map +1 -0
  455. package/lib/services/logistic-order/endpoints.d.ts +44 -0
  456. package/lib/services/logistic-order/endpoints.d.ts.map +1 -0
  457. package/lib/services/logistic-order/endpoints.js +57 -0
  458. package/lib/services/logistic-order/endpoints.js.map +1 -0
  459. package/lib/services/logistic-order/index.d.ts +1376 -0
  460. package/lib/services/logistic-order/index.d.ts.map +1 -0
  461. package/lib/services/logistic-order/index.js +1823 -0
  462. package/lib/services/logistic-order/index.js.map +1 -0
  463. package/lib/services/logistic-order/logistic-order.service.d.ts +62 -0
  464. package/lib/services/logistic-order/logistic-order.service.d.ts.map +1 -0
  465. package/lib/services/logistic-order/logistic-order.service.js +499 -0
  466. package/lib/services/logistic-order/logistic-order.service.js.map +1 -0
  467. package/lib/services/logistic-order/module.d.ts +11 -0
  468. package/lib/services/logistic-order/module.d.ts.map +1 -0
  469. package/lib/services/logistic-order/module.js +15 -0
  470. package/lib/services/logistic-order/module.js.map +1 -0
  471. package/lib/services/logistic-order/types.d.ts +411 -0
  472. package/lib/services/logistic-order/types.d.ts.map +1 -0
  473. package/lib/services/logistic-order/types.js +10 -0
  474. package/lib/services/logistic-order/types.js.map +1 -0
  475. package/lib/services/module.d.ts +64 -0
  476. package/lib/services/module.d.ts.map +1 -0
  477. package/lib/services/module.js +147 -0
  478. package/lib/services/module.js.map +1 -0
  479. package/lib/services/navigation-category/definitions.d.ts +31 -0
  480. package/lib/services/navigation-category/definitions.d.ts.map +1 -0
  481. package/lib/services/navigation-category/definitions.js +3 -0
  482. package/lib/services/navigation-category/definitions.js.map +1 -0
  483. package/lib/services/navigation-category/endpoints.d.ts +15 -0
  484. package/lib/services/navigation-category/endpoints.d.ts.map +1 -0
  485. package/lib/services/navigation-category/endpoints.js +17 -0
  486. package/lib/services/navigation-category/endpoints.js.map +1 -0
  487. package/lib/services/navigation-category/index.d.ts +114 -0
  488. package/lib/services/navigation-category/index.d.ts.map +1 -0
  489. package/lib/services/navigation-category/index.js +160 -0
  490. package/lib/services/navigation-category/index.js.map +1 -0
  491. package/lib/services/navigation-category/module.d.ts +11 -0
  492. package/lib/services/navigation-category/module.d.ts.map +1 -0
  493. package/lib/services/navigation-category/module.js +15 -0
  494. package/lib/services/navigation-category/module.js.map +1 -0
  495. package/lib/services/navigation-category/navigation-category.service.d.ts +148 -0
  496. package/lib/services/navigation-category/navigation-category.service.d.ts.map +1 -0
  497. package/lib/services/navigation-category/navigation-category.service.js +191 -0
  498. package/lib/services/navigation-category/navigation-category.service.js.map +1 -0
  499. package/lib/services/navigation-category/types.d.ts +51 -0
  500. package/lib/services/navigation-category/types.d.ts.map +1 -0
  501. package/lib/services/navigation-category/types.js +10 -0
  502. package/lib/services/navigation-category/types.js.map +1 -0
  503. package/lib/services/offer-inventories/definitions.d.ts +73 -0
  504. package/lib/services/offer-inventories/definitions.d.ts.map +1 -0
  505. package/lib/services/offer-inventories/definitions.js +3 -0
  506. package/lib/services/offer-inventories/definitions.js.map +1 -0
  507. package/lib/services/offer-inventories/endpoints.d.ts +16 -0
  508. package/lib/services/offer-inventories/endpoints.d.ts.map +1 -0
  509. package/lib/services/offer-inventories/endpoints.js +18 -0
  510. package/lib/services/offer-inventories/endpoints.js.map +1 -0
  511. package/lib/services/offer-inventories/index.d.ts +120 -0
  512. package/lib/services/offer-inventories/index.d.ts.map +1 -0
  513. package/lib/services/offer-inventories/index.js +175 -0
  514. package/lib/services/offer-inventories/index.js.map +1 -0
  515. package/lib/services/offer-inventories/module.d.ts +11 -0
  516. package/lib/services/offer-inventories/module.d.ts.map +1 -0
  517. package/lib/services/offer-inventories/module.js +15 -0
  518. package/lib/services/offer-inventories/module.js.map +1 -0
  519. package/lib/services/offer-inventories/offer-inventories.service.d.ts +26 -0
  520. package/lib/services/offer-inventories/offer-inventories.service.d.ts.map +1 -0
  521. package/lib/services/offer-inventories/offer-inventories.service.js +80 -0
  522. package/lib/services/offer-inventories/offer-inventories.service.js.map +1 -0
  523. package/lib/services/offer-inventories/types.d.ts +85 -0
  524. package/lib/services/offer-inventories/types.d.ts.map +1 -0
  525. package/lib/services/offer-inventories/types.js +10 -0
  526. package/lib/services/offer-inventories/types.js.map +1 -0
  527. package/lib/services/offer-prices/__mocks__/offer-prices.mocks.d.ts +109 -0
  528. package/lib/services/offer-prices/__mocks__/offer-prices.mocks.d.ts.map +1 -0
  529. package/lib/services/offer-prices/__mocks__/offer-prices.mocks.js +201 -0
  530. package/lib/services/offer-prices/__mocks__/offer-prices.mocks.js.map +1 -0
  531. package/lib/services/offer-prices/definitions.d.ts +24 -0
  532. package/lib/services/offer-prices/definitions.d.ts.map +1 -0
  533. package/lib/services/offer-prices/definitions.js +3 -0
  534. package/lib/services/offer-prices/definitions.js.map +1 -0
  535. package/lib/services/offer-prices/endpoints.d.ts +12 -0
  536. package/lib/services/offer-prices/endpoints.d.ts.map +1 -0
  537. package/lib/services/offer-prices/endpoints.js +14 -0
  538. package/lib/services/offer-prices/endpoints.js.map +1 -0
  539. package/lib/services/offer-prices/index.d.ts +36 -0
  540. package/lib/services/offer-prices/index.d.ts.map +1 -0
  541. package/lib/services/offer-prices/index.js +53 -0
  542. package/lib/services/offer-prices/index.js.map +1 -0
  543. package/lib/services/offer-prices/module.d.ts +11 -0
  544. package/lib/services/offer-prices/module.d.ts.map +1 -0
  545. package/lib/services/offer-prices/module.js +15 -0
  546. package/lib/services/offer-prices/module.js.map +1 -0
  547. package/lib/services/offer-prices/offer-prices.service.d.ts +18 -0
  548. package/lib/services/offer-prices/offer-prices.service.d.ts.map +1 -0
  549. package/lib/services/offer-prices/offer-prices.service.js +36 -0
  550. package/lib/services/offer-prices/offer-prices.service.js.map +1 -0
  551. package/lib/services/offer-prices/types.d.ts +33 -0
  552. package/lib/services/offer-prices/types.d.ts.map +1 -0
  553. package/lib/services/offer-prices/types.js +10 -0
  554. package/lib/services/offer-prices/types.js.map +1 -0
  555. package/lib/services/operation/definitions.d.ts +263 -0
  556. package/lib/services/operation/definitions.d.ts.map +1 -0
  557. package/lib/services/operation/definitions.js +18 -0
  558. package/lib/services/operation/definitions.js.map +1 -0
  559. package/lib/services/operation/endpoints.d.ts +18 -0
  560. package/lib/services/operation/endpoints.d.ts.map +1 -0
  561. package/lib/services/operation/endpoints.js +22 -0
  562. package/lib/services/operation/endpoints.js.map +1 -0
  563. package/lib/services/operation/index.d.ts +520 -0
  564. package/lib/services/operation/index.d.ts.map +1 -0
  565. package/lib/services/operation/index.js +704 -0
  566. package/lib/services/operation/index.js.map +1 -0
  567. package/lib/services/operation/module.d.ts +11 -0
  568. package/lib/services/operation/module.d.ts.map +1 -0
  569. package/lib/services/operation/module.js +15 -0
  570. package/lib/services/operation/module.js.map +1 -0
  571. package/lib/services/operation/operation.service.d.ts +32 -0
  572. package/lib/services/operation/operation.service.d.ts.map +1 -0
  573. package/lib/services/operation/operation.service.js +206 -0
  574. package/lib/services/operation/operation.service.js.map +1 -0
  575. package/lib/services/operation/types.d.ts +174 -0
  576. package/lib/services/operation/types.d.ts.map +1 -0
  577. package/lib/services/operation/types.js +10 -0
  578. package/lib/services/operation/types.js.map +1 -0
  579. package/lib/services/payment/definitions.d.ts +69 -0
  580. package/lib/services/payment/definitions.d.ts.map +1 -0
  581. package/lib/services/payment/definitions.js +3 -0
  582. package/lib/services/payment/definitions.js.map +1 -0
  583. package/lib/services/payment/endpoints.d.ts +16 -0
  584. package/lib/services/payment/endpoints.d.ts.map +1 -0
  585. package/lib/services/payment/endpoints.js +18 -0
  586. package/lib/services/payment/endpoints.js.map +1 -0
  587. package/lib/services/payment/index.d.ts +150 -0
  588. package/lib/services/payment/index.d.ts.map +1 -0
  589. package/lib/services/payment/index.js +220 -0
  590. package/lib/services/payment/index.js.map +1 -0
  591. package/lib/services/payment/module.d.ts +11 -0
  592. package/lib/services/payment/module.d.ts.map +1 -0
  593. package/lib/services/payment/module.js +15 -0
  594. package/lib/services/payment/module.js.map +1 -0
  595. package/lib/services/payment/payment.service.d.ts +224 -0
  596. package/lib/services/payment/payment.service.d.ts.map +1 -0
  597. package/lib/services/payment/payment.service.js +288 -0
  598. package/lib/services/payment/payment.service.js.map +1 -0
  599. package/lib/services/payment/types.d.ts +93 -0
  600. package/lib/services/payment/types.d.ts.map +1 -0
  601. package/lib/services/payment/types.js +10 -0
  602. package/lib/services/payment/types.js.map +1 -0
  603. package/lib/services/product/definitions.d.ts +150 -0
  604. package/lib/services/product/definitions.d.ts.map +1 -0
  605. package/lib/services/product/definitions.js +9 -0
  606. package/lib/services/product/definitions.js.map +1 -0
  607. package/lib/services/product/endpoints.d.ts +40 -0
  608. package/lib/services/product/endpoints.d.ts.map +1 -0
  609. package/lib/services/product/endpoints.js +42 -0
  610. package/lib/services/product/endpoints.js.map +1 -0
  611. package/lib/services/product/index.d.ts +388 -0
  612. package/lib/services/product/index.d.ts.map +1 -0
  613. package/lib/services/product/index.js +564 -0
  614. package/lib/services/product/index.js.map +1 -0
  615. package/lib/services/product/module.d.ts +11 -0
  616. package/lib/services/product/module.d.ts.map +1 -0
  617. package/lib/services/product/module.js +17 -0
  618. package/lib/services/product/module.js.map +1 -0
  619. package/lib/services/product/product.service.d.ts +452 -0
  620. package/lib/services/product/product.service.d.ts.map +1 -0
  621. package/lib/services/product/product.service.js +624 -0
  622. package/lib/services/product/product.service.js.map +1 -0
  623. package/lib/services/product/types.d.ts +344 -0
  624. package/lib/services/product/types.d.ts.map +1 -0
  625. package/lib/services/product/types.js +10 -0
  626. package/lib/services/product/types.js.map +1 -0
  627. package/lib/services/product-variant/definitions.d.ts +33 -0
  628. package/lib/services/product-variant/definitions.d.ts.map +1 -0
  629. package/lib/services/product-variant/definitions.js +7 -0
  630. package/lib/services/product-variant/definitions.js.map +1 -0
  631. package/lib/services/product-variant/endpoints.d.ts +15 -0
  632. package/lib/services/product-variant/endpoints.d.ts.map +1 -0
  633. package/lib/services/product-variant/endpoints.js +17 -0
  634. package/lib/services/product-variant/endpoints.js.map +1 -0
  635. package/lib/services/product-variant/index.d.ts +123 -0
  636. package/lib/services/product-variant/index.d.ts.map +1 -0
  637. package/lib/services/product-variant/index.js +172 -0
  638. package/lib/services/product-variant/index.js.map +1 -0
  639. package/lib/services/product-variant/module.d.ts +11 -0
  640. package/lib/services/product-variant/module.d.ts.map +1 -0
  641. package/lib/services/product-variant/module.js +15 -0
  642. package/lib/services/product-variant/module.js.map +1 -0
  643. package/lib/services/product-variant/product-variant.service.d.ts +21 -0
  644. package/lib/services/product-variant/product-variant.service.d.ts.map +1 -0
  645. package/lib/services/product-variant/product-variant.service.js +69 -0
  646. package/lib/services/product-variant/product-variant.service.js.map +1 -0
  647. package/lib/services/product-variant/types.d.ts +73 -0
  648. package/lib/services/product-variant/types.d.ts.map +1 -0
  649. package/lib/services/product-variant/types.js +10 -0
  650. package/lib/services/product-variant/types.js.map +1 -0
  651. package/lib/services/quote/definitions.d.ts +102 -0
  652. package/lib/services/quote/definitions.d.ts.map +1 -0
  653. package/lib/services/quote/definitions.js +3 -0
  654. package/lib/services/quote/definitions.js.map +1 -0
  655. package/lib/services/quote/endpoints.d.ts +20 -0
  656. package/lib/services/quote/endpoints.d.ts.map +1 -0
  657. package/lib/services/quote/endpoints.js +24 -0
  658. package/lib/services/quote/endpoints.js.map +1 -0
  659. package/lib/services/quote/index.d.ts +378 -0
  660. package/lib/services/quote/index.d.ts.map +1 -0
  661. package/lib/services/quote/index.js +506 -0
  662. package/lib/services/quote/index.js.map +1 -0
  663. package/lib/services/quote/module.d.ts +11 -0
  664. package/lib/services/quote/module.d.ts.map +1 -0
  665. package/lib/services/quote/module.js +15 -0
  666. package/lib/services/quote/module.js.map +1 -0
  667. package/lib/services/quote/quote.service.d.ts +346 -0
  668. package/lib/services/quote/quote.service.d.ts.map +1 -0
  669. package/lib/services/quote/quote.service.js +479 -0
  670. package/lib/services/quote/quote.service.js.map +1 -0
  671. package/lib/services/quote/types.d.ts +160 -0
  672. package/lib/services/quote/types.d.ts.map +1 -0
  673. package/lib/services/quote/types.js +10 -0
  674. package/lib/services/quote/types.js.map +1 -0
  675. package/lib/services/supplier/__mocks__/supplier-mocks.d.ts +49 -0
  676. package/lib/services/supplier/__mocks__/supplier-mocks.d.ts.map +1 -0
  677. package/lib/services/supplier/__mocks__/supplier-mocks.js +168 -0
  678. package/lib/services/supplier/__mocks__/supplier-mocks.js.map +1 -0
  679. package/lib/services/supplier/definitions.d.ts +30 -0
  680. package/lib/services/supplier/definitions.d.ts.map +1 -0
  681. package/lib/services/supplier/definitions.js +3 -0
  682. package/lib/services/supplier/definitions.js.map +1 -0
  683. package/lib/services/supplier/endpoints.d.ts +14 -0
  684. package/lib/services/supplier/endpoints.d.ts.map +1 -0
  685. package/lib/services/supplier/endpoints.js +16 -0
  686. package/lib/services/supplier/endpoints.js.map +1 -0
  687. package/lib/services/supplier/index.d.ts +102 -0
  688. package/lib/services/supplier/index.d.ts.map +1 -0
  689. package/lib/services/supplier/index.js +146 -0
  690. package/lib/services/supplier/index.js.map +1 -0
  691. package/lib/services/supplier/module.d.ts +11 -0
  692. package/lib/services/supplier/module.d.ts.map +1 -0
  693. package/lib/services/supplier/module.js +15 -0
  694. package/lib/services/supplier/module.js.map +1 -0
  695. package/lib/services/supplier/supplier.service.d.ts +20 -0
  696. package/lib/services/supplier/supplier.service.d.ts.map +1 -0
  697. package/lib/services/supplier/supplier.service.js +63 -0
  698. package/lib/services/supplier/supplier.service.js.map +1 -0
  699. package/lib/services/supplier/types.d.ts +58 -0
  700. package/lib/services/supplier/types.d.ts.map +1 -0
  701. package/lib/services/supplier/types.js +10 -0
  702. package/lib/services/supplier/types.js.map +1 -0
  703. package/lib/services/types.d.ts +81 -0
  704. package/lib/services/types.d.ts.map +1 -0
  705. package/lib/services/types.js +10 -0
  706. package/lib/services/types.js.map +1 -0
  707. package/lib/settings/fetch-instance.d.ts +30 -0
  708. package/lib/settings/fetch-instance.d.ts.map +1 -0
  709. package/lib/settings/fetch-instance.js +223 -0
  710. package/lib/settings/fetch-instance.js.map +1 -0
  711. package/lib/settings/sdk-version.d.ts +3 -0
  712. package/lib/settings/sdk-version.d.ts.map +1 -0
  713. package/lib/settings/sdk-version.js +6 -0
  714. package/lib/settings/sdk-version.js.map +1 -0
  715. package/package.json +27 -8
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-client.d.ts","sourceRoot":"","sources":["../../src/client/create-client.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EAET,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAOvE,MAAM,WAAW,iBAAiB;IAChC,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAC;IAEhB,mCAAmC;IACnC,QAAQ,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAC;IAEf,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,uBAAuB;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,gFAAgF;IAChF,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB,iCAAiC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAEhC,4DAA4D;IAC5D,SAAS,CAAC,EAAE,S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UST SDK Client Factory
4
+ * SSR-safe client creation with isolated state per request.
5
+ *
6
+ * Uses modular services internally while providing a flat API for convenience.
7
+ *
8
+ * @since 2.17.0
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.createDjustClient = createDjustClient;
12
+ const transport_1 = require("./transport");
13
+ const factory_1 = require("../services/factory");
14
+ const validation_error_1 = require("../errors/classes/validation.error");
15
+ // ============================================================================
16
+ // CLIENT FACTORY
17
+ // ============================================================================
18
+ /**
19
+ * Creates a new DJUST SDK client.
20
+ */
21
+ function createDjustClient(config) {
22
+ // Validate required config
23
+ if (!config.baseUrl) {
24
+ throw validation_error_1.ValidationError.missingParameter("baseUrl");
25
+ }
26
+ if (!config.clientId) {
27
+ throw validation_error_1.ValidationError.missingParameter("clientId");
28
+ }
29
+ if (!config.apiKey) {
30
+ throw validation_error_1.ValidationError.missingParameter("apiKey");
31
+ }
32
+ // Freeze config to prevent accidental mutation
33
+ const frozenConfig = Object.freeze({ ...config });
34
+ // Create transport
35
+ const transportConfig = {
36
+ baseUrl: frozenConfig.baseUrl,
37
+ clientId: frozenConfig.clientId,
38
+ apiKey: frozenConfig.apiKey,
39
+ timeout: frozenConfig.timeout,
40
+ strictErrors: frozenConfig.strictErrors,
41
+ retry: frozenConfig.retry,
42
+ hooks: frozenConfig.hooks,
43
+ authHooks: frozenConfig.authHooks,
44
+ debug: frozenConfig.debug,
45
+ performance: frozenConfig.performance,
46
+ };
47
+ const transport = new transport_1.Transport(transportConfig);
48
+ // Create services once (singleton, stateless)
49
+ const services = (0, factory_1.createServices)(transport);
50
+ /**
51
+ * Creates a request-scoped client with the given context.
52
+ */
53
+ function withContext(context = {}) {
54
+ // Merge config defaults with context
55
+ const ctx = {
56
+ locale: frozenConfig.locale,
57
+ storeId: frozenConfig.storeId,
58
+ storeViewId: frozenConfig.storeViewId,
59
+ ...context,
60
+ };
61
+ // Return scoped client with flat API delegating to services
62
+ return {
63
+ services,
64
+ context: ctx,
65
+ // ==================== AUTH ====================
66
+ refreshToken: (p) => services.auth.refreshToken(p, ctx),
67
+ login: (p) => services.auth.login(p, ctx),
68
+ logout: () => services.auth.logout(ctx),
69
+ getSettings: () => services.auth.getSettings(ctx),
70
+ sendResetPasswordEmail: (p) => services.auth.sendResetPasswordEmail(p, ctx),
71
+ resetPassword: (p) => services.auth.resetPassword(p, ctx),
72
+ // ==================== NAVIGATION ====================
73
+ getNavigationCategories: (p) => services.navigationCategory.getNavigationCategories(p, ctx),
74
+ getNavigationCategory: (p) => services.navigationCategory.getNavigationCategory(p, ctx),
75
+ getNavigationCategoryBreadcrumbs: (p) => services.navigationCategory.getNavigationCategoryBreadcrumbs(p, ctx),
76
+ // ==================== PRODUCTS ====================
77
+ getProductsList: (p) => services.product.getProductsList(p, ctx),
78
+ getProduct: (p) => services.product.getProduct(p, ctx),
79
+ autoCompleteSearchProducts: (p) => services.product.autoCompleteSearch(p, ctx),
80
+ getProductVariantOffers: (p) => services.product.getProductVariantOffers(p, ctx),
81
+ getProductPaginatedOffers: (p) => services.product.getProductPaginatedOffers(p, ctx),
82
+ getProductOffers: (p) => services.product.getProductOffers(p, ctx),
83
+ getRelatedProducts: (p) => services.product.getRelatedProducts(p, ctx),
84
+ getProductVariantsList: (p) => services.productVariant.getProductVariantsList(p, ctx),
85
+ // ==================== CART ====================
86
+ getCarts: (p) => services.cart.getCarts(p, ctx),
87
+ getCart: (p) => services.cart.getCart(p, ctx),
88
+ createCart: (p) => services.cart.createCart(p, ctx),
89
+ updateCart: (p) => services.cart.updateCart(p, ctx),
90
+ deleteCart: (p) => services.cart.deleteCart(p, ctx),
91
+ deleteCarts: () => services.cart.deleteCarts(ctx),
92
+ getCartLines: (p) => services.cart.getCartLines(p, ctx),
93
+ updateCartLines: (p) => services.cart.updateCartLines(p, ctx),
94
+ updateCartLinesByVariant: (p) => services.cart.updateCartLinesByVariant(p, ctx),
95
+ deleteCartLines: (p) => services.cart.deleteCartLines(p, ctx),
96
+ initializeOrders: (p) => services.cart.initializeOrders(p, ctx),
97
+ // Backward compatibility alias
98
+ initializeOrdersFromCart: (p) => services.cart.initializeOrders(p, ctx),
99
+ // ==================== CUSTOMER ACCOUNT ====================
100
+ getCustomerAccount: (p) => services.customerAccount.getCustomerAccount(p, ctx),
101
+ getCustomerAccountV2: (p) => services.customerAccount.getCustomerAccountV2(p, ctx),
102
+ createCustomerAccount: (p) => services.customerAccount.createCustomerAccount(p, ctx),
103
+ updateCustomerAccount: (p) => services.customerAccount.updateCustomerAccount(p, ctx),
104
+ getCustomerAccountAddresses: (p) => services.customerAccount.getCustomerAccountAddresses(p, ctx),
105
+ createCustomerAccountAddress: (p) => services.customerAccount.createCustomerAccountAddress(p, ctx),
106
+ updateCustomerAccountAddress: (p) => services.customerAccount.updateCustomerAccountAddress(p, ctx),
107
+ deleteCustomerAccountAddress: (p) => services.customerAccount.deleteCustomerAccountAddress(p, ctx),
108
+ getCustomerAccountOrders: (p) => services.customerAccount.getCustomerAccountOrders(p, ctx),
109
+ getCustomerAccountUsers: (p) => services.customerAccount.getCustomerAccountUsers(p, ctx),
110
+ // Organisation methods
111
+ getCustomerAccountOrganisations: (p) => services.customerAccount.getCustomerAccountOrganisations(p, ctx),
112
+ createCustomerAccountOrganisation: (p) => services.customerAccount.createCustomerAccountOrganisation(p, ctx),
113
+ updateCustomerAccountOrganisation: (p) => services.customerAccount.updateCustomerAccountOrganisation(p, ctx),
114
+ getCustomerAccountOrganisationAddresses: (p) => services.customerAccount.getCustomerAccountOrganisationAddresses(p, ctx),
115
+ deleteCustomerAccountOrganisationAddress: (p) => services.customerAccount.deleteCustomerAccountOrganisationAddress(p, ctx),
116
+ updateCustomerAccountOrganisationAddress: (p) => services.customerAccount.updateCustomerAccountOrganisationAddress(p, ctx),
117
+ getCustomerAccountOrganisationOrders: (p) => services.customerAccount.getCustomerAccountOrganisationOrders(p, ctx),
118
+ getCustomerAccountOrganisationUsers: (p) => services.customerAccount.getCustomerAccountOrganisationUsers(p, ctx),
119
+ updateCustomerAccountOrganisationUser: (p) => services.customerAccount.updateCustomerAccountOrganisationUser(p, ctx),
120
+ // ==================== CUSTOMER USER ====================
121
+ getAuthenticatedUser: () => services.customerUser.getAuthenticatedUser(ctx),
122
+ updateCustomerUser: (p) => services.customerUser.updateCustomerUser(p, ctx),
123
+ createCustomerUser: (p) => services.customerUser.createCustomerUser(p, ctx),
124
+ activateCustomerUser: (p) => services.customerUser.activateCustomerUser(p, ctx),
125
+ getCustomerUserAddresses: (p) => services.customerUser.getCustomerUserAddresses(p, ctx),
126
+ getCustomerUserOrganisations: () => services.customerUser.getCustomerUserOrganisations(ctx),
127
+ sendCustomerUserActivationRequest: (p) => services.customerUser.sendCustomerUserActivationRequest(p, ctx),
128
+ updateSpecificCustomerUser: (p) => services.customerUser.updateSpecificCustomerUser(p, ctx),
129
+ removeAccountsFromCustomerUser: (p) => services.customerUser.removeAccountsFromCustomerUser(p, ctx),
130
+ addCustomerUserToAccounts: (p) => services.customerUser.addCustomerUserToAccounts(p, ctx),
131
+ // ==================== COMMERCIAL ORDERS ====================
132
+ getCommercialOrders: (p) => services.commercialOrder.getCommercialOrders(p, ctx),
133
+ getCommercialOrdersV2: (p) => services.commercialOrder.getCommercialOrdersV2(p, ctx),
134
+ getCommercialOrder: (p) => services.commercialOrder.getCommercialOrder(p, ctx),
135
+ createCommercialOrder: (p) => services.commercialOrder.createCommercialOrder(p, ctx),
136
+ createCommercialOrderV2: (p) => services.commercialOrder.createCommercialOrderV2(p, ctx),
137
+ updateCommercialOrder: (p) => services.commercialOrder.updateCommercialOrder(p, ctx),
138
+ deleteCommercialOrder: (p) => services.commercialOrder.deleteCommercialOrder(p, ctx),
139
+ updateShippingAddress: (p) => services.commercialOrder.updateShippingAddress(p, ctx),
140
+ updateBillingInformation: (p) => services.commercialOrder.updateBillingInformation(p, ctx),
141
+ updateShippingInformation: (p) => services.commercialOrder.updateShippingInformation(p, ctx),
142
+ setStatusAsCreated: (p) => services.commercialOrder.setStatusAsCreated(p, ctx),
143
+ setStatusAsOnHold: (p) => services.commercialOrder.setStatusAsOnHold(p, ctx),
144
+ getCommercialOrderLines: (p) => services.commercialOrder.getCommercialOrderLines(p, ctx),
145
+ updateCommercialOrderLines: (p) => services.commercialOrder.updateCommercialOrderLines(p, {
146
+ ...ctx,
147
+ sdkMethod: "updateCommercialOrderLines",
148
+ }),
149
+ deleteCommercialOrderLines: (p) => services.commercialOrder.deleteCommercialOrderLines(p, ctx),
150
+ syncCommercialOrder: (p) => services.commercialOrder.syncCommercialOrder(p, ctx),
151
+ // Backward compatibility aliases
152
+ updateCommercialOrderShippingAddress: (p) => services.commercialOrder.updateShippingAddress(p, ctx),
153
+ updateCommercialOrderBillingInformation: (p) => services.commercialOrder.updateBillingInformation(p, ctx),
154
+ updateCommercialOrderShippingInformation: (p) => services.commercialOrder.updateShippingInformation(p, ctx),
155
+ setCommercialOrderStatusAsCreated: (p) => services.commercialOrder.setStatusAsCreated(p, ctx),
156
+ // ==================== LOGISTIC ORDERS ====================
157
+ getLogisticOrders: (p) => services.logisticOrder.getLogisticOrders(p, ctx),
158
+ logisticOrdersPaginatedList: (p) => services.logisticOrder.logisticOrdersPaginatedList(p, ctx),
159
+ getLogisticOrder: (p) => services.logisticOrder.getLogisticOrder(p, ctx),
160
+ getLogisticOrderLines: (p) => services.logisticOrder.getLogisticOrderLines(p, ctx),
161
+ updateLogisticOrderCustomFields: (p) => services.logisticOrder.updateLogisticOrderCustomFields(p, ctx),
162
+ updateLogisticOrderData: (p) => services.logisticOrder.updateLogisticOrderData(p, ctx),
163
+ updateLogisticOrderShippingAddress: (p) => services.logisticOrder.updateLogisticOrderShippingAddress(p, ctx),
164
+ updateLogisticOrderBillingInformation: (p) => services.logisticOrder.updateLogisticOrderBillingInformation(p, ctx),
165
+ updateLogisticOrderShippingInformation: (p) => services.logisticOrder.updateLogisticOrderShippingInformation(p, ctx),
166
+ createLogisticOrderThread: (p) => services.logisticOrder.createLogisticOrderThread(p, ctx),
167
+ createLogisticOrder: (p) => services.logisticOrder.createLogisticOrder(p, ctx),
168
+ getThreadSubReasons: (p) => services.logisticOrder.getThreadSubReasons(p, ctx),
169
+ updateConfiguration: (partial) => {
170
+ Object.assign(ctx, partial);
171
+ },
172
+ // ==================== QUOTES ====================
173
+ // Master quotes
174
+ getMasterQuotes: (p) => services.quote.getMasterQuotes(p, ctx),
175
+ getMasterQuote: (p) => services.quote.getMasterQuote(p, ctx),
176
+ createMasterQuote: (p) => services.quote.createMasterQuote(p, ctx),
177
+ updateMasterQuote: (p) => services.quote.updateMasterQuote(p, ctx),
178
+ deleteMasterQuote: (p) => services.quote.deleteMasterQuote(p, ctx),
179
+ // Supplier quotes
180
+ getSupplierQuote: (p) => services.quote.getSupplierQuote(p, ctx),
181
+ createSupplierQuotes: (p) => services.quote.createSupplierQuotes(p, ctx),
182
+ acceptSupplierQuote: (p) => services.quote.acceptSupplierQuote(p, ctx),
183
+ declineSupplierQuote: (p) => services.quote.declineSupplierQuote(p, ctx),
184
+ updateSupplierQuoteCustomFields: (p) => services.quote.updateSupplierQuoteCustomFields(p, ctx),
185
+ postMessageToSupplierQuote: (p) => services.quote.postMessageToSupplierQuote(p, ctx),
186
+ initializeOrderFromSupplierQuote: (p) => services.quote.initializeOrderFromSupplierQuote(p, ctx),
187
+ // Aliases for backward compatibility (deprecated)
188
+ getQuotes: (p) => services.quote.getMasterQuotes(p, ctx),
189
+ getQuote: (p) => services.quote.getMasterQuote(p, ctx),
190
+ createQuote: (p) => services.quote.createMasterQuote(p, ctx),
191
+ updateQuote: (p) => services.quote.updateMasterQuote(p, ctx),
192
+ deleteQuote: (p) => services.quote.deleteMasterQuote(p, ctx),
193
+ createSupplierQuote: (p) => services.quote.createSupplierQuotes(p, ctx),
194
+ updateSupplierQuoteCustomField: (p) => services.quote.updateSupplierQuoteCustomFields(p, ctx),
195
+ // ==================== SUPPLIERS ====================
196
+ getSuppliers: (p) => services.supplier.getSuppliers(p, ctx),
197
+ getSupplier: (p) => services.supplier.getSupplier(p, ctx),
198
+ getSupplierEvaluations: (p) => services.supplier.getSupplierEvaluations(p, ctx),
199
+ // ==================== PAYMENTS ====================
200
+ initPayment: (p) => services.payment.initPayment(p, ctx),
201
+ getPaymentDetails: (p) => services.payment.getPaymentDetails(p, ctx),
202
+ getPaymentMethods: (p) => services.payment.getPaymentMethods(p, ctx),
203
+ deleteStoredPaymentMethod: (p) => services.payment.deleteStoredPaymentMethod(p, ctx),
204
+ precheckPurchaseCardL3: (p) => services.payment.precheckPurchaseCardL3(p, ctx),
205
+ // ==================== OPERATIONS ====================
206
+ getOperations: (p) => services.operation.getOperations(p, ctx),
207
+ getOperation: (p) => services.operation.getOperation(p, ctx),
208
+ // ==================== INCIDENTS ====================
209
+ getIncidents: (p) => services.incident.getIncidents(p, ctx),
210
+ getIncident: (p) => services.incident.getIncident(p, ctx),
211
+ createIncident: (p) => services.incident.createIncident(p, ctx),
212
+ createOrderLogisticIncident: (p) => services.incident.createOrderLogisticIncident(p, ctx),
213
+ createOrderLogisticLineIncident: (p) => services.incident.createOrderLogisticLineIncident(p, ctx),
214
+ createOrderLogisticIncidentThread: (p) => services.incident.createOrderLogisticIncidentThread(p, ctx),
215
+ // ==================== CUSTOM FIELDS ====================
216
+ getCustomFields: (p) => services.customField.getCustomFields(p, ctx),
217
+ getMediaUrl: (p) => services.customField.getMediaUrl(p, ctx),
218
+ postMediaCustomField: (p) => services.customField.postMediaCustomField(p, ctx),
219
+ };
220
+ }
221
+ // Return client factory with performance utilities
222
+ return {
223
+ withContext,
224
+ services,
225
+ transport,
226
+ // Performance utilities
227
+ getMetrics: () => transport.getMetrics(),
228
+ clearCache: () => transport.clearCache(),
229
+ invalidateCache: (pattern) => transport.invalidateCache(pattern),
230
+ resetMetrics: () => transport.resetMetrics(),
231
+ };
232
+ }
233
+ //# sourceMappingURL=create-client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-client.js","sourceRoot":"","sources":["../../src/client/create-client.ts"],"names":[],"mappings":";AAAA;;;;;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Q,CAAC,QAAQ,CAAC,iCAAiC,CAAC,CAAC,EAAE,GAAG,CAAC;YAE7D,0DAA0D;YAC1D,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC;YACpE,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,GAAG,CAAC;YAC5D,oBAAoB,EAAE,CAAC,CAAC,EAAE,EAAE,CAC1B,QAAQ,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC,EAAE,GAAG,CAAC;SACpD,CAAC;IACJ,CAAC;IAED,mDAAmD;IACnD,OAAO;QACL,WAAW;QACX,QAAQ;QACR,SAAS;QAET,wBAAwB;QACxB,UAAU,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE;QACxC,UAAU,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE;QACxC,eAAe,EAAE,CAAC,OAAwB,EAAE,EAAE,CAC5C,SAAS,CAAC,eAAe,CAAC,OAAO,CAAC;QACpC,YAAY,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,YAAY,EAAE;KAC7C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * DJUST SDK Client Module
3
+ * New SSR-safe client APIs with performance optimizations.
4
+ *
5
+ * @since 2.17.0
6
+ */
7
+ export { createDjustClient } from "./create-client";
8
+ export type { DjustClientConfig, DjustClient, DjustScopedClient, } from "./create-client";
9
+ export { Transport, createTransport } from "./transport";
10
+ export type { TransportConfig, TransportRequest, TransportResponse, RequestContext, RetryConfig, TransportHooks, RequestHookContext, ResponseHookContext, ErrorHookContext, RetryHookContext, PerformanceConfig, CacheHitContext, AuthHooks, LoginHookContext, TokenRefreshHookContext, LogoutHookContext, AuthFailureHookContext, BeforeAuthRequestContext, } from "./transport";
11
+ export { RequestDeduplicator, getDeduplicator, ResponseCache, getCache, RequestBatcher, PerformanceMonitor, getMonitor, createPooledFetchOptions, isCompressed, getCompressionRatio, resetPerformanceUtils, } from "./performance";
12
+ export { createServices, createService, BaseService, AuthService, CartService, ProductService, QuoteService, CommercialOrderService, LogisticOrderService, CustomerAccountService, CustomerUserService, SupplierService, PaymentService, NavigationCategoryService, OperationService, AttributesService, IncidentService, OfferInventoriesService, OfferPricesService, ProductVariantService, CustomFieldService, AuthEndpoints, CartEndpoints, ProductEndpoints, QuoteEndpoints, CommercialOrderEndpoints, LogisticOrderEndpoints, CustomerAccountEndpoints, CustomerUserEndpoints, SupplierEndpoints, PaymentEndpoints, NavigationCategoryEndpoints, OperationEndpoints, AttributesEndpoints, IncidentEndpoints, OfferInventoriesEndpoints, OfferPricesEndpoints, ProductVariantEndpoints, CustomFieldEndpoints, } from "../services/module";
13
+ export type { SDKServices, Pageable, PaginatedResponse, ProductIdType, ServiceContext, } from "../services/module";
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,YAAY,EACV,iBAAiB,EACjB,WAAW,EACX,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACzD,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EAEf,SAAS,EACT,gBAAgB,EAChB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,aAAa,CAAC;AAMrB,OAAO,EAEL,mBAAmB,EACnB,eAAe,EAGf,aAAa,EACb,QAAQ,EAGR,cAAc,EAGd,kBAAkB,EAClB,UAAU,EAGV,wBAAwB,EAGxB,YAAY,EACZ,mBAAmB,EAGnB,qBAAqB,GACtB,MAAM,eAAe,CAAC;AAMvB,OAAO,EAEL,cAAc,EACd,aAAa,EAGb,WAAW,EAGX,WAAW,EACX,WAAW,EACX,cAAc,EACd,YAAY,EACZ,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAGlB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,2BAA2B,EAC3B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EAEV,WAAW,EAGX,QAAQ,EACR,iBAAiB,EACjB,aAAa,EACb,cAAc,GACf,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ /**
3
+ * DJUST SDK Client Module
4
+ * New SSR-safe client APIs with performance optimizations.
5
+ *
6
+ * @since 2.17.0
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.OfferInventoriesEndpoints = exports.IncidentEndpoints = exports.AttributesEndpoints = exports.OperationEndpoints = exports.NavigationCategoryEndpoints = exports.PaymentEndpoints = exports.SupplierEndpoints = exports.CustomerUserEndpoints = exports.CustomerAccountEndpoints = exports.LogisticOrderEndpoints = exports.CommercialOrderEndpoints = exports.QuoteEndpoints = exports.ProductEndpoints = exports.CartEndpoints = exports.AuthEndpoints = exports.CustomFieldService = exports.ProductVariantService = exports.OfferPricesService = exports.OfferInventoriesService = exports.IncidentService = exports.AttributesService = exports.OperationService = exports.NavigationCategoryService = exports.PaymentService = exports.SupplierService = exports.CustomerUserService = exports.CustomerAccountService = exports.LogisticOrderService = exports.CommercialOrderService = exports.QuoteService = exports.ProductService = exports.CartService = exports.AuthService = exports.BaseService = exports.createService = exports.createServices = exports.resetPerformanceUtils = exports.getCompressionRatio = exports.isCompressed = exports.createPooledFetchOptions = exports.getMonitor = exports.PerformanceMonitor = exports.RequestBatcher = exports.getCache = exports.ResponseCache = exports.getDeduplicator = exports.RequestDeduplicator = exports.createTransport = exports.Transport = exports.createDjustClient = void 0;
10
+ exports.CustomFieldEndpoints = exports.ProductVariantEndpoints = exports.OfferPricesEndpoints = void 0;
11
+ // ============================================================================
12
+ // CLIENT FACTORY
13
+ // ============================================================================
14
+ var create_client_1 = require("./create-client");
15
+ Object.defineProperty(exports, "createDjustClient", { enumerable: true, get: function () { return create_client_1.createDjustClient; } });
16
+ // ============================================================================
17
+ // TRANSPORT LAYER
18
+ // ============================================================================
19
+ var transport_1 = require("./transport");
20
+ Object.defineProperty(exports, "Transport", { enumerable: true, get: function () { return transport_1.Transport; } });
21
+ Object.defineProperty(exports, "createTransport", { enumerable: true, get: function () { return transport_1.createTransport; } });
22
+ // ============================================================================
23
+ // PERFORMANCE UTILITIES
24
+ // ============================================================================
25
+ var performance_1 = require("./performance");
26
+ // Request deduplication
27
+ Object.defineProperty(exports, "RequestDeduplicator", { enumerable: true, get: function () { return performance_1.RequestDeduplicator; } });
28
+ Object.defineProperty(exports, "getDeduplicator", { enumerable: true, get: function () { return performance_1.getDeduplicator; } });
29
+ // Response caching
30
+ Object.defineProperty(exports, "ResponseCache", { enumerable: true, get: function () { return performance_1.ResponseCache; } });
31
+ Object.defineProperty(exports, "getCache", { enumerable: true, get: function () { return performance_1.getCache; } });
32
+ // Request batching
33
+ Object.defineProperty(exports, "RequestBatcher", { enumerable: true, get: function () { return performance_1.RequestBatcher; } });
34
+ // Performance monitoring
35
+ Object.defineProperty(exports, "PerformanceMonitor", { enumerable: true, get: function () { return performance_1.PerformanceMonitor; } });
36
+ Object.defineProperty(exports, "getMonitor", { enumerable: true, get: function () { return performance_1.getMonitor; } });
37
+ // Connection pooling
38
+ Object.defineProperty(exports, "createPooledFetchOptions", { enumerable: true, get: function () { return performance_1.createPooledFetchOptions; } });
39
+ // Compression utilities
40
+ Object.defineProperty(exports, "isCompressed", { enumerable: true, get: function () { return performance_1.isCompressed; } });
41
+ Object.defineProperty(exports, "getCompressionRatio", { enumerable: true, get: function () { return performance_1.getCompressionRatio; } });
42
+ // Reset utilities
43
+ Object.defineProperty(exports, "resetPerformanceUtils", { enumerable: true, get: function () { return performance_1.resetPerformanceUtils; } });
44
+ // ============================================================================
45
+ // SERVICES
46
+ // ============================================================================
47
+ var module_1 = require("../services/module");
48
+ // Factory
49
+ Object.defineProperty(exports, "createServices", { enumerable: true, get: function () { return module_1.createServices; } });
50
+ Object.defineProperty(exports, "createService", { enumerable: true, get: function () { return module_1.createService; } });
51
+ // Base class
52
+ Object.defineProperty(exports, "BaseService", { enumerable: true, get: function () { return module_1.BaseService; } });
53
+ // All Services
54
+ Object.defineProperty(exports, "AuthService", { enumerable: true, get: function () { return module_1.AuthService; } });
55
+ Object.defineProperty(exports, "CartService", { enumerable: true, get: function () { return module_1.CartService; } });
56
+ Object.defineProperty(exports, "ProductService", { enumerable: true, get: function () { return module_1.ProductService; } });
57
+ Object.defineProperty(exports, "QuoteService", { enumerable: true, get: function () { return module_1.QuoteService; } });
58
+ Object.defineProperty(exports, "CommercialOrderService", { enumerable: true, get: function () { return module_1.CommercialOrderService; } });
59
+ Object.defineProperty(exports, "LogisticOrderService", { enumerable: true, get: function () { return module_1.LogisticOrderService; } });
60
+ Object.defineProperty(exports, "CustomerAccountService", { enumerable: true, get: function () { return module_1.CustomerAccountService; } });
61
+ Object.defineProperty(exports, "CustomerUserService", { enumerable: true, get: function () { return module_1.CustomerUserService; } });
62
+ Object.defineProperty(exports, "SupplierService", { enumerable: true, get: function () { return module_1.SupplierService; } });
63
+ Object.defineProperty(exports, "PaymentService", { enumerable: true, get: function () { return module_1.PaymentService; } });
64
+ Object.defineProperty(exports, "NavigationCategoryService", { enumerable: true, get: function () { return module_1.NavigationCategoryService; } });
65
+ Object.defineProperty(exports, "OperationService", { enumerable: true, get: function () { return module_1.OperationService; } });
66
+ Object.defineProperty(exports, "AttributesService", { enumerable: true, get: function () { return module_1.AttributesService; } });
67
+ Object.defineProperty(exports, "IncidentService", { enumerable: true, get: function () { return module_1.IncidentService; } });
68
+ Object.defineProperty(exports, "OfferInventoriesService", { enumerable: true, get: function () { return module_1.OfferInventoriesService; } });
69
+ Object.defineProperty(exports, "OfferPricesService", { enumerable: true, get: function () { return module_1.OfferPricesService; } });
70
+ Object.defineProperty(exports, "ProductVariantService", { enumerable: true, get: function () { return module_1.ProductVariantService; } });
71
+ Object.defineProperty(exports, "CustomFieldService", { enumerable: true, get: function () { return module_1.CustomFieldService; } });
72
+ // All Endpoints
73
+ Object.defineProperty(exports, "AuthEndpoints", { enumerable: true, get: function () { return module_1.AuthEndpoints; } });
74
+ Object.defineProperty(exports, "CartEndpoints", { enumerable: true, get: function () { return module_1.CartEndpoints; } });
75
+ Object.defineProperty(exports, "ProductEndpoints", { enumerable: true, get: function () { return module_1.ProductEndpoints; } });
76
+ Object.defineProperty(exports, "QuoteEndpoints", { enumerable: true, get: function () { return module_1.QuoteEndpoints; } });
77
+ Object.defineProperty(exports, "CommercialOrderEndpoints", { enumerable: true, get: function () { return module_1.CommercialOrderEndpoints; } });
78
+ Object.defineProperty(exports, "LogisticOrderEndpoints", { enumerable: true, get: function () { return module_1.LogisticOrderEndpoints; } });
79
+ Object.defineProperty(exports, "CustomerAccountEndpoints", { enumerable: true, get: function () { return module_1.CustomerAccountEndpoints; } });
80
+ Object.defineProperty(exports, "CustomerUserEndpoints", { enumerable: true, get: function () { return module_1.CustomerUserEndpoints; } });
81
+ Object.defineProperty(exports, "SupplierEndpoints", { enumerable: true, get: function () { return module_1.SupplierEndpoints; } });
82
+ Object.defineProperty(exports, "PaymentEndpoints", { enumerable: true, get: function () { return module_1.PaymentEndpoints; } });
83
+ Object.defineProperty(exports, "NavigationCategoryEndpoints", { enumerable: true, get: function () { return module_1.NavigationCategoryEndpoints; } });
84
+ Object.defineProperty(exports, "OperationEndpoints", { enumerable: true, get: function () { return module_1.OperationEndpoints; } });
85
+ Object.defineProperty(exports, "AttributesEndpoints", { enumerable: true, get: function () { return module_1.AttributesEndpoints; } });
86
+ Object.defineProperty(exports, "IncidentEndpoints", { enumerable: true, get: function () { return module_1.IncidentEndpoints; } });
87
+ Object.defineProperty(exports, "OfferInventoriesEndpoints", { enumerable: true, get: function () { return module_1.OfferInventoriesEndpoints; } });
88
+ Object.defineProperty(exports, "OfferPricesEndpoints", { enumerable: true, get: function () { return module_1.OfferPricesEndpoints; } });
89
+ Object.defineProperty(exports, "ProductVariantEndpoints", { enumerable: true, get: function () { return module_1.ProductVariantEndpoints; } });
90
+ Object.defineProperty(exports, "CustomFieldEndpoints", { enumerable: true, get: function () { return module_1.CustomFieldEndpoints; } });
91
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;AAEH,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E,iDAAoD;AAA3C,kHAAA,iBAAiB,OAAA;AAO1B,+EAA+E;AAC/E,kBAAkB;AAClB,+EAA+E;AAE/E,yCAAyD;AAAhD,sGAAA,SAAS,OAAA;AAAE,4GAAA,eAAe,OAAA;AAuBnC,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E,6CAyBuB;AAxBrB,wBAAwB;AACxB,kHAAA,mBAAmB,OAAA;AACnB,8GAAA,eAAe,OAAA;AAEf,mBAAmB;AACnB,4GAAA,aAAa,OAAA;AACb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AC3B,4GAAA,kBAAkB,OAAA;AAClB,6GAAA,mBAAmB,OAAA;AACnB,2GAAA,iBAAiB,OAAA;AACjB,mHAAA,yBAAyB,OAAA;AACzB,8GAAA,oBAAoB,OAAA;AACpB,iHAAA,uBAAuB,OAAA;AACvB,8GAAA,oBAAoB,OAAA"}
@@ -0,0 +1,203 @@
1
+ /**
2
+ * DJUST SDK Performance Utilities
3
+ * Production-grade performance optimizations for the SDK.
4
+ *
5
+ * Features:
6
+ * - Request deduplication (prevents duplicate concurrent requests)
7
+ * - Response caching with TTL
8
+ * - Connection keep-alive management
9
+ * - Request batching
10
+ * - Compression support
11
+ *
12
+ * @author DJUST Engineering Team
13
+ * @since 2.17.0
14
+ */
15
+ /**
16
+ * Request deduplicator - prevents duplicate concurrent requests to the same endpoint.
17
+ * If a request is already in-flight, returns the same promise instead of making a new request.
18
+ */
19
+ export declare class RequestDeduplicator {
20
+ private pendingRequests;
21
+ private readonly maxAge;
22
+ constructor(maxAgeMs?: number);
23
+ /**
24
+ * Creates a unique key for the request
25
+ */
26
+ createKey(method: string, url: string, body?: string): string;
27
+ /**
28
+ * Executes a request with deduplication
29
+ */
30
+ execute<T>(key: string, requestFn: () => Promise<T>): Promise<T>;
31
+ /**
32
+ * Clears all pending requests
33
+ */
34
+ clear(): void;
35
+ /**
36
+ * Gets the number of pending requests
37
+ */
38
+ get size(): number;
39
+ }
40
+ interface CacheOptions {
41
+ /** Maximum number of entries. Default: 100 */
42
+ maxSize?: number;
43
+ /** Default TTL in milliseconds. Default: 60000 (1 minute) */
44
+ defaultTTL?: number;
45
+ /** Enable stale-while-revalidate. Default: true */
46
+ staleWhileRevalidate?: boolean;
47
+ }
48
+ /**
49
+ * LRU Response Cache with TTL support.
50
+ * Supports ETag-based validation and stale-while-revalidate pattern.
51
+ */
52
+ export declare class ResponseCache {
53
+ private cache;
54
+ private readonly maxSize;
55
+ private readonly defaultTTL;
56
+ private readonly staleWhileRevalidate;
57
+ private hits;
58
+ private misses;
59
+ constructor(options?: CacheOptions);
60
+ /**
61
+ * Gets a cached response
62
+ */
63
+ get<T>(key: string): {
64
+ data: T;
65
+ stale: boolean;
66
+ } | null;
67
+ /**
68
+ * Sets a cached response
69
+ */
70
+ set<T>(key: string, data: T, etag?: string, headers?: Record<string, string>): void;
71
+ /**
72
+ * Gets ETag for a cached entry
73
+ */
74
+ getETag(key: string): string | undefined;
75
+ /**
76
+ * Invalidates a cache entry
77
+ */
78
+ invalidate(key: string): boolean;
79
+ /**
80
+ * Invalidates entries matching a pattern
81
+ */
82
+ invalidatePattern(pattern: RegExp): number;
83
+ /**
84
+ * Clears all cached entries
85
+ */
86
+ clear(): void;
87
+ /**
88
+ * Gets cache statistics
89
+ */
90
+ getStats(): {
91
+ size: number;
92
+ hits: number;
93
+ misses: number;
94
+ hitRate: number;
95
+ };
96
+ }
97
+ interface BatchConfig<TParams, TResult> {
98
+ /** Maximum batch size. Default: 20 */
99
+ maxSize?: number;
100
+ /** Maximum wait time in ms. Default: 10 */
101
+ maxWaitMs?: number;
102
+ /** Function to execute the batch */
103
+ executeBatch: (params: TParams[]) => Promise<TResult[]>;
104
+ }
105
+ /**
106
+ * Request batcher for combining multiple requests into a single batch request.
107
+ * Useful for endpoints that support bulk operations.
108
+ */
109
+ export declare class RequestBatcher<TParams, TResult> {
110
+ private queue;
111
+ private timer;
112
+ private readonly maxSize;
113
+ private readonly maxWaitMs;
114
+ private readonly executeBatch;
115
+ constructor(config: BatchConfig<TParams, TResult>);
116
+ /**
117
+ * Adds a request to the batch queue
118
+ */
119
+ add(params: TParams): Promise<TResult>;
120
+ /**
121
+ * Flushes the current batch
122
+ */
123
+ private flush;
124
+ /**
125
+ * Gets the current queue size
126
+ */
127
+ get queueSize(): number;
128
+ }
129
+ interface RequestMetrics {
130
+ url: string;
131
+ method: string;
132
+ durationMs: number;
133
+ status: number;
134
+ size: number;
135
+ cached: boolean;
136
+ timestamp: number;
137
+ }
138
+ interface PerformanceReport {
139
+ totalRequests: number;
140
+ averageDurationMs: number;
141
+ p50DurationMs: number;
142
+ p95DurationMs: number;
143
+ p99DurationMs: number;
144
+ cacheHitRate: number;
145
+ errorRate: number;
146
+ requestsPerSecond: number;
147
+ slowestEndpoints: Array<{
148
+ endpoint: string;
149
+ avgDurationMs: number;
150
+ }>;
151
+ }
152
+ /**
153
+ * Performance monitor for tracking SDK metrics.
154
+ */
155
+ export declare class PerformanceMonitor {
156
+ private metrics;
157
+ private readonly maxMetrics;
158
+ private readonly windowMs;
159
+ private errors;
160
+ private cacheHits;
161
+ constructor(maxMetrics?: number, windowMs?: number);
162
+ /**
163
+ * Records a request metric
164
+ */
165
+ record(metric: Omit<RequestMetrics, "timestamp">): void;
166
+ /**
167
+ * Gets performance report
168
+ */
169
+ getReport(): PerformanceReport;
170
+ /**
171
+ * Clears all metrics
172
+ */
173
+ clear(): void;
174
+ }
175
+ interface PoolConfig {
176
+ /** Maximum connections per host. Default: 6 */
177
+ maxConnectionsPerHost?: number;
178
+ /** Connection timeout in ms. Default: 10000 */
179
+ connectionTimeout?: number;
180
+ /** Keep-alive timeout in ms. Default: 30000 */
181
+ keepAliveTimeout?: number;
182
+ }
183
+ /**
184
+ * Creates fetch options optimized for connection pooling (Node.js)
185
+ */
186
+ export declare function createPooledFetchOptions(config?: PoolConfig): RequestInit;
187
+ /**
188
+ * Checks if response is compressed
189
+ */
190
+ export declare function isCompressed(headers: Headers): boolean;
191
+ /**
192
+ * Gets compression ratio from response headers
193
+ */
194
+ export declare function getCompressionRatio(headers: Headers): number | null;
195
+ export declare function getDeduplicator(): RequestDeduplicator;
196
+ export declare function getCache(options?: CacheOptions): ResponseCache;
197
+ export declare function getMonitor(): PerformanceMonitor;
198
+ /**
199
+ * Resets all performance singletons (useful for testing)
200
+ */
201
+ export declare function resetPerformanceUtils(): void;
202
+ export {};
203
+ //# sourceMappingURL=performance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"performance.d.ts","sourceRoot":"","sources":["../../src/client/performance.ts"],"names":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