bimplus-websdk 1.0.19 → 1.0.20

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.19",
3
+ "version": "1.0.20",
4
4
  "description": "bim+ websdk",
5
5
  "types": "types/bimplus-websdk.d.ts",
6
6
  "keywords": [
@@ -1,5 +1,6 @@
1
1
  declare module 'bimplus-websdk' {
2
2
 
3
+ export type HTML = string;
3
4
  export type Guid = string;
4
5
  export type ProjectId = Guid;
5
6
  export type ModelId = Guid;
@@ -111,7 +112,7 @@ declare module 'bimplus-websdk' {
111
112
 
112
113
  export class Connexis {
113
114
  constructor(api: Api);
114
- post(data: Sds2ConnexisData /* | IdeaStaticaConnexisData */);
115
+ post(data: Sds2ConnexisData /* | IdeaStaticaConnexisData */) : Promise<void>;
115
116
  }
116
117
 
117
118
  export interface ObjectFilter {
@@ -133,7 +134,7 @@ declare module 'bimplus-websdk' {
133
134
  get(layerId: Guid | undefined, projectId: Guid | undefined): Promise<ObjectFiltersResponse>
134
135
  getSelectionFilteredObjects(selectionId: Guid, filterId: Guid, properties: boolean | undefined, topology: boolean | undefined): Promise<ObjectFilterStructureResponse>
135
136
  post(data: string, projectId: string): Promise<ObjectFilter>;
136
- delete(id: string);
137
+ delete(id: string) : void;
137
138
  }
138
139
 
139
140
  export interface ObjectsTopologyNode { }
@@ -239,7 +240,7 @@ declare module 'bimplus-websdk' {
239
240
 
240
241
  export class PrivacyTexts {
241
242
  constructor(api: Api);
242
- get(lang: string | undefined, type: string | undefined): Promise<HTMLElement>;
243
+ get(lang: string | undefined, type: string | undefined): Promise<HTML>;
243
244
  }
244
245
 
245
246
  export interface IDBCache {