@invoicetronic/ts-sdk 1.6.0 → 1.8.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.
Files changed (151) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +2 -2
  3. package/api.ts +1 -1
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +1 -1
  8. package/dist/api.js +1 -1
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +1 -1
  16. package/dist/esm/api.js +1 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/esm/src/api/company-api.d.ts +1 -1
  26. package/dist/esm/src/api/company-api.js +20 -2
  27. package/dist/esm/src/api/export-api.d.ts +1 -1
  28. package/dist/esm/src/api/export-api.js +5 -2
  29. package/dist/esm/src/api/health-api.d.ts +1 -1
  30. package/dist/esm/src/api/health-api.js +5 -2
  31. package/dist/esm/src/api/log-api.d.ts +1 -1
  32. package/dist/esm/src/api/log-api.js +8 -2
  33. package/dist/esm/src/api/receive-api.d.ts +16 -16
  34. package/dist/esm/src/api/receive-api.js +26 -14
  35. package/dist/esm/src/api/send-api.d.ts +16 -11
  36. package/dist/esm/src/api/send-api.js +56 -13
  37. package/dist/esm/src/api/status-api.d.ts +1 -1
  38. package/dist/esm/src/api/status-api.js +5 -2
  39. package/dist/esm/src/api/update-api.d.ts +1 -1
  40. package/dist/esm/src/api/update-api.js +8 -2
  41. package/dist/esm/src/api/webhook-api.d.ts +1 -1
  42. package/dist/esm/src/api/webhook-api.js +23 -2
  43. package/dist/esm/src/models/company.d.ts +3 -3
  44. package/dist/esm/src/models/company.js +1 -1
  45. package/dist/esm/src/models/document-data.d.ts +1 -1
  46. package/dist/esm/src/models/document-data.js +1 -1
  47. package/dist/esm/src/models/event.d.ts +2 -2
  48. package/dist/esm/src/models/event.js +1 -1
  49. package/dist/esm/src/models/model-error.d.ts +1 -1
  50. package/dist/esm/src/models/model-error.js +1 -1
  51. package/dist/esm/src/models/problem-details.d.ts +1 -1
  52. package/dist/esm/src/models/problem-details.js +1 -1
  53. package/dist/esm/src/models/receive.d.ts +5 -5
  54. package/dist/esm/src/models/receive.js +1 -1
  55. package/dist/esm/src/models/send-reduced.d.ts +17 -1
  56. package/dist/esm/src/models/send-reduced.js +12 -2
  57. package/dist/esm/src/models/send.d.ts +21 -5
  58. package/dist/esm/src/models/send.js +12 -1
  59. package/dist/esm/src/models/status.d.ts +9 -1
  60. package/dist/esm/src/models/status.js +1 -1
  61. package/dist/esm/src/models/update.d.ts +2 -2
  62. package/dist/esm/src/models/update.js +1 -1
  63. package/dist/esm/src/models/web-hook-history.d.ts +7 -3
  64. package/dist/esm/src/models/web-hook-history.js +1 -1
  65. package/dist/esm/src/models/web-hook.d.ts +8 -4
  66. package/dist/esm/src/models/web-hook.js +1 -1
  67. package/dist/index.d.ts +1 -1
  68. package/dist/index.js +1 -1
  69. package/dist/src/api/company-api.d.ts +1 -1
  70. package/dist/src/api/company-api.js +19 -1
  71. package/dist/src/api/export-api.d.ts +1 -1
  72. package/dist/src/api/export-api.js +4 -1
  73. package/dist/src/api/health-api.d.ts +1 -1
  74. package/dist/src/api/health-api.js +4 -1
  75. package/dist/src/api/log-api.d.ts +1 -1
  76. package/dist/src/api/log-api.js +7 -1
  77. package/dist/src/api/receive-api.d.ts +16 -16
  78. package/dist/src/api/receive-api.js +25 -13
  79. package/dist/src/api/send-api.d.ts +16 -11
  80. package/dist/src/api/send-api.js +55 -12
  81. package/dist/src/api/status-api.d.ts +1 -1
  82. package/dist/src/api/status-api.js +4 -1
  83. package/dist/src/api/update-api.d.ts +1 -1
  84. package/dist/src/api/update-api.js +7 -1
  85. package/dist/src/api/webhook-api.d.ts +1 -1
  86. package/dist/src/api/webhook-api.js +22 -1
  87. package/dist/src/models/company.d.ts +3 -3
  88. package/dist/src/models/company.js +1 -1
  89. package/dist/src/models/document-data.d.ts +1 -1
  90. package/dist/src/models/document-data.js +1 -1
  91. package/dist/src/models/event.d.ts +2 -2
  92. package/dist/src/models/event.js +1 -1
  93. package/dist/src/models/model-error.d.ts +1 -1
  94. package/dist/src/models/model-error.js +1 -1
  95. package/dist/src/models/problem-details.d.ts +1 -1
  96. package/dist/src/models/problem-details.js +1 -1
  97. package/dist/src/models/receive.d.ts +5 -5
  98. package/dist/src/models/receive.js +1 -1
  99. package/dist/src/models/send-reduced.d.ts +17 -1
  100. package/dist/src/models/send-reduced.js +13 -1
  101. package/dist/src/models/send.d.ts +21 -5
  102. package/dist/src/models/send.js +13 -2
  103. package/dist/src/models/status.d.ts +9 -1
  104. package/dist/src/models/status.js +1 -1
  105. package/dist/src/models/update.d.ts +2 -2
  106. package/dist/src/models/update.js +1 -1
  107. package/dist/src/models/web-hook-history.d.ts +7 -3
  108. package/dist/src/models/web-hook-history.js +1 -1
  109. package/dist/src/models/web-hook.d.ts +8 -4
  110. package/dist/src/models/web-hook.js +1 -1
  111. package/docs/Company.md +4 -4
  112. package/docs/CompanyApi.md +6 -6
  113. package/docs/Event.md +3 -3
  114. package/docs/ExportApi.md +1 -1
  115. package/docs/HealthApi.md +1 -1
  116. package/docs/LogApi.md +2 -2
  117. package/docs/Receive.md +12 -12
  118. package/docs/ReceiveApi.md +7 -7
  119. package/docs/Send.md +15 -13
  120. package/docs/SendApi.md +16 -13
  121. package/docs/SendReduced.md +2 -0
  122. package/docs/Status.md +4 -0
  123. package/docs/StatusApi.md +1 -1
  124. package/docs/Update.md +3 -3
  125. package/docs/UpdateApi.md +2 -2
  126. package/docs/WebHook.md +7 -5
  127. package/docs/WebHookHistory.md +6 -4
  128. package/docs/WebhookApi.md +7 -7
  129. package/index.ts +1 -1
  130. package/package.json +1 -1
  131. package/src/api/company-api.ts +25 -1
  132. package/src/api/export-api.ts +5 -1
  133. package/src/api/health-api.ts +5 -1
  134. package/src/api/log-api.ts +9 -1
  135. package/src/api/receive-api.ts +32 -16
  136. package/src/api/send-api.ts +71 -14
  137. package/src/api/status-api.ts +5 -1
  138. package/src/api/update-api.ts +9 -1
  139. package/src/api/webhook-api.ts +29 -1
  140. package/src/models/company.ts +3 -3
  141. package/src/models/document-data.ts +1 -1
  142. package/src/models/event.ts +2 -2
  143. package/src/models/model-error.ts +1 -1
  144. package/src/models/problem-details.ts +1 -1
  145. package/src/models/receive.ts +5 -5
  146. package/src/models/send-reduced.ts +20 -1
  147. package/src/models/send.ts +22 -5
  148. package/src/models/status.ts +9 -1
  149. package/src/models/update.ts +2 -2
  150. package/src/models/web-hook-history.ts +7 -3
  151. package/src/models/web-hook.ts +8 -4
