@invoicetronic/ts-sdk 1.0.0 → 1.1.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 -0
- package/README.md +2 -2
- package/base.ts +0 -24
- package/common.ts +1 -38
- package/configuration.ts +25 -19
- package/dist/base.d.ts +0 -24
- package/dist/base.js +0 -19
- package/dist/common.d.ts +0 -37
- package/dist/common.js +0 -37
- package/dist/configuration.d.ts +24 -17
- package/dist/configuration.js +2 -2
- package/dist/esm/base.d.ts +0 -24
- package/dist/esm/base.js +0 -19
- package/dist/esm/common.d.ts +0 -37
- package/dist/esm/common.js +0 -37
- package/dist/esm/configuration.d.ts +24 -17
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/src/api/company-api.d.ts +5 -23
- package/dist/esm/src/api/company-api.js +0 -11
- package/dist/esm/src/api/log-api.d.ts +2 -14
- package/dist/esm/src/api/log-api.js +0 -8
- package/dist/esm/src/api/receive-api.d.ts +3 -17
- package/dist/esm/src/api/receive-api.js +0 -9
- package/dist/esm/src/api/send-api.d.ts +11 -53
- package/dist/esm/src/api/send-api.js +0 -29
- package/dist/esm/src/api/status-api.d.ts +1 -11
- package/dist/esm/src/api/status-api.js +0 -7
- package/dist/esm/src/api/update-api.d.ts +2 -17
- package/dist/esm/src/api/update-api.js +0 -11
- package/dist/esm/src/api/webhook-api.d.ts +7 -29
- package/dist/esm/src/api/webhook-api.js +0 -13
- package/dist/esm/src/models/allegati.d.ts +0 -30
- package/dist/esm/src/models/altri-dati-gestionali.d.ts +0 -25
- package/dist/esm/src/models/anagrafica.d.ts +0 -30
- package/dist/esm/src/models/cedente-prestatore.d.ts +0 -35
- package/dist/esm/src/models/cessionario-committente.d.ts +0 -25
- package/dist/esm/src/models/codice-articolo.d.ts +0 -15
- package/dist/esm/src/models/company.d.ts +0 -16
- package/dist/esm/src/models/contatti-trasmittente.d.ts +0 -15
- package/dist/esm/src/models/contatti.d.ts +0 -20
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -45
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -20
- package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +0 -25
- package/dist/esm/src/models/dati-anagrafici.d.ts +0 -20
- package/dist/esm/src/models/dati-beni-servizi.d.ts +0 -15
- package/dist/esm/src/models/dati-bollo.d.ts +0 -15
- package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +0 -45
- package/dist/esm/src/models/dati-contratto.d.ts +0 -40
- package/dist/esm/src/models/dati-convenzione.d.ts +0 -40
- package/dist/esm/src/models/dati-ddt.d.ts +0 -20
- package/dist/esm/src/models/dati-fatture-collegate.d.ts +0 -40
- package/dist/esm/src/models/dati-generali-documento.d.ts +0 -65
- package/dist/esm/src/models/dati-generali.d.ts +0 -55
- package/dist/esm/src/models/dati-ordine-acquisto.d.ts +0 -40
- package/dist/esm/src/models/dati-pagamento.d.ts +0 -15
- package/dist/esm/src/models/dati-ricezione.d.ts +0 -40
- package/dist/esm/src/models/dati-riepilogo.d.ts +0 -45
- package/dist/esm/src/models/dati-ritenuta.d.ts +0 -25
- package/dist/esm/src/models/dati-sal.d.ts +0 -10
- package/dist/esm/src/models/dati-trasmissione.d.ts +0 -35
- package/dist/esm/src/models/dati-trasporto.d.ts +0 -70
- package/dist/esm/src/models/dati-veicoli.d.ts +0 -15
- package/dist/esm/src/models/dettaglio-linee.d.ts +0 -85
- package/dist/esm/src/models/dettaglio-pagamento.d.ts +0 -110
- package/dist/esm/src/models/document-data.d.ts +0 -15
- package/dist/esm/src/models/event.d.ts +8 -39
- package/dist/esm/src/models/fattura-elettronica-body.d.ts +0 -30
- package/dist/esm/src/models/fattura-elettronica-header.d.ts +0 -35
- package/dist/esm/src/models/fattura-ordinaria.d.ts +0 -20
- package/dist/esm/src/models/fattura-principale.d.ts +0 -15
- package/dist/esm/src/models/id-fiscale-iva.d.ts +0 -15
- package/dist/esm/src/models/id-trasmittente.d.ts +0 -15
- package/dist/esm/src/models/indirizzo-resa.d.ts +0 -35
- package/dist/esm/src/models/iscrizione-rea.d.ts +0 -30
- package/dist/esm/src/models/model-error.d.ts +0 -8
- package/dist/esm/src/models/problem-details.d.ts +0 -30
- package/dist/esm/src/models/problem-http-result.d.ts +0 -20
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -25
- package/dist/esm/src/models/rappresentante-fiscale.d.ts +0 -10
- package/dist/esm/src/models/receive.d.ts +0 -39
- package/dist/esm/src/models/sconto-maggiorazione.d.ts +0 -20
- package/dist/esm/src/models/sede-cedente-prestatore.d.ts +0 -35
- package/dist/esm/src/models/sede-cessionario-committente.d.ts +0 -35
- package/dist/esm/src/models/send-reduced.d.ts +0 -12
- package/dist/esm/src/models/send.d.ts +0 -42
- package/dist/esm/src/models/stabile-organizzazione.d.ts +0 -35
- package/dist/esm/src/models/status.d.ts +0 -9
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -10
- package/dist/esm/src/models/update.d.ts +0 -34
- package/dist/esm/src/models/web-hook-history.d.ts +0 -20
- package/dist/esm/src/models/web-hook.d.ts +0 -25
- package/dist/src/api/company-api.d.ts +5 -23
- package/dist/src/api/company-api.js +0 -11
- package/dist/src/api/log-api.d.ts +2 -14
- package/dist/src/api/log-api.js +0 -8
- package/dist/src/api/receive-api.d.ts +3 -17
- package/dist/src/api/receive-api.js +0 -9
- package/dist/src/api/send-api.d.ts +11 -53
- package/dist/src/api/send-api.js +0 -29
- package/dist/src/api/status-api.d.ts +1 -11
- package/dist/src/api/status-api.js +0 -7
- package/dist/src/api/update-api.d.ts +2 -17
- package/dist/src/api/update-api.js +0 -11
- package/dist/src/api/webhook-api.d.ts +7 -29
- package/dist/src/api/webhook-api.js +0 -13
- package/dist/src/models/allegati.d.ts +0 -30
- package/dist/src/models/altri-dati-gestionali.d.ts +0 -25
- package/dist/src/models/anagrafica.d.ts +0 -30
- package/dist/src/models/cedente-prestatore.d.ts +0 -35
- package/dist/src/models/cessionario-committente.d.ts +0 -25
- package/dist/src/models/codice-articolo.d.ts +0 -15
- package/dist/src/models/company.d.ts +0 -16
- package/dist/src/models/contatti-trasmittente.d.ts +0 -15
- package/dist/src/models/contatti.d.ts +0 -20
- package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -45
- package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -20
- package/dist/src/models/dati-anagrafici-vettore.d.ts +0 -25
- package/dist/src/models/dati-anagrafici.d.ts +0 -20
- package/dist/src/models/dati-beni-servizi.d.ts +0 -15
- package/dist/src/models/dati-bollo.d.ts +0 -15
- package/dist/src/models/dati-cassa-previdenziale.d.ts +0 -45
- package/dist/src/models/dati-contratto.d.ts +0 -40
- package/dist/src/models/dati-convenzione.d.ts +0 -40
- package/dist/src/models/dati-ddt.d.ts +0 -20
- package/dist/src/models/dati-fatture-collegate.d.ts +0 -40
- package/dist/src/models/dati-generali-documento.d.ts +0 -65
- package/dist/src/models/dati-generali.d.ts +0 -55
- package/dist/src/models/dati-ordine-acquisto.d.ts +0 -40
- package/dist/src/models/dati-pagamento.d.ts +0 -15
- package/dist/src/models/dati-ricezione.d.ts +0 -40
- package/dist/src/models/dati-riepilogo.d.ts +0 -45
- package/dist/src/models/dati-ritenuta.d.ts +0 -25
- package/dist/src/models/dati-sal.d.ts +0 -10
- package/dist/src/models/dati-trasmissione.d.ts +0 -35
- package/dist/src/models/dati-trasporto.d.ts +0 -70
- package/dist/src/models/dati-veicoli.d.ts +0 -15
- package/dist/src/models/dettaglio-linee.d.ts +0 -85
- package/dist/src/models/dettaglio-pagamento.d.ts +0 -110
- package/dist/src/models/document-data.d.ts +0 -15
- package/dist/src/models/event.d.ts +8 -39
- package/dist/src/models/fattura-elettronica-body.d.ts +0 -30
- package/dist/src/models/fattura-elettronica-header.d.ts +0 -35
- package/dist/src/models/fattura-ordinaria.d.ts +0 -20
- package/dist/src/models/fattura-principale.d.ts +0 -15
- package/dist/src/models/id-fiscale-iva.d.ts +0 -15
- package/dist/src/models/id-trasmittente.d.ts +0 -15
- package/dist/src/models/indirizzo-resa.d.ts +0 -35
- package/dist/src/models/iscrizione-rea.d.ts +0 -30
- package/dist/src/models/model-error.d.ts +0 -8
- package/dist/src/models/problem-details.d.ts +0 -30
- package/dist/src/models/problem-http-result.d.ts +0 -20
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -25
- package/dist/src/models/rappresentante-fiscale.d.ts +0 -10
- package/dist/src/models/receive.d.ts +0 -39
- package/dist/src/models/sconto-maggiorazione.d.ts +0 -20
- package/dist/src/models/sede-cedente-prestatore.d.ts +0 -35
- package/dist/src/models/sede-cessionario-committente.d.ts +0 -35
- package/dist/src/models/send-reduced.d.ts +0 -12
- package/dist/src/models/send.d.ts +0 -42
- package/dist/src/models/stabile-organizzazione.d.ts +0 -35
- package/dist/src/models/status.d.ts +0 -9
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -10
- package/dist/src/models/update.d.ts +0 -34
- package/dist/src/models/web-hook-history.d.ts +0 -20
- package/dist/src/models/web-hook.d.ts +0 -25
- package/docs/Event.md +4 -2
- package/package.json +1 -1
- package/src/api/company-api.ts +0 -18
- package/src/api/log-api.ts +0 -12
- package/src/api/receive-api.ts +0 -14
- package/src/api/send-api.ts +0 -42
- package/src/api/status-api.ts +0 -10
- package/src/api/update-api.ts +0 -15
- package/src/api/webhook-api.ts +0 -22
- package/src/models/allegati.ts +0 -30
- package/src/models/altri-dati-gestionali.ts +0 -25
- package/src/models/anagrafica.ts +0 -30
- package/src/models/cedente-prestatore.ts +0 -35
- package/src/models/cessionario-committente.ts +0 -25
- package/src/models/codice-articolo.ts +0 -15
- package/src/models/company.ts +0 -16
- package/src/models/contatti-trasmittente.ts +0 -15
- package/src/models/contatti.ts +0 -20
- package/src/models/dati-anagrafici-cedente-prestatore.ts +0 -45
- package/src/models/dati-anagrafici-cessionario-committente.ts +0 -20
- package/src/models/dati-anagrafici-vettore.ts +0 -25
- package/src/models/dati-anagrafici.ts +0 -20
- package/src/models/dati-beni-servizi.ts +0 -15
- package/src/models/dati-bollo.ts +0 -15
- package/src/models/dati-cassa-previdenziale.ts +0 -45
- package/src/models/dati-contratto.ts +0 -40
- package/src/models/dati-convenzione.ts +0 -40
- package/src/models/dati-ddt.ts +0 -20
- package/src/models/dati-fatture-collegate.ts +0 -40
- package/src/models/dati-generali-documento.ts +0 -65
- package/src/models/dati-generali.ts +0 -55
- package/src/models/dati-ordine-acquisto.ts +0 -40
- package/src/models/dati-pagamento.ts +0 -15
- package/src/models/dati-ricezione.ts +0 -40
- package/src/models/dati-riepilogo.ts +0 -45
- package/src/models/dati-ritenuta.ts +0 -25
- package/src/models/dati-sal.ts +0 -10
- package/src/models/dati-trasmissione.ts +0 -35
- package/src/models/dati-trasporto.ts +0 -70
- package/src/models/dati-veicoli.ts +0 -15
- package/src/models/dettaglio-linee.ts +0 -85
- package/src/models/dettaglio-pagamento.ts +0 -110
- package/src/models/document-data.ts +0 -15
- package/src/models/event.ts +8 -39
- package/src/models/fattura-elettronica-body.ts +0 -30
- package/src/models/fattura-elettronica-header.ts +0 -35
- package/src/models/fattura-ordinaria.ts +0 -20
- package/src/models/fattura-principale.ts +0 -15
- package/src/models/id-fiscale-iva.ts +0 -15
- package/src/models/id-trasmittente.ts +0 -15
- package/src/models/indirizzo-resa.ts +0 -35
- package/src/models/iscrizione-rea.ts +0 -30
- package/src/models/model-error.ts +0 -8
- package/src/models/problem-details.ts +0 -30
- package/src/models/problem-http-result.ts +0 -20
- package/src/models/rappresentante-fiscale-cessionario-committente.ts +0 -25
- package/src/models/rappresentante-fiscale.ts +0 -10
- package/src/models/receive.ts +0 -39
- package/src/models/sconto-maggiorazione.ts +0 -20
- package/src/models/sede-cedente-prestatore.ts +0 -35
- package/src/models/sede-cessionario-committente.ts +0 -35
- package/src/models/send-reduced.ts +0 -12
- package/src/models/send.ts +0 -42
- package/src/models/stabile-organizzazione.ts +0 -35
- package/src/models/status.ts +0 -9
- package/src/models/terzo-intermediario-osoggetto-emittente.ts +0 -10
- package/src/models/update.ts +0 -34
- package/src/models/web-hook-history.ts +0 -20
- package/src/models/web-hook.ts +0 -25
package/dist/src/api/send-api.js
CHANGED
|
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
|
|
|
34
34
|
const base_1 = require("../../base");
|
|
35
35
|
/**
|
|
36
36
|
* SendApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
const SendApiAxiosParamCreator = function (configuration) {
|
|
40
39
|
return {
|
|
@@ -523,7 +522,6 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
523
522
|
exports.SendApiAxiosParamCreator = SendApiAxiosParamCreator;
|
|
524
523
|
/**
|
|
525
524
|
* SendApi - functional programming interface
|
|
526
|
-
* @export
|
|
527
525
|
*/
|
|
528
526
|
const SendApiFp = function (configuration) {
|
|
529
527
|
const localVarAxiosParamCreator = (0, exports.SendApiAxiosParamCreator)(configuration);
|
|
@@ -734,7 +732,6 @@ const SendApiFp = function (configuration) {
|
|
|
734
732
|
exports.SendApiFp = SendApiFp;
|
|
735
733
|
/**
|
|
736
734
|
* SendApi - factory interface
|
|
737
|
-
* @export
|
|
738
735
|
*/
|
|
739
736
|
const SendApiFactory = function (configuration, basePath, axios) {
|
|
740
737
|
const localVarFp = (0, exports.SendApiFp)(configuration);
|
|
@@ -879,9 +876,6 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
879
876
|
exports.SendApiFactory = SendApiFactory;
|
|
880
877
|
/**
|
|
881
878
|
* SendApi - object-oriented interface
|
|
882
|
-
* @export
|
|
883
|
-
* @class SendApi
|
|
884
|
-
* @extends {BaseAPI}
|
|
885
879
|
*/
|
|
886
880
|
class SendApi extends base_1.BaseAPI {
|
|
887
881
|
/**
|
|
@@ -892,7 +886,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
892
886
|
* @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
893
887
|
* @param {*} [options] Override http request option.
|
|
894
888
|
* @throws {RequiredError}
|
|
895
|
-
* @memberof SendApi
|
|
896
889
|
*/
|
|
897
890
|
sendFilePost(file, validate, signature, options) {
|
|
898
891
|
return (0, exports.SendApiFp)(this.configuration).sendFilePost(file, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -918,7 +911,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
918
911
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
919
912
|
* @param {*} [options] Override http request option.
|
|
920
913
|
* @throws {RequiredError}
|
|
921
|
-
* @memberof SendApi
|
|
922
914
|
*/
|
|
923
915
|
sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options) {
|
|
924
916
|
return (0, exports.SendApiFp)(this.configuration).sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -930,7 +922,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
930
922
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
931
923
|
* @param {*} [options] Override http request option.
|
|
932
924
|
* @throws {RequiredError}
|
|
933
|
-
* @memberof SendApi
|
|
934
925
|
*/
|
|
935
926
|
sendIdGet(id, includePayload, options) {
|
|
936
927
|
return (0, exports.SendApiFp)(this.configuration).sendIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -942,7 +933,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
942
933
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
943
934
|
* @param {*} [options] Override http request option.
|
|
944
935
|
* @throws {RequiredError}
|
|
945
|
-
* @memberof SendApi
|
|
946
936
|
*/
|
|
947
937
|
sendIdentifierGet(identifier, includePayload, options) {
|
|
948
938
|
return (0, exports.SendApiFp)(this.configuration).sendIdentifierGet(identifier, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -955,7 +945,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
955
945
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
956
946
|
* @param {*} [options] Override http request option.
|
|
957
947
|
* @throws {RequiredError}
|
|
958
|
-
* @memberof SendApi
|
|
959
948
|
*/
|
|
960
949
|
sendJsonPost(fatturaOrdinaria, validate, signature, options) {
|
|
961
950
|
return (0, exports.SendApiFp)(this.configuration).sendJsonPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -968,7 +957,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
968
957
|
* @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
969
958
|
* @param {*} [options] Override http request option.
|
|
970
959
|
* @throws {RequiredError}
|
|
971
|
-
* @memberof SendApi
|
|
972
960
|
*/
|
|
973
961
|
sendPost(send, validate, signature, options) {
|
|
974
962
|
return (0, exports.SendApiFp)(this.configuration).sendPost(send, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -979,7 +967,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
979
967
|
* @param {File} file
|
|
980
968
|
* @param {*} [options] Override http request option.
|
|
981
969
|
* @throws {RequiredError}
|
|
982
|
-
* @memberof SendApi
|
|
983
970
|
*/
|
|
984
971
|
sendValidateFilePost(file, options) {
|
|
985
972
|
return (0, exports.SendApiFp)(this.configuration).sendValidateFilePost(file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -990,7 +977,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
990
977
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
991
978
|
* @param {*} [options] Override http request option.
|
|
992
979
|
* @throws {RequiredError}
|
|
993
|
-
* @memberof SendApi
|
|
994
980
|
*/
|
|
995
981
|
sendValidateJsonPost(fatturaOrdinaria, options) {
|
|
996
982
|
return (0, exports.SendApiFp)(this.configuration).sendValidateJsonPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1001,7 +987,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
1001
987
|
* @param {Send} send
|
|
1002
988
|
* @param {*} [options] Override http request option.
|
|
1003
989
|
* @throws {RequiredError}
|
|
1004
|
-
* @memberof SendApi
|
|
1005
990
|
*/
|
|
1006
991
|
sendValidatePost(send, options) {
|
|
1007
992
|
return (0, exports.SendApiFp)(this.configuration).sendValidatePost(send, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1012,7 +997,6 @@ class SendApi extends base_1.BaseAPI {
|
|
|
1012
997
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1013
998
|
* @param {*} [options] Override http request option.
|
|
1014
999
|
* @throws {RequiredError}
|
|
1015
|
-
* @memberof SendApi
|
|
1016
1000
|
*/
|
|
1017
1001
|
sendValidateXmlPost(fatturaOrdinaria, options) {
|
|
1018
1002
|
return (0, exports.SendApiFp)(this.configuration).sendValidateXmlPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1025,43 +1009,30 @@ class SendApi extends base_1.BaseAPI {
|
|
|
1025
1009
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1026
1010
|
* @param {*} [options] Override http request option.
|
|
1027
1011
|
* @throws {RequiredError}
|
|
1028
|
-
* @memberof SendApi
|
|
1029
1012
|
*/
|
|
1030
1013
|
sendXmlPost(fatturaOrdinaria, validate, signature, options) {
|
|
1031
1014
|
return (0, exports.SendApiFp)(this.configuration).sendXmlPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
1032
1015
|
}
|
|
1033
1016
|
}
|
|
1034
1017
|
exports.SendApi = SendApi;
|
|
1035
|
-
/**
|
|
1036
|
-
* @export
|
|
1037
|
-
*/
|
|
1038
1018
|
exports.SendFilePostSignatureEnum = {
|
|
1039
1019
|
None: 'None',
|
|
1040
1020
|
Apply: 'Apply',
|
|
1041
1021
|
Force: 'Force',
|
|
1042
1022
|
Auto: 'Auto'
|
|
1043
1023
|
};
|
|
1044
|
-
/**
|
|
1045
|
-
* @export
|
|
1046
|
-
*/
|
|
1047
1024
|
exports.SendJsonPostSignatureEnum = {
|
|
1048
1025
|
None: 'None',
|
|
1049
1026
|
Apply: 'Apply',
|
|
1050
1027
|
Force: 'Force',
|
|
1051
1028
|
Auto: 'Auto'
|
|
1052
1029
|
};
|
|
1053
|
-
/**
|
|
1054
|
-
* @export
|
|
1055
|
-
*/
|
|
1056
1030
|
exports.SendPostSignatureEnum = {
|
|
1057
1031
|
None: 'None',
|
|
1058
1032
|
Apply: 'Apply',
|
|
1059
1033
|
Force: 'Force',
|
|
1060
1034
|
Auto: 'Auto'
|
|
1061
1035
|
};
|
|
1062
|
-
/**
|
|
1063
|
-
* @export
|
|
1064
|
-
*/
|
|
1065
1036
|
exports.SendXmlPostSignatureEnum = {
|
|
1066
1037
|
None: 'None',
|
|
1067
1038
|
Apply: 'Apply',
|
|
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
|
|
|
15
15
|
import type { Status } from '../../src/models';
|
|
16
16
|
/**
|
|
17
17
|
* StatusApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
18
|
*/
|
|
20
19
|
export declare const StatusApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
20
|
/**
|
|
@@ -28,7 +27,6 @@ export declare const StatusApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
28
27
|
};
|
|
29
28
|
/**
|
|
30
29
|
* StatusApi - functional programming interface
|
|
31
|
-
* @export
|
|
32
30
|
*/
|
|
33
31
|
export declare const StatusApiFp: (configuration?: Configuration) => {
|
|
34
32
|
/**
|
|
@@ -41,7 +39,6 @@ export declare const StatusApiFp: (configuration?: Configuration) => {
|
|
|
41
39
|
};
|
|
42
40
|
/**
|
|
43
41
|
* StatusApi - factory interface
|
|
44
|
-
* @export
|
|
45
42
|
*/
|
|
46
43
|
export declare const StatusApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
44
|
/**
|
|
@@ -54,8 +51,6 @@ export declare const StatusApiFactory: (configuration?: Configuration, basePath?
|
|
|
54
51
|
};
|
|
55
52
|
/**
|
|
56
53
|
* StatusApi - interface
|
|
57
|
-
* @export
|
|
58
|
-
* @interface StatusApi
|
|
59
54
|
*/
|
|
60
55
|
export interface StatusApiInterface {
|
|
61
56
|
/**
|
|
@@ -63,15 +58,11 @@ export interface StatusApiInterface {
|
|
|
63
58
|
* @summary Account status
|
|
64
59
|
* @param {*} [options] Override http request option.
|
|
65
60
|
* @throws {RequiredError}
|
|
66
|
-
* @memberof StatusApiInterface
|
|
67
61
|
*/
|
|
68
62
|
statusGet(options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
69
63
|
}
|
|
70
64
|
/**
|
|
71
65
|
* StatusApi - object-oriented interface
|
|
72
|
-
* @export
|
|
73
|
-
* @class StatusApi
|
|
74
|
-
* @extends {BaseAPI}
|
|
75
66
|
*/
|
|
76
67
|
export declare class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
77
68
|
/**
|
|
@@ -79,7 +70,6 @@ export declare class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
|
79
70
|
* @summary Account status
|
|
80
71
|
* @param {*} [options] Override http request option.
|
|
81
72
|
* @throws {RequiredError}
|
|
82
|
-
* @memberof StatusApi
|
|
83
73
|
*/
|
|
84
|
-
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
74
|
+
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
85
75
|
}
|
|
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
|
|
|
34
34
|
const base_1 = require("../../base");
|
|
35
35
|
/**
|
|
36
36
|
* StatusApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
const StatusApiAxiosParamCreator = function (configuration) {
|
|
40
39
|
return {
|
|
@@ -71,7 +70,6 @@ const StatusApiAxiosParamCreator = function (configuration) {
|
|
|
71
70
|
exports.StatusApiAxiosParamCreator = StatusApiAxiosParamCreator;
|
|
72
71
|
/**
|
|
73
72
|
* StatusApi - functional programming interface
|
|
74
|
-
* @export
|
|
75
73
|
*/
|
|
76
74
|
const StatusApiFp = function (configuration) {
|
|
77
75
|
const localVarAxiosParamCreator = (0, exports.StatusApiAxiosParamCreator)(configuration);
|
|
@@ -96,7 +94,6 @@ const StatusApiFp = function (configuration) {
|
|
|
96
94
|
exports.StatusApiFp = StatusApiFp;
|
|
97
95
|
/**
|
|
98
96
|
* StatusApi - factory interface
|
|
99
|
-
* @export
|
|
100
97
|
*/
|
|
101
98
|
const StatusApiFactory = function (configuration, basePath, axios) {
|
|
102
99
|
const localVarFp = (0, exports.StatusApiFp)(configuration);
|
|
@@ -115,9 +112,6 @@ const StatusApiFactory = function (configuration, basePath, axios) {
|
|
|
115
112
|
exports.StatusApiFactory = StatusApiFactory;
|
|
116
113
|
/**
|
|
117
114
|
* StatusApi - object-oriented interface
|
|
118
|
-
* @export
|
|
119
|
-
* @class StatusApi
|
|
120
|
-
* @extends {BaseAPI}
|
|
121
115
|
*/
|
|
122
116
|
class StatusApi extends base_1.BaseAPI {
|
|
123
117
|
/**
|
|
@@ -125,7 +119,6 @@ class StatusApi extends base_1.BaseAPI {
|
|
|
125
119
|
* @summary Account status
|
|
126
120
|
* @param {*} [options] Override http request option.
|
|
127
121
|
* @throws {RequiredError}
|
|
128
|
-
* @memberof StatusApi
|
|
129
122
|
*/
|
|
130
123
|
statusGet(options) {
|
|
131
124
|
return (0, exports.StatusApiFp)(this.configuration).statusGet(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
|
|
|
15
15
|
import type { Update } from '../../src/models';
|
|
16
16
|
/**
|
|
17
17
|
* UpdateApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
18
|
*/
|
|
20
19
|
export declare const UpdateApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
20
|
/**
|
|
@@ -49,7 +48,6 @@ export declare const UpdateApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
49
48
|
};
|
|
50
49
|
/**
|
|
51
50
|
* UpdateApi - functional programming interface
|
|
52
|
-
* @export
|
|
53
51
|
*/
|
|
54
52
|
export declare const UpdateApiFp: (configuration?: Configuration) => {
|
|
55
53
|
/**
|
|
@@ -83,7 +81,6 @@ export declare const UpdateApiFp: (configuration?: Configuration) => {
|
|
|
83
81
|
};
|
|
84
82
|
/**
|
|
85
83
|
* UpdateApi - factory interface
|
|
86
|
-
* @export
|
|
87
84
|
*/
|
|
88
85
|
export declare const UpdateApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
89
86
|
/**
|
|
@@ -117,8 +114,6 @@ export declare const UpdateApiFactory: (configuration?: Configuration, basePath?
|
|
|
117
114
|
};
|
|
118
115
|
/**
|
|
119
116
|
* UpdateApi - interface
|
|
120
|
-
* @export
|
|
121
|
-
* @interface UpdateApi
|
|
122
117
|
*/
|
|
123
118
|
export interface UpdateApiInterface {
|
|
124
119
|
/**
|
|
@@ -139,7 +134,6 @@ export interface UpdateApiInterface {
|
|
|
139
134
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
140
135
|
* @param {*} [options] Override http request option.
|
|
141
136
|
* @throws {RequiredError}
|
|
142
|
-
* @memberof UpdateApiInterface
|
|
143
137
|
*/
|
|
144
138
|
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Update>>;
|
|
145
139
|
/**
|
|
@@ -148,15 +142,11 @@ export interface UpdateApiInterface {
|
|
|
148
142
|
* @param {number} id Item id
|
|
149
143
|
* @param {*} [options] Override http request option.
|
|
150
144
|
* @throws {RequiredError}
|
|
151
|
-
* @memberof UpdateApiInterface
|
|
152
145
|
*/
|
|
153
146
|
updateIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Update>;
|
|
154
147
|
}
|
|
155
148
|
/**
|
|
156
149
|
* UpdateApi - object-oriented interface
|
|
157
|
-
* @export
|
|
158
|
-
* @class UpdateApi
|
|
159
|
-
* @extends {BaseAPI}
|
|
160
150
|
*/
|
|
161
151
|
export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
162
152
|
/**
|
|
@@ -177,22 +167,17 @@ export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
177
167
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
178
168
|
* @param {*} [options] Override http request option.
|
|
179
169
|
* @throws {RequiredError}
|
|
180
|
-
* @memberof UpdateApi
|
|
181
170
|
*/
|
|
182
|
-
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update[], any>>;
|
|
171
|
+
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update[], any, {}>>;
|
|
183
172
|
/**
|
|
184
173
|
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
185
174
|
* @summary Get an update by id
|
|
186
175
|
* @param {number} id Item id
|
|
187
176
|
* @param {*} [options] Override http request option.
|
|
188
177
|
* @throws {RequiredError}
|
|
189
|
-
* @memberof UpdateApi
|
|
190
178
|
*/
|
|
191
|
-
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update, any>>;
|
|
179
|
+
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update, any, {}>>;
|
|
192
180
|
}
|
|
193
|
-
/**
|
|
194
|
-
* @export
|
|
195
|
-
*/
|
|
196
181
|
export declare const UpdateGetStateEnum: {
|
|
197
182
|
readonly Inviato: "Inviato";
|
|
198
183
|
readonly Consegnato: "Consegnato";
|
|
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
|
|
|
34
34
|
const base_1 = require("../../base");
|
|
35
35
|
/**
|
|
36
36
|
* UpdateApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
const UpdateApiAxiosParamCreator = function (configuration) {
|
|
40
39
|
return {
|
|
@@ -163,7 +162,6 @@ const UpdateApiAxiosParamCreator = function (configuration) {
|
|
|
163
162
|
exports.UpdateApiAxiosParamCreator = UpdateApiAxiosParamCreator;
|
|
164
163
|
/**
|
|
165
164
|
* UpdateApi - functional programming interface
|
|
166
|
-
* @export
|
|
167
165
|
*/
|
|
168
166
|
const UpdateApiFp = function (configuration) {
|
|
169
167
|
const localVarAxiosParamCreator = (0, exports.UpdateApiAxiosParamCreator)(configuration);
|
|
@@ -217,7 +215,6 @@ const UpdateApiFp = function (configuration) {
|
|
|
217
215
|
exports.UpdateApiFp = UpdateApiFp;
|
|
218
216
|
/**
|
|
219
217
|
* UpdateApi - factory interface
|
|
220
|
-
* @export
|
|
221
218
|
*/
|
|
222
219
|
const UpdateApiFactory = function (configuration, basePath, axios) {
|
|
223
220
|
const localVarFp = (0, exports.UpdateApiFp)(configuration);
|
|
@@ -259,9 +256,6 @@ const UpdateApiFactory = function (configuration, basePath, axios) {
|
|
|
259
256
|
exports.UpdateApiFactory = UpdateApiFactory;
|
|
260
257
|
/**
|
|
261
258
|
* UpdateApi - object-oriented interface
|
|
262
|
-
* @export
|
|
263
|
-
* @class UpdateApi
|
|
264
|
-
* @extends {BaseAPI}
|
|
265
259
|
*/
|
|
266
260
|
class UpdateApi extends base_1.BaseAPI {
|
|
267
261
|
/**
|
|
@@ -282,7 +276,6 @@ class UpdateApi extends base_1.BaseAPI {
|
|
|
282
276
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
283
277
|
* @param {*} [options] Override http request option.
|
|
284
278
|
* @throws {RequiredError}
|
|
285
|
-
* @memberof UpdateApi
|
|
286
279
|
*/
|
|
287
280
|
updateGet(companyId, identifier, prestatore, unread, sendId, state, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, page, pageSize, sort, options) {
|
|
288
281
|
return (0, exports.UpdateApiFp)(this.configuration).updateGet(companyId, identifier, prestatore, unread, sendId, state, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -293,16 +286,12 @@ class UpdateApi extends base_1.BaseAPI {
|
|
|
293
286
|
* @param {number} id Item id
|
|
294
287
|
* @param {*} [options] Override http request option.
|
|
295
288
|
* @throws {RequiredError}
|
|
296
|
-
* @memberof UpdateApi
|
|
297
289
|
*/
|
|
298
290
|
updateIdGet(id, options) {
|
|
299
291
|
return (0, exports.UpdateApiFp)(this.configuration).updateIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
300
292
|
}
|
|
301
293
|
}
|
|
302
294
|
exports.UpdateApi = UpdateApi;
|
|
303
|
-
/**
|
|
304
|
-
* @export
|
|
305
|
-
*/
|
|
306
295
|
exports.UpdateGetStateEnum = {
|
|
307
296
|
Inviato: 'Inviato',
|
|
308
297
|
Consegnato: 'Consegnato',
|
|
@@ -16,7 +16,6 @@ import type { WebHook } from '../../src/models';
|
|
|
16
16
|
import type { WebHookHistory } from '../../src/models';
|
|
17
17
|
/**
|
|
18
18
|
* WebhookApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
19
|
*/
|
|
21
20
|
export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
21
|
/**
|
|
@@ -88,7 +87,6 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
88
87
|
};
|
|
89
88
|
/**
|
|
90
89
|
* WebhookApi - functional programming interface
|
|
91
|
-
* @export
|
|
92
90
|
*/
|
|
93
91
|
export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
94
92
|
/**
|
|
@@ -160,7 +158,6 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
160
158
|
};
|
|
161
159
|
/**
|
|
162
160
|
* WebhookApi - factory interface
|
|
163
|
-
* @export
|
|
164
161
|
*/
|
|
165
162
|
export declare const WebhookApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
166
163
|
/**
|
|
@@ -232,8 +229,6 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
232
229
|
};
|
|
233
230
|
/**
|
|
234
231
|
* WebhookApi - interface
|
|
235
|
-
* @export
|
|
236
|
-
* @interface WebhookApi
|
|
237
232
|
*/
|
|
238
233
|
export interface WebhookApiInterface {
|
|
239
234
|
/**
|
|
@@ -249,7 +244,6 @@ export interface WebhookApiInterface {
|
|
|
249
244
|
* @param {string} [url]
|
|
250
245
|
* @param {*} [options] Override http request option.
|
|
251
246
|
* @throws {RequiredError}
|
|
252
|
-
* @memberof WebhookApiInterface
|
|
253
247
|
*/
|
|
254
248
|
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WebHook>>;
|
|
255
249
|
/**
|
|
@@ -258,7 +252,6 @@ export interface WebhookApiInterface {
|
|
|
258
252
|
* @param {number} id Item id
|
|
259
253
|
* @param {*} [options] Override http request option.
|
|
260
254
|
* @throws {RequiredError}
|
|
261
|
-
* @memberof WebhookApiInterface
|
|
262
255
|
*/
|
|
263
256
|
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
264
257
|
/**
|
|
@@ -267,7 +260,6 @@ export interface WebhookApiInterface {
|
|
|
267
260
|
* @param {number} id Item id
|
|
268
261
|
* @param {*} [options] Override http request option.
|
|
269
262
|
* @throws {RequiredError}
|
|
270
|
-
* @memberof WebhookApiInterface
|
|
271
263
|
*/
|
|
272
264
|
webhookIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
273
265
|
/**
|
|
@@ -276,7 +268,6 @@ export interface WebhookApiInterface {
|
|
|
276
268
|
* @param {WebHook} webHook
|
|
277
269
|
* @param {*} [options] Override http request option.
|
|
278
270
|
* @throws {RequiredError}
|
|
279
|
-
* @memberof WebhookApiInterface
|
|
280
271
|
*/
|
|
281
272
|
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
282
273
|
/**
|
|
@@ -285,7 +276,6 @@ export interface WebhookApiInterface {
|
|
|
285
276
|
* @param {WebHook} webHook
|
|
286
277
|
* @param {*} [options] Override http request option.
|
|
287
278
|
* @throws {RequiredError}
|
|
288
|
-
* @memberof WebhookApiInterface
|
|
289
279
|
*/
|
|
290
280
|
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
291
281
|
/**
|
|
@@ -297,7 +287,6 @@ export interface WebhookApiInterface {
|
|
|
297
287
|
* @param {number} [webhookId] WebHook id
|
|
298
288
|
* @param {*} [options] Override http request option.
|
|
299
289
|
* @throws {RequiredError}
|
|
300
|
-
* @memberof WebhookApiInterface
|
|
301
290
|
*/
|
|
302
291
|
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<WebHookHistory>>;
|
|
303
292
|
/**
|
|
@@ -306,15 +295,11 @@ export interface WebhookApiInterface {
|
|
|
306
295
|
* @param {number} id Item id
|
|
307
296
|
* @param {*} [options] Override http request option.
|
|
308
297
|
* @throws {RequiredError}
|
|
309
|
-
* @memberof WebhookApiInterface
|
|
310
298
|
*/
|
|
311
299
|
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHookHistory>;
|
|
312
300
|
}
|
|
313
301
|
/**
|
|
314
302
|
* WebhookApi - object-oriented interface
|
|
315
|
-
* @export
|
|
316
|
-
* @class WebhookApi
|
|
317
|
-
* @extends {BaseAPI}
|
|
318
303
|
*/
|
|
319
304
|
export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
320
305
|
/**
|
|
@@ -330,45 +315,40 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
330
315
|
* @param {string} [url]
|
|
331
316
|
* @param {*} [options] Override http request option.
|
|
332
317
|
* @throws {RequiredError}
|
|
333
|
-
* @memberof WebhookApi
|
|
334
318
|
*/
|
|
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>>;
|
|
319
|
+
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
320
|
/**
|
|
337
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.
|
|
338
322
|
* @summary Delete a webhook by id
|
|
339
323
|
* @param {number} id Item id
|
|
340
324
|
* @param {*} [options] Override http request option.
|
|
341
325
|
* @throws {RequiredError}
|
|
342
|
-
* @memberof WebhookApi
|
|
343
326
|
*/
|
|
344
|
-
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
327
|
+
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
345
328
|
/**
|
|
346
329
|
* 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
330
|
* @summary Get a webhook by id
|
|
348
331
|
* @param {number} id Item id
|
|
349
332
|
* @param {*} [options] Override http request option.
|
|
350
333
|
* @throws {RequiredError}
|
|
351
|
-
* @memberof WebhookApi
|
|
352
334
|
*/
|
|
353
|
-
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
335
|
+
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
354
336
|
/**
|
|
355
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.
|
|
356
338
|
* @summary Add a webhook
|
|
357
339
|
* @param {WebHook} webHook
|
|
358
340
|
* @param {*} [options] Override http request option.
|
|
359
341
|
* @throws {RequiredError}
|
|
360
|
-
* @memberof WebhookApi
|
|
361
342
|
*/
|
|
362
|
-
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
343
|
+
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
363
344
|
/**
|
|
364
345
|
* 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
346
|
* @summary Update a webhook
|
|
366
347
|
* @param {WebHook} webHook
|
|
367
348
|
* @param {*} [options] Override http request option.
|
|
368
349
|
* @throws {RequiredError}
|
|
369
|
-
* @memberof WebhookApi
|
|
370
350
|
*/
|
|
371
|
-
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
351
|
+
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
372
352
|
/**
|
|
373
353
|
* 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
354
|
* @summary List webhook history items
|
|
@@ -378,16 +358,14 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
378
358
|
* @param {number} [webhookId] WebHook id
|
|
379
359
|
* @param {*} [options] Override http request option.
|
|
380
360
|
* @throws {RequiredError}
|
|
381
|
-
* @memberof WebhookApi
|
|
382
361
|
*/
|
|
383
|
-
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any>>;
|
|
362
|
+
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any, {}>>;
|
|
384
363
|
/**
|
|
385
364
|
* 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
365
|
* @summary Get a webhook history item by id
|
|
387
366
|
* @param {number} id Item id
|
|
388
367
|
* @param {*} [options] Override http request option.
|
|
389
368
|
* @throws {RequiredError}
|
|
390
|
-
* @memberof WebhookApi
|
|
391
369
|
*/
|
|
392
|
-
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory, any>>;
|
|
370
|
+
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory, any, {}>>;
|
|
393
371
|
}
|
|
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
|
|
|
34
34
|
const base_1 = require("../../base");
|
|
35
35
|
/**
|
|
36
36
|
* WebhookApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
const WebhookApiAxiosParamCreator = function (configuration) {
|
|
40
39
|
return {
|
|
@@ -309,7 +308,6 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
309
308
|
exports.WebhookApiAxiosParamCreator = WebhookApiAxiosParamCreator;
|
|
310
309
|
/**
|
|
311
310
|
* WebhookApi - functional programming interface
|
|
312
|
-
* @export
|
|
313
311
|
*/
|
|
314
312
|
const WebhookApiFp = function (configuration) {
|
|
315
313
|
const localVarAxiosParamCreator = (0, exports.WebhookApiAxiosParamCreator)(configuration);
|
|
@@ -441,7 +439,6 @@ const WebhookApiFp = function (configuration) {
|
|
|
441
439
|
exports.WebhookApiFp = WebhookApiFp;
|
|
442
440
|
/**
|
|
443
441
|
* WebhookApi - factory interface
|
|
444
|
-
* @export
|
|
445
442
|
*/
|
|
446
443
|
const WebhookApiFactory = function (configuration, basePath, axios) {
|
|
447
444
|
const localVarFp = (0, exports.WebhookApiFp)(configuration);
|
|
@@ -531,9 +528,6 @@ const WebhookApiFactory = function (configuration, basePath, axios) {
|
|
|
531
528
|
exports.WebhookApiFactory = WebhookApiFactory;
|
|
532
529
|
/**
|
|
533
530
|
* WebhookApi - object-oriented interface
|
|
534
|
-
* @export
|
|
535
|
-
* @class WebhookApi
|
|
536
|
-
* @extends {BaseAPI}
|
|
537
531
|
*/
|
|
538
532
|
class WebhookApi extends base_1.BaseAPI {
|
|
539
533
|
/**
|
|
@@ -549,7 +543,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
549
543
|
* @param {string} [url]
|
|
550
544
|
* @param {*} [options] Override http request option.
|
|
551
545
|
* @throws {RequiredError}
|
|
552
|
-
* @memberof WebhookApi
|
|
553
546
|
*/
|
|
554
547
|
webhookGet(companyId, page, pageSize, sort, description, enabled, events, url, options) {
|
|
555
548
|
return (0, exports.WebhookApiFp)(this.configuration).webhookGet(companyId, page, pageSize, sort, description, enabled, events, url, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -560,7 +553,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
560
553
|
* @param {number} id Item id
|
|
561
554
|
* @param {*} [options] Override http request option.
|
|
562
555
|
* @throws {RequiredError}
|
|
563
|
-
* @memberof WebhookApi
|
|
564
556
|
*/
|
|
565
557
|
webhookIdDelete(id, options) {
|
|
566
558
|
return (0, exports.WebhookApiFp)(this.configuration).webhookIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -571,7 +563,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
571
563
|
* @param {number} id Item id
|
|
572
564
|
* @param {*} [options] Override http request option.
|
|
573
565
|
* @throws {RequiredError}
|
|
574
|
-
* @memberof WebhookApi
|
|
575
566
|
*/
|
|
576
567
|
webhookIdGet(id, options) {
|
|
577
568
|
return (0, exports.WebhookApiFp)(this.configuration).webhookIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -582,7 +573,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
582
573
|
* @param {WebHook} webHook
|
|
583
574
|
* @param {*} [options] Override http request option.
|
|
584
575
|
* @throws {RequiredError}
|
|
585
|
-
* @memberof WebhookApi
|
|
586
576
|
*/
|
|
587
577
|
webhookPost(webHook, options) {
|
|
588
578
|
return (0, exports.WebhookApiFp)(this.configuration).webhookPost(webHook, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -593,7 +583,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
593
583
|
* @param {WebHook} webHook
|
|
594
584
|
* @param {*} [options] Override http request option.
|
|
595
585
|
* @throws {RequiredError}
|
|
596
|
-
* @memberof WebhookApi
|
|
597
586
|
*/
|
|
598
587
|
webhookPut(webHook, options) {
|
|
599
588
|
return (0, exports.WebhookApiFp)(this.configuration).webhookPut(webHook, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -607,7 +596,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
607
596
|
* @param {number} [webhookId] WebHook id
|
|
608
597
|
* @param {*} [options] Override http request option.
|
|
609
598
|
* @throws {RequiredError}
|
|
610
|
-
* @memberof WebhookApi
|
|
611
599
|
*/
|
|
612
600
|
webhookhistoryGet(page, pageSize, sort, webhookId, options) {
|
|
613
601
|
return (0, exports.WebhookApiFp)(this.configuration).webhookhistoryGet(page, pageSize, sort, webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -618,7 +606,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
618
606
|
* @param {number} id Item id
|
|
619
607
|
* @param {*} [options] Override http request option.
|
|
620
608
|
* @throws {RequiredError}
|
|
621
|
-
* @memberof WebhookApi
|
|
622
609
|
*/
|
|
623
610
|
webhookhistoryIdGet(id, options) {
|
|
624
611
|
return (0, exports.WebhookApiFp)(this.configuration).webhookhistoryIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -9,40 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Allegati
|
|
16
|
-
*/
|
|
17
12
|
export interface Allegati {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Allegati
|
|
22
|
-
*/
|
|
23
13
|
'nome_attachment'?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Allegati
|
|
28
|
-
*/
|
|
29
14
|
'algoritmo_compressione'?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Allegati
|
|
34
|
-
*/
|
|
35
15
|
'formato_attachment'?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Allegati
|
|
40
|
-
*/
|
|
41
16
|
'descrizione_attachment'?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof Allegati
|
|
46
|
-
*/
|
|
47
17
|
'attachment'?: string | null;
|
|
48
18
|
}
|