@invoicetronic/ts-sdk 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +8 -4
- package/CHANGELOG.md +1 -1
- package/README.md +2 -2
- package/base.ts +0 -24
- package/common.ts +1 -38
- package/configuration.ts +25 -19
- package/dist/base.d.ts +0 -24
- package/dist/base.js +0 -19
- package/dist/common.d.ts +0 -37
- package/dist/common.js +0 -37
- package/dist/configuration.d.ts +24 -17
- package/dist/configuration.js +2 -2
- package/dist/esm/base.d.ts +0 -24
- package/dist/esm/base.js +0 -19
- package/dist/esm/common.d.ts +0 -37
- package/dist/esm/common.js +0 -37
- package/dist/esm/configuration.d.ts +24 -17
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/src/api/company-api.d.ts +0 -18
- package/dist/esm/src/api/company-api.js +5 -11
- package/dist/esm/src/api/log-api.d.ts +0 -12
- package/dist/esm/src/api/log-api.js +2 -8
- package/dist/esm/src/api/receive-api.d.ts +0 -14
- package/dist/esm/src/api/receive-api.js +3 -9
- package/dist/esm/src/api/send-api.d.ts +0 -42
- package/dist/esm/src/api/send-api.js +11 -29
- package/dist/esm/src/api/status-api.d.ts +0 -10
- package/dist/esm/src/api/status-api.js +1 -7
- package/dist/esm/src/api/update-api.d.ts +0 -15
- package/dist/esm/src/api/update-api.js +2 -11
- package/dist/esm/src/api/webhook-api.d.ts +0 -22
- package/dist/esm/src/api/webhook-api.js +7 -13
- package/dist/esm/src/models/allegati.d.ts +0 -30
- package/dist/esm/src/models/altri-dati-gestionali.d.ts +0 -25
- package/dist/esm/src/models/anagrafica.d.ts +0 -30
- package/dist/esm/src/models/cedente-prestatore.d.ts +0 -35
- package/dist/esm/src/models/cessionario-committente.d.ts +0 -25
- package/dist/esm/src/models/codice-articolo.d.ts +0 -15
- package/dist/esm/src/models/company.d.ts +0 -16
- package/dist/esm/src/models/contatti-trasmittente.d.ts +0 -15
- package/dist/esm/src/models/contatti.d.ts +0 -20
- package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -45
- package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -20
- package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +0 -25
- package/dist/esm/src/models/dati-anagrafici.d.ts +0 -20
- package/dist/esm/src/models/dati-beni-servizi.d.ts +0 -15
- package/dist/esm/src/models/dati-bollo.d.ts +0 -15
- package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +0 -45
- package/dist/esm/src/models/dati-contratto.d.ts +0 -40
- package/dist/esm/src/models/dati-convenzione.d.ts +0 -40
- package/dist/esm/src/models/dati-ddt.d.ts +0 -20
- package/dist/esm/src/models/dati-fatture-collegate.d.ts +0 -40
- package/dist/esm/src/models/dati-generali-documento.d.ts +0 -65
- package/dist/esm/src/models/dati-generali.d.ts +0 -55
- package/dist/esm/src/models/dati-ordine-acquisto.d.ts +0 -40
- package/dist/esm/src/models/dati-pagamento.d.ts +0 -15
- package/dist/esm/src/models/dati-ricezione.d.ts +0 -40
- package/dist/esm/src/models/dati-riepilogo.d.ts +0 -45
- package/dist/esm/src/models/dati-ritenuta.d.ts +0 -25
- package/dist/esm/src/models/dati-sal.d.ts +0 -10
- package/dist/esm/src/models/dati-trasmissione.d.ts +0 -35
- package/dist/esm/src/models/dati-trasporto.d.ts +0 -70
- package/dist/esm/src/models/dati-veicoli.d.ts +0 -15
- package/dist/esm/src/models/dettaglio-linee.d.ts +0 -85
- package/dist/esm/src/models/dettaglio-pagamento.d.ts +0 -110
- package/dist/esm/src/models/document-data.d.ts +0 -15
- package/dist/esm/src/models/event.d.ts +10 -41
- package/dist/esm/src/models/fattura-elettronica-body.d.ts +0 -30
- package/dist/esm/src/models/fattura-elettronica-header.d.ts +0 -35
- package/dist/esm/src/models/fattura-ordinaria.d.ts +0 -20
- package/dist/esm/src/models/fattura-principale.d.ts +0 -15
- package/dist/esm/src/models/id-fiscale-iva.d.ts +0 -15
- package/dist/esm/src/models/id-trasmittente.d.ts +0 -15
- package/dist/esm/src/models/indirizzo-resa.d.ts +0 -35
- package/dist/esm/src/models/iscrizione-rea.d.ts +0 -30
- package/dist/esm/src/models/model-error.d.ts +0 -8
- package/dist/esm/src/models/problem-details.d.ts +0 -30
- package/dist/esm/src/models/problem-http-result.d.ts +0 -20
- package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -25
- package/dist/esm/src/models/rappresentante-fiscale.d.ts +0 -10
- package/dist/esm/src/models/receive.d.ts +1 -40
- package/dist/esm/src/models/sconto-maggiorazione.d.ts +0 -20
- package/dist/esm/src/models/sede-cedente-prestatore.d.ts +0 -35
- package/dist/esm/src/models/sede-cessionario-committente.d.ts +0 -35
- package/dist/esm/src/models/send-reduced.d.ts +0 -12
- package/dist/esm/src/models/send.d.ts +1 -43
- package/dist/esm/src/models/stabile-organizzazione.d.ts +0 -35
- package/dist/esm/src/models/status.d.ts +0 -9
- package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -10
- package/dist/esm/src/models/update.d.ts +0 -34
- package/dist/esm/src/models/web-hook-history.d.ts +0 -20
- package/dist/esm/src/models/web-hook.d.ts +1 -26
- package/dist/src/api/company-api.d.ts +0 -18
- package/dist/src/api/company-api.js +5 -11
- package/dist/src/api/log-api.d.ts +0 -12
- package/dist/src/api/log-api.js +2 -8
- package/dist/src/api/receive-api.d.ts +0 -14
- package/dist/src/api/receive-api.js +3 -9
- package/dist/src/api/send-api.d.ts +0 -42
- package/dist/src/api/send-api.js +11 -29
- package/dist/src/api/status-api.d.ts +0 -10
- package/dist/src/api/status-api.js +1 -7
- package/dist/src/api/update-api.d.ts +0 -15
- package/dist/src/api/update-api.js +2 -11
- package/dist/src/api/webhook-api.d.ts +0 -22
- package/dist/src/api/webhook-api.js +7 -13
- package/dist/src/models/allegati.d.ts +0 -30
- package/dist/src/models/altri-dati-gestionali.d.ts +0 -25
- package/dist/src/models/anagrafica.d.ts +0 -30
- package/dist/src/models/cedente-prestatore.d.ts +0 -35
- package/dist/src/models/cessionario-committente.d.ts +0 -25
- package/dist/src/models/codice-articolo.d.ts +0 -15
- package/dist/src/models/company.d.ts +0 -16
- package/dist/src/models/contatti-trasmittente.d.ts +0 -15
- package/dist/src/models/contatti.d.ts +0 -20
- package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -45
- package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -20
- package/dist/src/models/dati-anagrafici-vettore.d.ts +0 -25
- package/dist/src/models/dati-anagrafici.d.ts +0 -20
- package/dist/src/models/dati-beni-servizi.d.ts +0 -15
- package/dist/src/models/dati-bollo.d.ts +0 -15
- package/dist/src/models/dati-cassa-previdenziale.d.ts +0 -45
- package/dist/src/models/dati-contratto.d.ts +0 -40
- package/dist/src/models/dati-convenzione.d.ts +0 -40
- package/dist/src/models/dati-ddt.d.ts +0 -20
- package/dist/src/models/dati-fatture-collegate.d.ts +0 -40
- package/dist/src/models/dati-generali-documento.d.ts +0 -65
- package/dist/src/models/dati-generali.d.ts +0 -55
- package/dist/src/models/dati-ordine-acquisto.d.ts +0 -40
- package/dist/src/models/dati-pagamento.d.ts +0 -15
- package/dist/src/models/dati-ricezione.d.ts +0 -40
- package/dist/src/models/dati-riepilogo.d.ts +0 -45
- package/dist/src/models/dati-ritenuta.d.ts +0 -25
- package/dist/src/models/dati-sal.d.ts +0 -10
- package/dist/src/models/dati-trasmissione.d.ts +0 -35
- package/dist/src/models/dati-trasporto.d.ts +0 -70
- package/dist/src/models/dati-veicoli.d.ts +0 -15
- package/dist/src/models/dettaglio-linee.d.ts +0 -85
- package/dist/src/models/dettaglio-pagamento.d.ts +0 -110
- package/dist/src/models/document-data.d.ts +0 -15
- package/dist/src/models/event.d.ts +10 -41
- package/dist/src/models/fattura-elettronica-body.d.ts +0 -30
- package/dist/src/models/fattura-elettronica-header.d.ts +0 -35
- package/dist/src/models/fattura-ordinaria.d.ts +0 -20
- package/dist/src/models/fattura-principale.d.ts +0 -15
- package/dist/src/models/id-fiscale-iva.d.ts +0 -15
- package/dist/src/models/id-trasmittente.d.ts +0 -15
- package/dist/src/models/indirizzo-resa.d.ts +0 -35
- package/dist/src/models/iscrizione-rea.d.ts +0 -30
- package/dist/src/models/model-error.d.ts +0 -8
- package/dist/src/models/problem-details.d.ts +0 -30
- package/dist/src/models/problem-http-result.d.ts +0 -20
- package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -25
- package/dist/src/models/rappresentante-fiscale.d.ts +0 -10
- package/dist/src/models/receive.d.ts +1 -40
- package/dist/src/models/sconto-maggiorazione.d.ts +0 -20
- package/dist/src/models/sede-cedente-prestatore.d.ts +0 -35
- package/dist/src/models/sede-cessionario-committente.d.ts +0 -35
- package/dist/src/models/send-reduced.d.ts +0 -12
- package/dist/src/models/send.d.ts +1 -43
- package/dist/src/models/stabile-organizzazione.d.ts +0 -35
- package/dist/src/models/status.d.ts +0 -9
- package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -10
- package/dist/src/models/update.d.ts +0 -34
- package/dist/src/models/web-hook-history.d.ts +0 -20
- package/dist/src/models/web-hook.d.ts +1 -26
- package/docs/Event.md +6 -4
- package/docs/Receive.md +1 -1
- package/docs/Send.md +1 -1
- package/docs/WebHook.md +1 -1
- package/package.json +1 -1
- package/src/api/company-api.ts +5 -25
- package/src/api/log-api.ts +2 -14
- package/src/api/receive-api.ts +3 -17
- package/src/api/send-api.ts +13 -63
- package/src/api/status-api.ts +1 -11
- package/src/api/update-api.ts +2 -17
- package/src/api/webhook-api.ts +7 -31
- package/src/models/allegati.ts +0 -30
- package/src/models/altri-dati-gestionali.ts +0 -25
- package/src/models/anagrafica.ts +0 -30
- package/src/models/cedente-prestatore.ts +0 -35
- package/src/models/cessionario-committente.ts +0 -25
- package/src/models/codice-articolo.ts +0 -15
- package/src/models/company.ts +0 -16
- package/src/models/contatti-trasmittente.ts +0 -15
- package/src/models/contatti.ts +0 -20
- package/src/models/dati-anagrafici-cedente-prestatore.ts +0 -45
- package/src/models/dati-anagrafici-cessionario-committente.ts +0 -20
- package/src/models/dati-anagrafici-vettore.ts +0 -25
- package/src/models/dati-anagrafici.ts +0 -20
- package/src/models/dati-beni-servizi.ts +0 -15
- package/src/models/dati-bollo.ts +0 -15
- package/src/models/dati-cassa-previdenziale.ts +0 -45
- package/src/models/dati-contratto.ts +0 -40
- package/src/models/dati-convenzione.ts +0 -40
- package/src/models/dati-ddt.ts +0 -20
- package/src/models/dati-fatture-collegate.ts +0 -40
- package/src/models/dati-generali-documento.ts +0 -65
- package/src/models/dati-generali.ts +0 -55
- package/src/models/dati-ordine-acquisto.ts +0 -40
- package/src/models/dati-pagamento.ts +0 -15
- package/src/models/dati-ricezione.ts +0 -40
- package/src/models/dati-riepilogo.ts +0 -45
- package/src/models/dati-ritenuta.ts +0 -25
- package/src/models/dati-sal.ts +0 -10
- package/src/models/dati-trasmissione.ts +0 -35
- package/src/models/dati-trasporto.ts +0 -70
- package/src/models/dati-veicoli.ts +0 -15
- package/src/models/dettaglio-linee.ts +0 -85
- package/src/models/dettaglio-pagamento.ts +0 -110
- package/src/models/document-data.ts +0 -15
- package/src/models/event.ts +10 -41
- package/src/models/fattura-elettronica-body.ts +0 -30
- package/src/models/fattura-elettronica-header.ts +0 -35
- package/src/models/fattura-ordinaria.ts +0 -20
- package/src/models/fattura-principale.ts +0 -15
- package/src/models/id-fiscale-iva.ts +0 -15
- package/src/models/id-trasmittente.ts +0 -15
- package/src/models/indirizzo-resa.ts +0 -35
- package/src/models/iscrizione-rea.ts +0 -30
- package/src/models/model-error.ts +0 -8
- package/src/models/problem-details.ts +0 -30
- package/src/models/problem-http-result.ts +0 -20
- package/src/models/rappresentante-fiscale-cessionario-committente.ts +0 -25
- package/src/models/rappresentante-fiscale.ts +0 -10
- package/src/models/receive.ts +1 -40
- package/src/models/sconto-maggiorazione.ts +0 -20
- package/src/models/sede-cedente-prestatore.ts +0 -35
- package/src/models/sede-cessionario-committente.ts +0 -35
- package/src/models/send-reduced.ts +0 -12
- package/src/models/send.ts +1 -43
- package/src/models/stabile-organizzazione.ts +0 -35
- package/src/models/status.ts +0 -9
- package/src/models/terzo-intermediario-osoggetto-emittente.ts +0 -10
- package/src/models/update.ts +0 -34
- package/src/models/web-hook-history.ts +0 -20
- package/src/models/web-hook.ts +1 -26
|
@@ -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 {
|
|
@@ -71,6 +70,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
71
70
|
localVarFormParams.append('file', file);
|
|
72
71
|
}
|
|
73
72
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
73
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
74
74
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75
75
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
76
76
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -176,6 +176,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
176
176
|
if (sort !== undefined) {
|
|
177
177
|
localVarQueryParameter['sort'] = sort;
|
|
178
178
|
}
|
|
179
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
179
180
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
180
181
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
182
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -212,6 +213,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
212
213
|
if (includePayload !== undefined) {
|
|
213
214
|
localVarQueryParameter['include_payload'] = includePayload;
|
|
214
215
|
}
|
|
216
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
215
217
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
216
218
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
219
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -248,6 +250,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
248
250
|
if (includePayload !== undefined) {
|
|
249
251
|
localVarQueryParameter['include_payload'] = includePayload;
|
|
250
252
|
}
|
|
253
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
251
254
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
252
255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
256
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -288,6 +291,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
288
291
|
localVarQueryParameter['signature'] = signature;
|
|
289
292
|
}
|
|
290
293
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
294
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
291
295
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
292
296
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
297
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -329,6 +333,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
329
333
|
localVarQueryParameter['signature'] = signature;
|
|
330
334
|
}
|
|
331
335
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
336
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
332
337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
333
338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
334
339
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -366,6 +371,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
366
371
|
localVarFormParams.append('file', file);
|
|
367
372
|
}
|
|
368
373
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
374
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
369
375
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
370
376
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
371
377
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -399,6 +405,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
399
405
|
// http basic authentication required
|
|
400
406
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
401
407
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
408
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
402
409
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
403
410
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
404
411
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -432,6 +439,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
432
439
|
// http basic authentication required
|
|
433
440
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
434
441
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
442
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
435
443
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
436
444
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
437
445
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -465,6 +473,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
465
473
|
// http basic authentication required
|
|
466
474
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
467
475
|
localVarHeaderParameter['Content-Type'] = 'application/xml';
|
|
476
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
468
477
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
469
478
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
470
479
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -506,6 +515,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
506
515
|
localVarQueryParameter['signature'] = signature;
|
|
507
516
|
}
|
|
508
517
|
localVarHeaderParameter['Content-Type'] = 'application/xml';
|
|
518
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
509
519
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
510
520
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
511
521
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -519,7 +529,6 @@ export const SendApiAxiosParamCreator = function (configuration) {
|
|
|
519
529
|
};
|
|
520
530
|
/**
|
|
521
531
|
* SendApi - functional programming interface
|
|
522
|
-
* @export
|
|
523
532
|
*/
|
|
524
533
|
export const SendApiFp = function (configuration) {
|
|
525
534
|
const localVarAxiosParamCreator = SendApiAxiosParamCreator(configuration);
|
|
@@ -729,7 +738,6 @@ export const SendApiFp = function (configuration) {
|
|
|
729
738
|
};
|
|
730
739
|
/**
|
|
731
740
|
* SendApi - factory interface
|
|
732
|
-
* @export
|
|
733
741
|
*/
|
|
734
742
|
export const SendApiFactory = function (configuration, basePath, axios) {
|
|
735
743
|
const localVarFp = SendApiFp(configuration);
|
|
@@ -873,9 +881,6 @@ export const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
873
881
|
};
|
|
874
882
|
/**
|
|
875
883
|
* SendApi - object-oriented interface
|
|
876
|
-
* @export
|
|
877
|
-
* @class SendApi
|
|
878
|
-
* @extends {BaseAPI}
|
|
879
884
|
*/
|
|
880
885
|
export class SendApi extends BaseAPI {
|
|
881
886
|
/**
|
|
@@ -886,7 +891,6 @@ export class SendApi extends BaseAPI {
|
|
|
886
891
|
* @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
887
892
|
* @param {*} [options] Override http request option.
|
|
888
893
|
* @throws {RequiredError}
|
|
889
|
-
* @memberof SendApi
|
|
890
894
|
*/
|
|
891
895
|
sendFilePost(file, validate, signature, options) {
|
|
892
896
|
return SendApiFp(this.configuration).sendFilePost(file, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -912,7 +916,6 @@ export class SendApi extends BaseAPI {
|
|
|
912
916
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
913
917
|
* @param {*} [options] Override http request option.
|
|
914
918
|
* @throws {RequiredError}
|
|
915
|
-
* @memberof SendApi
|
|
916
919
|
*/
|
|
917
920
|
sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options) {
|
|
918
921
|
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 +927,6 @@ export class SendApi extends BaseAPI {
|
|
|
924
927
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
925
928
|
* @param {*} [options] Override http request option.
|
|
926
929
|
* @throws {RequiredError}
|
|
927
|
-
* @memberof SendApi
|
|
928
930
|
*/
|
|
929
931
|
sendIdGet(id, includePayload, options) {
|
|
930
932
|
return SendApiFp(this.configuration).sendIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -936,7 +938,6 @@ export class SendApi extends BaseAPI {
|
|
|
936
938
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
937
939
|
* @param {*} [options] Override http request option.
|
|
938
940
|
* @throws {RequiredError}
|
|
939
|
-
* @memberof SendApi
|
|
940
941
|
*/
|
|
941
942
|
sendIdentifierGet(identifier, includePayload, options) {
|
|
942
943
|
return SendApiFp(this.configuration).sendIdentifierGet(identifier, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -949,7 +950,6 @@ export class SendApi extends BaseAPI {
|
|
|
949
950
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
950
951
|
* @param {*} [options] Override http request option.
|
|
951
952
|
* @throws {RequiredError}
|
|
952
|
-
* @memberof SendApi
|
|
953
953
|
*/
|
|
954
954
|
sendJsonPost(fatturaOrdinaria, validate, signature, options) {
|
|
955
955
|
return SendApiFp(this.configuration).sendJsonPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -962,7 +962,6 @@ export class SendApi extends BaseAPI {
|
|
|
962
962
|
* @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
963
963
|
* @param {*} [options] Override http request option.
|
|
964
964
|
* @throws {RequiredError}
|
|
965
|
-
* @memberof SendApi
|
|
966
965
|
*/
|
|
967
966
|
sendPost(send, validate, signature, options) {
|
|
968
967
|
return SendApiFp(this.configuration).sendPost(send, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -973,7 +972,6 @@ export class SendApi extends BaseAPI {
|
|
|
973
972
|
* @param {File} file
|
|
974
973
|
* @param {*} [options] Override http request option.
|
|
975
974
|
* @throws {RequiredError}
|
|
976
|
-
* @memberof SendApi
|
|
977
975
|
*/
|
|
978
976
|
sendValidateFilePost(file, options) {
|
|
979
977
|
return SendApiFp(this.configuration).sendValidateFilePost(file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -984,7 +982,6 @@ export class SendApi extends BaseAPI {
|
|
|
984
982
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
985
983
|
* @param {*} [options] Override http request option.
|
|
986
984
|
* @throws {RequiredError}
|
|
987
|
-
* @memberof SendApi
|
|
988
985
|
*/
|
|
989
986
|
sendValidateJsonPost(fatturaOrdinaria, options) {
|
|
990
987
|
return SendApiFp(this.configuration).sendValidateJsonPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -995,7 +992,6 @@ export class SendApi extends BaseAPI {
|
|
|
995
992
|
* @param {Send} send
|
|
996
993
|
* @param {*} [options] Override http request option.
|
|
997
994
|
* @throws {RequiredError}
|
|
998
|
-
* @memberof SendApi
|
|
999
995
|
*/
|
|
1000
996
|
sendValidatePost(send, options) {
|
|
1001
997
|
return SendApiFp(this.configuration).sendValidatePost(send, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1006,7 +1002,6 @@ export class SendApi extends BaseAPI {
|
|
|
1006
1002
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1007
1003
|
* @param {*} [options] Override http request option.
|
|
1008
1004
|
* @throws {RequiredError}
|
|
1009
|
-
* @memberof SendApi
|
|
1010
1005
|
*/
|
|
1011
1006
|
sendValidateXmlPost(fatturaOrdinaria, options) {
|
|
1012
1007
|
return SendApiFp(this.configuration).sendValidateXmlPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1019,42 +1014,29 @@ export class SendApi extends BaseAPI {
|
|
|
1019
1014
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1020
1015
|
* @param {*} [options] Override http request option.
|
|
1021
1016
|
* @throws {RequiredError}
|
|
1022
|
-
* @memberof SendApi
|
|
1023
1017
|
*/
|
|
1024
1018
|
sendXmlPost(fatturaOrdinaria, validate, signature, options) {
|
|
1025
1019
|
return SendApiFp(this.configuration).sendXmlPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
1026
1020
|
}
|
|
1027
1021
|
}
|
|
1028
|
-
/**
|
|
1029
|
-
* @export
|
|
1030
|
-
*/
|
|
1031
1022
|
export const SendFilePostSignatureEnum = {
|
|
1032
1023
|
None: 'None',
|
|
1033
1024
|
Apply: 'Apply',
|
|
1034
1025
|
Force: 'Force',
|
|
1035
1026
|
Auto: 'Auto'
|
|
1036
1027
|
};
|
|
1037
|
-
/**
|
|
1038
|
-
* @export
|
|
1039
|
-
*/
|
|
1040
1028
|
export const SendJsonPostSignatureEnum = {
|
|
1041
1029
|
None: 'None',
|
|
1042
1030
|
Apply: 'Apply',
|
|
1043
1031
|
Force: 'Force',
|
|
1044
1032
|
Auto: 'Auto'
|
|
1045
1033
|
};
|
|
1046
|
-
/**
|
|
1047
|
-
* @export
|
|
1048
|
-
*/
|
|
1049
1034
|
export const SendPostSignatureEnum = {
|
|
1050
1035
|
None: 'None',
|
|
1051
1036
|
Apply: 'Apply',
|
|
1052
1037
|
Force: 'Force',
|
|
1053
1038
|
Auto: 'Auto'
|
|
1054
1039
|
};
|
|
1055
|
-
/**
|
|
1056
|
-
* @export
|
|
1057
|
-
*/
|
|
1058
1040
|
export const SendXmlPostSignatureEnum = {
|
|
1059
1041
|
None: 'None',
|
|
1060
1042
|
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
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 {
|
|
@@ -55,6 +54,7 @@ export const StatusApiAxiosParamCreator = function (configuration) {
|
|
|
55
54
|
// authentication Basic required
|
|
56
55
|
// http basic authentication required
|
|
57
56
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
57
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58
58
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59
59
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
60
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -67,7 +67,6 @@ export const StatusApiAxiosParamCreator = function (configuration) {
|
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
69
|
* StatusApi - functional programming interface
|
|
70
|
-
* @export
|
|
71
70
|
*/
|
|
72
71
|
export const StatusApiFp = function (configuration) {
|
|
73
72
|
const localVarAxiosParamCreator = StatusApiAxiosParamCreator(configuration);
|
|
@@ -91,7 +90,6 @@ export const StatusApiFp = function (configuration) {
|
|
|
91
90
|
};
|
|
92
91
|
/**
|
|
93
92
|
* StatusApi - factory interface
|
|
94
|
-
* @export
|
|
95
93
|
*/
|
|
96
94
|
export const StatusApiFactory = function (configuration, basePath, axios) {
|
|
97
95
|
const localVarFp = StatusApiFp(configuration);
|
|
@@ -109,9 +107,6 @@ export const StatusApiFactory = function (configuration, basePath, axios) {
|
|
|
109
107
|
};
|
|
110
108
|
/**
|
|
111
109
|
* StatusApi - object-oriented interface
|
|
112
|
-
* @export
|
|
113
|
-
* @class StatusApi
|
|
114
|
-
* @extends {BaseAPI}
|
|
115
110
|
*/
|
|
116
111
|
export class StatusApi extends BaseAPI {
|
|
117
112
|
/**
|
|
@@ -119,7 +114,6 @@ export class StatusApi extends BaseAPI {
|
|
|
119
114
|
* @summary Account status
|
|
120
115
|
* @param {*} [options] Override http request option.
|
|
121
116
|
* @throws {RequiredError}
|
|
122
|
-
* @memberof StatusApi
|
|
123
117
|
*/
|
|
124
118
|
statusGet(options) {
|
|
125
119
|
return StatusApiFp(this.configuration).statusGet(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
|
|
|
15
15
|
import type { Update } from '../../src/models';
|
|
16
16
|
/**
|
|
17
17
|
* UpdateApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
18
|
*/
|
|
20
19
|
export declare const UpdateApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
20
|
/**
|
|
@@ -49,7 +48,6 @@ export declare const UpdateApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
49
48
|
};
|
|
50
49
|
/**
|
|
51
50
|
* UpdateApi - functional programming interface
|
|
52
|
-
* @export
|
|
53
51
|
*/
|
|
54
52
|
export declare const UpdateApiFp: (configuration?: Configuration) => {
|
|
55
53
|
/**
|
|
@@ -83,7 +81,6 @@ export declare const UpdateApiFp: (configuration?: Configuration) => {
|
|
|
83
81
|
};
|
|
84
82
|
/**
|
|
85
83
|
* UpdateApi - factory interface
|
|
86
|
-
* @export
|
|
87
84
|
*/
|
|
88
85
|
export declare const UpdateApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
89
86
|
/**
|
|
@@ -117,8 +114,6 @@ export declare const UpdateApiFactory: (configuration?: Configuration, basePath?
|
|
|
117
114
|
};
|
|
118
115
|
/**
|
|
119
116
|
* UpdateApi - interface
|
|
120
|
-
* @export
|
|
121
|
-
* @interface UpdateApi
|
|
122
117
|
*/
|
|
123
118
|
export interface UpdateApiInterface {
|
|
124
119
|
/**
|
|
@@ -139,7 +134,6 @@ export interface UpdateApiInterface {
|
|
|
139
134
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
140
135
|
* @param {*} [options] Override http request option.
|
|
141
136
|
* @throws {RequiredError}
|
|
142
|
-
* @memberof UpdateApiInterface
|
|
143
137
|
*/
|
|
144
138
|
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Update>>;
|
|
145
139
|
/**
|
|
@@ -148,15 +142,11 @@ export interface UpdateApiInterface {
|
|
|
148
142
|
* @param {number} id Item id
|
|
149
143
|
* @param {*} [options] Override http request option.
|
|
150
144
|
* @throws {RequiredError}
|
|
151
|
-
* @memberof UpdateApiInterface
|
|
152
145
|
*/
|
|
153
146
|
updateIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Update>;
|
|
154
147
|
}
|
|
155
148
|
/**
|
|
156
149
|
* UpdateApi - object-oriented interface
|
|
157
|
-
* @export
|
|
158
|
-
* @class UpdateApi
|
|
159
|
-
* @extends {BaseAPI}
|
|
160
150
|
*/
|
|
161
151
|
export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
162
152
|
/**
|
|
@@ -177,7 +167,6 @@ export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
177
167
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
178
168
|
* @param {*} [options] Override http request option.
|
|
179
169
|
* @throws {RequiredError}
|
|
180
|
-
* @memberof UpdateApi
|
|
181
170
|
*/
|
|
182
171
|
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update[], any, {}>>;
|
|
183
172
|
/**
|
|
@@ -186,13 +175,9 @@ export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
186
175
|
* @param {number} id Item id
|
|
187
176
|
* @param {*} [options] Override http request option.
|
|
188
177
|
* @throws {RequiredError}
|
|
189
|
-
* @memberof UpdateApi
|
|
190
178
|
*/
|
|
191
179
|
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update, any, {}>>;
|
|
192
180
|
}
|
|
193
|
-
/**
|
|
194
|
-
* @export
|
|
195
|
-
*/
|
|
196
181
|
export declare const UpdateGetStateEnum: {
|
|
197
182
|
readonly Inviato: "Inviato";
|
|
198
183
|
readonly Consegnato: "Consegnato";
|
|
@@ -31,7 +31,6 @@ import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setSearchParam
|
|
|
31
31
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
|
|
32
32
|
/**
|
|
33
33
|
* UpdateApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
34
|
*/
|
|
36
35
|
export const UpdateApiAxiosParamCreator = function (configuration) {
|
|
37
36
|
return {
|
|
@@ -115,6 +114,7 @@ export const UpdateApiAxiosParamCreator = function (configuration) {
|
|
|
115
114
|
if (sort !== undefined) {
|
|
116
115
|
localVarQueryParameter['sort'] = sort;
|
|
117
116
|
}
|
|
117
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
118
118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
119
119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
120
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -147,6 +147,7 @@ export const UpdateApiAxiosParamCreator = function (configuration) {
|
|
|
147
147
|
// authentication Basic required
|
|
148
148
|
// http basic authentication required
|
|
149
149
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
150
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
150
151
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
151
152
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
153
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -159,7 +160,6 @@ export const UpdateApiAxiosParamCreator = function (configuration) {
|
|
|
159
160
|
};
|
|
160
161
|
/**
|
|
161
162
|
* UpdateApi - functional programming interface
|
|
162
|
-
* @export
|
|
163
163
|
*/
|
|
164
164
|
export const UpdateApiFp = function (configuration) {
|
|
165
165
|
const localVarAxiosParamCreator = UpdateApiAxiosParamCreator(configuration);
|
|
@@ -212,7 +212,6 @@ export const UpdateApiFp = function (configuration) {
|
|
|
212
212
|
};
|
|
213
213
|
/**
|
|
214
214
|
* UpdateApi - factory interface
|
|
215
|
-
* @export
|
|
216
215
|
*/
|
|
217
216
|
export const UpdateApiFactory = function (configuration, basePath, axios) {
|
|
218
217
|
const localVarFp = UpdateApiFp(configuration);
|
|
@@ -253,9 +252,6 @@ export const UpdateApiFactory = function (configuration, basePath, axios) {
|
|
|
253
252
|
};
|
|
254
253
|
/**
|
|
255
254
|
* UpdateApi - object-oriented interface
|
|
256
|
-
* @export
|
|
257
|
-
* @class UpdateApi
|
|
258
|
-
* @extends {BaseAPI}
|
|
259
255
|
*/
|
|
260
256
|
export class UpdateApi extends BaseAPI {
|
|
261
257
|
/**
|
|
@@ -276,7 +272,6 @@ export class UpdateApi extends BaseAPI {
|
|
|
276
272
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
277
273
|
* @param {*} [options] Override http request option.
|
|
278
274
|
* @throws {RequiredError}
|
|
279
|
-
* @memberof UpdateApi
|
|
280
275
|
*/
|
|
281
276
|
updateGet(companyId, identifier, prestatore, unread, sendId, state, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, page, pageSize, sort, options) {
|
|
282
277
|
return UpdateApiFp(this.configuration).updateGet(companyId, identifier, prestatore, unread, sendId, state, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -287,15 +282,11 @@ export class UpdateApi extends BaseAPI {
|
|
|
287
282
|
* @param {number} id Item id
|
|
288
283
|
* @param {*} [options] Override http request option.
|
|
289
284
|
* @throws {RequiredError}
|
|
290
|
-
* @memberof UpdateApi
|
|
291
285
|
*/
|
|
292
286
|
updateIdGet(id, options) {
|
|
293
287
|
return UpdateApiFp(this.configuration).updateIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
294
288
|
}
|
|
295
289
|
}
|
|
296
|
-
/**
|
|
297
|
-
* @export
|
|
298
|
-
*/
|
|
299
290
|
export const UpdateGetStateEnum = {
|
|
300
291
|
Inviato: 'Inviato',
|
|
301
292
|
Consegnato: 'Consegnato',
|
|
@@ -16,7 +16,6 @@ import type { WebHook } from '../../src/models';
|
|
|
16
16
|
import type { WebHookHistory } from '../../src/models';
|
|
17
17
|
/**
|
|
18
18
|
* WebhookApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
19
|
*/
|
|
21
20
|
export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
21
|
/**
|
|
@@ -88,7 +87,6 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
88
87
|
};
|
|
89
88
|
/**
|
|
90
89
|
* WebhookApi - functional programming interface
|
|
91
|
-
* @export
|
|
92
90
|
*/
|
|
93
91
|
export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
94
92
|
/**
|
|
@@ -160,7 +158,6 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
160
158
|
};
|
|
161
159
|
/**
|
|
162
160
|
* WebhookApi - factory interface
|
|
163
|
-
* @export
|
|
164
161
|
*/
|
|
165
162
|
export declare const WebhookApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
166
163
|
/**
|
|
@@ -232,8 +229,6 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
232
229
|
};
|
|
233
230
|
/**
|
|
234
231
|
* WebhookApi - interface
|
|
235
|
-
* @export
|
|
236
|
-
* @interface WebhookApi
|
|
237
232
|
*/
|
|
238
233
|
export interface WebhookApiInterface {
|
|
239
234
|
/**
|
|
@@ -249,7 +244,6 @@ export interface WebhookApiInterface {
|
|
|
249
244
|
* @param {string} [url]
|
|
250
245
|
* @param {*} [options] Override http request option.
|
|
251
246
|
* @throws {RequiredError}
|
|
252
|
-
* @memberof WebhookApiInterface
|
|
253
247
|
*/
|
|
254
248
|
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WebHook>>;
|
|
255
249
|
/**
|
|
@@ -258,7 +252,6 @@ export interface WebhookApiInterface {
|
|
|
258
252
|
* @param {number} id Item id
|
|
259
253
|
* @param {*} [options] Override http request option.
|
|
260
254
|
* @throws {RequiredError}
|
|
261
|
-
* @memberof WebhookApiInterface
|
|
262
255
|
*/
|
|
263
256
|
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
264
257
|
/**
|
|
@@ -267,7 +260,6 @@ export interface WebhookApiInterface {
|
|
|
267
260
|
* @param {number} id Item id
|
|
268
261
|
* @param {*} [options] Override http request option.
|
|
269
262
|
* @throws {RequiredError}
|
|
270
|
-
* @memberof WebhookApiInterface
|
|
271
263
|
*/
|
|
272
264
|
webhookIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
273
265
|
/**
|
|
@@ -276,7 +268,6 @@ export interface WebhookApiInterface {
|
|
|
276
268
|
* @param {WebHook} webHook
|
|
277
269
|
* @param {*} [options] Override http request option.
|
|
278
270
|
* @throws {RequiredError}
|
|
279
|
-
* @memberof WebhookApiInterface
|
|
280
271
|
*/
|
|
281
272
|
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
282
273
|
/**
|
|
@@ -285,7 +276,6 @@ export interface WebhookApiInterface {
|
|
|
285
276
|
* @param {WebHook} webHook
|
|
286
277
|
* @param {*} [options] Override http request option.
|
|
287
278
|
* @throws {RequiredError}
|
|
288
|
-
* @memberof WebhookApiInterface
|
|
289
279
|
*/
|
|
290
280
|
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): AxiosPromise<WebHook>;
|
|
291
281
|
/**
|
|
@@ -297,7 +287,6 @@ export interface WebhookApiInterface {
|
|
|
297
287
|
* @param {number} [webhookId] WebHook id
|
|
298
288
|
* @param {*} [options] Override http request option.
|
|
299
289
|
* @throws {RequiredError}
|
|
300
|
-
* @memberof WebhookApiInterface
|
|
301
290
|
*/
|
|
302
291
|
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<WebHookHistory>>;
|
|
303
292
|
/**
|
|
@@ -306,15 +295,11 @@ export interface WebhookApiInterface {
|
|
|
306
295
|
* @param {number} id Item id
|
|
307
296
|
* @param {*} [options] Override http request option.
|
|
308
297
|
* @throws {RequiredError}
|
|
309
|
-
* @memberof WebhookApiInterface
|
|
310
298
|
*/
|
|
311
299
|
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<WebHookHistory>;
|
|
312
300
|
}
|
|
313
301
|
/**
|
|
314
302
|
* WebhookApi - object-oriented interface
|
|
315
|
-
* @export
|
|
316
|
-
* @class WebhookApi
|
|
317
|
-
* @extends {BaseAPI}
|
|
318
303
|
*/
|
|
319
304
|
export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
320
305
|
/**
|
|
@@ -330,7 +315,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
330
315
|
* @param {string} [url]
|
|
331
316
|
* @param {*} [options] Override http request option.
|
|
332
317
|
* @throws {RequiredError}
|
|
333
|
-
* @memberof WebhookApi
|
|
334
318
|
*/
|
|
335
319
|
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook[], any, {}>>;
|
|
336
320
|
/**
|
|
@@ -339,7 +323,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
339
323
|
* @param {number} id Item id
|
|
340
324
|
* @param {*} [options] Override http request option.
|
|
341
325
|
* @throws {RequiredError}
|
|
342
|
-
* @memberof WebhookApi
|
|
343
326
|
*/
|
|
344
327
|
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
345
328
|
/**
|
|
@@ -348,7 +331,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
348
331
|
* @param {number} id Item id
|
|
349
332
|
* @param {*} [options] Override http request option.
|
|
350
333
|
* @throws {RequiredError}
|
|
351
|
-
* @memberof WebhookApi
|
|
352
334
|
*/
|
|
353
335
|
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
354
336
|
/**
|
|
@@ -357,7 +339,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
357
339
|
* @param {WebHook} webHook
|
|
358
340
|
* @param {*} [options] Override http request option.
|
|
359
341
|
* @throws {RequiredError}
|
|
360
|
-
* @memberof WebhookApi
|
|
361
342
|
*/
|
|
362
343
|
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
363
344
|
/**
|
|
@@ -366,7 +347,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
366
347
|
* @param {WebHook} webHook
|
|
367
348
|
* @param {*} [options] Override http request option.
|
|
368
349
|
* @throws {RequiredError}
|
|
369
|
-
* @memberof WebhookApi
|
|
370
350
|
*/
|
|
371
351
|
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
372
352
|
/**
|
|
@@ -378,7 +358,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
378
358
|
* @param {number} [webhookId] WebHook id
|
|
379
359
|
* @param {*} [options] Override http request option.
|
|
380
360
|
* @throws {RequiredError}
|
|
381
|
-
* @memberof WebhookApi
|
|
382
361
|
*/
|
|
383
362
|
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any, {}>>;
|
|
384
363
|
/**
|
|
@@ -387,7 +366,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
387
366
|
* @param {number} id Item id
|
|
388
367
|
* @param {*} [options] Override http request option.
|
|
389
368
|
* @throws {RequiredError}
|
|
390
|
-
* @memberof WebhookApi
|
|
391
369
|
*/
|
|
392
370
|
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory, any, {}>>;
|
|
393
371
|
}
|