@invoicetronic/ts-sdk 1.1.7 → 1.3.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 -0
- package/common.ts +15 -2
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +6 -0
- package/dist/common.js +17 -3
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/common.d.ts +6 -0
- package/dist/esm/common.js +15 -2
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/src/api/company-api.d.ts +35 -30
- package/dist/esm/src/api/company-api.js +34 -27
- package/dist/esm/src/api/export-api.d.ts +115 -0
- package/dist/esm/src/api/export-api.js +179 -0
- package/dist/esm/src/api/log-api.d.ts +10 -10
- package/dist/esm/src/api/log-api.js +8 -8
- package/dist/esm/src/api/receive-api.d.ts +15 -15
- package/dist/esm/src/api/receive-api.js +12 -12
- package/dist/esm/src/api/send-api.d.ts +55 -55
- package/dist/esm/src/api/send-api.js +44 -44
- package/dist/esm/src/api/status-api.d.ts +5 -5
- package/dist/esm/src/api/status-api.js +4 -4
- package/dist/esm/src/api/update-api.d.ts +10 -10
- package/dist/esm/src/api/update-api.js +8 -8
- package/dist/esm/src/api/webhook-api.d.ts +25 -25
- package/dist/esm/src/api/webhook-api.js +20 -20
- package/dist/esm/src/models/event.d.ts +2 -2
- package/dist/esm/src/models/receive.d.ts +3 -3
- package/dist/esm/src/models/send.d.ts +2 -2
- package/dist/esm/src/models/update.d.ts +2 -2
- package/dist/esm/src/models/web-hook-history.d.ts +1 -1
- package/dist/esm/src/models/web-hook.d.ts +2 -2
- package/dist/src/api/company-api.d.ts +35 -30
- package/dist/src/api/company-api.js +34 -27
- package/dist/src/api/export-api.d.ts +115 -0
- package/dist/src/api/export-api.js +186 -0
- package/dist/src/api/log-api.d.ts +10 -10
- package/dist/src/api/log-api.js +8 -8
- package/dist/src/api/receive-api.d.ts +15 -15
- package/dist/src/api/receive-api.js +12 -12
- package/dist/src/api/send-api.d.ts +55 -55
- package/dist/src/api/send-api.js +44 -44
- package/dist/src/api/status-api.d.ts +5 -5
- package/dist/src/api/status-api.js +4 -4
- package/dist/src/api/update-api.d.ts +10 -10
- package/dist/src/api/update-api.js +8 -8
- package/dist/src/api/webhook-api.d.ts +25 -25
- package/dist/src/api/webhook-api.js +20 -20
- package/dist/src/models/event.d.ts +2 -2
- package/dist/src/models/receive.d.ts +3 -3
- package/dist/src/models/send.d.ts +2 -2
- package/dist/src/models/update.d.ts +2 -2
- package/dist/src/models/web-hook-history.d.ts +1 -1
- package/dist/src/models/web-hook.d.ts +2 -2
- package/docs/CompanyApi.md +10 -6
- package/docs/Event.md +2 -2
- package/docs/ExportApi.md +79 -0
- package/docs/LogApi.md +2 -2
- package/docs/Receive.md +3 -3
- package/docs/ReceiveApi.md +4 -3
- package/docs/Send.md +2 -2
- package/docs/SendApi.md +11 -11
- package/docs/StatusApi.md +1 -1
- package/docs/Update.md +2 -2
- package/docs/UpdateApi.md +2 -2
- package/docs/WebHook.md +2 -2
- package/docs/WebHookHistory.md +1 -1
- package/docs/WebhookApi.md +6 -5
- package/package.json +1 -1
- package/src/api/company-api.ts +43 -34
- package/src/api/export-api.ts +211 -0
- package/src/api/log-api.ts +11 -11
- package/src/api/receive-api.ts +16 -16
- package/src/api/send-api.ts +56 -56
- package/src/api/status-api.ts +6 -6
- package/src/api/update-api.ts +11 -11
- package/src/api/webhook-api.ts +26 -26
- package/src/models/event.ts +2 -2
- package/src/models/receive.ts +3 -3
- package/src/models/send.ts +2 -2
- package/src/models/update.ts +2 -2
- package/src/models/web-hook-history.ts +1 -1
- package/src/models/web-hook.ts +2 -2
package/dist/src/api/send-api.js
CHANGED
|
@@ -38,7 +38,7 @@ const base_1 = require("../../base");
|
|
|
38
38
|
const SendApiAxiosParamCreator = function (configuration) {
|
|
39
39
|
return {
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
42
42
|
* @summary Add an invoice by file
|
|
43
43
|
* @param {File} file
|
|
44
44
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -84,7 +84,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
84
84
|
};
|
|
85
85
|
}),
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
88
88
|
* @summary List invoices
|
|
89
89
|
* @param {number} [companyId] Company id
|
|
90
90
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -189,7 +189,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
189
189
|
};
|
|
190
190
|
}),
|
|
191
191
|
/**
|
|
192
|
-
*
|
|
192
|
+
* Retrieve a send invoice by its internal id. The `id` is unique and assigned by the system when the invoice is created. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
193
193
|
* @summary Get a invoice by id
|
|
194
194
|
* @param {number} id Item id
|
|
195
195
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -226,7 +226,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
226
226
|
};
|
|
227
227
|
}),
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
230
230
|
* @summary Get a invoice by identifier
|
|
231
231
|
* @param {string} identifier
|
|
232
232
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -263,7 +263,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
263
263
|
};
|
|
264
264
|
}),
|
|
265
265
|
/**
|
|
266
|
-
* Send invoices are
|
|
266
|
+
* Add a new invoice using a FatturaPA JSON representation. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
267
267
|
* @summary Add an invoice by json
|
|
268
268
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
269
269
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -305,7 +305,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
305
305
|
};
|
|
306
306
|
}),
|
|
307
307
|
/**
|
|
308
|
-
* Send
|
|
308
|
+
* Add a new invoice using a structured Send object. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
309
309
|
* @summary Add an invoice
|
|
310
310
|
* @param {Send} send
|
|
311
311
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -347,7 +347,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
347
347
|
};
|
|
348
348
|
}),
|
|
349
349
|
/**
|
|
350
|
-
* Send invoices are
|
|
350
|
+
* Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
351
351
|
* @summary Validate an invoice file
|
|
352
352
|
* @param {File} file
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
@@ -385,7 +385,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
385
385
|
};
|
|
386
386
|
}),
|
|
387
387
|
/**
|
|
388
|
-
* Send invoices are
|
|
388
|
+
* Validate a JSON invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
389
389
|
* @summary Validate an invoice by json
|
|
390
390
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
391
391
|
* @param {*} [options] Override http request option.
|
|
@@ -419,7 +419,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
419
419
|
};
|
|
420
420
|
}),
|
|
421
421
|
/**
|
|
422
|
-
* Send invoices are
|
|
422
|
+
* Validate an invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
423
423
|
* @summary Validate an invoice
|
|
424
424
|
* @param {Send} send
|
|
425
425
|
* @param {*} [options] Override http request option.
|
|
@@ -453,7 +453,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
453
453
|
};
|
|
454
454
|
}),
|
|
455
455
|
/**
|
|
456
|
-
* Send invoices are
|
|
456
|
+
* Validate an XML invoice document without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
457
457
|
* @summary Validate an invoice by xml
|
|
458
458
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
459
459
|
* @param {*} [options] Override http request option.
|
|
@@ -487,7 +487,7 @@ const SendApiAxiosParamCreator = function (configuration) {
|
|
|
487
487
|
};
|
|
488
488
|
}),
|
|
489
489
|
/**
|
|
490
|
-
* Send invoices are
|
|
490
|
+
* Add a new invoice using a raw XML document in FatturaPA format. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
491
491
|
* @summary Add an invoice by xml
|
|
492
492
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
493
493
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -538,7 +538,7 @@ const SendApiFp = function (configuration) {
|
|
|
538
538
|
const localVarAxiosParamCreator = (0, exports.SendApiAxiosParamCreator)(configuration);
|
|
539
539
|
return {
|
|
540
540
|
/**
|
|
541
|
-
*
|
|
541
|
+
* Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
542
542
|
* @summary Add an invoice by file
|
|
543
543
|
* @param {File} file
|
|
544
544
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -556,7 +556,7 @@ const SendApiFp = function (configuration) {
|
|
|
556
556
|
});
|
|
557
557
|
},
|
|
558
558
|
/**
|
|
559
|
-
*
|
|
559
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
560
560
|
* @summary List invoices
|
|
561
561
|
* @param {number} [companyId] Company id
|
|
562
562
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -587,7 +587,7 @@ const SendApiFp = function (configuration) {
|
|
|
587
587
|
});
|
|
588
588
|
},
|
|
589
589
|
/**
|
|
590
|
-
*
|
|
590
|
+
* Retrieve a send invoice by its internal id. The `id` is unique and assigned by the system when the invoice is created. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
591
591
|
* @summary Get a invoice by id
|
|
592
592
|
* @param {number} id Item id
|
|
593
593
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -604,7 +604,7 @@ const SendApiFp = function (configuration) {
|
|
|
604
604
|
});
|
|
605
605
|
},
|
|
606
606
|
/**
|
|
607
|
-
*
|
|
607
|
+
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
608
608
|
* @summary Get a invoice by identifier
|
|
609
609
|
* @param {string} identifier
|
|
610
610
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -621,7 +621,7 @@ const SendApiFp = function (configuration) {
|
|
|
621
621
|
});
|
|
622
622
|
},
|
|
623
623
|
/**
|
|
624
|
-
* Send invoices are
|
|
624
|
+
* Add a new invoice using a FatturaPA JSON representation. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
625
625
|
* @summary Add an invoice by json
|
|
626
626
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
627
627
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -639,7 +639,7 @@ const SendApiFp = function (configuration) {
|
|
|
639
639
|
});
|
|
640
640
|
},
|
|
641
641
|
/**
|
|
642
|
-
* Send
|
|
642
|
+
* Add a new invoice using a structured Send object. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
643
643
|
* @summary Add an invoice
|
|
644
644
|
* @param {Send} send
|
|
645
645
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -657,7 +657,7 @@ const SendApiFp = function (configuration) {
|
|
|
657
657
|
});
|
|
658
658
|
},
|
|
659
659
|
/**
|
|
660
|
-
* Send invoices are
|
|
660
|
+
* Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
661
661
|
* @summary Validate an invoice file
|
|
662
662
|
* @param {File} file
|
|
663
663
|
* @param {*} [options] Override http request option.
|
|
@@ -673,7 +673,7 @@ const SendApiFp = function (configuration) {
|
|
|
673
673
|
});
|
|
674
674
|
},
|
|
675
675
|
/**
|
|
676
|
-
* Send invoices are
|
|
676
|
+
* Validate a JSON invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
677
677
|
* @summary Validate an invoice by json
|
|
678
678
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
679
679
|
* @param {*} [options] Override http request option.
|
|
@@ -689,7 +689,7 @@ const SendApiFp = function (configuration) {
|
|
|
689
689
|
});
|
|
690
690
|
},
|
|
691
691
|
/**
|
|
692
|
-
* Send invoices are
|
|
692
|
+
* Validate an invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
693
693
|
* @summary Validate an invoice
|
|
694
694
|
* @param {Send} send
|
|
695
695
|
* @param {*} [options] Override http request option.
|
|
@@ -705,7 +705,7 @@ const SendApiFp = function (configuration) {
|
|
|
705
705
|
});
|
|
706
706
|
},
|
|
707
707
|
/**
|
|
708
|
-
* Send invoices are
|
|
708
|
+
* Validate an XML invoice document without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
709
709
|
* @summary Validate an invoice by xml
|
|
710
710
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
711
711
|
* @param {*} [options] Override http request option.
|
|
@@ -721,7 +721,7 @@ const SendApiFp = function (configuration) {
|
|
|
721
721
|
});
|
|
722
722
|
},
|
|
723
723
|
/**
|
|
724
|
-
* Send invoices are
|
|
724
|
+
* Add a new invoice using a raw XML document in FatturaPA format. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
725
725
|
* @summary Add an invoice by xml
|
|
726
726
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
727
727
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -748,7 +748,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
748
748
|
const localVarFp = (0, exports.SendApiFp)(configuration);
|
|
749
749
|
return {
|
|
750
750
|
/**
|
|
751
|
-
*
|
|
751
|
+
* Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
752
752
|
* @summary Add an invoice by file
|
|
753
753
|
* @param {File} file
|
|
754
754
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -760,7 +760,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
760
760
|
return localVarFp.sendFilePost(file, validate, signature, options).then((request) => request(axios, basePath));
|
|
761
761
|
},
|
|
762
762
|
/**
|
|
763
|
-
*
|
|
763
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
764
764
|
* @summary List invoices
|
|
765
765
|
* @param {number} [companyId] Company id
|
|
766
766
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -785,7 +785,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
785
785
|
return localVarFp.sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(axios, basePath));
|
|
786
786
|
},
|
|
787
787
|
/**
|
|
788
|
-
*
|
|
788
|
+
* Retrieve a send invoice by its internal id. The `id` is unique and assigned by the system when the invoice is created. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
789
789
|
* @summary Get a invoice by id
|
|
790
790
|
* @param {number} id Item id
|
|
791
791
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -796,7 +796,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
796
796
|
return localVarFp.sendIdGet(id, includePayload, options).then((request) => request(axios, basePath));
|
|
797
797
|
},
|
|
798
798
|
/**
|
|
799
|
-
*
|
|
799
|
+
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
800
800
|
* @summary Get a invoice by identifier
|
|
801
801
|
* @param {string} identifier
|
|
802
802
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -807,7 +807,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
807
807
|
return localVarFp.sendIdentifierGet(identifier, includePayload, options).then((request) => request(axios, basePath));
|
|
808
808
|
},
|
|
809
809
|
/**
|
|
810
|
-
* Send invoices are
|
|
810
|
+
* Add a new invoice using a FatturaPA JSON representation. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
811
811
|
* @summary Add an invoice by json
|
|
812
812
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
813
813
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -819,7 +819,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
819
819
|
return localVarFp.sendJsonPost(fatturaOrdinaria, validate, signature, options).then((request) => request(axios, basePath));
|
|
820
820
|
},
|
|
821
821
|
/**
|
|
822
|
-
* Send
|
|
822
|
+
* Add a new invoice using a structured Send object. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
823
823
|
* @summary Add an invoice
|
|
824
824
|
* @param {Send} send
|
|
825
825
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -831,7 +831,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
831
831
|
return localVarFp.sendPost(send, validate, signature, options).then((request) => request(axios, basePath));
|
|
832
832
|
},
|
|
833
833
|
/**
|
|
834
|
-
* Send invoices are
|
|
834
|
+
* Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
835
835
|
* @summary Validate an invoice file
|
|
836
836
|
* @param {File} file
|
|
837
837
|
* @param {*} [options] Override http request option.
|
|
@@ -841,7 +841,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
841
841
|
return localVarFp.sendValidateFilePost(file, options).then((request) => request(axios, basePath));
|
|
842
842
|
},
|
|
843
843
|
/**
|
|
844
|
-
* Send invoices are
|
|
844
|
+
* Validate a JSON invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
845
845
|
* @summary Validate an invoice by json
|
|
846
846
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
847
847
|
* @param {*} [options] Override http request option.
|
|
@@ -851,7 +851,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
851
851
|
return localVarFp.sendValidateJsonPost(fatturaOrdinaria, options).then((request) => request(axios, basePath));
|
|
852
852
|
},
|
|
853
853
|
/**
|
|
854
|
-
* Send invoices are
|
|
854
|
+
* Validate an invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
855
855
|
* @summary Validate an invoice
|
|
856
856
|
* @param {Send} send
|
|
857
857
|
* @param {*} [options] Override http request option.
|
|
@@ -861,7 +861,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
861
861
|
return localVarFp.sendValidatePost(send, options).then((request) => request(axios, basePath));
|
|
862
862
|
},
|
|
863
863
|
/**
|
|
864
|
-
* Send invoices are
|
|
864
|
+
* Validate an XML invoice document without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
865
865
|
* @summary Validate an invoice by xml
|
|
866
866
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
867
867
|
* @param {*} [options] Override http request option.
|
|
@@ -871,7 +871,7 @@ const SendApiFactory = function (configuration, basePath, axios) {
|
|
|
871
871
|
return localVarFp.sendValidateXmlPost(fatturaOrdinaria, options).then((request) => request(axios, basePath));
|
|
872
872
|
},
|
|
873
873
|
/**
|
|
874
|
-
* Send invoices are
|
|
874
|
+
* Add a new invoice using a raw XML document in FatturaPA format. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
875
875
|
* @summary Add an invoice by xml
|
|
876
876
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
877
877
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -890,7 +890,7 @@ exports.SendApiFactory = SendApiFactory;
|
|
|
890
890
|
*/
|
|
891
891
|
class SendApi extends base_1.BaseAPI {
|
|
892
892
|
/**
|
|
893
|
-
*
|
|
893
|
+
* Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
894
894
|
* @summary Add an invoice by file
|
|
895
895
|
* @param {File} file
|
|
896
896
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -902,7 +902,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
902
902
|
return (0, exports.SendApiFp)(this.configuration).sendFilePost(file, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
903
903
|
}
|
|
904
904
|
/**
|
|
905
|
-
*
|
|
905
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
906
906
|
* @summary List invoices
|
|
907
907
|
* @param {number} [companyId] Company id
|
|
908
908
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -927,7 +927,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
927
927
|
return (0, exports.SendApiFp)(this.configuration).sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
|
|
928
928
|
}
|
|
929
929
|
/**
|
|
930
|
-
*
|
|
930
|
+
* Retrieve a send invoice by its internal id. The `id` is unique and assigned by the system when the invoice is created. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
931
931
|
* @summary Get a invoice by id
|
|
932
932
|
* @param {number} id Item id
|
|
933
933
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -938,7 +938,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
938
938
|
return (0, exports.SendApiFp)(this.configuration).sendIdGet(id, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
939
939
|
}
|
|
940
940
|
/**
|
|
941
|
-
*
|
|
941
|
+
* Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
942
942
|
* @summary Get a invoice by identifier
|
|
943
943
|
* @param {string} identifier
|
|
944
944
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -949,7 +949,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
949
949
|
return (0, exports.SendApiFp)(this.configuration).sendIdentifierGet(identifier, includePayload, options).then((request) => request(this.axios, this.basePath));
|
|
950
950
|
}
|
|
951
951
|
/**
|
|
952
|
-
* Send invoices are
|
|
952
|
+
* Add a new invoice using a FatturaPA JSON representation. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
953
953
|
* @summary Add an invoice by json
|
|
954
954
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
955
955
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -961,7 +961,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
961
961
|
return (0, exports.SendApiFp)(this.configuration).sendJsonPost(fatturaOrdinaria, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
962
962
|
}
|
|
963
963
|
/**
|
|
964
|
-
* Send
|
|
964
|
+
* Add a new invoice using a structured Send object. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
965
965
|
* @summary Add an invoice
|
|
966
966
|
* @param {Send} send
|
|
967
967
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -973,7 +973,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
973
973
|
return (0, exports.SendApiFp)(this.configuration).sendPost(send, validate, signature, options).then((request) => request(this.axios, this.basePath));
|
|
974
974
|
}
|
|
975
975
|
/**
|
|
976
|
-
* Send invoices are
|
|
976
|
+
* Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
977
977
|
* @summary Validate an invoice file
|
|
978
978
|
* @param {File} file
|
|
979
979
|
* @param {*} [options] Override http request option.
|
|
@@ -983,7 +983,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
983
983
|
return (0, exports.SendApiFp)(this.configuration).sendValidateFilePost(file, options).then((request) => request(this.axios, this.basePath));
|
|
984
984
|
}
|
|
985
985
|
/**
|
|
986
|
-
* Send invoices are
|
|
986
|
+
* Validate a JSON invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
987
987
|
* @summary Validate an invoice by json
|
|
988
988
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
989
989
|
* @param {*} [options] Override http request option.
|
|
@@ -993,7 +993,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
993
993
|
return (0, exports.SendApiFp)(this.configuration).sendValidateJsonPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
994
994
|
}
|
|
995
995
|
/**
|
|
996
|
-
* Send invoices are
|
|
996
|
+
* Validate an invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
997
997
|
* @summary Validate an invoice
|
|
998
998
|
* @param {Send} send
|
|
999
999
|
* @param {*} [options] Override http request option.
|
|
@@ -1003,7 +1003,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
1003
1003
|
return (0, exports.SendApiFp)(this.configuration).sendValidatePost(send, options).then((request) => request(this.axios, this.basePath));
|
|
1004
1004
|
}
|
|
1005
1005
|
/**
|
|
1006
|
-
* Send invoices are
|
|
1006
|
+
* Validate an XML invoice document without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
1007
1007
|
* @summary Validate an invoice by xml
|
|
1008
1008
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1009
1009
|
* @param {*} [options] Override http request option.
|
|
@@ -1013,7 +1013,7 @@ class SendApi extends base_1.BaseAPI {
|
|
|
1013
1013
|
return (0, exports.SendApiFp)(this.configuration).sendValidateXmlPost(fatturaOrdinaria, options).then((request) => request(this.axios, this.basePath));
|
|
1014
1014
|
}
|
|
1015
1015
|
/**
|
|
1016
|
-
* Send invoices are
|
|
1016
|
+
* Add a new invoice using a raw XML document in FatturaPA format. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
|
|
1017
1017
|
* @summary Add an invoice by xml
|
|
1018
1018
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
1019
1019
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -18,7 +18,7 @@ import type { Status } from '../../src/models';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const StatusApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
22
22
|
* @summary Account status
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
@@ -30,7 +30,7 @@ export declare const StatusApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const StatusApiFp: (configuration?: Configuration) => {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
34
34
|
* @summary Account status
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
@@ -42,7 +42,7 @@ export declare const StatusApiFp: (configuration?: Configuration) => {
|
|
|
42
42
|
*/
|
|
43
43
|
export declare const StatusApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
46
46
|
* @summary Account status
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
48
48
|
* @throws {RequiredError}
|
|
@@ -54,7 +54,7 @@ export declare const StatusApiFactory: (configuration?: Configuration, basePath?
|
|
|
54
54
|
*/
|
|
55
55
|
export interface StatusApiInterface {
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
58
58
|
* @summary Account status
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
@@ -66,7 +66,7 @@ export interface StatusApiInterface {
|
|
|
66
66
|
*/
|
|
67
67
|
export declare class StatusApi extends BaseAPI implements StatusApiInterface {
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
70
70
|
* @summary Account status
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
@@ -38,7 +38,7 @@ const base_1 = require("../../base");
|
|
|
38
38
|
const StatusApiAxiosParamCreator = function (configuration) {
|
|
39
39
|
return {
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
42
42
|
* @summary Account status
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
@@ -76,7 +76,7 @@ const StatusApiFp = function (configuration) {
|
|
|
76
76
|
const localVarAxiosParamCreator = (0, exports.StatusApiAxiosParamCreator)(configuration);
|
|
77
77
|
return {
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
80
80
|
* @summary Account status
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
@@ -100,7 +100,7 @@ const StatusApiFactory = function (configuration, basePath, axios) {
|
|
|
100
100
|
const localVarFp = (0, exports.StatusApiFp)(configuration);
|
|
101
101
|
return {
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
104
104
|
* @summary Account status
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
@@ -116,7 +116,7 @@ exports.StatusApiFactory = StatusApiFactory;
|
|
|
116
116
|
*/
|
|
117
117
|
class StatusApi extends base_1.BaseAPI {
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
|
|
120
120
|
* @summary Account status
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|