@ripwords/myinvois-client 0.3.7 → 0.4.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 (493) hide show
  1. package/README.md +27 -0
  2. package/dist/{0X-qj3c_vAo.d.ts → 0X-bPhcc9Vv.d.ts} +2 -1
  3. package/dist/{1X-C72Wa4pk.d.ts → 1X-Bqi8dmY1.d.ts} +2 -1
  4. package/dist/{1X-B-lyAVC4.d.ts → 1X-DKHYQyRy.d.ts} +2 -1
  5. package/dist/{2X-CH89y3Af.d.ts → 2X-CemxuAeL.d.ts} +2 -1
  6. package/dist/{2X-BfCK614i.d.ts → 2X-DN6M21cV.d.ts} +2 -1
  7. package/dist/{3X-DryrwYRf.d.ts → 3X-DIYh_ue4.d.ts} +2 -1
  8. package/dist/{3X-Du10Ix_V.d.ts → 3X-DJRj5xLv.d.ts} +2 -1
  9. package/dist/{4X-x3cRFuSM.d.ts → 4X-BCvTomUF.d.ts} +2 -1
  10. package/dist/{4X-BPMLRoDv.d.ts → 4X-CZi5nwIr.d.ts} +2 -1
  11. package/dist/{5X-B52AKeTz.d.ts → 5X-Dji6Soz5.d.ts} +2 -1
  12. package/dist/{5X-Bv7M6KyG.d.ts → 5X-DyYBCAvY.d.ts} +2 -1
  13. package/dist/{6X-DBwpWPQ6.d.ts → 6X-CO_u4RIY.d.ts} +2 -1
  14. package/dist/{6X-ZeZ8OB57.d.ts → 6X-Csxu6lwi.d.ts} +2 -1
  15. package/dist/{7X-Dvw2Z2VN.d.ts → 7X-DivvfBsk.d.ts} +2 -1
  16. package/dist/{7X-C_XGDSpE.d.ts → 7X-vzJ01lNF.d.ts} +2 -1
  17. package/dist/{8X-Di_0wuRX.d.ts → 8X-C4Wf4jYK.d.ts} +2 -1
  18. package/dist/{8X-BkgoX8dg.d.ts → 8X-D_Pw1H3K.d.ts} +2 -1
  19. package/dist/{9X-8ZnvvViY.d.ts → 9X-1VwxN9g-.d.ts} +2 -1
  20. package/dist/{9X-Du0e44cq.d.ts → 9X-BwR9pibT.d.ts} +2 -1
  21. package/dist/{AX-BSPLpkVT.d.ts → AX-CDubGAZO.d.ts} +2 -1
  22. package/dist/{BX-u4yMaIkz.d.ts → BX-CBsKI8np.d.ts} +2 -1
  23. package/dist/{CX-BKZG0pVE.d.ts → CX-DhOdAFyg.d.ts} +2 -1
  24. package/dist/{DX-CwA9WJAf.d.ts → DX-CBiRJGqR.d.ts} +2 -1
  25. package/dist/{EX-BRNu1Ooi.d.ts → EX-CAn62WaX.d.ts} +2 -1
  26. package/dist/{FX-DBxjq6xY.d.ts → FX-CANpsLC4.d.ts} +2 -1
  27. package/dist/{GX-B3CvWNrP.d.ts → GX-BvSZZ8pE.d.ts} +2 -1
  28. package/dist/{HX-D7FABgTv.d.ts → HX-CxrnY-YC.d.ts} +2 -1
  29. package/dist/{IX-D3ZknsAB.d.ts → IX-wdAD6eW8.d.ts} +2 -1
  30. package/dist/{JX-BRaZM3Gc.d.ts → JX-B5v815to.d.ts} +2 -1
  31. package/dist/{KX-B1K0OWoi.d.ts → KX-BI8n7ACj.d.ts} +2 -1
  32. package/dist/{LX-CKRefinL.d.ts → LX-BVvEz6Ji.d.ts} +2 -1
  33. package/dist/{MX-DKmaeO9r.d.ts → MX-D_OsOP_v.d.ts} +2 -1
  34. package/dist/{NX-CJL2Gn1U.d.ts → NX-DIhAzAY3.d.ts} +2 -1
  35. package/dist/{OX-Do2ap5v_.d.ts → OX-BZrRnj5g.d.ts} +2 -1
  36. package/dist/{PX-_DOr_rm9.d.ts → PX-DGGrJNym.d.ts} +2 -1
  37. package/dist/{QX-HlXLkIki.d.ts → QX-DuTJFnHX.d.ts} +2 -1
  38. package/dist/{RX-DVPGOVES.d.ts → RX-DYQoV7am.d.ts} +2 -1
  39. package/dist/{SX-OGT3qwlS.d.ts → SX-Dl1RlNnc.d.ts} +2 -1
  40. package/dist/{TX-cPDINmZ5.d.ts → TX-SoIfFaZj.d.ts} +2 -1
  41. package/dist/{UX-Be3sqvPV.d.ts → UX-DqBfrSsY.d.ts} +2 -1
  42. package/dist/{VX-CoEuBNDK.d.ts → VX-Ahcpp3Si.d.ts} +2 -1
  43. package/dist/{WX-DMvw__jH.d.ts → WX-Di6vYD7A.d.ts} +2 -1
  44. package/dist/{XX-DOA-10JW.d.ts → XX-BE4flzh6.d.ts} +2 -1
  45. package/dist/{YX-F34sJ7Ik.d.ts → YX-BPO04gSZ.d.ts} +2 -1
  46. package/dist/{ZX-CDQOfsHh.d.ts → ZX-DHu4FRKS.d.ts} +2 -1
  47. package/dist/{index2.cjs → api/documentManagement.cjs} +1 -1
  48. package/dist/api/documentManagement.d.cts +90 -0
  49. package/dist/api/documentManagement.d.ts +62 -61
  50. package/dist/api/documentManagement.js +1 -1
  51. package/dist/{index3.cjs → api/documentSubmission.cjs} +3 -3
  52. package/dist/api/documentSubmission.d.cts +93 -0
  53. package/dist/api/documentSubmission.d.ts +62 -61
  54. package/dist/api/documentSubmission.js +2 -2
  55. package/dist/{index4.cjs → api/documentTypeManagement.cjs} +1 -1
  56. package/dist/api/documentTypeManagement.d.cts +71 -0
  57. package/dist/api/documentTypeManagement.d.ts +62 -61
  58. package/dist/api/notificationManagement.cjs +3 -0
  59. package/dist/api/notificationManagement.d.cts +69 -0
  60. package/dist/api/notificationManagement.d.ts +62 -61
  61. package/dist/api/platformLogin.cjs +3 -0
  62. package/dist/api/platformLogin.d.cts +69 -0
  63. package/dist/api/platformLogin.d.ts +62 -61
  64. package/dist/api/taxpayerValidation.cjs +6 -0
  65. package/dist/api/taxpayerValidation.d.cts +72 -0
  66. package/dist/api/taxpayerValidation.d.ts +62 -61
  67. package/dist/apiQueue-B6Q644Bz.js +2 -1
  68. package/dist/apiQueue-B6Q644Bz.js.map +1 -0
  69. package/dist/{apiQueue-DgKWaQDS.cjs → apiQueue-C45w-ymm.cjs} +1 -1
  70. package/dist/{apiQueue-DgKWaQDS.cjs.map → apiQueue-C45w-ymm.cjs.map} +1 -1
  71. package/dist/{certificate-COwqszxD.js → certificate-Cg6spxUs.js} +2 -21
  72. package/dist/certificate-Cg6spxUs.js.map +1 -0
  73. package/dist/{certificate-CWmfCPdt.cjs → certificate-Dw46fkYv.cjs} +5 -31
  74. package/dist/certificate-Dw46fkYv.cjs.map +1 -0
  75. package/dist/{classification-codes-C2X4xW5-.d.ts → classification-codes-BQMnAQFr.d.ts} +2 -1
  76. package/dist/{country-code-DsI8Mbzx.d.ts → country-code-DAejE5RV.d.ts} +2 -1
  77. package/dist/{currencies-DKuDflOO.d.ts → currencies-Cg9RkxRB.d.ts} +2 -1
  78. package/dist/{document-B6ab06s1.cjs → document-B11B5lqd.cjs} +75 -21
  79. package/dist/document-B11B5lqd.cjs.map +1 -0
  80. package/dist/{document-Bb5WkhRe.js → document-BC52NCdW.js} +46 -19
  81. package/dist/document-BC52NCdW.js.map +1 -0
  82. package/dist/document-BQdoGqOl.d.cts +157 -0
  83. package/dist/document-CnamySca.d.ts +157 -0
  84. package/dist/{documentManagement-lPm8Gziu.js → documentManagement-DZKm582-.js} +4 -2
  85. package/dist/documentManagement-DZKm582-.js.map +1 -0
  86. package/dist/{documentManagement-BviJDtf2.cjs → documentManagement-qJnd0l1z.cjs} +3 -2
  87. package/dist/documentManagement-qJnd0l1z.cjs.map +1 -0
  88. package/dist/{documentSubmission-C-v4_4-x.cjs → documentSubmission-BaPECvYU.cjs} +5 -5
  89. package/dist/{documentSubmission-C-v4_4-x.cjs.map → documentSubmission-BaPECvYU.cjs.map} +1 -1
  90. package/dist/{documentSubmission-igf605QK.js → documentSubmission-DSsX0ldK.js} +6 -5
  91. package/dist/documentSubmission-DSsX0ldK.js.map +1 -0
  92. package/dist/{documentTypeManagement-D_-LiQVg.cjs → documentTypeManagement-DXRLfTsW.cjs} +1 -1
  93. package/dist/{documentTypeManagement-D_-LiQVg.cjs.map → documentTypeManagement-DXRLfTsW.cjs.map} +1 -1
  94. package/dist/documentTypeManagement-cBtVCOY3.js +2 -1
  95. package/dist/documentTypeManagement-cBtVCOY3.js.map +1 -0
  96. package/dist/{documents-BYV12TVt.d.ts → documents-BpZn3hJq.d.ts} +10 -9
  97. package/dist/{e-invoice-C2TxhyrK.d.ts → e-invoice-BSCFsH-H.d.ts} +2 -1
  98. package/dist/formatIdValue-qTxJqj9o.js +2 -1
  99. package/dist/formatIdValue-qTxJqj9o.js.map +1 -0
  100. package/dist/{getBaseUrl-D0G4GZmp.cjs → getBaseUrl-D2iJdUGL.cjs} +1 -1
  101. package/dist/{getBaseUrl-D0G4GZmp.cjs.map → getBaseUrl-D2iJdUGL.cjs.map} +1 -1
  102. package/dist/getBaseUrl-D7nUmoYb.js +2 -1
  103. package/dist/getBaseUrl-D7nUmoYb.js.map +1 -0
  104. package/dist/{index-CygwSf0x.d.ts → index-Dn3JIREW.d.ts} +2 -1
  105. package/dist/index.cjs +14 -12
  106. package/dist/index.cjs.map +1 -1
  107. package/dist/index.d.cts +616 -0
  108. package/dist/index.d.ts +63 -61
  109. package/dist/index.js +8 -6
  110. package/dist/index.js.map +1 -0
  111. package/dist/lineItems-Btjkf6VX.js +58 -0
  112. package/dist/lineItems-Btjkf6VX.js.map +1 -0
  113. package/dist/lineItems-C8iT0OL1.cjs +64 -0
  114. package/dist/lineItems-C8iT0OL1.cjs.map +1 -0
  115. package/dist/lineItems-CBSo7giH.d.cts +32 -0
  116. package/dist/lineItems-CrkEXi2m.d.ts +32 -0
  117. package/dist/msic-codes-kysVPGdN.d.ts +26 -0
  118. package/dist/{notificationManagement-DLBDn77E.cjs → notificationManagement-C_qrFwWL.cjs} +1 -1
  119. package/dist/{notificationManagement-DLBDn77E.cjs.map → notificationManagement-C_qrFwWL.cjs.map} +1 -1
  120. package/dist/notificationManagement-n4Z5e-My.js +2 -1
  121. package/dist/notificationManagement-n4Z5e-My.js.map +1 -0
  122. package/dist/{notifications-sFhgh3rJ.d.ts → notifications-B4BymhRJ.d.ts} +2 -1
  123. package/dist/{payment-modes-g3DzLmWb.d.ts → payment-modes-BGP5McTY.d.ts} +2 -1
  124. package/dist/platformLogin-CqI9OLYP.js +2 -1
  125. package/dist/platformLogin-CqI9OLYP.js.map +1 -0
  126. package/dist/{platformLogin-Ch6hFKoU.cjs → platformLogin-DC4s6Qpv.cjs} +1 -1
  127. package/dist/{platformLogin-Ch6hFKoU.cjs.map → platformLogin-DC4s6Qpv.cjs.map} +1 -1
  128. package/dist/{signatures-CerHUrj3.d.ts → signatures-Bk5aKcq6.d.ts} +2 -1
  129. package/dist/{state-codes-Ow4oehYT.d.ts → state-codes-CAkYQnTd.d.ts} +2 -1
  130. package/dist/{tax-types-ClyLgydM.d.ts → tax-types-QeZFKqew.d.ts} +2 -1
  131. package/dist/{taxpayer-BAoT73gg.d.ts → taxpayer-B1CSMqNS.d.ts} +4 -3
  132. package/dist/{taxpayerValidation-j8s6YGED.cjs → taxpayerValidation-DzCJROgP.cjs} +1 -1
  133. package/dist/{taxpayerValidation-j8s6YGED.cjs.map → taxpayerValidation-DzCJROgP.cjs.map} +1 -1
  134. package/dist/taxpayerValidation-Xd_EHDvk.js +2 -1
  135. package/dist/taxpayerValidation-Xd_EHDvk.js.map +1 -0
  136. package/dist/{index16.cjs → types/classification-codes.d.cjs} +1 -1
  137. package/dist/types/classification-codes.d.cjs.map +1 -0
  138. package/dist/types/classification-codes.d.cts +2 -0
  139. package/dist/types/classification-codes.d.ts +1 -1
  140. package/dist/{index17.cjs → types/country-code.d.cjs} +1 -1
  141. package/dist/types/country-code.d.cjs.map +1 -0
  142. package/dist/types/country-code.d.cts +2 -0
  143. package/dist/types/country-code.d.ts +1 -1
  144. package/dist/{index18.cjs → types/currencies.d.cjs} +1 -1
  145. package/dist/types/currencies.d.cjs.map +1 -0
  146. package/dist/types/currencies.d.cts +2 -0
  147. package/dist/types/currencies.d.ts +1 -1
  148. package/dist/types/documents.d.cts +55 -0
  149. package/dist/types/documents.d.ts +54 -54
  150. package/dist/{index20.cjs → types/e-invoice.d.cjs} +1 -1
  151. package/dist/types/e-invoice.d.cjs.map +1 -0
  152. package/dist/types/e-invoice.d.cts +2 -0
  153. package/dist/types/e-invoice.d.ts +1 -1
  154. package/dist/types/index.d.cts +61 -0
  155. package/dist/types/index.d.ts +60 -60
  156. package/dist/{index31.cjs → types/msic/0X.d.cjs} +1 -1
  157. package/dist/types/msic/0X.d.cjs.map +1 -0
  158. package/dist/types/msic/0X.d.cts +2 -0
  159. package/dist/types/msic/0X.d.ts +1 -1
  160. package/dist/{index32.cjs → types/msic/1X.d.cjs} +1 -1
  161. package/dist/types/msic/1X.d.cjs.map +1 -0
  162. package/dist/types/msic/1X.d.cts +2 -0
  163. package/dist/types/msic/1X.d.ts +1 -1
  164. package/dist/{index33.cjs → types/msic/2X.d.cjs} +1 -1
  165. package/dist/types/msic/2X.d.cjs.map +1 -0
  166. package/dist/types/msic/2X.d.cts +2 -0
  167. package/dist/types/msic/2X.d.ts +1 -1
  168. package/dist/{index34.cjs → types/msic/3X.d.cjs} +1 -1
  169. package/dist/types/msic/3X.d.cjs.map +1 -0
  170. package/dist/types/msic/3X.d.cts +2 -0
  171. package/dist/types/msic/3X.d.ts +1 -1
  172. package/dist/{index35.cjs → types/msic/4X.d.cjs} +1 -1
  173. package/dist/types/msic/4X.d.cjs.map +1 -0
  174. package/dist/types/msic/4X.d.cts +2 -0
  175. package/dist/types/msic/4X.d.ts +1 -1
  176. package/dist/{index36.cjs → types/msic/5X.d.cjs} +1 -1
  177. package/dist/types/msic/5X.d.cjs.map +1 -0
  178. package/dist/types/msic/5X.d.cts +2 -0
  179. package/dist/types/msic/5X.d.ts +1 -1
  180. package/dist/{index37.cjs → types/msic/6X.d.cjs} +1 -1
  181. package/dist/types/msic/6X.d.cjs.map +1 -0
  182. package/dist/types/msic/6X.d.cts +2 -0
  183. package/dist/types/msic/6X.d.ts +1 -1
  184. package/dist/{index38.cjs → types/msic/7X.d.cjs} +1 -1
  185. package/dist/types/msic/7X.d.cjs.map +1 -0
  186. package/dist/types/msic/7X.d.cts +2 -0
  187. package/dist/types/msic/7X.d.ts +1 -1
  188. package/dist/{index39.cjs → types/msic/8X.d.cjs} +1 -1
  189. package/dist/types/msic/8X.d.cjs.map +1 -0
  190. package/dist/types/msic/8X.d.cts +2 -0
  191. package/dist/types/msic/8X.d.ts +1 -1
  192. package/dist/{index40.cjs → types/msic/9X.d.cjs} +1 -1
  193. package/dist/types/msic/9X.d.cjs.map +1 -0
  194. package/dist/types/msic/9X.d.cts +2 -0
  195. package/dist/types/msic/9X.d.ts +1 -1
  196. package/dist/types/msic-codes.d.cts +12 -0
  197. package/dist/types/msic-codes.d.ts +11 -11
  198. package/dist/{index23.cjs → types/notifications.d.cjs} +1 -1
  199. package/dist/types/notifications.d.cjs.map +1 -0
  200. package/dist/types/notifications.d.cts +2 -0
  201. package/dist/types/notifications.d.ts +1 -1
  202. package/dist/{index24.cjs → types/payment-modes.d.cjs} +1 -1
  203. package/dist/types/payment-modes.d.cjs.map +1 -0
  204. package/dist/types/payment-modes.d.cts +2 -0
  205. package/dist/types/payment-modes.d.ts +1 -1
  206. package/dist/types/signatures.d.cts +2 -0
  207. package/dist/types/signatures.d.ts +1 -1
  208. package/dist/{index26.cjs → types/state-codes.d.cjs} +1 -1
  209. package/dist/types/state-codes.d.cjs.map +1 -0
  210. package/dist/types/state-codes.d.cts +2 -0
  211. package/dist/types/state-codes.d.ts +1 -1
  212. package/dist/{index27.cjs → types/tax-types.d.cjs} +1 -1
  213. package/dist/types/tax-types.d.cjs.map +1 -0
  214. package/dist/types/tax-types.d.cts +2 -0
  215. package/dist/types/tax-types.d.ts +1 -1
  216. package/dist/types/taxpayer.d.cts +56 -0
  217. package/dist/types/taxpayer.d.ts +55 -55
  218. package/dist/{index41.cjs → types/unit/1X.d.cjs} +1 -1
  219. package/dist/types/unit/1X.d.cjs.map +1 -0
  220. package/dist/types/unit/1X.d.cts +2 -0
  221. package/dist/types/unit/1X.d.ts +1 -1
  222. package/dist/{index42.cjs → types/unit/2X.d.cjs} +1 -1
  223. package/dist/types/unit/2X.d.cjs.map +1 -0
  224. package/dist/types/unit/2X.d.cts +2 -0
  225. package/dist/types/unit/2X.d.ts +1 -1
  226. package/dist/{index43.cjs → types/unit/3X.d.cjs} +1 -1
  227. package/dist/types/unit/3X.d.cjs.map +1 -0
  228. package/dist/types/unit/3X.d.cts +2 -0
  229. package/dist/types/unit/3X.d.ts +1 -1
  230. package/dist/{index44.cjs → types/unit/4X.d.cjs} +1 -1
  231. package/dist/types/unit/4X.d.cjs.map +1 -0
  232. package/dist/types/unit/4X.d.cts +2 -0
  233. package/dist/types/unit/4X.d.ts +1 -1
  234. package/dist/{index45.cjs → types/unit/5X.d.cjs} +1 -1
  235. package/dist/types/unit/5X.d.cjs.map +1 -0
  236. package/dist/types/unit/5X.d.cts +2 -0
  237. package/dist/types/unit/5X.d.ts +1 -1
  238. package/dist/{index46.cjs → types/unit/6X.d.cjs} +1 -1
  239. package/dist/types/unit/6X.d.cjs.map +1 -0
  240. package/dist/types/unit/6X.d.cts +2 -0
  241. package/dist/types/unit/6X.d.ts +1 -1
  242. package/dist/{index47.cjs → types/unit/7X.d.cjs} +1 -1
  243. package/dist/types/unit/7X.d.cjs.map +1 -0
  244. package/dist/types/unit/7X.d.cts +2 -0
  245. package/dist/types/unit/7X.d.ts +1 -1
  246. package/dist/{index48.cjs → types/unit/8X.d.cjs} +1 -1
  247. package/dist/types/unit/8X.d.cjs.map +1 -0
  248. package/dist/types/unit/8X.d.cts +2 -0
  249. package/dist/types/unit/8X.d.ts +1 -1
  250. package/dist/{index49.cjs → types/unit/9X.d.cjs} +1 -1
  251. package/dist/types/unit/9X.d.cjs.map +1 -0
  252. package/dist/types/unit/9X.d.cts +2 -0
  253. package/dist/types/unit/9X.d.ts +1 -1
  254. package/dist/{index50.cjs → types/unit/AX.d.cjs} +1 -1
  255. package/dist/types/unit/AX.d.cjs.map +1 -0
  256. package/dist/types/unit/AX.d.cts +2 -0
  257. package/dist/types/unit/AX.d.ts +1 -1
  258. package/dist/{index51.cjs → types/unit/BX.d.cjs} +1 -1
  259. package/dist/types/unit/BX.d.cjs.map +1 -0
  260. package/dist/types/unit/BX.d.cts +2 -0
  261. package/dist/types/unit/BX.d.ts +1 -1
  262. package/dist/{index52.cjs → types/unit/CX.d.cjs} +1 -1
  263. package/dist/types/unit/CX.d.cjs.map +1 -0
  264. package/dist/types/unit/CX.d.cts +2 -0
  265. package/dist/types/unit/CX.d.ts +1 -1
  266. package/dist/{index53.cjs → types/unit/DX.d.cjs} +1 -1
  267. package/dist/types/unit/DX.d.cjs.map +1 -0
  268. package/dist/types/unit/DX.d.cts +2 -0
  269. package/dist/types/unit/DX.d.ts +1 -1
  270. package/dist/{index54.cjs → types/unit/EX.d.cjs} +1 -1
  271. package/dist/types/unit/EX.d.cjs.map +1 -0
  272. package/dist/types/unit/EX.d.cts +2 -0
  273. package/dist/types/unit/EX.d.ts +1 -1
  274. package/dist/{index55.cjs → types/unit/FX.d.cjs} +1 -1
  275. package/dist/types/unit/FX.d.cjs.map +1 -0
  276. package/dist/types/unit/FX.d.cts +2 -0
  277. package/dist/types/unit/FX.d.ts +1 -1
  278. package/dist/{index56.cjs → types/unit/GX.d.cjs} +1 -1
  279. package/dist/types/unit/GX.d.cjs.map +1 -0
  280. package/dist/types/unit/GX.d.cts +2 -0
  281. package/dist/types/unit/GX.d.ts +1 -1
  282. package/dist/{index57.cjs → types/unit/HX.d.cjs} +1 -1
  283. package/dist/types/unit/HX.d.cjs.map +1 -0
  284. package/dist/types/unit/HX.d.cts +2 -0
  285. package/dist/types/unit/HX.d.ts +1 -1
  286. package/dist/{index58.cjs → types/unit/IX.d.cjs} +1 -1
  287. package/dist/types/unit/IX.d.cjs.map +1 -0
  288. package/dist/types/unit/IX.d.cts +2 -0
  289. package/dist/types/unit/IX.d.ts +1 -1
  290. package/dist/{index59.cjs → types/unit/JX.d.cjs} +1 -1
  291. package/dist/types/unit/JX.d.cjs.map +1 -0
  292. package/dist/types/unit/JX.d.cts +2 -0
  293. package/dist/types/unit/JX.d.ts +1 -1
  294. package/dist/{index60.cjs → types/unit/KX.d.cjs} +1 -1
  295. package/dist/types/unit/KX.d.cjs.map +1 -0
  296. package/dist/types/unit/KX.d.cts +2 -0
  297. package/dist/types/unit/KX.d.ts +1 -1
  298. package/dist/{index61.cjs → types/unit/LX.d.cjs} +1 -1
  299. package/dist/types/unit/LX.d.cjs.map +1 -0
  300. package/dist/types/unit/LX.d.cts +2 -0
  301. package/dist/types/unit/LX.d.ts +1 -1
  302. package/dist/{index62.cjs → types/unit/MX.d.cjs} +1 -1
  303. package/dist/types/unit/MX.d.cjs.map +1 -0
  304. package/dist/types/unit/MX.d.cts +2 -0
  305. package/dist/types/unit/MX.d.ts +1 -1
  306. package/dist/{index63.cjs → types/unit/NX.d.cjs} +1 -1
  307. package/dist/types/unit/NX.d.cjs.map +1 -0
  308. package/dist/types/unit/NX.d.cts +2 -0
  309. package/dist/types/unit/NX.d.ts +1 -1
  310. package/dist/{index64.cjs → types/unit/OX.d.cjs} +1 -1
  311. package/dist/types/unit/OX.d.cjs.map +1 -0
  312. package/dist/types/unit/OX.d.cts +2 -0
  313. package/dist/types/unit/OX.d.ts +1 -1
  314. package/dist/{index65.cjs → types/unit/PX.d.cjs} +1 -1
  315. package/dist/types/unit/PX.d.cjs.map +1 -0
  316. package/dist/types/unit/PX.d.cts +2 -0
  317. package/dist/types/unit/PX.d.ts +1 -1
  318. package/dist/{index66.cjs → types/unit/QX.d.cjs} +1 -1
  319. package/dist/types/unit/QX.d.cjs.map +1 -0
  320. package/dist/types/unit/QX.d.cts +2 -0
  321. package/dist/types/unit/QX.d.ts +1 -1
  322. package/dist/{index67.cjs → types/unit/RX.d.cjs} +1 -1
  323. package/dist/types/unit/RX.d.cjs.map +1 -0
  324. package/dist/types/unit/RX.d.cts +2 -0
  325. package/dist/types/unit/RX.d.ts +1 -1
  326. package/dist/{index68.cjs → types/unit/SX.d.cjs} +1 -1
  327. package/dist/types/unit/SX.d.cjs.map +1 -0
  328. package/dist/types/unit/SX.d.cts +2 -0
  329. package/dist/types/unit/SX.d.ts +1 -1
  330. package/dist/{index69.cjs → types/unit/TX.d.cjs} +1 -1
  331. package/dist/types/unit/TX.d.cjs.map +1 -0
  332. package/dist/types/unit/TX.d.cts +2 -0
  333. package/dist/types/unit/TX.d.ts +1 -1
  334. package/dist/{index70.cjs → types/unit/UX.d.cjs} +1 -1
  335. package/dist/types/unit/UX.d.cjs.map +1 -0
  336. package/dist/types/unit/UX.d.cts +2 -0
  337. package/dist/types/unit/UX.d.ts +1 -1
  338. package/dist/{index71.cjs → types/unit/VX.d.cjs} +1 -1
  339. package/dist/types/unit/VX.d.cjs.map +1 -0
  340. package/dist/types/unit/VX.d.cts +2 -0
  341. package/dist/types/unit/VX.d.ts +1 -1
  342. package/dist/{index72.cjs → types/unit/WX.d.cjs} +1 -1
  343. package/dist/types/unit/WX.d.cjs.map +1 -0
  344. package/dist/types/unit/WX.d.cts +2 -0
  345. package/dist/types/unit/WX.d.ts +1 -1
  346. package/dist/{index73.cjs → types/unit/XX.d.cjs} +1 -1
  347. package/dist/types/unit/XX.d.cjs.map +1 -0
  348. package/dist/types/unit/XX.d.cts +2 -0
  349. package/dist/types/unit/XX.d.ts +1 -1
  350. package/dist/{index74.cjs → types/unit/YX.d.cjs} +1 -1
  351. package/dist/types/unit/YX.d.cjs.map +1 -0
  352. package/dist/types/unit/YX.d.cts +2 -0
  353. package/dist/types/unit/YX.d.ts +1 -1
  354. package/dist/{index75.cjs → types/unit/ZX.d.cjs} +1 -1
  355. package/dist/types/unit/ZX.d.cjs.map +1 -0
  356. package/dist/types/unit/ZX.d.cts +2 -0
  357. package/dist/types/unit/ZX.d.ts +1 -1
  358. package/dist/types/unit-types.d.cts +37 -0
  359. package/dist/types/unit-types.d.ts +36 -36
  360. package/dist/types/utils.d.cts +2 -0
  361. package/dist/types/utils.d.ts +1 -1
  362. package/dist/unit-types-CZdxXbVN.d.ts +56 -0
  363. package/dist/{index8.cjs → utils/apiQueue.cjs} +1 -1
  364. package/dist/utils/apiQueue.d.cts +46 -0
  365. package/dist/utils/apiQueue.d.ts +2 -1
  366. package/dist/{index9.cjs → utils/base64.cjs} +1 -1
  367. package/dist/utils/base64.cjs.map +1 -0
  368. package/dist/utils/base64.d.cts +6 -0
  369. package/dist/utils/base64.d.ts +2 -1
  370. package/dist/utils/base64.js +2 -1
  371. package/dist/utils/base64.js.map +1 -0
  372. package/dist/utils/certificate.cjs +7 -0
  373. package/dist/utils/certificate.d.cts +78 -0
  374. package/dist/utils/certificate.d.ts +64 -12
  375. package/dist/utils/certificate.js +3 -1
  376. package/dist/{index11.cjs → utils/document.cjs} +2 -2
  377. package/dist/utils/document.d.cts +62 -0
  378. package/dist/utils/document.d.ts +61 -210
  379. package/dist/utils/document.js +1 -1
  380. package/dist/utils/formatIdValue.cjs +3 -0
  381. package/dist/utils/formatIdValue.d.cts +5 -0
  382. package/dist/utils/formatIdValue.d.ts +2 -1
  383. package/dist/utils/getBaseUrl.cjs +3 -0
  384. package/dist/utils/getBaseUrl.d.cts +5 -0
  385. package/dist/utils/getBaseUrl.d.ts +2 -1
  386. package/dist/utils/lineItems.cjs +3 -0
  387. package/dist/utils/lineItems.d.cts +62 -0
  388. package/dist/utils/lineItems.d.ts +62 -0
  389. package/dist/utils/lineItems.js +3 -0
  390. package/dist/{index14.cjs → utils/signature-diagnostics.cjs} +4 -5
  391. package/dist/utils/signature-diagnostics.cjs.map +1 -0
  392. package/dist/utils/signature-diagnostics.d.cts +97 -0
  393. package/dist/utils/signature-diagnostics.d.ts +62 -61
  394. package/dist/utils/signature-diagnostics.js +3 -2
  395. package/dist/utils/signature-diagnostics.js.map +1 -0
  396. package/dist/{index15.cjs → utils/validation.cjs} +1 -1
  397. package/dist/utils/validation.cjs.map +1 -0
  398. package/dist/utils/validation.d.cts +109 -0
  399. package/dist/utils/validation.d.ts +62 -61
  400. package/dist/utils/validation.js +2 -1
  401. package/dist/utils/validation.js.map +1 -0
  402. package/dist/{utils-C4FoVKLq.d.ts → utils-BYVq373g.d.ts} +2 -1
  403. package/package.json +17 -7
  404. package/dist/certificate-CWmfCPdt.cjs.map +0 -1
  405. package/dist/chunk-CUT6urMc.cjs +0 -30
  406. package/dist/document-B6ab06s1.cjs.map +0 -1
  407. package/dist/documentManagement-BviJDtf2.cjs.map +0 -1
  408. package/dist/index10.cjs +0 -5
  409. package/dist/index12.cjs +0 -3
  410. package/dist/index13.cjs +0 -3
  411. package/dist/index14.cjs.map +0 -1
  412. package/dist/index15.cjs.map +0 -1
  413. package/dist/index16.cjs.map +0 -1
  414. package/dist/index17.cjs.map +0 -1
  415. package/dist/index18.cjs.map +0 -1
  416. package/dist/index20.cjs.map +0 -1
  417. package/dist/index23.cjs.map +0 -1
  418. package/dist/index24.cjs.map +0 -1
  419. package/dist/index26.cjs.map +0 -1
  420. package/dist/index27.cjs.map +0 -1
  421. package/dist/index31.cjs.map +0 -1
  422. package/dist/index32.cjs.map +0 -1
  423. package/dist/index33.cjs.map +0 -1
  424. package/dist/index34.cjs.map +0 -1
  425. package/dist/index35.cjs.map +0 -1
  426. package/dist/index36.cjs.map +0 -1
  427. package/dist/index37.cjs.map +0 -1
  428. package/dist/index38.cjs.map +0 -1
  429. package/dist/index39.cjs.map +0 -1
  430. package/dist/index40.cjs.map +0 -1
  431. package/dist/index41.cjs.map +0 -1
  432. package/dist/index42.cjs.map +0 -1
  433. package/dist/index43.cjs.map +0 -1
  434. package/dist/index44.cjs.map +0 -1
  435. package/dist/index45.cjs.map +0 -1
  436. package/dist/index46.cjs.map +0 -1
  437. package/dist/index47.cjs.map +0 -1
  438. package/dist/index48.cjs.map +0 -1
  439. package/dist/index49.cjs.map +0 -1
  440. package/dist/index5.cjs +0 -3
  441. package/dist/index50.cjs.map +0 -1
  442. package/dist/index51.cjs.map +0 -1
  443. package/dist/index52.cjs.map +0 -1
  444. package/dist/index53.cjs.map +0 -1
  445. package/dist/index54.cjs.map +0 -1
  446. package/dist/index55.cjs.map +0 -1
  447. package/dist/index56.cjs.map +0 -1
  448. package/dist/index57.cjs.map +0 -1
  449. package/dist/index58.cjs.map +0 -1
  450. package/dist/index59.cjs.map +0 -1
  451. package/dist/index6.cjs +0 -3
  452. package/dist/index60.cjs.map +0 -1
  453. package/dist/index61.cjs.map +0 -1
  454. package/dist/index61.cts.map +0 -1
  455. package/dist/index62.cjs.map +0 -1
  456. package/dist/index62.cts.map +0 -1
  457. package/dist/index63.cjs.map +0 -1
  458. package/dist/index63.cts.map +0 -1
  459. package/dist/index64.cjs.map +0 -1
  460. package/dist/index64.cts.map +0 -1
  461. package/dist/index65.cjs.map +0 -1
  462. package/dist/index65.cts.map +0 -1
  463. package/dist/index66.cjs.map +0 -1
  464. package/dist/index66.cts.map +0 -1
  465. package/dist/index67.cjs.map +0 -1
  466. package/dist/index67.cts.map +0 -1
  467. package/dist/index68.cjs.map +0 -1
  468. package/dist/index68.cts.map +0 -1
  469. package/dist/index69.cjs.map +0 -1
  470. package/dist/index69.cts.map +0 -1
  471. package/dist/index7.cjs +0 -6
  472. package/dist/index70.cjs.map +0 -1
  473. package/dist/index70.cts.map +0 -1
  474. package/dist/index71.cjs.map +0 -1
  475. package/dist/index71.cts.map +0 -1
  476. package/dist/index72.cjs.map +0 -1
  477. package/dist/index72.cts.map +0 -1
  478. package/dist/index73.cjs.map +0 -1
  479. package/dist/index73.cts.map +0 -1
  480. package/dist/index74.cjs.map +0 -1
  481. package/dist/index74.cts.map +0 -1
  482. package/dist/index75.cjs.map +0 -1
  483. package/dist/index75.cts.map +0 -1
  484. package/dist/index9.cjs.map +0 -1
  485. package/dist/msic-codes-CjrrJmzb.d.ts +0 -25
  486. package/dist/unit-types-VgYXIwTT.d.ts +0 -55
  487. /package/dist/{index19.cjs → types/documents.d.cjs} +0 -0
  488. /package/dist/{index21.cjs → types/index.d.cjs} +0 -0
  489. /package/dist/{index22.cjs → types/msic-codes.d.cjs} +0 -0
  490. /package/dist/{index25.cjs → types/signatures.d.cjs} +0 -0
  491. /package/dist/{index28.cjs → types/taxpayer.d.cjs} +0 -0
  492. /package/dist/{index29.cjs → types/unit-types.d.cjs} +0 -0
  493. /package/dist/{index30.cjs → types/utils.d.cjs} +0 -0