@@ -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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ import globalAxios from 'axios';
26
26
  import { URL } from 'url';
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
29
- import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
29
+ import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
30
30
  // @ts-ignore
31
31
  import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
32
32
  /**
@@ -57,6 +57,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
57
57
  const localVarHeaderParameter = {};
58
58
  const localVarQueryParameter = {};
59
59
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
60
+ // authentication Basic required
61
+ // http basic authentication required
62
+ setBasicAuthToObject(localVarRequestOptions, configuration);
60
63
  if (validate !== undefined) {
61
64
  localVarQueryParameter['validate'] = validate;
62
65
  }
@@ -78,7 +81,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
78
81
  };
79
82
  }),
80
83
  /**
81
- * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
84
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
82
85
  * @summary List invoices
83
86
  * @param {number} [companyId] Company id
84
87
  * @param {string} [identifier] SDI identifier.
@@ -93,6 +96,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
93
96
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
94
97
  * @param {string} [documentNumber] Document number.
95
98
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
99
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
96
100
  * @param {number} [page] Page number.
97
101
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
98
102
  * @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
@@ -100,7 +104,7 @@ export const SendApiAxiosParamCreator = function (configuration) {
100
104
  * @param {*} [options] Override http request option.
101
105
  * @throws {RequiredError}
102
106
  */
