@invoicetronic/ts-sdk 1.0.1 → 1.1.1

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 (238) hide show
  1. package/.github/workflows/release.yml +8 -4
  2. package/CHANGELOG.md +1 -1
  3. package/README.md +2 -2
  4. package/base.ts +0 -24
  5. package/common.ts +1 -38
  6. package/configuration.ts +25 -19
  7. package/dist/base.d.ts +0 -24
  8. package/dist/base.js +0 -19
  9. package/dist/common.d.ts +0 -37
  10. package/dist/common.js +0 -37
  11. package/dist/configuration.d.ts +24 -17
  12. package/dist/configuration.js +2 -2
  13. package/dist/esm/base.d.ts +0 -24
  14. package/dist/esm/base.js +0 -19
  15. package/dist/esm/common.d.ts +0 -37
  16. package/dist/esm/common.js +0 -37
  17. package/dist/esm/configuration.d.ts +24 -17
  18. package/dist/esm/configuration.js +2 -2
  19. package/dist/esm/src/api/company-api.d.ts +0 -18
  20. package/dist/esm/src/api/company-api.js +5 -11
  21. package/dist/esm/src/api/log-api.d.ts +0 -12
  22. package/dist/esm/src/api/log-api.js +2 -8
  23. package/dist/esm/src/api/receive-api.d.ts +0 -14
  24. package/dist/esm/src/api/receive-api.js +3 -9
  25. package/dist/esm/src/api/send-api.d.ts +0 -42
  26. package/dist/esm/src/api/send-api.js +11 -29
  27. package/dist/esm/src/api/status-api.d.ts +0 -10
  28. package/dist/esm/src/api/status-api.js +1 -7
  29. package/dist/esm/src/api/update-api.d.ts +0 -15
  30. package/dist/esm/src/api/update-api.js +2 -11
  31. package/dist/esm/src/api/webhook-api.d.ts +0 -22
  32. package/dist/esm/src/api/webhook-api.js +7 -13
  33. package/dist/esm/src/models/allegati.d.ts +0 -30
  34. package/dist/esm/src/models/altri-dati-gestionali.d.ts +0 -25
  35. package/dist/esm/src/models/anagrafica.d.ts +0 -30
  36. package/dist/esm/src/models/cedente-prestatore.d.ts +0 -35
  37. package/dist/esm/src/models/cessionario-committente.d.ts +0 -25
  38. package/dist/esm/src/models/codice-articolo.d.ts +0 -15
  39. package/dist/esm/src/models/company.d.ts +0 -16
  40. package/dist/esm/src/models/contatti-trasmittente.d.ts +0 -15
  41. package/dist/esm/src/models/contatti.d.ts +0 -20
  42. package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -45
  43. package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -20
  44. package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +0 -25
  45. package/dist/esm/src/models/dati-anagrafici.d.ts +0 -20
  46. package/dist/esm/src/models/dati-beni-servizi.d.ts +0 -15
  47. package/dist/esm/src/models/dati-bollo.d.ts +0 -15
  48. package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +0 -45
  49. package/dist/esm/src/models/dati-contratto.d.ts +0 -40
  50. package/dist/esm/src/models/dati-convenzione.d.ts +0 -40
  51. package/dist/esm/src/models/dati-ddt.d.ts +0 -20
  52. package/dist/esm/src/models/dati-fatture-collegate.d.ts +0 -40
  53. package/dist/esm/src/models/dati-generali-documento.d.ts +0 -65
  54. package/dist/esm/src/models/dati-generali.d.ts +0 -55
  55. package/dist/esm/src/models/dati-ordine-acquisto.d.ts +0 -40
  56. package/dist/esm/src/models/dati-pagamento.d.ts +0 -15
  57. package/dist/esm/src/models/dati-ricezione.d.ts +0 -40
  58. package/dist/esm/src/models/dati-riepilogo.d.ts +0 -45
  59. package/dist/esm/src/models/dati-ritenuta.d.ts +0 -25
  60. package/dist/esm/src/models/dati-sal.d.ts +0 -10
  61. package/dist/esm/src/models/dati-trasmissione.d.ts +0 -35
  62. package/dist/esm/src/models/dati-trasporto.d.ts +0 -70
  63. package/dist/esm/src/models/dati-veicoli.d.ts +0 -15
  64. package/dist/esm/src/models/dettaglio-linee.d.ts +0 -85
  65. package/dist/esm/src/models/dettaglio-pagamento.d.ts +0 -110
  66. package/dist/esm/src/models/document-data.d.ts +0 -15
  67. package/dist/esm/src/models/event.d.ts +10 -41
  68. package/dist/esm/src/models/fattura-elettronica-body.d.ts +0 -30
  69. package/dist/esm/src/models/fattura-elettronica-header.d.ts +0 -35
  70. package/dist/esm/src/models/fattura-ordinaria.d.ts +0 -20
  71. package/dist/esm/src/models/fattura-principale.d.ts +0 -15
  72. package/dist/esm/src/models/id-fiscale-iva.d.ts +0 -15
  73. package/dist/esm/src/models/id-trasmittente.d.ts +0 -15
  74. package/dist/esm/src/models/indirizzo-resa.d.ts +0 -35
  75. package/dist/esm/src/models/iscrizione-rea.d.ts +0 -30
  76. package/dist/esm/src/models/model-error.d.ts +0 -8
  77. package/dist/esm/src/models/problem-details.d.ts +0 -30
  78. package/dist/esm/src/models/problem-http-result.d.ts +0 -20
  79. package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -25
  80. package/dist/esm/src/models/rappresentante-fiscale.d.ts +0 -10
  81. package/dist/esm/src/models/receive.d.ts +1 -40
  82. package/dist/esm/src/models/sconto-maggiorazione.d.ts +0 -20
  83. package/dist/esm/src/models/sede-cedente-prestatore.d.ts +0 -35
  84. package/dist/esm/src/models/sede-cessionario-committente.d.ts +0 -35
  85. package/dist/esm/src/models/send-reduced.d.ts +0 -12
  86. package/dist/esm/src/models/send.d.ts +1 -43
  87. package/dist/esm/src/models/stabile-organizzazione.d.ts +0 -35
  88. package/dist/esm/src/models/status.d.ts +0 -9
  89. package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -10
  90. package/dist/esm/src/models/update.d.ts +0 -34
  91. package/dist/esm/src/models/web-hook-history.d.ts +0 -20
  92. package/dist/esm/src/models/web-hook.d.ts +1 -26
  93. package/dist/src/api/company-api.d.ts +0 -18
  94. package/dist/src/api/company-api.js +5 -11
  95. package/dist/src/api/log-api.d.ts +0 -12
  96. package/dist/src/api/log-api.js +2 -8
  97. package/dist/src/api/receive-api.d.ts +0 -14
  98. package/dist/src/api/receive-api.js +3 -9
  99. package/dist/src/api/send-api.d.ts +0 -42
  100. package/dist/src/api/send-api.js +11 -29
  101. package/dist/src/api/status-api.d.ts +0 -10
  102. package/dist/src/api/status-api.js +1 -7
  103. package/dist/src/api/update-api.d.ts +0 -15
  104. package/dist/src/api/update-api.js +2 -11
  105. package/dist/src/api/webhook-api.d.ts +0 -22
  106. package/dist/src/api/webhook-api.js +7 -13
  107. package/dist/src/models/allegati.d.ts +0 -30
  108. package/dist/src/models/altri-dati-gestionali.d.ts +0 -25
  109. package/dist/src/models/anagrafica.d.ts +0 -30
  110. package/dist/src/models/cedente-prestatore.d.ts +0 -35
  111. package/dist/src/models/cessionario-committente.d.ts +0 -25
  112. package/dist/src/models/codice-articolo.d.ts +0 -15
  113. package/dist/src/models/company.d.ts +0 -16
  114. package/dist/src/models/contatti-trasmittente.d.ts +0 -15
  115. package/dist/src/models/contatti.d.ts +0 -20
  116. package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +0 -45
  117. package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +0 -20
  118. package/dist/src/models/dati-anagrafici-vettore.d.ts +0 -25
  119. package/dist/src/models/dati-anagrafici.d.ts +0 -20
  120. package/dist/src/models/dati-beni-servizi.d.ts +0 -15
  121. package/dist/src/models/dati-bollo.d.ts +0 -15
  122. package/dist/src/models/dati-cassa-previdenziale.d.ts +0 -45
  123. package/dist/src/models/dati-contratto.d.ts +0 -40
  124. package/dist/src/models/dati-convenzione.d.ts +0 -40
  125. package/dist/src/models/dati-ddt.d.ts +0 -20
  126. package/dist/src/models/dati-fatture-collegate.d.ts +0 -40
  127. package/dist/src/models/dati-generali-documento.d.ts +0 -65
  128. package/dist/src/models/dati-generali.d.ts +0 -55
  129. package/dist/src/models/dati-ordine-acquisto.d.ts +0 -40
  130. package/dist/src/models/dati-pagamento.d.ts +0 -15
  131. package/dist/src/models/dati-ricezione.d.ts +0 -40
  132. package/dist/src/models/dati-riepilogo.d.ts +0 -45
  133. package/dist/src/models/dati-ritenuta.d.ts +0 -25
  134. package/dist/src/models/dati-sal.d.ts +0 -10
  135. package/dist/src/models/dati-trasmissione.d.ts +0 -35
  136. package/dist/src/models/dati-trasporto.d.ts +0 -70
  137. package/dist/src/models/dati-veicoli.d.ts +0 -15
  138. package/dist/src/models/dettaglio-linee.d.ts +0 -85
  139. package/dist/src/models/dettaglio-pagamento.d.ts +0 -110
  140. package/dist/src/models/document-data.d.ts +0 -15
  141. package/dist/src/models/event.d.ts +10 -41
  142. package/dist/src/models/fattura-elettronica-body.d.ts +0 -30
  143. package/dist/src/models/fattura-elettronica-header.d.ts +0 -35
  144. package/dist/src/models/fattura-ordinaria.d.ts +0 -20
  145. package/dist/src/models/fattura-principale.d.ts +0 -15
  146. package/dist/src/models/id-fiscale-iva.d.ts +0 -15
  147. package/dist/src/models/id-trasmittente.d.ts +0 -15
  148. package/dist/src/models/indirizzo-resa.d.ts +0 -35
  149. package/dist/src/models/iscrizione-rea.d.ts +0 -30
  150. package/dist/src/models/model-error.d.ts +0 -8
  151. package/dist/src/models/problem-details.d.ts +0 -30
  152. package/dist/src/models/problem-http-result.d.ts +0 -20
  153. package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +0 -25
  154. package/dist/src/models/rappresentante-fiscale.d.ts +0 -10
  155. package/dist/src/models/receive.d.ts +1 -40
  156. package/dist/src/models/sconto-maggiorazione.d.ts +0 -20
  157. package/dist/src/models/sede-cedente-prestatore.d.ts +0 -35
  158. package/dist/src/models/sede-cessionario-committente.d.ts +0 -35
  159. package/dist/src/models/send-reduced.d.ts +0 -12
  160. package/dist/src/models/send.d.ts +1 -43
  161. package/dist/src/models/stabile-organizzazione.d.ts +0 -35
  162. package/dist/src/models/status.d.ts +0 -9
  163. package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +0 -10
  164. package/dist/src/models/update.d.ts +0 -34
  165. package/dist/src/models/web-hook-history.d.ts +0 -20
  166. package/dist/src/models/web-hook.d.ts +1 -26
  167. package/docs/Event.md +6 -4
  168. package/docs/Receive.md +1 -1
  169. package/docs/Send.md +1 -1
  170. package/docs/WebHook.md +1 -1
  171. package/package.json +1 -1
  172. package/src/api/company-api.ts +5 -25
  173. package/src/api/log-api.ts +2 -14
  174. package/src/api/receive-api.ts +3 -17
  175. package/src/api/send-api.ts +13 -63
  176. package/src/api/status-api.ts +1 -11
  177. package/src/api/update-api.ts +2 -17
  178. package/src/api/webhook-api.ts +7 -31
  179. package/src/models/allegati.ts +0 -30
  180. package/src/models/altri-dati-gestionali.ts +0 -25
  181. package/src/models/anagrafica.ts +0 -30
  182. package/src/models/cedente-prestatore.ts +0 -35
  183. package/src/models/cessionario-committente.ts +0 -25
  184. package/src/models/codice-articolo.ts +0 -15
  185. package/src/models/company.ts +0 -16
  186. package/src/models/contatti-trasmittente.ts +0 -15
  187. package/src/models/contatti.ts +0 -20
  188. package/src/models/dati-anagrafici-cedente-prestatore.ts +0 -45
  189. package/src/models/dati-anagrafici-cessionario-committente.ts +0 -20
  190. package/src/models/dati-anagrafici-vettore.ts +0 -25
  191. package/src/models/dati-anagrafici.ts +0 -20
  192. package/src/models/dati-beni-servizi.ts +0 -15
  193. package/src/models/dati-bollo.ts +0 -15
  194. package/src/models/dati-cassa-previdenziale.ts +0 -45
  195. package/src/models/dati-contratto.ts +0 -40
  196. package/src/models/dati-convenzione.ts +0 -40
  197. package/src/models/dati-ddt.ts +0 -20
  198. package/src/models/dati-fatture-collegate.ts +0 -40
  199. package/src/models/dati-generali-documento.ts +0 -65
  200. package/src/models/dati-generali.ts +0 -55
  201. package/src/models/dati-ordine-acquisto.ts +0 -40
  202. package/src/models/dati-pagamento.ts +0 -15
  203. package/src/models/dati-ricezione.ts +0 -40
  204. package/src/models/dati-riepilogo.ts +0 -45
  205. package/src/models/dati-ritenuta.ts +0 -25
  206. package/src/models/dati-sal.ts +0 -10
  207. package/src/models/dati-trasmissione.ts +0 -35
  208. package/src/models/dati-trasporto.ts +0 -70
  209. package/src/models/dati-veicoli.ts +0 -15
  210. package/src/models/dettaglio-linee.ts +0 -85
  211. package/src/models/dettaglio-pagamento.ts +0 -110
  212. package/src/models/document-data.ts +0 -15
  213. package/src/models/event.ts +10 -41
  214. package/src/models/fattura-elettronica-body.ts +0 -30
  215. package/src/models/fattura-elettronica-header.ts +0 -35
  216. package/src/models/fattura-ordinaria.ts +0 -20
  217. package/src/models/fattura-principale.ts +0 -15
  218. package/src/models/id-fiscale-iva.ts +0 -15
  219. package/src/models/id-trasmittente.ts +0 -15
  220. package/src/models/indirizzo-resa.ts +0 -35
  221. package/src/models/iscrizione-rea.ts +0 -30
  222. package/src/models/model-error.ts +0 -8
  223. package/src/models/problem-details.ts +0 -30
  224. package/src/models/problem-http-result.ts +0 -20
  225. package/src/models/rappresentante-fiscale-cessionario-committente.ts +0 -25
  226. package/src/models/rappresentante-fiscale.ts +0 -10
  227. package/src/models/receive.ts +1 -40
  228. package/src/models/sconto-maggiorazione.ts +0 -20
  229. package/src/models/sede-cedente-prestatore.ts +0 -35
  230. package/src/models/sede-cessionario-committente.ts +0 -35
  231. package/src/models/send-reduced.ts +0 -12
  232. package/src/models/send.ts +1 -43
  233. package/src/models/stabile-organizzazione.ts +0 -35
  234. package/src/models/status.ts +0 -9
  235. package/src/models/terzo-intermediario-osoggetto-emittente.ts +0 -10
  236. package/src/models/update.ts +0 -34
  237. package/src/models/web-hook-history.ts +0 -20
  238. package/src/models/web-hook.ts +1 -26
