@invoicetronic/ts-sdk 1.5.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 (157) 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 +2 -20
  27. package/dist/esm/src/api/export-api.d.ts +1 -1
  28. package/dist/esm/src/api/export-api.js +2 -5
  29. package/dist/esm/src/api/health-api.d.ts +1 -1
  30. package/dist/esm/src/api/health-api.js +2 -5
  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 +1 -1
  34. package/dist/esm/src/api/receive-api.js +2 -14
  35. package/dist/esm/src/api/send-api.d.ts +1 -1
  36. package/dist/esm/src/api/send-api.js +2 -38
  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 +1 -1
  40. package/dist/esm/src/api/update-api.js +2 -8
  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 +1 -1
  46. package/dist/esm/src/models/document-data.js +1 -1
  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 +0 -1
  50. package/dist/esm/src/models/index.js +0 -1
  51. package/dist/esm/src/models/model-error.d.ts +1 -1
  52. package/dist/esm/src/models/model-error.js +1 -1
  53. package/dist/esm/src/models/problem-details.d.ts +1 -1
  54. package/dist/esm/src/models/problem-details.js +1 -1
  55. package/dist/esm/src/models/receive.d.ts +2 -2
  56. package/dist/esm/src/models/receive.js +1 -1
  57. package/dist/esm/src/models/send-reduced.d.ts +1 -1
  58. package/dist/esm/src/models/send-reduced.js +1 -1
  59. package/dist/esm/src/models/send.d.ts +2 -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 +1 -1
  72. package/dist/src/api/company-api.js +1 -19
  73. package/dist/src/api/export-api.d.ts +1 -1
  74. package/dist/src/api/export-api.js +1 -4
  75. package/dist/src/api/health-api.d.ts +1 -1
  76. package/dist/src/api/health-api.js +1 -4
  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 +1 -1
  80. package/dist/src/api/receive-api.js +1 -13
  81. package/dist/src/api/send-api.d.ts +1 -1
  82. package/dist/src/api/send-api.js +1 -37
  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 +1 -1
  86. package/dist/src/api/update-api.js +1 -7
  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 +1 -1
  92. package/dist/src/models/document-data.js +1 -1
  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 +0 -1
  96. package/dist/src/models/index.js +0 -1
  97. package/dist/src/models/model-error.d.ts +1 -1
  98. package/dist/src/models/model-error.js +1 -1
  99. package/dist/src/models/problem-details.d.ts +1 -1
  100. package/dist/src/models/problem-details.js +1 -1
  101. package/dist/src/models/receive.d.ts +2 -2
  102. package/dist/src/models/receive.js +1 -1
  103. package/dist/src/models/send-reduced.d.ts +1 -1
  104. package/dist/src/models/send-reduced.js +1 -1
  105. package/dist/src/models/send.d.ts +2 -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 +6 -13
  116. package/docs/Event.md +2 -0
  117. package/docs/ExportApi.md +1 -1
  118. package/docs/HealthApi.md +1 -1
  119. package/docs/LogApi.md +6 -4
  120. package/docs/Receive.md +1 -1
  121. package/docs/ReceiveApi.md +4 -8
  122. package/docs/Send.md +1 -1
  123. package/docs/SendApi.md +12 -22
  124. package/docs/StatusApi.md +1 -1
  125. package/docs/UpdateApi.md +2 -3
  126. package/docs/WebHook.md +1 -1
  127. package/docs/WebhookApi.md +7 -14
  128. package/index.ts +1 -1
  129. package/package.json +1 -1
  130. package/src/api/company-api.ts +1 -27
  131. package/src/api/export-api.ts +1 -5
  132. package/src/api/health-api.ts +1 -5
  133. package/src/api/log-api.ts +18 -19
  134. package/src/api/receive-api.ts +1 -19
  135. package/src/api/send-api.ts +1 -51
  136. package/src/api/status-api.ts +1 -5
  137. package/src/api/update-api.ts +1 -11
  138. package/src/api/webhook-api.ts +1 -31
  139. package/src/models/company.ts +1 -1
  140. package/src/models/document-data.ts +1 -1
  141. package/src/models/event.ts +5 -1
  142. package/src/models/index.ts +0 -1
  143. package/src/models/model-error.ts +1 -1
  144. package/src/models/problem-details.ts +1 -1
  145. package/src/models/receive.ts +2 -2
  146. package/src/models/send-reduced.ts +1 -1
  147. package/src/models/send.ts +2 -2
  148. package/src/models/status.ts +1 -1
  149. package/src/models/update.ts +1 -1
  150. package/src/models/web-hook-history.ts +1 -1
  151. package/src/models/web-hook.ts +2 -2
  152. package/dist/esm/src/models/problem-http-result.d.ts +0 -17
  153. package/dist/esm/src/models/problem-http-result.js +0 -14
  154. package/dist/src/models/problem-http-result.d.ts +0 -17
  155. package/dist/src/models/problem-http-result.js +0 -15
  156. package/docs/ProblemHttpResult.md +0 -24
  157. package/src/models/problem-http-result.ts +0 -25
