@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
|
@@ -9,22 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Status
|
|
16
|
-
*/
|
|
17
12
|
export interface Status {
|
|
18
13
|
/**
|
|
19
14
|
* Operations (invoices and validations) left.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof Status
|
|
22
15
|
*/
|
|
23
16
|
'operation_left'?: number;
|
|
24
17
|
/**
|
|
25
18
|
* Signatures left.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof Status
|
|
28
19
|
*/
|
|
29
20
|
'signature_left'?: number;
|
|
30
21
|
}
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { DatiAnagrafici } from './dati-anagrafici';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TerzoIntermediarioOSoggettoEmittente
|
|
17
|
-
*/
|
|
18
13
|
export interface TerzoIntermediarioOSoggettoEmittente {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {DatiAnagrafici}
|
|
22
|
-
* @memberof TerzoIntermediarioOSoggettoEmittente
|
|
23
|
-
*/
|
|
24
14
|
'dati_anagrafici'?: DatiAnagrafici;
|
|
25
15
|
}
|
|
@@ -10,89 +10,55 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SendReduced } from './send-reduced';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Update
|
|
17
|
-
*/
|
|
18
13
|
export interface Update {
|
|
19
14
|
/**
|
|
20
15
|
* Unique identifier. Leave it at 0 for new records as it will be set automatically.
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof Update
|
|
23
16
|
*/
|
|
24
17
|
'id'?: number;
|
|
25
18
|
/**
|
|
26
19
|
* Creation date. It is set automatically.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Update
|
|
29
20
|
*/
|
|
30
21
|
'created'?: string;
|
|
31
22
|
/**
|
|
32
23
|
* Row version, for optimistic concurrency. It is set automatically.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof Update
|
|
35
24
|
*/
|
|
36
25
|
'version'?: number;
|
|
37
26
|
/**
|
|
38
27
|
* User id.
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof Update
|
|
41
28
|
*/
|
|
42
29
|
'user_id'?: number;
|
|
43
30
|
/**
|
|
44
31
|
* Company id.
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof Update
|
|
47
32
|
*/
|
|
48
33
|
'company_id'?: number;
|
|
49
34
|
/**
|
|
50
35
|
* Send id. This is the id of the sent invoice to which this update refers to.
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof Update
|
|
53
36
|
*/
|
|
54
37
|
'send_id'?: number;
|
|
55
38
|
/**
|
|
56
39
|
* Last update from SDI.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof Update
|
|
59
40
|
*/
|
|
60
41
|
'last_update'?: string;
|
|
61
42
|
/**
|
|
62
43
|
* State of the document. Theses are the possible values, as per the SDI documentation:
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof Update
|
|
65
44
|
*/
|
|
66
45
|
'state'?: UpdateStateEnum;
|
|
67
46
|
/**
|
|
68
47
|
* Description for the state.
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof Update
|
|
71
48
|
*/
|
|
72
49
|
'description'?: string | null;
|
|
73
50
|
/**
|
|
74
51
|
* SDI message id.
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof Update
|
|
77
52
|
*/
|
|
78
53
|
'message_id'?: string | null;
|
|
79
54
|
/**
|
|
80
55
|
* SDI errors, if any.
|
|
81
|
-
* @type {Array<Error>}
|
|
82
|
-
* @memberof Update
|
|
83
56
|
*/
|
|
84
57
|
'errors'?: Array<Error> | null;
|
|
85
58
|
/**
|
|
86
59
|
* Wether the item has been read at least once.
|
|
87
|
-
* @type {boolean}
|
|
88
|
-
* @memberof Update
|
|
89
60
|
*/
|
|
90
61
|
'is_read'?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {SendReduced}
|
|
94
|
-
* @memberof Update
|
|
95
|
-
*/
|
|
96
62
|
'send'?: SendReduced;
|
|
97
63
|
}
|
|
98
64
|
export declare const UpdateStateEnum: {
|
|
@@ -11,62 +11,42 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Webhook history.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface WebHookHistory
|
|
16
14
|
*/
|
|
17
15
|
export interface WebHookHistory {
|
|
18
16
|
/**
|
|
19
17
|
* Unique identifier. Leave it at 0 for new records as it will be set automatically.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof WebHookHistory
|
|
22
18
|
*/
|
|
23
19
|
'id'?: number;
|
|
24
20
|
/**
|
|
25
21
|
* Creation date. It is set automatically.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof WebHookHistory
|
|
28
22
|
*/
|
|
29
23
|
'created'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* Row version, for optimistic concurrency. It is set automatically.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof WebHookHistory
|
|
34
26
|
*/
|
|
35
27
|
'version'?: number;
|
|
36
28
|
/**
|
|
37
29
|
* Webhook id.
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof WebHookHistory
|
|
40
30
|
*/
|
|
41
31
|
'web_hook_id'?: number;
|
|
42
32
|
/**
|
|
43
33
|
* User id.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof WebHookHistory
|
|
46
34
|
*/
|
|
47
35
|
'user_id'?: number;
|
|
48
36
|
/**
|
|
49
37
|
* Event name.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof WebHookHistory
|
|
52
38
|
*/
|
|
53
39
|
'event'?: string | null;
|
|
54
40
|
/**
|
|
55
41
|
* Status code.
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof WebHookHistory
|
|
58
42
|
*/
|
|
59
43
|
'status_code'?: number;
|
|
60
44
|
/**
|
|
61
45
|
* Date and time of the request.
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof WebHookHistory
|
|
64
46
|
*/
|
|
65
47
|
'date_time'?: string;
|
|
66
48
|
/**
|
|
67
49
|
* Wether the request was successful.
|
|
68
|
-
* @type {boolean}
|
|
69
|
-
* @memberof WebHookHistory
|
|
70
50
|
*/
|
|
71
51
|
'success'?: boolean;
|
|
72
52
|
}
|
|
@@ -9,70 +9,45 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface WebHook
|
|
16
|
-
*/
|
|
17
12
|
export interface WebHook {
|
|
18
13
|
/**
|
|
19
14
|
* Unique identifier. Leave it at 0 for new records as it will be set automatically.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof WebHook
|
|
22
15
|
*/
|
|
23
16
|
'id'?: number;
|
|
24
17
|
/**
|
|
25
18
|
* Creation date. It is set automatically.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof WebHook
|
|
28
19
|
*/
|
|
29
20
|
'created'?: string;
|
|
30
21
|
/**
|
|
31
22
|
* Row version, for optimistic concurrency. It is set automatically.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof WebHook
|
|
34
23
|
*/
|
|
35
24
|
'version'?: number;
|
|
36
25
|
/**
|
|
37
26
|
* User id.
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof WebHook
|
|
40
27
|
*/
|
|
41
28
|
'user_id'?: number;
|
|
42
29
|
/**
|
|
43
30
|
* Company id.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof WebHook
|
|
46
31
|
*/
|
|
47
32
|
'company_id'?: number | null;
|
|
48
33
|
/**
|
|
49
34
|
* The url of your application\'s endpoint that will receive a POST request when the webhook is fired.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof WebHook
|
|
52
35
|
*/
|
|
53
|
-
'url'
|
|
36
|
+
'url': string;
|
|
54
37
|
/**
|
|
55
38
|
* Wether the webhook is enabled. On creation, this is set to `true`.
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @memberof WebHook
|
|
58
39
|
*/
|
|
59
40
|
'enabled'?: boolean;
|
|
60
41
|
/**
|
|
61
42
|
* The secret used to generate webhook signatures, only returned on creation. You should store this value securely and validate it on every call, to ensure that the caller is InvoicetronicApi.
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof WebHook
|
|
64
43
|
*/
|
|
65
44
|
'secret'?: string | null;
|
|
66
45
|
/**
|
|
67
46
|
* An optional description.
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof WebHook
|
|
70
47
|
*/
|
|
71
48
|
'description'?: string | null;
|
|
72
49
|
/**
|
|
73
50
|
* List of events to that trigger the webhook. See Invoicetronic.SupportedEvents.Available for a list of valid event names.
|
|
74
|
-
* @type {Array<string>}
|
|
75
|
-
* @memberof WebHook
|
|
76
51
|
*/
|
|
77
52
|
'events'?: Array<string> | null;
|
|
78
53
|
}
|
|
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
|
|
|
15
15
|
import type { Company } from '../../src/models';
|
|
16
16
|
/**
|
|
17
17
|
* CompanyApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
18
|
*/
|
|
20
19
|
export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
20
|
/**
|
|
@@ -63,7 +62,6 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
63
62
|
};
|
|
64
63
|
/**
|
|
65
64
|
* CompanyApi - functional programming interface
|
|
66
|
-
* @export
|
|
67
65
|
*/
|
|
68
66
|
export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
69
67
|
/**
|
|
@@ -111,7 +109,6 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
111
109
|
};
|
|
112
110
|
/**
|
|
113
111
|
* CompanyApi - factory interface
|
|
114
|
-
* @export
|
|
115
112
|
*/
|
|
116
113
|
export declare const CompanyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
117
114
|
/**
|
|
@@ -159,8 +156,6 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
159
156
|
};
|
|
160
157
|
/**
|
|
161
158
|
* CompanyApi - interface
|
|
162
|
-
* @export
|
|
163
|
-
* @interface CompanyApi
|
|
164
159
|
*/
|
|
165
160
|
export interface CompanyApiInterface {
|
|
166
161
|
/**
|
|
@@ -171,7 +166,6 @@ export interface CompanyApiInterface {
|
|
|
171
166
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
172
167
|
* @param {*} [options] Override http request option.
|
|
173
168
|
* @throws {RequiredError}
|
|
174
|
-
* @memberof CompanyApiInterface
|
|
175
169
|
*/
|
|
176
170
|
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
|
|
177
171
|
/**
|
|
@@ -180,7 +174,6 @@ export interface CompanyApiInterface {
|
|
|
180
174
|
* @param {number} id Item id
|
|
181
175
|
* @param {*} [options] Override http request option.
|
|
182
176
|
* @throws {RequiredError}
|
|
183
|
-
* @memberof CompanyApiInterface
|
|
184
177
|
*/
|
|
185
178
|
companyIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
186
179
|
/**
|
|
@@ -189,7 +182,6 @@ export interface CompanyApiInterface {
|
|
|
189
182
|
* @param {number} id Item id
|
|
190
183
|
* @param {*} [options] Override http request option.
|
|
191
184
|
* @throws {RequiredError}
|
|
192
|
-
* @memberof CompanyApiInterface
|
|
193
185
|
*/
|
|
194
186
|
companyIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
195
187
|
/**
|
|
@@ -198,7 +190,6 @@ export interface CompanyApiInterface {
|
|
|
198
190
|
* @param {Company} company
|
|
199
191
|
* @param {*} [options] Override http request option.
|
|
200
192
|
* @throws {RequiredError}
|
|
201
|
-
* @memberof CompanyApiInterface
|
|
202
193
|
*/
|
|
203
194
|
companyPost(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
204
195
|
/**
|
|
@@ -207,15 +198,11 @@ export interface CompanyApiInterface {
|
|
|
207
198
|
* @param {Company} company
|
|
208
199
|
* @param {*} [options] Override http request option.
|
|
209
200
|
* @throws {RequiredError}
|
|
210
|
-
* @memberof CompanyApiInterface
|
|
211
201
|
*/
|
|
212
202
|
companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
213
203
|
}
|
|
214
204
|
/**
|
|
215
205
|
* CompanyApi - object-oriented interface
|
|
216
|
-
* @export
|
|
217
|
-
* @class CompanyApi
|
|
218
|
-
* @extends {BaseAPI}
|
|
219
206
|
*/
|
|
220
207
|
export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
221
208
|
/**
|
|
@@ -226,7 +213,6 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
226
213
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
227
214
|
* @param {*} [options] Override http request option.
|
|
228
215
|
* @throws {RequiredError}
|
|
229
|
-
* @memberof CompanyApi
|
|
230
216
|
*/
|
|
231
217
|
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any, {}>>;
|
|
232
218
|
/**
|
|
@@ -235,7 +221,6 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
235
221
|
* @param {number} id Item id
|
|
236
222
|
* @param {*} [options] Override http request option.
|
|
237
223
|
* @throws {RequiredError}
|
|
238
|
-
* @memberof CompanyApi
|
|
239
224
|
*/
|
|
240
225
|
companyIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
241
226
|
/**
|
|
@@ -244,7 +229,6 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
244
229
|
* @param {number} id Item id
|
|
245
230
|
* @param {*} [options] Override http request option.
|
|
246
231
|
* @throws {RequiredError}
|
|
247
|
-
* @memberof CompanyApi
|
|
248
232
|
*/
|
|
249
233
|
companyIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
250
234
|
/**
|
|
@@ -253,7 +237,6 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
253
237
|
* @param {Company} company
|
|
254
238
|
* @param {*} [options] Override http request option.
|
|
255
239
|
* @throws {RequiredError}
|
|
256
|
-
* @memberof CompanyApi
|
|
257
240
|
*/
|
|
258
241
|
companyPost(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
259
242
|
/**
|
|
@@ -262,7 +245,6 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
262
245
|
* @param {Company} company
|
|
263
246
|
* @param {*} [options] Override http request option.
|
|
264
247
|
* @throws {RequiredError}
|
|
265
|
-
* @memberof CompanyApi
|
|
266
248
|
*/
|
|
267
249
|
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
268
250
|
}
|
|
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
|
|
|
34
34
|
const base_1 = require("../../base");
|
|
35
35
|
/**
|
|
36
36
|
* CompanyApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
const CompanyApiAxiosParamCreator = function (configuration) {
|
|
40
39
|
return {
|
|
@@ -70,6 +69,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
70
69
|
if (sort !== undefined) {
|
|
71
70
|
localVarQueryParameter['sort'] = sort;
|
|
72
71
|
}
|
|
72
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
73
73
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
74
74
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
75
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -102,6 +102,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
102
102
|
// authentication Basic required
|
|
103
103
|
// http basic authentication required
|
|
104
104
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
105
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
105
106
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
106
107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
108
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -134,6 +135,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
134
135
|
// authentication Basic required
|
|
135
136
|
// http basic authentication required
|
|
136
137
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
138
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
137
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
138
140
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
141
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -166,6 +168,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
166
168
|
// http basic authentication required
|
|
167
169
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
168
170
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
171
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
169
172
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
170
173
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
174
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -199,6 +202,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
199
202
|
// http basic authentication required
|
|
200
203
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
201
204
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
205
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
202
206
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
203
207
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
204
208
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -213,7 +217,6 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
213
217
|
exports.CompanyApiAxiosParamCreator = CompanyApiAxiosParamCreator;
|
|
214
218
|
/**
|
|
215
219
|
* CompanyApi - functional programming interface
|
|
216
|
-
* @export
|
|
217
220
|
*/
|
|
218
221
|
const CompanyApiFp = function (configuration) {
|
|
219
222
|
const localVarAxiosParamCreator = (0, exports.CompanyApiAxiosParamCreator)(configuration);
|
|
@@ -305,7 +308,6 @@ const CompanyApiFp = function (configuration) {
|
|
|
305
308
|
exports.CompanyApiFp = CompanyApiFp;
|
|
306
309
|
/**
|
|
307
310
|
* CompanyApi - factory interface
|
|
308
|
-
* @export
|
|
309
311
|
*/
|
|
310
312
|
const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
311
313
|
const localVarFp = (0, exports.CompanyApiFp)(configuration);
|
|
@@ -367,9 +369,6 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
367
369
|
exports.CompanyApiFactory = CompanyApiFactory;
|
|
368
370
|
/**
|
|
369
371
|
* CompanyApi - object-oriented interface
|
|
370
|
-
* @export
|
|
371
|
-
* @class CompanyApi
|
|
372
|
-
* @extends {BaseAPI}
|
|
373
372
|
*/
|
|
374
373
|
class CompanyApi extends base_1.BaseAPI {
|
|
375
374
|
/**
|
|
@@ -380,7 +379,6 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
380
379
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
381
380
|
* @param {*} [options] Override http request option.
|
|
382
381
|
* @throws {RequiredError}
|
|
383
|
-
* @memberof CompanyApi
|
|
384
382
|
*/
|
|
385
383
|
companyGet(page, pageSize, sort, options) {
|
|
386
384
|
return (0, exports.CompanyApiFp)(this.configuration).companyGet(page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -391,7 +389,6 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
391
389
|
* @param {number} id Item id
|
|
392
390
|
* @param {*} [options] Override http request option.
|
|
393
391
|
* @throws {RequiredError}
|
|
394
|
-
* @memberof CompanyApi
|
|
395
392
|
*/
|
|
396
393
|
companyIdDelete(id, options) {
|
|
397
394
|
return (0, exports.CompanyApiFp)(this.configuration).companyIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -402,7 +399,6 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
402
399
|
* @param {number} id Item id
|
|
403
400
|
* @param {*} [options] Override http request option.
|
|
404
401
|
* @throws {RequiredError}
|
|
405
|
-
* @memberof CompanyApi
|
|
406
402
|
*/
|
|
407
403
|
companyIdGet(id, options) {
|
|
408
404
|
return (0, exports.CompanyApiFp)(this.configuration).companyIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -413,7 +409,6 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
413
409
|
* @param {Company} company
|
|
414
410
|
* @param {*} [options] Override http request option.
|
|
415
411
|
* @throws {RequiredError}
|
|
416
|
-
* @memberof CompanyApi
|
|
417
412
|
*/
|
|
418
413
|
companyPost(company, options) {
|
|
419
414
|
return (0, exports.CompanyApiFp)(this.configuration).companyPost(company, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -424,7 +419,6 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
424
419
|
* @param {Company} company
|
|
425
420
|
* @param {*} [options] Override http request option.
|
|
426
421
|
* @throws {RequiredError}
|
|
427
|
-
* @memberof CompanyApi
|
|
428
422
|
*/
|
|
429
423
|
companyPut(company, options) {
|
|
430
424
|
return (0, exports.CompanyApiFp)(this.configuration).companyPut(company, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
|
|
|
15
15
|
import type { Event } from '../../src/models';
|
|
16
16
|
/**
|
|
17
17
|
* LogApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
18
|
*/
|
|
20
19
|
export declare const LogApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
20
|
/**
|
|
@@ -50,7 +49,6 @@ export declare const LogApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
50
49
|
};
|
|
51
50
|
/**
|
|
52
51
|
* LogApi - functional programming interface
|
|
53
|
-
* @export
|
|
54
52
|
*/
|
|
55
53
|
export declare const LogApiFp: (configuration?: Configuration) => {
|
|
56
54
|
/**
|
|
@@ -85,7 +83,6 @@ export declare const LogApiFp: (configuration?: Configuration) => {
|
|
|
85
83
|
};
|
|
86
84
|
/**
|
|
87
85
|
* LogApi - factory interface
|
|
88
|
-
* @export
|
|
89
86
|
*/
|
|
90
87
|
export declare const LogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
91
88
|
/**
|
|
@@ -120,8 +117,6 @@ export declare const LogApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
120
117
|
};
|
|
121
118
|
/**
|
|
122
119
|
* LogApi - interface
|
|
123
|
-
* @export
|
|
124
|
-
* @interface LogApi
|
|
125
120
|
*/
|
|
126
121
|
export interface LogApiInterface {
|
|
127
122
|
/**
|
|
@@ -143,7 +138,6 @@ export interface LogApiInterface {
|
|
|
143
138
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
144
139
|
* @param {*} [options] Override http request option.
|
|
145
140
|
* @throws {RequiredError}
|
|
146
|
-
* @memberof LogApiInterface
|
|
147
141
|
*/
|
|
148
142
|
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
|
|
149
143
|
/**
|
|
@@ -152,15 +146,11 @@ export interface LogApiInterface {
|
|
|
152
146
|
* @param {number} id Item id
|
|
153
147
|
* @param {*} [options] Override http request option.
|
|
154
148
|
* @throws {RequiredError}
|
|
155
|
-
* @memberof LogApiInterface
|
|
156
149
|
*/
|
|
157
150
|
logIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Event>;
|
|
158
151
|
}
|
|
159
152
|
/**
|
|
160
153
|
* LogApi - object-oriented interface
|
|
161
|
-
* @export
|
|
162
|
-
* @class LogApi
|
|
163
|
-
* @extends {BaseAPI}
|
|
164
154
|
*/
|
|
165
155
|
export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
166
156
|
/**
|
|
@@ -182,7 +172,6 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
182
172
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
183
173
|
* @param {*} [options] Override http request option.
|
|
184
174
|
* @throws {RequiredError}
|
|
185
|
-
* @memberof LogApi
|
|
186
175
|
*/
|
|
187
176
|
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any, {}>>;
|
|
188
177
|
/**
|
|
@@ -191,7 +180,6 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
191
180
|
* @param {number} id Item id
|
|
192
181
|
* @param {*} [options] Override http request option.
|
|
193
182
|
* @throws {RequiredError}
|
|
194
|
-
* @memberof LogApi
|
|
195
183
|
*/
|
|
196
184
|
logIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event, any, {}>>;
|
|
197
185
|
}
|
package/dist/src/api/log-api.js
CHANGED
|
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
|
|
|
34
34
|
const base_1 = require("../../base");
|
|
35
35
|
/**
|
|
36
36
|
* LogApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
37
|
*/
|
|
39
38
|
const LogApiAxiosParamCreator = function (configuration) {
|
|
40
39
|
return {
|
|
@@ -122,6 +121,7 @@ const LogApiAxiosParamCreator = function (configuration) {
|
|
|
122
121
|
dateTimeTo.toISOString() :
|
|
123
122
|
dateTimeTo;
|
|
124
123
|
}
|
|
124
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
125
125
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
126
126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
127
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -154,6 +154,7 @@ const LogApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
// authentication Basic required
|
|
155
155
|
// http basic authentication required
|
|
156
156
|
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
157
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
157
158
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
158
159
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
159
160
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -167,7 +168,6 @@ const LogApiAxiosParamCreator = function (configuration) {
|
|
|
167
168
|
exports.LogApiAxiosParamCreator = LogApiAxiosParamCreator;
|
|
168
169
|
/**
|
|
169
170
|
* LogApi - functional programming interface
|
|
170
|
-
* @export
|
|
171
171
|
*/
|
|
172
172
|
const LogApiFp = function (configuration) {
|
|
173
173
|
const localVarAxiosParamCreator = (0, exports.LogApiAxiosParamCreator)(configuration);
|
|
@@ -222,7 +222,6 @@ const LogApiFp = function (configuration) {
|
|
|
222
222
|
exports.LogApiFp = LogApiFp;
|
|
223
223
|
/**
|
|
224
224
|
* LogApi - factory interface
|
|
225
|
-
* @export
|
|
226
225
|
*/
|
|
227
226
|
const LogApiFactory = function (configuration, basePath, axios) {
|
|
228
227
|
const localVarFp = (0, exports.LogApiFp)(configuration);
|
|
@@ -265,9 +264,6 @@ const LogApiFactory = function (configuration, basePath, axios) {
|
|
|
265
264
|
exports.LogApiFactory = LogApiFactory;
|
|
266
265
|
/**
|
|
267
266
|
* LogApi - object-oriented interface
|
|
268
|
-
* @export
|
|
269
|
-
* @class LogApi
|
|
270
|
-
* @extends {BaseAPI}
|
|
271
267
|
*/
|
|
272
268
|
class LogApi extends base_1.BaseAPI {
|
|
273
269
|
/**
|
|
@@ -289,7 +285,6 @@ class LogApi extends base_1.BaseAPI {
|
|
|
289
285
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
290
286
|
* @param {*} [options] Override http request option.
|
|
291
287
|
* @throws {RequiredError}
|
|
292
|
-
* @memberof LogApi
|
|
293
288
|
*/
|
|
294
289
|
logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
|
|
295
290
|
return (0, exports.LogApiFp)(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -300,7 +295,6 @@ class LogApi extends base_1.BaseAPI {
|
|
|
300
295
|
* @param {number} id Item id
|
|
301
296
|
* @param {*} [options] Override http request option.
|
|
302
297
|
* @throws {RequiredError}
|
|
303
|
-
* @memberof LogApi
|
|
304
298
|
*/
|
|
305
299
|
logIdGet(id, options) {
|
|
306
300
|
return (0, exports.LogApiFp)(this.configuration).logIdGet(id, options).then((request) => request(this.axios, this.basePath));
|