@invoicetronic/ts-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +58 -0
- package/LICENSE +21 -0
- package/README.md +55 -0
- package/api.ts +24 -0
- package/base.ts +86 -0
- package/common.ts +151 -0
- package/configuration.ts +116 -0
- package/dist/api.d.ts +18 -0
- package/dist/api.js +36 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +66 -0
- package/dist/common.js +162 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +18 -0
- package/dist/esm/api.js +20 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +66 -0
- package/dist/esm/common.js +150 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/src/api/company-api.d.ts +268 -0
- package/dist/esm/src/api/company-api.js +426 -0
- package/dist/esm/src/api/log-api.d.ts +197 -0
- package/dist/esm/src/api/log-api.js +302 -0
- package/dist/esm/src/api/receive-api.d.ts +259 -0
- package/dist/esm/src/api/receive-api.js +403 -0
- package/dist/esm/src/api/send-api.d.ts +676 -0
- package/dist/esm/src/api/send-api.js +1063 -0
- package/dist/esm/src/api/status-api.d.ts +85 -0
- package/dist/esm/src/api/status-api.js +127 -0
- package/dist/esm/src/api/update-api.d.ts +207 -0
- package/dist/esm/src/api/update-api.js +309 -0
- package/dist/esm/src/api/webhook-api.d.ts +393 -0
- package/dist/esm/src/api/webhook-api.js +620 -0
- package/dist/esm/src/models/allegati.d.ts +48 -0
- package/dist/esm/src/models/allegati.js +14 -0
- package/dist/esm/src/models/altri-dati-gestionali.d.ts +42 -0
- package/dist/esm/src/models/altri-dati-gestionali.js +14 -0
- package/dist/esm/src/models/anagrafica.d.ts +48 -0
- package/dist/esm/src/models/anagrafica.js +14 -0
- package/dist/esm/src/models/cedente-prestatore.d.ts +59 -0
- package/dist/esm/src/models/cedente-prestatore.js +14 -0
- package/dist/esm/src/models/cessionario-committente.d.ts +46 -0
- package/dist/esm/src/models/cessionario-committente.js +14 -0
- package/dist/esm/src/models/codice-articolo.d.ts +30 -0
- package/dist/esm/src/models/codice-articolo.js +14 -0
- package/dist/esm/src/models/company.d.ts +60 -0
- package/dist/esm/src/models/company.js +14 -0
- package/dist/esm/src/models/contatti-trasmittente.d.ts +30 -0
- package/dist/esm/src/models/contatti-trasmittente.js +14 -0
- package/dist/esm/src/models/contatti.d.ts +36 -0
- package/dist/esm/src/models/contatti.js +14 -0
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +68 -0
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.js +14 -0
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +38 -0
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.js +14 -0
- package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +44 -0
- package/dist/esm/src/models/dati-anagrafici-vettore.js +14 -0
- package/dist/esm/src/models/dati-anagrafici.d.ts +38 -0
- package/dist/esm/src/models/dati-anagrafici.js +14 -0
- package/dist/esm/src/models/dati-beni-servizi.d.ts +32 -0
- package/dist/esm/src/models/dati-beni-servizi.js +14 -0
- package/dist/esm/src/models/dati-bollo.d.ts +30 -0
- package/dist/esm/src/models/dati-bollo.js +14 -0
- package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +66 -0
- package/dist/esm/src/models/dati-cassa-previdenziale.js +14 -0
- package/dist/esm/src/models/dati-contratto.d.ts +60 -0
- package/dist/esm/src/models/dati-contratto.js +14 -0
- package/dist/esm/src/models/dati-convenzione.d.ts +60 -0
- package/dist/esm/src/models/dati-convenzione.js +14 -0
- package/dist/esm/src/models/dati-ddt.d.ts +36 -0
- package/dist/esm/src/models/dati-ddt.js +14 -0
- package/dist/esm/src/models/dati-fatture-collegate.d.ts +60 -0
- package/dist/esm/src/models/dati-fatture-collegate.js +14 -0
- package/dist/esm/src/models/dati-generali-documento.d.ts +94 -0
- package/dist/esm/src/models/dati-generali-documento.js +14 -0
- package/dist/esm/src/models/dati-generali.d.ts +88 -0
- package/dist/esm/src/models/dati-generali.js +14 -0
- package/dist/esm/src/models/dati-ordine-acquisto.d.ts +60 -0
- package/dist/esm/src/models/dati-ordine-acquisto.js +14 -0
- package/dist/esm/src/models/dati-pagamento.d.ts +31 -0
- package/dist/esm/src/models/dati-pagamento.js +14 -0
- package/dist/esm/src/models/dati-ricezione.d.ts +60 -0
- package/dist/esm/src/models/dati-ricezione.js +14 -0
- package/dist/esm/src/models/dati-riepilogo.d.ts +66 -0
- package/dist/esm/src/models/dati-riepilogo.js +14 -0
- package/dist/esm/src/models/dati-ritenuta.d.ts +42 -0
- package/dist/esm/src/models/dati-ritenuta.js +14 -0
- package/dist/esm/src/models/dati-sal.d.ts +24 -0
- package/dist/esm/src/models/dati-sal.js +14 -0
- package/dist/esm/src/models/dati-trasmissione.d.ts +56 -0
- package/dist/esm/src/models/dati-trasmissione.js +14 -0
- package/dist/esm/src/models/dati-trasporto.d.ts +98 -0
- package/dist/esm/src/models/dati-trasporto.js +14 -0
- package/dist/esm/src/models/dati-veicoli.d.ts +30 -0
- package/dist/esm/src/models/dati-veicoli.js +14 -0
- package/dist/esm/src/models/dettaglio-linee.d.ts +117 -0
- package/dist/esm/src/models/dettaglio-linee.js +14 -0
- package/dist/esm/src/models/dettaglio-pagamento.d.ts +144 -0
- package/dist/esm/src/models/dettaglio-pagamento.js +14 -0
- package/dist/esm/src/models/document-data.d.ts +30 -0
- package/dist/esm/src/models/document-data.js +14 -0
- package/dist/esm/src/models/event.d.ts +108 -0
- package/dist/esm/src/models/event.js +14 -0
- package/dist/esm/src/models/fattura-elettronica-body.d.ts +53 -0
- package/dist/esm/src/models/fattura-elettronica-body.js +14 -0
- package/dist/esm/src/models/fattura-elettronica-header.d.ts +59 -0
- package/dist/esm/src/models/fattura-elettronica-header.js +14 -0
- package/dist/esm/src/models/fattura-ordinaria.d.ts +38 -0
- package/dist/esm/src/models/fattura-ordinaria.js +14 -0
- package/dist/esm/src/models/fattura-principale.d.ts +30 -0
- package/dist/esm/src/models/fattura-principale.js +14 -0
- package/dist/esm/src/models/id-fiscale-iva.d.ts +30 -0
- package/dist/esm/src/models/id-fiscale-iva.js +14 -0
- package/dist/esm/src/models/id-trasmittente.d.ts +30 -0
- package/dist/esm/src/models/id-trasmittente.js +14 -0
- package/dist/esm/src/models/index.d.ts +60 -0
- package/dist/esm/src/models/index.js +60 -0
- package/dist/esm/src/models/indirizzo-resa.d.ts +54 -0
- package/dist/esm/src/models/indirizzo-resa.js +14 -0
- package/dist/esm/src/models/iscrizione-rea.d.ts +48 -0
- package/dist/esm/src/models/iscrizione-rea.js +14 -0
- package/dist/esm/src/models/model-error.d.ts +36 -0
- package/dist/esm/src/models/model-error.js +14 -0
- package/dist/esm/src/models/problem-details.d.ts +49 -0
- package/dist/esm/src/models/problem-details.js +14 -0
- package/dist/esm/src/models/problem-http-result.d.ts +37 -0
- package/dist/esm/src/models/problem-http-result.js +14 -0
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +43 -0
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.js +14 -0
- package/dist/esm/src/models/rappresentante-fiscale.d.ts +25 -0
- package/dist/esm/src/models/rappresentante-fiscale.js +14 -0
- package/dist/esm/src/models/receive.d.ts +126 -0
- package/dist/esm/src/models/receive.js +17 -0
- package/dist/esm/src/models/sconto-maggiorazione.d.ts +36 -0
- package/dist/esm/src/models/sconto-maggiorazione.js +14 -0
- package/dist/esm/src/models/sede-cedente-prestatore.d.ts +54 -0
- package/dist/esm/src/models/sede-cedente-prestatore.js +14 -0
- package/dist/esm/src/models/sede-cessionario-committente.d.ts +54 -0
- package/dist/esm/src/models/sede-cessionario-committente.js +14 -0
- package/dist/esm/src/models/send-reduced.d.ts +51 -0
- package/dist/esm/src/models/send-reduced.js +14 -0
- package/dist/esm/src/models/send.d.ts +129 -0
- package/dist/esm/src/models/send.js +17 -0
- package/dist/esm/src/models/stabile-organizzazione.d.ts +54 -0
- package/dist/esm/src/models/stabile-organizzazione.js +14 -0
- package/dist/esm/src/models/status.d.ts +30 -0
- package/dist/esm/src/models/status.js +14 -0
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +25 -0
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.js +14 -0
- package/dist/esm/src/models/update.d.ts +109 -0
- package/dist/esm/src/models/update.js +24 -0
- package/dist/esm/src/models/web-hook-history.d.ts +72 -0
- package/dist/esm/src/models/web-hook-history.js +14 -0
- package/dist/esm/src/models/web-hook.d.ts +78 -0
- package/dist/esm/src/models/web-hook.js +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/src/api/company-api.d.ts +268 -0
- package/dist/src/api/company-api.js +433 -0
- package/dist/src/api/log-api.d.ts +197 -0
- package/dist/src/api/log-api.js +309 -0
- package/dist/src/api/receive-api.d.ts +259 -0
- package/dist/src/api/receive-api.js +410 -0
- package/dist/src/api/send-api.d.ts +676 -0
- package/dist/src/api/send-api.js +1070 -0
- package/dist/src/api/status-api.d.ts +85 -0
- package/dist/src/api/status-api.js +134 -0
- package/dist/src/api/update-api.d.ts +207 -0
- package/dist/src/api/update-api.js +316 -0
- package/dist/src/api/webhook-api.d.ts +393 -0
- package/dist/src/api/webhook-api.js +627 -0
- package/dist/src/models/allegati.d.ts +48 -0
- package/dist/src/models/allegati.js +15 -0
- package/dist/src/models/altri-dati-gestionali.d.ts +42 -0
- package/dist/src/models/altri-dati-gestionali.js +15 -0
- package/dist/src/models/anagrafica.d.ts +48 -0
- package/dist/src/models/anagrafica.js +15 -0
- package/dist/src/models/cedente-prestatore.d.ts +59 -0
- package/dist/src/models/cedente-prestatore.js +15 -0
- package/dist/src/models/cessionario-committente.d.ts +46 -0
- package/dist/src/models/cessionario-committente.js +15 -0
- package/dist/src/models/codice-articolo.d.ts +30 -0
- package/dist/src/models/codice-articolo.js +15 -0
- package/dist/src/models/company.d.ts +60 -0
- package/dist/src/models/company.js +15 -0
- package/dist/src/models/contatti-trasmittente.d.ts +30 -0
- package/dist/src/models/contatti-trasmittente.js +15 -0
- package/dist/src/models/contatti.d.ts +36 -0
- package/dist/src/models/contatti.js +15 -0
- package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +68 -0
- package/dist/src/models/dati-anagrafici-cedente-prestatore.js +15 -0
- package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +38 -0
- package/dist/src/models/dati-anagrafici-cessionario-committente.js +15 -0
- package/dist/src/models/dati-anagrafici-vettore.d.ts +44 -0
- package/dist/src/models/dati-anagrafici-vettore.js +15 -0
- package/dist/src/models/dati-anagrafici.d.ts +38 -0
- package/dist/src/models/dati-anagrafici.js +15 -0
- package/dist/src/models/dati-beni-servizi.d.ts +32 -0
- package/dist/src/models/dati-beni-servizi.js +15 -0
- package/dist/src/models/dati-bollo.d.ts +30 -0
- package/dist/src/models/dati-bollo.js +15 -0
- package/dist/src/models/dati-cassa-previdenziale.d.ts +66 -0
- package/dist/src/models/dati-cassa-previdenziale.js +15 -0
- package/dist/src/models/dati-contratto.d.ts +60 -0
- package/dist/src/models/dati-contratto.js +15 -0
- package/dist/src/models/dati-convenzione.d.ts +60 -0
- package/dist/src/models/dati-convenzione.js +15 -0
- package/dist/src/models/dati-ddt.d.ts +36 -0
- package/dist/src/models/dati-ddt.js +15 -0
- package/dist/src/models/dati-fatture-collegate.d.ts +60 -0
- package/dist/src/models/dati-fatture-collegate.js +15 -0
- package/dist/src/models/dati-generali-documento.d.ts +94 -0
- package/dist/src/models/dati-generali-documento.js +15 -0
- package/dist/src/models/dati-generali.d.ts +88 -0
- package/dist/src/models/dati-generali.js +15 -0
- package/dist/src/models/dati-ordine-acquisto.d.ts +60 -0
- package/dist/src/models/dati-ordine-acquisto.js +15 -0
- package/dist/src/models/dati-pagamento.d.ts +31 -0
- package/dist/src/models/dati-pagamento.js +15 -0
- package/dist/src/models/dati-ricezione.d.ts +60 -0
- package/dist/src/models/dati-ricezione.js +15 -0
- package/dist/src/models/dati-riepilogo.d.ts +66 -0
- package/dist/src/models/dati-riepilogo.js +15 -0
- package/dist/src/models/dati-ritenuta.d.ts +42 -0
- package/dist/src/models/dati-ritenuta.js +15 -0
- package/dist/src/models/dati-sal.d.ts +24 -0
- package/dist/src/models/dati-sal.js +15 -0
- package/dist/src/models/dati-trasmissione.d.ts +56 -0
- package/dist/src/models/dati-trasmissione.js +15 -0
- package/dist/src/models/dati-trasporto.d.ts +98 -0
- package/dist/src/models/dati-trasporto.js +15 -0
- package/dist/src/models/dati-veicoli.d.ts +30 -0
- package/dist/src/models/dati-veicoli.js +15 -0
- package/dist/src/models/dettaglio-linee.d.ts +117 -0
- package/dist/src/models/dettaglio-linee.js +15 -0
- package/dist/src/models/dettaglio-pagamento.d.ts +144 -0
- package/dist/src/models/dettaglio-pagamento.js +15 -0
- package/dist/src/models/document-data.d.ts +30 -0
- package/dist/src/models/document-data.js +15 -0
- package/dist/src/models/event.d.ts +108 -0
- package/dist/src/models/event.js +15 -0
- package/dist/src/models/fattura-elettronica-body.d.ts +53 -0
- package/dist/src/models/fattura-elettronica-body.js +15 -0
- package/dist/src/models/fattura-elettronica-header.d.ts +59 -0
- package/dist/src/models/fattura-elettronica-header.js +15 -0
- package/dist/src/models/fattura-ordinaria.d.ts +38 -0
- package/dist/src/models/fattura-ordinaria.js +15 -0
- package/dist/src/models/fattura-principale.d.ts +30 -0
- package/dist/src/models/fattura-principale.js +15 -0
- package/dist/src/models/id-fiscale-iva.d.ts +30 -0
- package/dist/src/models/id-fiscale-iva.js +15 -0
- package/dist/src/models/id-trasmittente.d.ts +30 -0
- package/dist/src/models/id-trasmittente.js +15 -0
- package/dist/src/models/index.d.ts +60 -0
- package/dist/src/models/index.js +76 -0
- package/dist/src/models/indirizzo-resa.d.ts +54 -0
- package/dist/src/models/indirizzo-resa.js +15 -0
- package/dist/src/models/iscrizione-rea.d.ts +48 -0
- package/dist/src/models/iscrizione-rea.js +15 -0
- package/dist/src/models/model-error.d.ts +36 -0
- package/dist/src/models/model-error.js +15 -0
- package/dist/src/models/problem-details.d.ts +49 -0
- package/dist/src/models/problem-details.js +15 -0
- package/dist/src/models/problem-http-result.d.ts +37 -0
- package/dist/src/models/problem-http-result.js +15 -0
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +43 -0
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.js +15 -0
- package/dist/src/models/rappresentante-fiscale.d.ts +25 -0
- package/dist/src/models/rappresentante-fiscale.js +15 -0
- package/dist/src/models/receive.d.ts +126 -0
- package/dist/src/models/receive.js +20 -0
- package/dist/src/models/sconto-maggiorazione.d.ts +36 -0
- package/dist/src/models/sconto-maggiorazione.js +15 -0
- package/dist/src/models/sede-cedente-prestatore.d.ts +54 -0
- package/dist/src/models/sede-cedente-prestatore.js +15 -0
- package/dist/src/models/sede-cessionario-committente.d.ts +54 -0
- package/dist/src/models/sede-cessionario-committente.js +15 -0
- package/dist/src/models/send-reduced.d.ts +51 -0
- package/dist/src/models/send-reduced.js +15 -0
- package/dist/src/models/send.d.ts +129 -0
- package/dist/src/models/send.js +20 -0
- package/dist/src/models/stabile-organizzazione.d.ts +54 -0
- package/dist/src/models/stabile-organizzazione.js +15 -0
- package/dist/src/models/status.d.ts +30 -0
- package/dist/src/models/status.js +15 -0
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +25 -0
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.js +15 -0
- package/dist/src/models/update.d.ts +109 -0
- package/dist/src/models/update.js +27 -0
- package/dist/src/models/web-hook-history.d.ts +72 -0
- package/dist/src/models/web-hook-history.js +15 -0
- package/dist/src/models/web-hook.d.ts +78 -0
- package/dist/src/models/web-hook.js +15 -0
- package/docs/Allegati.md +28 -0
- package/docs/AltriDatiGestionali.md +26 -0
- package/docs/Anagrafica.md +28 -0
- package/docs/CedentePrestatore.md +30 -0
- package/docs/CessionarioCommittente.md +26 -0
- package/docs/CodiceArticolo.md +22 -0
- package/docs/Company.md +33 -0
- package/docs/CompanyApi.md +285 -0
- package/docs/Contatti.md +24 -0
- package/docs/ContattiTrasmittente.md +22 -0
- package/docs/DatiAnagrafici.md +24 -0
- package/docs/DatiAnagraficiCedentePrestatore.md +34 -0
- package/docs/DatiAnagraficiCessionarioCommittente.md +24 -0
- package/docs/DatiAnagraficiVettore.md +26 -0
- package/docs/DatiBeniServizi.md +22 -0
- package/docs/DatiBollo.md +22 -0
- package/docs/DatiCassaPrevidenziale.md +34 -0
- package/docs/DatiContratto.md +32 -0
- package/docs/DatiConvenzione.md +32 -0
- package/docs/DatiDDT.md +24 -0
- package/docs/DatiFattureCollegate.md +32 -0
- package/docs/DatiGenerali.md +38 -0
- package/docs/DatiGeneraliDocumento.md +42 -0
- package/docs/DatiOrdineAcquisto.md +32 -0
- package/docs/DatiPagamento.md +22 -0
- package/docs/DatiRicezione.md +32 -0
- package/docs/DatiRiepilogo.md +34 -0
- package/docs/DatiRitenuta.md +26 -0
- package/docs/DatiSAL.md +20 -0
- package/docs/DatiTrasmissione.md +30 -0
- package/docs/DatiTrasporto.md +44 -0
- package/docs/DatiVeicoli.md +22 -0
- package/docs/DettaglioLinee.md +50 -0
- package/docs/DettaglioPagamento.md +60 -0
- package/docs/DocumentData.md +22 -0
- package/docs/Error.md +25 -0
- package/docs/Event.md +48 -0
- package/docs/FatturaElettronicaBody.md +28 -0
- package/docs/FatturaElettronicaHeader.md +30 -0
- package/docs/FatturaOrdinaria.md +24 -0
- package/docs/FatturaPrincipale.md +22 -0
- package/docs/IdFiscaleIVA.md +22 -0
- package/docs/IdTrasmittente.md +22 -0
- package/docs/IndirizzoResa.md +30 -0
- package/docs/IscrizioneREA.md +28 -0
- package/docs/LogApi.md +153 -0
- package/docs/ProblemDetails.md +28 -0
- package/docs/ProblemHttpResult.md +24 -0
- package/docs/RappresentanteFiscale.md +20 -0
- package/docs/RappresentanteFiscaleCessionarioCommittente.md +26 -0
- package/docs/Receive.md +52 -0
- package/docs/ReceiveApi.md +220 -0
- package/docs/ScontoMaggiorazione.md +24 -0
- package/docs/SedeCedentePrestatore.md +30 -0
- package/docs/SedeCessionarioCommittente.md +30 -0
- package/docs/Send.md +52 -0
- package/docs/SendApi.md +681 -0
- package/docs/SendReduced.md +29 -0
- package/docs/StabileOrganizzazione.md +30 -0
- package/docs/Status.md +22 -0
- package/docs/StatusApi.md +52 -0
- package/docs/TerzoIntermediarioOSoggettoEmittente.md +20 -0
- package/docs/Update.md +44 -0
- package/docs/UpdateApi.md +150 -0
- package/docs/WebHook.md +38 -0
- package/docs/WebHookHistory.md +37 -0
- package/docs/WebhookApi.md +416 -0
- package/index.ts +18 -0
- package/package.json +33 -0
- package/src/api/company-api.ts +515 -0
- package/src/api/log-api.ts +367 -0
- package/src/api/receive-api.ts +490 -0
- package/src/api/send-api.ts +1296 -0
- package/src/api/status-api.ts +148 -0
- package/src/api/update-api.ts +373 -0
- package/src/api/webhook-api.ts +756 -0
- package/src/models/allegati.ts +54 -0
- package/src/models/altri-dati-gestionali.ts +48 -0
- package/src/models/anagrafica.ts +54 -0
- package/src/models/cedente-prestatore.ts +75 -0
- package/src/models/cessionario-committente.ts +60 -0
- package/src/models/codice-articolo.ts +36 -0
- package/src/models/company.ts +66 -0
- package/src/models/contatti-trasmittente.ts +36 -0
- package/src/models/contatti.ts +42 -0
- package/src/models/dati-anagrafici-cedente-prestatore.ts +78 -0
- package/src/models/dati-anagrafici-cessionario-committente.ts +48 -0
- package/src/models/dati-anagrafici-vettore.ts +54 -0
- package/src/models/dati-anagrafici.ts +48 -0
- package/src/models/dati-beni-servizi.ts +42 -0
- package/src/models/dati-bollo.ts +36 -0
- package/src/models/dati-cassa-previdenziale.ts +72 -0
- package/src/models/dati-contratto.ts +66 -0
- package/src/models/dati-convenzione.ts +66 -0
- package/src/models/dati-ddt.ts +42 -0
- package/src/models/dati-fatture-collegate.ts +66 -0
- package/src/models/dati-generali-documento.ts +108 -0
- package/src/models/dati-generali.ts +114 -0
- package/src/models/dati-ordine-acquisto.ts +66 -0
- package/src/models/dati-pagamento.ts +39 -0
- package/src/models/dati-ricezione.ts +66 -0
- package/src/models/dati-riepilogo.ts +72 -0
- package/src/models/dati-ritenuta.ts +48 -0
- package/src/models/dati-sal.ts +30 -0
- package/src/models/dati-trasmissione.ts +66 -0
- package/src/models/dati-trasporto.ts +108 -0
- package/src/models/dati-veicoli.ts +36 -0
- package/src/models/dettaglio-linee.ts +129 -0
- package/src/models/dettaglio-pagamento.ts +150 -0
- package/src/models/document-data.ts +36 -0
- package/src/models/event.ts +114 -0
- package/src/models/fattura-elettronica-body.ts +69 -0
- package/src/models/fattura-elettronica-header.ts +75 -0
- package/src/models/fattura-ordinaria.ts +48 -0
- package/src/models/fattura-principale.ts +36 -0
- package/src/models/id-fiscale-iva.ts +36 -0
- package/src/models/id-trasmittente.ts +36 -0
- package/src/models/index.ts +60 -0
- package/src/models/indirizzo-resa.ts +60 -0
- package/src/models/iscrizione-rea.ts +54 -0
- package/src/models/model-error.ts +42 -0
- package/src/models/problem-details.ts +56 -0
- package/src/models/problem-http-result.ts +45 -0
- package/src/models/rappresentante-fiscale-cessionario-committente.ts +51 -0
- package/src/models/rappresentante-fiscale.ts +33 -0
- package/src/models/receive.ts +137 -0
- package/src/models/sconto-maggiorazione.ts +42 -0
- package/src/models/sede-cedente-prestatore.ts +60 -0
- package/src/models/sede-cessionario-committente.ts +60 -0
- package/src/models/send-reduced.ts +57 -0
- package/src/models/send.ts +140 -0
- package/src/models/stabile-organizzazione.ts +60 -0
- package/src/models/status.ts +36 -0
- package/src/models/terzo-intermediario-osoggetto-emittente.ts +33 -0
- package/src/models/update.ts +120 -0
- package/src/models/web-hook-history.ts +78 -0
- package/src/models/web-hook.ts +84 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Invoicetronic API
|
|
3
|
+
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: info@invoicetronic.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../../base';
|
|
15
|
+
import type { WebHook } from '../../src/models';
|
|
16
|
+
import type { WebHookHistory } from '../../src/models';
|
|
17
|
+
/**
|
|
18
|
+
* WebhookApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
24
|
+
* @summary List webhooks
|
|
25
|
+
* @param {number} [companyId] Company id
|
|
26
|
+
* @param {number} [page] Page number.
|
|
27
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
28
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
29
|
+
* @param {string} [description]
|
|
30
|
+
* @param {boolean} [enabled]
|
|
31
|
+
* @param {string} [events]
|
|
32
|
+
* @param {string} [url]
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
webhookGet: (companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
39
|
+
* @summary Delete a webhook by id
|
|
40
|
+
* @param {number} id Item id
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
webhookIdDelete: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
47
|
+
* @summary Get a webhook by id
|
|
48
|
+
* @param {number} id Item id
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
webhookIdGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
55
|
+
* @summary Add a webhook
|
|
56
|
+
* @param {WebHook} webHook
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
webhookPost: (webHook: WebHook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
63
|
+
* @summary Update a webhook
|
|
64
|
+
* @param {WebHook} webHook
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
webhookPut: (webHook: WebHook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
71
|
+
* @summary List webhook history items
|
|
72
|
+
* @param {number} [page] Page number.
|
|
73
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
74
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
75
|
+
* @param {number} [webhookId] WebHook id
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
webhookhistoryGet: (page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
/**
|
|
81
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
82
|
+
* @summary Get a webhook history item by id
|
|
83
|
+
* @param {number} id Item id
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
webhookhistoryIdGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* WebhookApi - functional programming interface
|
|
91
|
+
* @export
|
|
92
|
+
*/
|
|
93
|
+
export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
94
|
+
/**
|
|
95
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
96
|
+
* @summary List webhooks
|
|
97
|
+
* @param {number} [companyId] Company id
|
|
98
|
+
* @param {number} [page] Page number.
|
|
99
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
100
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
101
|
+
* @param {string} [description]
|
|
102
|
+
* @param {boolean} [enabled]
|
|
103
|
+
* @param {string} [events]
|
|
104
|
+
* @param {string} [url]
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WebHook>>>;
|
|
109
|
+
/**
|
|
110
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
111
|
+
* @summary Delete a webhook by id
|
|
112
|
+
* @param {number} id Item id
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebHook>>;
|
|
117
|
+
/**
|
|
118
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
119
|
+
* @summary Get a webhook by id
|
|
120
|
+
* @param {number} id Item id
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebHook>>;
|
|
125
|
+
/**
|
|
126
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
127
|
+
* @summary Add a webhook
|
|
128
|
+
* @param {WebHook} webHook
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebHook>>;
|
|
133
|
+
/**
|
|
134
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
135
|
+
* @summary Update a webhook
|
|
136
|
+
* @param {WebHook} webHook
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebHook>>;
|
|
141
|
+
/**
|
|
142
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
143
|
+
* @summary List webhook history items
|
|
144
|
+
* @param {number} [page] Page number.
|
|
145
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
146
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
147
|
+
* @param {number} [webhookId] WebHook id
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WebHookHistory>>>;
|
|
152
|
+
/**
|
|
153
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
154
|
+
* @summary Get a webhook history item by id
|
|
155
|
+
* @param {number} id Item id
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebHookHistory>>;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* WebhookApi - factory interface
|
|
163
|
+
* @export
|
|
164
|
+
*/
|
|
165
|
+
export declare const WebhookApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
166
|
+
/**
|
|
167
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
168
|
+
* @summary List webhooks
|
|
169
|
+
* @param {number} [companyId] Company id
|
|
170
|
+
* @param {number} [page] Page number.
|
|
171
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
172
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
173
|
+
* @param {string} [description]
|
|
174
|
+
* @param {boolean} [enabled]
|
|
175
|
+
* @param {string} [events]
|
|
176
|
+
* @param {string} [url]
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WebHook>>;
|
|
181
|
+
/**
|
|
182
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
183
|
+
* @summary Delete a webhook by id
|
|
184
|
+
* @param {number} id Item id
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
189
|
+
/**
|
|
190
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
191
|
+
* @summary Get a webhook by id
|
|
192
|
+
* @param {number} id Item id
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
webhookIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
197
|
+
/**
|
|
198
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
199
|
+
* @summary Add a webhook
|
|
200
|
+
* @param {WebHook} webHook
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
205
|
+
/**
|
|
206
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
207
|
+
* @summary Update a webhook
|
|
208
|
+
* @param {WebHook} webHook
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
213
|
+
/**
|
|
214
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
215
|
+
* @summary List webhook history items
|
|
216
|
+
* @param {number} [page] Page number.
|
|
217
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
218
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
219
|
+
* @param {number} [webhookId] WebHook id
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<WebHookHistory>>;
|
|
224
|
+
/**
|
|
225
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
226
|
+
* @summary Get a webhook history item by id
|
|
227
|
+
* @param {number} id Item id
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHookHistory>;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* WebhookApi - interface
|
|
235
|
+
* @export
|
|
236
|
+
* @interface WebhookApi
|
|
237
|
+
*/
|
|
238
|
+
export interface WebhookApiInterface {
|
|
239
|
+
/**
|
|
240
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
241
|
+
* @summary List webhooks
|
|
242
|
+
* @param {number} [companyId] Company id
|
|
243
|
+
* @param {number} [page] Page number.
|
|
244
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
245
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
246
|
+
* @param {string} [description]
|
|
247
|
+
* @param {boolean} [enabled]
|
|
248
|
+
* @param {string} [events]
|
|
249
|
+
* @param {string} [url]
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
* @memberof WebhookApiInterface
|
|
253
|
+
*/
|
|
254
|
+
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WebHook>>;
|
|
255
|
+
/**
|
|
256
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
257
|
+
* @summary Delete a webhook by id
|
|
258
|
+
* @param {number} id Item id
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
* @memberof WebhookApiInterface
|
|
262
|
+
*/
|
|
263
|
+
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
264
|
+
/**
|
|
265
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
266
|
+
* @summary Get a webhook by id
|
|
267
|
+
* @param {number} id Item id
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
* @memberof WebhookApiInterface
|
|
271
|
+
*/
|
|
272
|
+
webhookIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
273
|
+
/**
|
|
274
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
275
|
+
* @summary Add a webhook
|
|
276
|
+
* @param {WebHook} webHook
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
* @memberof WebhookApiInterface
|
|
280
|
+
*/
|
|
281
|
+
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
282
|
+
/**
|
|
283
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
284
|
+
* @summary Update a webhook
|
|
285
|
+
* @param {WebHook} webHook
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
* @memberof WebhookApiInterface
|
|
289
|
+
*/
|
|
290
|
+
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
291
|
+
/**
|
|
292
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
293
|
+
* @summary List webhook history items
|
|
294
|
+
* @param {number} [page] Page number.
|
|
295
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
296
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
297
|
+
* @param {number} [webhookId] WebHook id
|
|
298
|
+
* @param {*} [options] Override http request option.
|
|
299
|
+
* @throws {RequiredError}
|
|
300
|
+
* @memberof WebhookApiInterface
|
|
301
|
+
*/
|
|
302
|
+
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<WebHookHistory>>;
|
|
303
|
+
/**
|
|
304
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
305
|
+
* @summary Get a webhook history item by id
|
|
306
|
+
* @param {number} id Item id
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
* @memberof WebhookApiInterface
|
|
310
|
+
*/
|
|
311
|
+
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHookHistory>;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* WebhookApi - object-oriented interface
|
|
315
|
+
* @export
|
|
316
|
+
* @class WebhookApi
|
|
317
|
+
* @extends {BaseAPI}
|
|
318
|
+
*/
|
|
319
|
+
export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
320
|
+
/**
|
|
321
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
322
|
+
* @summary List webhooks
|
|
323
|
+
* @param {number} [companyId] Company id
|
|
324
|
+
* @param {number} [page] Page number.
|
|
325
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
326
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
327
|
+
* @param {string} [description]
|
|
328
|
+
* @param {boolean} [enabled]
|
|
329
|
+
* @param {string} [events]
|
|
330
|
+
* @param {string} [url]
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
* @memberof WebhookApi
|
|
334
|
+
*/
|
|
335
|
+
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook[], any>>;
|
|
336
|
+
/**
|
|
337
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
338
|
+
* @summary Delete a webhook by id
|
|
339
|
+
* @param {number} id Item id
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
* @memberof WebhookApi
|
|
343
|
+
*/
|
|
344
|
+
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
345
|
+
/**
|
|
346
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
347
|
+
* @summary Get a webhook by id
|
|
348
|
+
* @param {number} id Item id
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
* @memberof WebhookApi
|
|
352
|
+
*/
|
|
353
|
+
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
354
|
+
/**
|
|
355
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
356
|
+
* @summary Add a webhook
|
|
357
|
+
* @param {WebHook} webHook
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
* @memberof WebhookApi
|
|
361
|
+
*/
|
|
362
|
+
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
363
|
+
/**
|
|
364
|
+
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
365
|
+
* @summary Update a webhook
|
|
366
|
+
* @param {WebHook} webHook
|
|
367
|
+
* @param {*} [options] Override http request option.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
* @memberof WebhookApi
|
|
370
|
+
*/
|
|
371
|
+
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
372
|
+
/**
|
|
373
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
374
|
+
* @summary List webhook history items
|
|
375
|
+
* @param {number} [page] Page number.
|
|
376
|
+
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
377
|
+
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
378
|
+
* @param {number} [webhookId] WebHook id
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
* @memberof WebhookApi
|
|
382
|
+
*/
|
|
383
|
+
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any>>;
|
|
384
|
+
/**
|
|
385
|
+
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
386
|
+
* @summary Get a webhook history item by id
|
|
387
|
+
* @param {number} id Item id
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
* @memberof WebhookApi
|
|
391
|
+
*/
|
|
392
|
+
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory, any>>;
|
|
393
|
+
}
|