@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,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
|
}
|
package/docs/Event.md
CHANGED
|
@@ -11,14 +11,15 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**user_id** | **number** | User id. | [optional] [default to undefined]
|
|
12
12
|
**api_key_id** | **number** | Api key id. | [optional] [default to undefined]
|
|
13
13
|
**company_id** | **number** | Company id. | [optional] [default to undefined]
|
|
14
|
-
**method** | **string** | Request method. | [
|
|
15
|
-
**
|
|
16
|
-
**endpoint** | **string** | API endpoint. | [optional] [default to undefined]
|
|
14
|
+
**method** | **string** | Request method. | [default to undefined]
|
|
15
|
+
**endpoint** | **string** | API endpoint. | [default to undefined]
|
|
17
16
|
**api_version** | **number** | Api version. | [optional] [default to undefined]
|
|
18
17
|
**status_code** | **number** | Status code returned by the API. | [optional] [default to undefined]
|
|
19
18
|
**date_time** | **string** | Date and time of the request. | [optional] [default to undefined]
|
|
20
19
|
**error** | **string** | Response error. | [optional] [default to undefined]
|
|
20
|
+
**resource_id** | **number** | ID of the resource created or modified by this request. | [optional] [default to undefined]
|
|
21
21
|
**success** | **boolean** | Wether the request was successful. | [optional] [readonly] [default to undefined]
|
|
22
|
+
**query** | **string** | Request query. Only used for internal logging, not sent to webhooks. | [optional] [default to undefined]
|
|
22
23
|
**response_body** | **string** | Response payload. It is guaranteed to be cyphered at rest. | [optional] [default to undefined]
|
|
23
24
|
|
|
24
25
|
## Example
|
|
@@ -34,13 +35,14 @@ const instance: Event = {
|
|
|
34
35
|
api_key_id,
|
|
35
36
|
company_id,
|
|
36
37
|
method,
|
|
37
|
-
query,
|
|
38
38
|
endpoint,
|
|
39
39
|
api_version,
|
|
40
40
|
status_code,
|
|
41
41
|
date_time,
|
|
42
42
|
error,
|
|
43
|
+
resource_id,
|
|
43
44
|
success,
|
|
45
|
+
query,
|
|
44
46
|
response_body,
|
|
45
47
|
};
|
|
46
48
|
```
|
package/docs/Receive.md
CHANGED
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**identifier** | **string** | SDI identifier. This is set by the SDI and is guaranted to be unique within the SDI system. | [optional] [default to undefined]
|
|
16
16
|
**file_name** | **string** | Xml file name. | [optional] [default to undefined]
|
|
17
17
|
**format** | **string** | SDI format (FPA12, FPR12, FSM10, ...) | [optional] [default to undefined]
|
|
18
|
-
**payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\'s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [
|
|
18
|
+
**payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\'s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [default to undefined]
|
|
19
19
|
**last_update** | **string** | Last update from SDI. | [optional] [default to undefined]
|
|
20
20
|
**date_sent** | **string** | When the invoice was sent to SDI. | [optional] [default to undefined]
|
|
21
21
|
**documents** | [**Array<DocumentData>**](DocumentData.md) | The invoices included in the payload. This is set by the system, based on the xml content. | [optional] [default to undefined]
|
package/docs/Send.md
CHANGED
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**identifier** | **string** | SDI identifier. This is set by the SDI and is guaranted to be unique within the SDI system. | [optional] [default to undefined]
|
|
16
16
|
**file_name** | **string** | Xml file name. | [optional] [default to undefined]
|
|
17
17
|
**format** | **string** | SDI format (FPA12, FPR12, FSM10, ...) | [optional] [default to undefined]
|
|
18
|
-
**payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\'s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [
|
|
18
|
+
**payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\'s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [default to undefined]
|
|
19
19
|
**last_update** | **string** | Last update from SDI. | [optional] [default to undefined]
|
|
20
20
|
**date_sent** | **string** | When the invoice was sent to SDI. | [optional] [default to undefined]
|
|
21
21
|
**documents** | [**Array<DocumentData>**](DocumentData.md) | The invoices included in the payload. This is set by the system, based on the xml content. | [optional] [default to undefined]
|
package/docs/WebHook.md
CHANGED
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**version** | **number** | Row version, for optimistic concurrency. It is set automatically. | [optional] [default to undefined]
|
|
11
11
|
**user_id** | **number** | User id. | [optional] [default to undefined]
|
|
12
12
|
**company_id** | **number** | Company id. | [optional] [default to undefined]
|
|
13
|
-
**url** | **string** | The url of your application\'s endpoint that will receive a POST request when the webhook is fired. | [
|
|
13
|
+
**url** | **string** | The url of your application\'s endpoint that will receive a POST request when the webhook is fired. | [default to undefined]
|
|
14
14
|
**enabled** | **boolean** | Wether the webhook is enabled. On creation, this is set to `true`. | [optional] [default to undefined]
|
|
15
15
|
**secret** | **string** | 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. | [optional] [default to undefined]
|
|
16
16
|
**description** | **string** | An optional description. | [optional] [default to undefined]
|
package/package.json
CHANGED
package/src/api/company-api.ts
CHANGED
|
@@ -32,7 +32,6 @@ import type { ProblemDetails } from '../../src/models';
|
|
|
32
32
|
import type { ProblemHttpResult } from '../../src/models';
|
|
33
33
|
/**
|
|
34
34
|
* CompanyApi - axios parameter creator
|
|
35
|
-
* @export
|
|
36
35
|
*/
|
|
37
36
|
export const CompanyApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
37
|
return {
|
|
@@ -74,8 +73,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
74
73
|
localVarQueryParameter['sort'] = sort;
|
|
75
74
|
}
|
|
76
75
|
|
|
76
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
77
77
|
|
|
78
|
-
|
|
79
78
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
80
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -112,8 +111,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
112
111
|
// http basic authentication required
|
|
113
112
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
114
113
|
|
|
114
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
115
115
|
|
|
116
|
-
|
|
117
116
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
118
117
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
119
118
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -150,8 +149,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
150
149
|
// http basic authentication required
|
|
151
150
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
152
151
|
|
|
152
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
153
153
|
|
|
154
|
-
|
|
155
154
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
156
155
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
157
156
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -187,9 +186,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
187
186
|
// http basic authentication required
|
|
188
187
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
189
188
|
|
|
190
|
-
|
|
191
|
-
|
|
192
189
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
190
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
193
191
|
|
|
194
192
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
195
193
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -227,9 +225,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
227
225
|
// http basic authentication required
|
|
228
226
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
229
227
|
|
|
230
|
-
|
|
231
|
-
|
|
232
228
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
229
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
233
230
|
|
|
234
231
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
235
232
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -246,7 +243,6 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
246
243
|
|
|
247
244
|
/**
|
|
248
245
|
* CompanyApi - functional programming interface
|
|
249
|
-
* @export
|
|
250
246
|
*/
|
|
251
247
|
export const CompanyApiFp = function(configuration?: Configuration) {
|
|
252
248
|
const localVarAxiosParamCreator = CompanyApiAxiosParamCreator(configuration)
|
|
@@ -323,7 +319,6 @@ export const CompanyApiFp = function(configuration?: Configuration) {
|
|
|
323
319
|
|
|
324
320
|
/**
|
|
325
321
|
* CompanyApi - factory interface
|
|
326
|
-
* @export
|
|
327
322
|
*/
|
|
328
323
|
export const CompanyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
329
324
|
const localVarFp = CompanyApiFp(configuration)
|
|
@@ -385,8 +380,6 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
|
|
|
385
380
|
|
|
386
381
|
/**
|
|
387
382
|
* CompanyApi - interface
|
|
388
|
-
* @export
|
|
389
|
-
* @interface CompanyApi
|
|
390
383
|
*/
|
|
391
384
|
export interface CompanyApiInterface {
|
|
392
385
|
/**
|
|
@@ -397,7 +390,6 @@ export interface CompanyApiInterface {
|
|
|
397
390
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
398
391
|
* @param {*} [options] Override http request option.
|
|
399
392
|
* @throws {RequiredError}
|
|
400
|
-
* @memberof CompanyApiInterface
|
|
401
393
|
*/
|
|
402
394
|
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
|
|
403
395
|
|
|
@@ -407,7 +399,6 @@ export interface CompanyApiInterface {
|
|
|
407
399
|
* @param {number} id Item id
|
|
408
400
|
* @param {*} [options] Override http request option.
|
|
409
401
|
* @throws {RequiredError}
|
|
410
|
-
* @memberof CompanyApiInterface
|
|
411
402
|
*/
|
|
412
403
|
companyIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
413
404
|
|
|
@@ -417,7 +408,6 @@ export interface CompanyApiInterface {
|
|
|
417
408
|
* @param {number} id Item id
|
|
418
409
|
* @param {*} [options] Override http request option.
|
|
419
410
|
* @throws {RequiredError}
|
|
420
|
-
* @memberof CompanyApiInterface
|
|
421
411
|
*/
|
|
422
412
|
companyIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
423
413
|
|
|
@@ -427,7 +417,6 @@ export interface CompanyApiInterface {
|
|
|
427
417
|
* @param {Company} company
|
|
428
418
|
* @param {*} [options] Override http request option.
|
|
429
419
|
* @throws {RequiredError}
|
|
430
|
-
* @memberof CompanyApiInterface
|
|
431
420
|
*/
|
|
432
421
|
companyPost(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
433
422
|
|
|
@@ -437,7 +426,6 @@ export interface CompanyApiInterface {
|
|
|
437
426
|
* @param {Company} company
|
|
438
427
|
* @param {*} [options] Override http request option.
|
|
439
428
|
* @throws {RequiredError}
|
|
440
|
-
* @memberof CompanyApiInterface
|
|
441
429
|
*/
|
|
442
430
|
companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
|
|
443
431
|
|
|
@@ -445,9 +433,6 @@ export interface CompanyApiInterface {
|
|
|
445
433
|
|
|
446
434
|
/**
|
|
447
435
|
* CompanyApi - object-oriented interface
|
|
448
|
-
* @export
|
|
449
|
-
* @class CompanyApi
|
|
450
|
-
* @extends {BaseAPI}
|
|
451
436
|
*/
|
|
452
437
|
export class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
453
438
|
/**
|
|
@@ -458,7 +443,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
458
443
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
459
444
|
* @param {*} [options] Override http request option.
|
|
460
445
|
* @throws {RequiredError}
|
|
461
|
-
* @memberof CompanyApi
|
|
462
446
|
*/
|
|
463
447
|
public companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) {
|
|
464
448
|
return CompanyApiFp(this.configuration).companyGet(page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -470,7 +454,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
470
454
|
* @param {number} id Item id
|
|
471
455
|
* @param {*} [options] Override http request option.
|
|
472
456
|
* @throws {RequiredError}
|
|
473
|
-
* @memberof CompanyApi
|
|
474
457
|
*/
|
|
475
458
|
public companyIdDelete(id: number, options?: RawAxiosRequestConfig) {
|
|
476
459
|
return CompanyApiFp(this.configuration).companyIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -482,7 +465,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
482
465
|
* @param {number} id Item id
|
|
483
466
|
* @param {*} [options] Override http request option.
|
|
484
467
|
* @throws {RequiredError}
|
|
485
|
-
* @memberof CompanyApi
|
|
486
468
|
*/
|
|
487
469
|
public companyIdGet(id: number, options?: RawAxiosRequestConfig) {
|
|
488
470
|
return CompanyApiFp(this.configuration).companyIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -494,7 +476,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
494
476
|
* @param {Company} company
|
|
495
477
|
* @param {*} [options] Override http request option.
|
|
496
478
|
* @throws {RequiredError}
|
|
497
|
-
* @memberof CompanyApi
|
|
498
479
|
*/
|
|
499
480
|
public companyPost(company: Company, options?: RawAxiosRequestConfig) {
|
|
500
481
|
return CompanyApiFp(this.configuration).companyPost(company, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -506,7 +487,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
506
487
|
* @param {Company} company
|
|
507
488
|
* @param {*} [options] Override http request option.
|
|
508
489
|
* @throws {RequiredError}
|
|
509
|
-
* @memberof CompanyApi
|
|
510
490
|
*/
|
|
511
491
|
public companyPut(company: Company, options?: RawAxiosRequestConfig) {
|
|
512
492
|
return CompanyApiFp(this.configuration).companyPut(company, options).then((request) => request(this.axios, this.basePath));
|
package/src/api/log-api.ts
CHANGED
|
@@ -30,7 +30,6 @@ import type { Event } from '../../src/models';
|
|
|
30
30
|
import type { ProblemHttpResult } from '../../src/models';
|
|
31
31
|
/**
|
|
32
32
|
* LogApi - axios parameter creator
|
|
33
|
-
* @export
|
|
34
33
|
*/
|
|
35
34
|
export const LogApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
35
|
return {
|
|
@@ -135,8 +134,8 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
135
134
|
dateTimeTo;
|
|
136
135
|
}
|
|
137
136
|
|
|
137
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
138
138
|
|
|
139
|
-
|
|
140
139
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
141
140
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
142
141
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -173,8 +172,8 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
173
172
|
// http basic authentication required
|
|
174
173
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
175
174
|
|
|
175
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
176
176
|
|
|
177
|
-
|
|
178
177
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
179
178
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
180
179
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -189,7 +188,6 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
189
188
|
|
|
190
189
|
/**
|
|
191
190
|
* LogApi - functional programming interface
|
|
192
|
-
* @export
|
|
193
191
|
*/
|
|
194
192
|
export const LogApiFp = function(configuration?: Configuration) {
|
|
195
193
|
const localVarAxiosParamCreator = LogApiAxiosParamCreator(configuration)
|
|
@@ -238,7 +236,6 @@ export const LogApiFp = function(configuration?: Configuration) {
|
|
|
238
236
|
|
|
239
237
|
/**
|
|
240
238
|
* LogApi - factory interface
|
|
241
|
-
* @export
|
|
242
239
|
*/
|
|
243
240
|
export const LogApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
244
241
|
const localVarFp = LogApiFp(configuration)
|
|
@@ -281,8 +278,6 @@ export const LogApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
281
278
|
|
|
282
279
|
/**
|
|
283
280
|
* LogApi - interface
|
|
284
|
-
* @export
|
|
285
|
-
* @interface LogApi
|
|
286
281
|
*/
|
|
287
282
|
export interface LogApiInterface {
|
|
288
283
|
/**
|
|
@@ -304,7 +299,6 @@ export interface LogApiInterface {
|
|
|
304
299
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
305
300
|
* @param {*} [options] Override http request option.
|
|
306
301
|
* @throws {RequiredError}
|
|
307
|
-
* @memberof LogApiInterface
|
|
308
302
|
*/
|
|
309
303
|
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>>;
|
|
310
304
|
|
|
@@ -314,7 +308,6 @@ export interface LogApiInterface {
|
|
|
314
308
|
* @param {number} id Item id
|
|
315
309
|
* @param {*} [options] Override http request option.
|
|
316
310
|
* @throws {RequiredError}
|
|
317
|
-
* @memberof LogApiInterface
|
|
318
311
|
*/
|
|
319
312
|
logIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Event>;
|
|
320
313
|
|
|
@@ -322,9 +315,6 @@ export interface LogApiInterface {
|
|
|
322
315
|
|
|
323
316
|
/**
|
|
324
317
|
* LogApi - object-oriented interface
|
|
325
|
-
* @export
|
|
326
|
-
* @class LogApi
|
|
327
|
-
* @extends {BaseAPI}
|
|
328
318
|
*/
|
|
329
319
|
export class LogApi extends BaseAPI implements LogApiInterface {
|
|
330
320
|
/**
|
|
@@ -346,7 +336,6 @@ export class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
346
336
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
347
337
|
* @param {*} [options] Override http request option.
|
|
348
338
|
* @throws {RequiredError}
|
|
349
|
-
* @memberof LogApi
|
|
350
339
|
*/
|
|
351
340
|
public 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) {
|
|
352
341
|
return 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));
|
|
@@ -358,7 +347,6 @@ export class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
358
347
|
* @param {number} id Item id
|
|
359
348
|
* @param {*} [options] Override http request option.
|
|
360
349
|
* @throws {RequiredError}
|
|
361
|
-
* @memberof LogApi
|
|
362
350
|
*/
|
|
363
351
|
public logIdGet(id: number, options?: RawAxiosRequestConfig) {
|
|
364
352
|
return LogApiFp(this.configuration).logIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
package/src/api/receive-api.ts
CHANGED
|
@@ -30,7 +30,6 @@ import type { ProblemHttpResult } from '../../src/models';
|
|
|
30
30
|
import type { Receive } from '../../src/models';
|
|
31
31
|
/**
|
|
32
32
|
* ReceiveApi - axios parameter creator
|
|
33
|
-
* @export
|
|
34
33
|
*/
|
|
35
34
|
export const ReceiveApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
35
|
return {
|
|
@@ -154,8 +153,8 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
154
153
|
localVarQueryParameter['sort'] = sort;
|
|
155
154
|
}
|
|
156
155
|
|
|
156
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
157
157
|
|
|
158
|
-
|
|
159
158
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
160
159
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
161
160
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -192,8 +191,8 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
192
191
|
// http basic authentication required
|
|
193
192
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
194
193
|
|
|
194
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
195
195
|
|
|
196
|
-
|
|
197
196
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
198
197
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
199
198
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -235,8 +234,8 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
235
234
|
localVarQueryParameter['include_payload'] = includePayload;
|
|
236
235
|
}
|
|
237
236
|
|
|
237
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
238
238
|
|
|
239
|
-
|
|
240
239
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
241
240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
242
241
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -251,7 +250,6 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
251
250
|
|
|
252
251
|
/**
|
|
253
252
|
* ReceiveApi - functional programming interface
|
|
254
|
-
* @export
|
|
255
253
|
*/
|
|
256
254
|
export const ReceiveApiFp = function(configuration?: Configuration) {
|
|
257
255
|
const localVarAxiosParamCreator = ReceiveApiAxiosParamCreator(configuration)
|
|
@@ -317,7 +315,6 @@ export const ReceiveApiFp = function(configuration?: Configuration) {
|
|
|
317
315
|
|
|
318
316
|
/**
|
|
319
317
|
* ReceiveApi - factory interface
|
|
320
|
-
* @export
|
|
321
318
|
*/
|
|
322
319
|
export const ReceiveApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
323
320
|
const localVarFp = ReceiveApiFp(configuration)
|
|
@@ -374,8 +371,6 @@ export const ReceiveApiFactory = function (configuration?: Configuration, basePa
|
|
|
374
371
|
|
|
375
372
|
/**
|
|
376
373
|
* ReceiveApi - interface
|
|
377
|
-
* @export
|
|
378
|
-
* @interface ReceiveApi
|
|
379
374
|
*/
|
|
380
375
|
export interface ReceiveApiInterface {
|
|
381
376
|
/**
|
|
@@ -400,7 +395,6 @@ export interface ReceiveApiInterface {
|
|
|
400
395
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
401
396
|
* @param {*} [options] Override http request option.
|
|
402
397
|
* @throws {RequiredError}
|
|
403
|
-
* @memberof ReceiveApiInterface
|
|
404
398
|
*/
|
|
405
399
|
receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>>;
|
|
406
400
|
|
|
@@ -410,7 +404,6 @@ export interface ReceiveApiInterface {
|
|
|
410
404
|
* @param {number} id Item id
|
|
411
405
|
* @param {*} [options] Override http request option.
|
|
412
406
|
* @throws {RequiredError}
|
|
413
|
-
* @memberof ReceiveApiInterface
|
|
414
407
|
*/
|
|
415
408
|
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
416
409
|
|
|
@@ -421,7 +414,6 @@ export interface ReceiveApiInterface {
|
|
|
421
414
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
422
415
|
* @param {*} [options] Override http request option.
|
|
423
416
|
* @throws {RequiredError}
|
|
424
|
-
* @memberof ReceiveApiInterface
|
|
425
417
|
*/
|
|
426
418
|
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
|
|
427
419
|
|
|
@@ -429,9 +421,6 @@ export interface ReceiveApiInterface {
|
|
|
429
421
|
|
|
430
422
|
/**
|
|
431
423
|
* ReceiveApi - object-oriented interface
|
|
432
|
-
* @export
|
|
433
|
-
* @class ReceiveApi
|
|
434
|
-
* @extends {BaseAPI}
|
|
435
424
|
*/
|
|
436
425
|
export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
437
426
|
/**
|
|
@@ -456,7 +445,6 @@ export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
456
445
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
457
446
|
* @param {*} [options] Override http request option.
|
|
458
447
|
* @throws {RequiredError}
|
|
459
|
-
* @memberof ReceiveApi
|
|
460
448
|
*/
|
|
461
449
|
public receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) {
|
|
462
450
|
return ReceiveApiFp(this.configuration).receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -468,7 +456,6 @@ export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
468
456
|
* @param {number} id Item id
|
|
469
457
|
* @param {*} [options] Override http request option.
|
|
470
458
|
* @throws {RequiredError}
|
|
471
|
-
* @memberof ReceiveApi
|
|
472
459
|
*/
|
|
473
460
|
public receiveIdDelete(id: number, options?: RawAxiosRequestConfig) {
|
|
474
461
|
return ReceiveApiFp(this.configuration).receiveIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -481,7 +468,6 @@ export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
481
468
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
482
469
|
* @param {*} [options] Override http request option.
|
|
483
470
|
* @throws {RequiredError}
|
|
484
|
-
* @memberof ReceiveApi
|
|
485
471
|
*/
|
|
486
472
|
public receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig) {
|
|
487
473
|
return ReceiveApiFp(this.configuration).receiveIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
|