@invoicetronic/ts-sdk 1.5.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) 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 +1 -1
  27. package/dist/esm/src/api/export-api.d.ts +1 -1
  28. package/dist/esm/src/api/export-api.js +1 -1
  29. package/dist/esm/src/api/health-api.d.ts +1 -1
  30. package/dist/esm/src/api/health-api.js +1 -1
  31. package/dist/esm/src/api/log-api.d.ts +11 -6
  32. package/dist/esm/src/api/log-api.js +15 -8
  33. package/dist/esm/src/api/receive-api.d.ts +1 -1
  34. package/dist/esm/src/api/receive-api.js +1 -1
  35. package/dist/esm/src/api/send-api.d.ts +1 -1
  36. package/dist/esm/src/api/send-api.js +1 -1
  37. package/dist/esm/src/api/status-api.d.ts +1 -1
  38. package/dist/esm/src/api/status-api.js +1 -1
  39. package/dist/esm/src/api/update-api.d.ts +1 -1
  40. package/dist/esm/src/api/update-api.js +1 -1
  41. package/dist/esm/src/api/webhook-api.d.ts +1 -1
  42. package/dist/esm/src/api/webhook-api.js +1 -1
  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 -1
  73. package/dist/src/api/export-api.d.ts +1 -1
  74. package/dist/src/api/export-api.js +1 -1
  75. package/dist/src/api/health-api.d.ts +1 -1
  76. package/dist/src/api/health-api.js +1 -1
  77. package/dist/src/api/log-api.d.ts +11 -6
  78. package/dist/src/api/log-api.js +15 -8
  79. package/dist/src/api/receive-api.d.ts +1 -1
  80. package/dist/src/api/receive-api.js +1 -1
  81. package/dist/src/api/send-api.d.ts +1 -1
  82. package/dist/src/api/send-api.js +1 -1
  83. package/dist/src/api/status-api.d.ts +1 -1
  84. package/dist/src/api/status-api.js +1 -1
  85. package/dist/src/api/update-api.d.ts +1 -1
  86. package/dist/src/api/update-api.js +1 -1
  87. package/dist/src/api/webhook-api.d.ts +1 -1
  88. package/dist/src/api/webhook-api.js +1 -1
  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 +0 -7
  116. package/docs/Event.md +2 -0
  117. package/docs/LogApi.md +4 -2
  118. package/docs/Receive.md +1 -1
  119. package/docs/ReceiveApi.md +0 -4
  120. package/docs/Send.md +1 -1
  121. package/docs/SendApi.md +0 -10
  122. package/docs/UpdateApi.md +0 -1
  123. package/docs/WebHook.md +1 -1
  124. package/docs/WebhookApi.md +0 -7
  125. package/index.ts +1 -1
  126. package/package.json +1 -1
  127. package/src/api/company-api.ts +1 -3
  128. package/src/api/export-api.ts +1 -1
  129. package/src/api/health-api.ts +1 -1
  130. package/src/api/log-api.ts +18 -11
  131. package/src/api/receive-api.ts +1 -3
  132. package/src/api/send-api.ts +1 -3
  133. package/src/api/status-api.ts +1 -1
  134. package/src/api/update-api.ts +1 -3
  135. package/src/api/webhook-api.ts +1 -3
  136. package/src/models/company.ts +1 -1
  137. package/src/models/document-data.ts +1 -1
  138. package/src/models/event.ts +5 -1
  139. package/src/models/index.ts +0 -1
  140. package/src/models/model-error.ts +1 -1
  141. package/src/models/problem-details.ts +1 -1
  142. package/src/models/receive.ts +2 -2
  143. package/src/models/send-reduced.ts +1 -1
  144. package/src/models/send.ts +2 -2
  145. package/src/models/status.ts +1 -1
  146. package/src/models/update.ts +1 -1
  147. package/src/models/web-hook-history.ts +1 -1
  148. package/src/models/web-hook.ts +2 -2
  149. package/dist/esm/src/models/problem-http-result.d.ts +0 -17
  150. package/dist/esm/src/models/problem-http-result.js +0 -14
  151. package/dist/src/models/problem-http-result.d.ts +0 -17
  152. package/dist/src/models/problem-http-result.js +0 -15
  153. package/docs/ProblemHttpResult.md +0 -24
  154. 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.4
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.4
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.4
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.4
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.4
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.4
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.4
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -65,6 +65,10 @@ export interface Event {
65
65
  * ID of the resource created or modified by this request.
66
66
  */
67
67
  'resource_id'?: number | null;
68
+ /**
69
+ * User-Agent header from the HTTP request.
70
+ */
71
+ 'user_agent'?: string | null;
68
72
  /**
69
73
  * Whether the request was successful.
70
74
  */
@@ -4,7 +4,7 @@
4
4
  * Invoicetronic API
5
5
  * The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
6
6
  *
7
- * The version of the OpenAPI document: 1
7
+ * The version of the OpenAPI document: 1.6.4
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,6 @@ export * from './document-data';
3
3
  export * from './event';
4
4
  export * from './model-error';
5
5
  export * from './problem-details';
6
- export * from './problem-http-result';
7
6
  export * from './receive';
8
7
  export * from './send';
9
8
  export * from './send-reduced';
@@ -3,7 +3,6 @@ export * from './document-data';
3
3
  export * from './event';
4
4
  export * from './model-error';
5
5
  export * from './problem-details';
6
- export * from './problem-http-result';
7
6
  export * from './receive';
8
7
  export * from './send';
9
8
  export * from './send-reduced';
@@ -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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
8
8
  * Contact: info@invoicetronic.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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);
