@invoicetronic/ts-sdk 1.0.1 → 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 -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 +0 -11
- package/dist/esm/src/api/log-api.d.ts +0 -12
- package/dist/esm/src/api/log-api.js +0 -8
- package/dist/esm/src/api/receive-api.d.ts +0 -14
- package/dist/esm/src/api/receive-api.js +0 -9
- package/dist/esm/src/api/send-api.d.ts +0 -42
- package/dist/esm/src/api/send-api.js +0 -29
- package/dist/esm/src/api/status-api.d.ts +0 -10
- package/dist/esm/src/api/status-api.js +0 -7
- package/dist/esm/src/api/update-api.d.ts +0 -15
- package/dist/esm/src/api/update-api.js +0 -11
- package/dist/esm/src/api/webhook-api.d.ts +0 -22
- 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 +0 -18
- package/dist/src/api/company-api.js +0 -11
- package/dist/src/api/log-api.d.ts +0 -12
- package/dist/src/api/log-api.js +0 -8
- package/dist/src/api/receive-api.d.ts +0 -14
- package/dist/src/api/receive-api.js +0 -9
- package/dist/src/api/send-api.d.ts +0 -42
- package/dist/src/api/send-api.js +0 -29
- package/dist/src/api/status-api.d.ts +0 -10
- package/dist/src/api/status-api.js +0 -7
- package/dist/src/api/update-api.d.ts +0 -15
- package/dist/src/api/update-api.js +0 -11
- package/dist/src/api/webhook-api.d.ts +0 -22
- 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
|
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
|
|
|
15
15
|
import type { Event } from '../../src/models';
|
|
16
16
|
/**
|
|
17
17
|
* LogApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
18
|
*/
|
|
20
19
|
export declare const LogApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
20
|
/**
|
|
@@ -50,7 +49,6 @@ export declare const LogApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
50
49
|
};
|
|
51
50
|
/**
|
|
52
51
|
* LogApi - functional programming interface
|
|
53
|
-
* @export
|
|
54
52
|
*/
|
|
55
53
|
export declare const LogApiFp: (configuration?: Configuration) => {
|
|
56
54
|
/**
|
|
@@ -85,7 +83,6 @@ export declare const LogApiFp: (configuration?: Configuration) => {
|
|
|
85
83
|
};
|
|
86
84
|
/**
|
|
87
85
|
* LogApi - factory interface
|
|
88
|
-
* @export
|
|
89
86
|
*/
|
|
90
87
|
export declare const LogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
91
88
|
/**
|
|
@@ -120,8 +117,6 @@ export declare const LogApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
120
117
|
};
|
|
121
118
|
/**
|
|
122
119
|
* LogApi - interface
|
|
123
|
-
* @export
|
|
124
|
-
* @interface LogApi
|
|
125
120
|
*/
|
|
126
121
|
export interface LogApiInterface {
|
|
127
122
|
/**
|
|
@@ -143,7 +138,6 @@ export interface LogApiInterface {
|
|
|
143
138
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
144
139
|
* @param {*} [options] Override http request option.
|
|
145
140
|
* @throws {RequiredError}
|
|
146
|
-
* @memberof LogApiInterface
|
|
147
141
|
*/
|
|
148
142
|
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
|
|
149
143
|
/**
|
|
@@ -152,15 +146,11 @@ export interface LogApiInterface {
|
|
|
152
146
|
* @param {number} id Item id
|
|
153
147
|
* @param {*} [options] Override http request option.
|
|
154
148
|
* @throws {RequiredError}
|
|
155
|
-
* @memberof LogApiInterface
|
|
156
149
|
*/
|
|
157
150
|
logIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Event>;
|
|
158
151
|
}
|
|
159
152
|
/**
|
|
160
153
|
* LogApi - object-oriented interface
|
|
161
|
-
* @export
|
|
162
|
-
* @class LogApi
|
|
163
|
-
* @extends {BaseAPI}
|
|
164
154
|
*/
|
|
165
155
|
export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
166
156
|
/**
|
|
@@ -182,7 +172,6 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
182
172
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
183
173
|
* @param {*} [options] Override http request option.
|
|
184
174
|
* @throws {RequiredError}
|
|
185
|
-
* @memberof LogApi
|
|
186
175
|
*/
|
|
187
176
|
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any, {}>>;
|
|
188
177
|
/**
|
|
@@ -191,7 +180,6 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
191
180
|
* @param {number} id Item id
|
|
192
181
|
* @param {*} [options] Override http request option.
|
|
193
182
|
* @throws {RequiredError}
|
|
194
|
-
* @memberof LogApi
|
|
195
183
|
*/
|
|
196
184
|
logIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event, any, {}>>;
|
|
197
185
|
}
|
package/dist/src/api/log-api.js
CHANGED
|
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
|
|
|
34
34
|
const base_1 = require("../../base");
|
|
35
35
|
/**
|
|
36
36
|
* LogApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
const LogApiAxiosParamCreator = function (configuration) {
|
|
40
39
|
return {
|
|
@@ -167,7 +166,6 @@ const LogApiAxiosParamCreator = function (configuration) {
|
|
|
167
166
|
exports.LogApiAxiosParamCreator = LogApiAxiosParamCreator;
|
|
168
167
|
/**
|
|
169
168
|
* LogApi - functional programming interface
|
|
170
|
-
* @export
|
|
171
169
|
*/
|
|
172
170
|
const LogApiFp = function (configuration) {
|
|
173
171
|
const localVarAxiosParamCreator = (0, exports.LogApiAxiosParamCreator)(configuration);
|
|
@@ -222,7 +220,6 @@ const LogApiFp = function (configuration) {
|
|
|
222
220
|
exports.LogApiFp = LogApiFp;
|
|
223
221
|
/**
|
|
224
222
|
* LogApi - factory interface
|
|
225
|
-
* @export
|
|
226
223
|
*/
|
|
227
224
|
const LogApiFactory = function (configuration, basePath, axios) {
|
|
228
225
|
const localVarFp = (0, exports.LogApiFp)(configuration);
|
|
@@ -265,9 +262,6 @@ const LogApiFactory = function (configuration, basePath, axios) {
|
|
|
265
262
|
exports.LogApiFactory = LogApiFactory;
|
|
266
263
|
/**
|
|
267
264
|
* LogApi - object-oriented interface
|
|
268
|
-
* @export
|
|
269
|
-
* @class LogApi
|
|
270
|
-
* @extends {BaseAPI}
|
|
271
265
|
*/
|
|
272
266
|
class LogApi extends base_1.BaseAPI {
|
|
273
267
|
/**
|
|
@@ -289,7 +283,6 @@ class LogApi extends base_1.BaseAPI {
|
|
|
289
283
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
290
284
|
* @param {*} [options] Override http request option.
|
|
291
285
|
* @throws {RequiredError}
|
|
292
|
-
* @memberof LogApi
|
|
293
286
|
*/
|
|
294
287
|
logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
|
|
295
288
|
return (0, exports.LogApiFp)(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -300,7 +293,6 @@ class LogApi extends base_1.BaseAPI {
|
|
|
300
293
|
* @param {number} id Item id
|
|
301
294
|
* @param {*} [options] Override http request option.
|
|
302
295
|
* @throws {RequiredError}
|
|
303
|
-
* @memberof LogApi
|
|
304
296
|
*/
|
|
305
297
|
logIdGet(id, options) {
|
|
306
298
|
return (0, exports.LogApiFp)(this.configuration).logIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
|
|
|
15
15
|
import type { Receive } from '../../src/models';
|
|
16
16
|
/**
|
|
17
17
|
* ReceiveApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
18
|
*/
|
|
20
19
|
export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
20
|
/**
|
|
@@ -62,7 +61,6 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
|
|
|
62
61
|
};
|
|
63
62
|
/**
|
|
64
63
|
* ReceiveApi - functional programming interface
|
|
65
|
-
* @export
|
|
66
64
|
*/
|
|
67
65
|
export declare const ReceiveApiFp: (configuration?: Configuration) => {
|
|
68
66
|
/**
|
|
@@ -109,7 +107,6 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
|
|
|
109
107
|
};
|
|
110
108
|
/**
|
|
111
109
|
* ReceiveApi - factory interface
|
|
112
|
-
* @export
|
|
113
110
|
*/
|
|
114
111
|
export declare const ReceiveApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
115
112
|
/**
|
|
@@ -156,8 +153,6 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
|
|
|
156
153
|
};
|
|
157
154
|
/**
|
|
158
155
|
* ReceiveApi - interface
|
|
159
|
-
* @export
|
|
160
|
-
* @interface ReceiveApi
|
|
161
156
|
*/
|
|
162
157
|
export interface ReceiveApiInterface {
|
|
163
158
|
/**
|
|
@@ -182,7 +177,6 @@ export interface ReceiveApiInterface {
|
|
|
182
177
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
183
178
|
* @param {*} [options] Override http request option.
|
|
184
179
|
* @throws {RequiredError}
|
|
185
|
-
* @memberof ReceiveApiInterface
|
|
186
180
|
*/
|
|
187
181
|
receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>>;
|
|
188
182
|
/**
|
|
@@ -191,7 +185,6 @@ export interface ReceiveApiInterface {
|
|
|
191
185
|
* @param {number} id Item id
|
|
192
186
|
* @param {*} [options] Override http request option.
|
|
193
187
|
* @throws {RequiredError}
|
|
194
|
-
* @memberof ReceiveApiInterface
|
|
195
188
|
*/
|
|
196
189
|
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
197
190
|
/**
|
|
@@ -201,15 +194,11 @@ export interface ReceiveApiInterface {
|
|
|
201
194
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
202
195
|
* @param {*} [options] Override http request option.
|
|
203
196
|
* @throws {RequiredError}
|
|
204
|
-
* @memberof ReceiveApiInterface
|
|
205
197
|
*/
|
|
206
198
|
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
207
199
|
}
|
|
208
200
|
/**
|
|
209
201
|
* ReceiveApi - object-oriented interface
|
|
210
|
-
* @export
|
|
211
|
-
* @class ReceiveApi
|
|
212
|
-
* @extends {BaseAPI}
|
|
213
202
|
*/
|
|
214
203
|
export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
215
204
|
/**
|
|
@@ -234,7 +223,6 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
234
223
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
235
224
|
* @param {*} [options] Override http request option.
|
|
236
225
|
* @throws {RequiredError}
|
|
237
|
-
* @memberof ReceiveApi
|
|
238
226
|
*/
|
|
239
227
|
receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive[], any, {}>>;
|
|
240
228
|
/**
|
|
@@ -243,7 +231,6 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
243
231
|
* @param {number} id Item id
|
|
244
232
|
* @param {*} [options] Override http request option.
|
|
245
233
|
* @throws {RequiredError}
|
|
246
|
-
* @memberof ReceiveApi
|
|
247
234
|
*/
|
|
248
235
|
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
249
236
|
/**
|
|
@@ -253,7 +240,6 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
253
240
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
254
241
|
* @param {*} [options] Override http request option.
|
|
255
242
|
* @throws {RequiredError}
|
|
256
|
-
* @memberof ReceiveApi
|
|
257
243
|
*/
|
|
258
244
|
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
259
245
|
}
|
|
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
|
|
|
34
34
|
const base_1 = require("../../base");
|
|
35
35
|
/**
|
|
36
36
|
* ReceiveApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
const ReceiveApiAxiosParamCreator = function (configuration) {
|
|
40
39
|
return {
|
|
@@ -219,7 +218,6 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
|
|
|
219
218
|
exports.ReceiveApiAxiosParamCreator = ReceiveApiAxiosParamCreator;
|
|
220
219
|
/**
|
|
221
220
|
* ReceiveApi - functional programming interface
|
|
222
|
-
* @export
|
|
223
221
|
*/
|
|
224
222
|
const ReceiveApiFp = function (configuration) {
|
|
225
223
|
const localVarAxiosParamCreator = (0, exports.ReceiveApiAxiosParamCreator)(configuration);
|
|
@@ -294,7 +292,6 @@ const ReceiveApiFp = function (configuration) {
|
|
|
294
292
|
exports.ReceiveApiFp = ReceiveApiFp;
|
|
295
293
|
/**
|
|
296
294
|
* ReceiveApi - factory interface
|
|
297
|
-
* @export
|
|
298
295
|
*/
|
|
299
296
|
const ReceiveApiFactory = function (configuration, basePath, axios) {
|
|
300
297
|
const localVarFp = (0, exports.ReceiveApiFp)(configuration);
|
|
@@ -351,9 +348,6 @@ const ReceiveApiFactory = function (configuration, basePath, axios) {
|
|
|
351
348
|
exports.ReceiveApiFactory = ReceiveApiFactory;
|
|
352
349
|
/**
|
|
353
350
|
* ReceiveApi - object-oriented interface
|
|
354
|
-
* @export
|
|
355
|
-
* @class ReceiveApi
|
|
356
|
-
* @extends {BaseAPI}
|
|
357
351
|
*/
|
|
358
352
|
class ReceiveApi extends base_1.BaseAPI {
|
|
359
353
|
/**
|
|
@@ -378,7 +372,6 @@ class ReceiveApi extends base_1.BaseAPI {
|
|
|
378
372
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
379
373
|
* @param {*} [options] Override http request option.
|
|
380
374
|
* @throws {RequiredError}
|
|
381
|
-
* @memberof ReceiveApi
|
|
382
375
|
*/
|
|
383
376
|
receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options) {
|
|
384
377
|
return (0, exports.ReceiveApiFp)(this.configuration).receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -389,7 +382,6 @@ class ReceiveApi extends base_1.BaseAPI {
|
|
|
389
382
|
* @param {number} id Item id
|
|
390
383
|
* @param {*} [options] Override http request option.
|
|
391
384
|
* @throws {RequiredError}
|
|
392
|
-
* @memberof ReceiveApi
|
|
393
385
|
*/
|
|
394
386
|
receiveIdDelete(id, options) {
|
|
395
387
|
return (0, exports.ReceiveApiFp)(this.configuration).receiveIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -401,7 +393,6 @@ class ReceiveApi extends base_1.BaseAPI {
|
|
|
401
393
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
402
394
|
* @param {*} [options] Override http request option.
|
|
403
395
|
* @throws {RequiredError}
|
|
404
|
-
* @memberof ReceiveApi
|
|
405
396
|
*/
|
|
406
397
|
receiveIdGet(id, includePayload, options) {
|
|
407
398
|
return (0, exports.ReceiveApiFp)(this.configuration).receiveIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -16,7 +16,6 @@ import type { FatturaOrdinaria } from '../../src/models';
|
|
|
16
16
|
import type { Send } from '../../src/models';
|
|
17
17
|
/**
|
|
18
18
|
* SendApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
19
|
*/
|
|
21
20
|
export declare const SendApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
21
|
/**
|
|
@@ -135,7 +134,6 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
135
134
|
};
|
|
136
135
|
/**
|
|
137
136
|
* SendApi - functional programming interface
|
|
138
|
-
* @export
|
|
139
137
|
*/
|
|
140
138
|
export declare const SendApiFp: (configuration?: Configuration) => {
|
|
141
139
|
/**
|
|
@@ -254,7 +252,6 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
254
252
|
};
|
|
255
253
|
/**
|
|
256
254
|
* SendApi - factory interface
|
|
257
|
-
* @export
|
|
258
255
|
*/
|
|
259
256
|
export declare const SendApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
260
257
|
/**
|
|
@@ -373,8 +370,6 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
373
370
|
};
|
|
374
371
|
/**
|
|
375
372
|
* SendApi - interface
|
|
376
|
-
* @export
|
|
377
|
-
* @interface SendApi
|
|
378
373
|
*/
|
|
379
374
|
export interface SendApiInterface {
|
|
380
375
|
/**
|
|
@@ -385,7 +380,6 @@ export interface SendApiInterface {
|
|
|
385
380
|
* @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
386
381
|
* @param {*} [options] Override http request option.
|
|
387
382
|
* @throws {RequiredError}
|
|
388
|
-
* @memberof SendApiInterface
|
|
389
383
|
*/
|
|
390
384
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
391
385
|
/**
|
|
@@ -409,7 +403,6 @@ export interface SendApiInterface {
|
|
|
409
403
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
410
404
|
* @param {*} [options] Override http request option.
|
|
411
405
|
* @throws {RequiredError}
|
|
412
|
-
* @memberof SendApiInterface
|
|
413
406
|
*/
|
|
414
407
|
sendGet(companyId?: number, identifier?: string, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Send>>;
|
|
415
408
|
/**
|
|
@@ -419,7 +412,6 @@ export interface SendApiInterface {
|
|
|
419
412
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
420
413
|
* @param {*} [options] Override http request option.
|
|
421
414
|
* @throws {RequiredError}
|
|
422
|
-
* @memberof SendApiInterface
|
|
423
415
|
*/
|
|
424
416
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
425
417
|
/**
|
|
@@ -429,7 +421,6 @@ export interface SendApiInterface {
|
|
|
429
421
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
430
422
|
* @param {*} [options] Override http request option.
|
|
431
423
|
* @throws {RequiredError}
|
|
432
|
-
* @memberof SendApiInterface
|
|
433
424
|
*/
|
|
434
425
|
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
435
426
|
/**
|
|
@@ -440,7 +431,6 @@ export interface SendApiInterface {
|
|
|
440
431
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
441
432
|
* @param {*} [options] Override http request option.
|
|
442
433
|
* @throws {RequiredError}
|
|
443
|
-
* @memberof SendApiInterface
|
|
444
434
|
*/
|
|
445
435
|
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
446
436
|
/**
|
|
@@ -451,7 +441,6 @@ export interface SendApiInterface {
|
|
|
451
441
|
* @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
452
442
|
* @param {*} [options] Override http request option.
|
|
453
443
|
* @throws {RequiredError}
|
|
454
|
-
* @memberof SendApiInterface
|
|
455
444
|
*/
|
|
456
445
|
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
457
446
|
/**
|
|
@@ -460,7 +449,6 @@ export interface SendApiInterface {
|
|
|
460
449
|
* @param {File} file
|
|
461
450
|
* @param {*} [options] Override http request option.
|
|
462
451
|
* @throws {RequiredError}
|
|
463
|
-
* @memberof SendApiInterface
|
|
464
452
|
*/
|
|
465
453
|
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
466
454
|
/**
|
|
@@ -469,7 +457,6 @@ export interface SendApiInterface {
|
|
|
469
457
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
470
458
|
* @param {*} [options] Override http request option.
|
|
471
459
|
* @throws {RequiredError}
|
|
472
|
-
* @memberof SendApiInterface
|
|
473
460
|
*/
|
|
474
461
|
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
475
462
|
/**
|
|
@@ -478,7 +465,6 @@ export interface SendApiInterface {
|
|
|
478
465
|
* @param {Send} send
|
|
479
466
|
* @param {*} [options] Override http request option.
|
|
480
467
|
* @throws {RequiredError}
|
|
481
|
-
* @memberof SendApiInterface
|
|
482
468
|
*/
|
|
483
469
|
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
484
470
|
/**
|
|
@@ -487,7 +473,6 @@ export interface SendApiInterface {
|
|
|
487
473
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
488
474
|
* @param {*} [options] Override http request option.
|
|
489
475
|
* @throws {RequiredError}
|
|
490
|
-
* @memberof SendApiInterface
|
|
491
476
|
*/
|
|
492
477
|
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
493
478
|
/**
|
|
@@ -498,15 +483,11 @@ export interface SendApiInterface {
|
|
|
498
483
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
499
484
|
* @param {*} [options] Override http request option.
|
|
500
485
|
* @throws {RequiredError}
|
|
501
|
-
* @memberof SendApiInterface
|
|
502
486
|
*/
|
|
503
487
|
sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
504
488
|
}
|
|
505
489
|
/**
|
|
506
490
|
* SendApi - object-oriented interface
|
|
507
|
-
* @export
|
|
508
|
-
* @class SendApi
|
|
509
|
-
* @extends {BaseAPI}
|
|
510
491
|
*/
|
|
511
492
|
export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
512
493
|
/**
|
|
@@ -517,7 +498,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
517
498
|
* @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
518
499
|
* @param {*} [options] Override http request option.
|
|
519
500
|
* @throws {RequiredError}
|
|
520
|
-
* @memberof SendApi
|
|
521
501
|
*/
|
|
522
502
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
523
503
|
/**
|
|
@@ -541,7 +521,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
541
521
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
542
522
|
* @param {*} [options] Override http request option.
|
|
543
523
|
* @throws {RequiredError}
|
|
544
|
-
* @memberof SendApi
|
|
545
524
|
*/
|
|
546
525
|
sendGet(companyId?: number, identifier?: string, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send[], any, {}>>;
|
|
547
526
|
/**
|
|
@@ -551,7 +530,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
551
530
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
552
531
|
* @param {*} [options] Override http request option.
|
|
553
532
|
* @throws {RequiredError}
|
|
554
|
-
* @memberof SendApi
|
|
555
533
|
*/
|
|
556
534
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
557
535
|
/**
|
|
@@ -561,7 +539,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
561
539
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
562
540
|
* @param {*} [options] Override http request option.
|
|
563
541
|
* @throws {RequiredError}
|
|
564
|
-
* @memberof SendApi
|
|
565
542
|
*/
|
|
566
543
|
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
567
544
|
/**
|
|
@@ -572,7 +549,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
572
549
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
573
550
|
* @param {*} [options] Override http request option.
|
|
574
551
|
* @throws {RequiredError}
|
|
575
|
-
* @memberof SendApi
|
|
576
552
|
*/
|
|
577
553
|
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
578
554
|
/**
|
|
@@ -583,7 +559,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
583
559
|
* @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
584
560
|
* @param {*} [options] Override http request option.
|
|
585
561
|
* @throws {RequiredError}
|
|
586
|
-
* @memberof SendApi
|
|
587
562
|
*/
|
|
588
563
|
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
589
564
|
/**
|
|
@@ -592,7 +567,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
592
567
|
* @param {File} file
|
|
593
568
|
* @param {*} [options] Override http request option.
|
|
594
569
|
* @throws {RequiredError}
|
|
595
|
-
* @memberof SendApi
|
|
596
570
|
*/
|
|
597
571
|
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
598
572
|
/**
|
|
@@ -601,7 +575,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
601
575
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
602
576
|
* @param {*} [options] Override http request option.
|
|
603
577
|
* @throws {RequiredError}
|
|
604
|
-
* @memberof SendApi
|
|
605
578
|
*/
|
|
606
579
|
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
607
580
|
/**
|
|
@@ -610,7 +583,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
610
583
|
* @param {Send} send
|
|
611
584
|
* @param {*} [options] Override http request option.
|
|
612
585
|
* @throws {RequiredError}
|
|
613
|
-
* @memberof SendApi
|
|
614
586
|
*/
|
|
615
587
|
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
616
588
|
/**
|
|
@@ -619,7 +591,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
619
591
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
620
592
|
* @param {*} [options] Override http request option.
|
|
621
593
|
* @throws {RequiredError}
|
|
622
|
-
* @memberof SendApi
|
|
623
594
|
*/
|
|
624
595
|
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
625
596
|
/**
|
|
@@ -630,13 +601,9 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
630
601
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
631
602
|
* @param {*} [options] Override http request option.
|
|
632
603
|
* @throws {RequiredError}
|
|
633
|
-
* @memberof SendApi
|
|
634
604
|
*/
|
|
635
605
|
sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
636
606
|
}
|
|
637
|
-
/**
|
|
638
|
-
* @export
|
|
639
|
-
*/
|
|
640
607
|
export declare const SendFilePostSignatureEnum: {
|
|
641
608
|
readonly None: "None";
|
|
642
609
|
readonly Apply: "Apply";
|
|
@@ -644,9 +611,6 @@ export declare const SendFilePostSignatureEnum: {
|
|
|
644
611
|
readonly Auto: "Auto";
|
|
645
612
|
};
|
|
646
613
|
export type SendFilePostSignatureEnum = typeof SendFilePostSignatureEnum[keyof typeof SendFilePostSignatureEnum];
|
|
647
|
-
/**
|
|
648
|
-
* @export
|
|
649
|
-
*/
|
|
650
614
|
export declare const SendJsonPostSignatureEnum: {
|
|
651
615
|
readonly None: "None";
|
|
652
616
|
readonly Apply: "Apply";
|
|
@@ -654,9 +618,6 @@ export declare const SendJsonPostSignatureEnum: {
|
|
|
654
618
|
readonly Auto: "Auto";
|
|
655
619
|
};
|
|
656
620
|
export type SendJsonPostSignatureEnum = typeof SendJsonPostSignatureEnum[keyof typeof SendJsonPostSignatureEnum];
|
|
657
|
-
/**
|
|
658
|
-
* @export
|
|
659
|
-
*/
|
|
660
621
|
export declare const SendPostSignatureEnum: {
|
|
661
622
|
readonly None: "None";
|
|
662
623
|
readonly Apply: "Apply";
|
|
@@ -664,9 +625,6 @@ export declare const SendPostSignatureEnum: {
|
|
|
664
625
|
readonly Auto: "Auto";
|
|
665
626
|
};
|
|
666
627
|
export type SendPostSignatureEnum = typeof SendPostSignatureEnum[keyof typeof SendPostSignatureEnum];
|
|
667
|
-
/**
|
|
668
|
-
* @export
|
|
669
|
-
*/
|
|
670
628
|
export declare const SendXmlPostSignatureEnum: {
|
|
671
629
|
readonly None: "None";
|
|
672
630
|
readonly Apply: "Apply";
|
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',
|