@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
package/src/api/send-api.ts
CHANGED
|
@@ -34,7 +34,6 @@ import type { ProblemHttpResult } from '../../src/models';
|
|
|
34
34
|
import type { Send } from '../../src/models';
|
|
35
35
|
/**
|
|
36
36
|
* SendApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
export const SendApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
39
|
return {
|
|
@@ -79,10 +78,9 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
79
78
|
if (file !== undefined) {
|
|
80
79
|
localVarFormParams.append('file', file as any);
|
|
81
80
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
81
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
85
|
-
|
|
82
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
83
|
+
|
|
86
84
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87
85
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
86
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -208,8 +206,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
208
206
|
localVarQueryParameter['sort'] = sort;
|
|
209
207
|
}
|
|
210
208
|
|
|
209
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
211
210
|
|
|
212
|
-
|
|
213
211
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
214
212
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
215
213
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -251,8 +249,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
251
249
|
localVarQueryParameter['include_payload'] = includePayload;
|
|
252
250
|
}
|
|
253
251
|
|
|
252
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
254
253
|
|
|
255
|
-
|
|
256
254
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
257
255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
256
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -294,8 +292,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
294
292
|
localVarQueryParameter['include_payload'] = includePayload;
|
|
295
293
|
}
|
|
296
294
|
|
|
295
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
297
296
|
|
|
298
|
-
|
|
299
297
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
300
298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
301
299
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -341,9 +339,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
341
339
|
localVarQueryParameter['signature'] = signature;
|
|
342
340
|
}
|
|
343
341
|
|
|
344
|
-
|
|
345
|
-
|
|
346
342
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
343
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
347
344
|
|
|
348
345
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
349
346
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -391,9 +388,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
391
388
|
localVarQueryParameter['signature'] = signature;
|
|
392
389
|
}
|
|
393
390
|
|
|
394
|
-
|
|
395
|
-
|
|
396
391
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
392
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
397
393
|
|
|
398
394
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
399
395
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -436,10 +432,9 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
436
432
|
if (file !== undefined) {
|
|
437
433
|
localVarFormParams.append('file', file as any);
|
|
438
434
|
}
|
|
439
|
-
|
|
440
|
-
|
|
441
435
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
442
|
-
|
|
436
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
437
|
+
|
|
443
438
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
444
439
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
445
440
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -476,9 +471,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
476
471
|
// http basic authentication required
|
|
477
472
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
478
473
|
|
|
479
|
-
|
|
480
|
-
|
|
481
474
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
475
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
482
476
|
|
|
483
477
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
484
478
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -516,9 +510,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
516
510
|
// http basic authentication required
|
|
517
511
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
518
512
|
|
|
519
|
-
|
|
520
|
-
|
|
521
513
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
514
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
522
515
|
|
|
523
516
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
524
517
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -556,9 +549,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
556
549
|
// http basic authentication required
|
|
557
550
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
558
551
|
|
|
559
|
-
|
|
560
|
-
|
|
561
552
|
localVarHeaderParameter['Content-Type'] = 'application/xml';
|
|
553
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
562
554
|
|
|
563
555
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
564
556
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -606,9 +598,8 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
606
598
|
localVarQueryParameter['signature'] = signature;
|
|
607
599
|
}
|
|
608
600
|
|
|
609
|
-
|
|
610
|
-
|
|
611
601
|
localVarHeaderParameter['Content-Type'] = 'application/xml';
|
|
602
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
612
603
|
|
|
613
604
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
614
605
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -625,7 +616,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
625
616
|
|
|
626
617
|
/**
|
|
627
618
|
* SendApi - functional programming interface
|
|
628
|
-
* @export
|
|
629
619
|
*/
|
|
630
620
|
export const SendApiFp = function(configuration?: Configuration) {
|
|
631
621
|
const localVarAxiosParamCreator = SendApiAxiosParamCreator(configuration)
|
|
@@ -803,7 +793,6 @@ export const SendApiFp = function(configuration?: Configuration) {
|
|
|
803
793
|
|
|
804
794
|
/**
|
|
805
795
|
* SendApi - factory interface
|
|
806
|
-
* @export
|
|
807
796
|
*/
|
|
808
797
|
export const SendApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
809
798
|
const localVarFp = SendApiFp(configuration)
|
|
@@ -948,8 +937,6 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
|
|
|
948
937
|
|
|
949
938
|
/**
|
|
950
939
|
* SendApi - interface
|
|
951
|
-
* @export
|
|
952
|
-
* @interface SendApi
|
|
953
940
|
*/
|
|
954
941
|
export interface SendApiInterface {
|
|
955
942
|
/**
|
|
@@ -960,7 +947,6 @@ export interface SendApiInterface {
|
|
|
960
947
|
* @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
961
948
|
* @param {*} [options] Override http request option.
|
|
962
949
|
* @throws {RequiredError}
|
|
963
|
-
* @memberof SendApiInterface
|
|
964
950
|
*/
|
|
965
951
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
966
952
|
|
|
@@ -985,7 +971,6 @@ export interface SendApiInterface {
|
|
|
985
971
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
986
972
|
* @param {*} [options] Override http request option.
|
|
987
973
|
* @throws {RequiredError}
|
|
988
|
-
* @memberof SendApiInterface
|
|
989
974
|
*/
|
|
990
975
|
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>>;
|
|
991
976
|
|
|
@@ -996,7 +981,6 @@ export interface SendApiInterface {
|
|
|
996
981
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
997
982
|
* @param {*} [options] Override http request option.
|
|
998
983
|
* @throws {RequiredError}
|
|
999
|
-
* @memberof SendApiInterface
|
|
1000
984
|
*/
|
|
1001
985
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
1002
986
|
|
|
@@ -1007,7 +991,6 @@ export interface SendApiInterface {
|
|
|
1007
991
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
1008
992
|
* @param {*} [options] Override http request option.
|
|
1009
993
|
* @throws {RequiredError}
|
|
1010
|
-
* @memberof SendApiInterface
|
|
1011
994
|
*/
|
|
1012
995
|
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
1013
996
|
|
|
@@ -1019,7 +1002,6 @@ export interface SendApiInterface {
|
|
|
1019
1002
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1020
1003
|
* @param {*} [options] Override http request option.
|
|
1021
1004
|
* @throws {RequiredError}
|
|
1022
|
-
* @memberof SendApiInterface
|
|
1023
1005
|
*/
|
|
1024
1006
|
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
1025
1007
|
|
|
@@ -1031,7 +1013,6 @@ export interface SendApiInterface {
|
|
|
1031
1013
|
* @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1032
1014
|
* @param {*} [options] Override http request option.
|
|
1033
1015
|
* @throws {RequiredError}
|
|
1034
|
-
* @memberof SendApiInterface
|
|
1035
1016
|
*/
|
|
1036
1017
|
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
1037
1018
|
|
|
@@ -1041,7 +1022,6 @@ export interface SendApiInterface {
|
|
|
1041
1022
|
* @param {File} file
|
|
1042
1023
|
* @param {*} [options] Override http request option.
|
|
1043
1024
|
* @throws {RequiredError}
|
|
1044
|
-
* @memberof SendApiInterface
|
|
1045
1025
|
*/
|
|
1046
1026
|
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1047
1027
|
|
|
@@ -1051,7 +1031,6 @@ export interface SendApiInterface {
|
|
|
1051
1031
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1052
1032
|
* @param {*} [options] Override http request option.
|
|
1053
1033
|
* @throws {RequiredError}
|
|
1054
|
-
* @memberof SendApiInterface
|
|
1055
1034
|
*/
|
|
1056
1035
|
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1057
1036
|
|
|
@@ -1061,7 +1040,6 @@ export interface SendApiInterface {
|
|
|
1061
1040
|
* @param {Send} send
|
|
1062
1041
|
* @param {*} [options] Override http request option.
|
|
1063
1042
|
* @throws {RequiredError}
|
|
1064
|
-
* @memberof SendApiInterface
|
|
1065
1043
|
*/
|
|
1066
1044
|
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1067
1045
|
|
|
@@ -1071,7 +1049,6 @@ export interface SendApiInterface {
|
|
|
1071
1049
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1072
1050
|
* @param {*} [options] Override http request option.
|
|
1073
1051
|
* @throws {RequiredError}
|
|
1074
|
-
* @memberof SendApiInterface
|
|
1075
1052
|
*/
|
|
1076
1053
|
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1077
1054
|
|
|
@@ -1083,7 +1060,6 @@ export interface SendApiInterface {
|
|
|
1083
1060
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1084
1061
|
* @param {*} [options] Override http request option.
|
|
1085
1062
|
* @throws {RequiredError}
|
|
1086
|
-
* @memberof SendApiInterface
|
|
1087
1063
|
*/
|
|
1088
1064
|
sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
1089
1065
|
|
|
@@ -1091,9 +1067,6 @@ export interface SendApiInterface {
|
|
|
1091
1067
|
|
|
1092
1068
|
/**
|
|
1093
1069
|
* SendApi - object-oriented interface
|
|
1094
|
-
* @export
|
|
1095
|
-
* @class SendApi
|
|
1096
|
-
* @extends {BaseAPI}
|
|
1097
1070
|
*/
|
|
1098
1071
|
export class SendApi extends BaseAPI implements SendApiInterface {
|
|
1099
1072
|
/**
|
|
@@ -1104,7 +1077,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1104
1077
|
* @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1105
1078
|
* @param {*} [options] Override http request option.
|
|
1106
1079
|
* @throws {RequiredError}
|
|
1107
|
-
* @memberof SendApi
|
|
1108
1080
|
*/
|
|
1109
1081
|
public sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig) {
|
|
1110
1082
|
return SendApiFp(this.configuration).sendFilePost(file, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1131,7 +1103,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1131
1103
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
1132
1104
|
* @param {*} [options] Override http request option.
|
|
1133
1105
|
* @throws {RequiredError}
|
|
1134
|
-
* @memberof SendApi
|
|
1135
1106
|
*/
|
|
1136
1107
|
public 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) {
|
|
1137
1108
|
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));
|
|
@@ -1144,7 +1115,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1144
1115
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
1145
1116
|
* @param {*} [options] Override http request option.
|
|
1146
1117
|
* @throws {RequiredError}
|
|
1147
|
-
* @memberof SendApi
|
|
1148
1118
|
*/
|
|
1149
1119
|
public sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig) {
|
|
1150
1120
|
return SendApiFp(this.configuration).sendIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1157,7 +1127,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1157
1127
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
1158
1128
|
* @param {*} [options] Override http request option.
|
|
1159
1129
|
* @throws {RequiredError}
|
|
1160
|
-
* @memberof SendApi
|
|
1161
1130
|
*/
|
|
1162
1131
|
public sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig) {
|
|
1163
1132
|
return SendApiFp(this.configuration).sendIdentifierGet(identifier, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1171,7 +1140,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1171
1140
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1172
1141
|
* @param {*} [options] Override http request option.
|
|
1173
1142
|
* @throws {RequiredError}
|
|
1174
|
-
* @memberof SendApi
|
|
1175
1143
|
*/
|
|
1176
1144
|
public sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig) {
|
|
1177
1145
|
return SendApiFp(this.configuration).sendJsonPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1185,7 +1153,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1185
1153
|
* @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1186
1154
|
* @param {*} [options] Override http request option.
|
|
1187
1155
|
* @throws {RequiredError}
|
|
1188
|
-
* @memberof SendApi
|
|
1189
1156
|
*/
|
|
1190
1157
|
public sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig) {
|
|
1191
1158
|
return SendApiFp(this.configuration).sendPost(send, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1197,7 +1164,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1197
1164
|
* @param {File} file
|
|
1198
1165
|
* @param {*} [options] Override http request option.
|
|
1199
1166
|
* @throws {RequiredError}
|
|
1200
|
-
* @memberof SendApi
|
|
1201
1167
|
*/
|
|
1202
1168
|
public sendValidateFilePost(file: File, options?: RawAxiosRequestConfig) {
|
|
1203
1169
|
return SendApiFp(this.configuration).sendValidateFilePost(file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1209,7 +1175,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1209
1175
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1210
1176
|
* @param {*} [options] Override http request option.
|
|
1211
1177
|
* @throws {RequiredError}
|
|
1212
|
-
* @memberof SendApi
|
|
1213
1178
|
*/
|
|
1214
1179
|
public sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig) {
|
|
1215
1180
|
return SendApiFp(this.configuration).sendValidateJsonPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1221,7 +1186,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1221
1186
|
* @param {Send} send
|
|
1222
1187
|
* @param {*} [options] Override http request option.
|
|
1223
1188
|
* @throws {RequiredError}
|
|
1224
|
-
* @memberof SendApi
|
|
1225
1189
|
*/
|
|
1226
1190
|
public sendValidatePost(send: Send, options?: RawAxiosRequestConfig) {
|
|
1227
1191
|
return SendApiFp(this.configuration).sendValidatePost(send, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1233,7 +1197,6 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1233
1197
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1234
1198
|
* @param {*} [options] Override http request option.
|
|
1235
1199
|
* @throws {RequiredError}
|
|
1236
|
-
* @memberof SendApi
|
|
1237
1200
|
*/
|
|
1238
1201
|
public sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig) {
|
|
1239
1202
|
return SendApiFp(this.configuration).sendValidateXmlPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1247,16 +1210,12 @@ export class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
1247
1210
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
1248
1211
|
* @param {*} [options] Override http request option.
|
|
1249
1212
|
* @throws {RequiredError}
|
|
1250
|
-
* @memberof SendApi
|
|
1251
1213
|
*/
|
|
1252
1214
|
public sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig) {
|
|
1253
1215
|
return SendApiFp(this.configuration).sendXmlPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
1254
1216
|
}
|
|
1255
1217
|
}
|
|
1256
1218
|
|
|
1257
|
-
/**
|
|
1258
|
-
* @export
|
|
1259
|
-
*/
|
|
1260
1219
|
export const SendFilePostSignatureEnum = {
|
|
1261
1220
|
None: 'None',
|
|
1262
1221
|
Apply: 'Apply',
|
|
@@ -1264,9 +1223,6 @@ export const SendFilePostSignatureEnum = {
|
|
|
1264
1223
|
Auto: 'Auto'
|
|
1265
1224
|
} as const;
|
|
1266
1225
|
export type SendFilePostSignatureEnum = typeof SendFilePostSignatureEnum[keyof typeof SendFilePostSignatureEnum];
|
|
1267
|
-
/**
|
|
1268
|
-
* @export
|
|
1269
|
-
*/
|
|
1270
1226
|
export const SendJsonPostSignatureEnum = {
|
|
1271
1227
|
None: 'None',
|
|
1272
1228
|
Apply: 'Apply',
|
|
@@ -1274,9 +1230,6 @@ export const SendJsonPostSignatureEnum = {
|
|
|
1274
1230
|
Auto: 'Auto'
|
|
1275
1231
|
} as const;
|
|
1276
1232
|
export type SendJsonPostSignatureEnum = typeof SendJsonPostSignatureEnum[keyof typeof SendJsonPostSignatureEnum];
|
|
1277
|
-
/**
|
|
1278
|
-
* @export
|
|
1279
|
-
*/
|
|
1280
1233
|
export const SendPostSignatureEnum = {
|
|
1281
1234
|
None: 'None',
|
|
1282
1235
|
Apply: 'Apply',
|
|
@@ -1284,9 +1237,6 @@ export const SendPostSignatureEnum = {
|
|
|
1284
1237
|
Auto: 'Auto'
|
|
1285
1238
|
} as const;
|
|
1286
1239
|
export type SendPostSignatureEnum = typeof SendPostSignatureEnum[keyof typeof SendPostSignatureEnum];
|
|
1287
|
-
/**
|
|
1288
|
-
* @export
|
|
1289
|
-
*/
|
|
1290
1240
|
export const SendXmlPostSignatureEnum = {
|
|
1291
1241
|
None: 'None',
|
|
1292
1242
|
Apply: 'Apply',
|
package/src/api/status-api.ts
CHANGED
|
@@ -28,7 +28,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
28
28
|
import type { Status } from '../../src/models';
|
|
29
29
|
/**
|
|
30
30
|
* StatusApi - axios parameter creator
|
|
31
|
-
* @export
|
|
32
31
|
*/
|
|
33
32
|
export const StatusApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
33
|
return {
|
|
@@ -55,8 +54,8 @@ export const StatusApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
55
54
|
// http basic authentication required
|
|
56
55
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
57
56
|
|
|
57
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58
58
|
|
|
59
|
-
|
|
60
59
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61
60
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62
61
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -71,7 +70,6 @@ export const StatusApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
71
70
|
|
|
72
71
|
/**
|
|
73
72
|
* StatusApi - functional programming interface
|
|
74
|
-
* @export
|
|
75
73
|
*/
|
|
76
74
|
export const StatusApiFp = function(configuration?: Configuration) {
|
|
77
75
|
const localVarAxiosParamCreator = StatusApiAxiosParamCreator(configuration)
|
|
@@ -93,7 +91,6 @@ export const StatusApiFp = function(configuration?: Configuration) {
|
|
|
93
91
|
|
|
94
92
|
/**
|
|
95
93
|
* StatusApi - factory interface
|
|
96
|
-
* @export
|
|
97
94
|
*/
|
|
98
95
|
export const StatusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
99
96
|
const localVarFp = StatusApiFp(configuration)
|
|
@@ -112,8 +109,6 @@ export const StatusApiFactory = function (configuration?: Configuration, basePat
|
|
|
112
109
|
|
|
113
110
|
/**
|
|
114
111
|
* StatusApi - interface
|
|
115
|
-
* @export
|
|
116
|
-
* @interface StatusApi
|
|
117
112
|
*/
|
|
118
113
|
export interface StatusApiInterface {
|
|
119
114
|
/**
|
|
@@ -121,7 +116,6 @@ export interface StatusApiInterface {
|
|
|
121
116
|
* @summary Account status
|
|
122
117
|
* @param {*} [options] Override http request option.
|
|
123
118
|
* @throws {RequiredError}
|
|
124
|
-
* @memberof StatusApiInterface
|
|
125
119
|
*/
|
|
126
120
|
statusGet(options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
127
121
|
|
|
@@ -129,9 +123,6 @@ export interface StatusApiInterface {
|
|
|
129
123
|
|
|
130
124
|
/**
|
|
131
125
|
* StatusApi - object-oriented interface
|
|
132
|
-
* @export
|
|
133
|
-
* @class StatusApi
|
|
134
|
-
* @extends {BaseAPI}
|
|
135
126
|
*/
|
|
136
127
|
export class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
137
128
|
/**
|
|
@@ -139,7 +130,6 @@ export class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
|
139
130
|
* @summary Account status
|
|
140
131
|
* @param {*} [options] Override http request option.
|
|
141
132
|
* @throws {RequiredError}
|
|
142
|
-
* @memberof StatusApi
|
|
143
133
|
*/
|
|
144
134
|
public statusGet(options?: RawAxiosRequestConfig) {
|
|
145
135
|
return StatusApiFp(this.configuration).statusGet(options).then((request) => request(this.axios, this.basePath));
|
package/src/api/update-api.ts
CHANGED
|
@@ -30,7 +30,6 @@ import type { ProblemHttpResult } from '../../src/models';
|
|
|
30
30
|
import type { Update } from '../../src/models';
|
|
31
31
|
/**
|
|
32
32
|
* UpdateApi - axios parameter creator
|
|
33
|
-
* @export
|
|
34
33
|
*/
|
|
35
34
|
export const UpdateApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
35
|
return {
|
|
@@ -130,8 +129,8 @@ export const UpdateApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
130
129
|
localVarQueryParameter['sort'] = sort;
|
|
131
130
|
}
|
|
132
131
|
|
|
132
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
133
133
|
|
|
134
|
-
|
|
135
134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
136
135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
136
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -168,8 +167,8 @@ export const UpdateApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
168
167
|
// http basic authentication required
|
|
169
168
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
170
169
|
|
|
170
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
171
171
|
|
|
172
|
-
|
|
173
172
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
174
173
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
175
174
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -184,7 +183,6 @@ export const UpdateApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
184
183
|
|
|
185
184
|
/**
|
|
186
185
|
* UpdateApi - functional programming interface
|
|
187
|
-
* @export
|
|
188
186
|
*/
|
|
189
187
|
export const UpdateApiFp = function(configuration?: Configuration) {
|
|
190
188
|
const localVarAxiosParamCreator = UpdateApiAxiosParamCreator(configuration)
|
|
@@ -232,7 +230,6 @@ export const UpdateApiFp = function(configuration?: Configuration) {
|
|
|
232
230
|
|
|
233
231
|
/**
|
|
234
232
|
* UpdateApi - factory interface
|
|
235
|
-
* @export
|
|
236
233
|
*/
|
|
237
234
|
export const UpdateApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
238
235
|
const localVarFp = UpdateApiFp(configuration)
|
|
@@ -274,8 +271,6 @@ export const UpdateApiFactory = function (configuration?: Configuration, basePat
|
|
|
274
271
|
|
|
275
272
|
/**
|
|
276
273
|
* UpdateApi - interface
|
|
277
|
-
* @export
|
|
278
|
-
* @interface UpdateApi
|
|
279
274
|
*/
|
|
280
275
|
export interface UpdateApiInterface {
|
|
281
276
|
/**
|
|
@@ -296,7 +291,6 @@ export interface UpdateApiInterface {
|
|
|
296
291
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
297
292
|
* @param {*} [options] Override http request option.
|
|
298
293
|
* @throws {RequiredError}
|
|
299
|
-
* @memberof UpdateApiInterface
|
|
300
294
|
*/
|
|
301
295
|
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>>;
|
|
302
296
|
|
|
@@ -306,7 +300,6 @@ export interface UpdateApiInterface {
|
|
|
306
300
|
* @param {number} id Item id
|
|
307
301
|
* @param {*} [options] Override http request option.
|
|
308
302
|
* @throws {RequiredError}
|
|
309
|
-
* @memberof UpdateApiInterface
|
|
310
303
|
*/
|
|
311
304
|
updateIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Update>;
|
|
312
305
|
|
|
@@ -314,9 +307,6 @@ export interface UpdateApiInterface {
|
|
|
314
307
|
|
|
315
308
|
/**
|
|
316
309
|
* UpdateApi - object-oriented interface
|
|
317
|
-
* @export
|
|
318
|
-
* @class UpdateApi
|
|
319
|
-
* @extends {BaseAPI}
|
|
320
310
|
*/
|
|
321
311
|
export class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
322
312
|
/**
|
|
@@ -337,7 +327,6 @@ export class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
337
327
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
338
328
|
* @param {*} [options] Override http request option.
|
|
339
329
|
* @throws {RequiredError}
|
|
340
|
-
* @memberof UpdateApi
|
|
341
330
|
*/
|
|
342
331
|
public 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) {
|
|
343
332
|
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));
|
|
@@ -349,16 +338,12 @@ export class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
349
338
|
* @param {number} id Item id
|
|
350
339
|
* @param {*} [options] Override http request option.
|
|
351
340
|
* @throws {RequiredError}
|
|
352
|
-
* @memberof UpdateApi
|
|
353
341
|
*/
|
|
354
342
|
public updateIdGet(id: number, options?: RawAxiosRequestConfig) {
|
|
355
343
|
return UpdateApiFp(this.configuration).updateIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
356
344
|
}
|
|
357
345
|
}
|
|
358
346
|
|
|
359
|
-
/**
|
|
360
|
-
* @export
|
|
361
|
-
*/
|
|
362
347
|
export const UpdateGetStateEnum = {
|
|
363
348
|
Inviato: 'Inviato',
|
|
364
349
|
Consegnato: 'Consegnato',
|