package/README.md CHANGED
@@ -123,6 +123,33 @@ Replace the placeholders with your actual values:
123
123
  - `YOUR_TIN`: `IG12345678901` (MyInvois TIN)
124
124
  - `YOUR_DOMAIN`: `mycompany.com`
125
125
 
126
+ ## Rate Limiting
127
+
128
+ The client includes a built-in, per-`clientId` request queue that proactively
129
+ keeps each API category within the MyInvois-documented limits (e.g. submit
130
+ documents 100/min, get submission 300/min, cancel/reject 12/min). Requests that
131
+ would exceed a category's limit are queued and released as the sliding window
132
+ frees up — you can fire calls freely and the queue paces them.
133
+
134
+ ### Known limitations
135
+
136
+ These are intentional trade-offs for a dependency-free, in-process limiter.
137
+ Plan around them for production deployments:
138
+
139
+ - **In-process only.** Limits are tracked in memory per Node.js process. If you
140
+ run multiple instances/workers (clustered NestJS, PM2 cluster, serverless,
141
+ multiple pods), each process tracks its own counts, so the *combined* traffic
142
+ can exceed the MyInvois limit. For horizontally-scaled deployments, throttle
143
+ upstream or route MyInvois calls through a single worker.
144
+ - **Bursts within the cap.** The limiter allows up to `max` requests in the same
145
+ instant (as long as the 60s window allows it). This is within the documented
146
+ limit, but if you observe `429`s under heavy concurrency, reduce upstream
147
+ concurrency.
148
+ - **No automatic `429` / `Retry-After` back-off.** The limiter is proactive
149
+ only; it does not currently inspect rate-limit response headers and retry.
150
+ - **Login is not queued.** Token requests (`/connect/token`) bypass the queue.
151
+ Cache and reuse the client so token refreshes stay infrequent.
152
+
126
153
  ## Production Certificates
