@invoicetronic/ts-sdk 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +2 -2
  3. package/api.ts +1 -0
  4. package/common.ts +2 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +1 -0
  7. package/dist/api.js +1 -0
  8. package/dist/common.d.ts +1 -1
  9. package/dist/common.js +1 -0
  10. package/dist/configuration.js +1 -1
  11. package/dist/esm/api.d.ts +1 -0
  12. package/dist/esm/api.js +1 -0
  13. package/dist/esm/common.d.ts +1 -1
  14. package/dist/esm/common.js +1 -0
  15. package/dist/esm/configuration.js +1 -1
  16. package/dist/esm/src/api/company-api.d.ts +55 -10
  17. package/dist/esm/src/api/company-api.js +87 -11
  18. package/dist/esm/src/api/export-api.d.ts +10 -16
  19. package/dist/esm/src/api/export-api.js +4 -9
  20. package/dist/esm/src/api/health-api.d.ts +74 -0
  21. package/dist/esm/src/api/health-api.js +120 -0
  22. package/dist/esm/src/api/receive-api.d.ts +55 -10
  23. package/dist/esm/src/api/receive-api.js +87 -11
  24. package/dist/esm/src/api/send-api.d.ts +95 -51
  25. package/dist/esm/src/api/send-api.js +143 -67
  26. package/dist/esm/src/api/update-api.d.ts +10 -10
  27. package/dist/esm/src/api/update-api.js +8 -8
  28. package/dist/esm/src/models/event.d.ts +3 -0
  29. package/dist/esm/src/models/index.d.ts +0 -47
  30. package/dist/esm/src/models/index.js +0 -47
  31. package/dist/esm/src/models/receive.d.ts +7 -0
  32. package/dist/esm/src/models/send.d.ts +7 -0
  33. package/dist/esm/src/models/status.d.ts +3 -0
  34. package/dist/esm/src/models/update.d.ts +3 -0
  35. package/dist/esm/src/models/web-hook.d.ts +3 -0
  36. package/dist/src/api/company-api.d.ts +55 -10
  37. package/dist/src/api/company-api.js +87 -11
  38. package/dist/src/api/export-api.d.ts +10 -16
  39. package/dist/src/api/export-api.js +5 -10
  40. package/dist/src/api/health-api.d.ts +74 -0
  41. package/dist/src/api/health-api.js +127 -0
  42. package/dist/src/api/receive-api.d.ts +55 -10
  43. package/dist/src/api/receive-api.js +87 -11
  44. package/dist/src/api/send-api.d.ts +95 -51
  45. package/dist/src/api/send-api.js +143 -67
  46. package/dist/src/api/update-api.d.ts +10 -10
  47. package/dist/src/api/update-api.js +8 -8
  48. package/dist/src/models/event.d.ts +3 -0
  49. package/dist/src/models/index.d.ts +0 -47
  50. package/dist/src/models/index.js +0 -47
  51. package/dist/src/models/receive.d.ts +7 -0
  52. package/dist/src/models/send.d.ts +7 -0
  53. package/dist/src/models/status.d.ts +3 -0
  54. package/dist/src/models/update.d.ts +3 -0
  55. package/dist/src/models/web-hook.d.ts +3 -0
  56. package/docs/CompanyApi.md +59 -2
  57. package/docs/Event.md +1 -0
  58. package/docs/ExportApi.md +2 -2
  59. package/docs/HealthApi.md +54 -0
  60. package/docs/Receive.md +3 -0
  61. package/docs/ReceiveApi.md +58 -2
  62. package/docs/Send.md +3 -0
  63. package/docs/SendApi.md +78 -26
  64. package/docs/Status.md +1 -0
  65. package/docs/Update.md +1 -0
  66. package/docs/UpdateApi.md +2 -2
  67. package/docs/WebHook.md +1 -0
  68. package/package.json +1 -1
  69. package/src/api/company-api.ts +103 -13
  70. package/src/api/export-api.ts +10 -16
  71. package/src/api/health-api.ts +135 -0
  72. package/src/api/receive-api.ts +105 -13
  73. package/src/api/send-api.ts +167 -79
  74. package/src/api/update-api.ts +10 -10
  75. package/src/models/event.ts +3 -0
  76. package/src/models/index.ts +0 -47
  77. package/src/models/receive.ts +7 -0
  78. package/src/models/send.ts +7 -0
  79. package/src/models/status.ts +3 -0
  80. package/src/models/update.ts +3 -0
  81. package/src/models/web-hook.ts +3 -0
  82. package/dist/esm/src/models/allegati.d.ts +0 -18
  83. package/dist/esm/src/models/allegati.js +0 -14
  84. package/dist/esm/src/models/altri-dati-gestionali.d.ts +0 -17
  85. package/dist/esm/src/models/altri-dati-gestionali.js +0 -14
  86. package/dist/esm/src/models/anagrafica.d.ts +0 -18
  87. package/dist/esm/src/models/anagrafica.js +0 -14
  88. package/dist/esm/src/models/cedente-prestatore.d.ts +0 -24
  89. package/dist/esm/src/models/cedente-prestatore.js +0 -14
  90. package/dist/esm/src/models/cessionario-committente.d.ts +0 -21
  91. package/dist/esm/src/models/cessionario-committente.js +0 -14
  92. package/dist/esm/src/models/codice-articolo.d.ts +0 -15
  93. package/dist/esm/src/models/codice-articolo.js +0 -14
  94. package/dist/esm/src/models/contatti-trasmittente.d.ts +0 -15
  95. package/dist/esm/src/models/contatti-trasmittente.js +0 -14
  96. package/dist/esm/src/models/contatti.d.ts +0 -16
  97. package/dist/esm/src/models/contatti.js +0 -14
  98. package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -23
  99. package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.js +0 -14
  100. package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -18
  101. package/dist/esm/src/models/dati-anagrafici-cessionario-committente.js +0 -14
  102. package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +0 -19
  103. package/dist/esm/src/models/dati-anagrafici-vettore.js +0 -14
  104. package/dist/esm/src/models/dati-anagrafici.d.ts +0 -18
  105. package/dist/esm/src/models/dati-anagrafici.js +0 -14
  106. package/dist/esm/src/models/dati-beni-servizi.d.ts +0 -17
  107. package/dist/esm/src/models/dati-beni-servizi.js +0 -14
  108. package/dist/esm/src/models/dati-bollo.d.ts +0 -15
  109. package/dist/esm/src/models/dati-bollo.js +0 -14
  110. package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +0 -21
  111. package/dist/esm/src/models/dati-cassa-previdenziale.js +0 -14
  112. package/dist/esm/src/models/dati-contratto.d.ts +0 -20
  113. package/dist/esm/src/models/dati-contratto.js +0 -14
  114. package/dist/esm/src/models/dati-convenzione.d.ts +0 -20
  115. package/dist/esm/src/models/dati-convenzione.js +0 -14
  116. package/dist/esm/src/models/dati-ddt.d.ts +0 -16
  117. package/dist/esm/src/models/dati-ddt.js +0 -14
  118. package/dist/esm/src/models/dati-fatture-collegate.d.ts +0 -20
  119. package/dist/esm/src/models/dati-fatture-collegate.js +0 -14
  120. package/dist/esm/src/models/dati-generali-documento.d.ts +0 -29
  121. package/dist/esm/src/models/dati-generali-documento.js +0 -14
  122. package/dist/esm/src/models/dati-generali.d.ts +0 -33
  123. package/dist/esm/src/models/dati-generali.js +0 -14
  124. package/dist/esm/src/models/dati-ordine-acquisto.d.ts +0 -20
  125. package/dist/esm/src/models/dati-ordine-acquisto.js +0 -14
  126. package/dist/esm/src/models/dati-pagamento.d.ts +0 -16
  127. package/dist/esm/src/models/dati-pagamento.js +0 -14
  128. package/dist/esm/src/models/dati-ricezione.d.ts +0 -20
  129. package/dist/esm/src/models/dati-ricezione.js +0 -14
  130. package/dist/esm/src/models/dati-riepilogo.d.ts +0 -21
  131. package/dist/esm/src/models/dati-riepilogo.js +0 -14
  132. package/dist/esm/src/models/dati-ritenuta.d.ts +0 -17
  133. package/dist/esm/src/models/dati-ritenuta.js +0 -14
  134. package/dist/esm/src/models/dati-sal.d.ts +0 -14
  135. package/dist/esm/src/models/dati-sal.js +0 -14
  136. package/dist/esm/src/models/dati-trasmissione.d.ts +0 -21
  137. package/dist/esm/src/models/dati-trasmissione.js +0 -14
  138. package/dist/esm/src/models/dati-trasporto.d.ts +0 -28
  139. package/dist/esm/src/models/dati-trasporto.js +0 -14
  140. package/dist/esm/src/models/dati-veicoli.d.ts +0 -15
  141. package/dist/esm/src/models/dati-veicoli.js +0 -14
  142. package/dist/esm/src/models/dettaglio-linee.d.ts +0 -32
  143. package/dist/esm/src/models/dettaglio-linee.js +0 -14
  144. package/dist/esm/src/models/dettaglio-pagamento.d.ts +0 -34
  145. package/dist/esm/src/models/dettaglio-pagamento.js +0 -14
  146. package/dist/esm/src/models/fattura-elettronica-body.d.ts +0 -23
  147. package/dist/esm/src/models/fattura-elettronica-body.js +0 -14
  148. package/dist/esm/src/models/fattura-elettronica-header.d.ts +0 -24
  149. package/dist/esm/src/models/fattura-elettronica-header.js +0 -14
  150. package/dist/esm/src/models/fattura-ordinaria.d.ts +0 -18
  151. package/dist/esm/src/models/fattura-ordinaria.js +0 -14
  152. package/dist/esm/src/models/fattura-principale.d.ts +0 -15
  153. package/dist/esm/src/models/fattura-principale.js +0 -14
  154. package/dist/esm/src/models/id-fiscale-iva.d.ts +0 -15
  155. package/dist/esm/src/models/id-fiscale-iva.js +0 -14
  156. package/dist/esm/src/models/id-trasmittente.d.ts +0 -15
  157. package/dist/esm/src/models/id-trasmittente.js +0 -14
  158. package/dist/esm/src/models/indirizzo-resa.d.ts +0 -19
  159. package/dist/esm/src/models/indirizzo-resa.js +0 -14
  160. package/dist/esm/src/models/iscrizione-rea.d.ts +0 -18
  161. package/dist/esm/src/models/iscrizione-rea.js +0 -14
  162. package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -18
  163. package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.js +0 -14
  164. package/dist/esm/src/models/rappresentante-fiscale.d.ts +0 -15
  165. package/dist/esm/src/models/rappresentante-fiscale.js +0 -14
  166. package/dist/esm/src/models/sconto-maggiorazione.d.ts +0 -16
  167. package/dist/esm/src/models/sconto-maggiorazione.js +0 -14
  168. package/dist/esm/src/models/sede-cedente-prestatore.d.ts +0 -19
  169. package/dist/esm/src/models/sede-cedente-prestatore.js +0 -14
  170. package/dist/esm/src/models/sede-cessionario-committente.d.ts +0 -19
  171. package/dist/esm/src/models/sede-cessionario-committente.js +0 -14
  172. package/dist/esm/src/models/stabile-organizzazione.d.ts +0 -19
  173. package/dist/esm/src/models/stabile-organizzazione.js +0 -14
  174. package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -15
  175. package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.js +0 -14
  176. package/dist/src/models/allegati.d.ts +0 -18
  177. package/dist/src/models/allegati.js +0 -15
  178. package/dist/src/models/altri-dati-gestionali.d.ts +0 -17
  179. package/dist/src/models/altri-dati-gestionali.js +0 -15
  180. package/dist/src/models/anagrafica.d.ts +0 -18
  181. package/dist/src/models/anagrafica.js +0 -15
  182. package/dist/src/models/cedente-prestatore.d.ts +0 -24
  183. package/dist/src/models/cedente-prestatore.js +0 -15
  184. package/dist/src/models/cessionario-committente.d.ts +0 -21
  185. package/dist/src/models/cessionario-committente.js +0 -15
  186. package/dist/src/models/codice-articolo.d.ts +0 -15
  187. package/dist/src/models/codice-articolo.js +0 -15
  188. package/dist/src/models/contatti-trasmittente.d.ts +0 -15
  189. package/dist/src/models/contatti-trasmittente.js +0 -15
  190. package/dist/src/models/contatti.d.ts +0 -16
  191. package/dist/src/models/contatti.js +0 -15
  192. package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -23
  193. package/dist/src/models/dati-anagrafici-cedente-prestatore.js +0 -15
  194. package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -18
  195. package/dist/src/models/dati-anagrafici-cessionario-committente.js +0 -15
  196. package/dist/src/models/dati-anagrafici-vettore.d.ts +0 -19
  197. package/dist/src/models/dati-anagrafici-vettore.js +0 -15
  198. package/dist/src/models/dati-anagrafici.d.ts +0 -18
  199. package/dist/src/models/dati-anagrafici.js +0 -15
  200. package/dist/src/models/dati-beni-servizi.d.ts +0 -17
  201. package/dist/src/models/dati-beni-servizi.js +0 -15
  202. package/dist/src/models/dati-bollo.d.ts +0 -15
  203. package/dist/src/models/dati-bollo.js +0 -15
  204. package/dist/src/models/dati-cassa-previdenziale.d.ts +0 -21
  205. package/dist/src/models/dati-cassa-previdenziale.js +0 -15
  206. package/dist/src/models/dati-contratto.d.ts +0 -20
  207. package/dist/src/models/dati-contratto.js +0 -15
  208. package/dist/src/models/dati-convenzione.d.ts +0 -20
  209. package/dist/src/models/dati-convenzione.js +0 -15
  210. package/dist/src/models/dati-ddt.d.ts +0 -16
  211. package/dist/src/models/dati-ddt.js +0 -15
  212. package/dist/src/models/dati-fatture-collegate.d.ts +0 -20
  213. package/dist/src/models/dati-fatture-collegate.js +0 -15
  214. package/dist/src/models/dati-generali-documento.d.ts +0 -29
  215. package/dist/src/models/dati-generali-documento.js +0 -15
  216. package/dist/src/models/dati-generali.d.ts +0 -33
  217. package/dist/src/models/dati-generali.js +0 -15
  218. package/dist/src/models/dati-ordine-acquisto.d.ts +0 -20
  219. package/dist/src/models/dati-ordine-acquisto.js +0 -15
  220. package/dist/src/models/dati-pagamento.d.ts +0 -16
  221. package/dist/src/models/dati-pagamento.js +0 -15
  222. package/dist/src/models/dati-ricezione.d.ts +0 -20
  223. package/dist/src/models/dati-ricezione.js +0 -15
  224. package/dist/src/models/dati-riepilogo.d.ts +0 -21
  225. package/dist/src/models/dati-riepilogo.js +0 -15
  226. package/dist/src/models/dati-ritenuta.d.ts +0 -17
  227. package/dist/src/models/dati-ritenuta.js +0 -15
  228. package/dist/src/models/dati-sal.d.ts +0 -14
  229. package/dist/src/models/dati-sal.js +0 -15
  230. package/dist/src/models/dati-trasmissione.d.ts +0 -21
  231. package/dist/src/models/dati-trasmissione.js +0 -15
  232. package/dist/src/models/dati-trasporto.d.ts +0 -28
  233. package/dist/src/models/dati-trasporto.js +0 -15
  234. package/dist/src/models/dati-veicoli.d.ts +0 -15
  235. package/dist/src/models/dati-veicoli.js +0 -15
  236. package/dist/src/models/dettaglio-linee.d.ts +0 -32
  237. package/dist/src/models/dettaglio-linee.js +0 -15
  238. package/dist/src/models/dettaglio-pagamento.d.ts +0 -34
  239. package/dist/src/models/dettaglio-pagamento.js +0 -15
  240. package/dist/src/models/fattura-elettronica-body.d.ts +0 -23
  241. package/dist/src/models/fattura-elettronica-body.js +0 -15
  242. package/dist/src/models/fattura-elettronica-header.d.ts +0 -24
  243. package/dist/src/models/fattura-elettronica-header.js +0 -15
  244. package/dist/src/models/fattura-ordinaria.d.ts +0 -18
  245. package/dist/src/models/fattura-ordinaria.js +0 -15
  246. package/dist/src/models/fattura-principale.d.ts +0 -15
  247. package/dist/src/models/fattura-principale.js +0 -15
  248. package/dist/src/models/id-fiscale-iva.d.ts +0 -15
  249. package/dist/src/models/id-fiscale-iva.js +0 -15
  250. package/dist/src/models/id-trasmittente.d.ts +0 -15
  251. package/dist/src/models/id-trasmittente.js +0 -15
  252. package/dist/src/models/indirizzo-resa.d.ts +0 -19
  253. package/dist/src/models/indirizzo-resa.js +0 -15
  254. package/dist/src/models/iscrizione-rea.d.ts +0 -18
  255. package/dist/src/models/iscrizione-rea.js +0 -15
  256. package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -18
  257. package/dist/src/models/rappresentante-fiscale-cessionario-committente.js +0 -15
  258. package/dist/src/models/rappresentante-fiscale.d.ts +0 -15
  259. package/dist/src/models/rappresentante-fiscale.js +0 -15
  260. package/dist/src/models/sconto-maggiorazione.d.ts +0 -16
  261. package/dist/src/models/sconto-maggiorazione.js +0 -15
  262. package/dist/src/models/sede-cedente-prestatore.d.ts +0 -19
  263. package/dist/src/models/sede-cedente-prestatore.js +0 -15
  264. package/dist/src/models/sede-cessionario-committente.d.ts +0 -19
  265. package/dist/src/models/sede-cessionario-committente.js +0 -15
  266. package/dist/src/models/stabile-organizzazione.d.ts +0 -19
  267. package/dist/src/models/stabile-organizzazione.js +0 -15
  268. package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -15
  269. package/dist/src/models/terzo-intermediario-osoggetto-emittente.js +0 -15
  270. package/docs/Allegati.md +0 -28
  271. package/docs/AltriDatiGestionali.md +0 -26
  272. package/docs/Anagrafica.md +0 -28
  273. package/docs/CedentePrestatore.md +0 -30
  274. package/docs/CessionarioCommittente.md +0 -26
  275. package/docs/CodiceArticolo.md +0 -22
  276. package/docs/Contatti.md +0 -24
  277. package/docs/ContattiTrasmittente.md +0 -22
  278. package/docs/DatiAnagrafici.md +0 -24
  279. package/docs/DatiAnagraficiCedentePrestatore.md +0 -34
  280. package/docs/DatiAnagraficiCessionarioCommittente.md +0 -24
  281. package/docs/DatiAnagraficiVettore.md +0 -26
  282. package/docs/DatiBeniServizi.md +0 -22
  283. package/docs/DatiBollo.md +0 -22
  284. package/docs/DatiCassaPrevidenziale.md +0 -34
  285. package/docs/DatiContratto.md +0 -32
  286. package/docs/DatiConvenzione.md +0 -32
  287. package/docs/DatiDDT.md +0 -24
  288. package/docs/DatiFattureCollegate.md +0 -32
  289. package/docs/DatiGenerali.md +0 -38
  290. package/docs/DatiGeneraliDocumento.md +0 -42
  291. package/docs/DatiOrdineAcquisto.md +0 -32
  292. package/docs/DatiPagamento.md +0 -22
  293. package/docs/DatiRicezione.md +0 -32
  294. package/docs/DatiRiepilogo.md +0 -34
  295. package/docs/DatiRitenuta.md +0 -26
  296. package/docs/DatiSAL.md +0 -20
  297. package/docs/DatiTrasmissione.md +0 -30
  298. package/docs/DatiTrasporto.md +0 -44
  299. package/docs/DatiVeicoli.md +0 -22
  300. package/docs/DettaglioLinee.md +0 -50
  301. package/docs/DettaglioPagamento.md +0 -60
  302. package/docs/FatturaElettronicaBody.md +0 -28
  303. package/docs/FatturaElettronicaHeader.md +0 -30
  304. package/docs/FatturaOrdinaria.md +0 -24
  305. package/docs/FatturaPrincipale.md +0 -22
  306. package/docs/IdFiscaleIVA.md +0 -22
  307. package/docs/IdTrasmittente.md +0 -22
  308. package/docs/IndirizzoResa.md +0 -30
  309. package/docs/IscrizioneREA.md +0 -28
  310. package/docs/RappresentanteFiscale.md +0 -20
  311. package/docs/RappresentanteFiscaleCessionarioCommittente.md +0 -26
  312. package/docs/ScontoMaggiorazione.md +0 -24
  313. package/docs/SedeCedentePrestatore.md +0 -30
  314. package/docs/SedeCessionarioCommittente.md +0 -30
  315. package/docs/StabileOrganizzazione.md +0 -30
  316. package/docs/TerzoIntermediarioOSoggettoEmittente.md +0 -20
  317. package/src/models/allegati.ts +0 -24
  318. package/src/models/altri-dati-gestionali.ts +0 -23
  319. package/src/models/anagrafica.ts +0 -24
  320. package/src/models/cedente-prestatore.ts +0 -40
  321. package/src/models/cessionario-committente.ts +0 -35
  322. package/src/models/codice-articolo.ts +0 -21
  323. package/src/models/contatti-trasmittente.ts +0 -21
  324. package/src/models/contatti.ts +0 -22
  325. package/src/models/dati-anagrafici-cedente-prestatore.ts +0 -33
  326. package/src/models/dati-anagrafici-cessionario-committente.ts +0 -28
  327. package/src/models/dati-anagrafici-vettore.ts +0 -29
  328. package/src/models/dati-anagrafici.ts +0 -28
  329. package/src/models/dati-beni-servizi.ts +0 -27
  330. package/src/models/dati-bollo.ts +0 -21
  331. package/src/models/dati-cassa-previdenziale.ts +0 -27
  332. package/src/models/dati-contratto.ts +0 -26
  333. package/src/models/dati-convenzione.ts +0 -26
  334. package/src/models/dati-ddt.ts +0 -22
  335. package/src/models/dati-fatture-collegate.ts +0 -26
  336. package/src/models/dati-generali-documento.ts +0 -43
  337. package/src/models/dati-generali.ts +0 -59
  338. package/src/models/dati-ordine-acquisto.ts +0 -26
  339. package/src/models/dati-pagamento.ts +0 -24
  340. package/src/models/dati-ricezione.ts +0 -26
  341. package/src/models/dati-riepilogo.ts +0 -27
  342. package/src/models/dati-ritenuta.ts +0 -23
  343. package/src/models/dati-sal.ts +0 -20
  344. package/src/models/dati-trasmissione.ts +0 -31
  345. package/src/models/dati-trasporto.ts +0 -38
  346. package/src/models/dati-veicoli.ts +0 -21
  347. package/src/models/dettaglio-linee.ts +0 -44
  348. package/src/models/dettaglio-pagamento.ts +0 -40
  349. package/src/models/fattura-elettronica-body.ts +0 -39
  350. package/src/models/fattura-elettronica-header.ts +0 -40
  351. package/src/models/fattura-ordinaria.ts +0 -28
  352. package/src/models/fattura-principale.ts +0 -21
  353. package/src/models/id-fiscale-iva.ts +0 -21
  354. package/src/models/id-trasmittente.ts +0 -21
  355. package/src/models/indirizzo-resa.ts +0 -25
  356. package/src/models/iscrizione-rea.ts +0 -24
  357. package/src/models/rappresentante-fiscale-cessionario-committente.ts +0 -26
  358. package/src/models/rappresentante-fiscale.ts +0 -23
  359. package/src/models/sconto-maggiorazione.ts +0 -22
  360. package/src/models/sede-cedente-prestatore.ts +0 -25
  361. package/src/models/sede-cessionario-committente.ts +0 -25
  362. package/src/models/stabile-organizzazione.ts +0 -25
  363. package/src/models/terzo-intermediario-osoggetto-emittente.ts +0 -23
