@invoicetronic/ts-sdk 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +2 -2
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/src/api/company-api.d.ts +1 -1
- package/dist/esm/src/api/company-api.js +2 -20
- package/dist/esm/src/api/export-api.d.ts +1 -1
- package/dist/esm/src/api/export-api.js +2 -5
- package/dist/esm/src/api/health-api.d.ts +1 -1
- package/dist/esm/src/api/health-api.js +2 -5
- package/dist/esm/src/api/log-api.d.ts +11 -6
- package/dist/esm/src/api/log-api.js +16 -15
- package/dist/esm/src/api/receive-api.d.ts +1 -1
- package/dist/esm/src/api/receive-api.js +2 -14
- package/dist/esm/src/api/send-api.d.ts +1 -1
- package/dist/esm/src/api/send-api.js +2 -38
- package/dist/esm/src/api/status-api.d.ts +1 -1
- package/dist/esm/src/api/status-api.js +2 -5
- package/dist/esm/src/api/update-api.d.ts +1 -1
- package/dist/esm/src/api/update-api.js +2 -8
- package/dist/esm/src/api/webhook-api.d.ts +1 -1
- package/dist/esm/src/api/webhook-api.js +2 -23
- package/dist/esm/src/models/company.d.ts +1 -1
- package/dist/esm/src/models/company.js +1 -1
- package/dist/esm/src/models/document-data.d.ts +1 -1
- package/dist/esm/src/models/document-data.js +1 -1
- package/dist/esm/src/models/event.d.ts +5 -1
- package/dist/esm/src/models/event.js +1 -1
- package/dist/esm/src/models/index.d.ts +0 -1
- package/dist/esm/src/models/index.js +0 -1
- package/dist/esm/src/models/model-error.d.ts +1 -1
- package/dist/esm/src/models/model-error.js +1 -1
- package/dist/esm/src/models/problem-details.d.ts +1 -1
- package/dist/esm/src/models/problem-details.js +1 -1
- package/dist/esm/src/models/receive.d.ts +2 -2
- package/dist/esm/src/models/receive.js +1 -1
- package/dist/esm/src/models/send-reduced.d.ts +1 -1
- package/dist/esm/src/models/send-reduced.js +1 -1
- package/dist/esm/src/models/send.d.ts +2 -2
- package/dist/esm/src/models/send.js +1 -1
- package/dist/esm/src/models/status.d.ts +1 -1
- package/dist/esm/src/models/status.js +1 -1
- package/dist/esm/src/models/update.d.ts +1 -1
- package/dist/esm/src/models/update.js +1 -1
- package/dist/esm/src/models/web-hook-history.d.ts +1 -1
- package/dist/esm/src/models/web-hook-history.js +1 -1
- package/dist/esm/src/models/web-hook.d.ts +2 -2
- package/dist/esm/src/models/web-hook.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/src/api/company-api.d.ts +1 -1
- package/dist/src/api/company-api.js +1 -19
- package/dist/src/api/export-api.d.ts +1 -1
- package/dist/src/api/export-api.js +1 -4
- package/dist/src/api/health-api.d.ts +1 -1
- package/dist/src/api/health-api.js +1 -4
- package/dist/src/api/log-api.d.ts +11 -6
- package/dist/src/api/log-api.js +15 -14
- package/dist/src/api/receive-api.d.ts +1 -1
- package/dist/src/api/receive-api.js +1 -13
- package/dist/src/api/send-api.d.ts +1 -1
- package/dist/src/api/send-api.js +1 -37
- package/dist/src/api/status-api.d.ts +1 -1
- package/dist/src/api/status-api.js +1 -4
- package/dist/src/api/update-api.d.ts +1 -1
- package/dist/src/api/update-api.js +1 -7
- package/dist/src/api/webhook-api.d.ts +1 -1
- package/dist/src/api/webhook-api.js +1 -22
- package/dist/src/models/company.d.ts +1 -1
- package/dist/src/models/company.js +1 -1
- package/dist/src/models/document-data.d.ts +1 -1
- package/dist/src/models/document-data.js +1 -1
- package/dist/src/models/event.d.ts +5 -1
- package/dist/src/models/event.js +1 -1
- package/dist/src/models/index.d.ts +0 -1
- package/dist/src/models/index.js +0 -1
- package/dist/src/models/model-error.d.ts +1 -1
- package/dist/src/models/model-error.js +1 -1
- package/dist/src/models/problem-details.d.ts +1 -1
- package/dist/src/models/problem-details.js +1 -1
- package/dist/src/models/receive.d.ts +2 -2
- package/dist/src/models/receive.js +1 -1
- package/dist/src/models/send-reduced.d.ts +1 -1
- package/dist/src/models/send-reduced.js +1 -1
- package/dist/src/models/send.d.ts +2 -2
- package/dist/src/models/send.js +1 -1
- package/dist/src/models/status.d.ts +1 -1
- package/dist/src/models/status.js +1 -1
- package/dist/src/models/update.d.ts +1 -1
- package/dist/src/models/update.js +1 -1
- package/dist/src/models/web-hook-history.d.ts +1 -1
- package/dist/src/models/web-hook-history.js +1 -1
- package/dist/src/models/web-hook.d.ts +2 -2
- package/dist/src/models/web-hook.js +1 -1
- package/docs/CompanyApi.md +6 -13
- package/docs/Event.md +2 -0
- package/docs/ExportApi.md +1 -1
- package/docs/HealthApi.md +1 -1
- package/docs/LogApi.md +6 -4
- package/docs/Receive.md +1 -1
- package/docs/ReceiveApi.md +4 -8
- package/docs/Send.md +1 -1
- package/docs/SendApi.md +12 -22
- package/docs/StatusApi.md +1 -1
- package/docs/UpdateApi.md +2 -3
- package/docs/WebHook.md +1 -1
- package/docs/WebhookApi.md +7 -14
- package/index.ts +1 -1
- package/package.json +1 -1
- package/src/api/company-api.ts +1 -27
- package/src/api/export-api.ts +1 -5
- package/src/api/health-api.ts +1 -5
- package/src/api/log-api.ts +18 -19
- package/src/api/receive-api.ts +1 -19
- package/src/api/send-api.ts +1 -51
- package/src/api/status-api.ts +1 -5
- package/src/api/update-api.ts +1 -11
- package/src/api/webhook-api.ts +1 -31
- package/src/models/company.ts +1 -1
- package/src/models/document-data.ts +1 -1
- package/src/models/event.ts +5 -1
- package/src/models/index.ts +0 -1
- package/src/models/model-error.ts +1 -1
- package/src/models/problem-details.ts +1 -1
- package/src/models/receive.ts +2 -2
- package/src/models/send-reduced.ts +1 -1
- package/src/models/send.ts +2 -2
- package/src/models/status.ts +1 -1
- package/src/models/update.ts +1 -1
- package/src/models/web-hook-history.ts +1 -1
- package/src/models/web-hook.ts +2 -2
- package/dist/esm/src/models/problem-http-result.d.ts +0 -17
- package/dist/esm/src/models/problem-http-result.js +0 -14
- package/dist/src/models/problem-http-result.d.ts +0 -17
- package/dist/src/models/problem-http-result.js +0 -15
- package/docs/ProblemHttpResult.md +0 -24
- package/src/models/problem-http-result.ts +0 -25
package/src/api/company-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,8 +28,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
28
28
|
import type { Company } from '../../src/models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import type { ProblemDetails } from '../../src/models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
33
31
|
/**
|
|
34
32
|
* CompanyApi - axios parameter creator
|
|
35
33
|
*/
|
|
@@ -58,10 +56,6 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
58
56
|
const localVarHeaderParameter = {} as any;
|
|
59
57
|
const localVarQueryParameter = {} as any;
|
|
60
58
|
|
|
61
|
-
// authentication Basic required
|
|
62
|
-
// http basic authentication required
|
|
63
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
64
|
-
|
|
65
59
|
if (page !== undefined) {
|
|
66
60
|
localVarQueryParameter['page'] = page;
|
|
67
61
|
}
|
|
@@ -113,10 +107,6 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
113
107
|
const localVarHeaderParameter = {} as any;
|
|
114
108
|
const localVarQueryParameter = {} as any;
|
|
115
109
|
|
|
116
|
-
// authentication Basic required
|
|
117
|
-
// http basic authentication required
|
|
118
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
119
|
-
|
|
120
110
|
if (force !== undefined) {
|
|
121
111
|
localVarQueryParameter['force'] = force;
|
|
122
112
|
}
|
|
@@ -155,10 +145,6 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
155
145
|
const localVarHeaderParameter = {} as any;
|
|
156
146
|
const localVarQueryParameter = {} as any;
|
|
157
147
|
|
|
158
|
-
// authentication Basic required
|
|
159
|
-
// http basic authentication required
|
|
160
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
161
|
-
|
|
162
148
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
163
149
|
|
|
164
150
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -192,10 +178,6 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
192
178
|
const localVarHeaderParameter = {} as any;
|
|
193
179
|
const localVarQueryParameter = {} as any;
|
|
194
180
|
|
|
195
|
-
// authentication Basic required
|
|
196
|
-
// http basic authentication required
|
|
197
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
198
|
-
|
|
199
181
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
200
182
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
201
183
|
|
|
@@ -231,10 +213,6 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
231
213
|
const localVarHeaderParameter = {} as any;
|
|
232
214
|
const localVarQueryParameter = {} as any;
|
|
233
215
|
|
|
234
|
-
// authentication Basic required
|
|
235
|
-
// http basic authentication required
|
|
236
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
237
|
-
|
|
238
216
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
239
217
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
240
218
|
|
|
@@ -271,10 +249,6 @@ export const CompanyApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
271
249
|
const localVarHeaderParameter = {} as any;
|
|
272
250
|
const localVarQueryParameter = {} as any;
|
|
273
251
|
|
|
274
|
-
// authentication Basic required
|
|
275
|
-
// http basic authentication required
|
|
276
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
277
|
-
|
|
278
252
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
279
253
|
|
|
280
254
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
package/src/api/export-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -57,10 +57,6 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
57
57
|
const localVarHeaderParameter = {} as any;
|
|
58
58
|
const localVarQueryParameter = {} as any;
|
|
59
59
|
|
|
60
|
-
// authentication Basic required
|
|
61
|
-
// http basic authentication required
|
|
62
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
63
|
-
|
|
64
60
|
if (type !== undefined) {
|
|
65
61
|
localVarQueryParameter['type'] = type;
|
|
66
62
|
}
|
package/src/api/health-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -48,10 +48,6 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
48
48
|
const localVarHeaderParameter = {} as any;
|
|
49
49
|
const localVarQueryParameter = {} as any;
|
|
50
50
|
|
|
51
|
-
// authentication Basic required
|
|
52
|
-
// http basic authentication required
|
|
53
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
54
|
-
|
|
55
51
|
|
|
56
52
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
package/src/api/log-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,8 +26,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { Event } from '../../src/models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
31
29
|
/**
|
|
32
30
|
* LogApi - axios parameter creator
|
|
33
31
|
*/
|
|
@@ -50,10 +48,11 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
50
48
|
* @param {boolean} [success]
|
|
51
49
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
52
50
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
51
|
+
* @param {string} [userAgent]
|
|
53
52
|
* @param {*} [options] Override http request option.
|
|
54
53
|
* @throws {RequiredError}
|
|
55
54
|
*/
|
|
56
|
-
logGet: async (companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55
|
+
logGet: async (companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
56
|
const localVarPath = `/log`;
|
|
58
57
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
58
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -66,10 +65,6 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
66
65
|
const localVarHeaderParameter = {} as any;
|
|
67
66
|
const localVarQueryParameter = {} as any;
|
|
68
67
|
|
|
69
|
-
// authentication Basic required
|
|
70
|
-
// http basic authentication required
|
|
71
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
72
|
-
|
|
73
68
|
if (companyId !== undefined) {
|
|
74
69
|
localVarQueryParameter['company_id'] = companyId;
|
|
75
70
|
}
|
|
@@ -134,6 +129,10 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
134
129
|
dateTimeTo;
|
|
135
130
|
}
|
|
136
131
|
|
|
132
|
+
if (userAgent !== undefined) {
|
|
133
|
+
localVarQueryParameter['user_agent'] = userAgent;
|
|
134
|
+
}
|
|
135
|
+
|
|
137
136
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
138
137
|
|
|
139
138
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -168,10 +167,6 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
168
167
|
const localVarHeaderParameter = {} as any;
|
|
169
168
|
const localVarQueryParameter = {} as any;
|
|
170
169
|
|
|
171
|
-
// authentication Basic required
|
|
172
|
-
// http basic authentication required
|
|
173
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
174
|
-
|
|
175
170
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
176
171
|
|
|
177
172
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -209,11 +204,12 @@ export const LogApiFp = function(configuration?: Configuration) {
|
|
|
209
204
|
* @param {boolean} [success]
|
|
210
205
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
211
206
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
207
|
+
* @param {string} [userAgent]
|
|
212
208
|
* @param {*} [options] Override http request option.
|
|
213
209
|
* @throws {RequiredError}
|
|
214
210
|
*/
|
|
215
|
-
async logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Event>>> {
|
|
216
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options);
|
|
211
|
+
async logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Event>>> {
|
|
212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options);
|
|
217
213
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
218
214
|
const localVarOperationServerBasePath = operationServerMap['LogApi.logGet']?.[localVarOperationServerIndex]?.url;
|
|
219
215
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -257,11 +253,12 @@ export const LogApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
257
253
|
* @param {boolean} [success]
|
|
258
254
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
259
255
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
256
|
+
* @param {string} [userAgent]
|
|
260
257
|
* @param {*} [options] Override http request option.
|
|
261
258
|
* @throws {RequiredError}
|
|
262
259
|
*/
|
|
263
|
-
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>> {
|
|
264
|
-
return localVarFp.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(axios, basePath));
|
|
260
|
+
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>> {
|
|
261
|
+
return localVarFp.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options).then((request) => request(axios, basePath));
|
|
265
262
|
},
|
|
266
263
|
/**
|
|
267
264
|
* Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
|
|
@@ -297,10 +294,11 @@ export interface LogApiInterface {
|
|
|
297
294
|
* @param {boolean} [success]
|
|
298
295
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
299
296
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
297
|
+
* @param {string} [userAgent]
|
|
300
298
|
* @param {*} [options] Override http request option.
|
|
301
299
|
* @throws {RequiredError}
|
|
302
300
|
*/
|
|
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>>;
|
|
301
|
+
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, userAgent?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
|
|
304
302
|
|
|
305
303
|
/**
|
|
306
304
|
* Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
|
|
@@ -334,11 +332,12 @@ export class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
334
332
|
* @param {boolean} [success]
|
|
335
333
|
* @param {string} [dateTimeFrom] Date and time of the event
|
|
336
334
|
* @param {string} [dateTimeTo] Date and time of the event
|
|
335
|
+
* @param {string} [userAgent]
|
|
337
336
|
* @param {*} [options] Override http request option.
|
|
338
337
|
* @throws {RequiredError}
|
|
339
338
|
*/
|
|
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) {
|
|
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));
|
|
339
|
+
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, userAgent?: string, options?: RawAxiosRequestConfig) {
|
|
340
|
+
return LogApiFp(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, userAgent, options).then((request) => request(this.axios, this.basePath));
|
|
342
341
|
}
|
|
343
342
|
|
|
344
343
|
/**
|
package/src/api/receive-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,8 +27,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { ProblemDetails } from '../../src/models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
31
|
-
// @ts-ignore
|
|
32
30
|
import type { Receive } from '../../src/models';
|
|
33
31
|
/**
|
|
34
32
|
* ReceiveApi - axios parameter creator
|
|
@@ -72,10 +70,6 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
72
70
|
const localVarHeaderParameter = {} as any;
|
|
73
71
|
const localVarQueryParameter = {} as any;
|
|
74
72
|
|
|
75
|
-
// authentication Basic required
|
|
76
|
-
// http basic authentication required
|
|
77
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
78
|
-
|
|
79
73
|
if (companyId !== undefined) {
|
|
80
74
|
localVarQueryParameter['company_id'] = companyId;
|
|
81
75
|
}
|
|
@@ -194,10 +188,6 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
194
188
|
const localVarHeaderParameter = {} as any;
|
|
195
189
|
const localVarQueryParameter = {} as any;
|
|
196
190
|
|
|
197
|
-
// authentication Basic required
|
|
198
|
-
// http basic authentication required
|
|
199
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
200
|
-
|
|
201
191
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
202
192
|
|
|
203
193
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -233,10 +223,6 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
233
223
|
const localVarHeaderParameter = {} as any;
|
|
234
224
|
const localVarQueryParameter = {} as any;
|
|
235
225
|
|
|
236
|
-
// authentication Basic required
|
|
237
|
-
// http basic authentication required
|
|
238
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
239
|
-
|
|
240
226
|
if (includePayload !== undefined) {
|
|
241
227
|
localVarQueryParameter['include_payload'] = includePayload;
|
|
242
228
|
}
|
|
@@ -275,10 +261,6 @@ export const ReceiveApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
275
261
|
const localVarHeaderParameter = {} as any;
|
|
276
262
|
const localVarQueryParameter = {} as any;
|
|
277
263
|
|
|
278
|
-
// authentication Basic required
|
|
279
|
-
// http basic authentication required
|
|
280
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
281
|
-
|
|
282
264
|
localVarHeaderParameter['Accept'] = 'application/problem+json';
|
|
283
265
|
|
|
284
266
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
package/src/api/send-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,8 +27,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { ProblemDetails } from '../../src/models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
31
|
-
// @ts-ignore
|
|
32
30
|
import type { Send } from '../../src/models';
|
|
33
31
|
/**
|
|
34
32
|
* SendApi - axios parameter creator
|
|
@@ -60,10 +58,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
60
58
|
const localVarQueryParameter = {} as any;
|
|
61
59
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
62
60
|
|
|
63
|
-
// authentication Basic required
|
|
64
|
-
// http basic authentication required
|
|
65
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
66
|
-
|
|
67
61
|
if (validate !== undefined) {
|
|
68
62
|
localVarQueryParameter['validate'] = validate;
|
|
69
63
|
}
|
|
@@ -125,10 +119,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
125
119
|
const localVarHeaderParameter = {} as any;
|
|
126
120
|
const localVarQueryParameter = {} as any;
|
|
127
121
|
|
|
128
|
-
// authentication Basic required
|
|
129
|
-
// http basic authentication required
|
|
130
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
131
|
-
|
|
132
122
|
if (companyId !== undefined) {
|
|
133
123
|
localVarQueryParameter['company_id'] = companyId;
|
|
134
124
|
}
|
|
@@ -244,10 +234,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
244
234
|
const localVarHeaderParameter = {} as any;
|
|
245
235
|
const localVarQueryParameter = {} as any;
|
|
246
236
|
|
|
247
|
-
// authentication Basic required
|
|
248
|
-
// http basic authentication required
|
|
249
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
250
|
-
|
|
251
237
|
if (includePayload !== undefined) {
|
|
252
238
|
localVarQueryParameter['include_payload'] = includePayload;
|
|
253
239
|
}
|
|
@@ -286,10 +272,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
286
272
|
const localVarHeaderParameter = {} as any;
|
|
287
273
|
const localVarQueryParameter = {} as any;
|
|
288
274
|
|
|
289
|
-
// authentication Basic required
|
|
290
|
-
// http basic authentication required
|
|
291
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
292
|
-
|
|
293
275
|
localVarHeaderParameter['Accept'] = 'application/problem+json';
|
|
294
276
|
|
|
295
277
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -325,10 +307,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
325
307
|
const localVarHeaderParameter = {} as any;
|
|
326
308
|
const localVarQueryParameter = {} as any;
|
|
327
309
|
|
|
328
|
-
// authentication Basic required
|
|
329
|
-
// http basic authentication required
|
|
330
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
331
|
-
|
|
332
310
|
if (includePayload !== undefined) {
|
|
333
311
|
localVarQueryParameter['include_payload'] = includePayload;
|
|
334
312
|
}
|
|
@@ -368,10 +346,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
368
346
|
const localVarHeaderParameter = {} as any;
|
|
369
347
|
const localVarQueryParameter = {} as any;
|
|
370
348
|
|
|
371
|
-
// authentication Basic required
|
|
372
|
-
// http basic authentication required
|
|
373
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
374
|
-
|
|
375
349
|
if (validate !== undefined) {
|
|
376
350
|
localVarQueryParameter['validate'] = validate;
|
|
377
351
|
}
|
|
@@ -417,10 +391,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
417
391
|
const localVarHeaderParameter = {} as any;
|
|
418
392
|
const localVarQueryParameter = {} as any;
|
|
419
393
|
|
|
420
|
-
// authentication Basic required
|
|
421
|
-
// http basic authentication required
|
|
422
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
423
|
-
|
|
424
394
|
if (validate !== undefined) {
|
|
425
395
|
localVarQueryParameter['validate'] = validate;
|
|
426
396
|
}
|
|
@@ -465,10 +435,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
465
435
|
const localVarQueryParameter = {} as any;
|
|
466
436
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
467
437
|
|
|
468
|
-
// authentication Basic required
|
|
469
|
-
// http basic authentication required
|
|
470
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
471
|
-
|
|
472
438
|
|
|
473
439
|
if (file !== undefined) {
|
|
474
440
|
localVarFormParams.append('file', file as any);
|
|
@@ -508,10 +474,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
508
474
|
const localVarHeaderParameter = {} as any;
|
|
509
475
|
const localVarQueryParameter = {} as any;
|
|
510
476
|
|
|
511
|
-
// authentication Basic required
|
|
512
|
-
// http basic authentication required
|
|
513
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
514
|
-
|
|
515
477
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
516
478
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
517
479
|
|
|
@@ -547,10 +509,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
547
509
|
const localVarHeaderParameter = {} as any;
|
|
548
510
|
const localVarQueryParameter = {} as any;
|
|
549
511
|
|
|
550
|
-
// authentication Basic required
|
|
551
|
-
// http basic authentication required
|
|
552
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
553
|
-
|
|
554
512
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
555
513
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
556
514
|
|
|
@@ -586,10 +544,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
586
544
|
const localVarHeaderParameter = {} as any;
|
|
587
545
|
const localVarQueryParameter = {} as any;
|
|
588
546
|
|
|
589
|
-
// authentication Basic required
|
|
590
|
-
// http basic authentication required
|
|
591
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
592
|
-
|
|
593
547
|
localVarHeaderParameter['Content-Type'] = 'application/xml';
|
|
594
548
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
595
549
|
|
|
@@ -627,10 +581,6 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
627
581
|
const localVarHeaderParameter = {} as any;
|
|
628
582
|
const localVarQueryParameter = {} as any;
|
|
629
583
|
|
|
630
|
-
// authentication Basic required
|
|
631
|
-
// http basic authentication required
|
|
632
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
633
|
-
|
|
634
584
|
if (validate !== undefined) {
|
|
635
585
|
localVarQueryParameter['validate'] = validate;
|
|
636
586
|
}
|
package/src/api/status-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -50,10 +50,6 @@ export const StatusApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
50
50
|
const localVarHeaderParameter = {} as any;
|
|
51
51
|
const localVarQueryParameter = {} as any;
|
|
52
52
|
|
|
53
|
-
// authentication Basic required
|
|
54
|
-
// http basic authentication required
|
|
55
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
56
|
-
|
|
57
53
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58
54
|
|
|
59
55
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
package/src/api/update-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,8 +25,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
29
|
-
// @ts-ignore
|
|
30
28
|
import type { Update } from '../../src/models';
|
|
31
29
|
/**
|
|
32
30
|
* UpdateApi - axios parameter creator
|
|
@@ -65,10 +63,6 @@ export const UpdateApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
65
63
|
const localVarHeaderParameter = {} as any;
|
|
66
64
|
const localVarQueryParameter = {} as any;
|
|
67
65
|
|
|
68
|
-
// authentication Basic required
|
|
69
|
-
// http basic authentication required
|
|
70
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
71
|
-
|
|
72
66
|
if (companyId !== undefined) {
|
|
73
67
|
localVarQueryParameter['company_id'] = companyId;
|
|
74
68
|
}
|
|
@@ -163,10 +157,6 @@ export const UpdateApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
163
157
|
const localVarHeaderParameter = {} as any;
|
|
164
158
|
const localVarQueryParameter = {} as any;
|
|
165
159
|
|
|
166
|
-
// authentication Basic required
|
|
167
|
-
// http basic authentication required
|
|
168
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
169
|
-
|
|
170
160
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
171
161
|
|
|
172
162
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
package/src/api/webhook-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,8 +27,6 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { ProblemDetails } from '../../src/models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import type { ProblemHttpResult } from '../../src/models';
|
|
31
|
-
// @ts-ignore
|
|
32
30
|
import type { WebHook } from '../../src/models';
|
|
33
31
|
// @ts-ignore
|
|
34
32
|
import type { WebHookHistory } from '../../src/models';
|
|
@@ -64,10 +62,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
64
62
|
const localVarHeaderParameter = {} as any;
|
|
65
63
|
const localVarQueryParameter = {} as any;
|
|
66
64
|
|
|
67
|
-
// authentication Basic required
|
|
68
|
-
// http basic authentication required
|
|
69
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
70
|
-
|
|
71
65
|
if (companyId !== undefined) {
|
|
72
66
|
localVarQueryParameter['company_id'] = companyId;
|
|
73
67
|
}
|
|
@@ -134,10 +128,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
134
128
|
const localVarHeaderParameter = {} as any;
|
|
135
129
|
const localVarQueryParameter = {} as any;
|
|
136
130
|
|
|
137
|
-
// authentication Basic required
|
|
138
|
-
// http basic authentication required
|
|
139
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
140
|
-
|
|
141
131
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
142
132
|
|
|
143
133
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -172,10 +162,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
172
162
|
const localVarHeaderParameter = {} as any;
|
|
173
163
|
const localVarQueryParameter = {} as any;
|
|
174
164
|
|
|
175
|
-
// authentication Basic required
|
|
176
|
-
// http basic authentication required
|
|
177
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
178
|
-
|
|
179
165
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
180
166
|
|
|
181
167
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -209,10 +195,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
209
195
|
const localVarHeaderParameter = {} as any;
|
|
210
196
|
const localVarQueryParameter = {} as any;
|
|
211
197
|
|
|
212
|
-
// authentication Basic required
|
|
213
|
-
// http basic authentication required
|
|
214
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
215
|
-
|
|
216
198
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
217
199
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
218
200
|
|
|
@@ -248,10 +230,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
248
230
|
const localVarHeaderParameter = {} as any;
|
|
249
231
|
const localVarQueryParameter = {} as any;
|
|
250
232
|
|
|
251
|
-
// authentication Basic required
|
|
252
|
-
// http basic authentication required
|
|
253
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
254
|
-
|
|
255
233
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
256
234
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
257
235
|
|
|
@@ -288,10 +266,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
288
266
|
const localVarHeaderParameter = {} as any;
|
|
289
267
|
const localVarQueryParameter = {} as any;
|
|
290
268
|
|
|
291
|
-
// authentication Basic required
|
|
292
|
-
// http basic authentication required
|
|
293
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
294
|
-
|
|
295
269
|
if (page !== undefined) {
|
|
296
270
|
localVarQueryParameter['page'] = page;
|
|
297
271
|
}
|
|
@@ -342,10 +316,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
342
316
|
const localVarHeaderParameter = {} as any;
|
|
343
317
|
const localVarQueryParameter = {} as any;
|
|
344
318
|
|
|
345
|
-
// authentication Basic required
|
|
346
|
-
// http basic authentication required
|
|
347
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
348
|
-
|
|
349
319
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
350
320
|
|
|
351
321
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
package/src/models/company.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Invoicetronic API
|
|
5
5
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
7
|
+
* The version of the OpenAPI document: 1.6.1
|
|
8
8
|
* Contact: info@invoicetronic.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|