@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
@@ -25,6 +25,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
27
27
  // @ts-ignore
28
+ import type { ProblemDetails } from '../../src/models';
29
+ // @ts-ignore
28
30
  import type { ProblemHttpResult } from '../../src/models';
29
31
  // @ts-ignore
30
32
  import type { Receive } from '../../src/models';
@@ -34,7 +36,7 @@ import type { Receive } from '../../src/models';
34
36
  export const ReceiveApiAxiosParamCreator = function (configuration?: Configuration) {
35
37
  return {
36
38
  /**
37
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
39
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
38
40
  * @summary List incoming invoices
39
41
  * @param {number} [companyId] Company id
40
42
  * @param {string} [identifier] SDI identifier.
@@ -53,10 +55,11 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
53
55
  * @param {number} [page] Page number.
54
56
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
55
57
  * @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
58
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
56
59
  * @param {*} [options] Override http request option.
57
60
  * @throws {RequiredError}
58
61
  */
59
- receiveGet: async (companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62
+ receiveGet: async (companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, q?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
60
63
  const localVarPath = `/receive`;
61
64
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
62
65
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -153,6 +156,10 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
153
156
  localVarQueryParameter['sort'] = sort;
154
157
  }
155
158
 
159
+ if (q !== undefined) {
160
+ localVarQueryParameter['q'] = q;
161
+ }
162
+
156
163
  localVarHeaderParameter['Accept'] = 'application/json';
157
164
 
158
165
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -240,6 +247,44 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
240
247
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
241
248
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
242
249
 
250
+ return {
251
+ url: toPathString(localVarUrlObj),
252
+ options: localVarRequestOptions,
253
+ };
254
+ },
255
+ /**
256
+ * Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
257
+ * @summary Get a receive invoice payload by id
258
+ * @param {number} id Item id
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ receiveIdPayloadGet: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
263
+ // verify required parameter 'id' is not null or undefined
264
+ assertParamExists('receiveIdPayloadGet', 'id', id)
265
+ const localVarPath = `/receive/{id}/payload`
266
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
267
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
268
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
269
+ let baseOptions;
270
+ if (configuration) {
271
+ baseOptions = configuration.baseOptions;
272
+ }
273
+
274
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
275
+ const localVarHeaderParameter = {} as any;
276
+ const localVarQueryParameter = {} as any;
277
+
278
+ // authentication Basic required
279
+ // http basic authentication required
280
+ setBasicAuthToObject(localVarRequestOptions, configuration)
281
+
282
+ localVarHeaderParameter['Accept'] = 'application/problem+json';
283
+
284
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
285
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
286
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
287
+
243
288
  return {
244
289
  url: toPathString(localVarUrlObj),
245
290
  options: localVarRequestOptions,
@@ -255,7 +300,7 @@ export const ReceiveApiFp = function(configuration?: Configuration) {
255
300
  const localVarAxiosParamCreator = ReceiveApiAxiosParamCreator(configuration)
256
301
  return {
257
302
  /**
258
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
303
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
259
304
  * @summary List incoming invoices
260
305
  * @param {number} [companyId] Company id
261
306
  * @param {string} [identifier] SDI identifier.
@@ -274,11 +319,12 @@ export const ReceiveApiFp = function(configuration?: Configuration) {
274
319
  * @param {number} [page] Page number.
275
320
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
276
321
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
322
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
277
323
  * @param {*} [options] Override http request option.
278
324
  * @throws {RequiredError}
279
325
  */
280
- async receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Receive>>> {
281
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options);
326
+ async receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Receive>>> {
327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options);
282
328
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
283
329
  const localVarOperationServerBasePath = operationServerMap['ReceiveApi.receiveGet']?.[localVarOperationServerIndex]?.url;
284
330
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -310,6 +356,19 @@ export const ReceiveApiFp = function(configuration?: Configuration) {
310
356
  const localVarOperationServerBasePath = operationServerMap['ReceiveApi.receiveIdGet']?.[localVarOperationServerIndex]?.url;
311
357
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
312
358
  },
359
+ /**
360
+ * Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
361
+ * @summary Get a receive invoice payload by id
362
+ * @param {number} id Item id
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ async receiveIdPayloadGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiveIdPayloadGet(id, options);
368
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
369
+ const localVarOperationServerBasePath = operationServerMap['ReceiveApi.receiveIdPayloadGet']?.[localVarOperationServerIndex]?.url;
370
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
371
+ },
313
372
  }
314
373
  };
315
374
 
@@ -320,7 +379,7 @@ export const ReceiveApiFactory = function (configuration?: Configuration, basePa
320
379
  const localVarFp = ReceiveApiFp(configuration)
321
380
  return {
322
381
  /**
323
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
382
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
324
383
  * @summary List incoming invoices
325
384
  * @param {number} [companyId] Company id
326
385
  * @param {string} [identifier] SDI identifier.
@@ -339,11 +398,12 @@ export const ReceiveApiFactory = function (configuration?: Configuration, basePa
339
398
  * @param {number} [page] Page number.
340
399
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
341
400
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
401
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
342
402
  * @param {*} [options] Override http request option.
343
403
  * @throws {RequiredError}
344
404
  */
345
- receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>> {
346
- return localVarFp.receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(axios, basePath));
405
+ receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>> {
406
+ return localVarFp.receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options).then((request) => request(axios, basePath));
347
407
  },
348
408
  /**
349
409
  * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
@@ -366,6 +426,16 @@ export const ReceiveApiFactory = function (configuration?: Configuration, basePa
366
426
  receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive> {
367
427
  return localVarFp.receiveIdGet(id, includePayload, options).then((request) => request(axios, basePath));
368
428
  },
429
+ /**
430
+ * Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
431
+ * @summary Get a receive invoice payload by id
432
+ * @param {number} id Item id
433
+ * @param {*} [options] Override http request option.
434
+ * @throws {RequiredError}
435
+ */
436
+ receiveIdPayloadGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
437
+ return localVarFp.receiveIdPayloadGet(id, options).then((request) => request(axios, basePath));
438
+ },
369
439
  };