@@ -121,6 +122,9 @@ const LogApiAxiosParamCreator = function (configuration) {
121
122
  dateTimeTo.toISOString() :
122
123
  dateTimeTo;
123
124
  }
125
+ if (userAgent !== undefined) {
126
+ localVarQueryParameter['user_agent'] = userAgent;
127
+ }
124
128
  localVarHeaderParameter['Accept'] = 'application/json';
125
129
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
126
130
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -189,13 +193,14 @@ const LogApiFp = function (configuration) {
189
193
  * @param {boolean} [success]
190
194
  * @param {string} [dateTimeFrom] Date and time of the event
191
195
  * @param {string} [dateTimeTo] Date and time of the event
196
+ * @param {string} [userAgent]
192
197
  * @param {*} [options] Override http request option.
193
198
  * @throws {RequiredError}
194
199
  */
195
- logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options) {
200
+ logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options) {
196
201
  return __awaiter(this, void 0, void 0, function* () {
197
202
  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);
203
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options);
199
204
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
200
205
  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
206
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -243,11 +248,12 @@ const LogApiFactory = function (configuration, basePath, axios) {
243
248
  * @param {boolean} [success]
244
249
  * @param {string} [dateTimeFrom] Date and time of the event
245
250
  * @param {string} [dateTimeTo] Date and time of the event
251
+ * @param {string} [userAgent]
246
252
  * @param {*} [options] Override http request option.
247
253
  * @throws {RequiredError}
248
254
  */
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));
255
+ logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options) {
256
+ 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
257
  },
252
258
  /**
253
259
  * 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 +289,12 @@ class LogApi extends base_1.BaseAPI {
283
289
  * @param {boolean} [success]
284
290
  * @param {string} [dateTimeFrom] Date and time of the event
285
291
  * @param {string} [dateTimeTo] Date and time of the event
292
+ * @param {string} [userAgent]
286
293
  * @param {*} [options] Override http request option.
287
294
  * @throws {RequiredError}
288
295
  */
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));
296
+ logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options) {
297
+ 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
298
  }
292
299
  /**
293
300
  * 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.4
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).