@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,85 @@
|
|
|
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 { Status } from '../../src/models';
|
|
16
|
+
/**
|
|
17
|
+
* StatusApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const StatusApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
23
|
+
* @summary Account status
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
statusGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* StatusApi - functional programming interface
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export declare const StatusApiFp: (configuration?: Configuration) => {
|
|
34
|
+
/**
|
|
35
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
36
|
+
* @summary Account status
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
statusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* StatusApi - factory interface
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const StatusApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
|
+
/**
|
|
48
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
49
|
+
* @summary Account status
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
statusGet(options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* StatusApi - interface
|
|
57
|
+
* @export
|
|
58
|
+
* @interface StatusApi
|
|
59
|
+
*/
|
|
60
|
+
export interface StatusApiInterface {
|
|
61
|
+
/**
|
|
62
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
63
|
+
* @summary Account status
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
* @memberof StatusApiInterface
|
|
67
|
+
*/
|
|
68
|
+
statusGet(options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* StatusApi - object-oriented interface
|
|
72
|
+
* @export
|
|
73
|
+
* @class StatusApi
|
|
74
|
+
* @extends {BaseAPI}
|
|
75
|
+
*/
|
|
76
|
+
export declare class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
77
|
+
/**
|
|
78
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
79
|
+
* @summary Account status
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
* @memberof StatusApi
|
|
83
|
+
*/
|
|
84
|
+
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
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, setBasicAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../../common';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
|
|
32
|
+
/**
|
|
33
|
+
* StatusApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export const StatusApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
40
|
+
* @summary Account status
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
statusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
45
|
+
const localVarPath = `/status`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication Basic required
|
|
56
|
+
// http basic authentication required
|
|
57
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
58
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: toPathString(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* StatusApi - functional programming interface
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export const StatusApiFp = function (configuration) {
|
|
73
|
+
const localVarAxiosParamCreator = StatusApiAxiosParamCreator(configuration);
|
|
74
|
+
return {
|
|
75
|
+
/**
|
|
76
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
77
|
+
* @summary Account status
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
*/
|
|
81
|
+
statusGet(options) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
var _a, _b, _c;
|
|
84
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.statusGet(options);
|
|
85
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
86
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StatusApi.statusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
87
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* StatusApi - factory interface
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export const StatusApiFactory = function (configuration, basePath, axios) {
|
|
97
|
+
const localVarFp = StatusApiFp(configuration);
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
101
|
+
* @summary Account status
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
statusGet(options) {
|
|
106
|
+
return localVarFp.statusGet(options).then((request) => request(axios, basePath));
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* StatusApi - object-oriented interface
|
|
112
|
+
* @export
|
|
113
|
+
* @class StatusApi
|
|
114
|
+
* @extends {BaseAPI}
|
|
115
|
+
*/
|
|
116
|
+
export class StatusApi extends BaseAPI {
|
|
117
|
+
/**
|
|
118
|
+
* This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
|
|
119
|
+
* @summary Account status
|
|
120
|
+
* @param {*} [options] Override http request option.
|
|
121
|
+
* @throws {RequiredError}
|
|
122
|
+
* @memberof StatusApi
|
|
123
|
+
*/
|
|
124
|
+
statusGet(options) {
|
|
125
|
+
return StatusApiFp(this.configuration).statusGet(options).then((request) => request(this.axios, this.basePath));
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
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 { Update } from '../../src/models';
|
|
16
|
+
/**
|
|
17
|
+
* UpdateApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const UpdateApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
23
|
+
* @summary List updates
|
|
24
|
+
* @param {number} [companyId] Company id
|
|
25
|
+
* @param {string} [identifier] SDI identifier.
|
|
26
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
27
|
+
* @param {boolean} [unread] Unread items only.
|
|
28
|
+
* @param {number} [sendId] Send item\'s id.
|
|
29
|
+
* @param {UpdateGetStateEnum} [state] SDI state
|
|
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 {number} [page] Page number.
|
|
35
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
36
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
updateGet: (companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
43
|
+
* @summary Get an update by id
|
|
44
|
+
* @param {number} id Item id
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
updateIdGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* UpdateApi - functional programming interface
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const UpdateApiFp: (configuration?: Configuration) => {
|
|
55
|
+
/**
|
|
56
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
57
|
+
* @summary List updates
|
|
58
|
+
* @param {number} [companyId] Company id
|
|
59
|
+
* @param {string} [identifier] SDI identifier.
|
|
60
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
61
|
+
* @param {boolean} [unread] Unread items only.
|
|
62
|
+
* @param {number} [sendId] Send item\'s id.
|
|
63
|
+
* @param {UpdateGetStateEnum} [state] SDI state
|
|
64
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
65
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
66
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
67
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
68
|
+
* @param {number} [page] Page number.
|
|
69
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
70
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Update>>>;
|
|
75
|
+
/**
|
|
76
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
77
|
+
* @summary Get an update by id
|
|
78
|
+
* @param {number} id Item id
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Update>>;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* UpdateApi - factory interface
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const UpdateApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
89
|
+
/**
|
|
90
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
91
|
+
* @summary List updates
|
|
92
|
+
* @param {number} [companyId] Company id
|
|
93
|
+
* @param {string} [identifier] SDI identifier.
|
|
94
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
95
|
+
* @param {boolean} [unread] Unread items only.
|
|
96
|
+
* @param {number} [sendId] Send item\'s id.
|
|
97
|
+
* @param {UpdateGetStateEnum} [state] SDI state
|
|
98
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
99
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
100
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
101
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
102
|
+
* @param {number} [page] Page number.
|
|
103
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
104
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Update>>;
|
|
109
|
+
/**
|
|
110
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
111
|
+
* @summary Get an update by id
|
|
112
|
+
* @param {number} id Item id
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
updateIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Update>;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* UpdateApi - interface
|
|
120
|
+
* @export
|
|
121
|
+
* @interface UpdateApi
|
|
122
|
+
*/
|
|
123
|
+
export interface UpdateApiInterface {
|
|
124
|
+
/**
|
|
125
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
126
|
+
* @summary List updates
|
|
127
|
+
* @param {number} [companyId] Company id
|
|
128
|
+
* @param {string} [identifier] SDI identifier.
|
|
129
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
130
|
+
* @param {boolean} [unread] Unread items only.
|
|
131
|
+
* @param {number} [sendId] Send item\'s id.
|
|
132
|
+
* @param {UpdateGetStateEnum} [state] SDI state
|
|
133
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
134
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
135
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
136
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
137
|
+
* @param {number} [page] Page number.
|
|
138
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
139
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
* @memberof UpdateApiInterface
|
|
143
|
+
*/
|
|
144
|
+
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Update>>;
|
|
145
|
+
/**
|
|
146
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
147
|
+
* @summary Get an update by id
|
|
148
|
+
* @param {number} id Item id
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
* @memberof UpdateApiInterface
|
|
152
|
+
*/
|
|
153
|
+
updateIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Update>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* UpdateApi - object-oriented interface
|
|
157
|
+
* @export
|
|
158
|
+
* @class UpdateApi
|
|
159
|
+
* @extends {BaseAPI}
|
|
160
|
+
*/
|
|
161
|
+
export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
162
|
+
/**
|
|
163
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
164
|
+
* @summary List updates
|
|
165
|
+
* @param {number} [companyId] Company id
|
|
166
|
+
* @param {string} [identifier] SDI identifier.
|
|
167
|
+
* @param {string} [prestatore] Vat number or fiscal code.
|
|
168
|
+
* @param {boolean} [unread] Unread items only.
|
|
169
|
+
* @param {number} [sendId] Send item\'s id.
|
|
170
|
+
* @param {UpdateGetStateEnum} [state] SDI state
|
|
171
|
+
* @param {string} [lastUpdateFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
172
|
+
* @param {string} [lastUpdateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
173
|
+
* @param {string} [dateSentFrom] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
174
|
+
* @param {string} [dateSentTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
|
|
175
|
+
* @param {number} [page] Page number.
|
|
176
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
177
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
* @memberof UpdateApi
|
|
181
|
+
*/
|
|
182
|
+
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update[], any>>;
|
|
183
|
+
/**
|
|
184
|
+
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
185
|
+
* @summary Get an update by id
|
|
186
|
+
* @param {number} id Item id
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
* @memberof UpdateApi
|
|
190
|
+
*/
|
|
191
|
+
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update, any>>;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @export
|
|
195
|
+
*/
|
|
196
|
+
export declare const UpdateGetStateEnum: {
|
|
197
|
+
readonly Inviato: "Inviato";
|
|
198
|
+
readonly Consegnato: "Consegnato";
|
|
199
|
+
readonly NonConsegnato: "NonConsegnato";
|
|
200
|
+
readonly Scartato: "Scartato";
|
|
201
|
+
readonly AccettatoDalDestinatario: "AccettatoDalDestinatario";
|
|
202
|
+
readonly RifiutatoDalDestinatario: "RifiutatoDalDestinatario";
|
|
203
|
+
readonly ImpossibilitaDiRecapito: "ImpossibilitaDiRecapito";
|
|
204
|
+
readonly DecorrenzaTermini: "DecorrenzaTermini";
|
|
205
|
+
readonly AttestazioneTrasmissioneFattura: "AttestazioneTrasmissioneFattura";
|
|
206
|
+
};
|
|
207
|
+
export type UpdateGetStateEnum = typeof UpdateGetStateEnum[keyof typeof UpdateGetStateEnum];
|