avvir 0.3.47 → 0.3.48
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/dist/avvir_api.node.js +9 -2
- package/dist/esm/models/api/api_floor.d.ts +2 -1
- package/dist/esm/models/api/api_floor.js +3 -1
- package/dist/esm/models/api/api_floor.js.map +1 -1
- package/dist/esm/models/api/api_scan_dataset.d.ts +6 -1
- package/dist/esm/models/api/api_scan_dataset.js +6 -1
- package/dist/esm/models/api/api_scan_dataset.js.map +1 -1
- package/package.json +1 -1
- package/source/models/api/api_floor.ts +3 -0
- package/source/models/api/api_scan_dataset.ts +8 -1
package/dist/avvir_api.node.js
CHANGED
|
@@ -2839,7 +2839,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2839
2839
|
|
|
2840
2840
|
var ApiFloor = /** @class */ (function () {
|
|
2841
2841
|
function ApiFloor(_a) {
|
|
2842
|
-
var _b = _a === void 0 ? {} : _a, id = _b.id, firebaseId = _b.firebaseId, ordinal = _b.ordinal, floorNumber = _b.floorNumber, defaultFirebaseScanDatasetId = _b.defaultFirebaseScanDatasetId, firebaseProjectId = _b.firebaseProjectId, firebaseScanDatasetIds = _b.firebaseScanDatasetIds, constructionGrid = _b.constructionGrid, plannedElementCount = _b.plannedElementCount, plannedElementsExist = _b.plannedElementsExist, scanDate = _b.scanDate, photoAreaId = _b.photoAreaId, offset = _b.offset, photoAreaMinimapPixelToBimMinimapPixel = _b.photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld = _b.bimMinimapToWorld, floorElevation = _b.floorElevation, globalOffsetYaw = _b.globalOffsetYaw;
|
|
2842
|
+
var _b = _a === void 0 ? {} : _a, id = _b.id, firebaseId = _b.firebaseId, ordinal = _b.ordinal, floorNumber = _b.floorNumber, defaultFirebaseScanDatasetId = _b.defaultFirebaseScanDatasetId, firebaseProjectId = _b.firebaseProjectId, firebaseScanDatasetIds = _b.firebaseScanDatasetIds, constructionGrid = _b.constructionGrid, plannedElementCount = _b.plannedElementCount, plannedElementsExist = _b.plannedElementsExist, scanDate = _b.scanDate, scanDateString = _b.scanDateString, photoAreaId = _b.photoAreaId, offset = _b.offset, photoAreaMinimapPixelToBimMinimapPixel = _b.photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld = _b.bimMinimapToWorld, floorElevation = _b.floorElevation, globalOffsetYaw = _b.globalOffsetYaw;
|
|
2843
2843
|
/**
|
|
2844
2844
|
* An array of external identifiers of the capture datasets associated with this area.
|
|
2845
2845
|
*/
|
|
@@ -2848,6 +2848,7 @@ var ApiFloor = /** @class */ (function () {
|
|
|
2848
2848
|
this.plannedElementCount = null;
|
|
2849
2849
|
this.plannedElementsExist = null;
|
|
2850
2850
|
this.scanDate = null;
|
|
2851
|
+
this.scanDateString = null;
|
|
2851
2852
|
this.offset = null;
|
|
2852
2853
|
this.photoAreaId = null;
|
|
2853
2854
|
this.photoAreaMinimapPixelToBimMinimapPixel = null;
|
|
@@ -2914,6 +2915,7 @@ var ApiFloor = /** @class */ (function () {
|
|
|
2914
2915
|
this.plannedElementsExist = plannedElementsExist || null;
|
|
2915
2916
|
// @ts-ignore
|
|
2916
2917
|
this.scanDate = scanDate || null;
|
|
2918
|
+
this.scanDateString = scanDateString || null;
|
|
2917
2919
|
this.photoAreaId = photoAreaId;
|
|
2918
2920
|
this.offset = offset || null;
|
|
2919
2921
|
// @ts-ignore
|
|
@@ -4132,11 +4134,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4132
4134
|
|
|
4133
4135
|
var ApiScanDataset = /** @class */ (function () {
|
|
4134
4136
|
function ApiScanDataset(_a) {
|
|
4135
|
-
var id = _a.id, firebaseId = _a.firebaseId, firebaseFloorId = _a.firebaseFloorId, scanNumber = _a.scanNumber, dataPresences = _a.dataPresences, analysisCompleted = _a.analysisCompleted, manualQcPresent = _a.manualQcPresent, notes = _a.notes, name = _a.name, coarseAlignmentMatrix = _a.coarseAlignmentMatrix, fineAlignmentMatrix = _a.fineAlignmentMatrix, scanDate = _a.scanDate, qaStarted = _a.qaStarted, qaComplete = _a.qaComplete;
|
|
4137
|
+
var id = _a.id, firebaseId = _a.firebaseId, firebaseFloorId = _a.firebaseFloorId, scanNumber = _a.scanNumber, dataPresences = _a.dataPresences, analysisCompleted = _a.analysisCompleted, manualQcPresent = _a.manualQcPresent, notes = _a.notes, name = _a.name, coarseAlignmentMatrix = _a.coarseAlignmentMatrix, fineAlignmentMatrix = _a.fineAlignmentMatrix, scanDate = _a.scanDate, scanDateString = _a.scanDateString, qaStarted = _a.qaStarted, qaComplete = _a.qaComplete;
|
|
4136
4138
|
/**
|
|
4137
4139
|
* Date that the dataset was captured.
|
|
4138
4140
|
*/
|
|
4139
4141
|
this.scanDate = null;
|
|
4142
|
+
/**
|
|
4143
|
+
* Date that the dataset was captured.
|
|
4144
|
+
*/
|
|
4145
|
+
this.scanDateString = null;
|
|
4140
4146
|
this.coarseAlignmentMatrix = null;
|
|
4141
4147
|
this.fineAlignmentMatrix = null;
|
|
4142
4148
|
this.notes = null;
|
|
@@ -4193,6 +4199,7 @@ var ApiScanDataset = /** @class */ (function () {
|
|
|
4193
4199
|
this.name = name;
|
|
4194
4200
|
// @ts-ignore
|
|
4195
4201
|
this.scanDate = scanDate;
|
|
4202
|
+
this.scanDateString = scanDateString;
|
|
4196
4203
|
this.analysisCompleted = analysisCompleted;
|
|
4197
4204
|
this.manualQcPresent = manualQcPresent;
|
|
4198
4205
|
this.qaComplete = qaComplete;
|
|
@@ -8,7 +8,7 @@ export interface ApiFloorArgument extends Partial<Modify<ApiFloor, {
|
|
|
8
8
|
}>> {
|
|
9
9
|
}
|
|
10
10
|
export declare class ApiFloor {
|
|
11
|
-
constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, globalOffsetYaw }?: ApiFloorArgument);
|
|
11
|
+
constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, globalOffsetYaw }?: ApiFloorArgument);
|
|
12
12
|
/**
|
|
13
13
|
* Internal identifier, not used in URLs.
|
|
14
14
|
*/
|
|
@@ -41,6 +41,7 @@ export declare class ApiFloor {
|
|
|
41
41
|
plannedElementCount: number | null;
|
|
42
42
|
plannedElementsExist: boolean | null;
|
|
43
43
|
scanDate: number | null;
|
|
44
|
+
scanDateString: string | null;
|
|
44
45
|
readonly offset: Vector2Like;
|
|
45
46
|
photoAreaId: number | null;
|
|
46
47
|
photoAreaMinimapPixelToBimMinimapPixel: ApiMatrix3 | null;
|
|
@@ -3,7 +3,7 @@ import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_
|
|
|
3
3
|
import { Matrix3 } from "three";
|
|
4
4
|
import Matrix3Converter from "../../converters/matrix_3_converter";
|
|
5
5
|
export class ApiFloor {
|
|
6
|
-
constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, globalOffsetYaw } = {}) {
|
|
6
|
+
constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, globalOffsetYaw } = {}) {
|
|
7
7
|
/**
|
|
8
8
|
* An array of external identifiers of the capture datasets associated with this area.
|
|
9
9
|
*/
|
|
@@ -12,6 +12,7 @@ export class ApiFloor {
|
|
|
12
12
|
this.plannedElementCount = null;
|
|
13
13
|
this.plannedElementsExist = null;
|
|
14
14
|
this.scanDate = null;
|
|
15
|
+
this.scanDateString = null;
|
|
15
16
|
this.offset = null;
|
|
16
17
|
this.photoAreaId = null;
|
|
17
18
|
this.photoAreaMinimapPixelToBimMinimapPixel = null;
|
|
@@ -78,6 +79,7 @@ export class ApiFloor {
|
|
|
78
79
|
this.plannedElementsExist = plannedElementsExist || null;
|
|
79
80
|
// @ts-ignore
|
|
80
81
|
this.scanDate = scanDate || null;
|
|
82
|
+
this.scanDateString = scanDateString || null;
|
|
81
83
|
this.photoAreaId = photoAreaId;
|
|
82
84
|
this.offset = offset || null;
|
|
83
85
|
// @ts-ignore
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_floor.js","sourceRoot":"","sources":["../../../../source/models/api/api_floor.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAI1F,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AASnE,MAAM,OAAO,QAAQ;IACnB,YAAY,EACE,EAAE,EACF,UAAU,EACV,OAAO,EACP,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,WAAW,EACX,MAAM,EACN,sCAAsC,EACtC,iBAAiB,EACjB,cAAc,EACd,eAAe,KACK,EAAE;
|
|
1
|
+
{"version":3,"file":"api_floor.js","sourceRoot":"","sources":["../../../../source/models/api/api_floor.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAI1F,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,gBAA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,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,IAAI,CAAC;QAC7B,aAAa;QACb,IAAI,CAAC,sCAAsC,GAAG,sCAAsC,IAAI,IAAI,CAAC;QAC7F,aAAa;QACb,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,IAAI,IAAI,CAAC;QACnD,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,IAAI,CAAC;QAC7C,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACzC,CAAC;CAgDF;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -5,10 +5,11 @@ export interface ApiScanDatasetArgument extends Partial<Modify<ApiScanDataset, {
|
|
|
5
5
|
coarseAlignmentMatrix?: ApiMatrix4 | Matrix4 | string | null;
|
|
6
6
|
fineAlignmentMatrix?: ApiMatrix4 | Matrix4 | string | null;
|
|
7
7
|
scanDate?: DateLike;
|
|
8
|
+
scanDateString?: string;
|
|
8
9
|
}>> {
|
|
9
10
|
}
|
|
10
11
|
export declare class ApiScanDataset {
|
|
11
|
-
constructor({ id, firebaseId, firebaseFloorId, scanNumber, dataPresences, analysisCompleted, manualQcPresent, notes, name, coarseAlignmentMatrix, fineAlignmentMatrix, scanDate, qaStarted, qaComplete }: ApiScanDatasetArgument);
|
|
12
|
+
constructor({ id, firebaseId, firebaseFloorId, scanNumber, dataPresences, analysisCompleted, manualQcPresent, notes, name, coarseAlignmentMatrix, fineAlignmentMatrix, scanDate, scanDateString, qaStarted, qaComplete }: ApiScanDatasetArgument);
|
|
12
13
|
/**
|
|
13
14
|
* Internal identifier, not used in URLs.
|
|
14
15
|
*/
|
|
@@ -29,6 +30,10 @@ export declare class ApiScanDataset {
|
|
|
29
30
|
* Date that the dataset was captured.
|
|
30
31
|
*/
|
|
31
32
|
scanDate: number | null;
|
|
33
|
+
/**
|
|
34
|
+
* Date that the dataset was captured.
|
|
35
|
+
*/
|
|
36
|
+
scanDateString: string | null;
|
|
32
37
|
analysisCompleted: number | null;
|
|
33
38
|
manualQcPresent: number | null;
|
|
34
39
|
coarseAlignmentMatrix: ApiMatrix4 | null;
|
|
@@ -3,11 +3,15 @@ import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter
|
|
|
3
3
|
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
4
4
|
import Matrix4Converter from "../../converters/matrix_4_converter";
|
|
5
5
|
export class ApiScanDataset {
|
|
6
|
-
constructor({ id, firebaseId, firebaseFloorId, scanNumber, dataPresences, analysisCompleted, manualQcPresent, notes, name, coarseAlignmentMatrix, fineAlignmentMatrix, scanDate, qaStarted, qaComplete }) {
|
|
6
|
+
constructor({ id, firebaseId, firebaseFloorId, scanNumber, dataPresences, analysisCompleted, manualQcPresent, notes, name, coarseAlignmentMatrix, fineAlignmentMatrix, scanDate, scanDateString, qaStarted, qaComplete }) {
|
|
7
7
|
/**
|
|
8
8
|
* Date that the dataset was captured.
|
|
9
9
|
*/
|
|
10
10
|
this.scanDate = null;
|
|
11
|
+
/**
|
|
12
|
+
* Date that the dataset was captured.
|
|
13
|
+
*/
|
|
14
|
+
this.scanDateString = null;
|
|
11
15
|
this.coarseAlignmentMatrix = null;
|
|
12
16
|
this.fineAlignmentMatrix = null;
|
|
13
17
|
this.notes = null;
|
|
@@ -64,6 +68,7 @@ export class ApiScanDataset {
|
|
|
64
68
|
this.name = name;
|
|
65
69
|
// @ts-ignore
|
|
66
70
|
this.scanDate = scanDate;
|
|
71
|
+
this.scanDateString = scanDateString;
|
|
67
72
|
this.analysisCompleted = analysisCompleted;
|
|
68
73
|
this.manualQcPresent = manualQcPresent;
|
|
69
74
|
this.qaComplete = qaComplete;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_scan_dataset.js","sourceRoot":"","sources":["../../../../source/models/api/api_scan_dataset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAE1F,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"api_scan_dataset.js","sourceRoot":"","sources":["../../../../source/models/api/api_scan_dataset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAE1F,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AAUnE,MAAM,OAAO,cAAc;IACzB,YAAY,EACV,EAAE,EACF,UAAU,EACV,eAAe,EACf,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,KAAK,EACL,IAAI,EACJ,qBAAqB,EACrB,mBAAmB,EACnB,QAAQ,EACR,cAAc,EACd,SAAS,EACT,UAAU,EACa;QA0EzB;;WAEG;QACH,aAAQ,GAAkB,IAAI,CAAC;QAC/B;;WAEG;QACH,mBAAc,GAAkB,IAAI,CAAC;QAIrC,0BAAqB,GAAsB,IAAI,CAAC;QAChD,wBAAmB,GAAsB,IAAI,CAAC;QAE9C,UAAK,GAAkB,IAAI,CAAC;QAC5B,SAAI,GAAkB,IAAI,CAAC;QAC3B,eAAU,GAAgB,IAAI,CAAC;QAC/B,cAAS,GAAgB,IAAI,CAAC;QA1F5B,mCAAmC,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QACtD,4BAA4B,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC,CAAC;QACpF,IAAI,wBAAwB,EAAE,sBAAsB,CAAC;QACrD,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE;YAC5B,qBAAqB,EAAE;gBACrB,GAAG;oBACD,OAAO,wBAAwB,CAAC;gBAClC,CAAC;gBACD,GAAG,CAAC,GAAG;oBACL,IAAI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BAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;CAwCF;AAED,eAAe,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -26,6 +26,7 @@ export class ApiFloor {
|
|
|
26
26
|
plannedElementCount,
|
|
27
27
|
plannedElementsExist,
|
|
28
28
|
scanDate,
|
|
29
|
+
scanDateString,
|
|
29
30
|
photoAreaId,
|
|
30
31
|
offset,
|
|
31
32
|
photoAreaMinimapPixelToBimMinimapPixel,
|
|
@@ -92,6 +93,7 @@ export class ApiFloor {
|
|
|
92
93
|
this.plannedElementsExist = plannedElementsExist || null;
|
|
93
94
|
// @ts-ignore
|
|
94
95
|
this.scanDate = scanDate || null;
|
|
96
|
+
this.scanDateString = scanDateString || null;
|
|
95
97
|
this.photoAreaId = photoAreaId;
|
|
96
98
|
this.offset = offset || null;
|
|
97
99
|
// @ts-ignore
|
|
@@ -141,6 +143,7 @@ export class ApiFloor {
|
|
|
141
143
|
plannedElementCount: number | null = null;
|
|
142
144
|
plannedElementsExist: boolean | null = null;
|
|
143
145
|
scanDate: number | null = null;
|
|
146
|
+
scanDateString: string | null = null;
|
|
144
147
|
readonly offset: Vector2Like = null;
|
|
145
148
|
photoAreaId: number | null = null;
|
|
146
149
|
photoAreaMinimapPixelToBimMinimapPixel: ApiMatrix3 | null = null;
|
|
@@ -8,7 +8,8 @@ import { DateLike, Modify } from "./type_aliases";
|
|
|
8
8
|
export interface ApiScanDatasetArgument extends Partial<Modify<ApiScanDataset, {
|
|
9
9
|
coarseAlignmentMatrix?: ApiMatrix4 | Matrix4 | string | null
|
|
10
10
|
fineAlignmentMatrix?: ApiMatrix4 | Matrix4 | string | null
|
|
11
|
-
scanDate?: DateLike
|
|
11
|
+
scanDate?: DateLike,
|
|
12
|
+
scanDateString?: string,
|
|
12
13
|
}>> {}
|
|
13
14
|
|
|
14
15
|
export class ApiScanDataset {
|
|
@@ -25,6 +26,7 @@ export class ApiScanDataset {
|
|
|
25
26
|
coarseAlignmentMatrix,
|
|
26
27
|
fineAlignmentMatrix,
|
|
27
28
|
scanDate,
|
|
29
|
+
scanDateString,
|
|
28
30
|
qaStarted,
|
|
29
31
|
qaComplete
|
|
30
32
|
}: ApiScanDatasetArgument) {
|
|
@@ -74,6 +76,7 @@ export class ApiScanDataset {
|
|
|
74
76
|
this.name = name;
|
|
75
77
|
// @ts-ignore
|
|
76
78
|
this.scanDate = scanDate;
|
|
79
|
+
this.scanDateString = scanDateString;
|
|
77
80
|
this.analysisCompleted = analysisCompleted;
|
|
78
81
|
this.manualQcPresent = manualQcPresent;
|
|
79
82
|
this.qaComplete = qaComplete;
|
|
@@ -104,6 +107,10 @@ export class ApiScanDataset {
|
|
|
104
107
|
* Date that the dataset was captured.
|
|
105
108
|
*/
|
|
106
109
|
scanDate: number | null = null;
|
|
110
|
+
/**
|
|
111
|
+
* Date that the dataset was captured.
|
|
112
|
+
*/
|
|
113
|
+
scanDateString: string | null = null;
|
|
107
114
|
|
|
108
115
|
analysisCompleted: number | null;
|
|
109
116
|
manualQcPresent: number | null;
|