103
- sendGet: (companyId_1, identifier_1, committente_1, prestatore_1, fileName_1, lastUpdateFrom_1, lastUpdateTo_1, dateSentFrom_1, dateSentTo_1, documentDateFrom_1, documentDateTo_1, documentNumber_1, includePayload_1, page_1, pageSize_1, sort_1, q_1, ...args_1) => __awaiter(this, [companyId_1, identifier_1, committente_1, prestatore_1, fileName_1, lastUpdateFrom_1, lastUpdateTo_1, dateSentFrom_1, dateSentTo_1, documentDateFrom_1, documentDateTo_1, documentNumber_1, includePayload_1, page_1, pageSize_1, sort_1, q_1, ...args_1], void 0, function* (companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options = {}) {
107
+ sendGet: (companyId_1, identifier_1, committente_1, prestatore_1, fileName_1, lastUpdateFrom_1, lastUpdateTo_1, dateSentFrom_1, dateSentTo_1, documentDateFrom_1, documentDateTo_1, documentNumber_1, includePayload_1, ids_1, page_1, pageSize_1, sort_1, q_1, ...args_1) => __awaiter(this, [companyId_1, identifier_1, committente_1, prestatore_1, fileName_1, lastUpdateFrom_1, lastUpdateTo_1, dateSentFrom_1, dateSentTo_1, documentDateFrom_1, documentDateTo_1, documentNumber_1, includePayload_1, ids_1, page_1, pageSize_1, sort_1, q_1, ...args_1], void 0, function* (companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, ids, page, pageSize, sort, q, options = {}) {
104
108
  const localVarPath = `/send`;
105
109
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
110
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -111,6 +115,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
111
115
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
112
116
  const localVarHeaderParameter = {};
113
117
  const localVarQueryParameter = {};
118
+ // authentication Basic required
119
+ // http basic authentication required
120
+ setBasicAuthToObject(localVarRequestOptions, configuration);
114
121
  if (companyId !== undefined) {
115
122
  localVarQueryParameter['company_id'] = companyId;
116
123
  }
@@ -162,6 +169,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
162
169
  if (includePayload !== undefined) {
163
170
  localVarQueryParameter['include_payload'] = includePayload;
164
171
  }
172
+ if (ids !== undefined) {
173
+ localVarQueryParameter['ids'] = ids;
174
+ }
165
175
  if (page !== undefined) {
166
176
  localVarQueryParameter['page'] = page;
167
177
  }
@@ -205,6 +215,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
205
215
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
206
216
  const localVarHeaderParameter = {};
207
217
  const localVarQueryParameter = {};
218
+ // authentication Basic required
219
+ // http basic authentication required
220
+ setBasicAuthToObject(localVarRequestOptions, configuration);
208
221
  if (includePayload !== undefined) {
209
222
  localVarQueryParameter['include_payload'] = includePayload;
210
223
  }
@@ -238,6 +251,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
238
251
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
239
252
  const localVarHeaderParameter = {};
240
253
  const localVarQueryParameter = {};
254
+ // authentication Basic required
255
+ // http basic authentication required
256
+ setBasicAuthToObject(localVarRequestOptions, configuration);
241
257
  localVarHeaderParameter['Accept'] = 'application/problem+json';
242
258
  setSearchParams(localVarUrlObj, localVarQueryParameter);
243
259
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -269,6 +285,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
269
285
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
270
286
  const localVarHeaderParameter = {};
271
287
  const localVarQueryParameter = {};
288
+ // authentication Basic required
289
+ // http basic authentication required
290
+ setBasicAuthToObject(localVarRequestOptions, configuration);
272
291
  if (includePayload !== undefined) {
273
292
  localVarQueryParameter['include_payload'] = includePayload;
274
293
  }
@@ -303,6 +322,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
303
322
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
304
323
  const localVarHeaderParameter = {};
305
324
  const localVarQueryParameter = {};
325
+ // authentication Basic required
326
+ // http basic authentication required
327
+ setBasicAuthToObject(localVarRequestOptions, configuration);
306
328
  if (validate !== undefined) {
307
329
  localVarQueryParameter['validate'] = validate;
308
330
  }
@@ -342,6 +364,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
342
364
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
343
365
  const localVarHeaderParameter = {};
344
366
  const localVarQueryParameter = {};
367
+ // authentication Basic required
368
+ // http basic authentication required
369
+ setBasicAuthToObject(localVarRequestOptions, configuration);
345
370
  if (validate !== undefined) {
346
371
  localVarQueryParameter['validate'] = validate;
347
372
  }
@@ -380,6 +405,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
380
405
  const localVarHeaderParameter = {};
381
406
  const localVarQueryParameter = {};
382
407
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
408
+ // authentication Basic required
409
+ // http basic authentication required
410
+ setBasicAuthToObject(localVarRequestOptions, configuration);
383
411
  if (file !== undefined) {
384
412
  localVarFormParams.append('file', file);
385
413
  }
@@ -414,6 +442,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
414
442
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
415
443
  const localVarHeaderParameter = {};
416
444
  const localVarQueryParameter = {};
445
+ // authentication Basic required
446
+ // http basic authentication required
447
+ setBasicAuthToObject(localVarRequestOptions, configuration);
417
448
  localVarHeaderParameter['Content-Type'] = 'application/json';
418
449
  localVarHeaderParameter['Accept'] = 'application/json';
419
450
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -445,6 +476,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
445
476
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
446
477
  const localVarHeaderParameter = {};
447
478
  const localVarQueryParameter = {};
479
+ // authentication Basic required
480
+ // http basic authentication required
481
+ setBasicAuthToObject(localVarRequestOptions, configuration);
448
482
  localVarHeaderParameter['Content-Type'] = 'application/json';
449
483
  localVarHeaderParameter['Accept'] = 'application/json';
450
484
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -476,6 +510,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
476
510
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
477
511
  const localVarHeaderParameter = {};
478
512
  const localVarQueryParameter = {};
513
+ // authentication Basic required
514
+ // http basic authentication required
515
+ setBasicAuthToObject(localVarRequestOptions, configuration);
479
516
  localVarHeaderParameter['Content-Type'] = 'application/xml';
480
517
  localVarHeaderParameter['Accept'] = 'application/json';
481
518
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -509,6 +546,9 @@ export const SendApiAxiosParamCreator = function (configuration) {
509
546
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
510
547
  const localVarHeaderParameter = {};
511
548
  const localVarQueryParameter = {};
549
+ // authentication Basic required
550
+ // http basic authentication required
551
+ setBasicAuthToObject(localVarRequestOptions, configuration);
512
552
  if (validate !== undefined) {
513
553
  localVarQueryParameter['validate'] = validate;
514
554
  }
@@ -553,7 +593,7 @@ export const SendApiFp = function (configuration) {
553
593
  });
554
594
  },
555
595
  /**
556
- * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
596
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
557
597
  * @summary List invoices
558
598
  * @param {number} [companyId] Company id
559
599
  * @param {string} [identifier] SDI identifier.
@@ -568,6 +608,7 @@ export const SendApiFp = function (configuration) {
568
608
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
569
609
  * @param {string} [documentNumber] Document number.
570
610
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
611
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
571
612
  * @param {number} [page] Page number.
572
613
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
573
614
  * @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
@@ -575,10 +616,10 @@ export const SendApiFp = function (configuration) {
575
616
  * @param {*} [options] Override http request option.
576
617
  * @throws {RequiredError}
577
618
  */
578
- sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options) {
619
+ sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, ids, page, pageSize, sort, q, options) {
579
620
  return __awaiter(this, void 0, void 0, function* () {
580
621
  var _a, _b, _c;
581
- const localVarAxiosArgs = yield localVarAxiosParamCreator.sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options);
622
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, ids, page, pageSize, sort, q, options);
582
623
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
583
624
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SendApi.sendGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
584
625
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -773,7 +814,7 @@ export const SendApiFactory = function (configuration, basePath, axios) {
773
814
  return localVarFp.sendFilePost(file, validate, signature, options).then((request) => request(axios, basePath));
774
815
  },
775
816
  /**
776
- * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
817
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
777
818
  * @summary List invoices
778
819
  * @param {number} [companyId] Company id
779
820
  * @param {string} [identifier] SDI identifier.
@@ -788,6 +829,7 @@ export const SendApiFactory = function (configuration, basePath, axios) {
788
829
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
789
830
  * @param {string} [documentNumber] Document number.
790
831
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
832
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
791
833
  * @param {number} [page] Page number.
792
834
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
793
835
  * @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
@@ -795,8 +837,8 @@ export const SendApiFactory = function (configuration, basePath, axios) {
795
837
  * @param {*} [options] Override http request option.
796
838
  * @throws {RequiredError}
797
839
  */
798
- sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options) {
799
- return localVarFp.sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options).then((request) => request(axios, basePath));
840
+ sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, ids, page, pageSize, sort, q, options) {
841
+ return localVarFp.sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, ids, page, pageSize, sort, q, options).then((request) => request(axios, basePath));
800
842
  },
