@djust-b2b/djust-front-sdk 3.0.0-beta.9 → 3.0.1

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":"index.js","sourceRoot":"","sources":["../../../src/services/operation/index.ts"],"names":[],"mappings":";;AAyEA,8CA8BC;AA2CD,sCAsCC;AA6BD,4CAUC;AA4BD,oCASC;AA6BD,0CAWC;AA0CD,wDAqBC;AA6BD,0DAWC;AAoCD,oDAqBC;AA6BD,oDAWC;AA6BD,oDAWC;AAsCD,sDAuBC;AA0CD,8CA6BC;AA8CD,8CASC;AA4CD,0CAwBC;AA2BD,0CAOC;AA7zBD,kEAA8D;AA8B9D;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACI,KAAK,UAAU,iBAAiB,CAAC,EACtC,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,GAAG,EACH,IAAI,EACJ,aAAa,EACb,WAAW,EACX,WAAW,EACX,SAAS,EACT,MAAM,GACsB;IAC5B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,8BAAa,EAA4B;QAC9D,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE;YACN,IAAI;YACJ,IAAI;YACJ,IAAI;YACJ,GAAG;YACH,IAAI;YACJ,aAAa;YACb,WAAW;YACX,WAAW;YACX,SAAS;YACT,MAAM;SACP;KACF,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACI,KAAK,UAAU,aAAa,CAAC,EAClC,IAAI,EACJ,IAAI,EACJ,IAAI,EAC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EAAE,QAAQ;QAChB,IAAI,EAAE,kBAAkB,WAAW,EAAE;KACtC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * DJUST SDK Operation Module
3
+ * Re-exports all operation-related types and service.
4
+ *
5
+ * @module services/operation
6
+ * @since 2.17.0
7
+ */
8
+ export type { OperationType, OperationStatus, IdType, CustomFieldValueRequest, OperationLineRequest, GetShopOperationsParams, GetOperationsParams, GetShopOperationParams, GetOperationParams, CreateOperationParams, UpdateOperationParams, UpdateOperationDetailsParams, DeleteOperationParams, GetOperationAccountsParams, AddOperationAccountsParams, RemoveOperationAccountsParams, GetShopOperationLinesParams, GetOperationLinesParams, AddOperationLinesParams, RemoveOperationLinesParams, Operation, OperationAccount, OperationLine, GetShopOperationsResponse, GetOperationsResponse, GetShopOperationResponse, GetOperationResponse, CreateOperationResponse, UpdateOperationDetailsResponse, GetOperationAccountsResponse, GetShopOperationLinesResponse, GetOperationLinesResponse, } from "./types";
9
+ export { OperationEndpoints, type OperationEndpoint } from "./endpoints";
10
+ export { OperationService } from "./operation.service";
11
+ //# sourceMappingURL=module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/services/operation/module.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,aAAa,EACb,eAAe,EACf,MAAM,EACN,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,4BAA4B,EAC5B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,EAC1B,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,yBAAyB,EACzB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,uBAAuB,EACvB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * DJUST SDK Operation Module
4
+ * Re-exports all operation-related types and service.
5
+ *
6
+ * @module services/operation
7
+ * @since 2.17.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OperationService = exports.OperationEndpoints = void 0;
11
+ var endpoints_1 = require("./endpoints");
12
+ Object.defineProperty(exports, "OperationEndpoints", { enumerable: true, get: function () { return endpoints_1.OperationEndpoints; } });
13
+ var operation_service_1 = require("./operation.service");
14
+ Object.defineProperty(exports, "OperationService", { enumerable: true, get: function () { return operation_service_1.OperationService; } });
15
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../../../src/services/operation/module.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAqCH,yCAAyE;AAAhE,+GAAA,kBAAkB,OAAA;AAC3B,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * DJUST SDK Operation Service
3
+ * Service class for operation management.
4
+ *
5
+ * @module services/operation/service
6
+ * @since 2.17.0
7
+ */
8
+ import { BaseService } from "../base.service";
9
+ import type { RequestContext } from "../../client/transport";
10
+ import type { GetShopOperationsParams, GetOperationsParams, GetShopOperationParams, GetOperationParams, CreateOperationParams, UpdateOperationParams, UpdateOperationDetailsParams, DeleteOperationParams, GetOperationAccountsParams, AddOperationAccountsParams, RemoveOperationAccountsParams, GetShopOperationLinesParams, GetOperationLinesParams, AddOperationLinesParams, RemoveOperationLinesParams, GetShopOperationsResponse, GetOperationsResponse, GetShopOperationResponse, GetOperationResponse, CreateOperationResponse, UpdateOperationDetailsResponse, GetOperationAccountsResponse, GetShopOperationLinesResponse, GetOperationLinesResponse } from "./types";
11
+ /**
12
+ * Service for operation management.
13
+ */
14
+ export declare class OperationService extends BaseService {
15
+ readonly serviceName = "operation";
16
+ getShopOperations(params?: GetShopOperationsParams, context?: RequestContext): Promise<GetShopOperationsResponse>;
17
+ getOperations(params?: GetOperationsParams, context?: RequestContext): Promise<GetOperationsResponse>;
18
+ getShopOperation(params: GetShopOperationParams, context?: RequestContext): Promise<GetShopOperationResponse>;
19
+ getOperation(params: GetOperationParams, context?: RequestContext): Promise<GetOperationResponse>;
20
+ createOperation(params: CreateOperationParams, context?: RequestContext): Promise<CreateOperationResponse>;
21
+ updateOperation(params: UpdateOperationParams, context?: RequestContext): Promise<void>;
22
+ updateOperationDetails(params: UpdateOperationDetailsParams, context?: RequestContext): Promise<UpdateOperationDetailsResponse>;
23
+ deleteOperation(params: DeleteOperationParams, context?: RequestContext): Promise<void>;
24
+ getOperationAccounts(params: GetOperationAccountsParams, context?: RequestContext): Promise<GetOperationAccountsResponse>;
25
+ addOperationAccounts(params: AddOperationAccountsParams, context?: RequestContext): Promise<void>;
26
+ removeOperationAccounts(params: RemoveOperationAccountsParams, context?: RequestContext): Promise<void>;
27
+ getShopOperationLines(params: GetShopOperationLinesParams, context?: RequestContext): Promise<GetShopOperationLinesResponse>;
28
+ getOperationLines(params: GetOperationLinesParams, context?: RequestContext): Promise<GetOperationLinesResponse>;
29
+ addOperationLines(params: AddOperationLinesParams, context?: RequestContext): Promise<void>;
30
+ removeOperationLines(params: RemoveOperationLinesParams, context?: RequestContext): Promise<void>;
31
+ }
32
+ //# sourceMappingURL=operation.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation.service.d.ts","sourceRoot":"","sources":["../../../src/services/operation/operation.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,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OAAO,CAAC,8BAA8B,CAAC;IAqBpC,eAAe,CACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAcV,oBAAoB,CACxB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,4BAA4B,CAAC;IAqBlC,oBAAoB,CACxB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAeV,uBAAuB,CAC3B,MAAM,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAeV,qBAAqB,CACzB,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,6BAA6B,CAAC;IAsBnC,iBAAiB,CACrB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,yBAAyB,CAAC;IAyB/B,iBAAiB,CACrB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAeV,oBAAoB,CACxB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;CAcjB"}
@@ -0,0 +1,206 @@
1
+ "use strict";
2
+ /**
3
+ * DJUST SDK Operation Service
4
+ * Service class for operation management.
5
+ *
6
+ * @module services/operation/service
7
+ * @since 2.17.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OperationService = void 0;
11
+ const base_service_1 = require("../base.service");
12
+ const endpoints_1 = require("./endpoints");
13
+ /**
14
+ * Service for operation management.
15
+ */
16
+ class OperationService extends base_service_1.BaseService {
17
+ constructor() {
18
+ super(...arguments);
19
+ this.serviceName = "operation";
20
+ }
21
+ async getShopOperations(params = {}, context) {
22
+ return this.request({
23
+ method: "GET",
24
+ path: endpoints_1.OperationEndpoints.SHOP_OPERATIONS,
25
+ params: this.buildParams(params),
26
+ }, context);
27
+ }
28
+ async getOperations(params = {}, context) {
29
+ return this.request({
30
+ method: "GET",
31
+ path: endpoints_1.OperationEndpoints.OPERATIONS,
32
+ params: this.buildParams(params),
33
+ }, context);
34
+ }
35
+ async getShopOperation(params, context) {
36
+ this.required(params, ["operationId"]);
37
+ return this.request({
38
+ method: "GET",
39
+ path: this.buildPath(endpoints_1.OperationEndpoints.SHOP_OPERATION, {
40
+ operationId: params.operationId,
41
+ }),
42
+ params: this.buildParams({ locale: params.locale }),
43
+ }, context);
44
+ }
45
+ async getOperation(params, context) {
46
+ this.required(params, ["operationId"]);
47
+ return this.request({
48
+ method: "GET",
49
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION, {
50
+ operationId: params.operationId,
51
+ }),
52
+ }, context);
53
+ }
54
+ async createOperation(params, context) {
55
+ this.required(params, [
56
+ "externalId",
57
+ "names",
58
+ "startDate",
59
+ "endDate",
60
+ "type",
61
+ ]);
62
+ return this.request({
63
+ method: "POST",
64
+ path: endpoints_1.OperationEndpoints.OPERATIONS,
65
+ body: {
66
+ customFieldValues: params.customFieldValues,
67
+ descriptions: params.descriptions,
68
+ endDate: params.endDate,
69
+ externalId: params.externalId,
70
+ names: params.names,
71
+ startDate: params.startDate,
72
+ type: params.type,
73
+ },
74
+ }, context);
75
+ }
76
+ async updateOperation(params, context) {
77
+ this.required(params, ["operationId", "status"]);
78
+ await this.request({
79
+ method: "PATCH",
80
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION, {
81
+ operationId: params.operationId,
82
+ }),
83
+ body: { status: params.status },
84
+ }, context);
85
+ }
86
+ async updateOperationDetails(params, context) {
87
+ this.required(params, ["operationId"]);
88
+ return this.request({
89
+ method: "PUT",
90
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION, {
91
+ operationId: params.operationId,
92
+ }),
93
+ body: {
94
+ customFieldValues: params.customFieldValues,
95
+ descriptions: params.descriptions,
96
+ endDate: params.endDate,
97
+ names: params.names,
98
+ startDate: params.startDate,
99
+ },
100
+ }, context);
101
+ }
102
+ async deleteOperation(params, context) {
103
+ this.required(params, ["operationId"]);
104
+ await this.request({
105
+ method: "DELETE",
106
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION, {
107
+ operationId: params.operationId,
108
+ }),
109
+ }, context);
110
+ }
111
+ async getOperationAccounts(params, context) {
112
+ this.required(params, ["operationId"]);
113
+ return this.request({
114
+ method: "GET",
115
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_ACCOUNTS, {
116
+ operationId: params.operationId,
117
+ }),
118
+ params: this.buildParams({
119
+ page: params.page,
120
+ size: params.size,
121
+ sort: params.sort,
122
+ accountIds: params.accountIds,
123
+ accountName: params.accountName,
124
+ }),
125
+ }, context);
126
+ }
127
+ async addOperationAccounts(params, context) {
128
+ this.required(params, ["operationId", "accountIds"]);
129
+ await this.request({
130
+ method: "PUT",
131
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_ACCOUNTS, {
132
+ operationId: params.operationId,
133
+ }),
134
+ body: { accountIds: params.accountIds },
135
+ }, context);
136
+ }
137
+ async removeOperationAccounts(params, context) {
138
+ this.required(params, ["operationId", "accountIds"]);
139
+ await this.request({
140
+ method: "DELETE",
141
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_ACCOUNTS, {
142
+ operationId: params.operationId,
143
+ }),
144
+ body: { accountIds: params.accountIds },
145
+ }, context);
146
+ }
147
+ async getShopOperationLines(params, context) {
148
+ this.required(params, ["operationId"]);
149
+ return this.request({
150
+ method: "GET",
151
+ path: this.buildPath(endpoints_1.OperationEndpoints.SHOP_OPERATION_LINES, {
152
+ operationId: params.operationId,
153
+ }),
154
+ params: this.buildParams({
155
+ page: params.page,
156
+ size: params.size,
157
+ sort: params.sort,
158
+ variantIds: params.variantIds,
159
+ variantName: params.variantName,
160
+ locale: params.locale,
161
+ }),
162
+ }, context);
163
+ }
164
+ async getOperationLines(params, context) {
165
+ this.required(params, ["operationId"]);
166
+ return this.request({
167
+ method: "GET",
168
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_LINES, {
169
+ operationId: params.operationId,
170
+ }),
171
+ params: this.buildParams({
172
+ page: params.page,
173
+ size: params.size,
174
+ sort: params.sort,
175
+ variantIds: params.variantIds,
176
+ variantName: params.variantName,
177
+ minQuantity: params.minQuantity,
178
+ maxQuantity: params.maxQuantity,
179
+ recommendedQuantity: params.recommendedQuantity,
180
+ locale: params.locale,
181
+ }),
182
+ }, context);
183
+ }
184
+ async addOperationLines(params, context) {
185
+ this.required(params, ["operationId", "lines"]);
186
+ await this.request({
187
+ method: "PUT",
188
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_LINES, {
189
+ operationId: params.operationId,
190
+ }),
191
+ body: params.lines,
192
+ }, context);
193
+ }
194
+ async removeOperationLines(params, context) {
195
+ this.required(params, ["operationId", "variantIds"]);
196
+ await this.request({
197
+ method: "DELETE",
198
+ path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_LINES, {
199
+ operationId: params.operationId,
200
+ }),
201
+ body: { variantIds: params.variantIds },
202
+ }, context);
203
+ }
204
+ }
205
+ exports.OperationService = OperationService;
206
+ //# sourceMappingURL=operation.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation.service.js","sourceRoot":"","sources":["../../../src/services/operation/operation.service.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,kDAA8C;AAE9C,2CAAiD;AA4BjD;;GAEG;AACH,MAAa,gBAAiB,SAAQ,0BAAW;IAAjD;;QACW,gBAAW,GAAG,WAAW,CAAC;IA8SrC,CAAC;IA5SC,KAAK,CAAC,iBAAiB,CACrB,SAAkC,EAAE,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CACjB;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,8BAAkB,C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K;SACnB,EACD,OAAO,CACR,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,oBAAoB,CACxB,MAAkC,EAClC,OAAwB;QAExB,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,CAAC;QAErD,MAAM,IAAI,CAAC,OAAO,CAChB;YACE,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,8BAAkB,CAAC,eAAe,EAAE;gBACvD,WAAW,EAAE,MAAM,CAAC,WAAW;aAChC,CAAC;YACF,IAAI,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE;SACxC,EACD,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AA/SD,4CA+SC"}
@@ -0,0 +1,174 @@
1
+ /**
2
+ * DJUST SDK Operation Service - Types
3
+ * Type definitions for operation management.
4
+ *
5
+ * @module services/operation/types
6
+ * @since 2.17.0
7
+ */
8
+ import type { PaginatedResponse } from "../types";
9
+ export type OperationType = "PUBLIC" | "PRIVATE";
10
+ export type OperationStatus = "DRAFT" | "ACTIVE" | "INACTIVE";
11
+ export type IdType = "DJUST_ID" | "EXTERNAL_ID";
12
+ export interface CustomFieldValueRequest {
13
+ customFieldId: string;
14
+ customFieldValue?: string;
15
+ }
16
+ export interface OperationLineRequest {
17
+ variantId: string;
18
+ minQuantity: number;
19
+ maxQuantity: number;
20
+ recommendedQuantity: number;
21
+ }
22
+ export interface GetShopOperationsParams {
23
+ page?: number;
24
+ size?: number;
25
+ sort?: string[];
26
+ ids?: string[];
27
+ name?: string;
28
+ startDateFrom?: string;
29
+ startDateTo?: string;
30
+ endDateFrom?: string;
31
+ endDateTo?: string;
32
+ locale?: string;
33
+ }
34
+ export interface GetOperationsParams {
35
+ page?: number;
36
+ size?: number;
37
+ sort?: string[];
38
+ type?: OperationType;
39
+ status?: OperationStatus;
40
+ ids?: string[];
41
+ name?: string;
42
+ startDateFrom?: string;
43
+ startDateTo?: string;
44
+ endDateFrom?: string;
45
+ endDateTo?: string;
46
+ ownerIds?: string[];
47
+ idType?: IdType;
48
+ locale?: string;
49
+ }
50
+ export interface GetShopOperationParams {
51
+ operationId: string;
52
+ locale?: string;
53
+ }
54
+ export interface GetOperationParams {
55
+ operationId: string;
56
+ }
57
+ export interface CreateOperationParams {
58
+ externalId: string;
59
+ names: string;
60
+ startDate: string;
61
+ endDate: string;
62
+ type: OperationType;
63
+ customFieldValues?: CustomFieldValueRequest[];
64
+ descriptions?: string;
65
+ }
66
+ export interface UpdateOperationParams {
67
+ operationId: string;
68
+ status: OperationStatus;
69
+ }
70
+ export interface UpdateOperationDetailsParams {
71
+ operationId: string;
72
+ customFieldValues?: CustomFieldValueRequest[];
73
+ descriptions?: string;
74
+ endDate?: string;
75
+ names?: string;
76
+ startDate?: string;
77
+ }
78
+ export interface DeleteOperationParams {
79
+ operationId: string;
80
+ }
81
+ export interface GetOperationAccountsParams {
82
+ operationId: string;
83
+ page?: number;
84
+ size?: number;
85
+ sort?: string[];
86
+ accountIds?: string[];
87
+ accountName?: string;
88
+ }
89
+ export interface AddOperationAccountsParams {
90
+ operationId: string;
91
+ accountIds: string[];
92
+ }
93
+ export interface RemoveOperationAccountsParams {
94
+ operationId: string;
95
+ accountIds: string[];
96
+ }
97
+ export interface GetShopOperationLinesParams {
98
+ operationId: string;
99
+ page?: number;
100
+ size?: number;
101
+ sort?: string[];
102
+ variantIds?: string[];
103
+ variantName?: string;
104
+ locale?: string;
105
+ }
106
+ export interface GetOperationLinesParams {
107
+ operationId: string;
108
+ page?: number;
109
+ size?: number;
110
+ sort?: string[];
111
+ variantIds?: string[];
112
+ variantName?: string;
113
+ minQuantity?: number;
114
+ maxQuantity?: number;
115
+ recommendedQuantity?: number;
116
+ locale?: string;
117
+ }
118
+ export interface AddOperationLinesParams {
119
+ operationId: string;
120
+ lines: OperationLineRequest[];
121
+ }
122
+ export interface RemoveOperationLinesParams {
123
+ operationId: string;
124
+ variantIds: string[];
125
+ }
126
+ export interface Operation {
127
+ id: string;
128
+ externalId?: string;
129
+ name: string;
130
+ description?: string;
131
+ type: OperationType;
132
+ status: OperationStatus;
133
+ startDate: string;
134
+ endDate: string;
135
+ customFieldValues?: CustomFieldValueRequest[];
136
+ ownerId?: string;
137
+ createdAt: string;
138
+ updatedAt: string;
139
+ }
140
+ export interface OperationAccount {
141
+ id: string;
142
+ externalId?: string;
143
+ name: string;
144
+ }
145
+ export interface OperationLine {
146
+ id: string;
147
+ variantId: string;
148
+ variantExternalId?: string;
149
+ variantName: string;
150
+ minQuantity: number;
151
+ maxQuantity: number;
152
+ recommendedQuantity: number;
153
+ }
154
+ export interface GetShopOperationsResponse extends PaginatedResponse<Operation> {
155
+ }
156
+ export interface GetOperationsResponse extends PaginatedResponse<Operation> {
157
+ }
158
+ export interface GetShopOperationResponse extends Operation {
159
+ }
160
+ export interface GetOperationResponse extends Operation {
161
+ }
162
+ export interface CreateOperationResponse {
163
+ id: string;
164
+ }
165
+ export interface UpdateOperationDetailsResponse {
166
+ id: string;
167
+ }
168
+ export interface GetOperationAccountsResponse extends PaginatedResponse<OperationAccount> {
169
+ }
170
+ export interface GetShopOperationLinesResponse extends PaginatedResponse<OperationLine> {
171
+ }
172
+ export interface GetOperationLinesResponse extends PaginatedResponse<OperationLine> {
173
+ }
174
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/operation/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAY,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAM5D,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC;AAC9D,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG,aAAa,CAAC;AAEhD,MAAM,WAAW,uBAAuB;IACtC,aAAa,EAAE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AAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAGD,MAAM,WAAW,yBACf,SAAQ,iBAAiB,CAAC,SAAS,CAAC;CAAG;AACzC,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB,CAAC,SAAS,CAAC;CAAG;AAC9E,MAAM,WAAW,wBAAyB,SAAQ,SAAS;CAAG;AAC9D,MAAM,WAAW,oBAAqB,SAAQ,SAAS;CAAG;AAC1D,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,MAAM,WAAW,8BAA8B;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,MAAM,WAAW,4BACf,SAAQ,iBAAiB,CAAC,gBAAgB,CAAC;CAAG;AAChD,MAAM,WAAW,6BACf,SAAQ,iBAAiB,CAAC,aAAa,CAAC;CAAG;AAC7C,MAAM,WAAW,yBACf,SAAQ,iBAAiB,CAAC,aAAa,CAAC;CAAG"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * DJUST SDK Operation Service - Types
4
+ * Type definitions for operation management.
5
+ *
6
+ * @module services/operation/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/operation/types.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -0,0 +1,69 @@
1
+ import { BrowserInfo } from "../../interfaces/models/common";
2
+ import { PaymentReferenceType } from "../../interfaces/models/payment";
3
+ /**
4
+ * Request parameters type definitions
5
+ */
6
+ export type ResultCode = "AuthenticationFinished" | "AuthenticationNotRequired" | "Authorised" | "Cancelled" | "ChallengeShopper" | "Error" | "IdentifyShopper" | "PartiallyAuthorised" | "Pending" | "PresentToShopper" | "Received" | "RedirectShopper" | "Refused";
7
+ export interface InitPaymentRequest {
8
+ browserInfo: BrowserInfo;
9
+ countryCode: string;
10
+ customerUserIP?: string;
11
+ paymentMethodData?: Record<string, unknown>;
12
+ reference: string;
13
+ referenceType?: string;
14
+ returnPath: string;
15
+ storePaymentMethod?: boolean;
16
+ }
17
+ export interface InitPaymentResponse {
18
+ action: {
19
+ type: "bankTransfer" | "redirect" | "threeDS2" | "await" | "qrCode" | "voucher" | "sdk";
20
+ beneficiary: string;
21
+ bic: string;
22
+ iban: string;
23
+ paymentMethodType: string;
24
+ paymentData: string;
25
+ totalAmountCurrency: string;
26
+ totalAmountValue: number;
27
+ url: string;
28
+ method: string;
29
+ authorisationToken: string;
30
+ subtype: string;
31
+ token: string;
32
+ };
33
+ pspReference: string;
34
+ resultCode: ResultCode;
35
+ }
36
+ export interface GetPaymentDetailsRequest {
37
+ details: string;
38
+ }
39
+ export interface GetPaymentDetailsResponse {
40
+ pspReference: string;
41
+ resultCode: string;
42
+ }
43
+ export interface GetPaymentMethodsRequest {
44
+ reference: string;
45
+ countryCode?: string;
46
+ referenceType?: PaymentReferenceType;
47
+ locale?: string;
48
+ }
49
+ export interface GetPaymentMethodsResponse {
50
+ adyenPaymentMethods: string;
51
+ enableCreditCardStorage: boolean;
52
+ }
53
+ export interface DeleteStoredPaymentMethodByIdRequest {
54
+ storedPaymentMethodId: string;
55
+ }
56
+ export interface PrecheckPurchaseCardL3Request {
57
+ reference: string;
58
+ referenceType?: PaymentReferenceType;
59
+ }
60
+ export interface PrecheckPurchaseCardL3Response {
61
+ ready: boolean;
62
+ missingFields?: {
63
+ scope: string;
64
+ field: string;
65
+ path: string;
66
+ source: string;
67
+ }[];
68
+ }
69
+ //# sourceMappingURL=definitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../src/services/payment/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAEvE;;GAEG;AAEH,MAAM,MAAM,UAAU,GAClB,wBAAwB,GACxB,2BAA2B,GAC3B,YAAY,GACZ,WAAW,GACX,kBAAkB,GAClB,OAAO,GACP,iBAAiB,GACjB,qBAAqB,GACrB,SAAS,GACT,kBAAkB,GAClB,UAAU,GACV,iBAAiB,GACjB,SAAS,CAAC;AAEd,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE;QACN,IAAI,EACA,cAAc,GACd,UAAU,GACV,UAAU,GACV,OAAO,GACP,QAAQ,GACR,SAAS,GACT,KAAK,CAAC;QACV,WAAW,EAAE,MAAM,CAAC;QACpB,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,iBAAiB,EAAE,MAAM,CAAC;QAC1B,WAAW,EAAE,MAAM,CAAC;QACpB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,gBAAgB,EAAE,MAAM,CAAC;QACzB,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,kBAAkB,EAAE,MAAM,CAAC;QAC3B,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uBAAuB,EAAE,OAAO,CAAC;CAClC;AAED,MAAM,WAAW,oCAAoC;IACnD,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACtC;AAED,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;CACL"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=definitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../src/services/payment/definitions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * DJUST SDK Payment Service - Endpoints
3
+ * API endpoint constants for payment operations.
4
+ *
5
+ * @module services/payment/endpoints
6
+ * @since 2.17.0
7
+ */
8
+ export declare const PaymentEndpoints: {
9
+ readonly PAYMENTS: "/v1/shop/payments";
10
+ readonly PAYMENT_DETAILS: "/v1/shop/payments/details";
11
+ readonly PAYMENT_METHODS: "/v1/shop/payments/payment-methods";
12
+ readonly STORED_PAYMENT_METHOD: "/v1/shop/payments/stored-payment-methods/{storedPaymentMethodId}";
13
+ readonly PRECHECK: "/v1/shop/payments/precheck";
14
+ };
15
+ export type PaymentEndpoint = (typeof PaymentEndpoints)[keyof typeof PaymentEndpoints];
16
+ //# sourceMappingURL=endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/services/payment/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,gBAAgB;;;;;;CAOnB,CAAC;AAEX,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * DJUST SDK Payment Service - Endpoints
4
+ * API endpoint constants for payment operations.
5
+ *
6
+ * @module services/payment/endpoints
7
+ * @since 2.17.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.PaymentEndpoints = void 0;
11
+ exports.PaymentEndpoints = {
12
+ PAYMENTS: "/v1/shop/payments",
13
+ PAYMENT_DETAILS: "/v1/shop/payments/details",
14
+ PAYMENT_METHODS: "/v1/shop/payments/payment-methods",
15
+ STORED_PAYMENT_METHOD: "/v1/shop/payments/stored-payment-methods/{storedPaymentMethodId}",
16
+ PRECHECK: "/v1/shop/payments/precheck",
17
+ };
18
+ //# sourceMappingURL=endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/services/payment/endpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEU,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,mBAAmB;IAC7B,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,mCAAmC;IACpD,qBAAqB,EACnB,kEAAkE;IACpE,QAAQ,EAAE,4BAA4B;CAC9B,CAAC"}