@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
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../../base';
15
15
  import type { Receive } from '../../src/models';
16
16
  /**
17
17
  * ReceiveApi - axios parameter creator
18
- * @export
19
18
  */
20
19
  export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration) => {
21
20
  /**
@@ -62,7 +61,6 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
62
61
  };
63
62
  /**
64
63
  * ReceiveApi - functional programming interface
65
- * @export
66
64
  */
67
65
  export declare const ReceiveApiFp: (configuration?: Configuration) => {
68
66
  /**
@@ -109,7 +107,6 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
109
107
  };
110
108
  /**
111
109
  * ReceiveApi - factory interface
112
- * @export
113
110
  */
114
111
  export declare const ReceiveApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
115
112
  /**
@@ -156,8 +153,6 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
156
153
  };
157
154
  /**
158
155
  * ReceiveApi - interface
159
- * @export
160
- * @interface ReceiveApi
161
156
  */
162
157
  export interface ReceiveApiInterface {
163
158
  /**
@@ -182,7 +177,6 @@ export interface ReceiveApiInterface {
182
177
  * @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
183
178
  * @param {*} [options] Override http request option.
184
179
  * @throws {RequiredError}
185
- * @memberof ReceiveApiInterface
186
180
  */
187
181
  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>>;
188
182
  /**
@@ -191,7 +185,6 @@ export interface ReceiveApiInterface {
191
185
  * @param {number} id Item id
192
186
  * @param {*} [options] Override http request option.
193
187
  * @throws {RequiredError}
194
- * @memberof ReceiveApiInterface
195
188
  */
196
189
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
197
190
  /**
@@ -201,15 +194,11 @@ export interface ReceiveApiInterface {
201
194
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
202
195
  * @param {*} [options] Override http request option.
203
196
  * @throws {RequiredError}
204
- * @memberof ReceiveApiInterface
205
197
  */
206
198
  receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
207
199
  }
208
200
  /**
209
201
  * ReceiveApi - object-oriented interface
210
- * @export
211
- * @class ReceiveApi
212
- * @extends {BaseAPI}
213
202
  */
214
203
  export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
215
204
  /**
@@ -234,7 +223,6 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
234
223
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
235
224
  * @param {*} [options] Override http request option.
236
225
  * @throws {RequiredError}
237
- * @memberof ReceiveApi
238
226
  */
239
227
  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): Promise<import("axios").AxiosResponse<Receive[], any, {}>>;
240
228
  /**
@@ -243,7 +231,6 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
243
231
  * @param {number} id Item id
244
232
  * @param {*} [options] Override http request option.
245
233
  * @throws {RequiredError}
246
- * @memberof ReceiveApi
247
234
  */
248
235
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
249
236
  /**
@@ -253,7 +240,6 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
253
240
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
254
241
  * @param {*} [options] Override http request option.
255
242
  * @throws {RequiredError}
256
- * @memberof ReceiveApi
257
243
  */
258
244
  receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
259
245
  }
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
34
34
  const base_1 = require("../../base");
35
35
  /**
36
36
  * ReceiveApi - axios parameter creator
37
- * @export
38
37
  */
