avvir 0.3.19 → 0.3.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.
@@ -3572,23 +3572,23 @@ var ApiProjectSummary = /** @class */ (function () {
3572
3572
 
3573
3573
  var ApiProjectArea = /** @class */ (function () {
3574
3574
  function ApiProjectArea(_a) {
3575
- var id = _a.id, modelElementId = _a.modelElementId, name = _a.name, progress = _a.progress;
3575
+ var id = _a.id, modelElementId = _a.modelElementId, name = _a.name, progress = _a.progress, floorId = _a.floorId, firebaseFloorId = _a.firebaseFloorId;
3576
3576
  this.id = id;
3577
3577
  this.modelElementId = modelElementId;
3578
3578
  this.name = name;
3579
3579
  this.progress = progress;
3580
+ this.floorId = floorId;
3581
+ this.firebaseFloorId = firebaseFloorId;
3580
3582
  }
3581
3583
  return ApiProjectArea;
3582
3584
  }());
3583
3585
 
3584
3586
  var ApiProjectAreaProgress = /** @class */ (function () {
3585
3587
  function ApiProjectAreaProgress(_a) {
3586
- var id = _a.id, name = _a.name, status = _a.status, floorId = _a.floorId, firebaseFloorId = _a.firebaseFloorId;
3588
+ var id = _a.id, name = _a.name, status = _a.status;
3587
3589
  this.id = id;
3588
3590
  this.name = name;
3589
3591
  this.status = status;
3590
- this.floorId = floorId;
3591
- this.firebaseFloorId = firebaseFloorId;
3592
3592
  }
3593
3593
  return ApiProjectAreaProgress;
3594
3594
  }());
@@ -6,16 +6,16 @@ export declare class ApiProjectSummary {
6
6
  export declare class ApiProjectArea {
7
7
  readonly id: number;
8
8
  readonly modelElementId: number;
9
+ readonly floorId?: number;
10
+ readonly firebaseFloorId?: string;
9
11
  name: string;
10
12
  progress: ApiProjectAreaProgress[];
11
- constructor({ id, modelElementId, name, progress }: Partial<ApiProjectArea>);
13
+ constructor({ id, modelElementId, name, progress, floorId, firebaseFloorId }: Partial<ApiProjectArea>);
12
14
  }
13
15
  export declare class ApiProjectAreaProgress {
14
16
  id: number;
15
17
  name: string;
16
18
  status: string;
17
- readonly floorId?: number;
18
- readonly firebaseFloorId?: string;
19
- constructor({ id, name, status, floorId, firebaseFloorId }: Partial<ApiProjectAreaProgress>);
19
+ constructor({ id, name, status }: Partial<ApiProjectAreaProgress>);
20
20
  }
21
21
  export default ApiProjectSummary;
@@ -1,20 +1,20 @@
1
1
  export class ApiProjectSummary {
2
2
  }
3
3
  export class ApiProjectArea {
4
- constructor({ id, modelElementId, name, progress }) {
4
+ constructor({ id, modelElementId, name, progress, floorId, firebaseFloorId }) {
5
5
  this.id = id;
6
6
  this.modelElementId = modelElementId;
7
7
  this.name = name;
8
8
  this.progress = progress;
9
+ this.floorId = floorId;
10
+ this.firebaseFloorId = firebaseFloorId;
9
11
  }
10
12
  }
11
13
  export class ApiProjectAreaProgress {
12
- constructor({ id, name, status, floorId, firebaseFloorId }) {
14
+ constructor({ id, name, status }) {
13
15
  this.id = id;
14
16
  this.name = name;
15
17
  this.status = status;
16
- this.floorId = floorId;
17
- this.firebaseFloorId = firebaseFloorId;
18
18
  }
19
19
  }
20
20
  export default ApiProjectSummary;
@@ -1 +1 @@
1
- {"version":3,"file":"api_project_summary.js","sourceRoot":"","sources":["../../../../source/models/api/api_project_summary.ts"],"names":[],"mappings":"AACA,MAAM,OAAO,iBAAiB;CAG7B;AAGD,MAAM,OAAO,cAAc;IAMvB,YAAY,EAAC,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAA2B;QACtE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;CACJ;AAED,MAAM,OAAO,sBAAsB;IAO/B,YAAY,EAAC,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAmC;QACtF,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IAC3C,CAAC;CACJ;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"api_project_summary.js","sourceRoot":"","sources":["../../../../source/models/api/api_project_summary.ts"],"names":[],"mappings":"AACA,MAAM,OAAO,iBAAiB;CAG7B;AAGD,MAAM,OAAO,cAAc;IAQvB,YAAY,EAAC,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAA2B;QAChG,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IAC3C,CAAC;CACJ;AAED,MAAM,OAAO,sBAAsB;IAM/B,YAAY,EAAC,EAAE,EAAE,IAAI,EAAE,MAAM,EAAmC;QAC5D,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACxB,CAAC;CACJ;AAED,eAAe,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "avvir",
3
3
  "repository": "git@github.com:Avvir/avvir-javascript-client.git",
4
- "version": "0.3.19",
4
+ "version": "0.3.20",
5
5
  "description": "Javascript client for Avvir APIs",
6
6
  "license": "Apache-2.0",
7
7
  "module": "dist/esm/index.js",
@@ -8,14 +8,18 @@ export class ApiProjectSummary {
8
8
  export class ApiProjectArea {
9
9
  readonly id: number
10
10
  readonly modelElementId: number
11
+ readonly floorId?: number
12
+ readonly firebaseFloorId?: string
11
13
  name: string
12
14
  progress: ApiProjectAreaProgress[]
13
15
 
14
- constructor({id, modelElementId, name, progress} : Partial<ApiProjectArea>) {
16
+ constructor({id, modelElementId, name, progress, floorId, firebaseFloorId} : Partial<ApiProjectArea>) {
15
17
  this.id = id;
16
18
  this.modelElementId = modelElementId;
17
19
  this.name = name;
18
20
  this.progress = progress;
21
+ this.floorId = floorId;
22
+ this.firebaseFloorId = firebaseFloorId;
19
23
  }
20
24
  }
21
25
 
@@ -23,15 +27,12 @@ export class ApiProjectAreaProgress {
23
27
  id: number
24
28
  name: string
25
29
  status: string
26
- readonly floorId?: number
27
- readonly firebaseFloorId?: string
28
30
 
29
- constructor({id, name, status, floorId, firebaseFloorId} : Partial<ApiProjectAreaProgress>) {
31
+
32
+ constructor({id, name, status} : Partial<ApiProjectAreaProgress>) {
30
33
  this.id = id;
31
34
  this.name = name;
32
35
  this.status = status
33
- this.floorId = floorId;
34
- this.firebaseFloorId = firebaseFloorId;
35
36
  }
36
37
  }
37
38