127
154
 
128
155
  ⚠️ **For production use, obtain official business certificates from MyInvois-approved Certificate Authorities:**
@@ -207,4 +207,5 @@ declare enum MSIC_0X {
207
207
  SUPPORT_FOR_MINING = '09900',
208
208
  }
209
209
  //#endregion
210
- export { MSICCode, MSIC_0X, MSIC_0X_CODE };
210
+ export { MSICCode, MSIC_0X, MSIC_0X_CODE };
211
+ //# sourceMappingURL=0X-bPhcc9Vv.d.ts.map
@@ -16,4 +16,5 @@ declare enum UnitTypeCodeEnum_1X {
16
16
  FixedRate = '1I',
17
17
  }
18
18
  //#endregion
19
- export { UnitTypeCodeEnum_1X, UnitTypeCode_1X };
19
+ export { UnitTypeCodeEnum_1X, UnitTypeCode_1X };
20
+ //# sourceMappingURL=1X-Bqi8dmY1.d.ts.map
@@ -108,4 +108,5 @@ declare enum MSIC_1X {
108
108
  MANUFACTURE_OF_BIODIESEL = '19202',
109
109
  }
110
110
  //#endregion
111
- export { MSICCode, MSIC_1X, MSIC_1X_CODE };
111
+ export { MSICCode, MSIC_1X, MSIC_1X_CODE };
112
+ //# sourceMappingURL=1X-DKHYQyRy.d.ts.map
@@ -36,4 +36,5 @@ declare enum UnitTypeCodeEnum_2X {
36
36
  Millivolt = '2Z',
37
37
  }