801
843
  /**
802
844
  * Retrieve a send invoice by its internal id. The `id` is unique and assigned by the system when the invoice is created. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
@@ -925,7 +967,7 @@ export class SendApi extends BaseAPI {
925
967
  return SendApiFp(this.configuration).sendFilePost(file, validate, signature, options).then((request) => request(this.axios, this.basePath));
926
968
  }
927
969
  /**
928
- * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
970
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
929
971
  * @summary List invoices
930
972
  * @param {number} [companyId] Company id
931
973
  * @param {string} [identifier] SDI identifier.
@@ -940,6 +982,7 @@ export class SendApi extends BaseAPI {
940
982
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
941
983
  * @param {string} [documentNumber] Document number.
942
984
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
985
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
943
986
  * @param {number} [page] Page number.
944
987
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
945
988
  * @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
@@ -947,8 +990,8 @@ export class SendApi extends BaseAPI {
947
990
  * @param {*} [options] Override http request option.
948
991
  * @throws {RequiredError}
949
992
  */
950
- sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options) {
951
- return SendApiFp(this.configuration).sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options).then((request) => request(this.axios, this.basePath));
993
+ sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, ids, page, pageSize, sort, q, options) {
994
+ return SendApiFp(this.configuration).sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, ids, page, pageSize, sort, q, options).then((request) => request(this.axios, this.basePath));
952
995
  }
