@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/README.md +16 -1
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/resources/fiscal.ts +15 -0
package/package.json
CHANGED
package/src/resources/fiscal.ts
CHANGED
|
@@ -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
|
}
|