38
38
  //#endregion
39
- export { UnitTypeCodeEnum_2X, UnitTypeCode_2X };
39
+ export { UnitTypeCodeEnum_2X, UnitTypeCode_2X };
40
+ //# sourceMappingURL=2X-CemxuAeL.d.ts.map
@@ -136,4 +136,5 @@ declare enum MSIC_2X {
136
136
  MANUFACTURE_OF_VEHICLE_PARTS = '29300',
137
137
  }
138
138
  //#endregion
139
- export { MSICCode, MSIC_2X, MSIC_2X_CODE };
139
+ export { MSICCode, MSIC_2X, MSIC_2X_CODE };
140
+ //# sourceMappingURL=2X-DN6M21cV.d.ts.map
@@ -17,4 +17,5 @@ declare enum UnitTypeCodeEnum_3X {
17
17
  Manmonth = '3C',
18
18
  }
19
19
  //#endregion
20
- export { UnitTypeCodeEnum_3X, UnitTypeCode_3X };
20
+ export { UnitTypeCodeEnum_3X, UnitTypeCode_3X };
21
+ //# sourceMappingURL=3X-DIYh_ue4.d.ts.map
@@ -58,4 +58,5 @@ declare enum MSIC_3X {
58
58
  REMEDIATION_ACTIVITIES = '39000',
59
59
  }