@@ -9,70 +9,45 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- /**
13
- *
14
- * @export
15
- * @interface WebHook
16
- */
17
12
  export interface WebHook {
18
13
  /**
19
14
  * Unique identifier. Leave it at 0 for new records as it will be set automatically.
20
- * @type {number}
21
- * @memberof WebHook
22
15
  */
23
16
  'id'?: number;
24
17
  /**
25
18
  * Creation date. It is set automatically.
26
- * @type {string}
27
- * @memberof WebHook
28
19
  */
29
20
  'created'?: string;
30
21
  /**
31
22
  * Row version, for optimistic concurrency. It is set automatically.
32
- * @type {number}
33
- * @memberof WebHook
34
23
  */
35
24
  'version'?: number;
36
25
  /**
37
26
  * User id.
38
- * @type {number}
39
- * @memberof WebHook
40
27
  */
41
28
  'user_id'?: number;
42
29
  /**
43
30
  * Company id.
44
- * @type {number}
45
- * @memberof WebHook
46
31
  */
47
32
  'company_id'?: number | null;
48
33
  /**
49
34
  * The url of your application\'s endpoint that will receive a POST request when the webhook is fired.
50
- * @type {string}
51
- * @memberof WebHook
52
35
  */
53
- 'url'?: string | null;
36
+ 'url': string;
54
37
  /**
55
38
  * Wether the webhook is enabled. On creation, this is set to `true`.
56
- * @type {boolean}
57
- * @memberof WebHook
58
39
  */
59
40
  'enabled'?: boolean;
60
41
  /**
61
42
  * The secret used to generate webhook signatures, only returned on creation. You should store this value securely and validate it on every call, to ensure that the caller is InvoicetronicApi.
62
- * @type {string}
63
- * @memberof WebHook
64
43
  */
65
44
  'secret'?: string | null;
66
45
  /**
67
46
  * An optional description.
68
- * @type {string}
69
- * @memberof WebHook
70
47
  */
71
48
  'description'?: string | null;
72
49
  /**
73
50
  * List of events to that trigger the webhook. See Invoicetronic.SupportedEvents.Available for a list of valid event names.
74
- * @type {Array<string>}
75
- * @memberof WebHook
76
51
  */
77
52
  'events'?: Array<string> | null;
78
53
  }
