bimplus-websdk 1.0.12 → 1.0.14

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": "bimplus-websdk",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "bim+ websdk",
5
5
  "types": "types/bimplus-websdk.d.ts",
6
6
  "keywords": [
@@ -237,8 +237,15 @@ declare module 'bimplus-websdk' {
237
237
  structureDepth: number;
238
238
  }
239
239
 
240
- export interface IDBCache {
241
- clear() : void;
240
+ export class PrivacyTexts {
241
+ constructor(api: Api);
242
+ get(lang: string | undefined, type: string | undefined): Promise<HTML>;
243
+ }
244
+
245
+ export interface IDBCache {
246
+ data: string;
247
+
248
+ clear(): void;
242
249
  }
243
250
 
244
251
  export class Api {
@@ -254,6 +261,9 @@ declare module 'bimplus-websdk' {
254
261
  objectFilters: ObjectFilters;
255
262
  objects: Objects;
256
263
  exportService: ExportService;
264
+ terms: PrivacyTexts;
265
+ imprints: PrivacyTexts;
266
+ dataProtection: PrivacyTexts;
257
267
 
258
268
  setAccessToken(token: AccessToken): void;
259
269
  getAccessToken(): AccessToken | null;