@invoicetronic/ts-sdk 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +2 -2
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/src/api/company-api.d.ts +1 -1
- package/dist/esm/src/api/company-api.js +1 -1
- package/dist/esm/src/api/export-api.d.ts +1 -1
- package/dist/esm/src/api/export-api.js +1 -1
- package/dist/esm/src/api/health-api.d.ts +1 -1
- package/dist/esm/src/api/health-api.js +1 -1
- package/dist/esm/src/api/log-api.d.ts +11 -6
- package/dist/esm/src/api/log-api.js +15 -8
- package/dist/esm/src/api/receive-api.d.ts +1 -1
- package/dist/esm/src/api/receive-api.js +1 -1
- package/dist/esm/src/api/send-api.d.ts +1 -1
- package/dist/esm/src/api/send-api.js +1 -1
- package/dist/esm/src/api/status-api.d.ts +1 -1
- package/dist/esm/src/api/status-api.js +1 -1
- package/dist/esm/src/api/update-api.d.ts +1 -1
- package/dist/esm/src/api/update-api.js +1 -1
- package/dist/esm/src/api/webhook-api.d.ts +1 -1
- package/dist/esm/src/api/webhook-api.js +1 -1
- package/dist/esm/src/models/company.d.ts +1 -1
- package/dist/esm/src/models/company.js +1 -1
- package/dist/esm/src/models/document-data.d.ts +1 -1
- package/dist/esm/src/models/document-data.js +1 -1
- package/dist/esm/src/models/event.d.ts +5 -1
- package/dist/esm/src/models/event.js +1 -1
- package/dist/esm/src/models/index.d.ts +0 -1
- package/dist/esm/src/models/index.js +0 -1
- package/dist/esm/src/models/model-error.d.ts +1 -1
- package/dist/esm/src/models/model-error.js +1 -1
- package/dist/esm/src/models/problem-details.d.ts +1 -1
- package/dist/esm/src/models/problem-details.js +1 -1
- package/dist/esm/src/models/receive.d.ts +2 -2
- package/dist/esm/src/models/receive.js +1 -1
- package/dist/esm/src/models/send-reduced.d.ts +1 -1
- package/dist/esm/src/models/send-reduced.js +1 -1
- package/dist/esm/src/models/send.d.ts +2 -2
- package/dist/esm/src/models/send.js +1 -1
- package/dist/esm/src/models/status.d.ts +1 -1
- package/dist/esm/src/models/status.js +1 -1
- package/dist/esm/src/models/update.d.ts +1 -1
- package/dist/esm/src/models/update.js +1 -1
- package/dist/esm/src/models/web-hook-history.d.ts +1 -1
- package/dist/esm/src/models/web-hook-history.js +1 -1
- package/dist/esm/src/models/web-hook.d.ts +2 -2
- package/dist/esm/src/models/web-hook.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/src/api/company-api.d.ts +1 -1
- package/dist/src/api/company-api.js +1 -1
- package/dist/src/api/export-api.d.ts +1 -1
- package/dist/src/api/export-api.js +1 -1
- package/dist/src/api/health-api.d.ts +1 -1
- package/dist/src/api/health-api.js +1 -1
- package/dist/src/api/log-api.d.ts +11 -6
- package/dist/src/api/log-api.js +15 -8
- package/dist/src/api/receive-api.d.ts +1 -1
- package/dist/src/api/receive-api.js +1 -1
- package/dist/src/api/send-api.d.ts +1 -1
- package/dist/src/api/send-api.js +1 -1
- package/dist/src/api/status-api.d.ts +1 -1
- package/dist/src/api/status-api.js +1 -1
- package/dist/src/api/update-api.d.ts +1 -1
- package/dist/src/api/update-api.js +1 -1
- package/dist/src/api/webhook-api.d.ts +1 -1
- package/dist/src/api/webhook-api.js +1 -1
- package/dist/src/models/company.d.ts +1 -1
- package/dist/src/models/company.js +1 -1
- package/dist/src/models/document-data.d.ts +1 -1
- package/dist/src/models/document-data.js +1 -1
- package/dist/src/models/event.d.ts +5 -1
- package/dist/src/models/event.js +1 -1
- package/dist/src/models/index.d.ts +0 -1
- package/dist/src/models/index.js +0 -1
- package/dist/src/models/model-error.d.ts +1 -1
- package/dist/src/models/model-error.js +1 -1
- package/dist/src/models/problem-details.d.ts +1 -1
- package/dist/src/models/problem-details.js +1 -1
- package/dist/src/models/receive.d.ts +2 -2
- package/dist/src/models/receive.js +1 -1
- package/dist/src/models/send-reduced.d.ts +1 -1
- package/dist/src/models/send-reduced.js +1 -1
- package/dist/src/models/send.d.ts +2 -2
- package/dist/src/models/send.js +1 -1
- package/dist/src/models/status.d.ts +1 -1
- package/dist/src/models/status.js +1 -1
- package/dist/src/models/update.d.ts +1 -1
- package/dist/src/models/update.js +1 -1
- package/dist/src/models/web-hook-history.d.ts +1 -1
- package/dist/src/models/web-hook-history.js +1 -1
- package/dist/src/models/web-hook.d.ts +2 -2
- package/dist/src/models/web-hook.js +1 -1
- package/docs/CompanyApi.md +0 -7
- package/docs/Event.md +2 -0
- package/docs/LogApi.md +4 -2
- package/docs/Receive.md +1 -1
- package/docs/ReceiveApi.md +0 -4
- package/docs/Send.md +1 -1
- package/docs/SendApi.md +0 -10
- package/docs/UpdateApi.md +0 -1
- package/docs/WebHook.md +1 -1
- package/docs/WebhookApi.md +0 -7
- package/index.ts +1 -1
- package/package.json +1 -1
- package/src/api/company-api.ts +1 -3
- package/src/api/export-api.ts +1 -1
- package/src/api/health-api.ts +1 -1
- package/src/api/log-api.ts +18 -11
- package/src/api/receive-api.ts +1 -3
- package/src/api/send-api.ts +1 -3
- package/src/api/status-api.ts +1 -1
- package/src/api/update-api.ts +1 -3
- package/src/api/webhook-api.ts +1 -3
- package/src/models/company.ts +1 -1
- package/src/models/document-data.ts +1 -1
- package/src/models/event.ts +5 -1
- package/src/models/index.ts +0 -1
- package/src/models/model-error.ts +1 -1
- package/src/models/problem-details.ts +1 -1
- package/src/models/receive.ts +2 -2
- package/src/models/send-reduced.ts +1 -1
- package/src/models/send.ts +2 -2
- package/src/models/status.ts +1 -1
- package/src/models/update.ts +1 -1
- package/src/models/web-hook-history.ts +1 -1
- package/src/models/web-hook.ts +2 -2
- package/dist/esm/src/models/problem-http-result.d.ts +0 -17
- package/dist/esm/src/models/problem-http-result.js +0 -14
- package/dist/src/models/problem-http-result.d.ts +0 -17
- package/dist/src/models/problem-http-result.js +0 -15
- package/docs/ProblemHttpResult.md +0 -24
- package/src/models/problem-http-result.ts +0 -25
package/docs/SendApi.md
CHANGED
|
@@ -71,7 +71,6 @@ const { status, data } = await apiInstance.sendFilePost(
|
|
|
71
71
|
| Status code | Description | Response headers |
|
|
72
72
|
|-------------|-------------|------------------|
|
|
73
73
|
|**201** | Created | - |
|
|
74
|
-
|**400** | Bad Request | - |
|
|
75
74
|
|**422** | Unprocessable Content | - |
|
|
76
75
|
|
|
77
76
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -173,7 +172,6 @@ const { status, data } = await apiInstance.sendGet(
|
|
|
173
172
|
|-------------|-------------|------------------|
|
|
174
173
|
|**200** | OK | - |
|
|
175
174
|
|**404** | Not Found | - |
|
|
176
|
-
|**400** | Bad Request | - |
|
|
177
175
|
|
|
178
176
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
179
177
|
|
|
@@ -336,7 +334,6 @@ const { status, data } = await apiInstance.sendIdentifierGet(
|
|
|
336
334
|
|-------------|-------------|------------------|
|
|
337
335
|
|**200** | OK | - |
|
|
338
336
|
|**404** | Not Found | - |
|
|
339
|
-
|**400** | Bad Request | - |
|
|
340
337
|
|
|
341
338
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
342
339
|
|
|
@@ -394,7 +391,6 @@ const { status, data } = await apiInstance.sendJsonPost(
|
|
|
394
391
|
| Status code | Description | Response headers |
|
|
395
392
|
|-------------|-------------|------------------|
|
|
396
393
|
|**201** | Created | - |
|
|
397
|
-
|**400** | Bad Request | - |
|
|
398
394
|
|**422** | Unprocessable Content | - |
|
|
399
395
|
|
|
400
396
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -454,7 +450,6 @@ const { status, data } = await apiInstance.sendPost(
|
|
|
454
450
|
| Status code | Description | Response headers |
|
|
455
451
|
|-------------|-------------|------------------|
|
|
456
452
|
|**201** | Created | - |
|
|
457
|
-
|**400** | Bad Request | - |
|
|
458
453
|
|**422** | Unprocessable Content | - |
|
|
459
454
|
|
|
460
455
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -507,7 +502,6 @@ void (empty response body)
|
|
|
507
502
|
| Status code | Description | Response headers |
|
|
508
503
|
|-------------|-------------|------------------|
|
|
509
504
|
|**204** | No Content | - |
|
|
510
|
-
|**400** | Bad Request | - |
|
|
511
505
|
|**422** | Unprocessable Content | - |
|
|
512
506
|
|
|
513
507
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -560,7 +554,6 @@ void (empty response body)
|
|
|
560
554
|
| Status code | Description | Response headers |
|
|
561
555
|
|-------------|-------------|------------------|
|
|
562
556
|
|**204** | No Content | - |
|
|
563
|
-
|**400** | Bad Request | - |
|
|
564
557
|
|**422** | Unprocessable Content | - |
|
|
565
558
|
|
|
566
559
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -614,7 +607,6 @@ void (empty response body)
|
|
|
614
607
|
| Status code | Description | Response headers |
|
|
615
608
|
|-------------|-------------|------------------|
|
|
616
609
|
|**204** | No Content | - |
|
|
617
|
-
|**400** | Bad Request | - |
|
|
618
610
|
|**422** | Unprocessable Content | - |
|
|
619
611
|
|
|
620
612
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -667,7 +659,6 @@ void (empty response body)
|
|
|
667
659
|
| Status code | Description | Response headers |
|
|
668
660
|
|-------------|-------------|------------------|
|
|
669
661
|
|**204** | No Content | - |
|
|
670
|
-
|**400** | Bad Request | - |
|
|
671
662
|
|**422** | Unprocessable Content | - |
|
|
672
663
|
|
|
673
664
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -726,7 +717,6 @@ const { status, data } = await apiInstance.sendXmlPost(
|
|
|
726
717
|
| Status code | Description | Response headers |
|
|
727
718
|
|-------------|-------------|------------------|
|
|
728
719
|
|**201** | Created | - |
|
|
729
|
-
|**400** | Bad Request | - |
|
|
730
720
|
|**422** | Unprocessable Content | - |
|
|
731
721
|
|
|
732
722
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
package/docs/UpdateApi.md
CHANGED
|
@@ -92,7 +92,6 @@ const { status, data } = await apiInstance.updateGet(
|
|
|
92
92
|
|-------------|-------------|------------------|
|
|
93
93
|
|**200** | OK | - |
|
|
94
94
|
|**404** | Not Found | - |
|
|
95
|
-
|**400** | Bad Request | - |
|
|
96
95
|
|
|
97
96
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
98
97
|
|
package/docs/WebHook.md
CHANGED
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**enabled** | **boolean** | Whether the webhook is enabled. On creation, this is set to `true`. | [optional] [default to undefined]
|
|
16
16
|
**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]
|
|
17
17
|
**description** | **string** | An optional description. | [optional] [default to undefined]
|
|
18
|
-
**events** | **Array<string>** | List of events that trigger the webhook.
|
|
18
|
+
**events** | **Array<string>** | List of events that trigger the webhook. See Invoicetronic.SupportedEvents.Available for a list of valid event names. | [optional] [default to undefined]
|
|
19
19
|
|
|
20
20
|
## Example
|
|
21
21
|
|
package/docs/WebhookApi.md
CHANGED
|
@@ -82,7 +82,6 @@ const { status, data } = await apiInstance.webhookGet(
|
|
|
82
82
|
|-------------|-------------|------------------|
|
|
83
83
|
|**200** | OK | - |
|
|
84
84
|
|**404** | Not Found | - |
|
|
85
|
-
|**400** | Bad Request | - |
|
|
86
85
|
|
|
87
86
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
88
87
|
|
|
@@ -134,9 +133,6 @@ const { status, data } = await apiInstance.webhookIdDelete(
|
|
|
134
133
|
| Status code | Description | Response headers |
|
|
135
134
|
|-------------|-------------|------------------|
|
|
136
135
|
|**200** | OK | - |
|
|
137
|
-
|**422** | Unprocessable Content | - |
|
|
138
|
-
|**400** | Bad Request | - |
|
|
139
|
-
|**409** | Conflict | - |
|
|
140
136
|
|**404** | Not Found | - |
|
|
141
137
|
|
|
142
138
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -242,7 +238,6 @@ const { status, data } = await apiInstance.webhookPost(
|
|
|
242
238
|
| Status code | Description | Response headers |
|
|
243
239
|
|-------------|-------------|------------------|
|
|
244
240
|
|**201** | Created | - |
|
|
245
|
-
|**400** | Bad Request | - |
|
|
246
241
|
|**422** | Unprocessable Content | - |
|
|
247
242
|
|
|
248
243
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -297,7 +292,6 @@ const { status, data } = await apiInstance.webhookPut(
|
|
|
297
292
|
|-------------|-------------|------------------|
|
|
298
293
|
|**200** | OK | - |
|
|
299
294
|
|**422** | Unprocessable Content | - |
|
|
300
|
-
|**400** | Bad Request | - |
|
|
301
295
|
|
|
302
296
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
303
297
|
|
|
@@ -359,7 +353,6 @@ const { status, data } = await apiInstance.webhookhistoryGet(
|
|
|
359
353
|
|-------------|-------------|------------------|
|
|
360
354
|
|**200** | OK | - |
|
|
361
355
|
|**404** | Not Found | - |
|
|
362
|
-
|**400** | Bad Request | - |
|
|
363
356
|
|
|
364
357
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
365
358
|
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
package/src/api/company-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,8 +28,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
28
28
|
import type { Company } from '../../src/models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import type { ProblemDetails } from '../../src/models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
33
31
|
/**
|
|
34
32
|
* CompanyApi - axios parameter creator
|
|
35
33
|
*/
|
package/src/api/export-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/api/health-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/api/log-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,8 +26,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { Event } from '../../src/models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
31
29
|
/**
|
|
32
30
|
* LogApi - axios parameter creator
|
|
33
31
|
*/
|
|
@@ -50,10 +48,11 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
50
48
|
* @param {boolean} [success]
|
|
51
49
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
52
50
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
51
|
+
* @param {string} [userAgent]
|
|
53
52
|
* @param {*} [options] Override http request option.
|
|
54
53
|
* @throws {RequiredError}
|
|
55
54
|
*/
|
|
56
|
-
logGet: async (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<RequestArgs> => {
|
|
55
|
+
logGet: async (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, userAgent?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
56
|
const localVarPath = `/log`;
|
|
58
57
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
58
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -134,6 +133,10 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
134
133
|
dateTimeTo;
|
|
135
134
|
}
|
|
136
135
|
|
|
136
|
+
if (userAgent !== undefined) {
|
|
137
|
+
localVarQueryParameter['user_agent'] = userAgent;
|
|
138
|
+
}
|
|
139
|
+
|
|
137
140
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
138
141
|
|
|
139
142
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -209,11 +212,12 @@ export const LogApiFp = function(configuration?: Configuration) {
|
|
|
209
212
|
* @param {boolean} [success]
|
|
210
213
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
211
214
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
215
|
+
* @param {string} [userAgent]
|
|
212
216
|
* @param {*} [options] Override http request option.
|
|
213
217
|
* @throws {RequiredError}
|
|
214
218
|
*/
|
|
215
|
-
async 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<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Event>>> {
|
|
216
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options);
|
|
219
|
+
async 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, userAgent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Event>>> {
|
|
220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options);
|
|
217
221
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
218
222
|
const localVarOperationServerBasePath = operationServerMap['LogApi.logGet']?.[localVarOperationServerIndex]?.url;
|
|
219
223
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -257,11 +261,12 @@ export const LogApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
257
261
|
* @param {boolean} [success]
|
|
258
262
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
259
263
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
264
|
+
* @param {string} [userAgent]
|
|
260
265
|
* @param {*} [options] Override http request option.
|
|
261
266
|
* @throws {RequiredError}
|
|
262
267
|
*/
|
|
263
|
-
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>> {
|
|
264
|
-
return localVarFp.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(axios, basePath));
|
|
268
|
+
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, userAgent?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>> {
|
|
269
|
+
return localVarFp.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options).then((request) => request(axios, basePath));
|
|
265
270
|
},
|
|
266
271
|
/**
|
|
267
272
|
* Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
|
|
@@ -297,10 +302,11 @@ export interface LogApiInterface {
|
|
|
297
302
|
* @param {boolean} [success]
|
|
298
303
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
299
304
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
305
|
+
* @param {string} [userAgent]
|
|
300
306
|
* @param {*} [options] Override http request option.
|
|
301
307
|
* @throws {RequiredError}
|
|
302
308
|
*/
|
|
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>>;
|
|
309
|
+
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, userAgent?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
|
|
304
310
|
|
|
305
311
|
/**
|
|
306
312
|
* Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
|
|
@@ -334,11 +340,12 @@ export class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
334
340
|
* @param {boolean} [success]
|
|
335
341
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
336
342
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
343
|
+
* @param {string} [userAgent]
|
|
337
344
|
* @param {*} [options] Override http request option.
|
|
338
345
|
* @throws {RequiredError}
|
|
339
346
|
*/
|
|
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) {
|
|
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));
|
|
347
|
+
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, userAgent?: string, options?: RawAxiosRequestConfig) {
|
|
348
|
+
return LogApiFp(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options).then((request) => request(this.axios, this.basePath));
|
|
342
349
|
}
|
|
343
350
|
|
|
344
351
|
/**
|
package/src/api/receive-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,8 +27,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { ProblemDetails } from '../../src/models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
31
|
-
// @ts-ignore
|
|
32
30
|
import type { Receive } from '../../src/models';
|
|
33
31
|
/**
|
|
34
32
|
* ReceiveApi - axios parameter creator
|
package/src/api/send-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,8 +27,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { ProblemDetails } from '../../src/models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
31
|
-
// @ts-ignore
|
|
32
30
|
import type { Send } from '../../src/models';
|
|
33
31
|
/**
|
|
34
32
|
* SendApi - axios parameter creator
|
package/src/api/status-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/api/update-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,8 +25,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
29
|
-
// @ts-ignore
|
|
30
28
|
import type { Update } from '../../src/models';
|
|
31
29
|
/**
|
|
32
30
|
* UpdateApi - axios parameter creator
|
package/src/api/webhook-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,8 +27,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { ProblemDetails } from '../../src/models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
31
|
-
// @ts-ignore
|
|
32
30
|
import type { WebHook } from '../../src/models';
|
|
33
31
|
// @ts-ignore
|
|
34
32
|
import type { WebHookHistory } from '../../src/models';
|
package/src/models/company.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/event.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -70,6 +70,10 @@ export interface Event {
|
|
|
70
70
|
* ID of the resource created or modified by this request.
|
|
71
71
|
*/
|
|
72
72
|
'resource_id'?: number | null;
|
|
73
|
+
/**
|
|
74
|
+
* User-Agent header from the HTTP request.
|
|
75
|
+
*/
|
|
76
|
+
'user_agent'?: string | null;
|
|
73
77
|
/**
|
|
74
78
|
* Whether the request was successful.
|
|
75
79
|
*/
|
package/src/models/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/receive.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,7 +38,7 @@ export interface Receive {
|
|
|
38
38
|
*/
|
|
39
39
|
'user_id'?: number;
|
|
40
40
|
/**
|
|
41
|
-
* Company id. On send, this is the sender and must be set in advance. On receive, it will be
|
|
41
|
+
* Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created.
|
|
42
42
|
*/
|
|
43
43
|
'company_id'?: number;
|
|
44
44
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/send.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,7 +41,7 @@ export interface Send {
|
|
|
41
41
|
*/
|
|
42
42
|
'user_id'?: number;
|
|
43
43
|
/**
|
|
44
|
-
* Company id. On send, this is the sender and must be set in advance. On receive, it will be
|
|
44
|
+
* Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created.
|
|
45
45
|
*/
|
|
46
46
|
'company_id'?: number;
|
|
47
47
|
/**
|
package/src/models/status.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/update.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/web-hook.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.4
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -55,7 +55,7 @@ export interface WebHook {
|
|
|
55
55
|
*/
|
|
56
56
|
'description'?: string | null;
|
|
57
57
|
/**
|
|
58
|
-
* List of events that trigger the webhook.
|
|
58
|
+
* List of events that trigger the webhook. See Invoicetronic.SupportedEvents.Available for a list of valid event names.
|
|
59
59
|
*/
|
|
60
60
|
'events'?: Array<string> | null;
|
|
61
61
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Invoicetronic API
|
|
3
|
-
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
6
|
-
* Contact: info@invoicetronic.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProblemDetails } from './problem-details';
|
|
13
|
-
export interface ProblemHttpResult {
|
|
14
|
-
'problem_details'?: ProblemDetails;
|
|
15
|
-
'content_type'?: string | null;
|
|
16
|
-
'status_code'?: number;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Invoicetronic API
|
|
5
|
-
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
8
|
-
* Contact: info@invoicetronic.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Invoicetronic API
|
|
3
|
-
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
6
|
-
* Contact: info@invoicetronic.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProblemDetails } from './problem-details';
|
|
13
|
-
export interface ProblemHttpResult {
|
|
14
|
-
'problem_details'?: ProblemDetails;
|
|
15
|
-
'content_type'?: string | null;
|
|
16
|
-
'status_code'?: number;
|
|
17
|
-
}
|