@invoicetronic/ts-sdk 1.4.0 → 1.6.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 (155) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +2 -2
  3. package/api.ts +2 -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 +2 -1
  8. package/dist/api.js +2 -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 +2 -1
  16. package/dist/esm/api.js +2 -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 +16 -11
  26. package/dist/esm/src/api/company-api.js +20 -31
  27. package/dist/esm/src/api/export-api.d.ts +11 -17
  28. package/dist/esm/src/api/export-api.js +6 -14
  29. package/dist/esm/src/api/health-api.d.ts +74 -0
  30. package/dist/esm/src/api/health-api.js +117 -0
  31. package/dist/esm/src/api/log-api.d.ts +11 -6
  32. package/dist/esm/src/api/log-api.js +16 -15
  33. package/dist/esm/src/api/receive-api.d.ts +16 -11
  34. package/dist/esm/src/api/receive-api.js +20 -25
  35. package/dist/esm/src/api/send-api.d.ts +56 -52
  36. package/dist/esm/src/api/send-api.js +76 -105
  37. package/dist/esm/src/api/status-api.d.ts +1 -1
  38. package/dist/esm/src/api/status-api.js +2 -5
  39. package/dist/esm/src/api/update-api.d.ts +11 -11
  40. package/dist/esm/src/api/update-api.js +10 -16
  41. package/dist/esm/src/api/webhook-api.d.ts +1 -1
  42. package/dist/esm/src/api/webhook-api.js +2 -23
  43. package/dist/esm/src/models/company.d.ts +1 -1
  44. package/dist/esm/src/models/company.js +1 -1
  45. package/dist/esm/src/models/document-data.d.ts +15 -0
  46. package/dist/esm/src/models/document-data.js +14 -0
  47. package/dist/esm/src/models/event.d.ts +5 -1
  48. package/dist/esm/src/models/event.js +1 -1
  49. package/dist/esm/src/models/index.d.ts +4 -0
  50. package/dist/esm/src/models/index.js +4 -0
  51. package/dist/esm/src/models/model-error.d.ts +28 -0
  52. package/dist/esm/src/models/model-error.js +14 -0
  53. package/dist/esm/src/models/problem-details.d.ts +19 -0
  54. package/dist/esm/src/models/problem-details.js +14 -0
  55. package/dist/esm/src/models/receive.d.ts +6 -2
  56. package/dist/esm/src/models/receive.js +1 -1
  57. package/dist/esm/src/models/send-reduced.d.ts +39 -0
  58. package/dist/esm/src/models/send-reduced.js +14 -0
  59. package/dist/esm/src/models/send.d.ts +6 -2
  60. package/dist/esm/src/models/send.js +1 -1
  61. package/dist/esm/src/models/status.d.ts +1 -1
  62. package/dist/esm/src/models/status.js +1 -1
  63. package/dist/esm/src/models/update.d.ts +1 -1
  64. package/dist/esm/src/models/update.js +1 -1
  65. package/dist/esm/src/models/web-hook-history.d.ts +1 -1
  66. package/dist/esm/src/models/web-hook-history.js +1 -1
  67. package/dist/esm/src/models/web-hook.d.ts +2 -2
  68. package/dist/esm/src/models/web-hook.js +1 -1
  69. package/dist/index.d.ts +1 -1
  70. package/dist/index.js +1 -1
  71. package/dist/src/api/company-api.d.ts +16 -11
  72. package/dist/src/api/company-api.js +19 -30
  73. package/dist/src/api/export-api.d.ts +11 -17
  74. package/dist/src/api/export-api.js +6 -14
  75. package/dist/src/api/health-api.d.ts +74 -0
  76. package/dist/src/api/health-api.js +124 -0
  77. package/dist/src/api/log-api.d.ts +11 -6
  78. package/dist/src/api/log-api.js +15 -14
  79. package/dist/src/api/receive-api.d.ts +16 -11
  80. package/dist/src/api/receive-api.js +19 -24
  81. package/dist/src/api/send-api.d.ts +56 -52
  82. package/dist/src/api/send-api.js +75 -104
  83. package/dist/src/api/status-api.d.ts +1 -1
  84. package/dist/src/api/status-api.js +1 -4
  85. package/dist/src/api/update-api.d.ts +11 -11
  86. package/dist/src/api/update-api.js +9 -15
  87. package/dist/src/api/webhook-api.d.ts +1 -1
  88. package/dist/src/api/webhook-api.js +1 -22
  89. package/dist/src/models/company.d.ts +1 -1
  90. package/dist/src/models/company.js +1 -1
  91. package/dist/src/models/document-data.d.ts +15 -0
  92. package/dist/src/models/document-data.js +15 -0
  93. package/dist/src/models/event.d.ts +5 -1
  94. package/dist/src/models/event.js +1 -1
  95. package/dist/src/models/index.d.ts +4 -0
  96. package/dist/src/models/index.js +4 -0
  97. package/dist/src/models/model-error.d.ts +28 -0
  98. package/dist/src/models/model-error.js +15 -0
  99. package/dist/src/models/problem-details.d.ts +19 -0
  100. package/dist/src/models/problem-details.js +15 -0
  101. package/dist/src/models/receive.d.ts +6 -2
  102. package/dist/src/models/receive.js +1 -1
  103. package/dist/src/models/send-reduced.d.ts +39 -0
  104. package/dist/src/models/send-reduced.js +15 -0
  105. package/dist/src/models/send.d.ts +6 -2
  106. package/dist/src/models/send.js +1 -1
  107. package/dist/src/models/status.d.ts +1 -1
  108. package/dist/src/models/status.js +1 -1
  109. package/dist/src/models/update.d.ts +1 -1
  110. package/dist/src/models/update.js +1 -1
  111. package/dist/src/models/web-hook-history.d.ts +1 -1
  112. package/dist/src/models/web-hook-history.js +1 -1
  113. package/dist/src/models/web-hook.d.ts +2 -2
  114. package/dist/src/models/web-hook.js +1 -1
  115. package/docs/CompanyApi.md +11 -15
  116. package/docs/DocumentData.md +22 -0
  117. package/docs/Error.md +25 -0
  118. package/docs/Event.md +2 -0
  119. package/docs/ExportApi.md +3 -3
  120. package/docs/HealthApi.md +54 -0
  121. package/docs/LogApi.md +6 -4
  122. package/docs/ProblemDetails.md +28 -0
  123. package/docs/Receive.md +3 -1
  124. package/docs/ReceiveApi.md +9 -10
  125. package/docs/Send.md +3 -1
  126. package/docs/SendApi.md +37 -48
  127. package/docs/SendReduced.md +29 -0
  128. package/docs/StatusApi.md +1 -1
  129. package/docs/UpdateApi.md +4 -5
  130. package/docs/WebHook.md +1 -1
  131. package/docs/WebhookApi.md +7 -14
  132. package/index.ts +1 -1
  133. package/package.json +1 -1
  134. package/src/api/company-api.ts +23 -40
  135. package/src/api/export-api.ts +11 -21
  136. package/src/api/health-api.ts +131 -0
  137. package/src/api/log-api.ts +18 -19
  138. package/src/api/receive-api.ts +23 -32
  139. package/src/api/send-api.ts +87 -130
  140. package/src/api/status-api.ts +1 -5
  141. package/src/api/update-api.ts +11 -21
  142. package/src/api/webhook-api.ts +1 -31
  143. package/src/models/company.ts +1 -1
  144. package/src/models/document-data.ts +21 -0
  145. package/src/models/event.ts +5 -1
  146. package/src/models/index.ts +4 -0
  147. package/src/models/model-error.ts +34 -0
  148. package/src/models/problem-details.ts +26 -0
  149. package/src/models/receive.ts +6 -2
  150. package/src/models/send-reduced.ts +45 -0
  151. package/src/models/send.ts +6 -2
  152. package/src/models/status.ts +1 -1
  153. package/src/models/update.ts +1 -1
  154. package/src/models/web-hook-history.ts +1 -1
  155. package/src/models/web-hook.ts +2 -2
