@invoicetronic/ts-sdk 1.0.1 → 1.1.1
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 +8 -4
- package/CHANGELOG.md +1 -1
- 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 +0 -18
- package/dist/esm/src/api/company-api.js +5 -11
- package/dist/esm/src/api/log-api.d.ts +0 -12
- package/dist/esm/src/api/log-api.js +2 -8
- package/dist/esm/src/api/receive-api.d.ts +0 -14
- package/dist/esm/src/api/receive-api.js +3 -9
- package/dist/esm/src/api/send-api.d.ts +0 -42
- package/dist/esm/src/api/send-api.js +11 -29
- package/dist/esm/src/api/status-api.d.ts +0 -10
- package/dist/esm/src/api/status-api.js +1 -7
- package/dist/esm/src/api/update-api.d.ts +0 -15
- package/dist/esm/src/api/update-api.js +2 -11
- package/dist/esm/src/api/webhook-api.d.ts +0 -22
- package/dist/esm/src/api/webhook-api.js +7 -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 +10 -41
- 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 +1 -40
- 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 +1 -43
- 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 +1 -26
- package/dist/src/api/company-api.d.ts +0 -18
- package/dist/src/api/company-api.js +5 -11
- package/dist/src/api/log-api.d.ts +0 -12
- package/dist/src/api/log-api.js +2 -8
- package/dist/src/api/receive-api.d.ts +0 -14
- package/dist/src/api/receive-api.js +3 -9
- package/dist/src/api/send-api.d.ts +0 -42
- package/dist/src/api/send-api.js +11 -29
- package/dist/src/api/status-api.d.ts +0 -10
- package/dist/src/api/status-api.js +1 -7
- package/dist/src/api/update-api.d.ts +0 -15
- package/dist/src/api/update-api.js +2 -11
- package/dist/src/api/webhook-api.d.ts +0 -22
- package/dist/src/api/webhook-api.js +7 -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 +10 -41
- 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 +1 -40
- 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 +1 -43
- 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 +1 -26
- package/docs/Event.md +6 -4
- package/docs/Receive.md +1 -1
- package/docs/Send.md +1 -1
- package/docs/WebHook.md +1 -1
- package/package.json +1 -1
- package/src/api/company-api.ts +5 -25
- package/src/api/log-api.ts +2 -14
- package/src/api/receive-api.ts +3 -17
- package/src/api/send-api.ts +13 -63
- package/src/api/status-api.ts +1 -11
- package/src/api/update-api.ts +2 -17
- package/src/api/webhook-api.ts +7 -31
- 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 +10 -41
- 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 +1 -40
- 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 +1 -43
- 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 +1 -26
|
@@ -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
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 {
|
|
@@ -58,6 +57,7 @@ const StatusApiAxiosParamCreator = function (configuration) {
|
|
|
58
57
|
// authentication Basic required
|
|
59
58
|
// http basic authentication required
|
|
60
59
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
60
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61
61
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
62
62
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63
63
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -71,7 +71,6 @@ const StatusApiAxiosParamCreator = function (configuration) {
|
|
|
71
71
|
exports.StatusApiAxiosParamCreator = StatusApiAxiosParamCreator;
|
|
72
72
|
/**
|
|
73
73
|
* StatusApi - functional programming interface
|
|
74
|
-
* @export
|
|
75
74
|
*/
|
|
76
75
|
const StatusApiFp = function (configuration) {
|
|
77
76
|
const localVarAxiosParamCreator = (0, exports.StatusApiAxiosParamCreator)(configuration);
|
|
@@ -96,7 +95,6 @@ const StatusApiFp = function (configuration) {
|
|
|
96
95
|
exports.StatusApiFp = StatusApiFp;
|
|
97
96
|
/**
|
|
98
97
|
* StatusApi - factory interface
|
|
99
|
-
* @export
|
|
100
98
|
*/
|
|
101
99
|
const StatusApiFactory = function (configuration, basePath, axios) {
|
|
102
100
|
const localVarFp = (0, exports.StatusApiFp)(configuration);
|
|
@@ -115,9 +113,6 @@ const StatusApiFactory = function (configuration, basePath, axios) {
|
|
|
115
113
|
exports.StatusApiFactory = StatusApiFactory;
|
|
116
114
|
/**
|
|
117
115
|
* StatusApi - object-oriented interface
|
|
118
|
-
* @export
|
|
119
|
-
* @class StatusApi
|
|
120
|
-
* @extends {BaseAPI}
|
|
121
116
|
*/
|
|
122
117
|
class StatusApi extends base_1.BaseAPI {
|
|
123
118
|
/**
|
|
@@ -125,7 +120,6 @@ class StatusApi extends base_1.BaseAPI {
|
|
|
125
120
|
* @summary Account status
|
|
126
121
|
* @param {*} [options] Override http request option.
|
|
127
122
|
* @throws {RequiredError}
|
|
128
|
-
* @memberof StatusApi
|
|
129
123
|
*/
|
|
130
124
|
statusGet(options) {
|
|
131
125
|
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,7 +167,6 @@ 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
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
|
/**
|
|
@@ -186,13 +175,9 @@ export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
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
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 {
|
|
@@ -118,6 +117,7 @@ const UpdateApiAxiosParamCreator = function (configuration) {
|
|
|
118
117
|
if (sort !== undefined) {
|
|
119
118
|
localVarQueryParameter['sort'] = sort;
|
|
120
119
|
}
|
|
120
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
121
121
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
122
122
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
123
123
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -150,6 +150,7 @@ const UpdateApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
// authentication Basic required
|
|
151
151
|
// http basic authentication required
|
|
152
152
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
153
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
153
154
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
154
155
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
156
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -163,7 +164,6 @@ const UpdateApiAxiosParamCreator = function (configuration) {
|
|
|
163
164
|
exports.UpdateApiAxiosParamCreator = UpdateApiAxiosParamCreator;
|
|
164
165
|
/**
|
|
165
166
|
* UpdateApi - functional programming interface
|
|
166
|
-
* @export
|
|
167
167
|
*/
|
|
168
168
|
const UpdateApiFp = function (configuration) {
|
|
169
169
|
const localVarAxiosParamCreator = (0, exports.UpdateApiAxiosParamCreator)(configuration);
|
|
@@ -217,7 +217,6 @@ const UpdateApiFp = function (configuration) {
|
|
|
217
217
|
exports.UpdateApiFp = UpdateApiFp;
|
|
218
218
|
/**
|
|
219
219
|
* UpdateApi - factory interface
|
|
220
|
-
* @export
|
|
221
220
|
*/
|
|
222
221
|
const UpdateApiFactory = function (configuration, basePath, axios) {
|
|
223
222
|
const localVarFp = (0, exports.UpdateApiFp)(configuration);
|
|
@@ -259,9 +258,6 @@ const UpdateApiFactory = function (configuration, basePath, axios) {
|
|
|
259
258
|
exports.UpdateApiFactory = UpdateApiFactory;
|
|
260
259
|
/**
|
|
261
260
|
* UpdateApi - object-oriented interface
|
|
262
|
-
* @export
|
|
263
|
-
* @class UpdateApi
|
|
264
|
-
* @extends {BaseAPI}
|
|
265
261
|
*/
|
|
266
262
|
class UpdateApi extends base_1.BaseAPI {
|
|
267
263
|
/**
|
|
@@ -282,7 +278,6 @@ class UpdateApi extends base_1.BaseAPI {
|
|
|
282
278
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
283
279
|
* @param {*} [options] Override http request option.
|
|
284
280
|
* @throws {RequiredError}
|
|
285
|
-
* @memberof UpdateApi
|
|
286
281
|
*/
|
|
287
282
|
updateGet(companyId, identifier, prestatore, unread, sendId, state, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, page, pageSize, sort, options) {
|
|
288
283
|
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 +288,12 @@ class UpdateApi extends base_1.BaseAPI {
|
|
|
293
288
|
* @param {number} id Item id
|
|
294
289
|
* @param {*} [options] Override http request option.
|
|
295
290
|
* @throws {RequiredError}
|
|
296
|
-
* @memberof UpdateApi
|
|
297
291
|
*/
|
|
298
292
|
updateIdGet(id, options) {
|
|
299
293
|
return (0, exports.UpdateApiFp)(this.configuration).updateIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
300
294
|
}
|
|
301
295
|
}
|
|
302
296
|
exports.UpdateApi = UpdateApi;
|
|
303
|
-
/**
|
|
304
|
-
* @export
|
|
305
|
-
*/
|
|
306
297
|
exports.UpdateGetStateEnum = {
|
|
307
298
|
Inviato: 'Inviato',
|
|
308
299
|
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,7 +315,6 @@ 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
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
|
/**
|
|
@@ -339,7 +323,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
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
327
|
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
345
328
|
/**
|
|
@@ -348,7 +331,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
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
335
|
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
354
336
|
/**
|
|
@@ -357,7 +339,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
357
339
|
* @param {WebHook} webHook
|
|
358
340
|
* @param {*} [options] Override http request option.
|
|
359
341
|
* @throws {RequiredError}
|
|
360
|
-
* @memberof WebhookApi
|
|
361
342
|
*/
|
|
362
343
|
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
363
344
|
/**
|
|
@@ -366,7 +347,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
366
347
|
* @param {WebHook} webHook
|
|
367
348
|
* @param {*} [options] Override http request option.
|
|
368
349
|
* @throws {RequiredError}
|
|
369
|
-
* @memberof WebhookApi
|
|
370
350
|
*/
|
|
371
351
|
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
372
352
|
/**
|
|
@@ -378,7 +358,6 @@ 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
362
|
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any, {}>>;
|
|
384
363
|
/**
|
|
@@ -387,7 +366,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
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
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 {
|
|
@@ -90,6 +89,7 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
90
89
|
if (url !== undefined) {
|
|
91
90
|
localVarQueryParameter['url'] = url;
|
|
92
91
|
}
|
|
92
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
93
93
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
94
94
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
95
95
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -122,6 +122,7 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
122
122
|
// authentication Basic required
|
|
123
123
|
// http basic authentication required
|
|
124
124
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
125
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
125
126
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
126
127
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
128
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -154,6 +155,7 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
154
155
|
// authentication Basic required
|
|
155
156
|
// http basic authentication required
|
|
156
157
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
158
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
157
159
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
158
160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
159
161
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -186,6 +188,7 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
186
188
|
// http basic authentication required
|
|
187
189
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
188
190
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
191
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
189
192
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
193
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
194
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -219,6 +222,7 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
219
222
|
// http basic authentication required
|
|
220
223
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
221
224
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
225
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
222
226
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
223
227
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
224
228
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -264,6 +268,7 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
264
268
|
if (webhookId !== undefined) {
|
|
265
269
|
localVarQueryParameter['webhook_id'] = webhookId;
|
|
266
270
|
}
|
|
271
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
267
272
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
268
273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
269
274
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -296,6 +301,7 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
296
301
|
// authentication Basic required
|
|
297
302
|
// http basic authentication required
|
|
298
303
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
304
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
299
305
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
300
306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
301
307
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -309,7 +315,6 @@ const WebhookApiAxiosParamCreator = function (configuration) {
|
|
|
309
315
|
exports.WebhookApiAxiosParamCreator = WebhookApiAxiosParamCreator;
|
|
310
316
|
/**
|
|
311
317
|
* WebhookApi - functional programming interface
|
|
312
|
-
* @export
|
|
313
318
|
*/
|
|
314
319
|
const WebhookApiFp = function (configuration) {
|
|
315
320
|
const localVarAxiosParamCreator = (0, exports.WebhookApiAxiosParamCreator)(configuration);
|
|
@@ -441,7 +446,6 @@ const WebhookApiFp = function (configuration) {
|
|
|
441
446
|
exports.WebhookApiFp = WebhookApiFp;
|
|
442
447
|
/**
|
|
443
448
|
* WebhookApi - factory interface
|
|
444
|
-
* @export
|
|
445
449
|
*/
|
|
446
450
|
const WebhookApiFactory = function (configuration, basePath, axios) {
|
|
447
451
|
const localVarFp = (0, exports.WebhookApiFp)(configuration);
|
|
@@ -531,9 +535,6 @@ const WebhookApiFactory = function (configuration, basePath, axios) {
|
|
|
531
535
|
exports.WebhookApiFactory = WebhookApiFactory;
|
|
532
536
|
/**
|
|
533
537
|
* WebhookApi - object-oriented interface
|
|
534
|
-
* @export
|
|
535
|
-
* @class WebhookApi
|
|
536
|
-
* @extends {BaseAPI}
|
|
537
538
|
*/
|
|
538
539
|
class WebhookApi extends base_1.BaseAPI {
|
|
539
540
|
/**
|
|
@@ -549,7 +550,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
549
550
|
* @param {string} [url]
|
|
550
551
|
* @param {*} [options] Override http request option.
|
|
551
552
|
* @throws {RequiredError}
|
|
552
|
-
* @memberof WebhookApi
|
|
553
553
|
*/
|
|
554
554
|
webhookGet(companyId, page, pageSize, sort, description, enabled, events, url, options) {
|
|
555
555
|
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 +560,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
560
560
|
* @param {number} id Item id
|
|
561
561
|
* @param {*} [options] Override http request option.
|
|
562
562
|
* @throws {RequiredError}
|
|
563
|
-
* @memberof WebhookApi
|
|
564
563
|
*/
|
|
565
564
|
webhookIdDelete(id, options) {
|
|
566
565
|
return (0, exports.WebhookApiFp)(this.configuration).webhookIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -571,7 +570,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
571
570
|
* @param {number} id Item id
|
|
572
571
|
* @param {*} [options] Override http request option.
|
|
573
572
|
* @throws {RequiredError}
|
|
574
|
-
* @memberof WebhookApi
|
|
575
573
|
*/
|
|
576
574
|
webhookIdGet(id, options) {
|
|
577
575
|
return (0, exports.WebhookApiFp)(this.configuration).webhookIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -582,7 +580,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
582
580
|
* @param {WebHook} webHook
|
|
583
581
|
* @param {*} [options] Override http request option.
|
|
584
582
|
* @throws {RequiredError}
|
|
585
|
-
* @memberof WebhookApi
|
|
586
583
|
*/
|
|
587
584
|
webhookPost(webHook, options) {
|
|
588
585
|
return (0, exports.WebhookApiFp)(this.configuration).webhookPost(webHook, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -593,7 +590,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
593
590
|
* @param {WebHook} webHook
|
|
594
591
|
* @param {*} [options] Override http request option.
|
|
595
592
|
* @throws {RequiredError}
|
|
596
|
-
* @memberof WebhookApi
|
|
597
593
|
*/
|
|
598
594
|
webhookPut(webHook, options) {
|
|
599
595
|
return (0, exports.WebhookApiFp)(this.configuration).webhookPut(webHook, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -607,7 +603,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
607
603
|
* @param {number} [webhookId] WebHook id
|
|
608
604
|
* @param {*} [options] Override http request option.
|
|
609
605
|
* @throws {RequiredError}
|
|
610
|
-
* @memberof WebhookApi
|
|
611
606
|
*/
|
|
612
607
|
webhookhistoryGet(page, pageSize, sort, webhookId, options) {
|
|
613
608
|
return (0, exports.WebhookApiFp)(this.configuration).webhookhistoryGet(page, pageSize, sort, webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -618,7 +613,6 @@ class WebhookApi extends base_1.BaseAPI {
|
|
|
618
613
|
* @param {number} id Item id
|
|
619
614
|
* @param {*} [options] Override http request option.
|
|
620
615
|
* @throws {RequiredError}
|
|
621
|
-
* @memberof WebhookApi
|
|
622
616
|
*/
|
|
623
617
|
webhookhistoryIdGet(id, options) {
|
|
624
618
|
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
|
}
|
|
@@ -9,34 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AltriDatiGestionali
|
|
16
|
-
*/
|
|
17
12
|
export interface AltriDatiGestionali {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AltriDatiGestionali
|
|
22
|
-
*/
|
|
23
13
|
'tipo_dato'?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AltriDatiGestionali
|
|
28
|
-
*/
|
|
29
14
|
'riferimento_testo'?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof AltriDatiGestionali
|
|
34
|
-
*/
|
|
35
15
|
'riferimento_numero'?: number | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AltriDatiGestionali
|
|
40
|
-
*/
|
|
41
16
|
'riferimento_data'?: string | null;
|
|
42
17
|
}
|
|
@@ -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 Anagrafica
|
|
16
|
-
*/
|
|
17
12
|
export interface Anagrafica {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Anagrafica
|
|
22
|
-
*/
|
|
23
13
|
'denominazione'?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Anagrafica
|
|
28
|
-
*/
|
|
29
14
|
'nome'?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Anagrafica
|
|
34
|
-
*/
|
|
35
15
|
'cognome'?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Anagrafica
|
|
40
|
-
*/
|
|
41
16
|
'titolo'?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof Anagrafica
|
|
46
|
-
*/
|
|
47
17
|
'cod_eori'?: string | null;
|
|
48
18
|
}
|