953
996
  /**
954
997
  * Retrieve a send invoice by its internal id. The `id` is unique and assigned by the system when the invoice is created. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
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
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * 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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ import globalAxios from 'axios';
26
26
  import { URL } from 'url';
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
29
- import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction } from '../../common';
29
+ import { DUMMY_BASE_URL, setBasicAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../../common';
30
30
  // @ts-ignore
31
31
  import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
32
32
  /**
@@ -51,6 +51,9 @@ export const StatusApiAxiosParamCreator = function (configuration) {
51
51
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
52
52
  const localVarHeaderParameter = {};
53
53
  const localVarQueryParameter = {};
54
+ // authentication Basic required
55
+ // http basic authentication required
56
+ setBasicAuthToObject(localVarRequestOptions, configuration);
54
57
  localVarHeaderParameter['Accept'] = 'application/json';
55
58
  setSearchParams(localVarUrlObj, localVarQueryParameter);
56
59
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
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
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * 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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ import globalAxios from 'axios';
26
26
  import { URL } from 'url';
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
29
- import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, createRequestFunction } from '../../common';
29
+ import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../../common';
30
30
  // @ts-ignore
31
31
  import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
32
32
  /**
@@ -64,6 +64,9 @@ export const UpdateApiAxiosParamCreator = function (configuration) {
64
64
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
65
65
  const localVarHeaderParameter = {};
66
66
  const localVarQueryParameter = {};
67
+ // authentication Basic required
68
+ // http basic authentication required
69
+ setBasicAuthToObject(localVarRequestOptions, configuration);
67
70
  if (companyId !== undefined) {
68
71
  localVarQueryParameter['company_id'] = companyId;
69
72
  }
@@ -141,6 +144,9 @@ export const UpdateApiAxiosParamCreator = function (configuration) {
141
144
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
142
145
  const localVarHeaderParameter = {};
143
146
  const localVarQueryParameter = {};
147
+ // authentication Basic required
148
+ // http basic authentication required
149
+ setBasicAuthToObject(localVarRequestOptions, configuration);
144
150
  localVarHeaderParameter['Accept'] = 'application/json';
145
151
  setSearchParams(localVarUrlObj, localVarQueryParameter);
146
152
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
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
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * 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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ import globalAxios from 'axios';
26
26
  import { URL } from 'url';
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
29
- import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
29
+ import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
30
30
  // @ts-ignore
31
31
  import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
32
32
  /**
@@ -59,6 +59,9 @@ export const WebhookApiAxiosParamCreator = function (configuration) {
59
59
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
60
60
  const localVarHeaderParameter = {};
61
61
  const localVarQueryParameter = {};
62
+ // authentication Basic required
63
+ // http basic authentication required
64
+ setBasicAuthToObject(localVarRequestOptions, configuration);
62
65
  if (companyId !== undefined) {
63
66
  localVarQueryParameter['company_id'] = companyId;
64
67
  }
@@ -113,6 +116,9 @@ export const WebhookApiAxiosParamCreator = function (configuration) {
113
116
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
114
117
  const localVarHeaderParameter = {};
115
118
  const localVarQueryParameter = {};
119
+ // authentication Basic required
120
+ // http basic authentication required
121
+ setBasicAuthToObject(localVarRequestOptions, configuration);
116
122
  localVarHeaderParameter['Accept'] = 'application/json';
117
123
  setSearchParams(localVarUrlObj, localVarQueryParameter);
118
124
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -143,6 +149,9 @@ export const WebhookApiAxiosParamCreator = function (configuration) {
143
149
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
144
150
  const localVarHeaderParameter = {};
145
151
  const localVarQueryParameter = {};
152
+ // authentication Basic required
153
+ // http basic authentication required
154
+ setBasicAuthToObject(localVarRequestOptions, configuration);
146
155
  localVarHeaderParameter['Accept'] = 'application/json';
147
156
  setSearchParams(localVarUrlObj, localVarQueryParameter);
148
157
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -172,6 +181,9 @@ export const WebhookApiAxiosParamCreator = function (configuration) {
172
181
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
173
182
  const localVarHeaderParameter = {};
174
183
  const localVarQueryParameter = {};
184
+ // authentication Basic required
185
+ // http basic authentication required
186
+ setBasicAuthToObject(localVarRequestOptions, configuration);
175
187
  localVarHeaderParameter['Content-Type'] = 'application/json';
176
188
  localVarHeaderParameter['Accept'] = 'application/json';
177
189
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -203,6 +215,9 @@ export const WebhookApiAxiosParamCreator = function (configuration) {
203
215
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
204
216
  const localVarHeaderParameter = {};
205
217
  const localVarQueryParameter = {};
218
+ // authentication Basic required
219
+ // http basic authentication required
220
+ setBasicAuthToObject(localVarRequestOptions, configuration);
206
221
  localVarHeaderParameter['Content-Type'] = 'application/json';
207
222
  localVarHeaderParameter['Accept'] = 'application/json';
208
223
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -235,6 +250,9 @@ export const WebhookApiAxiosParamCreator = function (configuration) {
235
250
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
236
251
  const localVarHeaderParameter = {};
237
252
  const localVarQueryParameter = {};
253
+ // authentication Basic required
254
+ // http basic authentication required
255
+ setBasicAuthToObject(localVarRequestOptions, configuration);
238
256
  if (page !== undefined) {
239
257
  localVarQueryParameter['page'] = page;
240
258
  }
@@ -277,6 +295,9 @@ export const WebhookApiAxiosParamCreator = function (configuration) {
277
295
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
278
296
  const localVarHeaderParameter = {};
279
297
  const localVarQueryParameter = {};
298
+ // authentication Basic required
299
+ // http basic authentication required
300
+ setBasicAuthToObject(localVarRequestOptions, configuration);
280
301
  localVarHeaderParameter['Accept'] = 'application/json';
281
302
  setSearchParams(localVarUrlObj, localVarQueryParameter);
282
303
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
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
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,7 +14,7 @@
14
14
  */
15
15
  export interface Company {
16
16
  /**
17
- * Unique identifier. Leave it at 0 for new records as it will be set automatically.
17
+ * Unique identifier. For POST requests, leave it at `0` the server will assign one automatically. For PUT requests, set it to the id of the record you want to update.
18
18
  */
19
19
  'id'?: number;
20
20
  /**
@@ -26,7 +26,7 @@ export interface Company {
26
26
  */
27
27
  'version'?: number;
28
28
  /**
29
- * User id.
29
+ * User id. It is set automatically based on the authenticated user.
30
30
  */
31
31
  'user_id'?: number;
32
32
  /**
@@ -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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
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
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * 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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
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
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,7 +14,7 @@
14
14
  */
15
15
  export interface Event {
16
16
  /**
17
- * Unique identifier. Leave it at 0 for new records as it will be set automatically.
17
+ * Unique identifier. For POST requests, leave it at `0` the server will assign one automatically. For PUT requests, set it to the id of the record you want to update.
18
18
  */
19
19
  'id'?: number;
20
20
  /**
@@ -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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
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
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * 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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
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
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * 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.6.1
7
+ * The version of the OpenAPI document: 1.12.0
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).