@invoicetronic/ts-sdk 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/README.md +2 -2
- package/base.ts +0 -24
- package/common.ts +1 -38
- package/configuration.ts +25 -19
- package/dist/base.d.ts +0 -24
- package/dist/base.js +0 -19
- package/dist/common.d.ts +0 -37
- package/dist/common.js +0 -37
- package/dist/configuration.d.ts +24 -17
- package/dist/configuration.js +2 -2
- package/dist/esm/base.d.ts +0 -24
- package/dist/esm/base.js +0 -19
- package/dist/esm/common.d.ts +0 -37
- package/dist/esm/common.js +0 -37
- package/dist/esm/configuration.d.ts +24 -17
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/src/api/company-api.d.ts +5 -23
- package/dist/esm/src/api/company-api.js +0 -11
- package/dist/esm/src/api/log-api.d.ts +2 -14
- package/dist/esm/src/api/log-api.js +0 -8
- package/dist/esm/src/api/receive-api.d.ts +3 -17
- package/dist/esm/src/api/receive-api.js +0 -9
- package/dist/esm/src/api/send-api.d.ts +11 -53
- package/dist/esm/src/api/send-api.js +0 -29
- package/dist/esm/src/api/status-api.d.ts +1 -11
- package/dist/esm/src/api/status-api.js +0 -7
- package/dist/esm/src/api/update-api.d.ts +2 -17
- package/dist/esm/src/api/update-api.js +0 -11
- package/dist/esm/src/api/webhook-api.d.ts +7 -29
- package/dist/esm/src/api/webhook-api.js +0 -13
- package/dist/esm/src/models/allegati.d.ts +0 -30
- package/dist/esm/src/models/altri-dati-gestionali.d.ts +0 -25
- package/dist/esm/src/models/anagrafica.d.ts +0 -30
- package/dist/esm/src/models/cedente-prestatore.d.ts +0 -35
- package/dist/esm/src/models/cessionario-committente.d.ts +0 -25
- package/dist/esm/src/models/codice-articolo.d.ts +0 -15
- package/dist/esm/src/models/company.d.ts +0 -16
- package/dist/esm/src/models/contatti-trasmittente.d.ts +0 -15
- package/dist/esm/src/models/contatti.d.ts +0 -20
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -45
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -20
- package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +0 -25
- package/dist/esm/src/models/dati-anagrafici.d.ts +0 -20
- package/dist/esm/src/models/dati-beni-servizi.d.ts +0 -15
- package/dist/esm/src/models/dati-bollo.d.ts +0 -15
- package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +0 -45
- package/dist/esm/src/models/dati-contratto.d.ts +0 -40
- package/dist/esm/src/models/dati-convenzione.d.ts +0 -40
- package/dist/esm/src/models/dati-ddt.d.ts +0 -20
- package/dist/esm/src/models/dati-fatture-collegate.d.ts +0 -40
- package/dist/esm/src/models/dati-generali-documento.d.ts +0 -65
- package/dist/esm/src/models/dati-generali.d.ts +0 -55
- package/dist/esm/src/models/dati-ordine-acquisto.d.ts +0 -40
- package/dist/esm/src/models/dati-pagamento.d.ts +0 -15
- package/dist/esm/src/models/dati-ricezione.d.ts +0 -40
- package/dist/esm/src/models/dati-riepilogo.d.ts +0 -45
- package/dist/esm/src/models/dati-ritenuta.d.ts +0 -25
- package/dist/esm/src/models/dati-sal.d.ts +0 -10
- package/dist/esm/src/models/dati-trasmissione.d.ts +0 -35
- package/dist/esm/src/models/dati-trasporto.d.ts +0 -70
- package/dist/esm/src/models/dati-veicoli.d.ts +0 -15
- package/dist/esm/src/models/dettaglio-linee.d.ts +0 -85
- package/dist/esm/src/models/dettaglio-pagamento.d.ts +0 -110
- package/dist/esm/src/models/document-data.d.ts +0 -15
- package/dist/esm/src/models/event.d.ts +8 -39
- package/dist/esm/src/models/fattura-elettronica-body.d.ts +0 -30
- package/dist/esm/src/models/fattura-elettronica-header.d.ts +0 -35
- package/dist/esm/src/models/fattura-ordinaria.d.ts +0 -20
- package/dist/esm/src/models/fattura-principale.d.ts +0 -15
- package/dist/esm/src/models/id-fiscale-iva.d.ts +0 -15
- package/dist/esm/src/models/id-trasmittente.d.ts +0 -15
- package/dist/esm/src/models/indirizzo-resa.d.ts +0 -35
- package/dist/esm/src/models/iscrizione-rea.d.ts +0 -30
- package/dist/esm/src/models/model-error.d.ts +0 -8
- package/dist/esm/src/models/problem-details.d.ts +0 -30
- package/dist/esm/src/models/problem-http-result.d.ts +0 -20
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -25
- package/dist/esm/src/models/rappresentante-fiscale.d.ts +0 -10
- package/dist/esm/src/models/receive.d.ts +0 -39
- package/dist/esm/src/models/sconto-maggiorazione.d.ts +0 -20
- package/dist/esm/src/models/sede-cedente-prestatore.d.ts +0 -35
- package/dist/esm/src/models/sede-cessionario-committente.d.ts +0 -35
- package/dist/esm/src/models/send-reduced.d.ts +0 -12
- package/dist/esm/src/models/send.d.ts +0 -42
- package/dist/esm/src/models/stabile-organizzazione.d.ts +0 -35
- package/dist/esm/src/models/status.d.ts +0 -9
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -10
- package/dist/esm/src/models/update.d.ts +0 -34
- package/dist/esm/src/models/web-hook-history.d.ts +0 -20
- package/dist/esm/src/models/web-hook.d.ts +0 -25
- package/dist/src/api/company-api.d.ts +5 -23
- package/dist/src/api/company-api.js +0 -11
- package/dist/src/api/log-api.d.ts +2 -14
- package/dist/src/api/log-api.js +0 -8
- package/dist/src/api/receive-api.d.ts +3 -17
- package/dist/src/api/receive-api.js +0 -9
- package/dist/src/api/send-api.d.ts +11 -53
- package/dist/src/api/send-api.js +0 -29
- package/dist/src/api/status-api.d.ts +1 -11
- package/dist/src/api/status-api.js +0 -7
- package/dist/src/api/update-api.d.ts +2 -17
- package/dist/src/api/update-api.js +0 -11
- package/dist/src/api/webhook-api.d.ts +7 -29
- package/dist/src/api/webhook-api.js +0 -13
- package/dist/src/models/allegati.d.ts +0 -30
- package/dist/src/models/altri-dati-gestionali.d.ts +0 -25
- package/dist/src/models/anagrafica.d.ts +0 -30
- package/dist/src/models/cedente-prestatore.d.ts +0 -35
- package/dist/src/models/cessionario-committente.d.ts +0 -25
- package/dist/src/models/codice-articolo.d.ts +0 -15
- package/dist/src/models/company.d.ts +0 -16
- package/dist/src/models/contatti-trasmittente.d.ts +0 -15
- package/dist/src/models/contatti.d.ts +0 -20
- package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -45
- package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -20
- package/dist/src/models/dati-anagrafici-vettore.d.ts +0 -25
- package/dist/src/models/dati-anagrafici.d.ts +0 -20
- package/dist/src/models/dati-beni-servizi.d.ts +0 -15
- package/dist/src/models/dati-bollo.d.ts +0 -15
- package/dist/src/models/dati-cassa-previdenziale.d.ts +0 -45
- package/dist/src/models/dati-contratto.d.ts +0 -40
- package/dist/src/models/dati-convenzione.d.ts +0 -40
- package/dist/src/models/dati-ddt.d.ts +0 -20
- package/dist/src/models/dati-fatture-collegate.d.ts +0 -40
- package/dist/src/models/dati-generali-documento.d.ts +0 -65
- package/dist/src/models/dati-generali.d.ts +0 -55
- package/dist/src/models/dati-ordine-acquisto.d.ts +0 -40
- package/dist/src/models/dati-pagamento.d.ts +0 -15
- package/dist/src/models/dati-ricezione.d.ts +0 -40
- package/dist/src/models/dati-riepilogo.d.ts +0 -45
- package/dist/src/models/dati-ritenuta.d.ts +0 -25
- package/dist/src/models/dati-sal.d.ts +0 -10
- package/dist/src/models/dati-trasmissione.d.ts +0 -35
- package/dist/src/models/dati-trasporto.d.ts +0 -70
- package/dist/src/models/dati-veicoli.d.ts +0 -15
- package/dist/src/models/dettaglio-linee.d.ts +0 -85
- package/dist/src/models/dettaglio-pagamento.d.ts +0 -110
- package/dist/src/models/document-data.d.ts +0 -15
- package/dist/src/models/event.d.ts +8 -39
- package/dist/src/models/fattura-elettronica-body.d.ts +0 -30
- package/dist/src/models/fattura-elettronica-header.d.ts +0 -35
- package/dist/src/models/fattura-ordinaria.d.ts +0 -20
- package/dist/src/models/fattura-principale.d.ts +0 -15
- package/dist/src/models/id-fiscale-iva.d.ts +0 -15
- package/dist/src/models/id-trasmittente.d.ts +0 -15
- package/dist/src/models/indirizzo-resa.d.ts +0 -35
- package/dist/src/models/iscrizione-rea.d.ts +0 -30
- package/dist/src/models/model-error.d.ts +0 -8
- package/dist/src/models/problem-details.d.ts +0 -30
- package/dist/src/models/problem-http-result.d.ts +0 -20
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -25
- package/dist/src/models/rappresentante-fiscale.d.ts +0 -10
- package/dist/src/models/receive.d.ts +0 -39
- package/dist/src/models/sconto-maggiorazione.d.ts +0 -20
- package/dist/src/models/sede-cedente-prestatore.d.ts +0 -35
- package/dist/src/models/sede-cessionario-committente.d.ts +0 -35
- package/dist/src/models/send-reduced.d.ts +0 -12
- package/dist/src/models/send.d.ts +0 -42
- package/dist/src/models/stabile-organizzazione.d.ts +0 -35
- package/dist/src/models/status.d.ts +0 -9
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -10
- package/dist/src/models/update.d.ts +0 -34
- package/dist/src/models/web-hook-history.d.ts +0 -20
- package/dist/src/models/web-hook.d.ts +0 -25
- package/docs/Event.md +4 -2
- package/package.json +1 -1
- package/src/api/company-api.ts +0 -18
- package/src/api/log-api.ts +0 -12
- package/src/api/receive-api.ts +0 -14
- package/src/api/send-api.ts +0 -42
- package/src/api/status-api.ts +0 -10
- package/src/api/update-api.ts +0 -15
- package/src/api/webhook-api.ts +0 -22
- package/src/models/allegati.ts +0 -30
- package/src/models/altri-dati-gestionali.ts +0 -25
- package/src/models/anagrafica.ts +0 -30
- package/src/models/cedente-prestatore.ts +0 -35
- package/src/models/cessionario-committente.ts +0 -25
- package/src/models/codice-articolo.ts +0 -15
- package/src/models/company.ts +0 -16
- package/src/models/contatti-trasmittente.ts +0 -15
- package/src/models/contatti.ts +0 -20
- package/src/models/dati-anagrafici-cedente-prestatore.ts +0 -45
- package/src/models/dati-anagrafici-cessionario-committente.ts +0 -20
- package/src/models/dati-anagrafici-vettore.ts +0 -25
- package/src/models/dati-anagrafici.ts +0 -20
- package/src/models/dati-beni-servizi.ts +0 -15
- package/src/models/dati-bollo.ts +0 -15
- package/src/models/dati-cassa-previdenziale.ts +0 -45
- package/src/models/dati-contratto.ts +0 -40
- package/src/models/dati-convenzione.ts +0 -40
- package/src/models/dati-ddt.ts +0 -20
- package/src/models/dati-fatture-collegate.ts +0 -40
- package/src/models/dati-generali-documento.ts +0 -65
- package/src/models/dati-generali.ts +0 -55
- package/src/models/dati-ordine-acquisto.ts +0 -40
- package/src/models/dati-pagamento.ts +0 -15
- package/src/models/dati-ricezione.ts +0 -40
- package/src/models/dati-riepilogo.ts +0 -45
- package/src/models/dati-ritenuta.ts +0 -25
- package/src/models/dati-sal.ts +0 -10
- package/src/models/dati-trasmissione.ts +0 -35
- package/src/models/dati-trasporto.ts +0 -70
- package/src/models/dati-veicoli.ts +0 -15
- package/src/models/dettaglio-linee.ts +0 -85
- package/src/models/dettaglio-pagamento.ts +0 -110
- package/src/models/document-data.ts +0 -15
- package/src/models/event.ts +8 -39
- package/src/models/fattura-elettronica-body.ts +0 -30
- package/src/models/fattura-elettronica-header.ts +0 -35
- package/src/models/fattura-ordinaria.ts +0 -20
- package/src/models/fattura-principale.ts +0 -15
- package/src/models/id-fiscale-iva.ts +0 -15
- package/src/models/id-trasmittente.ts +0 -15
- package/src/models/indirizzo-resa.ts +0 -35
- package/src/models/iscrizione-rea.ts +0 -30
- package/src/models/model-error.ts +0 -8
- package/src/models/problem-details.ts +0 -30
- package/src/models/problem-http-result.ts +0 -20
- package/src/models/rappresentante-fiscale-cessionario-committente.ts +0 -25
- package/src/models/rappresentante-fiscale.ts +0 -10
- package/src/models/receive.ts +0 -39
- package/src/models/sconto-maggiorazione.ts +0 -20
- package/src/models/sede-cedente-prestatore.ts +0 -35
- package/src/models/sede-cessionario-committente.ts +0 -35
- package/src/models/send-reduced.ts +0 -12
- package/src/models/send.ts +0 -42
- package/src/models/stabile-organizzazione.ts +0 -35
- package/src/models/status.ts +0 -9
- package/src/models/terzo-intermediario-osoggetto-emittente.ts +0 -10
- package/src/models/update.ts +0 -34
- package/src/models/web-hook-history.ts +0 -20
- package/src/models/web-hook.ts +0 -25
|
@@ -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,18 +223,16 @@ 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
|
-
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>>;
|
|
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
|
/**
|
|
241
229
|
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
242
230
|
* @summary Delete an incoming invoice by id
|
|
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
|
-
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any>>;
|
|
235
|
+
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
249
236
|
/**
|
|
250
237
|
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
251
238
|
* @summary Get an incoming invoice by id
|
|
@@ -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
|
-
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any>>;
|
|
244
|
+
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
259
245
|
}
|
|
@@ -31,7 +31,6 @@ import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setSearchParam
|
|
|
31
31
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
|
|
32
32
|
/**
|
|
33
33
|
* ReceiveApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
34
|
*/
|
|
36
35
|
export const ReceiveApiAxiosParamCreator = function (configuration) {
|
|
37
36
|
return {
|
|
@@ -215,7 +214,6 @@ export const ReceiveApiAxiosParamCreator = function (configuration) {
|
|
|
215
214
|
};
|
|
216
215
|
/**
|
|
217
216
|
* ReceiveApi - functional programming interface
|
|
218
|
-
* @export
|
|
219
217
|
*/
|
|
220
218
|
export const ReceiveApiFp = function (configuration) {
|
|
221
219
|
const localVarAxiosParamCreator = ReceiveApiAxiosParamCreator(configuration);
|
|
@@ -289,7 +287,6 @@ export const ReceiveApiFp = function (configuration) {
|
|
|
289
287
|
};
|
|
290
288
|
/**
|
|
291
289
|
* ReceiveApi - factory interface
|
|
292
|
-
* @export
|
|
293
290
|
*/
|
|
294
291
|
export const ReceiveApiFactory = function (configuration, basePath, axios) {
|
|
295
292
|
const localVarFp = ReceiveApiFp(configuration);
|
|
@@ -345,9 +342,6 @@ export const ReceiveApiFactory = function (configuration, basePath, axios) {
|
|
|
345
342
|
};
|
|
346
343
|
/**
|
|
347
344
|
* ReceiveApi - object-oriented interface
|
|
348
|
-
* @export
|
|
349
|
-
* @class ReceiveApi
|
|
350
|
-
* @extends {BaseAPI}
|
|
351
345
|
*/
|
|
352
346
|
export class ReceiveApi extends BaseAPI {
|
|
353
347
|
/**
|
|
@@ -372,7 +366,6 @@ export class ReceiveApi extends BaseAPI {
|
|
|
372
366
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
373
367
|
* @param {*} [options] Override http request option.
|
|
374
368
|
* @throws {RequiredError}
|
|
375
|
-
* @memberof ReceiveApi
|
|
376
369
|
*/
|
|
377
370
|
receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options) {
|
|
378
371
|
return 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));
|
|
@@ -383,7 +376,6 @@ export class ReceiveApi extends BaseAPI {
|
|
|
383
376
|
* @param {number} id Item id
|
|
384
377
|
* @param {*} [options] Override http request option.
|
|
385
378
|
* @throws {RequiredError}
|
|
386
|
-
* @memberof ReceiveApi
|
|
387
379
|
*/
|
|
388
380
|
receiveIdDelete(id, options) {
|
|
389
381
|
return ReceiveApiFp(this.configuration).receiveIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -395,7 +387,6 @@ export class ReceiveApi extends BaseAPI {
|
|
|
395
387
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
396
388
|
* @param {*} [options] Override http request option.
|
|
397
389
|
* @throws {RequiredError}
|
|
398
|
-
* @memberof ReceiveApi
|
|
399
390
|
*/
|
|
400
391
|
receiveIdGet(id, includePayload, options) {
|
|
401
392
|
return 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,9 +498,8 @@ 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
|
-
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
502
|
+
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
523
503
|
/**
|
|
524
504
|
* test **markdown**.
|
|
525
505
|
* @summary List invoices
|
|
@@ -541,9 +521,8 @@ 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
|
-
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>>;
|
|
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
|
/**
|
|
548
527
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
549
528
|
* @summary Get a invoice by id
|
|
@@ -551,9 +530,8 @@ 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
|
-
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
534
|
+
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
557
535
|
/**
|
|
558
536
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
559
537
|
* @summary Get a invoice by identifier
|
|
@@ -561,9 +539,8 @@ 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
|
-
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
543
|
+
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
567
544
|
/**
|
|
568
545
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
569
546
|
* @summary Add an invoice by json
|
|
@@ -572,9 +549,8 @@ 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
|
-
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
553
|
+
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
578
554
|
/**
|
|
579
555
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
580
556
|
* @summary Add an invoice
|
|
@@ -583,45 +559,40 @@ 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
|
-
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
563
|
+
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
589
564
|
/**
|
|
590
565
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
591
566
|
* @summary Validate an invoice file
|
|
592
567
|
* @param {File} file
|
|
593
568
|
* @param {*} [options] Override http request option.
|
|
594
569
|
* @throws {RequiredError}
|
|
595
|
-
* @memberof SendApi
|
|
596
570
|
*/
|
|
597
|
-
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
571
|
+
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
598
572
|
/**
|
|
599
573
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
600
574
|
* @summary Validate an invoice by json
|
|
601
575
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
602
576
|
* @param {*} [options] Override http request option.
|
|
603
577
|
* @throws {RequiredError}
|
|
604
|
-
* @memberof SendApi
|
|
605
578
|
*/
|
|
606
|
-
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
579
|
+
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
607
580
|
/**
|
|
608
581
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
609
582
|
* @summary Validate an invoice
|
|
610
583
|
* @param {Send} send
|
|
611
584
|
* @param {*} [options] Override http request option.
|
|
612
585
|
* @throws {RequiredError}
|
|
613
|
-
* @memberof SendApi
|
|
614
586
|
*/
|
|
615
|
-
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
587
|
+
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
616
588
|
/**
|
|
617
589
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
618
590
|
* @summary Validate an invoice by xml
|
|
619
591
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
620
592
|
* @param {*} [options] Override http request option.
|
|
621
593
|
* @throws {RequiredError}
|
|
622
|
-
* @memberof SendApi
|
|
623
594
|
*/
|
|
624
|
-
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
595
|
+
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
625
596
|
/**
|
|
626
597
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
627
598
|
* @summary Add an invoice by xml
|
|
@@ -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
|
-
sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
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";
|
|
@@ -31,7 +31,6 @@ import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setSearchParam
|
|
|
31
31
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
|
|
32
32
|
/**
|
|
33
33
|
* SendApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
34
|
*/
|
|
36
35
|
export const SendApiAxiosParamCreator = function (configuration) {
|
|
37
36
|
return {
|
|
@@ -519,7 +518,6 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
519
518
|
};
|
|
520
519
|
/**
|
|
521
520
|
* SendApi - functional programming interface
|
|
522
|
-
* @export
|
|
523
521
|
*/
|
|
524
522
|
export const SendApiFp = function (configuration) {
|
|
525
523
|
const localVarAxiosParamCreator = SendApiAxiosParamCreator(configuration);
|
|
@@ -729,7 +727,6 @@ export const SendApiFp = function (configuration) {
|
|
|
729
727
|
};
|
|
730
728
|
/**
|
|
731
729
|
* SendApi - factory interface
|
|
732
|
-
* @export
|
|
733
730
|
*/
|
|
734
731
|
export const SendApiFactory = function (configuration, basePath, axios) {
|
|
735
732
|
const localVarFp = SendApiFp(configuration);
|
|
@@ -873,9 +870,6 @@ export const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
873
870
|
};
|
|
874
871
|
/**
|
|
875
872
|
* SendApi - object-oriented interface
|
|
876
|
-
* @export
|
|
877
|
-
* @class SendApi
|
|
878
|
-
* @extends {BaseAPI}
|
|
879
873
|
*/
|
|
880
874
|
export class SendApi extends BaseAPI {
|
|
881
875
|
/**
|
|
@@ -886,7 +880,6 @@ export class SendApi extends BaseAPI {
|
|
|
886
880
|
* @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
887
881
|
* @param {*} [options] Override http request option.
|
|
888
882
|
* @throws {RequiredError}
|
|
889
|
-
* @memberof SendApi
|
|
890
883
|
*/
|
|
891
884
|
sendFilePost(file, validate, signature, options) {
|
|
892
885
|
return SendApiFp(this.configuration).sendFilePost(file, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -912,7 +905,6 @@ export class SendApi extends BaseAPI {
|
|
|
912
905
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
913
906
|
* @param {*} [options] Override http request option.
|
|
914
907
|
* @throws {RequiredError}
|
|
915
|
-
* @memberof SendApi
|
|
916
908
|
*/
|
|
917
909
|
sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options) {
|
|
918
910
|
return 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));
|
|
@@ -924,7 +916,6 @@ export class SendApi extends BaseAPI {
|
|
|
924
916
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
925
917
|
* @param {*} [options] Override http request option.
|
|
926
918
|
* @throws {RequiredError}
|
|
927
|
-
* @memberof SendApi
|
|
928
919
|
*/
|
|
929
920
|
sendIdGet(id, includePayload, options) {
|
|
930
921
|
return SendApiFp(this.configuration).sendIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -936,7 +927,6 @@ export class SendApi extends BaseAPI {
|
|
|
936
927
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
937
928
|
* @param {*} [options] Override http request option.
|
|
938
929
|
* @throws {RequiredError}
|
|
939
|
-
* @memberof SendApi
|
|
940
930
|
*/
|
|
941
931
|
sendIdentifierGet(identifier, includePayload, options) {
|
|
942
932
|
return SendApiFp(this.configuration).sendIdentifierGet(identifier, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -949,7 +939,6 @@ export class SendApi extends BaseAPI {
|
|
|
949
939
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
950
940
|
* @param {*} [options] Override http request option.
|
|
951
941
|
* @throws {RequiredError}
|
|
952
|
-
* @memberof SendApi
|
|
953
942
|
*/
|
|
954
943
|
sendJsonPost(fatturaOrdinaria, validate, signature, options) {
|
|
955
944
|
return SendApiFp(this.configuration).sendJsonPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -962,7 +951,6 @@ export class SendApi extends BaseAPI {
|
|
|
962
951
|
* @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
963
952
|
* @param {*} [options] Override http request option.
|
|
964
953
|
* @throws {RequiredError}
|
|
965
|
-
* @memberof SendApi
|
|
966
954
|
*/
|
|
967
955
|
sendPost(send, validate, signature, options) {
|
|
968
956
|
return SendApiFp(this.configuration).sendPost(send, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -973,7 +961,6 @@ export class SendApi extends BaseAPI {
|
|
|
973
961
|
* @param {File} file
|
|
974
962
|
* @param {*} [options] Override http request option.
|
|
975
963
|
* @throws {RequiredError}
|
|
976
|
-
* @memberof SendApi
|
|
977
964
|
*/
|
|
978
965
|
sendValidateFilePost(file, options) {
|
|
979
966
|
return SendApiFp(this.configuration).sendValidateFilePost(file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -984,7 +971,6 @@ export class SendApi extends BaseAPI {
|
|
|
984
971
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
985
972
|
* @param {*} [options] Override http request option.
|
|
986
973
|
* @throws {RequiredError}
|
|
987
|
-
* @memberof SendApi
|
|
988
974
|
*/
|
|
989
975
|
sendValidateJsonPost(fatturaOrdinaria, options) {
|
|
990
976
|
return SendApiFp(this.configuration).sendValidateJsonPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -995,7 +981,6 @@ export class SendApi extends BaseAPI {
|
|
|
995
981
|
* @param {Send} send
|
|
996
982
|
* @param {*} [options] Override http request option.
|
|
997
983
|
* @throws {RequiredError}
|
|
998
|
-
* @memberof SendApi
|
|
999
984
|
*/
|
|
1000
985
|
sendValidatePost(send, options) {
|
|
1001
986
|
return SendApiFp(this.configuration).sendValidatePost(send, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1006,7 +991,6 @@ export class SendApi extends BaseAPI {
|
|
|
1006
991
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1007
992
|
* @param {*} [options] Override http request option.
|
|
1008
993
|
* @throws {RequiredError}
|
|
1009
|
-
* @memberof SendApi
|
|
1010
994
|
*/
|
|
1011
995
|
sendValidateXmlPost(fatturaOrdinaria, options) {
|
|
1012
996
|
return SendApiFp(this.configuration).sendValidateXmlPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1019,42 +1003,29 @@ export class SendApi extends BaseAPI {
|
|
|
1019
1003
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1020
1004
|
* @param {*} [options] Override http request option.
|
|
1021
1005
|
* @throws {RequiredError}
|
|
1022
|
-
* @memberof SendApi
|
|
1023
1006
|
*/
|
|
1024
1007
|
sendXmlPost(fatturaOrdinaria, validate, signature, options) {
|
|
1025
1008
|
return SendApiFp(this.configuration).sendXmlPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
1026
1009
|
}
|
|
1027
1010
|
}
|
|
1028
|
-
/**
|
|
1029
|
-
* @export
|
|
1030
|
-
*/
|
|
1031
1011
|
export const SendFilePostSignatureEnum = {
|
|
1032
1012
|
None: 'None',
|
|
1033
1013
|
Apply: 'Apply',
|
|
1034
1014
|
Force: 'Force',
|
|
1035
1015
|
Auto: 'Auto'
|
|
1036
1016
|
};
|
|
1037
|
-
/**
|
|
1038
|
-
* @export
|
|
1039
|
-
*/
|
|
1040
1017
|
export const SendJsonPostSignatureEnum = {
|
|
1041
1018
|
None: 'None',
|
|
1042
1019
|
Apply: 'Apply',
|
|
1043
1020
|
Force: 'Force',
|
|
1044
1021
|
Auto: 'Auto'
|
|
1045
1022
|
};
|
|
1046
|
-
/**
|
|
1047
|
-
* @export
|
|
1048
|
-
*/
|
|
1049
1023
|
export const SendPostSignatureEnum = {
|
|
1050
1024
|
None: 'None',
|
|
1051
1025
|
Apply: 'Apply',
|
|
1052
1026
|
Force: 'Force',
|
|
1053
1027
|
Auto: 'Auto'
|
|
1054
1028
|
};
|
|
1055
|
-
/**
|
|
1056
|
-
* @export
|
|
1057
|
-
*/
|
|
1058
1029
|
export const SendXmlPostSignatureEnum = {
|
|
1059
1030
|
None: 'None',
|
|
1060
1031
|
Apply: 'Apply',
|
|
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
|
|
|
15
15
|
import type { Status } from '../../src/models';
|
|
16
16
|
/**
|
|
17
17
|
* StatusApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
18
|
*/
|
|
20
19
|
export declare const StatusApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
20
|
/**
|
|
@@ -28,7 +27,6 @@ export declare const StatusApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
28
27
|
};
|
|
29
28
|
/**
|
|
30
29
|
* StatusApi - functional programming interface
|
|
31
|
-
* @export
|
|
32
30
|
*/
|
|
33
31
|
export declare const StatusApiFp: (configuration?: Configuration) => {
|
|
34
32
|
/**
|
|
@@ -41,7 +39,6 @@ export declare const StatusApiFp: (configuration?: Configuration) => {
|
|
|
41
39
|
};
|
|
42
40
|
/**
|
|
43
41
|
* StatusApi - factory interface
|
|
44
|
-
* @export
|
|
45
42
|
*/
|
|
46
43
|
export declare const StatusApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
44
|
/**
|
|
@@ -54,8 +51,6 @@ export declare const StatusApiFactory: (configuration?: Configuration, basePath?
|
|
|
54
51
|
};
|
|
55
52
|
/**
|
|
56
53
|
* StatusApi - interface
|
|
57
|
-
* @export
|
|
58
|
-
* @interface StatusApi
|
|
59
54
|
*/
|
|
60
55
|
export interface StatusApiInterface {
|
|
61
56
|
/**
|
|
@@ -63,15 +58,11 @@ export interface StatusApiInterface {
|
|
|
63
58
|
* @summary Account status
|
|
64
59
|
* @param {*} [options] Override http request option.
|
|
65
60
|
* @throws {RequiredError}
|
|
66
|
-
* @memberof StatusApiInterface
|
|
67
61
|
*/
|
|
68
62
|
statusGet(options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
69
63
|
}
|
|
70
64
|
/**
|
|
71
65
|
* StatusApi - object-oriented interface
|
|
72
|
-
* @export
|
|
73
|
-
* @class StatusApi
|
|
74
|
-
* @extends {BaseAPI}
|
|
75
66
|
*/
|
|
76
67
|
export declare class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
77
68
|
/**
|
|
@@ -79,7 +70,6 @@ export declare class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
|
79
70
|
* @summary Account status
|
|
80
71
|
* @param {*} [options] Override http request option.
|
|
81
72
|
* @throws {RequiredError}
|
|
82
|
-
* @memberof StatusApi
|
|
83
73
|
*/
|
|
84
|
-
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
74
|
+
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
85
75
|
}
|
|
@@ -31,7 +31,6 @@ import { DUMMY_BASE_URL, setBasicAuthToObject, setSearchParams, toPathString, cr
|
|
|
31
31
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
|
|
32
32
|
/**
|
|
33
33
|
* StatusApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
34
|
*/
|
|
36
35
|
export const StatusApiAxiosParamCreator = function (configuration) {
|
|
37
36
|
return {
|
|
@@ -67,7 +66,6 @@ export const StatusApiAxiosParamCreator = function (configuration) {
|
|
|
67
66
|
};
|
|
68
67
|
/**
|
|
69
68
|
* StatusApi - functional programming interface
|
|
70
|
-
* @export
|
|
71
69
|
*/
|
|
72
70
|
export const StatusApiFp = function (configuration) {
|
|
73
71
|
const localVarAxiosParamCreator = StatusApiAxiosParamCreator(configuration);
|
|
@@ -91,7 +89,6 @@ export const StatusApiFp = function (configuration) {
|
|
|
91
89
|
};
|
|
92
90
|
/**
|
|
93
91
|
* StatusApi - factory interface
|
|
94
|
-
* @export
|
|
95
92
|
*/
|
|
96
93
|
export const StatusApiFactory = function (configuration, basePath, axios) {
|
|
97
94
|
const localVarFp = StatusApiFp(configuration);
|
|
@@ -109,9 +106,6 @@ export const StatusApiFactory = function (configuration, basePath, axios) {
|
|
|
109
106
|
};
|
|
110
107
|
/**
|
|
111
108
|
* StatusApi - object-oriented interface
|
|
112
|
-
* @export
|
|
113
|
-
* @class StatusApi
|
|
114
|
-
* @extends {BaseAPI}
|
|
115
109
|
*/
|
|
116
110
|
export class StatusApi extends BaseAPI {
|
|
117
111
|
/**
|
|
@@ -119,7 +113,6 @@ export class StatusApi extends BaseAPI {
|
|
|
119
113
|
* @summary Account status
|
|
120
114
|
* @param {*} [options] Override http request option.
|
|
121
115
|
* @throws {RequiredError}
|
|
122
|
-
* @memberof StatusApi
|
|
123
116
|
*/
|
|
124
117
|
statusGet(options) {
|
|
125
118
|
return StatusApiFp(this.configuration).statusGet(options).then((request) => request(this.axios, this.basePath));
|