@scell/sdk 1.9.0 → 1.9.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scell/sdk",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "Official TypeScript SDK for Scell.io - Electronic invoicing (Factur-X) and signatures (eIDAS) API",
5
5
  "author": "Scell.io <contact@scell.io>",
6
6
  "license": "MIT",
@@ -125,4 +125,19 @@ export class FiscalResource {
125
125
  async forensicExport(options: FiscalForensicExportOptions, requestOptions?: RequestOptions): Promise<SingleResponse<Record<string, unknown>>> {
126
126
  return this.http.get<SingleResponse<Record<string, unknown>>>('/tenant/fiscal/forensic-export', options as unknown as Record<string, string | number | boolean | undefined>, requestOptions);
127
127
  }
128
+
129
+ /** Download the ISCA measures register as PDF */
130
+ async downloadMeasuresRegister(): Promise<Blob | ArrayBuffer> {
131
+ return this.http.get('tenant/fiscal/isca/measures-register/download');
132
+ }
133
+
134
+ /** Download the ISCA technical dossier as PDF */
135
+ async downloadTechnicalDossier(): Promise<Blob | ArrayBuffer> {
136
+ return this.http.get('tenant/fiscal/isca/technical-dossier/download');
137
+ }
138
+
139
+ /** Download the ISCA self-attestation as PDF */
140
+ async downloadSelfAttestation(): Promise<Blob | ArrayBuffer> {
141
+ return this.http.get('tenant/fiscal/isca/self-attestation/download');
142
+ }
128
143
  }