60
60
  //#endregion
61
- export { MSIC_3X, MSIC_3X_CODE };
61
+ export { MSIC_3X, MSIC_3X_CODE };
62
+ //# sourceMappingURL=3X-DJRj5xLv.d.ts.map
@@ -261,4 +261,5 @@ declare enum MSIC_4X {
261
261
  PIPELINE_TRANSPORT = '49300',
262
262
  }
263
263
  //#endregion
264
- export { MSIC_4X, MSIC_4X_CODE };
264
+ export { MSIC_4X, MSIC_4X_CODE };
265
+ //# sourceMappingURL=4X-BCvTomUF.d.ts.map
@@ -27,4 +27,5 @@ declare enum UnitTypeCodeEnum_4X {
27
27
  KilolitrePerHour = '4X',
28
28
  }
29
29
  //#endregion
30
- export { UnitTypeCodeEnum_4X, UnitTypeCode_4X };
30
+ export { UnitTypeCodeEnum_4X, UnitTypeCode_4X };
31
+ //# sourceMappingURL=4X-CZi5nwIr.d.ts.map
@@ -73,4 +73,5 @@ declare enum MSIC_5X {
73
73
  SOUND_RECORDING = '59200',
74
74
  }
75
75
  //#endregion
76
- export { MSIC_5X, MSIC_5X_CODE };
76
+ export { MSIC_5X, MSIC_5X_CODE };
77
+ //# sourceMappingURL=5X-Dji6Soz5.d.ts.map
@@ -18,4 +18,5 @@ declare enum UnitTypeCodeEnum_5X {
18
18
  HydraulicHorsePower = '5J',
19
19
  }
20
20
  //#endregion
21
- export { UnitTypeCodeEnum_5X, UnitTypeCode_5X };
21
+ export { UnitTypeCodeEnum_5X, UnitTypeCode_5X };
22
+ //# sourceMappingURL=5X-DyYBCAvY.d.ts.map
@@ -101,4 +101,5 @@ declare enum MSIC_6X {
101
101
  ACCOUNTING_ACTIVITIES = '69200',
102
102
  }
103
103
  //#endregion
104
- export { MSIC_6X, MSIC_6X_CODE };
104
+ export { MSIC_6X, MSIC_6X_CODE };
105
+ //# sourceMappingURL=6X-CO_u4RIY.d.ts.map
@@ -12,4 +12,5 @@ declare enum UnitTypeCodeEnum_6X {
12
12
  PartPerBillionUS = '61',
13
13
  }
