@invoicetronic/ts-sdk 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +2 -2
- package/api.ts +1 -0
- package/common.ts +2 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -0
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/src/api/company-api.d.ts +55 -10
- package/dist/esm/src/api/company-api.js +87 -11
- package/dist/esm/src/api/export-api.d.ts +10 -16
- package/dist/esm/src/api/export-api.js +4 -9
- package/dist/esm/src/api/health-api.d.ts +74 -0
- package/dist/esm/src/api/health-api.js +120 -0
- package/dist/esm/src/api/receive-api.d.ts +55 -10
- package/dist/esm/src/api/receive-api.js +87 -11
- package/dist/esm/src/api/send-api.d.ts +95 -51
- package/dist/esm/src/api/send-api.js +143 -67
- package/dist/esm/src/api/update-api.d.ts +10 -10
- package/dist/esm/src/api/update-api.js +8 -8
- package/dist/esm/src/models/event.d.ts +3 -0
- package/dist/esm/src/models/index.d.ts +0 -47
- package/dist/esm/src/models/index.js +0 -47
- package/dist/esm/src/models/receive.d.ts +7 -0
- package/dist/esm/src/models/send.d.ts +7 -0
- package/dist/esm/src/models/status.d.ts +3 -0
- package/dist/esm/src/models/update.d.ts +3 -0
- package/dist/esm/src/models/web-hook.d.ts +3 -0
- package/dist/src/api/company-api.d.ts +55 -10
- package/dist/src/api/company-api.js +87 -11
- package/dist/src/api/export-api.d.ts +10 -16
- package/dist/src/api/export-api.js +5 -10
- package/dist/src/api/health-api.d.ts +74 -0
- package/dist/src/api/health-api.js +127 -0
- package/dist/src/api/receive-api.d.ts +55 -10
- package/dist/src/api/receive-api.js +87 -11
- package/dist/src/api/send-api.d.ts +95 -51
- package/dist/src/api/send-api.js +143 -67
- package/dist/src/api/update-api.d.ts +10 -10
- package/dist/src/api/update-api.js +8 -8
- package/dist/src/models/event.d.ts +3 -0
- package/dist/src/models/index.d.ts +0 -47
- package/dist/src/models/index.js +0 -47
- package/dist/src/models/receive.d.ts +7 -0
- package/dist/src/models/send.d.ts +7 -0
- package/dist/src/models/status.d.ts +3 -0
- package/dist/src/models/update.d.ts +3 -0
- package/dist/src/models/web-hook.d.ts +3 -0
- package/docs/CompanyApi.md +59 -2
- package/docs/Event.md +1 -0
- package/docs/ExportApi.md +2 -2
- package/docs/HealthApi.md +54 -0
- package/docs/Receive.md +3 -0
- package/docs/ReceiveApi.md +58 -2
- package/docs/Send.md +3 -0
- package/docs/SendApi.md +78 -26
- package/docs/Status.md +1 -0
- package/docs/Update.md +1 -0
- package/docs/UpdateApi.md +2 -2
- package/docs/WebHook.md +1 -0
- package/package.json +1 -1
- package/src/api/company-api.ts +103 -13
- package/src/api/export-api.ts +10 -16
- package/src/api/health-api.ts +135 -0
- package/src/api/receive-api.ts +105 -13
- package/src/api/send-api.ts +167 -79
- package/src/api/update-api.ts +10 -10
- package/src/models/event.ts +3 -0
- package/src/models/index.ts +0 -47
- package/src/models/receive.ts +7 -0
- package/src/models/send.ts +7 -0
- package/src/models/status.ts +3 -0
- package/src/models/update.ts +3 -0
- package/src/models/web-hook.ts +3 -0
- package/dist/esm/src/models/allegati.d.ts +0 -18
- package/dist/esm/src/models/allegati.js +0 -14
- package/dist/esm/src/models/altri-dati-gestionali.d.ts +0 -17
- package/dist/esm/src/models/altri-dati-gestionali.js +0 -14
- package/dist/esm/src/models/anagrafica.d.ts +0 -18
- package/dist/esm/src/models/anagrafica.js +0 -14
- package/dist/esm/src/models/cedente-prestatore.d.ts +0 -24
- package/dist/esm/src/models/cedente-prestatore.js +0 -14
- package/dist/esm/src/models/cessionario-committente.d.ts +0 -21
- package/dist/esm/src/models/cessionario-committente.js +0 -14
- package/dist/esm/src/models/codice-articolo.d.ts +0 -15
- package/dist/esm/src/models/codice-articolo.js +0 -14
- package/dist/esm/src/models/contatti-trasmittente.d.ts +0 -15
- package/dist/esm/src/models/contatti-trasmittente.js +0 -14
- package/dist/esm/src/models/contatti.d.ts +0 -16
- package/dist/esm/src/models/contatti.js +0 -14
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -23
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.js +0 -14
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -18
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.js +0 -14
- package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +0 -19
- package/dist/esm/src/models/dati-anagrafici-vettore.js +0 -14
- package/dist/esm/src/models/dati-anagrafici.d.ts +0 -18
- package/dist/esm/src/models/dati-anagrafici.js +0 -14
- package/dist/esm/src/models/dati-beni-servizi.d.ts +0 -17
- package/dist/esm/src/models/dati-beni-servizi.js +0 -14
- package/dist/esm/src/models/dati-bollo.d.ts +0 -15
- package/dist/esm/src/models/dati-bollo.js +0 -14
- package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +0 -21
- package/dist/esm/src/models/dati-cassa-previdenziale.js +0 -14
- package/dist/esm/src/models/dati-contratto.d.ts +0 -20
- package/dist/esm/src/models/dati-contratto.js +0 -14
- package/dist/esm/src/models/dati-convenzione.d.ts +0 -20
- package/dist/esm/src/models/dati-convenzione.js +0 -14
- package/dist/esm/src/models/dati-ddt.d.ts +0 -16
- package/dist/esm/src/models/dati-ddt.js +0 -14
- package/dist/esm/src/models/dati-fatture-collegate.d.ts +0 -20
- package/dist/esm/src/models/dati-fatture-collegate.js +0 -14
- package/dist/esm/src/models/dati-generali-documento.d.ts +0 -29
- package/dist/esm/src/models/dati-generali-documento.js +0 -14
- package/dist/esm/src/models/dati-generali.d.ts +0 -33
- package/dist/esm/src/models/dati-generali.js +0 -14
- package/dist/esm/src/models/dati-ordine-acquisto.d.ts +0 -20
- package/dist/esm/src/models/dati-ordine-acquisto.js +0 -14
- package/dist/esm/src/models/dati-pagamento.d.ts +0 -16
- package/dist/esm/src/models/dati-pagamento.js +0 -14
- package/dist/esm/src/models/dati-ricezione.d.ts +0 -20
- package/dist/esm/src/models/dati-ricezione.js +0 -14
- package/dist/esm/src/models/dati-riepilogo.d.ts +0 -21
- package/dist/esm/src/models/dati-riepilogo.js +0 -14
- package/dist/esm/src/models/dati-ritenuta.d.ts +0 -17
- package/dist/esm/src/models/dati-ritenuta.js +0 -14
- package/dist/esm/src/models/dati-sal.d.ts +0 -14
- package/dist/esm/src/models/dati-sal.js +0 -14
- package/dist/esm/src/models/dati-trasmissione.d.ts +0 -21
- package/dist/esm/src/models/dati-trasmissione.js +0 -14
- package/dist/esm/src/models/dati-trasporto.d.ts +0 -28
- package/dist/esm/src/models/dati-trasporto.js +0 -14
- package/dist/esm/src/models/dati-veicoli.d.ts +0 -15
- package/dist/esm/src/models/dati-veicoli.js +0 -14
- package/dist/esm/src/models/dettaglio-linee.d.ts +0 -32
- package/dist/esm/src/models/dettaglio-linee.js +0 -14
- package/dist/esm/src/models/dettaglio-pagamento.d.ts +0 -34
- package/dist/esm/src/models/dettaglio-pagamento.js +0 -14
- package/dist/esm/src/models/fattura-elettronica-body.d.ts +0 -23
- package/dist/esm/src/models/fattura-elettronica-body.js +0 -14
- package/dist/esm/src/models/fattura-elettronica-header.d.ts +0 -24
- package/dist/esm/src/models/fattura-elettronica-header.js +0 -14
- package/dist/esm/src/models/fattura-ordinaria.d.ts +0 -18
- package/dist/esm/src/models/fattura-ordinaria.js +0 -14
- package/dist/esm/src/models/fattura-principale.d.ts +0 -15
- package/dist/esm/src/models/fattura-principale.js +0 -14
- package/dist/esm/src/models/id-fiscale-iva.d.ts +0 -15
- package/dist/esm/src/models/id-fiscale-iva.js +0 -14
- package/dist/esm/src/models/id-trasmittente.d.ts +0 -15
- package/dist/esm/src/models/id-trasmittente.js +0 -14
- package/dist/esm/src/models/indirizzo-resa.d.ts +0 -19
- package/dist/esm/src/models/indirizzo-resa.js +0 -14
- package/dist/esm/src/models/iscrizione-rea.d.ts +0 -18
- package/dist/esm/src/models/iscrizione-rea.js +0 -14
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -18
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.js +0 -14
- package/dist/esm/src/models/rappresentante-fiscale.d.ts +0 -15
- package/dist/esm/src/models/rappresentante-fiscale.js +0 -14
- package/dist/esm/src/models/sconto-maggiorazione.d.ts +0 -16
- package/dist/esm/src/models/sconto-maggiorazione.js +0 -14
- package/dist/esm/src/models/sede-cedente-prestatore.d.ts +0 -19
- package/dist/esm/src/models/sede-cedente-prestatore.js +0 -14
- package/dist/esm/src/models/sede-cessionario-committente.d.ts +0 -19
- package/dist/esm/src/models/sede-cessionario-committente.js +0 -14
- package/dist/esm/src/models/stabile-organizzazione.d.ts +0 -19
- package/dist/esm/src/models/stabile-organizzazione.js +0 -14
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -15
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.js +0 -14
- package/dist/src/models/allegati.d.ts +0 -18
- package/dist/src/models/allegati.js +0 -15
- package/dist/src/models/altri-dati-gestionali.d.ts +0 -17
- package/dist/src/models/altri-dati-gestionali.js +0 -15
- package/dist/src/models/anagrafica.d.ts +0 -18
- package/dist/src/models/anagrafica.js +0 -15
- package/dist/src/models/cedente-prestatore.d.ts +0 -24
- package/dist/src/models/cedente-prestatore.js +0 -15
- package/dist/src/models/cessionario-committente.d.ts +0 -21
- package/dist/src/models/cessionario-committente.js +0 -15
- package/dist/src/models/codice-articolo.d.ts +0 -15
- package/dist/src/models/codice-articolo.js +0 -15
- package/dist/src/models/contatti-trasmittente.d.ts +0 -15
- package/dist/src/models/contatti-trasmittente.js +0 -15
- package/dist/src/models/contatti.d.ts +0 -16
- package/dist/src/models/contatti.js +0 -15
- package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -23
- package/dist/src/models/dati-anagrafici-cedente-prestatore.js +0 -15
- package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -18
- package/dist/src/models/dati-anagrafici-cessionario-committente.js +0 -15
- package/dist/src/models/dati-anagrafici-vettore.d.ts +0 -19
- package/dist/src/models/dati-anagrafici-vettore.js +0 -15
- package/dist/src/models/dati-anagrafici.d.ts +0 -18
- package/dist/src/models/dati-anagrafici.js +0 -15
- package/dist/src/models/dati-beni-servizi.d.ts +0 -17
- package/dist/src/models/dati-beni-servizi.js +0 -15
- package/dist/src/models/dati-bollo.d.ts +0 -15
- package/dist/src/models/dati-bollo.js +0 -15
- package/dist/src/models/dati-cassa-previdenziale.d.ts +0 -21
- package/dist/src/models/dati-cassa-previdenziale.js +0 -15
- package/dist/src/models/dati-contratto.d.ts +0 -20
- package/dist/src/models/dati-contratto.js +0 -15
- package/dist/src/models/dati-convenzione.d.ts +0 -20
- package/dist/src/models/dati-convenzione.js +0 -15
- package/dist/src/models/dati-ddt.d.ts +0 -16
- package/dist/src/models/dati-ddt.js +0 -15
- package/dist/src/models/dati-fatture-collegate.d.ts +0 -20
- package/dist/src/models/dati-fatture-collegate.js +0 -15
- package/dist/src/models/dati-generali-documento.d.ts +0 -29
- package/dist/src/models/dati-generali-documento.js +0 -15
- package/dist/src/models/dati-generali.d.ts +0 -33
- package/dist/src/models/dati-generali.js +0 -15
- package/dist/src/models/dati-ordine-acquisto.d.ts +0 -20
- package/dist/src/models/dati-ordine-acquisto.js +0 -15
- package/dist/src/models/dati-pagamento.d.ts +0 -16
- package/dist/src/models/dati-pagamento.js +0 -15
- package/dist/src/models/dati-ricezione.d.ts +0 -20
- package/dist/src/models/dati-ricezione.js +0 -15
- package/dist/src/models/dati-riepilogo.d.ts +0 -21
- package/dist/src/models/dati-riepilogo.js +0 -15
- package/dist/src/models/dati-ritenuta.d.ts +0 -17
- package/dist/src/models/dati-ritenuta.js +0 -15
- package/dist/src/models/dati-sal.d.ts +0 -14
- package/dist/src/models/dati-sal.js +0 -15
- package/dist/src/models/dati-trasmissione.d.ts +0 -21
- package/dist/src/models/dati-trasmissione.js +0 -15
- package/dist/src/models/dati-trasporto.d.ts +0 -28
- package/dist/src/models/dati-trasporto.js +0 -15
- package/dist/src/models/dati-veicoli.d.ts +0 -15
- package/dist/src/models/dati-veicoli.js +0 -15
- package/dist/src/models/dettaglio-linee.d.ts +0 -32
- package/dist/src/models/dettaglio-linee.js +0 -15
- package/dist/src/models/dettaglio-pagamento.d.ts +0 -34
- package/dist/src/models/dettaglio-pagamento.js +0 -15
- package/dist/src/models/fattura-elettronica-body.d.ts +0 -23
- package/dist/src/models/fattura-elettronica-body.js +0 -15
- package/dist/src/models/fattura-elettronica-header.d.ts +0 -24
- package/dist/src/models/fattura-elettronica-header.js +0 -15
- package/dist/src/models/fattura-ordinaria.d.ts +0 -18
- package/dist/src/models/fattura-ordinaria.js +0 -15
- package/dist/src/models/fattura-principale.d.ts +0 -15
- package/dist/src/models/fattura-principale.js +0 -15
- package/dist/src/models/id-fiscale-iva.d.ts +0 -15
- package/dist/src/models/id-fiscale-iva.js +0 -15
- package/dist/src/models/id-trasmittente.d.ts +0 -15
- package/dist/src/models/id-trasmittente.js +0 -15
- package/dist/src/models/indirizzo-resa.d.ts +0 -19
- package/dist/src/models/indirizzo-resa.js +0 -15
- package/dist/src/models/iscrizione-rea.d.ts +0 -18
- package/dist/src/models/iscrizione-rea.js +0 -15
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -18
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.js +0 -15
- package/dist/src/models/rappresentante-fiscale.d.ts +0 -15
- package/dist/src/models/rappresentante-fiscale.js +0 -15
- package/dist/src/models/sconto-maggiorazione.d.ts +0 -16
- package/dist/src/models/sconto-maggiorazione.js +0 -15
- package/dist/src/models/sede-cedente-prestatore.d.ts +0 -19
- package/dist/src/models/sede-cedente-prestatore.js +0 -15
- package/dist/src/models/sede-cessionario-committente.d.ts +0 -19
- package/dist/src/models/sede-cessionario-committente.js +0 -15
- package/dist/src/models/stabile-organizzazione.d.ts +0 -19
- package/dist/src/models/stabile-organizzazione.js +0 -15
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -15
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.js +0 -15
- package/docs/Allegati.md +0 -28
- package/docs/AltriDatiGestionali.md +0 -26
- package/docs/Anagrafica.md +0 -28
- package/docs/CedentePrestatore.md +0 -30
- package/docs/CessionarioCommittente.md +0 -26
- package/docs/CodiceArticolo.md +0 -22
- package/docs/Contatti.md +0 -24
- package/docs/ContattiTrasmittente.md +0 -22
- package/docs/DatiAnagrafici.md +0 -24
- package/docs/DatiAnagraficiCedentePrestatore.md +0 -34
- package/docs/DatiAnagraficiCessionarioCommittente.md +0 -24
- package/docs/DatiAnagraficiVettore.md +0 -26
- package/docs/DatiBeniServizi.md +0 -22
- package/docs/DatiBollo.md +0 -22
- package/docs/DatiCassaPrevidenziale.md +0 -34
- package/docs/DatiContratto.md +0 -32
- package/docs/DatiConvenzione.md +0 -32
- package/docs/DatiDDT.md +0 -24
- package/docs/DatiFattureCollegate.md +0 -32
- package/docs/DatiGenerali.md +0 -38
- package/docs/DatiGeneraliDocumento.md +0 -42
- package/docs/DatiOrdineAcquisto.md +0 -32
- package/docs/DatiPagamento.md +0 -22
- package/docs/DatiRicezione.md +0 -32
- package/docs/DatiRiepilogo.md +0 -34
- package/docs/DatiRitenuta.md +0 -26
- package/docs/DatiSAL.md +0 -20
- package/docs/DatiTrasmissione.md +0 -30
- package/docs/DatiTrasporto.md +0 -44
- package/docs/DatiVeicoli.md +0 -22
- package/docs/DettaglioLinee.md +0 -50
- package/docs/DettaglioPagamento.md +0 -60
- package/docs/FatturaElettronicaBody.md +0 -28
- package/docs/FatturaElettronicaHeader.md +0 -30
- package/docs/FatturaOrdinaria.md +0 -24
- package/docs/FatturaPrincipale.md +0 -22
- package/docs/IdFiscaleIVA.md +0 -22
- package/docs/IdTrasmittente.md +0 -22
- package/docs/IndirizzoResa.md +0 -30
- package/docs/IscrizioneREA.md +0 -28
- package/docs/RappresentanteFiscale.md +0 -20
- package/docs/RappresentanteFiscaleCessionarioCommittente.md +0 -26
- package/docs/ScontoMaggiorazione.md +0 -24
- package/docs/SedeCedentePrestatore.md +0 -30
- package/docs/SedeCessionarioCommittente.md +0 -30
- package/docs/StabileOrganizzazione.md +0 -30
- package/docs/TerzoIntermediarioOSoggettoEmittente.md +0 -20
- package/src/models/allegati.ts +0 -24
- package/src/models/altri-dati-gestionali.ts +0 -23
- package/src/models/anagrafica.ts +0 -24
- package/src/models/cedente-prestatore.ts +0 -40
- package/src/models/cessionario-committente.ts +0 -35
- package/src/models/codice-articolo.ts +0 -21
- package/src/models/contatti-trasmittente.ts +0 -21
- package/src/models/contatti.ts +0 -22
- package/src/models/dati-anagrafici-cedente-prestatore.ts +0 -33
- package/src/models/dati-anagrafici-cessionario-committente.ts +0 -28
- package/src/models/dati-anagrafici-vettore.ts +0 -29
- package/src/models/dati-anagrafici.ts +0 -28
- package/src/models/dati-beni-servizi.ts +0 -27
- package/src/models/dati-bollo.ts +0 -21
- package/src/models/dati-cassa-previdenziale.ts +0 -27
- package/src/models/dati-contratto.ts +0 -26
- package/src/models/dati-convenzione.ts +0 -26
- package/src/models/dati-ddt.ts +0 -22
- package/src/models/dati-fatture-collegate.ts +0 -26
- package/src/models/dati-generali-documento.ts +0 -43
- package/src/models/dati-generali.ts +0 -59
- package/src/models/dati-ordine-acquisto.ts +0 -26
- package/src/models/dati-pagamento.ts +0 -24
- package/src/models/dati-ricezione.ts +0 -26
- package/src/models/dati-riepilogo.ts +0 -27
- package/src/models/dati-ritenuta.ts +0 -23
- package/src/models/dati-sal.ts +0 -20
- package/src/models/dati-trasmissione.ts +0 -31
- package/src/models/dati-trasporto.ts +0 -38
- package/src/models/dati-veicoli.ts +0 -21
- package/src/models/dettaglio-linee.ts +0 -44
- package/src/models/dettaglio-pagamento.ts +0 -40
- package/src/models/fattura-elettronica-body.ts +0 -39
- package/src/models/fattura-elettronica-header.ts +0 -40
- package/src/models/fattura-ordinaria.ts +0 -28
- package/src/models/fattura-principale.ts +0 -21
- package/src/models/id-fiscale-iva.ts +0 -21
- package/src/models/id-trasmittente.ts +0 -21
- package/src/models/indirizzo-resa.ts +0 -25
- package/src/models/iscrizione-rea.ts +0 -24
- package/src/models/rappresentante-fiscale-cessionario-committente.ts +0 -26
- package/src/models/rappresentante-fiscale.ts +0 -23
- package/src/models/sconto-maggiorazione.ts +0 -22
- package/src/models/sede-cedente-prestatore.ts +0 -25
- package/src/models/sede-cessionario-committente.ts +0 -25
- package/src/models/stabile-organizzazione.ts +0 -25
- package/src/models/terzo-intermediario-osoggetto-emittente.ts +0 -23
|
@@ -18,15 +18,16 @@ import type { Company } from '../../src/models';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
21
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
22
22
|
* @summary List companies
|
|
23
23
|
* @param {number} [page] Page number.
|
|
24
24
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
25
25
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
26
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
26
27
|
* @param {*} [options] Override http request option.
|
|
27
28
|
* @throws {RequiredError}
|
|
28
29
|
*/
|
|
29
|
-
companyGet: (page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
companyGet: (page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
31
|
/**
|
|
31
32
|
* Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
32
33
|
* @summary Delete a company
|
|
@@ -60,21 +61,30 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
63
|
companyPut: (company: Company, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
66
|
+
* @summary Get a company by vat number
|
|
67
|
+
* @param {string} vat
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
companyVatGet: (vat: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
72
|
};
|
|
64
73
|
/**
|
|
65
74
|
* CompanyApi - functional programming interface
|
|
66
75
|
*/
|
|
67
76
|
export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
68
77
|
/**
|
|
69
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
78
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
70
79
|
* @summary List companies
|
|
71
80
|
* @param {number} [page] Page number.
|
|
72
81
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
73
82
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
83
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
74
84
|
* @param {*} [options] Override http request option.
|
|
75
85
|
* @throws {RequiredError}
|
|
76
86
|
*/
|
|
77
|
-
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Company>>>;
|
|
87
|
+
companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Company>>>;
|
|
78
88
|
/**
|
|
79
89
|
* Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
80
90
|
* @summary Delete a company
|
|
@@ -108,21 +118,30 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
108
118
|
* @throws {RequiredError}
|
|
109
119
|
*/
|
|
110
120
|
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Company>>;
|
|
121
|
+
/**
|
|
122
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
123
|
+
* @summary Get a company by vat number
|
|
124
|
+
* @param {string} vat
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
companyVatGet(vat: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Company>>;
|
|
111
129
|
};
|
|
112
130
|
/**
|
|
113
131
|
* CompanyApi - factory interface
|
|
114
132
|
*/
|
|
115
133
|
export declare const CompanyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
116
134
|
/**
|
|
117
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
135
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
118
136
|
* @summary List companies
|
|
119
137
|
* @param {number} [page] Page number.
|
|
120
138
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
121
139
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
140
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
122
141
|
* @param {*} [options] Override http request option.
|
|
123
142
|
* @throws {RequiredError}
|
|
124
143
|
*/
|
|
125
|
-
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
|
|
144
|
+
companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
|
|
126
145
|
/**
|
|
127
146
|
* Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
128
147
|
* @summary Delete a company
|
|
@@ -156,21 +175,30 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
156
175
|
* @throws {RequiredError}
|
|
157
176
|
*/
|
|
158
177
|
companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
178
|
+
/**
|
|
179
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
180
|
+
* @summary Get a company by vat number
|
|
181
|
+
* @param {string} vat
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
companyVatGet(vat: string, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
159
186
|
};
|
|
160
187
|
/**
|
|
161
188
|
* CompanyApi - interface
|
|
162
189
|
*/
|
|
163
190
|
export interface CompanyApiInterface {
|
|
164
191
|
/**
|
|
165
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
192
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
166
193
|
* @summary List companies
|
|
167
194
|
* @param {number} [page] Page number.
|
|
168
195
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
169
196
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
197
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
170
198
|
* @param {*} [options] Override http request option.
|
|
171
199
|
* @throws {RequiredError}
|
|
172
200
|
*/
|
|
173
|
-
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
|
|
201
|
+
companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
|
|
174
202
|
/**
|
|
175
203
|
* Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
176
204
|
* @summary Delete a company
|
|
@@ -204,21 +232,30 @@ export interface CompanyApiInterface {
|
|
|
204
232
|
* @throws {RequiredError}
|
|
205
233
|
*/
|
|
206
234
|
companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
235
|
+
/**
|
|
236
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
237
|
+
* @summary Get a company by vat number
|
|
238
|
+
* @param {string} vat
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
companyVatGet(vat: string, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
207
243
|
}
|
|
208
244
|
/**
|
|
209
245
|
* CompanyApi - object-oriented interface
|
|
210
246
|
*/
|
|
211
247
|
export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
212
248
|
/**
|
|
213
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
249
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
214
250
|
* @summary List companies
|
|
215
251
|
* @param {number} [page] Page number.
|
|
216
252
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
217
253
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
254
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
218
255
|
* @param {*} [options] Override http request option.
|
|
219
256
|
* @throws {RequiredError}
|
|
220
257
|
*/
|
|
221
|
-
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any, {}>>;
|
|
258
|
+
companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any, {}>>;
|
|
222
259
|
/**
|
|
223
260
|
* Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
224
261
|
* @summary Delete a company
|
|
@@ -252,4 +289,12 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
252
289
|
* @throws {RequiredError}
|
|
253
290
|
*/
|
|
254
291
|
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
292
|
+
/**
|
|
293
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
294
|
+
* @summary Get a company by vat number
|
|
295
|
+
* @param {string} vat
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
companyVatGet(vat: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
255
300
|
}
|
|
@@ -38,15 +38,16 @@ const base_1 = require("../../base");
|
|
|
38
38
|
const CompanyApiAxiosParamCreator = function (configuration) {
|
|
39
39
|
return {
|
|
40
40
|
/**
|
|
41
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
41
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
42
42
|
* @summary List companies
|
|
43
43
|
* @param {number} [page] Page number.
|
|
44
44
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
45
45
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
46
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
46
47
|
* @param {*} [options] Override http request option.
|
|
47
48
|
* @throws {RequiredError}
|
|
48
49
|
*/
|
|
49
|
-
companyGet: (page_1, pageSize_1, sort_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, sort_1, ...args_1], void 0, function* (page, pageSize, sort, options = {}) {
|
|
50
|
+
companyGet: (page_1, pageSize_1, sort_1, q_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, sort_1, q_1, ...args_1], void 0, function* (page, pageSize, sort, q, options = {}) {
|
|
50
51
|
const localVarPath = `/company`;
|
|
51
52
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52
53
|
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -69,6 +70,9 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
69
70
|
if (sort !== undefined) {
|
|
70
71
|
localVarQueryParameter['sort'] = sort;
|
|
71
72
|
}
|
|
73
|
+
if (q !== undefined) {
|
|
74
|
+
localVarQueryParameter['q'] = q;
|
|
75
|
+
}
|
|
72
76
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
73
77
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
74
78
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -216,6 +220,39 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
216
220
|
options: localVarRequestOptions,
|
|
217
221
|
};
|
|
218
222
|
}),
|
|
223
|
+
/**
|
|
224
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
225
|
+
* @summary Get a company by vat number
|
|
226
|
+
* @param {string} vat
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
companyVatGet: (vat_1, ...args_1) => __awaiter(this, [vat_1, ...args_1], void 0, function* (vat, options = {}) {
|
|
231
|
+
// verify required parameter 'vat' is not null or undefined
|
|
232
|
+
(0, common_1.assertParamExists)('companyVatGet', 'vat', vat);
|
|
233
|
+
const localVarPath = `/company/{vat}`
|
|
234
|
+
.replace(`{${"vat"}}`, encodeURIComponent(String(vat)));
|
|
235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
236
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
237
|
+
let baseOptions;
|
|
238
|
+
if (configuration) {
|
|
239
|
+
baseOptions = configuration.baseOptions;
|
|
240
|
+
}
|
|
241
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
242
|
+
const localVarHeaderParameter = {};
|
|
243
|
+
const localVarQueryParameter = {};
|
|
244
|
+
// authentication Basic required
|
|
245
|
+
// http basic authentication required
|
|
246
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
247
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
248
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
250
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
251
|
+
return {
|
|
252
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
253
|
+
options: localVarRequestOptions,
|
|
254
|
+
};
|
|
255
|
+
}),
|
|
219
256
|
};
|
|
220
257
|
};
|
|
221
258
|
exports.CompanyApiAxiosParamCreator = CompanyApiAxiosParamCreator;
|
|
@@ -226,18 +263,19 @@ const CompanyApiFp = function (configuration) {
|
|
|
226
263
|
const localVarAxiosParamCreator = (0, exports.CompanyApiAxiosParamCreator)(configuration);
|
|
227
264
|
return {
|
|
228
265
|
/**
|
|
229
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
266
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
230
267
|
* @summary List companies
|
|
231
268
|
* @param {number} [page] Page number.
|
|
232
269
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
233
270
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
271
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
234
272
|
* @param {*} [options] Override http request option.
|
|
235
273
|
* @throws {RequiredError}
|
|
236
274
|
*/
|
|
237
|
-
companyGet(page, pageSize, sort, options) {
|
|
275
|
+
companyGet(page, pageSize, sort, q, options) {
|
|
238
276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
239
277
|
var _a, _b, _c;
|
|
240
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.companyGet(page, pageSize, sort, options);
|
|
278
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.companyGet(page, pageSize, sort, q, options);
|
|
241
279
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
242
280
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CompanyApi.companyGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
243
281
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -308,6 +346,22 @@ const CompanyApiFp = function (configuration) {
|
|
|
308
346
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
309
347
|
});
|
|
310
348
|
},
|
|
349
|
+
/**
|
|
350
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
351
|
+
* @summary Get a company by vat number
|
|
352
|
+
* @param {string} vat
|
|
353
|
+
* @param {*} [options] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
*/
|
|
356
|
+
companyVatGet(vat, options) {
|
|
357
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
358
|
+
var _a, _b, _c;
|
|
359
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.companyVatGet(vat, options);
|
|
360
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
361
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CompanyApi.companyVatGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
362
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
363
|
+
});
|
|
364
|
+
},
|
|
311
365
|
};
|
|
312
366
|
};
|
|
313
367
|
exports.CompanyApiFp = CompanyApiFp;
|
|
@@ -318,16 +372,17 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
318
372
|
const localVarFp = (0, exports.CompanyApiFp)(configuration);
|
|
319
373
|
return {
|
|
320
374
|
/**
|
|
321
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
375
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
322
376
|
* @summary List companies
|
|
323
377
|
* @param {number} [page] Page number.
|
|
324
378
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
325
379
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
380
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
326
381
|
* @param {*} [options] Override http request option.
|
|
327
382
|
* @throws {RequiredError}
|
|
328
383
|
*/
|
|
329
|
-
companyGet(page, pageSize, sort, options) {
|
|
330
|
-
return localVarFp.companyGet(page, pageSize, sort, options).then((request) => request(axios, basePath));
|
|
384
|
+
companyGet(page, pageSize, sort, q, options) {
|
|
385
|
+
return localVarFp.companyGet(page, pageSize, sort, q, options).then((request) => request(axios, basePath));
|
|
331
386
|
},
|
|
332
387
|
/**
|
|
333
388
|
* Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
@@ -370,6 +425,16 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
370
425
|
companyPut(company, options) {
|
|
371
426
|
return localVarFp.companyPut(company, options).then((request) => request(axios, basePath));
|
|
372
427
|
},
|
|
428
|
+
/**
|
|
429
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
430
|
+
* @summary Get a company by vat number
|
|
431
|
+
* @param {string} vat
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
companyVatGet(vat, options) {
|
|
436
|
+
return localVarFp.companyVatGet(vat, options).then((request) => request(axios, basePath));
|
|
437
|
+
},
|
|
373
438
|
};
|
|
374
439
|
};
|
|
375
440
|
exports.CompanyApiFactory = CompanyApiFactory;
|
|
@@ -378,16 +443,17 @@ exports.CompanyApiFactory = CompanyApiFactory;
|
|
|
378
443
|
*/
|
|
379
444
|
class CompanyApi extends base_1.BaseAPI {
|
|
380
445
|
/**
|
|
381
|
-
* Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
446
|
+
* Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
382
447
|
* @summary List companies
|
|
383
448
|
* @param {number} [page] Page number.
|
|
384
449
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
385
450
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
451
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
386
452
|
* @param {*} [options] Override http request option.
|
|
387
453
|
* @throws {RequiredError}
|
|
388
454
|
*/
|
|
389
|
-
companyGet(page, pageSize, sort, options) {
|
|
390
|
-
return (0, exports.CompanyApiFp)(this.configuration).companyGet(page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
455
|
+
companyGet(page, pageSize, sort, q, options) {
|
|
456
|
+
return (0, exports.CompanyApiFp)(this.configuration).companyGet(page, pageSize, sort, q, options).then((request) => request(this.axios, this.basePath));
|
|
391
457
|
}
|
|
392
458
|
/**
|
|
393
459
|
* Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
|
|
@@ -430,5 +496,15 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
430
496
|
companyPut(company, options) {
|
|
431
497
|
return (0, exports.CompanyApiFp)(this.configuration).companyPut(company, options).then((request) => request(this.axios, this.basePath));
|
|
432
498
|
}
|
|
499
|
+
/**
|
|
500
|
+
* Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
501
|
+
* @summary Get a company by vat number
|
|
502
|
+
* @param {string} vat
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
companyVatGet(vat, options) {
|
|
507
|
+
return (0, exports.CompanyApiFp)(this.configuration).companyVatGet(vat, options).then((request) => request(this.axios, this.basePath));
|
|
508
|
+
}
|
|
433
509
|
}
|
|
434
510
|
exports.CompanyApi = CompanyApi;
|
|
@@ -19,7 +19,7 @@ export declare const ExportApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
19
19
|
/**
|
|
20
20
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
21
21
|
* @summary Export invoices as a ZIP archive
|
|
22
|
-
* @param {
|
|
22
|
+
* @param {string} [type]
|
|
23
23
|
* @param {number} [companyId] Company id
|
|
24
24
|
* @param {number} [year]
|
|
25
25
|
* @param {number} [month]
|
|
@@ -29,7 +29,7 @@ export declare const ExportApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
32
|
-
exportGet: (type?:
|
|
32
|
+
exportGet: (type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* ExportApi - functional programming interface
|
|
@@ -38,7 +38,7 @@ export declare const ExportApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
/**
|
|
39
39
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
40
40
|
* @summary Export invoices as a ZIP archive
|
|
41
|
-
* @param {
|
|
41
|
+
* @param {string} [type]
|
|
42
42
|
* @param {number} [companyId] Company id
|
|
43
43
|
* @param {number} [year]
|
|
44
44
|
* @param {number} [month]
|
|
@@ -48,7 +48,7 @@ export declare const ExportApiFp: (configuration?: Configuration) => {
|
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
|
-
exportGet(type?:
|
|
51
|
+
exportGet(type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
54
|
* ExportApi - factory interface
|
|
@@ -57,7 +57,7 @@ export declare const ExportApiFactory: (configuration?: Configuration, basePath?
|
|
|
57
57
|
/**
|
|
58
58
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
59
59
|
* @summary Export invoices as a ZIP archive
|
|
60
|
-
* @param {
|
|
60
|
+
* @param {string} [type]
|
|
61
61
|
* @param {number} [companyId] Company id
|
|
62
62
|
* @param {number} [year]
|
|
63
63
|
* @param {number} [month]
|
|
@@ -67,7 +67,7 @@ export declare const ExportApiFactory: (configuration?: Configuration, basePath?
|
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
70
|
-
exportGet(type?:
|
|
70
|
+
exportGet(type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
71
71
|
};
|
|
72
72
|
/**
|
|
73
73
|
* ExportApi - interface
|
|
@@ -76,7 +76,7 @@ export interface ExportApiInterface {
|
|
|
76
76
|
/**
|
|
77
77
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
78
78
|
* @summary Export invoices as a ZIP archive
|
|
79
|
-
* @param {
|
|
79
|
+
* @param {string} [type]
|
|
80
80
|
* @param {number} [companyId] Company id
|
|
81
81
|
* @param {number} [year]
|
|
82
82
|
* @param {number} [month]
|
|
@@ -86,7 +86,7 @@ export interface ExportApiInterface {
|
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
|
-
exportGet(type?:
|
|
89
|
+
exportGet(type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
92
|
* ExportApi - object-oriented interface
|
|
@@ -95,7 +95,7 @@ export declare class ExportApi extends BaseAPI implements ExportApiInterface {
|
|
|
95
95
|
/**
|
|
96
96
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
97
97
|
* @summary Export invoices as a ZIP archive
|
|
98
|
-
* @param {
|
|
98
|
+
* @param {string} [type]
|
|
99
99
|
* @param {number} [companyId] Company id
|
|
100
100
|
* @param {number} [year]
|
|
101
101
|
* @param {number} [month]
|
|
@@ -105,11 +105,5 @@ export declare class ExportApi extends BaseAPI implements ExportApiInterface {
|
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
exportGet(type?:
|
|
108
|
+
exportGet(type?: string, companyId?: number, year?: number, month?: number, quarter?: number, documentDateFrom?: string, documentDateTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
109
109
|
}
|
|
110
|
-
export declare const ExportGetTypeEnum: {
|
|
111
|
-
readonly Send: "Send";
|
|
112
|
-
readonly Receive: "Receive";
|
|
113
|
-
readonly Both: "Both";
|
|
114
|
-
};
|
|
115
|
-
export type ExportGetTypeEnum = typeof ExportGetTypeEnum[keyof typeof ExportGetTypeEnum];
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.ExportApi = exports.ExportApiFactory = exports.ExportApiFp = exports.ExportApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// URLSearchParams not necessarily used
|
|
28
28
|
// @ts-ignore
|
|
@@ -40,7 +40,7 @@ const ExportApiAxiosParamCreator = function (configuration) {
|
|
|
40
40
|
/**
|
|
41
41
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
42
42
|
* @summary Export invoices as a ZIP archive
|
|
43
|
-
* @param {
|
|
43
|
+
* @param {string} [type]
|
|
44
44
|
* @param {number} [companyId] Company id
|
|
45
45
|
* @param {number} [year]
|
|
46
46
|
* @param {number} [month]
|
|
@@ -110,7 +110,7 @@ const ExportApiFp = function (configuration) {
|
|
|
110
110
|
/**
|
|
111
111
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
112
112
|
* @summary Export invoices as a ZIP archive
|
|
113
|
-
* @param {
|
|
113
|
+
* @param {string} [type]
|
|
114
114
|
* @param {number} [companyId] Company id
|
|
115
115
|
* @param {number} [year]
|
|
116
116
|
* @param {number} [month]
|
|
@@ -141,7 +141,7 @@ const ExportApiFactory = function (configuration, basePath, axios) {
|
|
|
141
141
|
/**
|
|
142
142
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
143
143
|
* @summary Export invoices as a ZIP archive
|
|
144
|
-
* @param {
|
|
144
|
+
* @param {string} [type]
|
|
145
145
|
* @param {number} [companyId] Company id
|
|
146
146
|
* @param {number} [year]
|
|
147
147
|
* @param {number} [month]
|
|
@@ -164,7 +164,7 @@ class ExportApi extends base_1.BaseAPI {
|
|
|
164
164
|
/**
|
|
165
165
|
* Export invoices as a ZIP archive of FatturaPA XML files, suitable for import into accounting software (TeamSystem, Zucchetti, etc.). **Sent invoices** are only included when they have reached a definitive state (e.g., `Consegnato` for private recipients, `AccettatoDalDestinatario`, `DecorrenzaTermini`, etc.). Invoices still being processed by SDI are excluded. **Received invoices** are always included. Unread invoices are automatically marked as read and counted as operations. ### Period filters You can filter by period using either: - `year` + `month` (e.g., `year=2026&month=3` for March 2026) - `year` + `quarter` (e.g., `year=2026&quarter=1` for Q1 Jan-Mar) - `document_date_from` / `document_date_to` for a custom date range These options are mutually exclusive. The `year` parameter alone is not valid and requires either `month` or `quarter`. ### Response Returns `200` with a ZIP archive, or `204 No Content` if no invoices match the given filters. Files in the archive are organized by company VAT number (`{vat}/send/`, `{vat}/receive/`). ### Rate limiting This endpoint has a dedicated rate limit: only one export request per user can be processed at a time. Concurrent requests will receive a `429 Too Many Requests` response.
|
|
166
166
|
* @summary Export invoices as a ZIP archive
|
|
167
|
-
* @param {
|
|
167
|
+
* @param {string} [type]
|
|
168
168
|
* @param {number} [companyId] Company id
|
|
169
169
|
* @param {number} [year]
|
|
170
170
|
* @param {number} [month]
|
|
@@ -179,8 +179,3 @@ class ExportApi extends base_1.BaseAPI {
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
exports.ExportApi = ExportApi;
|
|
182
|
-
exports.ExportGetTypeEnum = {
|
|
183
|
-
Send: 'Send',
|
|
184
|
-
Receive: 'Receive',
|
|
185
|
-
Both: 'Both'
|
|
186
|
-
};
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
/**
|
|
16
|
+
* HealthApi - axios parameter creator
|
|
17
|
+
*/
|
|
18
|
+
export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19
|
+
/**
|
|
20
|
+
* Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
|
|
21
|
+
* @summary Health check
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
healthGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* HealthApi - functional programming interface
|
|
29
|
+
*/
|
|
30
|
+
export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
31
|
+
/**
|
|
32
|
+
* Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
|
|
33
|
+
* @summary Health check
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
healthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* HealthApi - factory interface
|
|
41
|
+
*/
|
|
42
|
+
export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
43
|
+
/**
|
|
44
|
+
* Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
|
|
45
|
+
* @summary Health check
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
healthGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* HealthApi - interface
|
|
53
|
+
*/
|
|
54
|
+
export interface HealthApiInterface {
|
|
55
|
+
/**
|
|
56
|
+
* Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
|
|
57
|
+
* @summary Health check
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
healthGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* HealthApi - object-oriented interface
|
|
65
|
+
*/
|
|
66
|
+
export declare class HealthApi extends BaseAPI implements HealthApiInterface {
|
|
67
|
+
/**
|
|
68
|
+
* Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
|
|
69
|
+
* @summary Health check
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
healthGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
74
|
+
}
|