avvir 0.3.45 → 0.3.47
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 +40 -7
- package/dist/esm/config.js +1 -1
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/models/api/api_project_cost_analysis_progress.d.ts +22 -4
- package/dist/esm/models/api/api_project_cost_analysis_progress.js +33 -4
- package/dist/esm/models/api/api_project_cost_analysis_progress.js.map +1 -1
- package/dist/esm/models/api/api_user_permission.d.ts +3 -1
- package/dist/esm/models/api/api_user_permission.js +3 -1
- package/dist/esm/models/api/api_user_permission.js.map +1 -1
- package/package.json +1 -1
- package/source/config.ts +1 -1
- package/source/models/api/api_project_cost_analysis_progress.ts +107 -58
- package/source/models/api/api_user_permission.ts +15 -1
package/dist/avvir_api.node.js
CHANGED
|
@@ -1559,10 +1559,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1559
1559
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1560
1560
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1561
1561
|
/* harmony export */ });
|
|
1562
|
-
var
|
|
1562
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2681);
|
|
1563
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
1564
|
+
|
|
1563
1565
|
var configuration = { logFetch: false };
|
|
1564
1566
|
var addEnvironmentVariablesToConfiguration = function () {
|
|
1565
|
-
|
|
1567
|
+
underscore__WEBPACK_IMPORTED_MODULE_0___default().forEach(configuration, function (value, varName) {
|
|
1566
1568
|
var envValue = process.env[varName];
|
|
1567
1569
|
if (envValue && envValue != "") {
|
|
1568
1570
|
configuration[varName] = envValue;
|
|
@@ -3567,24 +3569,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3567
3569
|
|
|
3568
3570
|
var ApiProjectCostAnalysisProgress = /** @class */ (function () {
|
|
3569
3571
|
function ApiProjectCostAnalysisProgress(_a) {
|
|
3570
|
-
var id = _a.id, masterformatCode = _a.masterformatCode, sequence = _a.sequence, name = _a.name, componentDescription = _a.componentDescription, unitOfMeasure = _a.unitOfMeasure, plannedUnitCost = _a.plannedUnitCost, plannedQuantity = _a.plannedQuantity, plannedTotalCost = _a.plannedTotalCost, modeledQuantityProject = _a.modeledQuantityProject, modeledQuantity = _a.modeledQuantity, modeledTotalCost = _a.modeledTotalCost, reportedQuantity = _a.reportedQuantity, scannedQuantityProject = _a.scannedQuantityProject, scannedQuantity = _a.scannedQuantity, scannedTotalCost = _a.scannedTotalCost, analysisDate = _a.analysisDate;
|
|
3572
|
+
var id = _a.id, masterformatCode = _a.masterformatCode, sequence = _a.sequence, name = _a.name, componentDescription = _a.componentDescription, unitOfMeasure = _a.unitOfMeasure, plannedUnitCost = _a.plannedUnitCost, plannedQuantity = _a.plannedQuantity, plannedTotalCost = _a.plannedTotalCost, modeledQuantityProject = _a.modeledQuantityProject, modeledQuantity = _a.modeledQuantity, modeledTotalCost = _a.modeledTotalCost, plannedQuantityProject = _a.plannedQuantityProject, reportedQuantity = _a.reportedQuantity, scannedQuantityProject = _a.scannedQuantityProject, scannedQuantity = _a.scannedQuantity, scannedTotalCost = _a.scannedTotalCost, analysisDate = _a.analysisDate, plannedTotalCostProject = _a.plannedTotalCostProject, modeledTotalCostProject = _a.modeledTotalCostProject, scannedTotalCostProject = _a.scannedTotalCostProject, reportedTotalCostProject = _a.reportedTotalCostProject, reportedQuantityProject = _a.reportedQuantityProject, modeledQuantityArea = _a.modeledQuantityArea, scannedQuantityArea = _a.scannedQuantityArea, modeledTotalCostArea = _a.modeledTotalCostArea, scannedTotalCostArea = _a.scannedTotalCostArea, vendor = _a.vendor;
|
|
3571
3573
|
this.id = null;
|
|
3572
3574
|
this.masterformatCode = null;
|
|
3573
3575
|
this.sequence = null;
|
|
3574
3576
|
this.name = null;
|
|
3575
3577
|
this.componentDescription = null;
|
|
3578
|
+
this.analysisDate = null;
|
|
3576
3579
|
this.unitOfMeasure = null;
|
|
3577
3580
|
this.plannedUnitCost = null;
|
|
3581
|
+
this.plannedQuantityProject = null;
|
|
3582
|
+
this.reportedQuantityProject = null;
|
|
3583
|
+
this.modeledQuantityProject = null;
|
|
3584
|
+
this.scannedQuantityProject = null;
|
|
3585
|
+
this.plannedTotalCostProject = null;
|
|
3586
|
+
this.modeledTotalCostProject = null;
|
|
3587
|
+
this.scannedTotalCostProject = null;
|
|
3588
|
+
this.reportedTotalCostProject = null;
|
|
3589
|
+
this.modeledQuantityArea = null;
|
|
3590
|
+
this.scannedQuantityArea = null;
|
|
3591
|
+
this.modeledTotalCostArea = null;
|
|
3592
|
+
this.scannedTotalCostArea = null;
|
|
3593
|
+
this.vendor = null;
|
|
3594
|
+
/** @deprecated */
|
|
3578
3595
|
this.plannedQuantity = null;
|
|
3596
|
+
/** @deprecated */
|
|
3579
3597
|
this.plannedTotalCost = null;
|
|
3580
|
-
|
|
3598
|
+
/** @deprecated */
|
|
3581
3599
|
this.modeledQuantity = null;
|
|
3600
|
+
/** @deprecated */
|
|
3582
3601
|
this.modeledTotalCost = null;
|
|
3602
|
+
/** @deprecated */
|
|
3583
3603
|
this.reportedQuantity = null;
|
|
3584
|
-
|
|
3604
|
+
/** @deprecated */
|
|
3585
3605
|
this.scannedQuantity = null;
|
|
3606
|
+
/** @deprecated */
|
|
3586
3607
|
this.scannedTotalCost = null;
|
|
3587
|
-
this.analysisDate = null;
|
|
3588
3608
|
(0,_mixins_add_read_only_properties_to_model__WEBPACK_IMPORTED_MODULE_1__["default"])(this, { id: id });
|
|
3589
3609
|
(0,_mixins_add_instant_getter_and_setter_to_api_model__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "analysisDate");
|
|
3590
3610
|
this.masterformatCode = masterformatCode;
|
|
@@ -3604,6 +3624,17 @@ var ApiProjectCostAnalysisProgress = /** @class */ (function () {
|
|
|
3604
3624
|
this.scannedTotalCost = scannedTotalCost;
|
|
3605
3625
|
// @ts-ignore
|
|
3606
3626
|
this.analysisDate = analysisDate;
|
|
3627
|
+
this.plannedQuantityProject = plannedQuantityProject;
|
|
3628
|
+
this.plannedTotalCostProject = plannedTotalCostProject;
|
|
3629
|
+
this.modeledTotalCostProject = modeledTotalCostProject;
|
|
3630
|
+
this.scannedTotalCostProject = scannedTotalCostProject;
|
|
3631
|
+
this.reportedTotalCostProject = reportedTotalCostProject;
|
|
3632
|
+
this.reportedQuantityProject = reportedQuantityProject;
|
|
3633
|
+
this.modeledQuantityArea = modeledQuantityArea;
|
|
3634
|
+
this.scannedQuantityArea = scannedQuantityArea;
|
|
3635
|
+
this.modeledTotalCostArea = modeledTotalCostArea;
|
|
3636
|
+
this.scannedTotalCostArea = scannedTotalCostArea;
|
|
3637
|
+
this.vendor = vendor;
|
|
3607
3638
|
}
|
|
3608
3639
|
return ApiProjectCostAnalysisProgress;
|
|
3609
3640
|
}());
|
|
@@ -4356,7 +4387,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4356
4387
|
/* harmony export */ });
|
|
4357
4388
|
var ApiUserPermission = /** @class */ (function () {
|
|
4358
4389
|
function ApiUserPermission(_a) {
|
|
4359
|
-
var id = _a.id, userId = _a.userId, projectFirebaseId = _a.projectFirebaseId, organizationFirebaseId = _a.organizationFirebaseId, masterformatCode = _a.masterformatCode, permissionType = _a.permissionType, permissionAction = _a.permissionAction;
|
|
4390
|
+
var id = _a.id, userId = _a.userId, projectFirebaseId = _a.projectFirebaseId, organizationFirebaseId = _a.organizationFirebaseId, masterformatCode = _a.masterformatCode, permissionType = _a.permissionType, permissionAction = _a.permissionAction, organizationName = _a.organizationName, projectName = _a.projectName;
|
|
4360
4391
|
this.id = id;
|
|
4361
4392
|
this.userId = userId;
|
|
4362
4393
|
this.projectFirebaseId = projectFirebaseId;
|
|
@@ -4364,6 +4395,8 @@ var ApiUserPermission = /** @class */ (function () {
|
|
|
4364
4395
|
this.masterformatCode = masterformatCode;
|
|
4365
4396
|
this.permissionType = permissionType;
|
|
4366
4397
|
this.permissionAction = permissionAction;
|
|
4398
|
+
this.organizationName = organizationName;
|
|
4399
|
+
this.projectName = projectName;
|
|
4367
4400
|
}
|
|
4368
4401
|
return ApiUserPermission;
|
|
4369
4402
|
}());
|
package/dist/esm/config.js
CHANGED
package/dist/esm/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../source/config.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../source/config.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,YAAY,CAAC;AAE3B,IAAI,aAAa,GAAyB,EAAC,QAAQ,EAAE,KAAK,EAAC,CAAC;AAE5D,MAAM,sCAAsC,GAAG,GAAG,EAAE;IAClD,CAAC,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QAC1C,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACtC,IAAI,QAAQ,IAAI,QAAQ,IAAI,EAAE,EAAE;YAC9B,aAAa,CAAC,OAAO,CAAC,GAAG,QAAQ,CAAC;SACnC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAA;AAED,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC9B,aAAa,GAAG;QACd,iBAAiB,EAAE,yBAAyB;QAC5C,iBAAiB,EAAE,IAAI;KACxB,CAAA;IACD,sCAAsC,EAAE,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,0BAA0B,GAAG,GAAG,EAAE;IACtC,aAAa,GAAG;QACd,iBAAiB,EAAE,iCAAiC;QACpD,iBAAiB,EAAE,YAAY;KAChC,CAAA;IACD,sCAAsC,EAAE,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,0BAA0B,G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B;IAC1B,0BAA0B;IAC1B,kBAAkB;IAClB,+BAA+B;IAC/B,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,8BAA8B;IAC9B,uCAAuC;CACxC,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -3,23 +3,41 @@ export declare type ApiProjectCostAnalysisProgressArgument = Partial<Modify<ApiP
|
|
|
3
3
|
analysisDate?: DateLike;
|
|
4
4
|
}>>;
|
|
5
5
|
export declare class ApiProjectCostAnalysisProgress {
|
|
6
|
-
constructor({ id, masterformatCode, sequence, name, componentDescription, unitOfMeasure, plannedUnitCost, plannedQuantity, plannedTotalCost, modeledQuantityProject, modeledQuantity, modeledTotalCost, reportedQuantity, scannedQuantityProject, scannedQuantity, scannedTotalCost, analysisDate }: ApiProjectCostAnalysisProgressArgument);
|
|
6
|
+
constructor({ id, masterformatCode, sequence, name, componentDescription, unitOfMeasure, plannedUnitCost, plannedQuantity, plannedTotalCost, modeledQuantityProject, modeledQuantity, modeledTotalCost, plannedQuantityProject, reportedQuantity, scannedQuantityProject, scannedQuantity, scannedTotalCost, analysisDate, plannedTotalCostProject, modeledTotalCostProject, scannedTotalCostProject, reportedTotalCostProject, reportedQuantityProject, modeledQuantityArea, scannedQuantityArea, modeledTotalCostArea, scannedTotalCostArea, vendor }: ApiProjectCostAnalysisProgressArgument);
|
|
7
7
|
id: number | null;
|
|
8
8
|
masterformatCode: string | null;
|
|
9
9
|
sequence: string | null;
|
|
10
10
|
name: string | null;
|
|
11
11
|
componentDescription: string | null;
|
|
12
|
+
analysisDate: number | null;
|
|
12
13
|
unitOfMeasure: string | null;
|
|
13
14
|
plannedUnitCost: number | null;
|
|
15
|
+
plannedQuantityProject: number | null;
|
|
16
|
+
reportedQuantityProject: number | null;
|
|
17
|
+
modeledQuantityProject: number | null;
|
|
18
|
+
scannedQuantityProject: number | null;
|
|
19
|
+
plannedTotalCostProject: number | null;
|
|
20
|
+
modeledTotalCostProject: number | null;
|
|
21
|
+
scannedTotalCostProject: number | null;
|
|
22
|
+
reportedTotalCostProject: number | null;
|
|
23
|
+
modeledQuantityArea: number | null;
|
|
24
|
+
scannedQuantityArea: number | null;
|
|
25
|
+
modeledTotalCostArea: number | null;
|
|
26
|
+
scannedTotalCostArea: number | null;
|
|
27
|
+
vendor: string | null;
|
|
28
|
+
/** @deprecated */
|
|
14
29
|
plannedQuantity: number | null;
|
|
30
|
+
/** @deprecated */
|
|
15
31
|
plannedTotalCost: number | null;
|
|
16
|
-
|
|
32
|
+
/** @deprecated */
|
|
17
33
|
modeledQuantity: number | null;
|
|
34
|
+
/** @deprecated */
|
|
18
35
|
modeledTotalCost: number | null;
|
|
36
|
+
/** @deprecated */
|
|
19
37
|
reportedQuantity: number | null;
|
|
20
|
-
|
|
38
|
+
/** @deprecated */
|
|
21
39
|
scannedQuantity: number | null;
|
|
40
|
+
/** @deprecated */
|
|
22
41
|
scannedTotalCost: number | null;
|
|
23
|
-
analysisDate: number | null;
|
|
24
42
|
}
|
|
25
43
|
export default ApiProjectCostAnalysisProgress;
|
|
@@ -1,24 +1,42 @@
|
|
|
1
1
|
import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter_and_setter_to_api_model";
|
|
2
2
|
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
3
3
|
export class ApiProjectCostAnalysisProgress {
|
|
4
|
-
constructor({ id, masterformatCode, sequence, name, componentDescription, unitOfMeasure, plannedUnitCost, plannedQuantity, plannedTotalCost, modeledQuantityProject, modeledQuantity, modeledTotalCost, reportedQuantity, scannedQuantityProject, scannedQuantity, scannedTotalCost, analysisDate }) {
|
|
4
|
+
constructor({ id, masterformatCode, sequence, name, componentDescription, unitOfMeasure, plannedUnitCost, plannedQuantity, plannedTotalCost, modeledQuantityProject, modeledQuantity, modeledTotalCost, plannedQuantityProject, reportedQuantity, scannedQuantityProject, scannedQuantity, scannedTotalCost, analysisDate, plannedTotalCostProject, modeledTotalCostProject, scannedTotalCostProject, reportedTotalCostProject, reportedQuantityProject, modeledQuantityArea, scannedQuantityArea, modeledTotalCostArea, scannedTotalCostArea, vendor }) {
|
|
5
5
|
this.id = null;
|
|
6
6
|
this.masterformatCode = null;
|
|
7
7
|
this.sequence = null;
|
|
8
8
|
this.name = null;
|
|
9
9
|
this.componentDescription = null;
|
|
10
|
+
this.analysisDate = null;
|
|
10
11
|
this.unitOfMeasure = null;
|
|
11
12
|
this.plannedUnitCost = null;
|
|
13
|
+
this.plannedQuantityProject = null;
|
|
14
|
+
this.reportedQuantityProject = null;
|
|
15
|
+
this.modeledQuantityProject = null;
|
|
16
|
+
this.scannedQuantityProject = null;
|
|
17
|
+
this.plannedTotalCostProject = null;
|
|
18
|
+
this.modeledTotalCostProject = null;
|
|
19
|
+
this.scannedTotalCostProject = null;
|
|
20
|
+
this.reportedTotalCostProject = null;
|
|
21
|
+
this.modeledQuantityArea = null;
|
|
22
|
+
this.scannedQuantityArea = null;
|
|
23
|
+
this.modeledTotalCostArea = null;
|
|
24
|
+
this.scannedTotalCostArea = null;
|
|
25
|
+
this.vendor = null;
|
|
26
|
+
/** @deprecated */
|
|
12
27
|
this.plannedQuantity = null;
|
|
28
|
+
/** @deprecated */
|
|
13
29
|
this.plannedTotalCost = null;
|
|
14
|
-
|
|
30
|
+
/** @deprecated */
|
|
15
31
|
this.modeledQuantity = null;
|
|
32
|
+
/** @deprecated */
|
|
16
33
|
this.modeledTotalCost = null;
|
|
34
|
+
/** @deprecated */
|
|
17
35
|
this.reportedQuantity = null;
|
|
18
|
-
|
|
36
|
+
/** @deprecated */
|
|
19
37
|
this.scannedQuantity = null;
|
|
38
|
+
/** @deprecated */
|
|
20
39
|
this.scannedTotalCost = null;
|
|
21
|
-
this.analysisDate = null;
|
|
22
40
|
addReadOnlyPropertiesToModel(this, { id });
|
|
23
41
|
addInstantGetterAndSetterToApiModel(this, "analysisDate");
|
|
24
42
|
this.masterformatCode = masterformatCode;
|
|
@@ -38,6 +56,17 @@ export class ApiProjectCostAnalysisProgress {
|
|
|
38
56
|
this.scannedTotalCost = scannedTotalCost;
|
|
39
57
|
// @ts-ignore
|
|
40
58
|
this.analysisDate = analysisDate;
|
|
59
|
+
this.plannedQuantityProject = plannedQuantityProject;
|
|
60
|
+
this.plannedTotalCostProject = plannedTotalCostProject;
|
|
61
|
+
this.modeledTotalCostProject = modeledTotalCostProject;
|
|
62
|
+
this.scannedTotalCostProject = scannedTotalCostProject;
|
|
63
|
+
this.reportedTotalCostProject = reportedTotalCostProject;
|
|
64
|
+
this.reportedQuantityProject = reportedQuantityProject;
|
|
65
|
+
this.modeledQuantityArea = modeledQuantityArea;
|
|
66
|
+
this.scannedQuantityArea = scannedQuantityArea;
|
|
67
|
+
this.modeledTotalCostArea = modeledTotalCostArea;
|
|
68
|
+
this.scannedTotalCostArea = scannedTotalCostArea;
|
|
69
|
+
this.vendor = vendor;
|
|
41
70
|
}
|
|
42
71
|
}
|
|
43
72
|
export default ApiProjectCostAnalysisProgress;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_project_cost_analysis_progress.js","sourceRoot":"","sources":["../../../../source/models/api/api_project_cost_analysis_progress.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAO1F,MAAM,OAAO,8BAA8B;
|
|
1
|
+
{"version":3,"file":"api_project_cost_analysis_progress.js","sourceRoot":"","sources":["../../../../source/models/api/api_project_cost_analysis_progress.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAO1F,MAAM,OAAO,8BAA8B;IACvC,YAAY,EACI,EAAE,EACF,gBAAgB,EAChB,QAAQ,EACR,IAAI,EACJ,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,sBAAs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AAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QAEjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;CA4CJ;AAED,eAAe,8BAA8B,CAAC"}
|
|
@@ -8,6 +8,8 @@ export declare class ApiUserPermission {
|
|
|
8
8
|
masterformatCode: string;
|
|
9
9
|
permissionType: UserPermissionType;
|
|
10
10
|
permissionAction: UserPermissionAction;
|
|
11
|
-
|
|
11
|
+
organizationName: string;
|
|
12
|
+
projectName: string;
|
|
13
|
+
constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction, organizationName, projectName, }: Partial<ApiUserPermission>);
|
|
12
14
|
}
|
|
13
15
|
export default ApiUserPermission;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class ApiUserPermission {
|
|
2
|
-
constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction }) {
|
|
2
|
+
constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction, organizationName, projectName, }) {
|
|
3
3
|
this.id = id;
|
|
4
4
|
this.userId = userId;
|
|
5
5
|
this.projectFirebaseId = projectFirebaseId;
|
|
@@ -7,6 +7,8 @@ export class ApiUserPermission {
|
|
|
7
7
|
this.masterformatCode = masterformatCode;
|
|
8
8
|
this.permissionType = permissionType;
|
|
9
9
|
this.permissionAction = permissionAction;
|
|
10
|
+
this.organizationName = organizationName;
|
|
11
|
+
this.projectName = projectName;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
12
14
|
export default ApiUserPermission;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_user_permission.js","sourceRoot":"","sources":["../../../../source/models/api/api_user_permission.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,iBAAiB;
|
|
1
|
+
{"version":3,"file":"api_user_permission.js","sourceRoot":"","sources":["../../../../source/models/api/api_user_permission.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,iBAAiB;IAW5B,YAAY,EACE,EAAE,EACF,MAAM,EACN,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,GACI;QAC3B,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;CACF;AAED,eAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
package/source/config.ts
CHANGED
|
@@ -1,69 +1,118 @@
|
|
|
1
1
|
import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter_and_setter_to_api_model";
|
|
2
2
|
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
3
|
-
import {
|
|
3
|
+
import {DateLike, Modify} from "./type_aliases";
|
|
4
4
|
|
|
5
5
|
export type ApiProjectCostAnalysisProgressArgument = Partial<Modify<ApiProjectCostAnalysisProgress, {
|
|
6
|
-
|
|
6
|
+
analysisDate?: DateLike
|
|
7
7
|
}>>
|
|
8
8
|
|
|
9
9
|
export class ApiProjectCostAnalysisProgress {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
10
|
+
constructor({
|
|
11
|
+
id,
|
|
12
|
+
masterformatCode,
|
|
13
|
+
sequence,
|
|
14
|
+
name,
|
|
15
|
+
componentDescription,
|
|
16
|
+
unitOfMeasure,
|
|
17
|
+
plannedUnitCost,
|
|
18
|
+
plannedQuantity,
|
|
19
|
+
plannedTotalCost,
|
|
20
|
+
modeledQuantityProject,
|
|
21
|
+
modeledQuantity,
|
|
22
|
+
modeledTotalCost,
|
|
23
|
+
plannedQuantityProject,
|
|
24
|
+
reportedQuantity,
|
|
25
|
+
scannedQuantityProject,
|
|
26
|
+
scannedQuantity,
|
|
27
|
+
scannedTotalCost,
|
|
28
|
+
analysisDate,
|
|
29
|
+
plannedTotalCostProject,
|
|
30
|
+
modeledTotalCostProject,
|
|
31
|
+
scannedTotalCostProject,
|
|
32
|
+
reportedTotalCostProject,
|
|
33
|
+
reportedQuantityProject,
|
|
34
|
+
modeledQuantityArea,
|
|
35
|
+
scannedQuantityArea,
|
|
36
|
+
modeledTotalCostArea,
|
|
37
|
+
scannedTotalCostArea,
|
|
38
|
+
vendor
|
|
39
|
+
}: ApiProjectCostAnalysisProgressArgument) {
|
|
40
|
+
addReadOnlyPropertiesToModel(this, {id});
|
|
41
|
+
addInstantGetterAndSetterToApiModel(this, "analysisDate");
|
|
42
|
+
this.masterformatCode = masterformatCode;
|
|
43
|
+
this.sequence = sequence;
|
|
44
|
+
this.name = name;
|
|
45
|
+
this.componentDescription = componentDescription;
|
|
46
|
+
this.unitOfMeasure = unitOfMeasure;
|
|
47
|
+
this.plannedUnitCost = plannedUnitCost;
|
|
48
|
+
this.plannedQuantity = plannedQuantity;
|
|
49
|
+
this.plannedTotalCost = plannedTotalCost;
|
|
50
|
+
this.modeledQuantityProject = modeledQuantityProject;
|
|
51
|
+
this.modeledQuantity = modeledQuantity;
|
|
52
|
+
this.modeledTotalCost = modeledTotalCost;
|
|
53
|
+
this.reportedQuantity = reportedQuantity;
|
|
54
|
+
this.scannedQuantityProject = scannedQuantityProject;
|
|
55
|
+
this.scannedQuantity = scannedQuantity;
|
|
56
|
+
this.scannedTotalCost = scannedTotalCost;
|
|
57
|
+
// @ts-ignore
|
|
58
|
+
this.analysisDate = analysisDate;
|
|
49
59
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
this.plannedQuantityProject = plannedQuantityProject;
|
|
61
|
+
this.plannedTotalCostProject = plannedTotalCostProject;
|
|
62
|
+
this.modeledTotalCostProject = modeledTotalCostProject;
|
|
63
|
+
this.scannedTotalCostProject = scannedTotalCostProject;
|
|
64
|
+
this.reportedTotalCostProject = reportedTotalCostProject;
|
|
65
|
+
this.reportedQuantityProject = reportedQuantityProject;
|
|
66
|
+
this.modeledQuantityArea = modeledQuantityArea;
|
|
67
|
+
this.scannedQuantityArea = scannedQuantityArea;
|
|
68
|
+
this.modeledTotalCostArea = modeledTotalCostArea;
|
|
69
|
+
this.scannedTotalCostArea = scannedTotalCostArea;
|
|
70
|
+
|
|
71
|
+
this.vendor = vendor;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
id: number | null = null;
|
|
75
|
+
masterformatCode: string | null = null;
|
|
76
|
+
sequence: string | null = null;
|
|
77
|
+
name: string | null = null;
|
|
78
|
+
componentDescription: string | null = null;
|
|
79
|
+
analysisDate: number | null = null;
|
|
80
|
+
|
|
81
|
+
unitOfMeasure: string | null = null;
|
|
82
|
+
plannedUnitCost: number | null = null;
|
|
83
|
+
|
|
84
|
+
plannedQuantityProject: number | null = null;
|
|
85
|
+
reportedQuantityProject: number | null = null;
|
|
86
|
+
modeledQuantityProject: number | null = null;
|
|
87
|
+
scannedQuantityProject: number | null = null;
|
|
88
|
+
|
|
89
|
+
plannedTotalCostProject: number | null = null;
|
|
90
|
+
modeledTotalCostProject: number | null = null;
|
|
91
|
+
scannedTotalCostProject: number | null = null;
|
|
92
|
+
reportedTotalCostProject: number | null = null;
|
|
93
|
+
|
|
94
|
+
modeledQuantityArea: number | null = null;
|
|
95
|
+
scannedQuantityArea: number | null = null;
|
|
96
|
+
|
|
97
|
+
modeledTotalCostArea: number | null = null;
|
|
98
|
+
scannedTotalCostArea: number | null = null;
|
|
99
|
+
|
|
100
|
+
vendor: string | null = null;
|
|
101
|
+
|
|
102
|
+
/** @deprecated */
|
|
103
|
+
plannedQuantity: number | null = null;
|
|
104
|
+
/** @deprecated */
|
|
105
|
+
plannedTotalCost: number | null = null;
|
|
106
|
+
/** @deprecated */
|
|
107
|
+
modeledQuantity: number | null = null;
|
|
108
|
+
/** @deprecated */
|
|
109
|
+
modeledTotalCost: number | null = null;
|
|
110
|
+
/** @deprecated */
|
|
111
|
+
reportedQuantity: number | null = null;
|
|
112
|
+
/** @deprecated */
|
|
113
|
+
scannedQuantity: number | null = null;
|
|
114
|
+
/** @deprecated */
|
|
115
|
+
scannedTotalCost: number | null = null;
|
|
67
116
|
}
|
|
68
117
|
|
|
69
118
|
export default ApiProjectCostAnalysisProgress;
|
|
@@ -9,8 +9,20 @@ export class ApiUserPermission {
|
|
|
9
9
|
masterformatCode: string
|
|
10
10
|
permissionType: UserPermissionType
|
|
11
11
|
permissionAction: UserPermissionAction
|
|
12
|
+
organizationName: string
|
|
13
|
+
projectName: string
|
|
12
14
|
|
|
13
|
-
constructor({
|
|
15
|
+
constructor({
|
|
16
|
+
id,
|
|
17
|
+
userId,
|
|
18
|
+
projectFirebaseId,
|
|
19
|
+
organizationFirebaseId,
|
|
20
|
+
masterformatCode,
|
|
21
|
+
permissionType,
|
|
22
|
+
permissionAction,
|
|
23
|
+
organizationName,
|
|
24
|
+
projectName,
|
|
25
|
+
}: Partial<ApiUserPermission>) {
|
|
14
26
|
this.id = id;
|
|
15
27
|
this.userId = userId;
|
|
16
28
|
this.projectFirebaseId = projectFirebaseId;
|
|
@@ -18,6 +30,8 @@ export class ApiUserPermission {
|
|
|
18
30
|
this.masterformatCode = masterformatCode;
|
|
19
31
|
this.permissionType = permissionType;
|
|
20
32
|
this.permissionAction = permissionAction;
|
|
33
|
+
this.organizationName = organizationName;
|
|
34
|
+
this.projectName = projectName;
|
|
21
35
|
}
|
|
22
36
|
}
|
|
23
37
|
|