package/docs/Event.md CHANGED
@@ -11,14 +11,15 @@ Name | Type | Description | Notes
11
11
  **user_id** | **number** | User id. | [optional] [default to undefined]
12
12
  **api_key_id** | **number** | Api key id. | [optional] [default to undefined]
13
13
  **company_id** | **number** | Company id. | [optional] [default to undefined]
14
- **method** | **string** | Request method. | [optional] [default to undefined]
15
- **query** | **string** | Request query. | [optional] [default to undefined]
16
- **endpoint** | **string** | API endpoint. | [optional] [default to undefined]
14
+ **method** | **string** | Request method. | [default to undefined]
15
+ **endpoint** | **string** | API endpoint. | [default to undefined]
17
16
  **api_version** | **number** | Api version. | [optional] [default to undefined]
18
17
  **status_code** | **number** | Status code returned by the API. | [optional] [default to undefined]
19
18
  **date_time** | **string** | Date and time of the request. | [optional] [default to undefined]
20
19
  **error** | **string** | Response error. | [optional] [default to undefined]
20
+ **resource_id** | **number** | ID of the resource created or modified by this request. | [optional] [default to undefined]
21
21
  **success** | **boolean** | Wether the request was successful. | [optional] [readonly] [default to undefined]
22
+ **query** | **string** | Request query. Only used for internal logging, not sent to webhooks. | [optional] [default to undefined]
22
23
  **response_body** | **string** | Response payload. It is guaranteed to be cyphered at rest. | [optional] [default to undefined]