14
14
  //#endregion
15
- export { UnitTypeCodeEnum_6X, UnitTypeCode_6X };
15
+ export { UnitTypeCodeEnum_6X, UnitTypeCode_6X };
16
+ //# sourceMappingURL=6X-Csxu6lwi.d.ts.map
@@ -12,4 +12,5 @@ declare enum UnitTypeCodeEnum_7X {
12
12
  MilliInch = '77',
13
13
  }
14
14
  //#endregion
15
- export { UnitTypeCodeEnum_7X, UnitTypeCode_7X };
15
+ export { UnitTypeCodeEnum_7X, UnitTypeCode_7X };
16
+ //# sourceMappingURL=7X-DivvfBsk.d.ts.map
@@ -67,4 +67,5 @@ declare enum MSIC_7X {
67
67
  OTHER_RESERVATION_SERVICES = '79900',
68
68
  }
69
69
  //#endregion
70
- export { MSIC_7X, MSIC_7X_CODE };
70
+ export { MSIC_7X, MSIC_7X_CODE };
71
+ //# sourceMappingURL=7X-vzJ01lNF.d.ts.map
@@ -106,4 +106,5 @@ declare enum MSIC_8X {
106
106
  OTHER_SOCIAL_WORK = '88909',
107
107
  }
108
108
  //#endregion
109
- export { MSIC_8X, MSIC_8X_CODE };
109
+ export { MSIC_8X, MSIC_8X_CODE };
110
+ //# sourceMappingURL=8X-C4Wf4jYK.d.ts.map
@@ -15,4 +15,5 @@ declare enum UnitTypeCodeEnum_8X {
15
15
  Poise = '89',
16
16
  }
17
17
  //#endregion
18
- export { UnitTypeCodeEnum_8X, UnitTypeCode_8X };
18
+ export { UnitTypeCodeEnum_8X, UnitTypeCode_8X };
19
+ //# sourceMappingURL=8X-D_Pw1H3K.d.ts.map
@@ -94,4 +94,5 @@ declare enum MSIC_9X {
94
94
  EXTRATERRITORIAL_ORGANIZATIONS = '99000',
95
95
  }
96
96
  //#endregion
97
- export { MSIC_9X, MSIC_9X_CODE };
97
+ export { MSIC_9X, MSIC_9X_CODE };
98
+ //# sourceMappingURL=9X-1VwxN9g-.d.ts.map
@@ -11,4 +11,5 @@ declare enum UnitTypeCodeEnum_9X {
11
11
  Stokes = '91',
12
12
  }
13
13
  //#endregion
14
- export { UnitTypeCodeEnum_9X, UnitTypeCode_9X };
14
+ export { UnitTypeCodeEnum_9X, UnitTypeCode_9X };
15
+ //# sourceMappingURL=9X-BwR9pibT.d.ts.map
@@ -107,4 +107,5 @@ declare enum UnitTypeCodeEnum_AX {
107
107
  BritishThermalUnitInternationalTablePerPound = 'AZ',
108
108
  }
109
109
  //#endregion
110
- export { UnitTypeCodeEnum_AX, UnitTypeCode_AX };
110
+ export { UnitTypeCodeEnum_AX, UnitTypeCode_AX };
111
+ //# sourceMappingURL=AX-CDubGAZO.d.ts.map
@@ -111,4 +111,5 @@ declare enum UnitTypeCodeEnum_BX {
111
111
  BushelUK = 'BUI',
112
112
  }
113
113
  //#endregion
114
- export { UnitTypeCodeEnum_BX, UnitTypeCode_BX };
114
+ export { UnitTypeCodeEnum_BX, UnitTypeCode_BX };
115
+ //# sourceMappingURL=BX-CBsKI8np.d.ts.map
@@ -124,4 +124,5 @@ declare enum UnitTypeCodeEnum_CX {
124
124
  HundredWeightUK = 'CWI',
125
125
  }
126
126
  //#endregion
127
- export { UnitTypeCodeEnum_CX, UnitTypeCode_CX };
127
+ export { UnitTypeCodeEnum_CX, UnitTypeCode_CX };
128
+ //# sourceMappingURL=CX-DhOdAFyg.d.ts.map
@@ -111,4 +111,5 @@ declare enum UnitTypeCodeEnum_DX {
111
111
  DozenPack = 'DZP',
112
112
  }
113
113
  //#endregion
114
- export { UnitTypeCodeEnum_DX, UnitTypeCode_DX };
114
+ export { UnitTypeCodeEnum_DX, UnitTypeCode_DX };
115
+ //# sourceMappingURL=DX-CBiRJGqR.d.ts.map
@@ -103,4 +103,5 @@ declare enum UnitTypeCodeEnum_EX {
103
103
  EquivalentGallon = 'EQ',
104
104
  }
105
105
  //#endregion
106
- export { UnitTypeCodeEnum_EX, UnitTypeCode_EX };
106
+ export { UnitTypeCodeEnum_EX, UnitTypeCode_EX };
107
+ //# sourceMappingURL=EX-CAn62WaX.d.ts.map
@@ -123,4 +123,5 @@ declare enum UnitTypeCodeEnum_FX {
123
123
  CubicFoot = 'FTQ',
124
124
  }
125
125
  //#endregion
126
- export { UnitTypeCodeEnum_FX, UnitTypeCode_FX };
126
+ export { UnitTypeCodeEnum_FX, UnitTypeCode_FX };
127
+ //# sourceMappingURL=FX-CANpsLC4.d.ts.map
@@ -132,4 +132,5 @@ declare enum UnitTypeCodeEnum_GX {
132
132
  GigawattHour = 'GWH',
133
133
  }
134
134
  //#endregion
135
- export { UnitTypeCodeEnum_GX, UnitTypeCode_GX };
135
+ export { UnitTypeCodeEnum_GX, UnitTypeCode_GX };
136
+ //# sourceMappingURL=GX-BvSZZ8pE.d.ts.map
@@ -122,4 +122,5 @@ declare enum UnitTypeCodeEnum_HX {
122
122
  Hour = 'HUR',
123
123
  }
124
124
  //#endregion
125
- export { UnitTypeCodeEnum_HX, UnitTypeCode_HX };
125
+ export { UnitTypeCodeEnum_HX, UnitTypeCode_HX };
126
+ //# sourceMappingURL=HX-CxrnY-YC.d.ts.map
@@ -19,4 +19,5 @@ declare enum UnitTypeCodeEnum_IX {
19
19
  InchPerSecondSquared = 'IV',
20
20
  }
21
21
  //#endregion
22
- export { UnitTypeCodeEnum_IX, UnitTypeCode_IX };
22
+ export { UnitTypeCodeEnum_IX, UnitTypeCode_IX };
23
+ //# sourceMappingURL=IX-wdAD6eW8.d.ts.map
@@ -100,4 +100,5 @@ declare enum UnitTypeCodeEnum_JX {
100
100
  NumberOfJewels = 'JWL',
101
101
  }
102
102
  //#endregion
103
- export { UnitTypeCodeEnum_JX, UnitTypeCode_JX };
103
+ export { UnitTypeCodeEnum_JX, UnitTypeCode_JX };
104
+ //# sourceMappingURL=JX-B5v815to.d.ts.map
@@ -147,4 +147,5 @@ declare enum UnitTypeCodeEnum_KX {
147
147
  MillilitrePerKilogram = 'KX',
148
148
  }
149
149
  //#endregion
150
- export { UnitTypeCodeEnum_KX, UnitTypeCode_KX };
150
+ export { UnitTypeCodeEnum_KX, UnitTypeCode_KX };
151
+ //# sourceMappingURL=KX-BI8n7ACj.d.ts.map
@@ -119,4 +119,5 @@ declare enum UnitTypeCodeEnum_LX {
119
119
  LinearYard = 'LY',
120
120
  }
121
121
  //#endregion
122
- export { UnitTypeCodeEnum_LX, UnitTypeCode_LX };
122
+ export { UnitTypeCodeEnum_LX, UnitTypeCode_LX };
123
+ //# sourceMappingURL=LX-BVvEz6Ji.d.ts.map
@@ -149,4 +149,5 @@ declare enum UnitTypeCodeEnum_MX {
149
149
  MegawattHour1000KWh = 'MWH',
150
150
  }
151
151
  //#endregion
152
- export { UnitTypeCodeEnum_MX, UnitTypeCode_MX };
152
+ export { UnitTypeCodeEnum_MX, UnitTypeCode_MX };
153
+ //# sourceMappingURL=MX-D_OsOP_v.d.ts.map
@@ -118,4 +118,5 @@ declare enum UnitTypeCodeEnum_NX {
118
118
  PartPerThousand = 'NX',
119
119
  }
120
120
  //#endregion
121
- export { UnitTypeCodeEnum_NX, UnitTypeCode_NX };
121
+ export { UnitTypeCodeEnum_NX, UnitTypeCode_NX };
122
+ //# sourceMappingURL=NX-DIhAzAY3.d.ts.map
@@ -22,4 +22,5 @@ declare enum UnitTypeCodeEnum_OX {
22
22
  FluidOunceUK = 'OZI',
23
23
  }
