@invoicetronic/ts-sdk 1.3.0 → 1.4.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/common.ts +2 -1
- package/configuration.ts +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.js +1 -1
- 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 +40 -0
- package/dist/esm/src/api/company-api.js +69 -0
- package/dist/esm/src/api/receive-api.d.ts +40 -0
- package/dist/esm/src/api/receive-api.js +69 -0
- package/dist/esm/src/api/send-api.d.ts +40 -0
- package/dist/esm/src/api/send-api.js +69 -0
- package/dist/esm/src/models/event.d.ts +3 -0
- package/dist/esm/src/models/index.d.ts +0 -52
- package/dist/esm/src/models/index.js +0 -52
- package/dist/esm/src/models/receive.d.ts +3 -0
- package/dist/esm/src/models/send.d.ts +3 -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 +40 -0
- package/dist/src/api/company-api.js +69 -0
- package/dist/src/api/receive-api.d.ts +40 -0
- package/dist/src/api/receive-api.js +69 -0
- package/dist/src/api/send-api.d.ts +40 -0
- package/dist/src/api/send-api.js +69 -0
- package/dist/src/models/event.d.ts +3 -0
- package/dist/src/models/index.d.ts +0 -52
- package/dist/src/models/index.js +0 -52
- package/dist/src/models/receive.d.ts +3 -0
- package/dist/src/models/send.d.ts +3 -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 +54 -0
- package/docs/Event.md +1 -0
- package/docs/Receive.md +1 -0
- package/docs/ReceiveApi.md +53 -0
- package/docs/Send.md +1 -0
- package/docs/SendApi.md +53 -0
- package/docs/Status.md +1 -0
- package/docs/Update.md +1 -0
- package/docs/WebHook.md +1 -0
- package/package.json +1 -1
- package/src/api/company-api.ts +81 -0
- package/src/api/receive-api.ts +83 -0
- package/src/api/send-api.ts +81 -0
- package/src/models/event.ts +3 -0
- package/src/models/index.ts +0 -52
- package/src/models/receive.ts +3 -0
- package/src/models/send.ts +3 -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/document-data.d.ts +0 -15
- package/dist/esm/src/models/document-data.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/model-error.d.ts +0 -28
- package/dist/esm/src/models/model-error.js +0 -14
- package/dist/esm/src/models/problem-details.d.ts +0 -19
- package/dist/esm/src/models/problem-details.js +0 -14
- package/dist/esm/src/models/problem-http-result.d.ts +0 -17
- package/dist/esm/src/models/problem-http-result.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/send-reduced.d.ts +0 -39
- package/dist/esm/src/models/send-reduced.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/document-data.d.ts +0 -15
- package/dist/src/models/document-data.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/model-error.d.ts +0 -28
- package/dist/src/models/model-error.js +0 -15
- package/dist/src/models/problem-details.d.ts +0 -19
- package/dist/src/models/problem-details.js +0 -15
- package/dist/src/models/problem-http-result.d.ts +0 -17
- package/dist/src/models/problem-http-result.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/send-reduced.d.ts +0 -39
- package/dist/src/models/send-reduced.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/DocumentData.md +0 -22
- package/docs/Error.md +0 -25
- 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/ProblemDetails.md +0 -28
- package/docs/ProblemHttpResult.md +0 -24
- 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/SendReduced.md +0 -29
- 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/document-data.ts +0 -21
- 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/model-error.ts +0 -34
- package/src/models/problem-details.ts +0 -26
- package/src/models/problem-http-result.ts +0 -25
- 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/send-reduced.ts +0 -45
- package/src/models/stabile-organizzazione.ts +0 -25
- package/src/models/terzo-intermediario-osoggetto-emittente.ts +0 -23
|
@@ -1,60 +1,8 @@
|
|
|
1
|
-
export * from './allegati';
|
|
2
|
-
export * from './altri-dati-gestionali';
|
|
3
|
-
export * from './anagrafica';
|
|
4
|
-
export * from './cedente-prestatore';
|
|
5
|
-
export * from './cessionario-committente';
|
|
6
|
-
export * from './codice-articolo';
|
|
7
1
|
export * from './company';
|
|
8
|
-
export * from './contatti';
|
|
9
|
-
export * from './contatti-trasmittente';
|
|
10
|
-
export * from './dati-anagrafici';
|
|
11
|
-
export * from './dati-anagrafici-cedente-prestatore';
|
|
12
|
-
export * from './dati-anagrafici-cessionario-committente';
|
|
13
|
-
export * from './dati-anagrafici-vettore';
|
|
14
|
-
export * from './dati-beni-servizi';
|
|
15
|
-
export * from './dati-bollo';
|
|
16
|
-
export * from './dati-cassa-previdenziale';
|
|
17
|
-
export * from './dati-contratto';
|
|
18
|
-
export * from './dati-convenzione';
|
|
19
|
-
export * from './dati-ddt';
|
|
20
|
-
export * from './dati-fatture-collegate';
|
|
21
|
-
export * from './dati-generali';
|
|
22
|
-
export * from './dati-generali-documento';
|
|
23
|
-
export * from './dati-ordine-acquisto';
|
|
24
|
-
export * from './dati-pagamento';
|
|
25
|
-
export * from './dati-ricezione';
|
|
26
|
-
export * from './dati-riepilogo';
|
|
27
|
-
export * from './dati-ritenuta';
|
|
28
|
-
export * from './dati-sal';
|
|
29
|
-
export * from './dati-trasmissione';
|
|
30
|
-
export * from './dati-trasporto';
|
|
31
|
-
export * from './dati-veicoli';
|
|
32
|
-
export * from './dettaglio-linee';
|
|
33
|
-
export * from './dettaglio-pagamento';
|
|
34
|
-
export * from './document-data';
|
|
35
2
|
export * from './event';
|
|
36
|
-
export * from './fattura-elettronica-body';
|
|
37
|
-
export * from './fattura-elettronica-header';
|
|
38
|
-
export * from './fattura-ordinaria';
|
|
39
|
-
export * from './fattura-principale';
|
|
40
|
-
export * from './id-fiscale-iva';
|
|
41
|
-
export * from './id-trasmittente';
|
|
42
|
-
export * from './indirizzo-resa';
|
|
43
|
-
export * from './iscrizione-rea';
|
|
44
|
-
export * from './model-error';
|
|
45
|
-
export * from './problem-details';
|
|
46
|
-
export * from './problem-http-result';
|
|
47
|
-
export * from './rappresentante-fiscale';
|
|
48
|
-
export * from './rappresentante-fiscale-cessionario-committente';
|
|
49
3
|
export * from './receive';
|
|
50
|
-
export * from './sconto-maggiorazione';
|
|
51
|
-
export * from './sede-cedente-prestatore';
|
|
52
|
-
export * from './sede-cessionario-committente';
|
|
53
4
|
export * from './send';
|
|
54
|
-
export * from './send-reduced';
|
|
55
|
-
export * from './stabile-organizzazione';
|
|
56
5
|
export * from './status';
|
|
57
|
-
export * from './terzo-intermediario-osoggetto-emittente';
|
|
58
6
|
export * from './update';
|
|
59
7
|
export * from './web-hook';
|
|
60
8
|
export * from './web-hook-history';
|
|
@@ -1,60 +1,8 @@
|
|
|
1
|
-
export * from './allegati';
|
|
2
|
-
export * from './altri-dati-gestionali';
|
|
3
|
-
export * from './anagrafica';
|
|
4
|
-
export * from './cedente-prestatore';
|
|
5
|
-
export * from './cessionario-committente';
|
|
6
|
-
export * from './codice-articolo';
|
|
7
1
|
export * from './company';
|
|
8
|
-
export * from './contatti';
|
|
9
|
-
export * from './contatti-trasmittente';
|
|
10
|
-
export * from './dati-anagrafici';
|
|
11
|
-
export * from './dati-anagrafici-cedente-prestatore';
|
|
12
|
-
export * from './dati-anagrafici-cessionario-committente';
|
|
13
|
-
export * from './dati-anagrafici-vettore';
|
|
14
|
-
export * from './dati-beni-servizi';
|
|
15
|
-
export * from './dati-bollo';
|
|
16
|
-
export * from './dati-cassa-previdenziale';
|
|
17
|
-
export * from './dati-contratto';
|
|
18
|
-
export * from './dati-convenzione';
|
|
19
|
-
export * from './dati-ddt';
|
|
20
|
-
export * from './dati-fatture-collegate';
|
|
21
|
-
export * from './dati-generali';
|
|
22
|
-
export * from './dati-generali-documento';
|
|
23
|
-
export * from './dati-ordine-acquisto';
|
|
24
|
-
export * from './dati-pagamento';
|
|
25
|
-
export * from './dati-ricezione';
|
|
26
|
-
export * from './dati-riepilogo';
|
|
27
|
-
export * from './dati-ritenuta';
|
|
28
|
-
export * from './dati-sal';
|
|
29
|
-
export * from './dati-trasmissione';
|
|
30
|
-
export * from './dati-trasporto';
|
|
31
|
-
export * from './dati-veicoli';
|
|
32
|
-
export * from './dettaglio-linee';
|
|
33
|
-
export * from './dettaglio-pagamento';
|
|
34
|
-
export * from './document-data';
|
|
35
2
|
export * from './event';
|
|
36
|
-
export * from './fattura-elettronica-body';
|
|
37
|
-
export * from './fattura-elettronica-header';
|
|
38
|
-
export * from './fattura-ordinaria';
|
|
39
|
-
export * from './fattura-principale';
|
|
40
|
-
export * from './id-fiscale-iva';
|
|
41
|
-
export * from './id-trasmittente';
|
|
42
|
-
export * from './indirizzo-resa';
|
|
43
|
-
export * from './iscrizione-rea';
|
|
44
|
-
export * from './model-error';
|
|
45
|
-
export * from './problem-details';
|
|
46
|
-
export * from './problem-http-result';
|
|
47
|
-
export * from './rappresentante-fiscale';
|
|
48
|
-
export * from './rappresentante-fiscale-cessionario-committente';
|
|
49
3
|
export * from './receive';
|
|
50
|
-
export * from './sconto-maggiorazione';
|
|
51
|
-
export * from './sede-cedente-prestatore';
|
|
52
|
-
export * from './sede-cessionario-committente';
|
|
53
4
|
export * from './send';
|
|
54
|
-
export * from './send-reduced';
|
|
55
|
-
export * from './stabile-organizzazione';
|
|
56
5
|
export * from './status';
|
|
57
|
-
export * from './terzo-intermediario-osoggetto-emittente';
|
|
58
6
|
export * from './update';
|
|
59
7
|
export * from './web-hook';
|
|
60
8
|
export * from './web-hook-history';
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { DocumentData } from './document-data';
|
|
13
|
+
/**
|
|
14
|
+
* A received invoice.
|
|
15
|
+
*/
|
|
13
16
|
export interface Receive {
|
|
14
17
|
/**
|
|
15
18
|
* Unique identifier. Leave it at 0 for new records as it will be set automatically.
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Company } from './company';
|
|
13
13
|
import type { DocumentData } from './document-data';
|
|
14
|
+
/**
|
|
15
|
+
* A sent invoice.
|
|
16
|
+
*/
|
|
14
17
|
export interface Send {
|
|
15
18
|
/**
|
|
16
19
|
* Unique identifier. Leave it at 0 for new records as it will be set automatically.
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SendReduced } from './send-reduced';
|
|
13
|
+
/**
|
|
14
|
+
* An SDI status update for a sent invoice.
|
|
15
|
+
*/
|
|
13
16
|
export interface Update {
|
|
14
17
|
/**
|
|
15
18
|
* Unique identifier. Leave it at 0 for new records as it will be set automatically.
|
|
@@ -60,6 +60,14 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
62
|
companyPut: (company: Company, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
|
+
/**
|
|
64
|
+
* 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.
|
|
65
|
+
* @summary Get a company by vat number
|
|
66
|
+
* @param {string} vat
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
companyVatGet: (vat: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
71
|
};
|
|
64
72
|
/**
|
|
65
73
|
* CompanyApi - functional programming interface
|
|
@@ -108,6 +116,14 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
108
116
|
* @throws {RequiredError}
|
|
109
117
|
*/
|
|
110
118
|
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Company>>;
|
|
119
|
+
/**
|
|
120
|
+
* 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.
|
|
121
|
+
* @summary Get a company by vat number
|
|
122
|
+
* @param {string} vat
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
companyVatGet(vat: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Company>>;
|
|
111
127
|
};
|
|
112
128
|
/**
|
|
113
129
|
* CompanyApi - factory interface
|
|
@@ -156,6 +172,14 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
156
172
|
* @throws {RequiredError}
|
|
157
173
|
*/
|
|
158
174
|
companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
175
|
+
/**
|
|
176
|
+
* 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.
|
|
177
|
+
* @summary Get a company by vat number
|
|
178
|
+
* @param {string} vat
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
companyVatGet(vat: string, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
159
183
|
};
|
|
160
184
|
/**
|
|
161
185
|
* CompanyApi - interface
|
|
@@ -204,6 +228,14 @@ export interface CompanyApiInterface {
|
|
|
204
228
|
* @throws {RequiredError}
|
|
205
229
|
*/
|
|
206
230
|
companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
231
|
+
/**
|
|
232
|
+
* 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.
|
|
233
|
+
* @summary Get a company by vat number
|
|
234
|
+
* @param {string} vat
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
*/
|
|
238
|
+
companyVatGet(vat: string, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
207
239
|
}
|
|
208
240
|
/**
|
|
209
241
|
* CompanyApi - object-oriented interface
|
|
@@ -252,4 +284,12 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
252
284
|
* @throws {RequiredError}
|
|
253
285
|
*/
|
|
254
286
|
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
287
|
+
/**
|
|
288
|
+
* 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.
|
|
289
|
+
* @summary Get a company by vat number
|
|
290
|
+
* @param {string} vat
|
|
291
|
+
* @param {*} [options] Override http request option.
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
*/
|
|
294
|
+
companyVatGet(vat: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
255
295
|
}
|
|
@@ -216,6 +216,39 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
216
216
|
options: localVarRequestOptions,
|
|
217
217
|
};
|
|
218
218
|
}),
|
|
219
|
+
/**
|
|
220
|
+
* 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.
|
|
221
|
+
* @summary Get a company by vat number
|
|
222
|
+
* @param {string} vat
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
companyVatGet: (vat_1, ...args_1) => __awaiter(this, [vat_1, ...args_1], void 0, function* (vat, options = {}) {
|
|
227
|
+
// verify required parameter 'vat' is not null or undefined
|
|
228
|
+
(0, common_1.assertParamExists)('companyVatGet', 'vat', vat);
|
|
229
|
+
const localVarPath = `/company/{vat}`
|
|
230
|
+
.replace(`{${"vat"}}`, encodeURIComponent(String(vat)));
|
|
231
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
232
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
233
|
+
let baseOptions;
|
|
234
|
+
if (configuration) {
|
|
235
|
+
baseOptions = configuration.baseOptions;
|
|
236
|
+
}
|
|
237
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
238
|
+
const localVarHeaderParameter = {};
|
|
239
|
+
const localVarQueryParameter = {};
|
|
240
|
+
// authentication Basic required
|
|
241
|
+
// http basic authentication required
|
|
242
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
243
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
244
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
246
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
247
|
+
return {
|
|
248
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
249
|
+
options: localVarRequestOptions,
|
|
250
|
+
};
|
|
251
|
+
}),
|
|
219
252
|
};
|
|
220
253
|
};
|
|
221
254
|
exports.CompanyApiAxiosParamCreator = CompanyApiAxiosParamCreator;
|
|
@@ -308,6 +341,22 @@ const CompanyApiFp = function (configuration) {
|
|
|
308
341
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
309
342
|
});
|
|
310
343
|
},
|
|
344
|
+
/**
|
|
345
|
+
* 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.
|
|
346
|
+
* @summary Get a company by vat number
|
|
347
|
+
* @param {string} vat
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
*/
|
|
351
|
+
companyVatGet(vat, options) {
|
|
352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
353
|
+
var _a, _b, _c;
|
|
354
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.companyVatGet(vat, options);
|
|
355
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
356
|
+
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;
|
|
357
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
358
|
+
});
|
|
359
|
+
},
|
|
311
360
|
};
|
|
312
361
|
};
|
|
313
362
|
exports.CompanyApiFp = CompanyApiFp;
|
|
@@ -370,6 +419,16 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
370
419
|
companyPut(company, options) {
|
|
371
420
|
return localVarFp.companyPut(company, options).then((request) => request(axios, basePath));
|
|
372
421
|
},
|
|
422
|
+
/**
|
|
423
|
+
* 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.
|
|
424
|
+
* @summary Get a company by vat number
|
|
425
|
+
* @param {string} vat
|
|
426
|
+
* @param {*} [options] Override http request option.
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
*/
|
|
429
|
+
companyVatGet(vat, options) {
|
|
430
|
+
return localVarFp.companyVatGet(vat, options).then((request) => request(axios, basePath));
|
|
431
|
+
},
|
|
373
432
|
};
|
|
374
433
|
};
|
|
375
434
|
exports.CompanyApiFactory = CompanyApiFactory;
|
|
@@ -430,5 +489,15 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
430
489
|
companyPut(company, options) {
|
|
431
490
|
return (0, exports.CompanyApiFp)(this.configuration).companyPut(company, options).then((request) => request(this.axios, this.basePath));
|
|
432
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* 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.
|
|
494
|
+
* @summary Get a company by vat number
|
|
495
|
+
* @param {string} vat
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
*/
|
|
499
|
+
companyVatGet(vat, options) {
|
|
500
|
+
return (0, exports.CompanyApiFp)(this.configuration).companyVatGet(vat, options).then((request) => request(this.axios, this.basePath));
|
|
501
|
+
}
|
|
433
502
|
}
|
|
434
503
|
exports.CompanyApi = CompanyApi;
|
|
@@ -58,6 +58,14 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
|
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
60
60
|
receiveIdGet: (id: number, includePayload?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
63
|
+
* @summary Get a receive invoice payload by id
|
|
64
|
+
* @param {number} id Item id
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
receiveIdPayloadGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
69
|
};
|
|
62
70
|
/**
|
|
63
71
|
* ReceiveApi - functional programming interface
|
|
@@ -104,6 +112,14 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
|
|
|
104
112
|
* @throws {RequiredError}
|
|
105
113
|
*/
|
|
106
114
|
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Receive>>;
|
|
115
|
+
/**
|
|
116
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
117
|
+
* @summary Get a receive invoice payload by id
|
|
118
|
+
* @param {number} id Item id
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
receiveIdPayloadGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
107
123
|
};
|
|
108
124
|
/**
|
|
109
125
|
* ReceiveApi - factory interface
|
|
@@ -150,6 +166,14 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
|
|
|
150
166
|
* @throws {RequiredError}
|
|
151
167
|
*/
|
|
152
168
|
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
169
|
+
/**
|
|
170
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
171
|
+
* @summary Get a receive invoice payload by id
|
|
172
|
+
* @param {number} id Item id
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
receiveIdPayloadGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
153
177
|
};
|
|
154
178
|
/**
|
|
155
179
|
* ReceiveApi - interface
|
|
@@ -196,6 +220,14 @@ export interface ReceiveApiInterface {
|
|
|
196
220
|
* @throws {RequiredError}
|
|
197
221
|
*/
|
|
198
222
|
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
223
|
+
/**
|
|
224
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
225
|
+
* @summary Get a receive invoice payload by id
|
|
226
|
+
* @param {number} id Item id
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
receiveIdPayloadGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
199
231
|
}
|
|
200
232
|
/**
|
|
201
233
|
* ReceiveApi - object-oriented interface
|
|
@@ -242,4 +274,12 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
242
274
|
* @throws {RequiredError}
|
|
243
275
|
*/
|
|
244
276
|
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
277
|
+
/**
|
|
278
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
279
|
+
* @summary Get a receive invoice payload by id
|
|
280
|
+
* @param {number} id Item id
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
*/
|
|
284
|
+
receiveIdPayloadGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
245
285
|
}
|
|
@@ -216,6 +216,39 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
|
|
|
216
216
|
options: localVarRequestOptions,
|
|
217
217
|
};
|
|
218
218
|
}),
|
|
219
|
+
/**
|
|
220
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
221
|
+
* @summary Get a receive invoice payload by id
|
|
222
|
+
* @param {number} id Item id
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
receiveIdPayloadGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
227
|
+
// verify required parameter 'id' is not null or undefined
|
|
228
|
+
(0, common_1.assertParamExists)('receiveIdPayloadGet', 'id', id);
|
|
229
|
+
const localVarPath = `/receive/{id}/payload`
|
|
230
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
231
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
232
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
233
|
+
let baseOptions;
|
|
234
|
+
if (configuration) {
|
|
235
|
+
baseOptions = configuration.baseOptions;
|
|
236
|
+
}
|
|
237
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
238
|
+
const localVarHeaderParameter = {};
|
|
239
|
+
const localVarQueryParameter = {};
|
|
240
|
+
// authentication Basic required
|
|
241
|
+
// http basic authentication required
|
|
242
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
243
|
+
localVarHeaderParameter['Accept'] = 'application/problem+json';
|
|
244
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
246
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
247
|
+
return {
|
|
248
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
249
|
+
options: localVarRequestOptions,
|
|
250
|
+
};
|
|
251
|
+
}),
|
|
219
252
|
};
|
|
220
253
|
};
|
|
221
254
|
exports.ReceiveApiAxiosParamCreator = ReceiveApiAxiosParamCreator;
|
|
@@ -290,6 +323,22 @@ const ReceiveApiFp = function (configuration) {
|
|
|
290
323
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
291
324
|
});
|
|
292
325
|
},
|
|
326
|
+
/**
|
|
327
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
328
|
+
* @summary Get a receive invoice payload by id
|
|
329
|
+
* @param {number} id Item id
|
|
330
|
+
* @param {*} [options] Override http request option.
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
receiveIdPayloadGet(id, options) {
|
|
334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
335
|
+
var _a, _b, _c;
|
|
336
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.receiveIdPayloadGet(id, options);
|
|
337
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
338
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReceiveApi.receiveIdPayloadGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
339
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
340
|
+
});
|
|
341
|
+
},
|
|
293
342
|
};
|
|
294
343
|
};
|
|
295
344
|
exports.ReceiveApiFp = ReceiveApiFp;
|
|
@@ -346,6 +395,16 @@ const ReceiveApiFactory = function (configuration, basePath, axios) {
|
|
|
346
395
|
receiveIdGet(id, includePayload, options) {
|
|
347
396
|
return localVarFp.receiveIdGet(id, includePayload, options).then((request) => request(axios, basePath));
|
|
348
397
|
},
|
|
398
|
+
/**
|
|
399
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
400
|
+
* @summary Get a receive invoice payload by id
|
|
401
|
+
* @param {number} id Item id
|
|
402
|
+
* @param {*} [options] Override http request option.
|
|
403
|
+
* @throws {RequiredError}
|
|
404
|
+
*/
|
|
405
|
+
receiveIdPayloadGet(id, options) {
|
|
406
|
+
return localVarFp.receiveIdPayloadGet(id, options).then((request) => request(axios, basePath));
|
|
407
|
+
},
|
|
349
408
|
};
|
|
350
409
|
};
|
|
351
410
|
exports.ReceiveApiFactory = ReceiveApiFactory;
|
|
@@ -400,5 +459,15 @@ class ReceiveApi extends base_1.BaseAPI {
|
|
|
400
459
|
receiveIdGet(id, includePayload, options) {
|
|
401
460
|
return (0, exports.ReceiveApiFp)(this.configuration).receiveIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
402
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
|
|
464
|
+
* @summary Get a receive invoice payload by id
|
|
465
|
+
* @param {number} id Item id
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
receiveIdPayloadGet(id, options) {
|
|
470
|
+
return (0, exports.ReceiveApiFp)(this.configuration).receiveIdPayloadGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
471
|
+
}
|
|
403
472
|
}
|
|
404
473
|
exports.ReceiveApi = ReceiveApi;
|
|
@@ -60,6 +60,14 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
62
|
sendIdGet: (id: number, includePayload?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieve only the payload of a send invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. Depending on how the invoice was originally submitted, the payload may be Base64-encoded or plain XML.
|
|
65
|
+
* @summary Get a send invoice payload by id
|
|
66
|
+
* @param {number} id Item id
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
sendIdPayloadGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
71
|
/**
|
|
64
72
|
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
65
73
|
* @summary Get a invoice by identifier
|
|
@@ -178,6 +186,14 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
178
186
|
* @throws {RequiredError}
|
|
179
187
|
*/
|
|
180
188
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
189
|
+
/**
|
|
190
|
+
* Retrieve only the payload of a send invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. Depending on how the invoice was originally submitted, the payload may be Base64-encoded or plain XML.
|
|
191
|
+
* @summary Get a send invoice payload by id
|
|
192
|
+
* @param {number} id Item id
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
sendIdPayloadGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
181
197
|
/**
|
|
182
198
|
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
183
199
|
* @summary Get a invoice by identifier
|
|
@@ -296,6 +312,14 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
296
312
|
* @throws {RequiredError}
|
|
297
313
|
*/
|
|
298
314
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
315
|
+
/**
|
|
316
|
+
* Retrieve only the payload of a send invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. Depending on how the invoice was originally submitted, the payload may be Base64-encoded or plain XML.
|
|
317
|
+
* @summary Get a send invoice payload by id
|
|
318
|
+
* @param {number} id Item id
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
sendIdPayloadGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
299
323
|
/**
|
|
300
324
|
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
301
325
|
* @summary Get a invoice by identifier
|
|
@@ -414,6 +438,14 @@ export interface SendApiInterface {
|
|
|
414
438
|
* @throws {RequiredError}
|
|
415
439
|
*/
|
|
416
440
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
441
|
+
/**
|
|
442
|
+
* Retrieve only the payload of a send invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. Depending on how the invoice was originally submitted, the payload may be Base64-encoded or plain XML.
|
|
443
|
+
* @summary Get a send invoice payload by id
|
|
444
|
+
* @param {number} id Item id
|
|
445
|
+
* @param {*} [options] Override http request option.
|
|
446
|
+
* @throws {RequiredError}
|
|
447
|
+
*/
|
|
448
|
+
sendIdPayloadGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
417
449
|
/**
|
|
418
450
|
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
419
451
|
* @summary Get a invoice by identifier
|
|
@@ -532,6 +564,14 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
532
564
|
* @throws {RequiredError}
|
|
533
565
|
*/
|
|
534
566
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
567
|
+
/**
|
|
568
|
+
* Retrieve only the payload of a send invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. Depending on how the invoice was originally submitted, the payload may be Base64-encoded or plain XML.
|
|
569
|
+
* @summary Get a send invoice payload by id
|
|
570
|
+
* @param {number} id Item id
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
*/
|
|
574
|
+
sendIdPayloadGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
535
575
|
/**
|
|
536
576
|
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
537
577
|
* @summary Get a invoice by identifier
|