23
24
 
24
25
  ## Example
@@ -34,13 +35,14 @@ const instance: Event = {
34
35
  api_key_id,
35
36
  company_id,
36
37
  method,
37
- query,
38
38
  endpoint,
39
39
  api_version,
40
40
  status_code,
41
41
  date_time,
42
42
  error,
43
+ resource_id,
43
44
  success,
45
+ query,
44
46
  response_body,
45
47
  };
46
48
  ```
package/docs/Receive.md CHANGED
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  **identifier** | **string** | SDI identifier. This is set by the SDI and is guaranted to be unique within the SDI system. | [optional] [default to undefined]
16
16
  **file_name** | **string** | Xml file name. | [optional] [default to undefined]
17
17
  **format** | **string** | SDI format (FPA12, FPR12, FSM10, ...) | [optional] [default to undefined]
18
- **payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\&#39;s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [optional] [default to undefined]
18
+ **payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\&#39;s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [default to undefined]
19
19
  **last_update** | **string** | Last update from SDI. | [optional] [default to undefined]
20
20
  **date_sent** | **string** | When the invoice was sent to SDI. | [optional] [default to undefined]
21
21
  **documents** | [**Array&lt;DocumentData&gt;**](DocumentData.md) | The invoices included in the payload. This is set by the system, based on the xml content. | [optional] [default to undefined]
package/docs/Send.md CHANGED
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  **identifier** | **string** | SDI identifier. This is set by the SDI and is guaranted to be unique within the SDI system. | [optional] [default to undefined]
16
16
  **file_name** | **string** | Xml file name. | [optional] [default to undefined]
17
17
  **format** | **string** | SDI format (FPA12, FPR12, FSM10, ...) | [optional] [default to undefined]
18
- **payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\&#39;s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [optional] [default to undefined]
18
+ **payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\&#39;s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [default to undefined]
19
19
  **last_update** | **string** | Last update from SDI. | [optional] [default to undefined]
20
20
  **date_sent** | **string** | When the invoice was sent to SDI. | [optional] [default to undefined]
21
21
  **documents** | [**Array&lt;DocumentData&gt;**](DocumentData.md) | The invoices included in the payload. This is set by the system, based on the xml content. | [optional] [default to undefined]
package/docs/WebHook.md CHANGED
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **version** | **number** | Row version, for optimistic concurrency. It is set automatically. | [optional] [default to undefined]
11
11
  **user_id** | **number** | User id. | [optional] [default to undefined]
12
12
  **company_id** | **number** | Company id. | [optional] [default to undefined]
13
- **url** | **string** | The url of your application\&#39;s endpoint that will receive a POST request when the webhook is fired. | [optional] [default to undefined]
13
+ **url** | **string** | The url of your application\&#39;s endpoint that will receive a POST request when the webhook is fired. | [default to undefined]
14
14
  **enabled** | **boolean** | Wether the webhook is enabled. On creation, this is set to &#x60;true&#x60;. | [optional] [default to undefined]
15
15
  **secret** | **string** | The secret used to generate webhook signatures, only returned on creation. You should store this value securely and validate it on every call, to ensure that the caller is InvoicetronicApi. | [optional] [default to undefined]
16
16
  **description** | **string** | An optional description. | [optional] [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invoicetronic/ts-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "description": "OpenAPI client for @invoicetronic/ts-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -32,7 +32,6 @@ import type { ProblemDetails } from '../../src/models';
32
32
  import type { ProblemHttpResult } from '../../src/models';
33
33
  /**
34
34
  * CompanyApi - axios parameter creator
35
- * @export
36
35
  */
37
36
  export const CompanyApiAxiosParamCreator = function (configuration?: Configuration) {
38
37
  return {
@@ -74,8 +73,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
74
73
  localVarQueryParameter['sort'] = sort;
75
74
  }
76
75
 
76
+ localVarHeaderParameter['Accept'] = 'application/json';
77
77
 
78
-
79
78
  setSearchParams(localVarUrlObj, localVarQueryParameter);
80
79
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
81
80
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -112,8 +111,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
112
111
  // http basic authentication required
113
112
  setBasicAuthToObject(localVarRequestOptions, configuration)
114
113
 
114
+ localVarHeaderParameter['Accept'] = 'application/json';
115
115
 
116
-
117
116
  setSearchParams(localVarUrlObj, localVarQueryParameter);
118
117
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
119
118
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -150,8 +149,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
150
149
  // http basic authentication required
151
150
  setBasicAuthToObject(localVarRequestOptions, configuration)
152
151
 
152
+ localVarHeaderParameter['Accept'] = 'application/json';
153
153
 
154
-
155
154
  setSearchParams(localVarUrlObj, localVarQueryParameter);
156
155
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
157
156
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -187,9 +186,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
187
186
  // http basic authentication required
188
187
  setBasicAuthToObject(localVarRequestOptions, configuration)
189
188
 
190
-
191
-
192
189
  localVarHeaderParameter['Content-Type'] = 'application/json';
190
+ localVarHeaderParameter['Accept'] = 'application/json';
193
191
 
194
192
  setSearchParams(localVarUrlObj, localVarQueryParameter);
195
193
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -227,9 +225,8 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
227
225
  // http basic authentication required
228
226
  setBasicAuthToObject(localVarRequestOptions, configuration)
229
227
 
230
-
231
-
232
228
  localVarHeaderParameter['Content-Type'] = 'application/json';
229
+ localVarHeaderParameter['Accept'] = 'application/json';
233
230
 
234
231
  setSearchParams(localVarUrlObj, localVarQueryParameter);
235
232
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -246,7 +243,6 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
246
243
 
247
244
  /**
248
245
  * CompanyApi - functional programming interface
249
- * @export
250
246
  */
251
247
  export const CompanyApiFp = function(configuration?: Configuration) {
252
248
  const localVarAxiosParamCreator = CompanyApiAxiosParamCreator(configuration)
@@ -323,7 +319,6 @@ export const CompanyApiFp = function(configuration?: Configuration) {
323
319
 
324
320
  /**
325
321
  * CompanyApi - factory interface
326
- * @export
327
322
  */
328
323
  export const CompanyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
329
324
  const localVarFp = CompanyApiFp(configuration)
@@ -385,8 +380,6 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
385
380
 
386
381
  /**
387
382
  * CompanyApi - interface
388
- * @export
389
- * @interface CompanyApi
390
383
  */
391
384
  export interface CompanyApiInterface {
392
385
  /**
@@ -397,7 +390,6 @@ export interface CompanyApiInterface {
397
390
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
398
391
  * @param {*} [options] Override http request option.
399
392
  * @throws {RequiredError}
400
- * @memberof CompanyApiInterface
401
393
  */
402
394
  companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Company>>;
403
395
 
@@ -407,7 +399,6 @@ export interface CompanyApiInterface {
407
399
  * @param {number} id Item id
408
400
  * @param {*} [options] Override http request option.
409
401
  * @throws {RequiredError}
410
- * @memberof CompanyApiInterface
411
402
  */
412
403
  companyIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
413
404
 
@@ -417,7 +408,6 @@ export interface CompanyApiInterface {
417
408
  * @param {number} id Item id
418
409
  * @param {*} [options] Override http request option.
419
410
  * @throws {RequiredError}
420
- * @memberof CompanyApiInterface
421
411
  */
422
412
  companyIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
423
413
 
@@ -427,7 +417,6 @@ export interface CompanyApiInterface {
427
417
  * @param {Company} company
428
418
  * @param {*} [options] Override http request option.
429
419
  * @throws {RequiredError}
430
- * @memberof CompanyApiInterface
431
420
  */
432
421
  companyPost(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
433
422
 
@@ -437,7 +426,6 @@ export interface CompanyApiInterface {
437
426
  * @param {Company} company
438
427
  * @param {*} [options] Override http request option.
439
428
  * @throws {RequiredError}
440
- * @memberof CompanyApiInterface
441
429
  */
442
430
  companyPut(company: Company, options?: RawAxiosRequestConfig): AxiosPromise<Company>;
443
431
 
@@ -445,9 +433,6 @@ export interface CompanyApiInterface {
445
433
 
446
434
  /**
447
435
  * CompanyApi - object-oriented interface
448
- * @export
449
- * @class CompanyApi
450
- * @extends {BaseAPI}
451
436
  */
452
437
  export class CompanyApi extends BaseAPI implements CompanyApiInterface {
453
438
  /**
@@ -458,7 +443,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
458
443
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
459
444
  * @param {*} [options] Override http request option.
460
445
  * @throws {RequiredError}
461
- * @memberof CompanyApi
462
446
  */
463
447
  public companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) {
464
448
  return CompanyApiFp(this.configuration).companyGet(page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
@@ -470,7 +454,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
470
454
  * @param {number} id Item id
471
455
  * @param {*} [options] Override http request option.
472
456
  * @throws {RequiredError}
473
- * @memberof CompanyApi
474
457
  */
475
458
  public companyIdDelete(id: number, options?: RawAxiosRequestConfig) {
476
459
  return CompanyApiFp(this.configuration).companyIdDelete(id, options).then((request) => request(this.axios, this.basePath));
@@ -482,7 +465,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
482
465
  * @param {number} id Item id
483
466
  * @param {*} [options] Override http request option.
484
467
  * @throws {RequiredError}
485
- * @memberof CompanyApi
486
468
  */
487
469
  public companyIdGet(id: number, options?: RawAxiosRequestConfig) {
488
470
  return CompanyApiFp(this.configuration).companyIdGet(id, options).then((request) => request(this.axios, this.basePath));
@@ -494,7 +476,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
494
476
  * @param {Company} company
495
477
  * @param {*} [options] Override http request option.
496
478
  * @throws {RequiredError}
497
- * @memberof CompanyApi
498
479
  */
499
480
  public companyPost(company: Company, options?: RawAxiosRequestConfig) {
500
481
  return CompanyApiFp(this.configuration).companyPost(company, options).then((request) => request(this.axios, this.basePath));
@@ -506,7 +487,6 @@ export class CompanyApi extends BaseAPI implements CompanyApiInterface {
506
487
  * @param {Company} company
507
488
  * @param {*} [options] Override http request option.
508
489
  * @throws {RequiredError}
509
- * @memberof CompanyApi
510
490
  */
511
491
  public companyPut(company: Company, options?: RawAxiosRequestConfig) {
512
492
  return CompanyApiFp(this.configuration).companyPut(company, options).then((request) => request(this.axios, this.basePath));
@@ -30,7 +30,6 @@ import type { Event } from '../../src/models';
30
30
  import type { ProblemHttpResult } from '../../src/models';
31
31
  /**
32
32
  * LogApi - axios parameter creator
33
- * @export
34
33
  */
35
34
  export const LogApiAxiosParamCreator = function (configuration?: Configuration) {
36
35
  return {
@@ -135,8 +134,8 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
135
134
  dateTimeTo;
136
135
  }
137
136
 
137
+ localVarHeaderParameter['Accept'] = 'application/json';
138
138
 
139
-
140
139
  setSearchParams(localVarUrlObj, localVarQueryParameter);
141
140
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
142
141
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -173,8 +172,8 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
173
172
  // http basic authentication required
174
173
  setBasicAuthToObject(localVarRequestOptions, configuration)
175
174
 
175
+ localVarHeaderParameter['Accept'] = 'application/json';
176
176
 
177
-
178
177
  setSearchParams(localVarUrlObj, localVarQueryParameter);
179
178
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
180
179
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -189,7 +188,6 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
189
188
 
190
189
  /**
191
190
  * LogApi - functional programming interface
192
- * @export
193
191
  */
194
192
  export const LogApiFp = function(configuration?: Configuration) {
195
193
  const localVarAxiosParamCreator = LogApiAxiosParamCreator(configuration)
@@ -238,7 +236,6 @@ export const LogApiFp = function(configuration?: Configuration) {
238
236
 
239
237
  /**
240
238
  * LogApi - factory interface
241
- * @export
242
239
  */
243
240
  export const LogApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
244
241
  const localVarFp = LogApiFp(configuration)
@@ -281,8 +278,6 @@ export const LogApiFactory = function (configuration?: Configuration, basePath?:
281
278
 
282
279
  /**
283
280
  * LogApi - interface
284
- * @export
285
- * @interface LogApi
286
281
  */
287
282
  export interface LogApiInterface {
288
283
  /**
@@ -304,7 +299,6 @@ export interface LogApiInterface {
304
299
  * @param {string} [dateTimeTo] Date and time of the event
305
300
  * @param {*} [options] Override http request option.
306
301
  * @throws {RequiredError}
307
- * @memberof LogApiInterface
308
302
  */
309
303
  logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
310
304
 
@@ -314,7 +308,6 @@ export interface LogApiInterface {
314
308
  * @param {number} id Item id
315
309
  * @param {*} [options] Override http request option.
316
310
  * @throws {RequiredError}
317
- * @memberof LogApiInterface
318
311
  */
319
312
  logIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Event>;
320
313
 
@@ -322,9 +315,6 @@ export interface LogApiInterface {
322
315
 
323
316
  /**
324
317
  * LogApi - object-oriented interface
325
- * @export
326
- * @class LogApi
327
- * @extends {BaseAPI}
328
318
  */
329
319
  export class LogApi extends BaseAPI implements LogApiInterface {
330
320
  /**
@@ -346,7 +336,6 @@ export class LogApi extends BaseAPI implements LogApiInterface {
346
336
  * @param {string} [dateTimeTo] Date and time of the event
347
337
  * @param {*} [options] Override http request option.
348
338
  * @throws {RequiredError}
349
- * @memberof LogApi
350
339
  */
351
340
  public logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig) {
352
341
  return LogApiFp(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(this.axios, this.basePath));
@@ -358,7 +347,6 @@ export class LogApi extends BaseAPI implements LogApiInterface {
358
347
  * @param {number} id Item id
359
348
  * @param {*} [options] Override http request option.
360
349
  * @throws {RequiredError}
361
- * @memberof LogApi
362
350
  */
363
351
  public logIdGet(id: number, options?: RawAxiosRequestConfig) {
364
352
  return LogApiFp(this.configuration).logIdGet(id, options).then((request) => request(this.axios, this.basePath));
@@ -30,7 +30,6 @@ import type { ProblemHttpResult } from '../../src/models';
30
30
  import type { Receive } from '../../src/models';
31
31
  /**
32
32
  * ReceiveApi - axios parameter creator
33
- * @export
34
33
  */
35
34
  export const ReceiveApiAxiosParamCreator = function (configuration?: Configuration) {
36
35
  return {
@@ -154,8 +153,8 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
154
153
  localVarQueryParameter['sort'] = sort;
155
154
  }
156
155
 
156
+ localVarHeaderParameter['Accept'] = 'application/json';
157
157
 
158
-
159
158
  setSearchParams(localVarUrlObj, localVarQueryParameter);
160
159
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
161
160
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -192,8 +191,8 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
192
191
  // http basic authentication required
193
192
  setBasicAuthToObject(localVarRequestOptions, configuration)
194
193
 
194
+ localVarHeaderParameter['Accept'] = 'application/json';
195
195
 
196
-
197
196
  setSearchParams(localVarUrlObj, localVarQueryParameter);
198
197
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
199
198
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -235,8 +234,8 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
235
234
  localVarQueryParameter['include_payload'] = includePayload;
236
235
  }
237
236
 
237
+ localVarHeaderParameter['Accept'] = 'application/json';
238
238
 
239
-
240
239
  setSearchParams(localVarUrlObj, localVarQueryParameter);
241
240
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
242
241
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -251,7 +250,6 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
251
250
 
252
251
  /**
253
252
  * ReceiveApi - functional programming interface
254
- * @export
255
253
  */
256
254
  export const ReceiveApiFp = function(configuration?: Configuration) {
257
255
  const localVarAxiosParamCreator = ReceiveApiAxiosParamCreator(configuration)
@@ -317,7 +315,6 @@ export const ReceiveApiFp = function(configuration?: Configuration) {
317
315
 
318
316
  /**
319
317
  * ReceiveApi - factory interface
320
- * @export
321
318
  */
322
319
  export const ReceiveApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
323
320
  const localVarFp = ReceiveApiFp(configuration)
@@ -374,8 +371,6 @@ export const ReceiveApiFactory = function (configuration?: Configuration, basePa
374
371
 
375
372
  /**
376
373
  * ReceiveApi - interface
377
- * @export
378
- * @interface ReceiveApi
379
374
  */
380
375
  export interface ReceiveApiInterface {
381
376
  /**
@@ -400,7 +395,6 @@ export interface ReceiveApiInterface {
400
395
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
401
396
  * @param {*} [options] Override http request option.
402
397
  * @throws {RequiredError}
403
- * @memberof ReceiveApiInterface
404
398
  */
405
399
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>>;
406
400
 
@@ -410,7 +404,6 @@ export interface ReceiveApiInterface {
410
404
  * @param {number} id Item id
411
405
  * @param {*} [options] Override http request option.
412
406
  * @throws {RequiredError}
413
- * @memberof ReceiveApiInterface
414
407
  */
415
408
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
416
409
 
@@ -421,7 +414,6 @@ export interface ReceiveApiInterface {
421
414
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
422
415
  * @param {*} [options] Override http request option.
423
416
  * @throws {RequiredError}
424
- * @memberof ReceiveApiInterface
425
417
  */
426
418
  receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
427
419
 
@@ -429,9 +421,6 @@ export interface ReceiveApiInterface {
429
421
 
430
422
  /**
431
423
  * ReceiveApi - object-oriented interface
432
- * @export
433
- * @class ReceiveApi
434
- * @extends {BaseAPI}
435
424
  */
436
425
  export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
437
426
  /**
@@ -456,7 +445,6 @@ export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
456
445
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
457
446
  * @param {*} [options] Override http request option.
458
447
  * @throws {RequiredError}
459
- * @memberof ReceiveApi
460
448
  */
461
449
  public receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) {
462
450
  return ReceiveApiFp(this.configuration).receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
@@ -468,7 +456,6 @@ export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
468
456
  * @param {number} id Item id
469
457
  * @param {*} [options] Override http request option.
470
458
  * @throws {RequiredError}
471
- * @memberof ReceiveApi
472
459
  */
473
460
  public receiveIdDelete(id: number, options?: RawAxiosRequestConfig) {
474
461
  return ReceiveApiFp(this.configuration).receiveIdDelete(id, options).then((request) => request(this.axios, this.basePath));
@@ -481,7 +468,6 @@ export class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
481
468
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
482
469
  * @param {*} [options] Override http request option.
483
470
  * @throws {RequiredError}
484
- * @memberof ReceiveApi
485
471
  */
486
472
  public receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig) {
487
473
  return ReceiveApiFp(this.configuration).receiveIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));