package/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- # Changelog\n\n## [1.4.0] - 2026-02-25\nSee main repository changelog for details.
1
+ # Changelog\n\n## [1.6.0] - 2026-03-30\nSee main repository changelog for details.
package/README.md CHANGED
@@ -7,7 +7,7 @@ For more information, see [Invoicetronic website][2]
7
7
  [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/
8
8
  [2]: https://invoicetronic.com/
9
9
 
10
- ## @invoicetronic/ts-sdk@1.4
10
+ ## @invoicetronic/ts-sdk@1.6
11
11
 
12
12
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
13
13
 
@@ -45,7 +45,7 @@ navigate to the folder of your consuming project and run one of the following co
45
45
  _published:_
46
46
 
47
47
  ```
48
- npm install @invoicetronic/ts-sdk@1.4 --save
48
+ npm install @invoicetronic/ts-sdk@1.6 --save
49
49
  ```
50
50
 
51
51
  _unPublished (not recommended):_
package/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.1
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,6 +16,7 @@
16
16
 
17
17
  export * from './src/api/company-api';
18
18
  export * from './src/api/export-api';
19
+ export * from './src/api/health-api';
19
20
  export * from './src/api/log-api';
20
21
  export * from './src/api/receive-api';
21
22
  export * from './src/api/send-api';
package/base.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.1
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.1
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Invoicetronic API
4
4
  * 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/
5
5
  *
6
- * The version of the OpenAPI document: 1
6
+ * The version of the OpenAPI document: 1.6.1
7
7
  * Contact: info@invoicetronic.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -98,7 +98,7 @@ export class Configuration {
98
98
  this.baseOptions = {
99
99
  ...param.baseOptions,
100
100
  headers: {
101
- 'User-Agent': "Invoicetronic/1.4/TypeScript-SDK",
101
+ 'User-Agent': "Invoicetronic-TypeScript-SDK/1.6",
102
102
  ...param.baseOptions?.headers,
103
103
  },
104
104
  };
package/dist/api.d.ts CHANGED
@@ -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
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,6 +11,7 @@
11
11
  */
12
12
  export * from './src/api/company-api';
13
13
  export * from './src/api/export-api';
14
+ export * from './src/api/health-api';
14
15
  export * from './src/api/log-api';
15
16
  export * from './src/api/receive-api';
16
17
  export * from './src/api/send-api';
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Invoicetronic API
6
6
  * 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/
7
7
  *
8
- * The version of the OpenAPI document: 1
8
+ * The version of the OpenAPI document: 1.6.1
9
9
  * Contact: info@invoicetronic.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,6 +29,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./src/api/company-api"), exports);
31
31
  __exportStar(require("./src/api/export-api"), exports);
32
+ __exportStar(require("./src/api/health-api"), exports);
32
33
  __exportStar(require("./src/api/log-api"), exports);
33
34
  __exportStar(require("./src/api/receive-api"), exports);
34
35
  __exportStar(require("./src/api/send-api"), exports);
package/dist/base.d.ts CHANGED
@@ -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
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Invoicetronic API
6
6
  * 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/
7
7
  *
8
- * The version of the OpenAPI document: 1
8
+ * The version of the OpenAPI document: 1.6.1
9
9
  * Contact: info@invoicetronic.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -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
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Invoicetronic API
6
6
  * 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/
7
7
  *
8
- * The version of the OpenAPI document: 1
8
+ * The version of the OpenAPI document: 1.6.1
9
9
  * Contact: info@invoicetronic.com
10
10
  *
11
11
  * 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
5
+ * The version of the OpenAPI document: 1.6.1
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
7
+ * The version of the OpenAPI document: 1.6.1
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.awsv4 = param.awsv4;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "Invoicetronic/1.4/TypeScript-SDK" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
26
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "Invoicetronic-TypeScript-SDK/1.6" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
package/dist/esm/api.d.ts CHANGED
@@ -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
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,6 +11,7 @@
11
11
  */
12
12
  export * from './src/api/company-api';
13
13
  export * from './src/api/export-api';
14
+ export * from './src/api/health-api';
14
15
  export * from './src/api/log-api';
15
16
  export * from './src/api/receive-api';
16
17
  export * from './src/api/send-api';
package/dist/esm/api.js 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.1
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,7 @@
13
13
  */
14
14
  export * from './src/api/company-api';
15
15
  export * from './src/api/export-api';
16
+ export * from './src/api/health-api';
16
17
  export * from './src/api/log-api';
17
18
  export * from './src/api/receive-api';
18
19
  export * from './src/api/send-api';
@@ -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
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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.1
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
5
+ * The version of the OpenAPI document: 1.6.1
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
7
+ * The version of the OpenAPI document: 1.6.1
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
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Invoicetronic API
4
4
  * 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/
5
5
  *
6
- * The version of the OpenAPI document: 1
6
+ * The version of the OpenAPI document: 1.6.1
7
7
  * Contact: info@invoicetronic.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ export class Configuration {
20
20
  this.awsv4 = param.awsv4;
21
21
  this.basePath = param.basePath;
22
22
  this.serverIndex = param.serverIndex;
23
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "Invoicetronic/1.4/TypeScript-SDK" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
23
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "Invoicetronic-TypeScript-SDK/1.6" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
24
24
  this.formDataCtor = param.formDataCtor;
25
25
  }
26
26
  /**
@@ -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
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js 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.1
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
5
+ * The version of the OpenAPI document: 1.6.1
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,15 +18,16 @@ import type { Company } from '../../src/models';
18
18
  */
19
19
  export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration) => {
20
20
  /**
21
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
21
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
22
22
  * @summary List companies
23
23
  * @param {number} [page] Page number.
24
24
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
25
25
  * @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
26
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
26
27
  * @param {*} [options] Override http request option.
27
28
  * @throws {RequiredError}
28
29
  */
29
- companyGet: (page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ companyGet: (page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
31
  /**
31
32
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
32
33
  * @summary Delete a company
@@ -74,15 +75,16 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
74
75
  */
75
76
  export declare const CompanyApiFp: (configuration?: Configuration) => {
76
77
  /**
77
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
78
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
78
79
  * @summary List companies
79
80
  * @param {number} [page] Page number.
80
81
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
81
82
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
83
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
82
84
  * @param {*} [options] Override http request option.
83
85
  * @throws {RequiredError}
84
86
  */
85
- companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Company>>>;
87
+ companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Company>>>;
86
88
  /**
87
89
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
88
90
  * @summary Delete a company
@@ -130,15 +132,16 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
130
132
  */
131
133
  export declare const CompanyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
132
134
  /**
133
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
135
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
134
136
  * @summary List companies
135
137
  * @param {number} [page] Page number.
136
138
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
137
139
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
140
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
138
141
  * @param {*} [options] Override http request option.
139
142
  * @throws {RequiredError}
140
143
  */
141
- companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
144
+ companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
142
145
  /**
143
146
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
144
147
  * @summary Delete a company
@@ -186,15 +189,16 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
186
189
  */
187
190
  export interface CompanyApiInterface {
188
191
  /**
189
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
192
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
190
193
  * @summary List companies
191
194
  * @param {number} [page] Page number.
192
195
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
193
196
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
197
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
194
198
  * @param {*} [options] Override http request option.
195
199
  * @throws {RequiredError}
196
200
  */
197
- companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
201
+ companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
198
202
  /**
199
203
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
200
204
  * @summary Delete a company
@@ -242,15 +246,16 @@ export interface CompanyApiInterface {
242
246
  */
243
247
  export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
244
248
  /**
245
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
249
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
246
250
  * @summary List companies
247
251
  * @param {number} [page] Page number.
248
252
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
249
253
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
254
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
250
255
  * @param {*} [options] Override http request option.
251
256
  * @throws {RequiredError}
252
257
  */
253
- companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any, {}>>;
258
+ companyGet(page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any, {}>>;
254
259
  /**
255
260
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
256
261
  * @summary Delete a company
@@ -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.1
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, setBasicAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
29
+ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
30
30
  // @ts-ignore
31
31
  import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
32
32
  /**
@@ -35,15 +35,16 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
35
35
  export const CompanyApiAxiosParamCreator = function (configuration) {
36
36
  return {
37
37
  /**
38
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
38
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
39
39
  * @summary List companies
40
40
  * @param {number} [page] Page number.
41
41
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
42
42
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
43
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
43
44
  * @param {*} [options] Override http request option.
44
45
  * @throws {RequiredError}
45
46
  */
46
- companyGet: (page_1, pageSize_1, sort_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, sort_1, ...args_1], void 0, function* (page, pageSize, sort, options = {}) {
47
+ companyGet: (page_1, pageSize_1, sort_1, q_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, sort_1, q_1, ...args_1], void 0, function* (page, pageSize, sort, q, options = {}) {
47
48
  const localVarPath = `/company`;
48
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
49
50
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -54,9 +55,6 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
54
55
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
55
56
  const localVarHeaderParameter = {};
56
57
  const localVarQueryParameter = {};
57
- // authentication Basic required
58
- // http basic authentication required
59
- setBasicAuthToObject(localVarRequestOptions, configuration);
60
58
  if (page !== undefined) {
61
59
  localVarQueryParameter['page'] = page;
62
60
  }
@@ -66,6 +64,9 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
66
64
  if (sort !== undefined) {
67
65
  localVarQueryParameter['sort'] = sort;
68
66
  }
67
+ if (q !== undefined) {
68
+ localVarQueryParameter['q'] = q;
69
+ }
69
70
  localVarHeaderParameter['Accept'] = 'application/json';
70
71
  setSearchParams(localVarUrlObj, localVarQueryParameter);
71
72
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -97,9 +98,6 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
97
98
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
98
99
  const localVarHeaderParameter = {};
99
100
  const localVarQueryParameter = {};
100
- // authentication Basic required
101
- // http basic authentication required
102
- setBasicAuthToObject(localVarRequestOptions, configuration);
103
101
  if (force !== undefined) {
104
102
  localVarQueryParameter['force'] = force;
105
103
  }
@@ -133,9 +131,6 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
133
131
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
134
132
  const localVarHeaderParameter = {};
135
133
  const localVarQueryParameter = {};
136
- // authentication Basic required
137
- // http basic authentication required
138
- setBasicAuthToObject(localVarRequestOptions, configuration);
139
134
  localVarHeaderParameter['Accept'] = 'application/json';
140
135
  setSearchParams(localVarUrlObj, localVarQueryParameter);
141
136
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -165,9 +160,6 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
165
160
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
166
161
  const localVarHeaderParameter = {};
167
162
  const localVarQueryParameter = {};
168
- // authentication Basic required
169
- // http basic authentication required
170
- setBasicAuthToObject(localVarRequestOptions, configuration);
171
163
  localVarHeaderParameter['Content-Type'] = 'application/json';
172
164
  localVarHeaderParameter['Accept'] = 'application/json';
173
165
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -199,9 +191,6 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
199
191
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
200
192
  const localVarHeaderParameter = {};
201
193
  const localVarQueryParameter = {};
202
- // authentication Basic required
203
- // http basic authentication required
204
- setBasicAuthToObject(localVarRequestOptions, configuration);
205
194
  localVarHeaderParameter['Content-Type'] = 'application/json';
206
195
  localVarHeaderParameter['Accept'] = 'application/json';
207
196
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -234,9 +223,6 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
234
223
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
235
224
  const localVarHeaderParameter = {};
236
225
  const localVarQueryParameter = {};
237
- // authentication Basic required
238
- // http basic authentication required
239
- setBasicAuthToObject(localVarRequestOptions, configuration);
240
226
  localVarHeaderParameter['Accept'] = 'application/json';
241
227
  setSearchParams(localVarUrlObj, localVarQueryParameter);
242
228
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -255,18 +241,19 @@ export const CompanyApiFp = function (configuration) {
255
241
  const localVarAxiosParamCreator = CompanyApiAxiosParamCreator(configuration);
256
242
  return {
257
243
  /**
258
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
244
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
259
245
  * @summary List companies
260
246
  * @param {number} [page] Page number.
261
247
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
262
248
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
249
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
263
250
  * @param {*} [options] Override http request option.
264
251
  * @throws {RequiredError}
265
252
  */
266
- companyGet(page, pageSize, sort, options) {
253
+ companyGet(page, pageSize, sort, q, options) {
267
254
  return __awaiter(this, void 0, void 0, function* () {
268
255
  var _a, _b, _c;
269
- const localVarAxiosArgs = yield localVarAxiosParamCreator.companyGet(page, pageSize, sort, options);
256
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.companyGet(page, pageSize, sort, q, options);
270
257
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
271
258
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CompanyApi.companyGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
272
259
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -362,16 +349,17 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
362
349
  const localVarFp = CompanyApiFp(configuration);
363
350
  return {
364
351
  /**
365
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
352
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
366
353
  * @summary List companies
367
354
  * @param {number} [page] Page number.
368
355
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
369
356
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
357
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
370
358
  * @param {*} [options] Override http request option.
371
359
  * @throws {RequiredError}
372
360
  */
373
- companyGet(page, pageSize, sort, options) {
374
- return localVarFp.companyGet(page, pageSize, sort, options).then((request) => request(axios, basePath));
361
+ companyGet(page, pageSize, sort, q, options) {
362
+ return localVarFp.companyGet(page, pageSize, sort, q, options).then((request) => request(axios, basePath));
375
363
  },
376
364
  /**
377
365
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
@@ -431,16 +419,17 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
431
419
  */
432
420
  export class CompanyApi extends BaseAPI {
433
421
  /**
434
- * Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
422
+ * Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
435
423
  * @summary List companies
436
424
  * @param {number} [page] Page number.
437
425
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
438
426
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
427
+ * @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
439
428
  * @param {*} [options] Override http request option.
440
429
  * @throws {RequiredError}
441
430
  */
442
- companyGet(page, pageSize, sort, options) {
443
- return CompanyApiFp(this.configuration).companyGet(page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
431
+ companyGet(page, pageSize, sort, q, options) {
432
+ return CompanyApiFp(this.configuration).companyGet(page, pageSize, sort, q, options).then((request) => request(this.axios, this.basePath));
444
433
  }
445
434
  /**
446
435
  * Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.