@invoicetronic/ts-sdk 1.0.0 → 1.0.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.
- package/CHANGELOG.md +1 -0
- package/README.md +2 -2
- package/configuration.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/src/api/company-api.d.ts +5 -5
- package/dist/esm/src/api/log-api.d.ts +2 -2
- package/dist/esm/src/api/receive-api.d.ts +3 -3
- package/dist/esm/src/api/send-api.d.ts +11 -11
- package/dist/esm/src/api/status-api.d.ts +1 -1
- package/dist/esm/src/api/update-api.d.ts +2 -2
- package/dist/esm/src/api/webhook-api.d.ts +7 -7
- package/dist/src/api/company-api.d.ts +5 -5
- package/dist/src/api/log-api.d.ts +2 -2
- package/dist/src/api/receive-api.d.ts +3 -3
- package/dist/src/api/send-api.d.ts +11 -11
- package/dist/src/api/status-api.d.ts +1 -1
- package/dist/src/api/update-api.d.ts +2 -2
- package/dist/src/api/webhook-api.d.ts +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Changelog\n\n## [1.0.1.0] - 2025-09-16\nSee main repository changelog for details.
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ For more information, see [Invoicetronic website][2]
|
|
|
7
7
|
[1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/
|
|
8
8
|
[2]: https://invoicetronic.com/
|
|
9
9
|
|
|
10
|
-
## @invoicetronic/ts-sdk@1.0.
|
|
10
|
+
## @invoicetronic/ts-sdk@1.0.1
|
|
11
11
|
|
|
12
12
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
13
13
|
|
|
@@ -45,7 +45,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
45
45
|
_published:_
|
|
46
46
|
|
|
47
47
|
```
|
|
48
|
-
npm install @invoicetronic/ts-sdk@1.0.
|
|
48
|
+
npm install @invoicetronic/ts-sdk@1.0.1 --save
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
_unPublished (not recommended):_
|
package/configuration.ts
CHANGED
package/dist/configuration.js
CHANGED
|
@@ -23,7 +23,7 @@ class Configuration {
|
|
|
23
23
|
this.accessToken = param.accessToken;
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.serverIndex = param.serverIndex;
|
|
26
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "Invoicetronic/1.0.
|
|
26
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "Invoicetronic/1.0.1/TypeScript-SDK" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
27
27
|
this.formDataCtor = param.formDataCtor;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
@@ -20,7 +20,7 @@ export class Configuration {
|
|
|
20
20
|
this.accessToken = param.accessToken;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "Invoicetronic/1.0.
|
|
23
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "Invoicetronic/1.0.1/TypeScript-SDK" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
24
24
|
this.formDataCtor = param.formDataCtor;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
@@ -228,7 +228,7 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
* @memberof CompanyApi
|
|
230
230
|
*/
|
|
231
|
-
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any>>;
|
|
231
|
+
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any, {}>>;
|
|
232
232
|
/**
|
|
233
233
|
* Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
|
|
234
234
|
* @summary Delete a company
|
|
@@ -237,7 +237,7 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
237
237
|
* @throws {RequiredError}
|
|
238
238
|
* @memberof CompanyApi
|
|
239
239
|
*/
|
|
240
|
-
companyIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any>>;
|
|
240
|
+
companyIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
241
241
|
/**
|
|
242
242
|
* Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
|
|
243
243
|
* @summary Get a company by id
|
|
@@ -246,7 +246,7 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
* @memberof CompanyApi
|
|
248
248
|
*/
|
|
249
|
-
companyIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any>>;
|
|
249
|
+
companyIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
250
250
|
/**
|
|
251
251
|
* Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
|
|
252
252
|
* @summary Add a company
|
|
@@ -255,7 +255,7 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
255
255
|
* @throws {RequiredError}
|
|
256
256
|
* @memberof CompanyApi
|
|
257
257
|
*/
|
|
258
|
-
companyPost(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any>>;
|
|
258
|
+
companyPost(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
259
259
|
/**
|
|
260
260
|
* Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
|
|
261
261
|
* @summary Update a company
|
|
@@ -264,5 +264,5 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
264
264
|
* @throws {RequiredError}
|
|
265
265
|
* @memberof CompanyApi
|
|
266
266
|
*/
|
|
267
|
-
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any>>;
|
|
267
|
+
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
268
268
|
}
|
|
@@ -184,7 +184,7 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
* @memberof LogApi
|
|
186
186
|
*/
|
|
187
|
-
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any>>;
|
|
187
|
+
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any, {}>>;
|
|
188
188
|
/**
|
|
189
189
|
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
190
190
|
* @summary Get an event by id
|
|
@@ -193,5 +193,5 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
* @memberof LogApi
|
|
195
195
|
*/
|
|
196
|
-
logIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event, any>>;
|
|
196
|
+
logIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event, any, {}>>;
|
|
197
197
|
}
|
|
@@ -236,7 +236,7 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
* @memberof ReceiveApi
|
|
238
238
|
*/
|
|
239
|
-
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>>;
|
|
239
|
+
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
240
|
/**
|
|
241
241
|
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
242
242
|
* @summary Delete an incoming invoice by id
|
|
@@ -245,7 +245,7 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
* @memberof ReceiveApi
|
|
247
247
|
*/
|
|
248
|
-
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any>>;
|
|
248
|
+
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
249
249
|
/**
|
|
250
250
|
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
251
251
|
* @summary Get an incoming invoice by id
|
|
@@ -255,5 +255,5 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
255
255
|
* @throws {RequiredError}
|
|
256
256
|
* @memberof ReceiveApi
|
|
257
257
|
*/
|
|
258
|
-
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any>>;
|
|
258
|
+
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
259
259
|
}
|
|
@@ -519,7 +519,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
* @memberof SendApi
|
|
521
521
|
*/
|
|
522
|
-
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
522
|
+
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
523
523
|
/**
|
|
524
524
|
* test **markdown**.
|
|
525
525
|
* @summary List invoices
|
|
@@ -543,7 +543,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
543
543
|
* @throws {RequiredError}
|
|
544
544
|
* @memberof SendApi
|
|
545
545
|
*/
|
|
546
|
-
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>>;
|
|
546
|
+
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
547
|
/**
|
|
548
548
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
549
549
|
* @summary Get a invoice by id
|
|
@@ -553,7 +553,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
553
553
|
* @throws {RequiredError}
|
|
554
554
|
* @memberof SendApi
|
|
555
555
|
*/
|
|
556
|
-
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
556
|
+
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
557
557
|
/**
|
|
558
558
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
559
559
|
* @summary Get a invoice by identifier
|
|
@@ -563,7 +563,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
563
563
|
* @throws {RequiredError}
|
|
564
564
|
* @memberof SendApi
|
|
565
565
|
*/
|
|
566
|
-
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
566
|
+
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
567
567
|
/**
|
|
568
568
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
569
569
|
* @summary Add an invoice by json
|
|
@@ -574,7 +574,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
574
574
|
* @throws {RequiredError}
|
|
575
575
|
* @memberof SendApi
|
|
576
576
|
*/
|
|
577
|
-
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
577
|
+
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
578
578
|
/**
|
|
579
579
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
580
580
|
* @summary Add an invoice
|
|
@@ -585,7 +585,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
585
585
|
* @throws {RequiredError}
|
|
586
586
|
* @memberof SendApi
|
|
587
587
|
*/
|
|
588
|
-
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
588
|
+
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
589
589
|
/**
|
|
590
590
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
591
591
|
* @summary Validate an invoice file
|
|
@@ -594,7 +594,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
594
594
|
* @throws {RequiredError}
|
|
595
595
|
* @memberof SendApi
|
|
596
596
|
*/
|
|
597
|
-
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
597
|
+
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
598
598
|
/**
|
|
599
599
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
600
600
|
* @summary Validate an invoice by json
|
|
@@ -603,7 +603,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
603
603
|
* @throws {RequiredError}
|
|
604
604
|
* @memberof SendApi
|
|
605
605
|
*/
|
|
606
|
-
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
606
|
+
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
607
607
|
/**
|
|
608
608
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
609
609
|
* @summary Validate an invoice
|
|
@@ -612,7 +612,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
612
612
|
* @throws {RequiredError}
|
|
613
613
|
* @memberof SendApi
|
|
614
614
|
*/
|
|
615
|
-
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
615
|
+
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
616
616
|
/**
|
|
617
617
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
618
618
|
* @summary Validate an invoice by xml
|
|
@@ -621,7 +621,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
621
621
|
* @throws {RequiredError}
|
|
622
622
|
* @memberof SendApi
|
|
623
623
|
*/
|
|
624
|
-
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
624
|
+
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
625
625
|
/**
|
|
626
626
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
627
627
|
* @summary Add an invoice by xml
|
|
@@ -632,7 +632,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
632
632
|
* @throws {RequiredError}
|
|
633
633
|
* @memberof SendApi
|
|
634
634
|
*/
|
|
635
|
-
sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
635
|
+
sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
636
636
|
}
|
|
637
637
|
/**
|
|
638
638
|
* @export
|
|
@@ -81,5 +81,5 @@ export declare class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
* @memberof StatusApi
|
|
83
83
|
*/
|
|
84
|
-
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
84
|
+
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
85
85
|
}
|
|
@@ -179,7 +179,7 @@ export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
* @memberof UpdateApi
|
|
181
181
|
*/
|
|
182
|
-
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update[], any>>;
|
|
182
|
+
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update[], any, {}>>;
|
|
183
183
|
/**
|
|
184
184
|
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
185
185
|
* @summary Get an update by id
|
|
@@ -188,7 +188,7 @@ export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
* @memberof UpdateApi
|
|
190
190
|
*/
|
|
191
|
-
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update, any>>;
|
|
191
|
+
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update, any, {}>>;
|
|
192
192
|
}
|
|
193
193
|
/**
|
|
194
194
|
* @export
|
|
@@ -332,7 +332,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
332
332
|
* @throws {RequiredError}
|
|
333
333
|
* @memberof WebhookApi
|
|
334
334
|
*/
|
|
335
|
-
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook[], any>>;
|
|
335
|
+
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook[], any, {}>>;
|
|
336
336
|
/**
|
|
337
337
|
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
338
338
|
* @summary Delete a webhook by id
|
|
@@ -341,7 +341,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
341
341
|
* @throws {RequiredError}
|
|
342
342
|
* @memberof WebhookApi
|
|
343
343
|
*/
|
|
344
|
-
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
344
|
+
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
345
345
|
/**
|
|
346
346
|
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
347
347
|
* @summary Get a webhook by id
|
|
@@ -350,7 +350,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
350
350
|
* @throws {RequiredError}
|
|
351
351
|
* @memberof WebhookApi
|
|
352
352
|
*/
|
|
353
|
-
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
353
|
+
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
354
354
|
/**
|
|
355
355
|
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
356
356
|
* @summary Add a webhook
|
|
@@ -359,7 +359,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
359
359
|
* @throws {RequiredError}
|
|
360
360
|
* @memberof WebhookApi
|
|
361
361
|
*/
|
|
362
|
-
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
362
|
+
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
363
363
|
/**
|
|
364
364
|
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
365
365
|
* @summary Update a webhook
|
|
@@ -368,7 +368,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
368
368
|
* @throws {RequiredError}
|
|
369
369
|
* @memberof WebhookApi
|
|
370
370
|
*/
|
|
371
|
-
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
371
|
+
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
372
372
|
/**
|
|
373
373
|
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
374
374
|
* @summary List webhook history items
|
|
@@ -380,7 +380,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
* @memberof WebhookApi
|
|
382
382
|
*/
|
|
383
|
-
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any>>;
|
|
383
|
+
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any, {}>>;
|
|
384
384
|
/**
|
|
385
385
|
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
386
386
|
* @summary Get a webhook history item by id
|
|
@@ -389,5 +389,5 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
* @memberof WebhookApi
|
|
391
391
|
*/
|
|
392
|
-
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory, any>>;
|
|
392
|
+
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory, any, {}>>;
|
|
393
393
|
}
|
|
@@ -228,7 +228,7 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
* @memberof CompanyApi
|
|
230
230
|
*/
|
|
231
|
-
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any>>;
|
|
231
|
+
companyGet(page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company[], any, {}>>;
|
|
232
232
|
/**
|
|
233
233
|
* Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
|
|
234
234
|
* @summary Delete a company
|
|
@@ -237,7 +237,7 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
237
237
|
* @throws {RequiredError}
|
|
238
238
|
* @memberof CompanyApi
|
|
239
239
|
*/
|
|
240
|
-
companyIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any>>;
|
|
240
|
+
companyIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
241
241
|
/**
|
|
242
242
|
* Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
|
|
243
243
|
* @summary Get a company by id
|
|
@@ -246,7 +246,7 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
* @memberof CompanyApi
|
|
248
248
|
*/
|
|
249
|
-
companyIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any>>;
|
|
249
|
+
companyIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
250
250
|
/**
|
|
251
251
|
* Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
|
|
252
252
|
* @summary Add a company
|
|
@@ -255,7 +255,7 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
255
255
|
* @throws {RequiredError}
|
|
256
256
|
* @memberof CompanyApi
|
|
257
257
|
*/
|
|
258
|
-
companyPost(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any>>;
|
|
258
|
+
companyPost(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
259
259
|
/**
|
|
260
260
|
* Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
|
|
261
261
|
* @summary Update a company
|
|
@@ -264,5 +264,5 @@ export declare class CompanyApi extends BaseAPI implements CompanyApiInterface {
|
|
|
264
264
|
* @throws {RequiredError}
|
|
265
265
|
* @memberof CompanyApi
|
|
266
266
|
*/
|
|
267
|
-
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any>>;
|
|
267
|
+
companyPut(company: Company, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Company, any, {}>>;
|
|
268
268
|
}
|
|
@@ -184,7 +184,7 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
* @memberof LogApi
|
|
186
186
|
*/
|
|
187
|
-
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any>>;
|
|
187
|
+
logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any, {}>>;
|
|
188
188
|
/**
|
|
189
189
|
* Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
|
|
190
190
|
* @summary Get an event by id
|
|
@@ -193,5 +193,5 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
|
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
* @memberof LogApi
|
|
195
195
|
*/
|
|
196
|
-
logIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event, any>>;
|
|
196
|
+
logIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event, any, {}>>;
|
|
197
197
|
}
|
|
@@ -236,7 +236,7 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
* @memberof ReceiveApi
|
|
238
238
|
*/
|
|
239
|
-
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>>;
|
|
239
|
+
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
240
|
/**
|
|
241
241
|
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
242
242
|
* @summary Delete an incoming invoice by id
|
|
@@ -245,7 +245,7 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
* @memberof ReceiveApi
|
|
247
247
|
*/
|
|
248
|
-
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any>>;
|
|
248
|
+
receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
249
249
|
/**
|
|
250
250
|
* Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
|
|
251
251
|
* @summary Get an incoming invoice by id
|
|
@@ -255,5 +255,5 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
|
|
|
255
255
|
* @throws {RequiredError}
|
|
256
256
|
* @memberof ReceiveApi
|
|
257
257
|
*/
|
|
258
|
-
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any>>;
|
|
258
|
+
receiveIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
|
|
259
259
|
}
|
|
@@ -519,7 +519,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
* @memberof SendApi
|
|
521
521
|
*/
|
|
522
|
-
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
522
|
+
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
523
523
|
/**
|
|
524
524
|
* test **markdown**.
|
|
525
525
|
* @summary List invoices
|
|
@@ -543,7 +543,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
543
543
|
* @throws {RequiredError}
|
|
544
544
|
* @memberof SendApi
|
|
545
545
|
*/
|
|
546
|
-
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>>;
|
|
546
|
+
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
547
|
/**
|
|
548
548
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
549
549
|
* @summary Get a invoice by id
|
|
@@ -553,7 +553,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
553
553
|
* @throws {RequiredError}
|
|
554
554
|
* @memberof SendApi
|
|
555
555
|
*/
|
|
556
|
-
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
556
|
+
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
557
557
|
/**
|
|
558
558
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
559
559
|
* @summary Get a invoice by identifier
|
|
@@ -563,7 +563,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
563
563
|
* @throws {RequiredError}
|
|
564
564
|
* @memberof SendApi
|
|
565
565
|
*/
|
|
566
|
-
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
566
|
+
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
567
567
|
/**
|
|
568
568
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
569
569
|
* @summary Add an invoice by json
|
|
@@ -574,7 +574,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
574
574
|
* @throws {RequiredError}
|
|
575
575
|
* @memberof SendApi
|
|
576
576
|
*/
|
|
577
|
-
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
577
|
+
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
578
578
|
/**
|
|
579
579
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
580
580
|
* @summary Add an invoice
|
|
@@ -585,7 +585,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
585
585
|
* @throws {RequiredError}
|
|
586
586
|
* @memberof SendApi
|
|
587
587
|
*/
|
|
588
|
-
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
588
|
+
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
589
589
|
/**
|
|
590
590
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
591
591
|
* @summary Validate an invoice file
|
|
@@ -594,7 +594,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
594
594
|
* @throws {RequiredError}
|
|
595
595
|
* @memberof SendApi
|
|
596
596
|
*/
|
|
597
|
-
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
597
|
+
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
598
598
|
/**
|
|
599
599
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
600
600
|
* @summary Validate an invoice by json
|
|
@@ -603,7 +603,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
603
603
|
* @throws {RequiredError}
|
|
604
604
|
* @memberof SendApi
|
|
605
605
|
*/
|
|
606
|
-
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
606
|
+
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
607
607
|
/**
|
|
608
608
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
609
609
|
* @summary Validate an invoice
|
|
@@ -612,7 +612,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
612
612
|
* @throws {RequiredError}
|
|
613
613
|
* @memberof SendApi
|
|
614
614
|
*/
|
|
615
|
-
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
615
|
+
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
616
616
|
/**
|
|
617
617
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
618
618
|
* @summary Validate an invoice by xml
|
|
@@ -621,7 +621,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
621
621
|
* @throws {RequiredError}
|
|
622
622
|
* @memberof SendApi
|
|
623
623
|
*/
|
|
624
|
-
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
624
|
+
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
625
625
|
/**
|
|
626
626
|
* Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
|
|
627
627
|
* @summary Add an invoice by xml
|
|
@@ -632,7 +632,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
632
632
|
* @throws {RequiredError}
|
|
633
633
|
* @memberof SendApi
|
|
634
634
|
*/
|
|
635
|
-
sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any>>;
|
|
635
|
+
sendXmlPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
636
636
|
}
|
|
637
637
|
/**
|
|
638
638
|
* @export
|
|
@@ -81,5 +81,5 @@ export declare class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
* @memberof StatusApi
|
|
83
83
|
*/
|
|
84
|
-
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
84
|
+
statusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
85
85
|
}
|
|
@@ -179,7 +179,7 @@ export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
* @memberof UpdateApi
|
|
181
181
|
*/
|
|
182
|
-
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update[], any>>;
|
|
182
|
+
updateGet(companyId?: number, identifier?: string, prestatore?: string, unread?: boolean, sendId?: number, state?: UpdateGetStateEnum, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update[], any, {}>>;
|
|
183
183
|
/**
|
|
184
184
|
* Updates are notifications sent by the SDI about the status of invoices you sent.
|
|
185
185
|
* @summary Get an update by id
|
|
@@ -188,7 +188,7 @@ export declare class UpdateApi extends BaseAPI implements UpdateApiInterface {
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
* @memberof UpdateApi
|
|
190
190
|
*/
|
|
191
|
-
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update, any>>;
|
|
191
|
+
updateIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Update, any, {}>>;
|
|
192
192
|
}
|
|
193
193
|
/**
|
|
194
194
|
* @export
|
|
@@ -332,7 +332,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
332
332
|
* @throws {RequiredError}
|
|
333
333
|
* @memberof WebhookApi
|
|
334
334
|
*/
|
|
335
|
-
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook[], any>>;
|
|
335
|
+
webhookGet(companyId?: number, page?: number, pageSize?: number, sort?: string, description?: string, enabled?: boolean, events?: string, url?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook[], any, {}>>;
|
|
336
336
|
/**
|
|
337
337
|
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
338
338
|
* @summary Delete a webhook by id
|
|
@@ -341,7 +341,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
341
341
|
* @throws {RequiredError}
|
|
342
342
|
* @memberof WebhookApi
|
|
343
343
|
*/
|
|
344
|
-
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
344
|
+
webhookIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
345
345
|
/**
|
|
346
346
|
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
347
347
|
* @summary Get a webhook by id
|
|
@@ -350,7 +350,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
350
350
|
* @throws {RequiredError}
|
|
351
351
|
* @memberof WebhookApi
|
|
352
352
|
*/
|
|
353
|
-
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
353
|
+
webhookIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
354
354
|
/**
|
|
355
355
|
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
356
356
|
* @summary Add a webhook
|
|
@@ -359,7 +359,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
359
359
|
* @throws {RequiredError}
|
|
360
360
|
* @memberof WebhookApi
|
|
361
361
|
*/
|
|
362
|
-
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
362
|
+
webhookPost(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
363
363
|
/**
|
|
364
364
|
* Webhooks are used to notify external services about write events that occur in the API. You can subscribe to specific events and receive a notification when they occur.
|
|
365
365
|
* @summary Update a webhook
|
|
@@ -368,7 +368,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
368
368
|
* @throws {RequiredError}
|
|
369
369
|
* @memberof WebhookApi
|
|
370
370
|
*/
|
|
371
|
-
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any>>;
|
|
371
|
+
webhookPut(webHook: WebHook, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHook, any, {}>>;
|
|
372
372
|
/**
|
|
373
373
|
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
374
374
|
* @summary List webhook history items
|
|
@@ -380,7 +380,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
* @memberof WebhookApi
|
|
382
382
|
*/
|
|
383
|
-
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any>>;
|
|
383
|
+
webhookhistoryGet(page?: number, pageSize?: number, sort?: string, webhookId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory[], any, {}>>;
|
|
384
384
|
/**
|
|
385
385
|
* Webhook history items are stored in the database and can be accessed via the API. They are preserved for 15 in both the live and sandbox environments.
|
|
386
386
|
* @summary Get a webhook history item by id
|
|
@@ -389,5 +389,5 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
* @memberof WebhookApi
|
|
391
391
|
*/
|
|
392
|
-
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory, any>>;
|
|
392
|
+
webhookhistoryIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebHookHistory, any, {}>>;
|
|
393
393
|
}
|