24
24
  //#endregion
25
- export { UnitTypeCodeEnum_OX, UnitTypeCode_OX };
25
+ export { UnitTypeCodeEnum_OX, UnitTypeCode_OX };
26
+ //# sourceMappingURL=OX-BZrRnj5g.d.ts.map
@@ -117,4 +117,5 @@ declare enum UnitTypeCodeEnum_PX {
117
117
  Portion = 'PTN',
118
118
  }
119
119
  //#endregion
120
- export { UnitTypeCodeEnum_PX, UnitTypeCode_PX };
120
+ export { UnitTypeCodeEnum_PX, UnitTypeCode_PX };
121
+ //# sourceMappingURL=PX-DGGrJNym.d.ts.map
@@ -55,4 +55,5 @@ declare enum UnitTypeCodeEnum_QX {
55
55
  ,
56
56
  }
57
57
  //#endregion
58
- export { UnitTypeCodeEnum_QX, UnitTypeCode_QX };
58
+ export { UnitTypeCodeEnum_QX, UnitTypeCode_QX };
59
+ //# sourceMappingURL=QX-DuTJFnHX.d.ts.map
@@ -19,4 +19,5 @@ declare enum UnitTypeCodeEnum_RX {
19
19
  RevenueTonMile = 'RT',
20
20
  }
21
21
  //#endregion
22
- export { UnitTypeCodeEnum_RX, UnitTypeCode_RX };
22
+ export { UnitTypeCodeEnum_RX, UnitTypeCode_RX };
23
+ //# sourceMappingURL=RX-DYQoV7am.d.ts.map
@@ -36,4 +36,5 @@ declare enum UnitTypeCodeEnum_SX {
36
36
  Syringe = 'SYR',
37
37
  }
38
38
  //#endregion
39
- export { UnitTypeCodeEnum_SX, UnitTypeCode_SX };
39
+ export { UnitTypeCodeEnum_SX, UnitTypeCode_SX };
40
+ //# sourceMappingURL=SX-Dl1RlNnc.d.ts.map
@@ -27,4 +27,5 @@ declare enum UnitTypeCodeEnum_TX {
27
27
  TenThousandSticks = 'TTS',
28
28
  }
29
29
  //#endregion
30
- export { UnitTypeCodeEnum_TX, UnitTypeCode_TX };
30
+ export { UnitTypeCodeEnum_TX, UnitTypeCode_TX };
31
+ //# sourceMappingURL=TX-SoIfFaZj.d.ts.map
@@ -14,4 +14,5 @@ declare enum UnitTypeCodeEnum_UX {
14
14
  TelecomPort = 'UC',
15
15
  }
16
16
  //#endregion
17
- export { UnitTypeCodeEnum_UX, UnitTypeCode_UX };
17
+ export { UnitTypeCodeEnum_UX, UnitTypeCode_UX };
18
+ //# sourceMappingURL=UX-DqBfrSsY.d.ts.map
@@ -13,4 +13,5 @@ declare enum UnitTypeCodeEnum_VX {
13
13
  PercentVolume = 'VP',
14
14
  }
15
15
  //#endregion
16
- export { UnitTypeCodeEnum_VX, UnitTypeCode_VX };
16
+ export { UnitTypeCodeEnum_VX, UnitTypeCode_VX };
17
+ //# sourceMappingURL=VX-Ahcpp3Si.d.ts.map
@@ -22,4 +22,5 @@ declare enum UnitTypeCodeEnum_WX {
22
22
  Watt = 'WTT',
23
23
  }
24
24
  //#endregion
25
- export { UnitTypeCodeEnum_WX, UnitTypeCode_WX };
25
+ export { UnitTypeCodeEnum_WX, UnitTypeCode_WX };
26
+ //# sourceMappingURL=WX-Di6vYD7A.d.ts.map
@@ -824,4 +824,5 @@ declare enum UnitTypeCodeEnum_XX {
824
824
  MutuallyDefined = 'XZZ',
825
825
  }
826
826
  //#endregion
827
- export { UnitTypeCodeEnum_XX, UnitTypeCode_XX };
827
+ export { UnitTypeCodeEnum_XX, UnitTypeCode_XX };
828
+ //# sourceMappingURL=XX-BE4flzh6.d.ts.map
@@ -16,4 +16,5 @@ declare enum UnitTypeCodeEnum_YX {
16
16
  Yard = 'YRD',
17
17
  }
18
18
  //#endregion
19
- export { UnitTypeCodeEnum_YX, UnitTypeCode_YX };
19
+ export { UnitTypeCodeEnum_YX, UnitTypeCode_YX };
20
+ //# sourceMappingURL=YX-BPO04gSZ.d.ts.map
@@ -18,4 +18,5 @@ declare enum UnitTypeCodeEnum_ZX {
18
18
  MutuallyDefined = 'ZZ',
19
19
  }
20
20
  //#endregion
21
- export { UnitTypeCodeEnum_ZX, UnitTypeCode_ZX };
21
+ export { UnitTypeCodeEnum_ZX, UnitTypeCode_ZX };
22
+ //# sourceMappingURL=ZX-DHu4FRKS.d.ts.map
@@ -1,4 +1,4 @@
1
- const require_documentManagement = require('./documentManagement-BviJDtf2.cjs');
1
+ const require_documentManagement = require('../documentManagement-qJnd0l1z.cjs');
2
2
 
3
3
  exports.getDocument = require_documentManagement.getDocument;
4
4
  exports.getDocumentDetails = require_documentManagement.getDocumentDetails;