@@ -36,15 +36,16 @@ import type { ProblemHttpResult } from '../../src/models';
36
36
  export const CompanyApiAxiosParamCreator = function (configuration?: Configuration) {
37
37
  return {
38
38
  /**
39
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
39
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
40
40
  * @summary List companies
41
41
  * @param {number} [page] Page number.
42
42
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
43
43
  * @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
44
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
44
45
  * @param {*} [options] Override http request option.
45
46
  * @throws {RequiredError}
46
47
  */
47
- companyGet: async (page?: number, pageSize?: number, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48
+ companyGet: async (page?: number, pageSize?: number, sort?: string, q?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48
49
  const localVarPath = `/company`;
49
50
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
51
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -73,6 +74,10 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
73
74
  localVarQueryParameter['sort'] = sort;
74
75
  }
75
76
 
77
+ if (q !== undefined) {
78
+ localVarQueryParameter['q'] = q;
79
+ }
80
+
76
81
  localVarHeaderParameter['Accept'] = 'application/json';
77
82
 
78
83
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -238,6 +243,44 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
238
243
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
239
244
  localVarRequestOptions.data = serializeDataIfNeeded(company, localVarRequestOptions, configuration)
240
245
 
246
+ return {
247
+ url: toPathString(localVarUrlObj),
248
+ options: localVarRequestOptions,
249
+ };
250
+ },
251
+ /**
252
+ * Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
253
+ * @summary Get a company by vat number
254
+ * @param {string} vat
255
+ * @param {*} [options] Override http request option.
256
+ * @throws {RequiredError}
257
+ */
258
+ companyVatGet: async (vat: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
259
+ // verify required parameter 'vat' is not null or undefined
260
+ assertParamExists('companyVatGet', 'vat', vat)
261
+ const localVarPath = `/company/{vat}`
262
+ .replace(`{${"vat"}}`, encodeURIComponent(String(vat)));
263
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
264
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
265
+ let baseOptions;
266
+ if (configuration) {
267
+ baseOptions = configuration.baseOptions;
268
+ }
269
+
270
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
271
+ const localVarHeaderParameter = {} as any;
272
+ const localVarQueryParameter = {} as any;
273
+
274
+ // authentication Basic required
275
+ // http basic authentication required
276
+ setBasicAuthToObject(localVarRequestOptions, configuration)
277
+
278
+ localVarHeaderParameter['Accept'] = 'application/json';
279
+
280
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
281
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
283
+
241
284
  return {
242
285
  url: toPathString(localVarUrlObj),
243
286
  options: localVarRequestOptions,
@@ -253,16 +296,17 @@ export const CompanyApiFp = function(configuration?: Configuration) {
253
296
  const localVarAxiosParamCreator = CompanyApiAxiosParamCreator(configuration)
254
297
  return {
255
298
  /**
256
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
299
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
257
300
  * @summary List companies
258
301
  * @param {number} [page] Page number.
259
302
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
260
303
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
304
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
261
305
  * @param {*} [options] Override http request option.
262
306
  * @throws {RequiredError}
263
307
  */
264
- async companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Company>>> {
265
- const localVarAxiosArgs = await localVarAxiosParamCreator.companyGet(page, pageSize, sort, options);
308
+ async companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Company>>> {
309
+ const localVarAxiosArgs = await localVarAxiosParamCreator.companyGet(page, pageSize, sort, q, options);
266
310
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
267
311
  const localVarOperationServerBasePath = operationServerMap['CompanyApi.companyGet']?.[localVarOperationServerIndex]?.url;
268
312
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -320,6 +364,19 @@ export const CompanyApiFp = function(configuration?: Configuration) {
320
364
  const localVarOperationServerBasePath = operationServerMap['CompanyApi.companyPut']?.[localVarOperationServerIndex]?.url;
321
365
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
322
366
  },
367
+ /**
368
+ * Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
369
+ * @summary Get a company by vat number
370
+ * @param {string} vat
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ async companyVatGet(vat: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Company>> {
375
+ const localVarAxiosArgs = await localVarAxiosParamCreator.companyVatGet(vat, options);
376
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
377
+ const localVarOperationServerBasePath = operationServerMap['CompanyApi.companyVatGet']?.[localVarOperationServerIndex]?.url;
378
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
379
+ },
323
380
  }
324
381
  };
325
382
 
@@ -330,16 +387,17 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
330
387
  const localVarFp = CompanyApiFp(configuration)
331
388
  return {
332
389
  /**
333
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
390
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
334
391
  * @summary List companies
335
392
  * @param {number} [page] Page number.
336
393
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
337
394
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
395
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
338
396
  * @param {*} [options] Override http request option.
339
397
  * @throws {RequiredError}
340
398
  */
341
- companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>> {
342
- return localVarFp.companyGet(page, pageSize, sort, options).then((request) => request(axios, basePath));
399
+ companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>> {
400
+ return localVarFp.companyGet(page, pageSize, sort, q, options).then((request) => request(axios, basePath));
343
401
  },
344
402
  /**
345
403
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
@@ -382,6 +440,16 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
382
440
  companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company> {
383
441
  return localVarFp.companyPut(company, options).then((request) => request(axios, basePath));
384
442
  },
443
+ /**
444
+ * Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
445
+ * @summary Get a company by vat number
446
+ * @param {string} vat
447
+ * @param {*} [options] Override http request option.
448
+ * @throws {RequiredError}
449
+ */
450
+ companyVatGet(vat: string, options?: RawAxiosRequestConfig): AxiosPromise<Company> {
451
+ return localVarFp.companyVatGet(vat, options).then((request) => request(axios, basePath));
452
+ },
385
453
  };
386
454
  };
387
455
 
@@ -390,15 +458,16 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
390
458
  */
391
459
  export interface CompanyApiInterface {
392
460
  /**
393
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
461
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
394
462
  * @summary List companies
395
463
  * @param {number} [page] Page number.
396
464
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
397
465
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
466
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
398
467
  * @param {*} [options] Override http request option.
399
468
  * @throws {RequiredError}
400
469
  */
401
- companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
470
+ companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
402
471
 
403
472
  /**
404
473
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
@@ -437,6 +506,15 @@ export interface CompanyApiInterface {
437
506
  */
438
507
  companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
439
508
 
509
+ /**
510
+ * Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
511
+ * @summary Get a company by vat number
512
+ * @param {string} vat
513
+ * @param {*} [options] Override http request option.
514
+ * @throws {RequiredError}
515
+ */
516
+ companyVatGet(vat: string, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
517
+
440
518
  }
441
519
 
442
520
  /**
@@ -444,16 +522,17 @@ export interface CompanyApiInterface {
444
522
  */
445
523
  export class CompanyApi extends BaseAPI implements CompanyApiInterface {
446
524
  /**
447
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
525
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
448
526
  * @summary List companies
449
527
  * @param {number} [page] Page number.
450
528
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
451
529
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
530
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
452
531
  * @param {*} [options] Override http request option.
453
532
  * @throws {RequiredError}
454
533
  */
455
- public companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) {
456
- return CompanyApiFp(this.configuration).companyGet(page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
534
+ public companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig) {
535
+ return CompanyApiFp(this.configuration).companyGet(page, pageSize, sort, q, options).then((request) => request(this.axios, this.basePath));
457
536
  }
458
537
 
459
538
  /**
@@ -500,5 +579,16 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
500
579
  public companyPut(company: Company, options?: RawAxiosRequestConfig) {
501
580
  return CompanyApiFp(this.configuration).companyPut(company, options).then((request) => request(this.axios, this.basePath));
502
581
  }
582
+
583
+ /**
584
+ * Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
585
+ * @summary Get a company by vat number
586
+ * @param {string} vat
587
+ * @param {*} [options] Override http request option.
588
+ * @throws {RequiredError}
589
+ */
590
+ public companyVatGet(vat: string, options?: RawAxiosRequestConfig) {
591
+ return CompanyApiFp(this.configuration).companyVatGet(vat, options).then((request) => request(this.axios, this.basePath));
592
+ }
503
593
  }
504
594
 
@@ -34,7 +34,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
34
34
  /**
35
35
  * Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
36
36
  * @summary Export invoices as a ZIP archive
37
- * @param {ExportGetTypeEnum} [type]
37
+ * @param {string} [type]
38
38
  * @param {number} [companyId] Company id
39
39
  * @param {number} [year]
40
40
  * @param {number} [month]
@@ -44,7 +44,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
44
44
  * @param {*} [options] Override http request option.
45
45
  * @throws {RequiredError}
46
46
  */
47
- exportGet: async (type?: ExportGetTypeEnum, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
47
+ exportGet: async (type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48
48
  const localVarPath = `/export`;
49
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
50
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -116,7 +116,7 @@ export const ExportApiFp = function(configuration?: Configuration) {
116
116
  /**
117
117
  * Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
118
118
  * @summary Export invoices as a ZIP archive
119
- * @param {ExportGetTypeEnum} [type]
119
+ * @param {string} [type]
120
120
  * @param {number} [companyId] Company id
121
121
  * @param {number} [year]
122
122
  * @param {number} [month]
@@ -126,7 +126,7 @@ export const ExportApiFp = function(configuration?: Configuration) {
126
126
  * @param {*} [options] Override http request option.
127
127
  * @throws {RequiredError}
128
128
  */
129
- async exportGet(type?: ExportGetTypeEnum, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
129
+ async exportGet(type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
130
130
  const localVarAxiosArgs = await localVarAxiosParamCreator.exportGet(type, companyId, year, month, quarter, documentDateFrom, documentDateTo, options);
131
131
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
132
132
  const localVarOperationServerBasePath = operationServerMap['ExportApi.exportGet']?.[localVarOperationServerIndex]?.url;
@@ -144,7 +144,7 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
144
144
  /**
145
145
  * Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
146
146
  * @summary Export invoices as a ZIP archive
147
- * @param {ExportGetTypeEnum} [type]
147
+ * @param {string} [type]
148
148
  * @param {number} [companyId] Company id
149
149
  * @param {number} [year]
150
150
  * @param {number} [month]
@@ -154,7 +154,7 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
156
156
  */
157
- exportGet(type?: ExportGetTypeEnum, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
157
+ exportGet(type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
158
158
  return localVarFp.exportGet(type, companyId, year, month, quarter, documentDateFrom, documentDateTo, options).then((request) => request(axios, basePath));
159
159
  },
160
160
  };
@@ -167,7 +167,7 @@ export interface ExportApiInterface {
167
167
  /**
168
168
  * Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
169
169
  * @summary Export invoices as a ZIP archive
170
- * @param {ExportGetTypeEnum} [type]
170
+ * @param {string} [type]
171
171
  * @param {number} [companyId] Company id
172
172
  * @param {number} [year]
173
173
  * @param {number} [month]
@@ -177,7 +177,7 @@ export interface ExportApiInterface {
177
177
  * @param {*} [options] Override http request option.
178
178
  * @throws {RequiredError}
179
179
  */
180
- exportGet(type?: ExportGetTypeEnum, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
180
+ exportGet(type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
181
181
 
182
182
  }
183
183
 
@@ -188,7 +188,7 @@ export class ExportApi extends BaseAPI implements ExportApiInterface {
188
188
  /**
189
189
  * Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
190
190
  * @summary Export invoices as a ZIP archive
191
- * @param {ExportGetTypeEnum} [type]
191
+ * @param {string} [type]
192
192
  * @param {number} [companyId] Company id
193
193
  * @param {number} [year]
194
194
  * @param {number} [month]
@@ -198,14 +198,8 @@ export class ExportApi extends BaseAPI implements ExportApiInterface {
198
198
  * @param {*} [options] Override http request option.
199
199
  * @throws {RequiredError}
200
200
  */
201
- public exportGet(type?: ExportGetTypeEnum, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig) {
201
+ public exportGet(type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig) {
202
202
  return ExportApiFp(this.configuration).exportGet(type, companyId, year, month, quarter, documentDateFrom, documentDateTo, options).then((request) => request(this.axios, this.basePath));
203
203
  }
204
204
  }
205
205
 
206
- export const ExportGetTypeEnum = {
207
- Send: 'Send',
208
- Receive: 'Receive',
209
- Both: 'Both'
210
- } as const;
211
- export type ExportGetTypeEnum = typeof ExportGetTypeEnum[keyof typeof ExportGetTypeEnum];
@@ -0,0 +1,135 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Invoicetronic API
5
+ * The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
6
+ *
7
+ * The version of the OpenAPI document: 1
8
+ * Contact: info@invoicetronic.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from '../../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // URLSearchParams not necessarily used
20
+ // @ts-ignore
21
+ import { URL, URLSearchParams } from 'url';
22
+ // Some imports not used depending on template conditions
23
+ // @ts-ignore
24
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../../common';
25
+ // @ts-ignore
26
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
27
+ /**
28
+ * HealthApi - axios parameter creator
29
+ */
30
+ export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
31
+ return {
32
+ /**
33
+ * Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
34
+ * @summary Health check
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ healthGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
39
+ const localVarPath = `/health`;
40
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42
+ let baseOptions;
43
+ if (configuration) {
44
+ baseOptions = configuration.baseOptions;
45
+ }
46
+
47
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
48
+ const localVarHeaderParameter = {} as any;
49
+ const localVarQueryParameter = {} as any;
50
+
51
+ // authentication Basic required
52
+ // http basic authentication required
53
+ setBasicAuthToObject(localVarRequestOptions, configuration)
54
+
55
+
56
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
59
+
60
+ return {
61
+ url: toPathString(localVarUrlObj),
62
+ options: localVarRequestOptions,
63
+ };
64
+ },
65
+ }
66
+ };
67
+
68
+ /**
69
+ * HealthApi - functional programming interface
70
+ */
71
+ export const HealthApiFp = function(configuration?: Configuration) {
72
+ const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
73
+ return {
74
+ /**
75
+ * Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
76
+ * @summary Health check
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ async healthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
81
+ const localVarAxiosArgs = await localVarAxiosParamCreator.healthGet(options);
82
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
83
+ const localVarOperationServerBasePath = operationServerMap['HealthApi.healthGet']?.[localVarOperationServerIndex]?.url;
84
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85
+ },
86
+ }
87
+ };
88
+
89
+ /**
90
+ * HealthApi - factory interface
91
+ */
92
+ export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
+ const localVarFp = HealthApiFp(configuration)
94
+ return {
95
+ /**
96
+ * Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
97
+ * @summary Health check
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ healthGet(options?: RawAxiosRequestConfig): AxiosPromise<void> {
102
+ return localVarFp.healthGet(options).then((request) => request(axios, basePath));
103
+ },
104
+ };
105
+ };
106
+
107
+ /**
108
+ * HealthApi - interface
109
+ */
110
+ export interface HealthApiInterface {
111
+ /**
112
+ * Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
113
+ * @summary Health check
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ healthGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
118
+
119
+ }
120
+
121
+ /**
122
+ * HealthApi - object-oriented interface
123
+ */
124
+ export class HealthApi extends BaseAPI implements HealthApiInterface {
125
+ /**
126
+ * Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
127
+ * @summary Health check
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ */
131
+ public healthGet(options?: RawAxiosRequestConfig) {
132
+ return HealthApiFp(this.configuration).healthGet(options).then((request) => request(this.axios, this.basePath));
133
+ }
134
+ }
135
+