@invoicetronic/ts-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +58 -0
- package/LICENSE +21 -0
- package/README.md +55 -0
- package/api.ts +24 -0
- package/base.ts +86 -0
- package/common.ts +151 -0
- package/configuration.ts +116 -0
- package/dist/api.d.ts +18 -0
- package/dist/api.js +36 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +66 -0
- package/dist/common.js +162 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +18 -0
- package/dist/esm/api.js +20 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +66 -0
- package/dist/esm/common.js +150 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/src/api/company-api.d.ts +268 -0
- package/dist/esm/src/api/company-api.js +426 -0
- package/dist/esm/src/api/log-api.d.ts +197 -0
- package/dist/esm/src/api/log-api.js +302 -0
- package/dist/esm/src/api/receive-api.d.ts +259 -0
- package/dist/esm/src/api/receive-api.js +403 -0
- package/dist/esm/src/api/send-api.d.ts +676 -0
- package/dist/esm/src/api/send-api.js +1063 -0
- package/dist/esm/src/api/status-api.d.ts +85 -0
- package/dist/esm/src/api/status-api.js +127 -0
- package/dist/esm/src/api/update-api.d.ts +207 -0
- package/dist/esm/src/api/update-api.js +309 -0
- package/dist/esm/src/api/webhook-api.d.ts +393 -0
- package/dist/esm/src/api/webhook-api.js +620 -0
- package/dist/esm/src/models/allegati.d.ts +48 -0
- package/dist/esm/src/models/allegati.js +14 -0
- package/dist/esm/src/models/altri-dati-gestionali.d.ts +42 -0
- package/dist/esm/src/models/altri-dati-gestionali.js +14 -0
- package/dist/esm/src/models/anagrafica.d.ts +48 -0
- package/dist/esm/src/models/anagrafica.js +14 -0
- package/dist/esm/src/models/cedente-prestatore.d.ts +59 -0
- package/dist/esm/src/models/cedente-prestatore.js +14 -0
- package/dist/esm/src/models/cessionario-committente.d.ts +46 -0
- package/dist/esm/src/models/cessionario-committente.js +14 -0
- package/dist/esm/src/models/codice-articolo.d.ts +30 -0
- package/dist/esm/src/models/codice-articolo.js +14 -0
- package/dist/esm/src/models/company.d.ts +60 -0
- package/dist/esm/src/models/company.js +14 -0
- package/dist/esm/src/models/contatti-trasmittente.d.ts +30 -0
- package/dist/esm/src/models/contatti-trasmittente.js +14 -0
- package/dist/esm/src/models/contatti.d.ts +36 -0
- package/dist/esm/src/models/contatti.js +14 -0
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +68 -0
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.js +14 -0
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +38 -0
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.js +14 -0
- package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +44 -0
- package/dist/esm/src/models/dati-anagrafici-vettore.js +14 -0
- package/dist/esm/src/models/dati-anagrafici.d.ts +38 -0
- package/dist/esm/src/models/dati-anagrafici.js +14 -0
- package/dist/esm/src/models/dati-beni-servizi.d.ts +32 -0
- package/dist/esm/src/models/dati-beni-servizi.js +14 -0
- package/dist/esm/src/models/dati-bollo.d.ts +30 -0
- package/dist/esm/src/models/dati-bollo.js +14 -0
- package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +66 -0
- package/dist/esm/src/models/dati-cassa-previdenziale.js +14 -0
- package/dist/esm/src/models/dati-contratto.d.ts +60 -0
- package/dist/esm/src/models/dati-contratto.js +14 -0
- package/dist/esm/src/models/dati-convenzione.d.ts +60 -0
- package/dist/esm/src/models/dati-convenzione.js +14 -0
- package/dist/esm/src/models/dati-ddt.d.ts +36 -0
- package/dist/esm/src/models/dati-ddt.js +14 -0
- package/dist/esm/src/models/dati-fatture-collegate.d.ts +60 -0
- package/dist/esm/src/models/dati-fatture-collegate.js +14 -0
- package/dist/esm/src/models/dati-generali-documento.d.ts +94 -0
- package/dist/esm/src/models/dati-generali-documento.js +14 -0
- package/dist/esm/src/models/dati-generali.d.ts +88 -0
- package/dist/esm/src/models/dati-generali.js +14 -0
- package/dist/esm/src/models/dati-ordine-acquisto.d.ts +60 -0
- package/dist/esm/src/models/dati-ordine-acquisto.js +14 -0
- package/dist/esm/src/models/dati-pagamento.d.ts +31 -0
- package/dist/esm/src/models/dati-pagamento.js +14 -0
- package/dist/esm/src/models/dati-ricezione.d.ts +60 -0
- package/dist/esm/src/models/dati-ricezione.js +14 -0
- package/dist/esm/src/models/dati-riepilogo.d.ts +66 -0
- package/dist/esm/src/models/dati-riepilogo.js +14 -0
- package/dist/esm/src/models/dati-ritenuta.d.ts +42 -0
- package/dist/esm/src/models/dati-ritenuta.js +14 -0
- package/dist/esm/src/models/dati-sal.d.ts +24 -0
- package/dist/esm/src/models/dati-sal.js +14 -0
- package/dist/esm/src/models/dati-trasmissione.d.ts +56 -0
- package/dist/esm/src/models/dati-trasmissione.js +14 -0
- package/dist/esm/src/models/dati-trasporto.d.ts +98 -0
- package/dist/esm/src/models/dati-trasporto.js +14 -0
- package/dist/esm/src/models/dati-veicoli.d.ts +30 -0
- package/dist/esm/src/models/dati-veicoli.js +14 -0
- package/dist/esm/src/models/dettaglio-linee.d.ts +117 -0
- package/dist/esm/src/models/dettaglio-linee.js +14 -0
- package/dist/esm/src/models/dettaglio-pagamento.d.ts +144 -0
- package/dist/esm/src/models/dettaglio-pagamento.js +14 -0
- package/dist/esm/src/models/document-data.d.ts +30 -0
- package/dist/esm/src/models/document-data.js +14 -0
- package/dist/esm/src/models/event.d.ts +108 -0
- package/dist/esm/src/models/event.js +14 -0
- package/dist/esm/src/models/fattura-elettronica-body.d.ts +53 -0
- package/dist/esm/src/models/fattura-elettronica-body.js +14 -0
- package/dist/esm/src/models/fattura-elettronica-header.d.ts +59 -0
- package/dist/esm/src/models/fattura-elettronica-header.js +14 -0
- package/dist/esm/src/models/fattura-ordinaria.d.ts +38 -0
- package/dist/esm/src/models/fattura-ordinaria.js +14 -0
- package/dist/esm/src/models/fattura-principale.d.ts +30 -0
- package/dist/esm/src/models/fattura-principale.js +14 -0
- package/dist/esm/src/models/id-fiscale-iva.d.ts +30 -0
- package/dist/esm/src/models/id-fiscale-iva.js +14 -0
- package/dist/esm/src/models/id-trasmittente.d.ts +30 -0
- package/dist/esm/src/models/id-trasmittente.js +14 -0
- package/dist/esm/src/models/index.d.ts +60 -0
- package/dist/esm/src/models/index.js +60 -0
- package/dist/esm/src/models/indirizzo-resa.d.ts +54 -0
- package/dist/esm/src/models/indirizzo-resa.js +14 -0
- package/dist/esm/src/models/iscrizione-rea.d.ts +48 -0
- package/dist/esm/src/models/iscrizione-rea.js +14 -0
- package/dist/esm/src/models/model-error.d.ts +36 -0
- package/dist/esm/src/models/model-error.js +14 -0
- package/dist/esm/src/models/problem-details.d.ts +49 -0
- package/dist/esm/src/models/problem-details.js +14 -0
- package/dist/esm/src/models/problem-http-result.d.ts +37 -0
- package/dist/esm/src/models/problem-http-result.js +14 -0
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +43 -0
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.js +14 -0
- package/dist/esm/src/models/rappresentante-fiscale.d.ts +25 -0
- package/dist/esm/src/models/rappresentante-fiscale.js +14 -0
- package/dist/esm/src/models/receive.d.ts +126 -0
- package/dist/esm/src/models/receive.js +17 -0
- package/dist/esm/src/models/sconto-maggiorazione.d.ts +36 -0
- package/dist/esm/src/models/sconto-maggiorazione.js +14 -0
- package/dist/esm/src/models/sede-cedente-prestatore.d.ts +54 -0
- package/dist/esm/src/models/sede-cedente-prestatore.js +14 -0
- package/dist/esm/src/models/sede-cessionario-committente.d.ts +54 -0
- package/dist/esm/src/models/sede-cessionario-committente.js +14 -0
- package/dist/esm/src/models/send-reduced.d.ts +51 -0
- package/dist/esm/src/models/send-reduced.js +14 -0
- package/dist/esm/src/models/send.d.ts +129 -0
- package/dist/esm/src/models/send.js +17 -0
- package/dist/esm/src/models/stabile-organizzazione.d.ts +54 -0
- package/dist/esm/src/models/stabile-organizzazione.js +14 -0
- package/dist/esm/src/models/status.d.ts +30 -0
- package/dist/esm/src/models/status.js +14 -0
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +25 -0
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.js +14 -0
- package/dist/esm/src/models/update.d.ts +109 -0
- package/dist/esm/src/models/update.js +24 -0
- package/dist/esm/src/models/web-hook-history.d.ts +72 -0
- package/dist/esm/src/models/web-hook-history.js +14 -0
- package/dist/esm/src/models/web-hook.d.ts +78 -0
- package/dist/esm/src/models/web-hook.js +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/src/api/company-api.d.ts +268 -0
- package/dist/src/api/company-api.js +433 -0
- package/dist/src/api/log-api.d.ts +197 -0
- package/dist/src/api/log-api.js +309 -0
- package/dist/src/api/receive-api.d.ts +259 -0
- package/dist/src/api/receive-api.js +410 -0
- package/dist/src/api/send-api.d.ts +676 -0
- package/dist/src/api/send-api.js +1070 -0
- package/dist/src/api/status-api.d.ts +85 -0
- package/dist/src/api/status-api.js +134 -0
- package/dist/src/api/update-api.d.ts +207 -0
- package/dist/src/api/update-api.js +316 -0
- package/dist/src/api/webhook-api.d.ts +393 -0
- package/dist/src/api/webhook-api.js +627 -0
- package/dist/src/models/allegati.d.ts +48 -0
- package/dist/src/models/allegati.js +15 -0
- package/dist/src/models/altri-dati-gestionali.d.ts +42 -0
- package/dist/src/models/altri-dati-gestionali.js +15 -0
- package/dist/src/models/anagrafica.d.ts +48 -0
- package/dist/src/models/anagrafica.js +15 -0
- package/dist/src/models/cedente-prestatore.d.ts +59 -0
- package/dist/src/models/cedente-prestatore.js +15 -0
- package/dist/src/models/cessionario-committente.d.ts +46 -0
- package/dist/src/models/cessionario-committente.js +15 -0
- package/dist/src/models/codice-articolo.d.ts +30 -0
- package/dist/src/models/codice-articolo.js +15 -0
- package/dist/src/models/company.d.ts +60 -0
- package/dist/src/models/company.js +15 -0
- package/dist/src/models/contatti-trasmittente.d.ts +30 -0
- package/dist/src/models/contatti-trasmittente.js +15 -0
- package/dist/src/models/contatti.d.ts +36 -0
- package/dist/src/models/contatti.js +15 -0
- package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +68 -0
- package/dist/src/models/dati-anagrafici-cedente-prestatore.js +15 -0
- package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +38 -0
- package/dist/src/models/dati-anagrafici-cessionario-committente.js +15 -0
- package/dist/src/models/dati-anagrafici-vettore.d.ts +44 -0
- package/dist/src/models/dati-anagrafici-vettore.js +15 -0
- package/dist/src/models/dati-anagrafici.d.ts +38 -0
- package/dist/src/models/dati-anagrafici.js +15 -0
- package/dist/src/models/dati-beni-servizi.d.ts +32 -0
- package/dist/src/models/dati-beni-servizi.js +15 -0
- package/dist/src/models/dati-bollo.d.ts +30 -0
- package/dist/src/models/dati-bollo.js +15 -0
- package/dist/src/models/dati-cassa-previdenziale.d.ts +66 -0
- package/dist/src/models/dati-cassa-previdenziale.js +15 -0
- package/dist/src/models/dati-contratto.d.ts +60 -0
- package/dist/src/models/dati-contratto.js +15 -0
- package/dist/src/models/dati-convenzione.d.ts +60 -0
- package/dist/src/models/dati-convenzione.js +15 -0
- package/dist/src/models/dati-ddt.d.ts +36 -0
- package/dist/src/models/dati-ddt.js +15 -0
- package/dist/src/models/dati-fatture-collegate.d.ts +60 -0
- package/dist/src/models/dati-fatture-collegate.js +15 -0
- package/dist/src/models/dati-generali-documento.d.ts +94 -0
- package/dist/src/models/dati-generali-documento.js +15 -0
- package/dist/src/models/dati-generali.d.ts +88 -0
- package/dist/src/models/dati-generali.js +15 -0
- package/dist/src/models/dati-ordine-acquisto.d.ts +60 -0
- package/dist/src/models/dati-ordine-acquisto.js +15 -0
- package/dist/src/models/dati-pagamento.d.ts +31 -0
- package/dist/src/models/dati-pagamento.js +15 -0
- package/dist/src/models/dati-ricezione.d.ts +60 -0
- package/dist/src/models/dati-ricezione.js +15 -0
- package/dist/src/models/dati-riepilogo.d.ts +66 -0
- package/dist/src/models/dati-riepilogo.js +15 -0
- package/dist/src/models/dati-ritenuta.d.ts +42 -0
- package/dist/src/models/dati-ritenuta.js +15 -0
- package/dist/src/models/dati-sal.d.ts +24 -0
- package/dist/src/models/dati-sal.js +15 -0
- package/dist/src/models/dati-trasmissione.d.ts +56 -0
- package/dist/src/models/dati-trasmissione.js +15 -0
- package/dist/src/models/dati-trasporto.d.ts +98 -0
- package/dist/src/models/dati-trasporto.js +15 -0
- package/dist/src/models/dati-veicoli.d.ts +30 -0
- package/dist/src/models/dati-veicoli.js +15 -0
- package/dist/src/models/dettaglio-linee.d.ts +117 -0
- package/dist/src/models/dettaglio-linee.js +15 -0
- package/dist/src/models/dettaglio-pagamento.d.ts +144 -0
- package/dist/src/models/dettaglio-pagamento.js +15 -0
- package/dist/src/models/document-data.d.ts +30 -0
- package/dist/src/models/document-data.js +15 -0
- package/dist/src/models/event.d.ts +108 -0
- package/dist/src/models/event.js +15 -0
- package/dist/src/models/fattura-elettronica-body.d.ts +53 -0
- package/dist/src/models/fattura-elettronica-body.js +15 -0
- package/dist/src/models/fattura-elettronica-header.d.ts +59 -0
- package/dist/src/models/fattura-elettronica-header.js +15 -0
- package/dist/src/models/fattura-ordinaria.d.ts +38 -0
- package/dist/src/models/fattura-ordinaria.js +15 -0
- package/dist/src/models/fattura-principale.d.ts +30 -0
- package/dist/src/models/fattura-principale.js +15 -0
- package/dist/src/models/id-fiscale-iva.d.ts +30 -0
- package/dist/src/models/id-fiscale-iva.js +15 -0
- package/dist/src/models/id-trasmittente.d.ts +30 -0
- package/dist/src/models/id-trasmittente.js +15 -0
- package/dist/src/models/index.d.ts +60 -0
- package/dist/src/models/index.js +76 -0
- package/dist/src/models/indirizzo-resa.d.ts +54 -0
- package/dist/src/models/indirizzo-resa.js +15 -0
- package/dist/src/models/iscrizione-rea.d.ts +48 -0
- package/dist/src/models/iscrizione-rea.js +15 -0
- package/dist/src/models/model-error.d.ts +36 -0
- package/dist/src/models/model-error.js +15 -0
- package/dist/src/models/problem-details.d.ts +49 -0
- package/dist/src/models/problem-details.js +15 -0
- package/dist/src/models/problem-http-result.d.ts +37 -0
- package/dist/src/models/problem-http-result.js +15 -0
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +43 -0
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.js +15 -0
- package/dist/src/models/rappresentante-fiscale.d.ts +25 -0
- package/dist/src/models/rappresentante-fiscale.js +15 -0
- package/dist/src/models/receive.d.ts +126 -0
- package/dist/src/models/receive.js +20 -0
- package/dist/src/models/sconto-maggiorazione.d.ts +36 -0
- package/dist/src/models/sconto-maggiorazione.js +15 -0
- package/dist/src/models/sede-cedente-prestatore.d.ts +54 -0
- package/dist/src/models/sede-cedente-prestatore.js +15 -0
- package/dist/src/models/sede-cessionario-committente.d.ts +54 -0
- package/dist/src/models/sede-cessionario-committente.js +15 -0
- package/dist/src/models/send-reduced.d.ts +51 -0
- package/dist/src/models/send-reduced.js +15 -0
- package/dist/src/models/send.d.ts +129 -0
- package/dist/src/models/send.js +20 -0
- package/dist/src/models/stabile-organizzazione.d.ts +54 -0
- package/dist/src/models/stabile-organizzazione.js +15 -0
- package/dist/src/models/status.d.ts +30 -0
- package/dist/src/models/status.js +15 -0
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +25 -0
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.js +15 -0
- package/dist/src/models/update.d.ts +109 -0
- package/dist/src/models/update.js +27 -0
- package/dist/src/models/web-hook-history.d.ts +72 -0
- package/dist/src/models/web-hook-history.js +15 -0
- package/dist/src/models/web-hook.d.ts +78 -0
- package/dist/src/models/web-hook.js +15 -0
- package/docs/Allegati.md +28 -0
- package/docs/AltriDatiGestionali.md +26 -0
- package/docs/Anagrafica.md +28 -0
- package/docs/CedentePrestatore.md +30 -0
- package/docs/CessionarioCommittente.md +26 -0
- package/docs/CodiceArticolo.md +22 -0
- package/docs/Company.md +33 -0
- package/docs/CompanyApi.md +285 -0
- package/docs/Contatti.md +24 -0
- package/docs/ContattiTrasmittente.md +22 -0
- package/docs/DatiAnagrafici.md +24 -0
- package/docs/DatiAnagraficiCedentePrestatore.md +34 -0
- package/docs/DatiAnagraficiCessionarioCommittente.md +24 -0
- package/docs/DatiAnagraficiVettore.md +26 -0
- package/docs/DatiBeniServizi.md +22 -0
- package/docs/DatiBollo.md +22 -0
- package/docs/DatiCassaPrevidenziale.md +34 -0
- package/docs/DatiContratto.md +32 -0
- package/docs/DatiConvenzione.md +32 -0
- package/docs/DatiDDT.md +24 -0
- package/docs/DatiFattureCollegate.md +32 -0
- package/docs/DatiGenerali.md +38 -0
- package/docs/DatiGeneraliDocumento.md +42 -0
- package/docs/DatiOrdineAcquisto.md +32 -0
- package/docs/DatiPagamento.md +22 -0
- package/docs/DatiRicezione.md +32 -0
- package/docs/DatiRiepilogo.md +34 -0
- package/docs/DatiRitenuta.md +26 -0
- package/docs/DatiSAL.md +20 -0
- package/docs/DatiTrasmissione.md +30 -0
- package/docs/DatiTrasporto.md +44 -0
- package/docs/DatiVeicoli.md +22 -0
- package/docs/DettaglioLinee.md +50 -0
- package/docs/DettaglioPagamento.md +60 -0
- package/docs/DocumentData.md +22 -0
- package/docs/Error.md +25 -0
- package/docs/Event.md +48 -0
- package/docs/FatturaElettronicaBody.md +28 -0
- package/docs/FatturaElettronicaHeader.md +30 -0
- package/docs/FatturaOrdinaria.md +24 -0
- package/docs/FatturaPrincipale.md +22 -0
- package/docs/IdFiscaleIVA.md +22 -0
- package/docs/IdTrasmittente.md +22 -0
- package/docs/IndirizzoResa.md +30 -0
- package/docs/IscrizioneREA.md +28 -0
- package/docs/LogApi.md +153 -0
- package/docs/ProblemDetails.md +28 -0
- package/docs/ProblemHttpResult.md +24 -0
- package/docs/RappresentanteFiscale.md +20 -0
- package/docs/RappresentanteFiscaleCessionarioCommittente.md +26 -0
- package/docs/Receive.md +52 -0
- package/docs/ReceiveApi.md +220 -0
- package/docs/ScontoMaggiorazione.md +24 -0
- package/docs/SedeCedentePrestatore.md +30 -0
- package/docs/SedeCessionarioCommittente.md +30 -0
- package/docs/Send.md +52 -0
- package/docs/SendApi.md +681 -0
- package/docs/SendReduced.md +29 -0
- package/docs/StabileOrganizzazione.md +30 -0
- package/docs/Status.md +22 -0
- package/docs/StatusApi.md +52 -0
- package/docs/TerzoIntermediarioOSoggettoEmittente.md +20 -0
- package/docs/Update.md +44 -0
- package/docs/UpdateApi.md +150 -0
- package/docs/WebHook.md +38 -0
- package/docs/WebHookHistory.md +37 -0
- package/docs/WebhookApi.md +416 -0
- package/index.ts +18 -0
- package/package.json +33 -0
- package/src/api/company-api.ts +515 -0
- package/src/api/log-api.ts +367 -0
- package/src/api/receive-api.ts +490 -0
- package/src/api/send-api.ts +1296 -0
- package/src/api/status-api.ts +148 -0
- package/src/api/update-api.ts +373 -0
- package/src/api/webhook-api.ts +756 -0
- package/src/models/allegati.ts +54 -0
- package/src/models/altri-dati-gestionali.ts +48 -0
- package/src/models/anagrafica.ts +54 -0
- package/src/models/cedente-prestatore.ts +75 -0
- package/src/models/cessionario-committente.ts +60 -0
- package/src/models/codice-articolo.ts +36 -0
- package/src/models/company.ts +66 -0
- package/src/models/contatti-trasmittente.ts +36 -0
- package/src/models/contatti.ts +42 -0
- package/src/models/dati-anagrafici-cedente-prestatore.ts +78 -0
- package/src/models/dati-anagrafici-cessionario-committente.ts +48 -0
- package/src/models/dati-anagrafici-vettore.ts +54 -0
- package/src/models/dati-anagrafici.ts +48 -0
- package/src/models/dati-beni-servizi.ts +42 -0
- package/src/models/dati-bollo.ts +36 -0
- package/src/models/dati-cassa-previdenziale.ts +72 -0
- package/src/models/dati-contratto.ts +66 -0
- package/src/models/dati-convenzione.ts +66 -0
- package/src/models/dati-ddt.ts +42 -0
- package/src/models/dati-fatture-collegate.ts +66 -0
- package/src/models/dati-generali-documento.ts +108 -0
- package/src/models/dati-generali.ts +114 -0
- package/src/models/dati-ordine-acquisto.ts +66 -0
- package/src/models/dati-pagamento.ts +39 -0
- package/src/models/dati-ricezione.ts +66 -0
- package/src/models/dati-riepilogo.ts +72 -0
- package/src/models/dati-ritenuta.ts +48 -0
- package/src/models/dati-sal.ts +30 -0
- package/src/models/dati-trasmissione.ts +66 -0
- package/src/models/dati-trasporto.ts +108 -0
- package/src/models/dati-veicoli.ts +36 -0
- package/src/models/dettaglio-linee.ts +129 -0
- package/src/models/dettaglio-pagamento.ts +150 -0
- package/src/models/document-data.ts +36 -0
- package/src/models/event.ts +114 -0
- package/src/models/fattura-elettronica-body.ts +69 -0
- package/src/models/fattura-elettronica-header.ts +75 -0
- package/src/models/fattura-ordinaria.ts +48 -0
- package/src/models/fattura-principale.ts +36 -0
- package/src/models/id-fiscale-iva.ts +36 -0
- package/src/models/id-trasmittente.ts +36 -0
- package/src/models/index.ts +60 -0
- package/src/models/indirizzo-resa.ts +60 -0
- package/src/models/iscrizione-rea.ts +54 -0
- package/src/models/model-error.ts +42 -0
- package/src/models/problem-details.ts +56 -0
- package/src/models/problem-http-result.ts +45 -0
- package/src/models/rappresentante-fiscale-cessionario-committente.ts +51 -0
- package/src/models/rappresentante-fiscale.ts +33 -0
- package/src/models/receive.ts +137 -0
- package/src/models/sconto-maggiorazione.ts +42 -0
- package/src/models/sede-cedente-prestatore.ts +60 -0
- package/src/models/sede-cessionario-committente.ts +60 -0
- package/src/models/send-reduced.ts +57 -0
- package/src/models/send.ts +140 -0
- package/src/models/stabile-organizzazione.ts +60 -0
- package/src/models/status.ts +36 -0
- package/src/models/terzo-intermediario-osoggetto-emittente.ts +33 -0
- package/src/models/update.ts +120 -0
- package/src/models/web-hook-history.ts +78 -0
- package/src/models/web-hook.ts +84 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,302 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// URLSearchParams not necessarily used
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { URL } from 'url';
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../../common';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
|
|
32
|
+
/**
|
|
33
|
+
* LogApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export const LogApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
40
|
+
* @summary List events
|
|
41
|
+
* @param {number} [companyId] Company id
|
|
42
|
+
* @param {string} [endpoint]
|
|
43
|
+
* @param {string} [method]
|
|
44
|
+
* @param {number} [apiVerion] Api version
|
|
45
|
+
* @param {number} [statusCode] Response status code
|
|
46
|
+
* @param {string} [dateCreatedFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
47
|
+
* @param {string} [dateCreatedTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
48
|
+
* @param {number} [page] Page number.
|
|
49
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
50
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
51
|
+
* @param {string} [query]
|
|
52
|
+
* @param {boolean} [success]
|
|
53
|
+
* @param {string} [dateTimeFrom] Date and time of the event
|
|
54
|
+
* @param {string} [dateTimeTo] Date and time of the event
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
logGet: (companyId_1, endpoint_1, method_1, apiVerion_1, statusCode_1, dateCreatedFrom_1, dateCreatedTo_1, page_1, pageSize_1, sort_1, query_1, success_1, dateTimeFrom_1, dateTimeTo_1, ...args_1) => __awaiter(this, [companyId_1, endpoint_1, method_1, apiVerion_1, statusCode_1, dateCreatedFrom_1, dateCreatedTo_1, page_1, pageSize_1, sort_1, query_1, success_1, dateTimeFrom_1, dateTimeTo_1, ...args_1], void 0, function* (companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options = {}) {
|
|
59
|
+
const localVarPath = `/log`;
|
|
60
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62
|
+
let baseOptions;
|
|
63
|
+
if (configuration) {
|
|
64
|
+
baseOptions = configuration.baseOptions;
|
|
65
|
+
}
|
|
66
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
67
|
+
const localVarHeaderParameter = {};
|
|
68
|
+
const localVarQueryParameter = {};
|
|
69
|
+
// authentication Basic required
|
|
70
|
+
// http basic authentication required
|
|
71
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
72
|
+
if (companyId !== undefined) {
|
|
73
|
+
localVarQueryParameter['company_id'] = companyId;
|
|
74
|
+
}
|
|
75
|
+
if (endpoint !== undefined) {
|
|
76
|
+
localVarQueryParameter['endpoint'] = endpoint;
|
|
77
|
+
}
|
|
78
|
+
if (method !== undefined) {
|
|
79
|
+
localVarQueryParameter['method'] = method;
|
|
80
|
+
}
|
|
81
|
+
if (apiVerion !== undefined) {
|
|
82
|
+
localVarQueryParameter['api_verion'] = apiVerion;
|
|
83
|
+
}
|
|
84
|
+
if (statusCode !== undefined) {
|
|
85
|
+
localVarQueryParameter['status_code'] = statusCode;
|
|
86
|
+
}
|
|
87
|
+
if (dateCreatedFrom !== undefined) {
|
|
88
|
+
localVarQueryParameter['date_created_from'] = (dateCreatedFrom instanceof Date) ?
|
|
89
|
+
dateCreatedFrom.toISOString() :
|
|
90
|
+
dateCreatedFrom;
|
|
91
|
+
}
|
|
92
|
+
if (dateCreatedTo !== undefined) {
|
|
93
|
+
localVarQueryParameter['date_created_to'] = (dateCreatedTo instanceof Date) ?
|
|
94
|
+
dateCreatedTo.toISOString() :
|
|
95
|
+
dateCreatedTo;
|
|
96
|
+
}
|
|
97
|
+
if (page !== undefined) {
|
|
98
|
+
localVarQueryParameter['page'] = page;
|
|
99
|
+
}
|
|
100
|
+
if (pageSize !== undefined) {
|
|
101
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
102
|
+
}
|
|
103
|
+
if (sort !== undefined) {
|
|
104
|
+
localVarQueryParameter['sort'] = sort;
|
|
105
|
+
}
|
|
106
|
+
if (query !== undefined) {
|
|
107
|
+
localVarQueryParameter['query'] = query;
|
|
108
|
+
}
|
|
109
|
+
if (success !== undefined) {
|
|
110
|
+
localVarQueryParameter['success'] = success;
|
|
111
|
+
}
|
|
112
|
+
if (dateTimeFrom !== undefined) {
|
|
113
|
+
localVarQueryParameter['date_time_from'] = (dateTimeFrom instanceof Date) ?
|
|
114
|
+
dateTimeFrom.toISOString() :
|
|
115
|
+
dateTimeFrom;
|
|
116
|
+
}
|
|
117
|
+
if (dateTimeTo !== undefined) {
|
|
118
|
+
localVarQueryParameter['date_time_to'] = (dateTimeTo instanceof Date) ?
|
|
119
|
+
dateTimeTo.toISOString() :
|
|
120
|
+
dateTimeTo;
|
|
121
|
+
}
|
|
122
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
124
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
125
|
+
return {
|
|
126
|
+
url: toPathString(localVarUrlObj),
|
|
127
|
+
options: localVarRequestOptions,
|
|
128
|
+
};
|
|
129
|
+
}),
|
|
130
|
+
/**
|
|
131
|
+
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
132
|
+
* @summary Get an event by id
|
|
133
|
+
* @param {number} id Item id
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
logIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
138
|
+
// verify required parameter 'id' is not null or undefined
|
|
139
|
+
assertParamExists('logIdGet', 'id', id);
|
|
140
|
+
const localVarPath = `/log/{id}`
|
|
141
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
142
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
144
|
+
let baseOptions;
|
|
145
|
+
if (configuration) {
|
|
146
|
+
baseOptions = configuration.baseOptions;
|
|
147
|
+
}
|
|
148
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
149
|
+
const localVarHeaderParameter = {};
|
|
150
|
+
const localVarQueryParameter = {};
|
|
151
|
+
// authentication Basic required
|
|
152
|
+
// http basic authentication required
|
|
153
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
154
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
155
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
157
|
+
return {
|
|
158
|
+
url: toPathString(localVarUrlObj),
|
|
159
|
+
options: localVarRequestOptions,
|
|
160
|
+
};
|
|
161
|
+
}),
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* LogApi - functional programming interface
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export const LogApiFp = function (configuration) {
|
|
169
|
+
const localVarAxiosParamCreator = LogApiAxiosParamCreator(configuration);
|
|
170
|
+
return {
|
|
171
|
+
/**
|
|
172
|
+
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
173
|
+
* @summary List events
|
|
174
|
+
* @param {number} [companyId] Company id
|
|
175
|
+
* @param {string} [endpoint]
|
|
176
|
+
* @param {string} [method]
|
|
177
|
+
* @param {number} [apiVerion] Api version
|
|
178
|
+
* @param {number} [statusCode] Response status code
|
|
179
|
+
* @param {string} [dateCreatedFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
180
|
+
* @param {string} [dateCreatedTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
181
|
+
* @param {number} [page] Page number.
|
|
182
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
183
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
184
|
+
* @param {string} [query]
|
|
185
|
+
* @param {boolean} [success]
|
|
186
|
+
* @param {string} [dateTimeFrom] Date and time of the event
|
|
187
|
+
* @param {string} [dateTimeTo] Date and time of the event
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
|
|
192
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
193
|
+
var _a, _b, _c;
|
|
194
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options);
|
|
195
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
196
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LogApi.logGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
197
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
198
|
+
});
|
|
199
|
+
},
|
|
200
|
+
/**
|
|
201
|
+
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
202
|
+
* @summary Get an event by id
|
|
203
|
+
* @param {number} id Item id
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
*/
|
|
207
|
+
logIdGet(id, options) {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
209
|
+
var _a, _b, _c;
|
|
210
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.logIdGet(id, options);
|
|
211
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
212
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LogApi.logIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
213
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
214
|
+
});
|
|
215
|
+
},
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* LogApi - factory interface
|
|
220
|
+
* @export
|
|
221
|
+
*/
|
|
222
|
+
export const LogApiFactory = function (configuration, basePath, axios) {
|
|
223
|
+
const localVarFp = LogApiFp(configuration);
|
|
224
|
+
return {
|
|
225
|
+
/**
|
|
226
|
+
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
227
|
+
* @summary List events
|
|
228
|
+
* @param {number} [companyId] Company id
|
|
229
|
+
* @param {string} [endpoint]
|
|
230
|
+
* @param {string} [method]
|
|
231
|
+
* @param {number} [apiVerion] Api version
|
|
232
|
+
* @param {number} [statusCode] Response status code
|
|
233
|
+
* @param {string} [dateCreatedFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
234
|
+
* @param {string} [dateCreatedTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
235
|
+
* @param {number} [page] Page number.
|
|
236
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
237
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
238
|
+
* @param {string} [query]
|
|
239
|
+
* @param {boolean} [success]
|
|
240
|
+
* @param {string} [dateTimeFrom] Date and time of the event
|
|
241
|
+
* @param {string} [dateTimeTo] Date and time of the event
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
|
|
246
|
+
return localVarFp.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(axios, basePath));
|
|
247
|
+
},
|
|
248
|
+
/**
|
|
249
|
+
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
250
|
+
* @summary Get an event by id
|
|
251
|
+
* @param {number} id Item id
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
logIdGet(id, options) {
|
|
256
|
+
return localVarFp.logIdGet(id, options).then((request) => request(axios, basePath));
|
|
257
|
+
},
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* LogApi - object-oriented interface
|
|
262
|
+
* @export
|
|
263
|
+
* @class LogApi
|
|
264
|
+
* @extends {BaseAPI}
|
|
265
|
+
*/
|
|
266
|
+
export class LogApi extends BaseAPI {
|
|
267
|
+
/**
|
|
268
|
+
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
269
|
+
* @summary List events
|
|
270
|
+
* @param {number} [companyId] Company id
|
|
271
|
+
* @param {string} [endpoint]
|
|
272
|
+
* @param {string} [method]
|
|
273
|
+
* @param {number} [apiVerion] Api version
|
|
274
|
+
* @param {number} [statusCode] Response status code
|
|
275
|
+
* @param {string} [dateCreatedFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
276
|
+
* @param {string} [dateCreatedTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
277
|
+
* @param {number} [page] Page number.
|
|
278
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
279
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
280
|
+
* @param {string} [query]
|
|
281
|
+
* @param {boolean} [success]
|
|
282
|
+
* @param {string} [dateTimeFrom] Date and time of the event
|
|
283
|
+
* @param {string} [dateTimeTo] Date and time of the event
|
|
284
|
+
* @param {*} [options] Override http request option.
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
* @memberof LogApi
|
|
287
|
+
*/
|
|
288
|
+
logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
|
|
289
|
+
return LogApiFp(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(this.axios, this.basePath));
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
293
|
+
* @summary Get an event by id
|
|
294
|
+
* @param {number} id Item id
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
* @memberof LogApi
|
|
298
|
+
*/
|
|
299
|
+
logIdGet(id, options) {
|
|
300
|
+
return LogApiFp(this.configuration).logIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Invoicetronic API
|
|
3
|
+
* 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/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: info@invoicetronic.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../../base';
|
|
15
|
+
import type { Receive } from '../../src/models';
|
|
16
|
+
/**
|
|
17
|
+
* ReceiveApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
23
|
+
* @summary List incoming invoices
|
|
24
|
+
* @param {number} [companyId] Company id
|
|
25
|
+
* @param {string} [identifier] SDI identifier.
|
|
26
|
+
* @param {boolean} [unread] Unread items only.
|
|
27
|
+
* @param {string} [committente] Vat number or fiscal code.
|
|
28
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
29
|
+
* @param {string} [fileName] File name.
|
|
30
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
31
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
32
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
33
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
34
|
+
* @param {string} [documentDateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
35
|
+
* @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
36
|
+
* @param {string} [documentNumber] Document number.
|
|
37
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
38
|
+
* @param {number} [page] Page number.
|
|
39
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
40
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
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<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
47
|
+
* @summary Delete an incoming invoice by id
|
|
48
|
+
* @param {number} id Item id
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
receiveIdDelete: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
55
|
+
* @summary Get an incoming invoice by id
|
|
56
|
+
* @param {number} id Item id
|
|
57
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
receiveIdGet: (id: number, includePayload?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* ReceiveApi - functional programming interface
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const ReceiveApiFp: (configuration?: Configuration) => {
|
|
68
|
+
/**
|
|
69
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
70
|
+
* @summary List incoming invoices
|
|
71
|
+
* @param {number} [companyId] Company id
|
|
72
|
+
* @param {string} [identifier] SDI identifier.
|
|
73
|
+
* @param {boolean} [unread] Unread items only.
|
|
74
|
+
* @param {string} [committente] Vat number or fiscal code.
|
|
75
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
76
|
+
* @param {string} [fileName] File name.
|
|
77
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
78
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
79
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
80
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
81
|
+
* @param {string} [documentDateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
82
|
+
* @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
83
|
+
* @param {string} [documentNumber] Document number.
|
|
84
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
85
|
+
* @param {number} [page] Page number.
|
|
86
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
87
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
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>>>;
|
|
92
|
+
/**
|
|
93
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
94
|
+
* @summary Delete an incoming invoice by id
|
|
95
|
+
* @param {number} id Item id
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Receive>>;
|
|
100
|
+
/**
|
|
101
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
102
|
+
* @summary Get an incoming invoice by id
|
|
103
|
+
* @param {number} id Item id
|
|
104
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Receive>>;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* ReceiveApi - factory interface
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export declare const ReceiveApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
115
|
+
/**
|
|
116
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
117
|
+
* @summary List incoming invoices
|
|
118
|
+
* @param {number} [companyId] Company id
|
|
119
|
+
* @param {string} [identifier] SDI identifier.
|
|
120
|
+
* @param {boolean} [unread] Unread items only.
|
|
121
|
+
* @param {string} [committente] Vat number or fiscal code.
|
|
122
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
123
|
+
* @param {string} [fileName] File name.
|
|
124
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
125
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
126
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
127
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
128
|
+
* @param {string} [documentDateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
129
|
+
* @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
130
|
+
* @param {string} [documentNumber] Document number.
|
|
131
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
132
|
+
* @param {number} [page] Page number.
|
|
133
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
134
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
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>>;
|
|
139
|
+
/**
|
|
140
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
141
|
+
* @summary Delete an incoming invoice by id
|
|
142
|
+
* @param {number} id Item id
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
147
|
+
/**
|
|
148
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
149
|
+
* @summary Get an incoming invoice by id
|
|
150
|
+
* @param {number} id Item id
|
|
151
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* ReceiveApi - interface
|
|
159
|
+
* @export
|
|
160
|
+
* @interface ReceiveApi
|
|
161
|
+
*/
|
|
162
|
+
export interface ReceiveApiInterface {
|
|
163
|
+
/**
|
|
164
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
165
|
+
* @summary List incoming invoices
|
|
166
|
+
* @param {number} [companyId] Company id
|
|
167
|
+
* @param {string} [identifier] SDI identifier.
|
|
168
|
+
* @param {boolean} [unread] Unread items only.
|
|
169
|
+
* @param {string} [committente] Vat number or fiscal code.
|
|
170
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
171
|
+
* @param {string} [fileName] File name.
|
|
172
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
173
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
174
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
175
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
176
|
+
* @param {string} [documentDateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
177
|
+
* @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
178
|
+
* @param {string} [documentNumber] Document number.
|
|
179
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
180
|
+
* @param {number} [page] Page number.
|
|
181
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
182
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
* @memberof ReceiveApiInterface
|
|
186
|
+
*/
|
|
187
|
+
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>>;
|
|
188
|
+
/**
|
|
189
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
190
|
+
* @summary Delete an incoming invoice by id
|
|
191
|
+
* @param {number} id Item id
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
* @memberof ReceiveApiInterface
|
|
195
|
+
*/
|
|
196
|
+
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
197
|
+
/**
|
|
198
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
199
|
+
* @summary Get an incoming invoice by id
|
|
200
|
+
* @param {number} id Item id
|
|
201
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
* @memberof ReceiveApiInterface
|
|
205
|
+
*/
|
|
206
|
+
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* ReceiveApi - object-oriented interface
|
|
210
|
+
* @export
|
|
211
|
+
* @class ReceiveApi
|
|
212
|
+
* @extends {BaseAPI}
|
|
213
|
+
*/
|
|
214
|
+
export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
215
|
+
/**
|
|
216
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
217
|
+
* @summary List incoming invoices
|
|
218
|
+
* @param {number} [companyId] Company id
|
|
219
|
+
* @param {string} [identifier] SDI identifier.
|
|
220
|
+
* @param {boolean} [unread] Unread items only.
|
|
221
|
+
* @param {string} [committente] Vat number or fiscal code.
|
|
222
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
223
|
+
* @param {string} [fileName] File name.
|
|
224
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
225
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
226
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
227
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
228
|
+
* @param {string} [documentDateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
229
|
+
* @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
230
|
+
* @param {string} [documentNumber] Document number.
|
|
231
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
232
|
+
* @param {number} [page] Page number.
|
|
233
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
234
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
* @memberof ReceiveApi
|
|
238
|
+
*/
|
|
239
|
+
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<import("axios").AxiosResponse<Receive[], any>>;
|
|
240
|
+
/**
|
|
241
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
242
|
+
* @summary Delete an incoming invoice by id
|
|
243
|
+
* @param {number} id Item id
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
* @memberof ReceiveApi
|
|
247
|
+
*/
|
|
248
|
+
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any>>;
|
|
249
|
+
/**
|
|
250
|
+
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
251
|
+
* @summary Get an incoming invoice by id
|
|
252
|
+
* @param {number} id Item id
|
|
253
|
+
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
254
|
+
* @param {*} [options] Override http request option.
|
|
255
|
+
* @throws {RequiredError}
|
|
256
|
+
* @memberof ReceiveApi
|
|
257
|
+
*/
|
|
258
|
+
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any>>;
|
|
259
|
+
}
|