39
38
  const ReceiveApiAxiosParamCreator = function (configuration) {
40
39
  return {
@@ -138,6 +137,7 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
138
137
  if (sort !== undefined) {
139
138
  localVarQueryParameter['sort'] = sort;
140
139
  }
140
+ localVarHeaderParameter['Accept'] = 'application/json';
141
141
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
142
142
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
143
143
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -170,6 +170,7 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
170
170
  // authentication Basic required
171
171
  // http basic authentication required
172
172
  (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
173
+ localVarHeaderParameter['Accept'] = 'application/json';
173
174
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
174
175
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
176
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -206,6 +207,7 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
206
207
  if (includePayload !== undefined) {
207
208
  localVarQueryParameter['include_payload'] = includePayload;
208
209
  }
210
+ localVarHeaderParameter['Accept'] = 'application/json';
209
211
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
210
212
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
211
213
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -219,7 +221,6 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
219
221
  exports.ReceiveApiAxiosParamCreator = ReceiveApiAxiosParamCreator;
220
222
  /**
221
223
  * ReceiveApi - functional programming interface
222
- * @export
223
224
  */
224
225
  const ReceiveApiFp = function (configuration) {
225
226
  const localVarAxiosParamCreator = (0, exports.ReceiveApiAxiosParamCreator)(configuration);
@@ -294,7 +295,6 @@ const ReceiveApiFp = function (configuration) {
294
295
  exports.ReceiveApiFp = ReceiveApiFp;
295
296
  /**
296
297
  * ReceiveApi - factory interface
297
- * @export
298
298
  */
299
299
  const ReceiveApiFactory = function (configuration, basePath, axios) {
300
300
  const localVarFp = (0, exports.ReceiveApiFp)(configuration);
@@ -351,9 +351,6 @@ const ReceiveApiFactory = function (configuration, basePath, axios) {
351
351
  exports.ReceiveApiFactory = ReceiveApiFactory;
352
352
  /**
353
353
  * ReceiveApi - object-oriented interface
354
- * @export
355
- * @class ReceiveApi
356
- * @extends {BaseAPI}
357
354
  */
358
355
  class ReceiveApi extends base_1.BaseAPI {
359
356
  /**
@@ -378,7 +375,6 @@ class ReceiveApi extends base_1.BaseAPI {
378
375
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
379
376
  * @param {*} [options] Override http request option.
380
377
  * @throws {RequiredError}
381
- * @memberof ReceiveApi
382
378
  */
383
379
  receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options) {
384
380
  return (0, exports.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));
@@ -389,7 +385,6 @@ class ReceiveApi extends base_1.BaseAPI {
389
385
  * @param {number} id Item id
390
386
  * @param {*} [options] Override http request option.
391
387
  * @throws {RequiredError}
392
- * @memberof ReceiveApi
393
388
  */
394
389
  receiveIdDelete(id, options) {
395
390
  return (0, exports.ReceiveApiFp)(this.configuration).receiveIdDelete(id, options).then((request) => request(this.axios, this.basePath));
@@ -401,7 +396,6 @@ class ReceiveApi extends base_1.BaseAPI {
401
396
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
402
397
  * @param {*} [options] Override http request option.
403
398
  * @throws {RequiredError}
404
- * @memberof ReceiveApi
405
399
  */
406
400
  receiveIdGet(id, includePayload, options) {
407
401
  return (0, exports.ReceiveApiFp)(this.configuration).receiveIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
@@ -16,7 +16,6 @@ import type { FatturaOrdinaria } from '../../src/models';
16
16
  import type { Send } from '../../src/models';
17
17
  /**
18
18
  * SendApi - axios parameter creator
19
- * @export
20
19
  */
21
20
  export declare const SendApiAxiosParamCreator: (configuration?: Configuration) => {
22
21
  /**
@@ -135,7 +134,6 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
135
134
  };
136
135
  /**
137
136
  * SendApi - functional programming interface
138
- * @export
139
137
  */
140
138
  export declare const SendApiFp: (configuration?: Configuration) => {
141
139
  /**
@@ -254,7 +252,6 @@ export declare const SendApiFp: (configuration?: Configuration) => {
254
252
  };
255
253
  /**
256
254
  * SendApi - factory interface
257
- * @export
258
255
  */
259
256
  export declare const SendApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
260
257
  /**
@@ -373,8 +370,6 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
373
370
  };
374
371
  /**
375
372
  * SendApi - interface
376
- * @export
377
- * @interface SendApi
378
373
  */
379
374
  export interface SendApiInterface {
380
375
  /**
@@ -385,7 +380,6 @@ export interface SendApiInterface {
385
380
  * @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
386
381
  * @param {*} [options] Override http request option.
387
382
  * @throws {RequiredError}
388
- * @memberof SendApiInterface
389
383
  */
390
384
  sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
391
385
  /**
@@ -409,7 +403,6 @@ export interface SendApiInterface {
409
403
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
410
404
  * @param {*} [options] Override http request option.
411
405
  * @throws {RequiredError}
412
- * @memberof SendApiInterface
413
406
  */
414
407
  sendGet(companyId?: number, identifier?: string, 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<Send>>;
415
408
  /**
@@ -419,7 +412,6 @@ export interface SendApiInterface {
419
412
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
420
413
  * @param {*} [options] Override http request option.
421
414
  * @throws {RequiredError}
422
- * @memberof SendApiInterface
423
415
  */
424
416
  sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
425
417
  /**
@@ -429,7 +421,6 @@ export interface SendApiInterface {
429
421
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
430
422
  * @param {*} [options] Override http request option.
431
423
  * @throws {RequiredError}
432
- * @memberof SendApiInterface
433
424
  */
434
425
  sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
435
426
  /**
@@ -440,7 +431,6 @@ export interface SendApiInterface {
440
431
  * @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
441
432
  * @param {*} [options] Override http request option.
442
433
  * @throws {RequiredError}
443
- * @memberof SendApiInterface
444
434
  */
445
435
  sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
446
436
  /**
@@ -451,7 +441,6 @@ export interface SendApiInterface {
451
441
  * @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
452
442
  * @param {*} [options] Override http request option.
453
443
  * @throws {RequiredError}
454
- * @memberof SendApiInterface
455
444
  */
456
445
  sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
457
446
  /**
@@ -460,7 +449,6 @@ export interface SendApiInterface {
460
449
  * @param {File} file
461
450
  * @param {*} [options] Override http request option.
462
451
  * @throws {RequiredError}
463
- * @memberof SendApiInterface
464
452
  */
465
453
  sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
466
454
  /**
@@ -469,7 +457,6 @@ export interface SendApiInterface {
469
457
  * @param {FatturaOrdinaria} fatturaOrdinaria
470
458
  * @param {*} [options] Override http request option.
471
459
  * @throws {RequiredError}
472
- * @memberof SendApiInterface
473
460
  */
474
461
  sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
475
462
  /**
@@ -478,7 +465,6 @@ export interface SendApiInterface {
478
465
  * @param {Send} send
479
466
  * @param {*} [options] Override http request option.
480
467
  * @throws {RequiredError}
481
- * @memberof SendApiInterface
482
468
  */
483
469
  sendValidatePost(send: Send, options?: RawAxiosRequestConfig): AxiosPromise<void>;
484
470
  /**
@@ -487,7 +473,6 @@ export interface SendApiInterface {
487
473
  * @param {FatturaOrdinaria} fatturaOrdinaria
488
474
  * @param {*} [options] Override http request option.
489
475
  * @throws {RequiredError}
490
- * @memberof SendApiInterface
491
476
  */
492
477
  sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
493
478
  /**
@@ -498,15 +483,11 @@ export interface SendApiInterface {
498
483
  * @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
499
484
  * @param {*} [options] Override http request option.
500
485
  * @throws {RequiredError}
501
- * @memberof SendApiInterface
502
486
  */
503
487
  sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
504
488
  }
505
489
  /**
506
490
  * SendApi - object-oriented interface
507
- * @export
508
- * @class SendApi
509
- * @extends {BaseAPI}
510
491
  */
511
492
  export declare class SendApi extends BaseAPI implements SendApiInterface {
512
493
  /**
@@ -517,7 +498,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
517
498
  * @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
518
499
  * @param {*} [options] Override http request option.
519
500
  * @throws {RequiredError}
520
- * @memberof SendApi
521
501
  */
522
502
  sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
523
503
  /**
@@ -541,7 +521,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
541
521
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
542
522
  * @param {*} [options] Override http request option.
543
523
  * @throws {RequiredError}
544
- * @memberof SendApi
545
524
  */
546
525
  sendGet(companyId?: number, identifier?: string, 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): Promise<import("axios").AxiosResponse<Send[], any, {}>>;
547
526
  /**
@@ -551,7 +530,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
551
530
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
552
531
  * @param {*} [options] Override http request option.
553
532
  * @throws {RequiredError}
554
- * @memberof SendApi
555
533
  */
556
534
  sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
557
535
  /**
@@ -561,7 +539,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
561
539
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
562
540
  * @param {*} [options] Override http request option.
563
541
  * @throws {RequiredError}
564
- * @memberof SendApi
565
542
  */
566
543
  sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
567
544
  /**
@@ -572,7 +549,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
572
549
  * @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
573
550
  * @param {*} [options] Override http request option.
574
551
  * @throws {RequiredError}
575
- * @memberof SendApi
576
552
  */
577
553
  sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
578
554
  /**
@@ -583,7 +559,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
583
559
  * @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
584
560
  * @param {*} [options] Override http request option.
585
561
  * @throws {RequiredError}
586
- * @memberof SendApi
587
562
  */
588
563
  sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
589
564
  /**
@@ -592,7 +567,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
592
567
  * @param {File} file
593
568
  * @param {*} [options] Override http request option.
594
569
  * @throws {RequiredError}
595
- * @memberof SendApi
596
570
  */
597
571
  sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
598
572
  /**
@@ -601,7 +575,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
601
575
  * @param {FatturaOrdinaria} fatturaOrdinaria
602
576
  * @param {*} [options] Override http request option.
603
577
  * @throws {RequiredError}
604
- * @memberof SendApi
605
578
  */
606
579
  sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
607
580
  /**
@@ -610,7 +583,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
610
583
  * @param {Send} send
611
584
  * @param {*} [options] Override http request option.
612
585
  * @throws {RequiredError}
613
- * @memberof SendApi
614
586
  */
615
587
  sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
616
588
  /**
@@ -619,7 +591,6 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
619
591
  * @param {FatturaOrdinaria} fatturaOrdinaria
620
592
  * @param {*} [options] Override http request option.
621
593
  * @throws {RequiredError}
622
- * @memberof SendApi
623
594
  */
624
595
  sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
625
596
  /**
@@ -630,13 +601,9 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
630
601
  * @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
631
602
  * @param {*} [options] Override http request option.
632
603
  * @throws {RequiredError}
633
- * @memberof SendApi
634
604
  */
635
605
  sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
636
606
  }
637
- /**
638
- * @export
639
- */
640
607
  export declare const SendFilePostSignatureEnum: {
641
608
  readonly None: "None";
642
609
  readonly Apply: "Apply";
@@ -644,9 +611,6 @@ export declare const SendFilePostSignatureEnum: {
644
611
  readonly Auto: "Auto";
645
612
  };
646
613
  export type SendFilePostSignatureEnum = typeof SendFilePostSignatureEnum[keyof typeof SendFilePostSignatureEnum];
647
- /**
648
- * @export
649
- */
650
614
  export declare const SendJsonPostSignatureEnum: {
651
615
  readonly None: "None";
652
616
  readonly Apply: "Apply";
@@ -654,9 +618,6 @@ export declare const SendJsonPostSignatureEnum: {
654
618
  readonly Auto: "Auto";
655
619
  };
656
620
  export type SendJsonPostSignatureEnum = typeof SendJsonPostSignatureEnum[keyof typeof SendJsonPostSignatureEnum];
657
- /**
658
- * @export
659
- */
660
621
  export declare const SendPostSignatureEnum: {
661
622
  readonly None: "None";
662
623
  readonly Apply: "Apply";
@@ -664,9 +625,6 @@ export declare const SendPostSignatureEnum: {
664
625
  readonly Auto: "Auto";
665
626
  };
666
627
  export type SendPostSignatureEnum = typeof SendPostSignatureEnum[keyof typeof SendPostSignatureEnum];
667
- /**
668
- * @export
669
- */
670
628
  export declare const SendXmlPostSignatureEnum: {
671
629
  readonly None: "None";
672
630
  readonly Apply: "Apply";
@@ -34,7 +34,6 @@ const common_1 = require("../../common");
34
34
  const base_1 = require("../../base");
35
35
  /**
36
36
  * SendApi - axios parameter creator
37
- * @export
38
37
  */
39
38
  const SendApiAxiosParamCreator = function (configuration) {
40
39
  return {
@@ -74,6 +73,7 @@ const SendApiAxiosParamCreator = function (configuration) {
74
73
  localVarFormParams.append('file', file);
75
74
  }
76
75
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
76
+ localVarHeaderParameter['Accept'] = 'application/json';
77
77
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
78
78
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
79
79
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -179,6 +179,7 @@ const SendApiAxiosParamCreator = function (configuration) {
179
179
  if (sort !== undefined) {
180
180
  localVarQueryParameter['sort'] = sort;
181
181
  }
182
+ localVarHeaderParameter['Accept'] = 'application/json';
182
183
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
183
184
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
185
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -215,6 +216,7 @@ const SendApiAxiosParamCreator = function (configuration) {
215
216
  if (includePayload !== undefined) {
216
217
  localVarQueryParameter['include_payload'] = includePayload;
217
218
  }
219
+ localVarHeaderParameter['Accept'] = 'application/json';
218
220
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
219
221
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
220
222
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -251,6 +253,7 @@ const SendApiAxiosParamCreator = function (configuration) {
251
253
  if (includePayload !== undefined) {
252
254
  localVarQueryParameter['include_payload'] = includePayload;
253
255
  }
256
+ localVarHeaderParameter['Accept'] = 'application/json';
254
257
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
255
258
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
256
259
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -291,6 +294,7 @@ const SendApiAxiosParamCreator = function (configuration) {
291
294
  localVarQueryParameter['signature'] = signature;
292
295
  }
293
296
  localVarHeaderParameter['Content-Type'] = 'application/json';
297
+ localVarHeaderParameter['Accept'] = 'application/json';
294
298
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
295
299
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
296
300
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -332,6 +336,7 @@ const SendApiAxiosParamCreator = function (configuration) {
332
336
  localVarQueryParameter['signature'] = signature;
333
337
  }
334
338
  localVarHeaderParameter['Content-Type'] = 'application/json';
339
+ localVarHeaderParameter['Accept'] = 'application/json';
335
340
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
336
341
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
337
342
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -369,6 +374,7 @@ const SendApiAxiosParamCreator = function (configuration) {
369
374
  localVarFormParams.append('file', file);
370
375
  }
371
376
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
377
+ localVarHeaderParameter['Accept'] = 'application/json';
372
378
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
373
379
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
374
380
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -402,6 +408,7 @@ const SendApiAxiosParamCreator = function (configuration) {
402
408
  // http basic authentication required
403
409
  (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
404
410
  localVarHeaderParameter['Content-Type'] = 'application/json';
411
+ localVarHeaderParameter['Accept'] = 'application/json';
405
412
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
406
413
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
407
414
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -435,6 +442,7 @@ const SendApiAxiosParamCreator = function (configuration) {
435
442
  // http basic authentication required
436
443
  (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
437
444
  localVarHeaderParameter['Content-Type'] = 'application/json';
445
+ localVarHeaderParameter['Accept'] = 'application/json';
438
446
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
439
447
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
440
448
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -468,6 +476,7 @@ const SendApiAxiosParamCreator = function (configuration) {
468
476
  // http basic authentication required
469
477
  (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
470
478
  localVarHeaderParameter['Content-Type'] = 'application/xml';
479
+ localVarHeaderParameter['Accept'] = 'application/json';
471
480
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
472
481
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
473
482
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -509,6 +518,7 @@ const SendApiAxiosParamCreator = function (configuration) {
509
518
  localVarQueryParameter['signature'] = signature;
510
519
  }
511
520
  localVarHeaderParameter['Content-Type'] = 'application/xml';
521
+ localVarHeaderParameter['Accept'] = 'application/json';
512
522
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
513
523
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
514
524
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -523,7 +533,6 @@ const SendApiAxiosParamCreator = function (configuration) {
523
533
  exports.SendApiAxiosParamCreator = SendApiAxiosParamCreator;
524
534
  /**
525
535
  * SendApi - functional programming interface
526
- * @export
527
536
  */
528
537
  const SendApiFp = function (configuration) {
529
538
  const localVarAxiosParamCreator = (0, exports.SendApiAxiosParamCreator)(configuration);
@@ -734,7 +743,6 @@ const SendApiFp = function (configuration) {
734
743
  exports.SendApiFp = SendApiFp;
735
744
  /**
736
745
  * SendApi - factory interface
737
- * @export
738
746
  */
739
747
  const SendApiFactory = function (configuration, basePath, axios) {
740
748
  const localVarFp = (0, exports.SendApiFp)(configuration);
@@ -879,9 +887,6 @@ const SendApiFactory = function (configuration, basePath, axios) {
879
887
  exports.SendApiFactory = SendApiFactory;
880
888
  /**
881
889
  * SendApi - object-oriented interface
882
- * @export
883
- * @class SendApi
884
- * @extends {BaseAPI}
885
890
  */
886
891
  class SendApi extends base_1.BaseAPI {
887
892
  /**
@@ -892,7 +897,6 @@ class SendApi extends base_1.BaseAPI {
892
897
  * @param {SendFilePostSignatureEnum} [signature] Whether to digitally sign the document.
893
898
  * @param {*} [options] Override http request option.
894
899
  * @throws {RequiredError}
895
- * @memberof SendApi
896
900
  */
897
901
  sendFilePost(file, validate, signature, options) {
898
902
  return (0, exports.SendApiFp)(this.configuration).sendFilePost(file, validate, signature, options).then((request) => request(this.axios, this.basePath));
@@ -918,7 +922,6 @@ class SendApi extends base_1.BaseAPI {
918
922
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
919
923
  * @param {*} [options] Override http request option.
920
924
  * @throws {RequiredError}
921
- * @memberof SendApi
922
925
  */
923
926
  sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options) {
924
927
  return (0, exports.SendApiFp)(this.configuration).sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
@@ -930,7 +933,6 @@ class SendApi extends base_1.BaseAPI {
930
933
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
931
934
  * @param {*} [options] Override http request option.
932
935
  * @throws {RequiredError}
933
- * @memberof SendApi
934
936
  */
935
937
  sendIdGet(id, includePayload, options) {
936
938
  return (0, exports.SendApiFp)(this.configuration).sendIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
@@ -942,7 +944,6 @@ class SendApi extends base_1.BaseAPI {
942
944
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
943
945
  * @param {*} [options] Override http request option.
944
946
  * @throws {RequiredError}
945
- * @memberof SendApi
946
947
  */
947
948
  sendIdentifierGet(identifier, includePayload, options) {
948
949
  return (0, exports.SendApiFp)(this.configuration).sendIdentifierGet(identifier, includePayload, options).then((request) => request(this.axios, this.basePath));
@@ -955,7 +956,6 @@ class SendApi extends base_1.BaseAPI {
955
956
  * @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
956
957
  * @param {*} [options] Override http request option.
957
958
  * @throws {RequiredError}
958
- * @memberof SendApi
959
959
  */
960
960
  sendJsonPost(fatturaOrdinaria, validate, signature, options) {
961
961
  return (0, exports.SendApiFp)(this.configuration).sendJsonPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
@@ -968,7 +968,6 @@ class SendApi extends base_1.BaseAPI {
968
968
  * @param {SendPostSignatureEnum} [signature] Whether to digitally sign the document.
969
969
  * @param {*} [options] Override http request option.
970
970
  * @throws {RequiredError}
971
- * @memberof SendApi
972
971
  */
973
972
  sendPost(send, validate, signature, options) {
974
973
  return (0, exports.SendApiFp)(this.configuration).sendPost(send, validate, signature, options).then((request) => request(this.axios, this.basePath));
@@ -979,7 +978,6 @@ class SendApi extends base_1.BaseAPI {
979
978
  * @param {File} file
980
979
  * @param {*} [options] Override http request option.
981
980
  * @throws {RequiredError}
982
- * @memberof SendApi
983
981
  */
984
982
  sendValidateFilePost(file, options) {
985
983
  return (0, exports.SendApiFp)(this.configuration).sendValidateFilePost(file, options).then((request) => request(this.axios, this.basePath));
@@ -990,7 +988,6 @@ class SendApi extends base_1.BaseAPI {
990
988
  * @param {FatturaOrdinaria} fatturaOrdinaria
991
989
  * @param {*} [options] Override http request option.
992
990
  * @throws {RequiredError}
993
- * @memberof SendApi
994
991
  */
995
992
  sendValidateJsonPost(fatturaOrdinaria, options) {
996
993
  return (0, exports.SendApiFp)(this.configuration).sendValidateJsonPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
@@ -1001,7 +998,6 @@ class SendApi extends base_1.BaseAPI {
1001
998
  * @param {Send} send
1002
999
  * @param {*} [options] Override http request option.
1003
1000
  * @throws {RequiredError}
1004
- * @memberof SendApi
1005
1001
  */
1006
1002
  sendValidatePost(send, options) {
1007
1003
  return (0, exports.SendApiFp)(this.configuration).sendValidatePost(send, options).then((request) => request(this.axios, this.basePath));
@@ -1012,7 +1008,6 @@ class SendApi extends base_1.BaseAPI {
1012
1008
  * @param {FatturaOrdinaria} fatturaOrdinaria
1013
1009
  * @param {*} [options] Override http request option.
1014
1010
  * @throws {RequiredError}
1015
- * @memberof SendApi
1016
1011
  */
1017
1012
  sendValidateXmlPost(fatturaOrdinaria, options) {
1018
1013
  return (0, exports.SendApiFp)(this.configuration).sendValidateXmlPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
@@ -1025,43 +1020,30 @@ class SendApi extends base_1.BaseAPI {
1025
1020
  * @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
1026
1021
  * @param {*} [options] Override http request option.
1027
1022
  * @throws {RequiredError}
1028
- * @memberof SendApi
1029
1023
  */
1030
1024
  sendXmlPost(fatturaOrdinaria, validate, signature, options) {
1031
1025
  return (0, exports.SendApiFp)(this.configuration).sendXmlPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
1032
1026
  }
1033
1027
  }
1034
1028
  exports.SendApi = SendApi;
1035
- /**
1036
- * @export
1037
- */
1038
1029
  exports.SendFilePostSignatureEnum = {
1039
1030
  None: 'None',
1040
1031
  Apply: 'Apply',
1041
1032
  Force: 'Force',
1042
1033
  Auto: 'Auto'
1043
1034
  };
1044
- /**
1045
- * @export
1046
- */
1047
1035
  exports.SendJsonPostSignatureEnum = {
1048
1036
  None: 'None',
1049
1037
  Apply: 'Apply',
1050
1038
  Force: 'Force',
1051
1039
  Auto: 'Auto'
1052
1040
  };
1053
- /**
1054
- * @export
1055
- */
1056
1041
  exports.SendPostSignatureEnum = {
1057
1042
  None: 'None',
1058
1043
  Apply: 'Apply',
1059
1044
  Force: 'Force',
1060
1045
  Auto: 'Auto'
1061
1046
  };
1062
- /**
1063
- * @export
1064
- */
1065
1047
  exports.SendXmlPostSignatureEnum = {
1066
1048
  None: 'None',
1067
1049
  Apply: 'Apply',