@@ -0,0 +1,90 @@
1
+ import "../classification-codes-B15PbWxz.cjs";
2
+ import "../country-code-DPeNFMMi.cjs";
3
+ import "../currencies-S5g1gzBU.cjs";
4
+ import { EInvoiceTypeCode } from "../e-invoice-BuwtFnlI.cjs";
5
+ import "../0X-Cr3M7hci.cjs";
6
+ import "../1X-CWwmfCzo.cjs";
7
+ import "../2X-DNtkJ0tj.cjs";
8
+ import "../3X-BOxfatu3.cjs";
9
+ import "../4X-C7fzDWJ_.cjs";
10
+ import "../5X-CNAFsDm2.cjs";
11
+ import "../6X-uObUP4VG.cjs";
12
+ import "../7X-BifJnY24.cjs";
13
+ import "../8X-DioBXCJ0.cjs";
14
+ import "../9X-BjffnXuq.cjs";
15
+ import "../msic-codes-CIKdPqag.cjs";
16
+ import "../tax-types-fu5Q6dic.cjs";
17
+ import "../state-codes-u3ppueWo.cjs";
18
+ import "../1X-DYw2tURz.cjs";
19
+ import "../2X-CXtqiwRg.cjs";
20
+ import "../3X-Bk_fUIAk.cjs";
21
+ import "../4X-CK9rj5qd.cjs";
22
+ import "../5X-CpAvNxvd.cjs";
23
+ import "../6X-bXWr_7xY.cjs";
24
+ import "../7X-BJBOlWhV.cjs";
25
+ import "../8X-dshwiOxU.cjs";
26
+ import "../9X-9j2Djy4W.cjs";
27
+ import "../AX-CWCopjCC.cjs";
28
+ import "../BX-Cq7WdhD3.cjs";
29
+ import "../CX-DlcVZfxx.cjs";
30
+ import "../DX-DLdv-Nxj.cjs";
31
+ import "../EX-CIJv8-Lw.cjs";
32
+ import "../FX-DlDM_Zea.cjs";
33
+ import "../GX-BFGNX6Jy.cjs";
34
+ import "../HX-D7Y9qRSm.cjs";
35
+ import "../IX-DPTrbhgX.cjs";
36
+ import "../JX-D8JmtNpo.cjs";
37
+ import "../KX-B46KJZrH.cjs";
38
+ import "../LX-CfTKy8Sx.cjs";
39
+ import "../MX-BKJ4gNvV.cjs";
40
+ import "../NX-CSdLIFqU.cjs";
41
+ import "../OX-BwqOsulT.cjs";
42
+ import "../PX-BTx0TXsJ.cjs";
43
+ import "../QX-BUXR8RJL.cjs";
44
+ import "../RX-CZ8HiH37.cjs";
45
+ import "../SX-CLxsqiQk.cjs";
46
+ import "../TX-DKc8hLc4.cjs";
47
+ import "../UX-bc7xDnZI.cjs";
48
+ import "../VX-CIHTFyoC.cjs";
49
+ import "../WX-BHvlq7Jx.cjs";
50
+ import "../YX-CkxLeFb4.cjs";
51
+ import "../ZX-DVb_buNI.cjs";
52
+ import "../XX-DztQxYHJ.cjs";
53
+ import "../unit-types-BXdufGWm.cjs";
54
+ import { DocumentStatus, DocumentSummary, DocumentValidationResult, DocumentValidationStepResult } from "../documents-D_V38Q_U.cjs";
55
+ import "../payment-modes-7c1lWlIr.cjs";
56
+ import "../signatures-CyDSZr_e.cjs";
57
+ import "../notifications-DdlEkprb.cjs";
58
+ import "../taxpayer-DwGzY1IL.cjs";
59
+ import { Fetch } from "../utils-Cdqbbzca.cjs";
60
+ import "../index-Yr1QAbIF.cjs";
61
+
62
+ //#region src/api/documentManagement.d.ts
63
+ interface DocumentContext {
64
+ fetch: Fetch;
65
+ }
66
+ declare function getDocument(context: DocumentContext, documentUid: string): Promise<DocumentSummary & {
67
+ document: string;
68
+ }>;
69
+ declare function getDocumentDetails(context: DocumentContext, documentUid: string): Promise<DocumentSummary & {
70
+ validationResults: {
71
+ status: DocumentValidationResult;
72
+ validationSteps: DocumentValidationStepResult[];
73
+ };
74
+ }>;
75
+ declare function searchDocuments(context: DocumentContext, params: {
76
+ uuid?: string;
77
+ submissionDateFrom: string;
78
+ submissionDateTo?: string;
79
+ pageSize?: number;
80
+ pageNo?: number;
81
+ issueDateFrom?: string;
82
+ issueDateTo?: string;
83
+ invoiceDirection?: "Sent" | "Received";
84
+ status?: DocumentStatus;
85
+ documentType?: EInvoiceTypeCode;
86
+ searchQuery?: string;
87
+ }): Promise<DocumentSummary[]>;
88
+ //#endregion
89
+ export { getDocument, getDocumentDetails, searchDocuments };
90
+ //# sourceMappingURL=documentManagement.d.cts.map
@@ -1,63 +1,63 @@
1
- import "../classification-codes-C2X4xW5-.js";
2
- import "../country-code-DsI8Mbzx.js";
3
- import "../currencies-DKuDflOO.js";
4
- import { EInvoiceTypeCode } from "../e-invoice-C2TxhyrK.js";
5
- import "../0X-qj3c_vAo.js";
6
- import "../1X-B-lyAVC4.js";
7
- import "../2X-BfCK614i.js";
8
- import "../3X-Du10Ix_V.js";
9
- import "../4X-x3cRFuSM.js";
10
- import "../5X-B52AKeTz.js";
11
- import "../6X-DBwpWPQ6.js";
12
- import "../7X-C_XGDSpE.js";
13
- import "../8X-Di_0wuRX.js";
14
- import "../9X-8ZnvvViY.js";
15
- import "../msic-codes-CjrrJmzb.js";
16
- import "../tax-types-ClyLgydM.js";
17
- import "../state-codes-Ow4oehYT.js";
18
- import "../1X-C72Wa4pk.js";
19
- import "../2X-CH89y3Af.js";
20
- import "../3X-DryrwYRf.js";
21
- import "../4X-BPMLRoDv.js";
22
- import "../5X-Bv7M6KyG.js";
23
- import "../6X-ZeZ8OB57.js";
24
- import "../7X-Dvw2Z2VN.js";
25
- import "../8X-BkgoX8dg.js";
26
- import "../9X-Du0e44cq.js";
27
- import "../AX-BSPLpkVT.js";
28
- import "../BX-u4yMaIkz.js";
29
- import "../CX-BKZG0pVE.js";
30
- import "../DX-CwA9WJAf.js";
31
- import "../EX-BRNu1Ooi.js";
32
- import "../FX-DBxjq6xY.js";
33
- import "../GX-B3CvWNrP.js";
34
- import "../HX-D7FABgTv.js";
35
- import "../IX-D3ZknsAB.js";
36
- import "../JX-BRaZM3Gc.js";
37
- import "../KX-B1K0OWoi.js";
38
- import "../LX-CKRefinL.js";
39
- import "../MX-DKmaeO9r.js";
40
- import "../NX-CJL2Gn1U.js";
41
- import "../OX-Do2ap5v_.js";
42
- import "../PX-_DOr_rm9.js";
43
- import "../QX-HlXLkIki.js";
44
- import "../RX-DVPGOVES.js";
45
- import "../SX-OGT3qwlS.js";
46
- import "../TX-cPDINmZ5.js";
47
- import "../UX-Be3sqvPV.js";
48
- import "../VX-CoEuBNDK.js";
49
- import "../WX-DMvw__jH.js";
50
- import "../YX-F34sJ7Ik.js";
51
- import "../ZX-CDQOfsHh.js";
52
- import "../XX-DOA-10JW.js";
53
- import "../unit-types-VgYXIwTT.js";
54
- import { DocumentStatus, DocumentSummary, DocumentValidationResult, DocumentValidationStepResult } from "../documents-BYV12TVt.js";
55
- import "../payment-modes-g3DzLmWb.js";
56
- import "../signatures-CerHUrj3.js";
57
- import "../notifications-sFhgh3rJ.js";
58
- import "../taxpayer-BAoT73gg.js";
59
- import { Fetch } from "../utils-C4FoVKLq.js";
60
- import "../index-CygwSf0x.js";
1
+ import "../classification-codes-BQMnAQFr.js";
2
+ import "../country-code-DAejE5RV.js";
3
+ import "../currencies-Cg9RkxRB.js";
4
+ import { EInvoiceTypeCode } from "../e-invoice-BSCFsH-H.js";
5
+ import "../0X-bPhcc9Vv.js";
6
+ import "../1X-DKHYQyRy.js";
7
+ import "../2X-DN6M21cV.js";
8
+ import "../3X-DJRj5xLv.js";
9
+ import "../4X-BCvTomUF.js";
10
+ import "../5X-Dji6Soz5.js";
11
+ import "../6X-CO_u4RIY.js";
12
+ import "../7X-vzJ01lNF.js";
13
+ import "../8X-C4Wf4jYK.js";
14
+ import "../9X-1VwxN9g-.js";
15
+ import "../msic-codes-kysVPGdN.js";
16
+ import "../tax-types-QeZFKqew.js";
17
+ import "../state-codes-CAkYQnTd.js";
18
+ import "../1X-Bqi8dmY1.js";
19
+ import "../2X-CemxuAeL.js";
20
+ import "../3X-DIYh_ue4.js";
21
+ import "../4X-CZi5nwIr.js";
22
+ import "../5X-DyYBCAvY.js";
23
+ import "../6X-Csxu6lwi.js";
24
+ import "../7X-DivvfBsk.js";
25
+ import "../8X-D_Pw1H3K.js";
26
+ import "../9X-BwR9pibT.js";
27
+ import "../AX-CDubGAZO.js";
28
+ import "../BX-CBsKI8np.js";
29
+ import "../CX-DhOdAFyg.js";
30
+ import "../DX-CBiRJGqR.js";
31
+ import "../EX-CAn62WaX.js";
32
+ import "../FX-CANpsLC4.js";
33
+ import "../GX-BvSZZ8pE.js";
34
+ import "../HX-CxrnY-YC.js";
35
+ import "../IX-wdAD6eW8.js";
36
+ import "../JX-B5v815to.js";
37
+ import "../KX-BI8n7ACj.js";
38
+ import "../LX-BVvEz6Ji.js";
39
+ import "../MX-D_OsOP_v.js";
40
+ import "../NX-DIhAzAY3.js";
41
+ import "../OX-BZrRnj5g.js";
42
+ import "../PX-DGGrJNym.js";
43
+ import "../QX-DuTJFnHX.js";
44
+ import "../RX-DYQoV7am.js";
45
+ import "../SX-Dl1RlNnc.js";
46
+ import "../TX-SoIfFaZj.js";
47
+ import "../UX-DqBfrSsY.js";
48
+ import "../VX-Ahcpp3Si.js";
49
+ import "../WX-Di6vYD7A.js";
50
+ import "../YX-BPO04gSZ.js";
51
+ import "../ZX-DHu4FRKS.js";
52
+ import "../XX-BE4flzh6.js";
53
+ import "../unit-types-CZdxXbVN.js";
54
+ import { DocumentStatus, DocumentSummary, DocumentValidationResult, DocumentValidationStepResult } from "../documents-BpZn3hJq.js";
55
+ import "../payment-modes-BGP5McTY.js";
56
+ import "../signatures-Bk5aKcq6.js";
57
+ import "../notifications-B4BymhRJ.js";
58
+ import "../taxpayer-B1CSMqNS.js";
59
+ import { Fetch } from "../utils-BYVq373g.js";
60
+ import "../index-Dn3JIREW.js";
61
61
 
62
62
  //#region src/api/documentManagement.d.ts
63
63
  interface DocumentContext {
@@ -86,4 +86,5 @@ declare function searchDocuments(context: DocumentContext, params: {
86
86
  searchQuery?: string;
87
87
  }): Promise<DocumentSummary[]>;
88
88
  //#endregion
89
- export { getDocument, getDocumentDetails, searchDocuments };
89
+ export { getDocument, getDocumentDetails, searchDocuments };
90
+ //# sourceMappingURL=documentManagement.d.ts.map