@@ -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).
@@ -31,7 +31,7 @@ export interface Receive {
31
31
  */
32
32
  'user_id'?: number;
33
33
  /**
34
- * Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created.
34
+ * Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created.
35
35
  */
36
36
  'company_id'?: number;
37
37
  /**
@@ -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).
@@ -32,7 +32,7 @@ export interface Send {
32
32
  */
33
33
  'user_id'?: number;
34
34
  /**
35
- * Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created.
35
+ * Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created.
36
36
  */
37
37
  'company_id'?: number;
38
38
  /**
@@ -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).
@@ -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).
@@ -50,7 +50,7 @@ export interface WebHook {
50
50
  */
51
51
  'description'?: string | null;
52
52
  /**
53
- * List of events that trigger the webhook. See Invoicetronic.SupportedEvents.Available for a list of valid event names.
53
+ * List of events that trigger the webhook. See Invoicetronic.SupportedEvents.Available for a list of valid event names.
54
54
  */
55
55
  'events'?: Array<string> | null;
56
56
  }
@@ -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/dist/index.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/index.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).
@@ -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).
@@ -58,9 +58,6 @@ const CompanyApiAxiosParamCreator = function (configuration) {
58
58
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
59
59
  const localVarHeaderParameter = {};
60
60
  const localVarQueryParameter = {};
61
- // authentication Basic required
62
- // http basic authentication required
63
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
64
61
  if (page !== undefined) {
65
62
  localVarQueryParameter['page'] = page;
66
63
  }
@@ -104,9 +101,6 @@ const CompanyApiAxiosParamCreator = function (configuration) {
104
101
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
105
102
  const localVarHeaderParameter = {};
106
103
  const localVarQueryParameter = {};
107
- // authentication Basic required
108
- // http basic authentication required
109
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
110
104
  if (force !== undefined) {
111
105
  localVarQueryParameter['force'] = force;
112
106
  }
@@ -140,9 +134,6 @@ const CompanyApiAxiosParamCreator = function (configuration) {
140
134
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
141
135
  const localVarHeaderParameter = {};
142
136
  const localVarQueryParameter = {};
143
- // authentication Basic required
144
- // http basic authentication required
145
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
146
137
  localVarHeaderParameter['Accept'] = 'application/json';
147
138
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
148
139
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -172,9 +163,6 @@ const CompanyApiAxiosParamCreator = function (configuration) {
172
163
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
173
164
  const localVarHeaderParameter = {};
174
165
  const localVarQueryParameter = {};
175
- // authentication Basic required
176
- // http basic authentication required
177
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
178
166
  localVarHeaderParameter['Content-Type'] = 'application/json';
179
167
  localVarHeaderParameter['Accept'] = 'application/json';
180
168
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -206,9 +194,6 @@ const CompanyApiAxiosParamCreator = function (configuration) {
206
194
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
207
195
  const localVarHeaderParameter = {};
208
196
  const localVarQueryParameter = {};
209
- // authentication Basic required
210
- // http basic authentication required
211
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
212
197
  localVarHeaderParameter['Content-Type'] = 'application/json';
213
198
  localVarHeaderParameter['Accept'] = 'application/json';
214
199
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -241,9 +226,6 @@ const CompanyApiAxiosParamCreator = function (configuration) {
241
226
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
242
227
  const localVarHeaderParameter = {};
243
228
  const localVarQueryParameter = {};
244
- // authentication Basic required
245
- // http basic authentication required
246
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
247
229
  localVarHeaderParameter['Accept'] = 'application/json';
248
230
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
249
231
  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
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).
@@ -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).
@@ -61,9 +61,6 @@ const ExportApiAxiosParamCreator = function (configuration) {
61
61
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
62
62
  const localVarHeaderParameter = {};
63
63
  const localVarQueryParameter = {};
64
- // authentication Basic required
65
- // http basic authentication required
66
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
67
64
  if (type !== undefined) {
68
65
  localVarQueryParameter['type'] = type;
69
66
  }
@@ -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).
@@ -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).
@@ -54,9 +54,6 @@ const HealthApiAxiosParamCreator = function (configuration) {
54
54
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
55
55
  const localVarHeaderParameter = {};
56
56
  const localVarQueryParameter = {};
57
- // authentication Basic required
58
- // http basic authentication required
59
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
60
57
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
61
58
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62
59
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.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
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).
@@ -34,10 +34,11 @@ export declare const LogApiAxiosParamCreator: (configuration?: Configuration) =>
34
34
  * @param {boolean} [success]
35
35
  * @param {string} [dateTimeFrom] Date and time of the event
36
36
  * @param {string} [dateTimeTo] Date and time of the event
37
+ * @param {string} [userAgent]
37
38
  * @param {*} [options] Override http request option.
38
39
  * @throws {RequiredError}
39
40
  */
40
- logGet: (companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ logGet: (companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
42
  /**
42
43
  * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
43
44
  * @summary Get an event by id
@@ -68,10 +69,11 @@ export declare const LogApiFp: (configuration?: Configuration) => {
68
69
  * @param {boolean} [success]
69
70
  * @param {string} [dateTimeFrom] Date and time of the event
70
71
  * @param {string} [dateTimeTo] Date and time of the event
72
+ * @param {string} [userAgent]
71
73
  * @param {*} [options] Override http request option.
72
74
  * @throws {RequiredError}
73
75
  */
74
- logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Event>>>;
76
+ logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Event>>>;
75
77
  /**
76
78
  * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
77
79
  * @summary Get an event by id
@@ -102,10 +104,11 @@ export declare const LogApiFactory: (configuration?: Configuration, basePath?: s
102
104
  * @param {boolean} [success]
103
105
  * @param {string} [dateTimeFrom] Date and time of the event
104
106
  * @param {string} [dateTimeTo] Date and time of the event
107
+ * @param {string} [userAgent]
105
108
  * @param {*} [options] Override http request option.
106
109
  * @throws {RequiredError}
107
110
  */
108
- logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
111
+ logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
109
112
  /**
110
113
  * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
111
114
  * @summary Get an event by id
@@ -136,10 +139,11 @@ export interface LogApiInterface {
136
139
  * @param {boolean} [success]
137
140
  * @param {string} [dateTimeFrom] Date and time of the event
138
141
  * @param {string} [dateTimeTo] Date and time of the event
142
+ * @param {string} [userAgent]
139
143
  * @param {*} [options] Override http request option.
140
144
  * @throws {RequiredError}
141
145
  */
142
- logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
146
+ logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
143
147
  /**
144
148
  * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
145
149
  * @summary Get an event by id
@@ -170,10 +174,11 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
170
174
  * @param {boolean} [success]
171
175
  * @param {string} [dateTimeFrom] Date and time of the event
172
176
  * @param {string} [dateTimeTo] Date and time of the event
177
+ * @param {string} [userAgent]
173
178
  * @param {*} [options] Override http request option.
174
179
  * @throws {RequiredError}
175
180
  */
176
- logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any, {}>>;
181
+ logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any, {}>>;
177
182
  /**
178
183
  * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
179
184
  * @summary Get an event by id
@@ -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).
@@ -54,10 +54,11 @@ const LogApiAxiosParamCreator = function (configuration) {
54
54
  * @param {boolean} [success]
55
55
  * @param {string} [dateTimeFrom] Date and time of the event
56
56
  * @param {string} [dateTimeTo] Date and time of the event
57
+ * @param {string} [userAgent]
57
58
  * @param {*} [options] Override http request option.
58
59
  * @throws {RequiredError}
59
60
  */
60
- logGet: (companyId_1, endpoint_1, method_1, apiVerion_1, statusCode_1, dateCreatedFrom_1, dateCreatedTo_1, page_1, pageSize_1, sort_1, query_1, success_1, dateTimeFrom_1, dateTimeTo_1, ...args_1) => __awaiter(this, [companyId_1, endpoint_1, method_1, apiVerion_1, statusCode_1, dateCreatedFrom_1, dateCreatedTo_1, page_1, pageSize_1, sort_1, query_1, success_1, dateTimeFrom_1, dateTimeTo_1, ...args_1], void 0, function* (companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options = {}) {
61
+ logGet: (companyId_1, endpoint_1, method_1, apiVerion_1, statusCode_1, dateCreatedFrom_1, dateCreatedTo_1, page_1, pageSize_1, sort_1, query_1, success_1, dateTimeFrom_1, dateTimeTo_1, userAgent_1, ...args_1) => __awaiter(this, [companyId_1, endpoint_1, method_1, apiVerion_1, statusCode_1, dateCreatedFrom_1, dateCreatedTo_1, page_1, pageSize_1, sort_1, query_1, success_1, dateTimeFrom_1, dateTimeTo_1, userAgent_1, ...args_1], void 0, function* (companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options = {}) {
61
62
  const localVarPath = `/log`;
62
63
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
63
64
  const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -68,9 +69,6 @@ const LogApiAxiosParamCreator = function (configuration) {
68
69
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
69
70
  const localVarHeaderParameter = {};
70
71
  const localVarQueryParameter = {};
71
- // authentication Basic required
72
- // http basic authentication required
73
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
74
72
  if (companyId !== undefined) {
75
73
  localVarQueryParameter['company_id'] = companyId;
76
74
  }
@@ -121,6 +119,9 @@ const LogApiAxiosParamCreator = function (configuration) {
121
119
  dateTimeTo.toISOString() :
122
120
  dateTimeTo;
123
121
  }
122
+ if (userAgent !== undefined) {
123
+ localVarQueryParameter['user_agent'] = userAgent;
124
+ }
124
125
  localVarHeaderParameter['Accept'] = 'application/json';
125
126
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
126
127
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -151,9 +152,6 @@ const LogApiAxiosParamCreator = function (configuration) {
151
152
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
152
153
  const localVarHeaderParameter = {};
153
154
  const localVarQueryParameter = {};
154
- // authentication Basic required
155
- // http basic authentication required
156
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
157
155
  localVarHeaderParameter['Accept'] = 'application/json';
158
156
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
159
157
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -189,13 +187,14 @@ const LogApiFp = function (configuration) {
189
187
  * @param {boolean} [success]
190
188
  * @param {string} [dateTimeFrom] Date and time of the event
191
189
  * @param {string} [dateTimeTo] Date and time of the event
190
+ * @param {string} [userAgent]
192
191
  * @param {*} [options] Override http request option.
193
192
  * @throws {RequiredError}
194
193
  */
195
- logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
194
+ logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options) {
196
195
  return __awaiter(this, void 0, void 0, function* () {
197
196
  var _a, _b, _c;
198
- const localVarAxiosArgs = yield localVarAxiosParamCreator.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options);
197
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options);
199
198
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
200
199
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LogApi.logGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
201
200
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -243,11 +242,12 @@ const LogApiFactory = function (configuration, basePath, axios) {
243
242
  * @param {boolean} [success]
244
243
  * @param {string} [dateTimeFrom] Date and time of the event
245
244
  * @param {string} [dateTimeTo] Date and time of the event
245
+ * @param {string} [userAgent]
246
246
  * @param {*} [options] Override http request option.
247
247
  * @throws {RequiredError}
248
248
  */
249
- logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
250
- return localVarFp.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(axios, basePath));
249
+ logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options) {
250
+ return localVarFp.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options).then((request) => request(axios, basePath));
251
251
  },
252
252
  /**
253
253
  * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
@@ -283,11 +283,12 @@ class LogApi extends base_1.BaseAPI {
283
283
  * @param {boolean} [success]
284
284
  * @param {string} [dateTimeFrom] Date and time of the event
285
285
  * @param {string} [dateTimeTo] Date and time of the event
286
+ * @param {string} [userAgent]
286
287
  * @param {*} [options] Override http request option.
287
288
  * @throws {RequiredError}
288
289
  */
289
- logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
290
- return (0, exports.LogApiFp)(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(this.axios, this.basePath));
290
+ logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options) {
291
+ return (0, exports.LogApiFp)(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options).then((request) => request(this.axios, this.basePath));
291
292
  }
292
293
  /**
293
294
  * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
@@ -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).
@@ -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).
@@ -72,9 +72,6 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
72
72
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
73
73
  const localVarHeaderParameter = {};
74
74
  const localVarQueryParameter = {};
75
- // authentication Basic required
76
- // http basic authentication required
77
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
78
75
  if (companyId !== undefined) {
79
76
  localVarQueryParameter['company_id'] = companyId;
80
77
  }
@@ -171,9 +168,6 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
171
168
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
172
169
  const localVarHeaderParameter = {};
173
170
  const localVarQueryParameter = {};
174
- // authentication Basic required
175
- // http basic authentication required
176
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
177
171
  localVarHeaderParameter['Accept'] = 'application/json';
178
172
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
179
173
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -205,9 +199,6 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
205
199
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
206
200
  const localVarHeaderParameter = {};
207
201
  const localVarQueryParameter = {};
208
- // authentication Basic required
209
- // http basic authentication required
210
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
211
202
  if (includePayload !== undefined) {
212
203
  localVarQueryParameter['include_payload'] = includePayload;
213
204
  }
@@ -241,9 +232,6 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
241
232
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
242
233
  const localVarHeaderParameter = {};
243
234
  const localVarQueryParameter = {};
244
- // authentication Basic required
245
- // http basic authentication required
246
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
247
235
  localVarHeaderParameter['Accept'] = 'application/problem+json';
248
236
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
249
237
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};