370
440
  };
371
441
 
@@ -374,7 +444,7 @@ export const ReceiveApiFactory = function (configuration?: Configuration, basePa
374
444
  */
375
445
  export interface ReceiveApiInterface {
376
446
  /**
377
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
447
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
378
448
  * @summary List incoming invoices
379
449
  * @param {number} [companyId] Company id
380
450
  * @param {string} [identifier] SDI identifier.
@@ -393,10 +463,11 @@ export interface ReceiveApiInterface {
393
463
  * @param {number} [page] Page number.
394
464
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
395
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.
396
467
  * @param {*} [options] Override http request option.
397
468
  * @throws {RequiredError}
398
469
  */
399
- receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>>;
470
+ receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>>;
400
471
 
401
472
  /**
402
473
  * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
@@ -417,6 +488,15 @@ export interface ReceiveApiInterface {
417
488
  */
418
489
  receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
419
490
 
491
+ /**
492
+ * Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
493
+ * @summary Get a receive invoice payload by id
494
+ * @param {number} id Item id
495
+ * @param {*} [options] Override http request option.
496
+ * @throws {RequiredError}
497
+ */
498
+ receiveIdPayloadGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
499
+
420
500
  }
421
501
 
422
502
  /**
@@ -424,7 +504,7 @@ export interface ReceiveApiInterface {
424
504
  */
425
505
  export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
426
506
  /**
427
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
507
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
428
508
  * @summary List incoming invoices
429
509
  * @param {number} [companyId] Company id
430
510
  * @param {string} [identifier] SDI identifier.
@@ -443,11 +523,12 @@ export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
443
523
  * @param {number} [page] Page number.
444
524
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
445
525
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
526
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
446
527
  * @param {*} [options] Override http request option.
447
528
  * @throws {RequiredError}
448
529
  */
449
- public receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) {
450
- return ReceiveApiFp(this.configuration).receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
530
+ public receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig) {
531
+ return ReceiveApiFp(this.configuration).receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options).then((request) => request(this.axios, this.basePath));
451
532
  }
452
533
 
453
534
  /**
@@ -472,5 +553,16 @@ export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
472
553
  public receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig) {
473
554
  return ReceiveApiFp(this.configuration).receiveIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
474
555
  }
556
+
557
+ /**
558
+ * Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
559
+ * @summary Get a receive invoice payload by id
560
+ * @param {number} id Item id
561
+ * @param {*} [options] Override http request option.
562
+ * @throws {RequiredError}
563
+ */
564
+ public receiveIdPayloadGet(id: number, options?: RawAxiosRequestConfig) {
565
+ return ReceiveApiFp(this.configuration).receiveIdPayloadGet(id, options).then((request) => request(this.axios, this.basePath));
566
+ }
475
567
  }
476
568