avvir 6.0.4 → 7.1.0
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 +458 -355
- package/dist/esm/api/file_information_api.d.ts +2 -1
- package/dist/esm/api/file_information_api.js +5 -1
- package/dist/esm/api/file_information_api.js.map +1 -1
- package/dist/esm/api/index.d.ts +2 -1
- package/dist/esm/api/index.js +2 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/photo_area_api.d.ts +1 -1
- package/dist/esm/api/photo_area_api.js.map +1 -1
- package/dist/esm/api/project_api.d.ts +2 -4
- package/dist/esm/api/project_api.js.map +1 -1
- package/dist/esm/api/scan_dataset_api.d.ts +2 -2
- package/dist/esm/api/scan_dataset_api.js.map +1 -1
- package/dist/esm/avvir_api.d.ts +3 -2
- package/dist/esm/avvir_api.js +3 -2
- package/dist/esm/avvir_api.js.map +1 -1
- package/dist/esm/converters/floor_file_deletion_mode_converter.d.ts +1 -1
- package/dist/esm/converters/floor_file_deletion_mode_converter.js +1 -1
- package/dist/esm/converters/floor_file_deletion_mode_converter.js.map +1 -1
- package/dist/esm/index.d.ts +3 -2
- package/dist/esm/models/api/api_action_payload.d.ts +2 -1
- package/dist/esm/models/api/api_action_payload.js +1 -0
- package/dist/esm/models/api/api_action_payload.js.map +1 -1
- package/dist/esm/models/api/api_argo_response.js.map +1 -1
- package/dist/esm/models/api/api_bcf_building_element.d.ts +4 -4
- package/dist/esm/models/api/api_bcf_building_element.js.map +1 -1
- package/dist/esm/models/api/api_bcf_issue.d.ts +2 -2
- package/dist/esm/models/api/api_bcf_issue.js.map +1 -1
- package/dist/esm/models/api/api_cloud_file.d.ts +5 -10
- package/dist/esm/models/api/api_cloud_file.js +1 -1
- package/dist/esm/models/api/api_cloud_file.js.map +1 -1
- package/dist/esm/models/api/api_cloud_file_location_3d.d.ts +2 -2
- package/dist/esm/models/api/api_cloud_file_location_3d.js.map +1 -1
- package/dist/esm/models/api/api_construction_grid.d.ts +3 -3
- package/dist/esm/models/api/api_construction_grid.js.map +1 -1
- package/dist/esm/models/api/api_detailed_element.d.ts +4 -3
- package/dist/esm/models/api/api_detailed_element.js +4 -3
- package/dist/esm/models/api/api_detailed_element.js.map +1 -1
- package/dist/esm/models/api/api_element_deviation.d.ts +8 -3
- package/dist/esm/models/api/api_element_deviation.js +1 -1
- package/dist/esm/models/api/api_element_deviation.js.map +1 -1
- package/dist/esm/models/api/api_floor.d.ts +6 -7
- package/dist/esm/models/api/api_floor.js +2 -6
- package/dist/esm/models/api/api_floor.js.map +1 -1
- package/dist/esm/models/api/api_grid_line.d.ts +1 -1
- package/dist/esm/models/api/api_grid_line.js.map +1 -1
- package/dist/esm/models/api/api_groups.js.map +1 -1
- package/dist/esm/models/api/api_inspect_report.d.ts +11 -4
- package/dist/esm/models/api/api_inspect_report.js +3 -1
- package/dist/esm/models/api/api_inspect_report.js.map +1 -1
- package/dist/esm/models/api/api_inspect_report_entry.d.ts +11 -5
- package/dist/esm/models/api/api_inspect_report_entry.js +5 -3
- package/dist/esm/models/api/api_inspect_report_entry.js.map +1 -1
- package/dist/esm/models/api/api_inspect_report_entry_element.d.ts +3 -8
- package/dist/esm/models/api/api_inspect_report_entry_element.js +2 -1
- package/dist/esm/models/api/api_inspect_report_entry_element.js.map +1 -1
- package/dist/esm/models/api/api_integration_credentials.d.ts +4 -4
- package/dist/esm/models/api/api_integration_credentials.js.map +1 -1
- package/dist/esm/models/api/api_integration_project.d.ts +3 -3
- package/dist/esm/models/api/api_integration_project.js.map +1 -1
- package/dist/esm/models/api/api_invitation.d.ts +1 -1
- package/dist/esm/models/api/api_masterformat_progress.d.ts +3 -2
- package/dist/esm/models/api/api_masterformat_progress.js +1 -0
- package/dist/esm/models/api/api_masterformat_progress.js.map +1 -1
- package/dist/esm/models/api/api_organization.d.ts +1 -1
- package/dist/esm/models/api/api_organization.js +0 -1
- package/dist/esm/models/api/api_organization.js.map +1 -1
- package/dist/esm/models/api/api_photo_location.d.ts +15 -15
- package/dist/esm/models/api/api_photo_location.js +4 -4
- package/dist/esm/models/api/api_photo_location.js.map +1 -1
- package/dist/esm/models/api/api_photo_location_3d.d.ts +3 -3
- package/dist/esm/models/api/api_photo_location_3d.js.map +1 -1
- package/dist/esm/models/api/api_photo_session.d.ts +3 -4
- package/dist/esm/models/api/api_photo_session.js +1 -1
- package/dist/esm/models/api/api_photo_session.js.map +1 -1
- package/dist/esm/models/api/api_pipeline.d.ts +4 -5
- package/dist/esm/models/api/api_pipeline.js +1 -1
- package/dist/esm/models/api/api_pipeline.js.map +1 -1
- package/dist/esm/models/api/api_planned_element.d.ts +3 -3
- package/dist/esm/models/api/api_planned_element.js.map +1 -1
- package/dist/esm/models/api/api_progress_category.d.ts +1 -1
- package/dist/esm/models/api/api_progress_scan_dataset.d.ts +1 -1
- package/dist/esm/models/api/api_project.d.ts +17 -17
- package/dist/esm/models/api/api_project.js +5 -14
- package/dist/esm/models/api/api_project.js.map +1 -1
- package/dist/esm/models/api/api_project_area.d.ts +1 -1
- package/dist/esm/models/api/api_project_area.js.map +1 -1
- package/dist/esm/models/api/api_project_area_work_package.js.map +1 -1
- package/dist/esm/models/api/api_project_cost_analysis_progress.d.ts +1 -1
- package/dist/esm/models/api/api_project_cost_analysis_progress.js.map +1 -1
- package/dist/esm/models/api/api_project_report.d.ts +6 -2
- package/dist/esm/models/api/api_project_report.js +2 -1
- package/dist/esm/models/api/api_project_report.js.map +1 -1
- package/dist/esm/models/api/api_project_report_version.d.ts +5 -1
- package/dist/esm/models/api/api_project_report_version.js +1 -3
- package/dist/esm/models/api/api_project_report_version.js.map +1 -1
- package/dist/esm/models/api/api_project_settings.d.ts +1 -0
- package/dist/esm/models/api/api_project_settings.js +1 -0
- package/dist/esm/models/api/api_project_settings.js.map +1 -1
- package/dist/esm/models/api/api_project_summary.d.ts +2 -2
- package/dist/esm/models/api/api_project_summary.js.map +1 -1
- package/dist/esm/models/api/api_project_work_package.d.ts +5 -1
- package/dist/esm/models/api/api_project_work_package.js +4 -0
- package/dist/esm/models/api/api_project_work_package.js.map +1 -1
- package/dist/esm/models/api/api_project_work_package_cost.d.ts +2 -8
- package/dist/esm/models/api/api_project_work_package_cost.js +1 -1
- package/dist/esm/models/api/api_project_work_package_cost.js.map +1 -1
- package/dist/esm/models/api/api_quaternion.d.ts +1 -1
- package/dist/esm/models/api/api_quaternion.js +1 -0
- package/dist/esm/models/api/api_quaternion.js.map +1 -1
- package/dist/esm/models/api/api_query_resource.d.ts +1 -0
- package/dist/esm/models/api/api_query_resource.js +1 -0
- package/dist/esm/models/api/api_query_resource.js.map +1 -1
- package/dist/esm/models/api/api_recipe.d.ts +7 -18
- package/dist/esm/models/api/api_recipe.js +3 -3
- package/dist/esm/models/api/api_recipe.js.map +1 -1
- package/dist/esm/models/api/api_running_process.d.ts +5 -6
- package/dist/esm/models/api/api_running_process.js +1 -1
- package/dist/esm/models/api/api_running_process.js.map +1 -1
- package/dist/esm/models/api/api_scan_dataset.d.ts +9 -10
- package/dist/esm/models/api/api_scan_dataset.js.map +1 -1
- package/dist/esm/models/api/api_scandataset_stats.d.ts +10 -19
- package/dist/esm/models/api/api_scandataset_stats.js +15 -14
- package/dist/esm/models/api/api_scandataset_stats.js.map +1 -1
- package/dist/esm/models/api/api_scanned_element.d.ts +4 -1
- package/dist/esm/models/api/api_scanned_element.js +3 -0
- package/dist/esm/models/api/api_scanned_element.js.map +1 -1
- package/dist/esm/models/api/api_team_member.d.ts +2 -1
- package/dist/esm/models/api/api_team_member.js +1 -0
- package/dist/esm/models/api/api_team_member.js.map +1 -1
- package/dist/esm/models/api/api_user.d.ts +1 -1
- package/dist/esm/models/api/api_user.js.map +1 -1
- package/dist/esm/models/api/api_user_action.d.ts +4 -4
- package/dist/esm/models/api/api_user_action.js.map +1 -1
- package/dist/esm/models/api/api_user_for_organization.d.ts +11 -6
- package/dist/esm/models/api/api_user_for_organization.js +4 -3
- package/dist/esm/models/api/api_user_for_organization.js.map +1 -1
- package/dist/esm/models/api/api_user_permission.d.ts +2 -2
- package/dist/esm/models/api/api_user_permission.js.map +1 -1
- package/dist/esm/models/api/api_view.d.ts +24 -18
- package/dist/esm/models/api/api_view.js +4 -7
- package/dist/esm/models/api/api_view.js.map +1 -1
- package/dist/esm/models/api/api_work_package.d.ts +3 -2
- package/dist/esm/models/api/api_work_package.js +2 -1
- package/dist/esm/models/api/api_work_package.js.map +1 -1
- package/dist/esm/models/api/deprecated_api_pipeline.d.ts +3 -0
- package/dist/esm/models/api/deprecated_api_pipeline.js +3 -0
- package/dist/esm/models/api/deprecated_api_pipeline.js.map +1 -1
- package/dist/esm/models/api/index.d.ts +62 -60
- package/dist/esm/models/api/index.js +59 -56
- package/dist/esm/models/api/index.js.map +1 -1
- package/dist/esm/models/api/trade/api_captured_trade_cost.d.ts +2 -1
- package/dist/esm/models/api/trade/api_captured_trade_cost.js +2 -1
- package/dist/esm/models/api/trade/api_captured_trade_cost.js.map +1 -1
- package/dist/esm/models/api/trade/api_planned_trade_cost.d.ts +2 -1
- package/dist/esm/models/api/trade/api_planned_trade_cost.js +2 -1
- package/dist/esm/models/api/trade/api_planned_trade_cost.js.map +1 -1
- package/dist/esm/models/api/trade/api_trade.d.ts +2 -1
- package/dist/esm/models/api/trade/api_trade.js +2 -1
- package/dist/esm/models/api/trade/api_trade.js.map +1 -1
- package/dist/esm/models/api/trade/api_trade_cost.d.ts +2 -1
- package/dist/esm/models/api/trade/api_trade_cost.js +2 -1
- package/dist/esm/models/api/trade/api_trade_cost.js.map +1 -1
- package/dist/esm/models/api/trade/index.d.ts +4 -0
- package/dist/esm/models/api/trade/index.js +5 -0
- package/dist/esm/models/api/trade/index.js.map +1 -0
- package/dist/esm/models/enums/api_floor_file_deletion_mode.d.ts +7 -0
- package/dist/esm/models/{api/ApiFloorFileDeletionMode.js → enums/api_floor_file_deletion_mode.js} +4 -1
- package/dist/esm/models/enums/api_floor_file_deletion_mode.js.map +1 -0
- package/dist/esm/models/enums/index.d.ts +9 -8
- package/dist/esm/models/enums/index.js +9 -8
- package/dist/esm/models/enums/index.js.map +1 -1
- package/package.json +1 -1
- package/source/api/file_information_api.ts +8 -5
- package/source/api/index.ts +2 -0
- package/source/api/photo_area_api.ts +11 -8
- package/source/api/project_api.ts +3 -5
- package/source/api/scan_dataset_api.ts +3 -3
- package/source/avvir_api.ts +3 -2
- package/source/converters/floor_file_deletion_mode_converter.ts +9 -7
- package/source/models/api/api_action_payload.ts +5 -3
- package/source/models/api/api_argo_response.ts +11 -1
- package/source/models/api/api_bcf_building_element.ts +4 -4
- package/source/models/api/api_bcf_issue.ts +2 -2
- package/source/models/api/api_cloud_file.ts +7 -9
- package/source/models/api/api_cloud_file_location_3d.ts +2 -2
- package/source/models/api/api_construction_grid.ts +5 -4
- package/source/models/api/api_detailed_element.ts +22 -20
- package/source/models/api/api_element_deviation.ts +15 -6
- package/source/models/api/api_floor.ts +14 -12
- package/source/models/api/api_grid_line.ts +2 -1
- package/source/models/api/api_groups.ts +10 -9
- package/source/models/api/api_inspect_report.ts +27 -16
- package/source/models/api/api_inspect_report_entry.ts +54 -30
- package/source/models/api/api_inspect_report_entry_element.ts +26 -23
- package/source/models/api/api_integration_credentials.ts +6 -4
- package/source/models/api/api_integration_project.ts +5 -3
- package/source/models/api/api_invitation.ts +1 -1
- package/source/models/api/api_masterformat_progress.ts +5 -3
- package/source/models/api/api_organization.ts +1 -1
- package/source/models/api/api_photo_location.ts +21 -19
- package/source/models/api/api_photo_location_3d.ts +10 -7
- package/source/models/api/api_photo_session.ts +5 -5
- package/source/models/api/api_pipeline.ts +9 -7
- package/source/models/api/api_planned_element.ts +4 -3
- package/source/models/api/api_progress_category.ts +2 -2
- package/source/models/api/api_progress_scan_dataset.ts +2 -2
- package/source/models/api/api_project.ts +24 -27
- package/source/models/api/api_project_area.ts +2 -1
- package/source/models/api/api_project_area_work_package.ts +12 -1
- package/source/models/api/api_project_cost_analysis_progress.ts +2 -1
- package/source/models/api/api_project_report.ts +22 -16
- package/source/models/api/api_project_report_version.ts +18 -14
- package/source/models/api/api_project_settings.ts +2 -0
- package/source/models/api/api_project_summary.ts +2 -2
- package/source/models/api/api_project_work_package.ts +18 -13
- package/source/models/api/api_project_work_package_cost.ts +15 -14
- package/source/models/api/api_quaternion.ts +2 -0
- package/source/models/api/api_query_resource.ts +2 -0
- package/source/models/api/api_recipe.ts +41 -43
- package/source/models/api/api_running_process.ts +7 -6
- package/source/models/api/api_scan_dataset.ts +11 -10
- package/source/models/api/api_scandataset_stats.ts +57 -48
- package/source/models/api/api_scanned_element.ts +7 -3
- package/source/models/api/api_team_member.ts +9 -7
- package/source/models/api/api_user.ts +15 -15
- package/source/models/api/api_user_action.ts +7 -5
- package/source/models/api/api_user_for_organization.ts +47 -26
- package/source/models/api/api_user_permission.ts +14 -13
- package/source/models/api/api_view.ts +43 -31
- package/source/models/api/api_work_package.ts +6 -3
- package/source/models/api/deprecated_api_pipeline.ts +3 -0
- package/source/models/api/index.ts +62 -120
- package/source/models/api/trade/api_captured_trade_cost.ts +3 -1
- package/source/models/api/trade/api_planned_trade_cost.ts +3 -1
- package/source/models/api/trade/api_trade.ts +3 -1
- package/source/models/api/trade/api_trade_cost.ts +3 -1
- package/source/models/api/trade/index.ts +4 -0
- package/source/models/enums/api_floor_file_deletion_mode.ts +9 -0
- package/source/models/enums/index.ts +9 -8
- package/dist/esm/models/api/ApiFloorFileDeletionMode.d.ts +0 -4
- package/dist/esm/models/api/ApiFloorFileDeletionMode.js.map +0 -1
- package/source/models/api/ApiFloorFileDeletionMode.ts +0 -4
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import {addInstantGetterAndSetterToApiModel} from "../../mixins";
|
|
1
|
+
import { addInstantGetterAndSetterToApiModel } from "../../mixins";
|
|
2
2
|
|
|
3
3
|
export class ApiGroup {
|
|
4
|
-
id: number
|
|
5
|
-
name: string
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
6
|
createdAt: number;
|
|
7
7
|
createdBy: number;
|
|
8
8
|
members: ApiGroupMember[];
|
|
9
9
|
floorId: string;
|
|
10
|
+
|
|
10
11
|
constructor({ id, name, createdAt, createdBy, members, floorId }: Partial<ApiGroup>) {
|
|
11
12
|
this.id = id;
|
|
12
13
|
this.name = name;
|
|
13
14
|
this.createdBy = createdBy;
|
|
14
15
|
this.members = members;
|
|
15
|
-
this.floorId = floorId
|
|
16
|
+
this.floorId = floorId;
|
|
16
17
|
addInstantGetterAndSetterToApiModel(this, "createdAt", createdAt);
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
export class ApiGroupMember {
|
|
22
|
-
id: number
|
|
23
|
-
groupId: number
|
|
24
|
-
memberType: string
|
|
25
|
-
elementId: string
|
|
23
|
+
id: number;
|
|
24
|
+
groupId: number;
|
|
25
|
+
memberType: string;
|
|
26
|
+
elementId: string;
|
|
26
27
|
|
|
27
28
|
constructor({ id, groupId, memberType, elementId }: Partial<ApiGroupMember>) {
|
|
28
29
|
this.id = id;
|
|
@@ -31,4 +32,4 @@ export class ApiGroupMember {
|
|
|
31
32
|
this.memberType = memberType;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
}
|
|
35
|
+
}
|
|
@@ -1,18 +1,29 @@
|
|
|
1
|
-
import {addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel} from "../../mixins";
|
|
2
|
-
import {ApiInspectReportEntry} from "./api_inspect_report_entry";
|
|
3
|
-
|
|
1
|
+
import { addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel } from "../../mixins";
|
|
2
|
+
import { ApiInspectReportEntry, ApiInspectReportEntryArgument } from "./api_inspect_report_entry";
|
|
3
|
+
|
|
4
|
+
import type ApiUser from "./api_user";
|
|
5
|
+
import { DateLike, ModifyPartial } from "type_aliases";
|
|
6
|
+
|
|
7
|
+
export type ApiInspectReportArgument = ModifyPartial<ApiInspectReport, {
|
|
8
|
+
entries: ApiInspectReportEntryArgument[]
|
|
9
|
+
createdAt: DateLike
|
|
10
|
+
createdBy: Partial<ApiUser>
|
|
11
|
+
}>
|
|
4
12
|
|
|
5
13
|
export class ApiInspectReport {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
constructor({ id, firebaseProjectId, name, entries, createdBy, createdAt }: ApiInspectReportArgument) {
|
|
15
|
+
addReadOnlyPropertiesToModel(this, { id, firebaseProjectId, createdBy });
|
|
16
|
+
this.name = name;
|
|
17
|
+
this.entries = entries?.map(entry => new ApiInspectReportEntry(entry)) || [];
|
|
18
|
+
addInstantGetterAndSetterToApiModel(this, "createdAt", createdAt);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
readonly id: number;
|
|
22
|
+
readonly firebaseProjectId: string;
|
|
23
|
+
name: string;
|
|
24
|
+
entries: ApiInspectReportEntry[];
|
|
25
|
+
createdAt?: number;
|
|
26
|
+
readonly createdBy?: ApiUser;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export default ApiInspectReport;
|
|
@@ -1,32 +1,56 @@
|
|
|
1
|
-
import {addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel} from "../../mixins";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel } from "../../mixins";
|
|
2
|
+
import ApiInspectReportEntryElement from "./api_inspect_report_entry_element";
|
|
3
|
+
|
|
4
|
+
import type ApiUser from "./api_user";
|
|
5
|
+
import type ApiCloudFile from "./api_cloud_file";
|
|
6
|
+
import type ApiView from "./api_view";
|
|
7
|
+
import type { DateLike, ModifyPartial } from "type_aliases";
|
|
8
|
+
|
|
9
|
+
export type ApiInspectReportEntryArgument = ModifyPartial<ApiInspectReportEntry, {
|
|
10
|
+
createdAt: DateLike
|
|
11
|
+
elements: Partial<ApiInspectReportEntryElement>[]
|
|
12
|
+
}>
|
|
6
13
|
|
|
7
14
|
export class ApiInspectReportEntry {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
15
|
+
constructor({
|
|
16
|
+
id,
|
|
17
|
+
reportId,
|
|
18
|
+
name,
|
|
19
|
+
view,
|
|
20
|
+
screenshot,
|
|
21
|
+
minimapFile,
|
|
22
|
+
zoomedMinimapFile,
|
|
23
|
+
elements,
|
|
24
|
+
createdBy,
|
|
25
|
+
createdAt,
|
|
26
|
+
obstructingTrades,
|
|
27
|
+
obstructedTrades
|
|
28
|
+
}: ApiInspectReportEntryArgument)
|
|
29
|
+
{
|
|
30
|
+
addReadOnlyPropertiesToModel(this, { id, reportId, createdBy });
|
|
31
|
+
addInstantGetterAndSetterToApiModel(this, "createdAt", createdAt);
|
|
32
|
+
this.name = name;
|
|
33
|
+
this.view = view;
|
|
34
|
+
this.screenshot = screenshot;
|
|
35
|
+
this.minimapFile = minimapFile;
|
|
36
|
+
this.zoomedMinimapFile = zoomedMinimapFile;
|
|
37
|
+
this.elements = elements?.map(element => new ApiInspectReportEntryElement(element)) || [];
|
|
38
|
+
this.obstructingTrades = obstructingTrades || [];
|
|
39
|
+
this.obstructedTrades = obstructedTrades || [];
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
readonly id: number;
|
|
43
|
+
readonly reportId: number;
|
|
44
|
+
name: string;
|
|
45
|
+
view: ApiView;
|
|
46
|
+
screenshot: ApiCloudFile;
|
|
47
|
+
minimapFile: ApiCloudFile;
|
|
48
|
+
zoomedMinimapFile: ApiCloudFile;
|
|
49
|
+
elements: ApiInspectReportEntryElement[];
|
|
50
|
+
obstructedTrades?: string[];
|
|
51
|
+
obstructingTrades?: string[];
|
|
52
|
+
createdAt?: number;
|
|
53
|
+
createdBy?: ApiUser;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export default ApiInspectReportEntry;
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
import {Vector3} from "three";
|
|
1
|
+
import type { Vector3 } from "three";
|
|
2
2
|
|
|
3
3
|
export class ApiInspectReportEntryElement {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
masterformatCode: string;
|
|
12
|
-
builtStatus: string;
|
|
13
|
-
deviationVectorMeters: Vector3;
|
|
14
|
-
globalId: string;
|
|
15
|
-
name: string;
|
|
4
|
+
constructor({ masterformatCode, builtStatus, deviationVectorMeters, globalId, name }: Partial<ApiInspectReportEntryElement> = {}) {
|
|
5
|
+
this.masterformatCode = masterformatCode;
|
|
6
|
+
this.builtStatus = builtStatus;
|
|
7
|
+
this.deviationVectorMeters = deviationVectorMeters;
|
|
8
|
+
this.globalId = globalId;
|
|
9
|
+
this.name = name;
|
|
10
|
+
}
|
|
16
11
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
masterformatCode: string;
|
|
13
|
+
builtStatus: string;
|
|
14
|
+
deviationVectorMeters: Vector3;
|
|
15
|
+
globalId: string;
|
|
16
|
+
name: string;
|
|
17
|
+
|
|
18
|
+
static plannedBuildingElementToApiInspectReportEntry(element, level1Masterformat): ApiInspectReportEntryElement {
|
|
19
|
+
return new ApiInspectReportEntryElement({
|
|
20
|
+
masterformatCode: level1Masterformat,
|
|
21
|
+
globalId: element.globalId,
|
|
22
|
+
deviationVectorMeters: element.deviationVectorMeters,
|
|
23
|
+
builtStatus: element.builtStatus,
|
|
24
|
+
name: element.name
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export default ApiInspectReportEntryElement;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter_and_setter_to_api_model";
|
|
2
|
-
import {DateLike, ModifyPartial} from "./type_aliases";
|
|
3
|
-
import {ApiIntegrationCredentialsType} from "../enums";
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
import type { DateLike, ModifyPartial } from "./type_aliases";
|
|
4
|
+
import type { ApiIntegrationCredentialsType } from "../enums";
|
|
5
|
+
|
|
6
|
+
export type ApiIntegrationCredentialsArgument = ModifyPartial<ApiIntegrationCredentials, {
|
|
6
7
|
createdAt?: DateLike,
|
|
7
8
|
modifiedAt?: DateLike
|
|
8
9
|
}>;
|
|
@@ -19,7 +20,8 @@ export class ApiIntegrationCredentials {
|
|
|
19
20
|
firebaseProjectId,
|
|
20
21
|
authorId,
|
|
21
22
|
encryptedCredentials
|
|
22
|
-
}:
|
|
23
|
+
}: ApiIntegrationCredentialsArgument)
|
|
24
|
+
{
|
|
23
25
|
this.id = id;
|
|
24
26
|
this.username = username;
|
|
25
27
|
this.password = password;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter_and_setter_to_api_model";
|
|
2
|
-
import {DateLike, ModifyPartial} from "./type_aliases";
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
import type { DateLike, ModifyPartial } from "./type_aliases";
|
|
4
|
+
|
|
5
|
+
export type ApiIntegrationProjectArgument = ModifyPartial<ApiIntegrationProject, {
|
|
5
6
|
createdAt?: DateLike,
|
|
6
7
|
modifiedAt?: DateLike
|
|
7
8
|
}>;
|
|
@@ -14,7 +15,8 @@ export class ApiIntegrationProject {
|
|
|
14
15
|
integrationCredentialsId,
|
|
15
16
|
externalId,
|
|
16
17
|
externalName
|
|
17
|
-
}:
|
|
18
|
+
}: ApiIntegrationProjectArgument)
|
|
19
|
+
{
|
|
18
20
|
this.id = id;
|
|
19
21
|
this.integrationCredentialsId = integrationCredentialsId;
|
|
20
22
|
this.externalId = externalId;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter_and_setter_to_api_model";
|
|
2
2
|
import ApiMasterformat from "./api_masterformat";
|
|
3
|
-
import {DateLike} from "./type_aliases";
|
|
3
|
+
import { DateLike } from "./type_aliases";
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type ApiMasterformatProgressArgument = Partial<ApiMasterformatProgress>;
|
|
6
6
|
|
|
7
7
|
export class ApiMasterformatProgress {
|
|
8
8
|
constructor({
|
|
@@ -11,7 +11,7 @@ export class ApiMasterformatProgress {
|
|
|
11
11
|
scanDate,
|
|
12
12
|
createdAt,
|
|
13
13
|
customTradeCode
|
|
14
|
-
}:
|
|
14
|
+
}: ApiMasterformatProgressArgument) {
|
|
15
15
|
addInstantGetterAndSetterToApiModel(this, "scanDate");
|
|
16
16
|
addInstantGetterAndSetterToApiModel(this, "createdAt");
|
|
17
17
|
if (masterformat) {
|
|
@@ -32,3 +32,5 @@ export class ApiMasterformatProgress {
|
|
|
32
32
|
createdAt: number | null | DateLike = null;
|
|
33
33
|
customTradeCode: string | null = null;
|
|
34
34
|
}
|
|
35
|
+
|
|
36
|
+
export default ApiMasterformatProgress;
|
|
@@ -52,7 +52,7 @@ export class ApiOrganization {
|
|
|
52
52
|
contactPhoneNumber?: string | null = null;
|
|
53
53
|
name?: string | null = null;
|
|
54
54
|
notes?: string | null = null;
|
|
55
|
-
firebaseProjectIds:
|
|
55
|
+
firebaseProjectIds: string[];
|
|
56
56
|
multivistaEmail?: string | null = null;
|
|
57
57
|
multivistaPassword?: string | null = null;
|
|
58
58
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {Matrix4Like, DateLike, ModifyPartial} from "./type_aliases";
|
|
2
|
-
import PhotoProjectionType from "../enums/photo_projection_type";
|
|
3
|
-
import ApiCloudFile from "./api_cloud_file";
|
|
4
|
-
import ApiPhotoLocation3d from "./api_photo_location_3d";
|
|
5
|
-
import {PhotoRotationType} from "../enums";
|
|
6
1
|
import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter_and_setter_to_api_model";
|
|
7
2
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
import type ApiCloudFile from "./api_cloud_file";
|
|
4
|
+
import type ApiPhotoLocation3d from "./api_photo_location_3d";
|
|
5
|
+
import type PhotoProjectionType from "../enums/photo_projection_type";
|
|
6
|
+
import type { DateLike, Matrix4Like, ModifyPartial } from "./type_aliases";
|
|
7
|
+
import type { PhotoRotationType } from "../enums";
|
|
8
|
+
|
|
9
|
+
export type ApiPhotoLocationArgument = ModifyPartial<ApiPhotoLocation, {
|
|
10
|
+
createdAt: DateLike,
|
|
11
|
+
updatedAt: DateLike,
|
|
12
|
+
originalTimestamp: DateLike
|
|
13
|
+
deletedAt: DateLike
|
|
13
14
|
}>;
|
|
14
15
|
|
|
15
16
|
export class ApiPhotoLocation {
|
|
@@ -30,11 +31,8 @@ export class ApiPhotoLocation {
|
|
|
30
31
|
updatedAt,
|
|
31
32
|
originalTimestamp,
|
|
32
33
|
deletedAt
|
|
33
|
-
}:
|
|
34
|
-
|
|
35
|
-
addInstantGetterAndSetterToApiModel(this, "updatedAt", updatedAt);
|
|
36
|
-
addInstantGetterAndSetterToApiModel(this, "originalTimestamp", originalTimestamp);
|
|
37
|
-
addInstantGetterAndSetterToApiModel(this, "deletedAt", deletedAt);
|
|
34
|
+
}: ApiPhotoLocationArgument = {})
|
|
35
|
+
{
|
|
38
36
|
this.id = id;
|
|
39
37
|
this.photoAreaId = photoAreaId;
|
|
40
38
|
this.photoSessionId = photoSessionId;
|
|
@@ -47,16 +45,16 @@ export class ApiPhotoLocation {
|
|
|
47
45
|
this.bimLocation = bimLocation;
|
|
48
46
|
this.yawOffset = yawOffset;
|
|
49
47
|
this.rotationType = rotationType;
|
|
48
|
+
addInstantGetterAndSetterToApiModel(this, "createdAt", createdAt);
|
|
49
|
+
addInstantGetterAndSetterToApiModel(this, "updatedAt", updatedAt);
|
|
50
|
+
addInstantGetterAndSetterToApiModel(this, "originalTimestamp", originalTimestamp);
|
|
51
|
+
addInstantGetterAndSetterToApiModel(this, "deletedAt", deletedAt);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
readonly id: number;
|
|
53
55
|
readonly photoAreaId: number;
|
|
54
56
|
readonly photoSessionId?: number;
|
|
55
57
|
readonly file: ApiCloudFile;
|
|
56
|
-
readonly createdAt: number;
|
|
57
|
-
readonly updatedAt?: number;
|
|
58
|
-
readonly originalTimestamp?: number;
|
|
59
|
-
readonly deletedAt?: number;
|
|
60
58
|
minimapX: number;
|
|
61
59
|
minimapY: number;
|
|
62
60
|
minimapBearing: number;
|
|
@@ -65,6 +63,10 @@ export class ApiPhotoLocation {
|
|
|
65
63
|
bimLocation: ApiPhotoLocation3d;
|
|
66
64
|
yawOffset: number = null;
|
|
67
65
|
rotationType: PhotoRotationType;
|
|
66
|
+
readonly createdAt: number;
|
|
67
|
+
readonly updatedAt?: number;
|
|
68
|
+
readonly originalTimestamp?: number;
|
|
69
|
+
readonly deletedAt?: number;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
export default ApiPhotoLocation;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {Vector3Like, Vector4Like} from "./type_aliases";
|
|
2
1
|
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
3
|
-
import {ApiQuaternion} from "./api_quaternion";
|
|
2
|
+
import { ApiQuaternion } from "./api_quaternion";
|
|
3
|
+
|
|
4
|
+
import type { Vector3Like, Vector4Like } from "./type_aliases";
|
|
4
5
|
|
|
5
6
|
export type ApiPhotoLocationProperties = {
|
|
6
7
|
id: number,
|
|
@@ -8,7 +9,7 @@ export type ApiPhotoLocationProperties = {
|
|
|
8
9
|
orientation: ApiQuaternion
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
export type
|
|
12
|
+
export type ApiPhotoLocation3dArgument = {
|
|
12
13
|
id: number,
|
|
13
14
|
position: Vector3Like,
|
|
14
15
|
orientation: Vector4Like
|
|
@@ -18,11 +19,13 @@ export class ApiPhotoLocation3d {
|
|
|
18
19
|
readonly id: number;
|
|
19
20
|
position: Vector3Like;
|
|
20
21
|
orientation: ApiQuaternion;
|
|
22
|
+
|
|
21
23
|
constructor({
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
id,
|
|
25
|
+
position,
|
|
26
|
+
orientation
|
|
27
|
+
}: ApiPhotoLocation3dArgument)
|
|
28
|
+
{
|
|
26
29
|
addReadOnlyPropertiesToModel(this, { id });
|
|
27
30
|
this.position = position;
|
|
28
31
|
this.orientation = ApiQuaternion.create(orientation);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
2
|
-
import { DateLike, ModifyPartial } from "./type_aliases";
|
|
3
1
|
import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter_and_setter_to_api_model";
|
|
2
|
+
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
3
|
+
|
|
4
|
+
import type { DateLike, ModifyPartial } from "./type_aliases";
|
|
4
5
|
|
|
5
|
-
export type
|
|
6
|
+
export type ApiPhotoSessionArgument = ModifyPartial<ApiPhotoSession, {
|
|
6
7
|
sessionDate?: DateLike,
|
|
7
8
|
deletedAt?: DateLike
|
|
8
|
-
externalId?: string
|
|
9
9
|
}>
|
|
10
10
|
|
|
11
11
|
export class ApiPhotoSession {
|
|
12
|
-
constructor({ id, photoAreaId, sessionDate, deletedAt, externalId }:
|
|
12
|
+
constructor({ id, photoAreaId, sessionDate, deletedAt, externalId }: ApiPhotoSessionArgument = {}) {
|
|
13
13
|
addReadOnlyPropertiesToModel(this, { id, photoAreaId });
|
|
14
14
|
addInstantGetterAndSetterToApiModel(this, "sessionDate", sessionDate);
|
|
15
15
|
addInstantGetterAndSetterToApiModel(this, "deletedAt", deletedAt);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { DateLike, ModifyPartial } from "./type_aliases";
|
|
2
|
-
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
3
1
|
import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter_and_setter_to_api_model";
|
|
4
|
-
import
|
|
2
|
+
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
3
|
+
|
|
4
|
+
import type { DateLike, ModifyPartial } from "./type_aliases";
|
|
5
|
+
import type { PipelineName, RunningProcessStatus } from "../enums";
|
|
5
6
|
|
|
6
|
-
export
|
|
7
|
+
export type ApiPipelineArgument = ModifyPartial<ApiPipeline, {
|
|
7
8
|
startTime?: DateLike
|
|
8
9
|
endTime?: DateLike
|
|
9
|
-
}>
|
|
10
|
+
}>
|
|
10
11
|
|
|
11
12
|
export class ApiPipeline {
|
|
12
13
|
constructor({
|
|
@@ -22,7 +23,8 @@ export class ApiPipeline {
|
|
|
22
23
|
firebaseScanDatasetId,
|
|
23
24
|
options,
|
|
24
25
|
status
|
|
25
|
-
}: ApiPipelineArgument = {})
|
|
26
|
+
}: ApiPipelineArgument = {})
|
|
27
|
+
{
|
|
26
28
|
addReadOnlyPropertiesToModel(this, { id });
|
|
27
29
|
addInstantGetterAndSetterToApiModel(this, "startTime");
|
|
28
30
|
addInstantGetterAndSetterToApiModel(this, "endTime");
|
|
@@ -58,4 +60,4 @@ export class ApiPipeline {
|
|
|
58
60
|
status: RunningProcessStatus;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
|
-
export default ApiPipeline;
|
|
63
|
+
export default ApiPipeline;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { UniformatId } from "uniformat";
|
|
2
|
-
import ApiElementDeviation from "./api_element_deviation";
|
|
3
1
|
import { addInstantGetterAndSetterToApiModel } from "../../mixins";
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
import type ApiElementDeviation from "./api_element_deviation";
|
|
4
|
+
import type { DateLike, ModifyPartial } from "type_aliases";
|
|
5
|
+
import type { UniformatId } from "uniformat";
|
|
5
6
|
|
|
6
7
|
type ApiPlannedElementArgument = ModifyPartial<ApiPlannedElement, { builtAt: DateLike, fixedAt: DateLike }>
|
|
7
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UniformatId } from "uniformat";
|
|
1
|
+
import type { UniformatId } from "uniformat";
|
|
2
2
|
|
|
3
3
|
export class ApiProgressCategory {
|
|
4
4
|
uniformatId: UniformatId;
|
|
@@ -8,4 +8,4 @@ export class ApiProgressCategory {
|
|
|
8
8
|
subCategories?: ApiProgressCategory[];
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
export default ApiProgressCategory;
|
|
11
|
+
export default ApiProgressCategory;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ApiProgressCategory from "./api_progress_category";
|
|
1
|
+
import type ApiProgressCategory from "./api_progress_category";
|
|
2
2
|
|
|
3
3
|
export class ApiProgressScanDataset {
|
|
4
4
|
id: number;
|
|
@@ -7,4 +7,4 @@ export class ApiProgressScanDataset {
|
|
|
7
7
|
progressCategories: ApiProgressCategory[];
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export default ApiProgressScanDataset;
|
|
10
|
+
export default ApiProgressScanDataset;
|
|
@@ -1,18 +1,20 @@
|
|
|
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 ApiProjectReport, { ApiProjectReportArgument } from "./api_project_report";
|
|
4
4
|
import SystemOfMeasurement, { IMPERIAL } from "../enums/system_of_measurement";
|
|
5
|
-
import { DateLike, Modify } from "./type_aliases";
|
|
6
|
-
import ApiProjectReport from "./api_project_report";
|
|
7
|
-
import {ApiTeamMember} from "./api_team_member";
|
|
8
|
-
import { ApiProjectSettings } from "./api_project_settings";
|
|
9
|
-
import {ApiMasterformatProgress} from "./api_masterformat_progress";
|
|
10
5
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
import type ApiProjectCostAnalysisProgress from "./api_project_cost_analysis_progress";
|
|
7
|
+
import type ApiTeamMember from "./api_team_member";
|
|
8
|
+
import type ApiMasterformatProgress from "./api_masterformat_progress";
|
|
9
|
+
import type ApiProjectSettings from "./api_project_settings";
|
|
10
|
+
import type { DateLike, ModifyPartial } from "./type_aliases";
|
|
11
|
+
|
|
12
|
+
export type ApiProjectArgument = ModifyPartial<ApiProject, {
|
|
13
|
+
archivedAt: DateLike
|
|
14
|
+
startDate: DateLike
|
|
15
|
+
endDate: DateLike
|
|
16
|
+
projectReports: ApiProjectReportArgument[]
|
|
17
|
+
}>
|
|
16
18
|
|
|
17
19
|
export class ApiProject {
|
|
18
20
|
constructor({
|
|
@@ -48,10 +50,11 @@ export class ApiProject {
|
|
|
48
50
|
settings,
|
|
49
51
|
baselineScheduleDate,
|
|
50
52
|
currentScheduleDate
|
|
51
|
-
}: ApiProjectArgument = {})
|
|
52
|
-
|
|
53
|
-
addInstantGetterAndSetterToApiModel(this, "
|
|
54
|
-
addInstantGetterAndSetterToApiModel(this, "
|
|
53
|
+
}: ApiProjectArgument = {})
|
|
54
|
+
{
|
|
55
|
+
addInstantGetterAndSetterToApiModel(this, "startDate", startDate);
|
|
56
|
+
addInstantGetterAndSetterToApiModel(this, "endDate", endDate);
|
|
57
|
+
addInstantGetterAndSetterToApiModel(this, "archivedAt", archivedAt);
|
|
55
58
|
|
|
56
59
|
addReadOnlyPropertiesToModel(this, { firebaseId, clientAccountId, id });
|
|
57
60
|
|
|
@@ -73,15 +76,9 @@ export class ApiProject {
|
|
|
73
76
|
this.baselineProjectMasterformatProgresses = baselineProjectMasterformatProgresses || [];
|
|
74
77
|
this.currentProjectMasterformatProgresses = currentProjectMasterformatProgresses || [];
|
|
75
78
|
this.costAnalysisProgresses = costAnalysisProgresses || [];
|
|
76
|
-
this.projectReports = projectReports || [];
|
|
79
|
+
this.projectReports = projectReports?.map(report => new ApiProjectReport(report)) || [];
|
|
77
80
|
|
|
78
81
|
this.systemOfMeasurement = systemOfMeasurement || IMPERIAL;
|
|
79
|
-
// @ts-ignore
|
|
80
|
-
this.endDate = endDate || null;
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
this.startDate = startDate || null;
|
|
83
|
-
// @ts-ignore
|
|
84
|
-
this.archivedAt = archivedAt || null;
|
|
85
82
|
this.generateMasterformatProgressEnabled = generateMasterformatProgressEnabled;
|
|
86
83
|
this.integrationProjectId = integrationProjectId;
|
|
87
84
|
this.teamMembers = teamMembers;
|
|
@@ -94,11 +91,11 @@ export class ApiProject {
|
|
|
94
91
|
readonly firebaseId: string;
|
|
95
92
|
readonly clientAccountId: string;
|
|
96
93
|
name: string;
|
|
97
|
-
scannedProjectMasterformatProgresses:
|
|
98
|
-
baselineProjectMasterformatProgresses:
|
|
99
|
-
currentProjectMasterformatProgresses:
|
|
100
|
-
costAnalysisProgresses:
|
|
101
|
-
projectReports:
|
|
94
|
+
scannedProjectMasterformatProgresses: ApiMasterformatProgress[];
|
|
95
|
+
baselineProjectMasterformatProgresses: ApiMasterformatProgress[];
|
|
96
|
+
currentProjectMasterformatProgresses: ApiMasterformatProgress[];
|
|
97
|
+
costAnalysisProgresses: ApiProjectCostAnalysisProgress[];
|
|
98
|
+
projectReports: ApiProjectReport[];
|
|
102
99
|
defaultFirebaseFloorId: string | null = null;
|
|
103
100
|
firebaseFloorIds: string[] = [];
|
|
104
101
|
addressLine1: string | null = null;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import ApiProjectAreaWorkPackage from "./api_project_area_work_package";
|
|
2
1
|
import { addReadOnlyPropertiesToModel } from "../../mixins";
|
|
3
2
|
import { ApiProjectAreaProgress } from "./api_project_summary";
|
|
4
3
|
|
|
4
|
+
import type ApiProjectAreaWorkPackage from "./api_project_area_work_package";
|
|
5
|
+
|
|
5
6
|
export class ApiProjectArea {
|
|
6
7
|
readonly id: number;
|
|
7
8
|
readonly modelElementId: number;
|
|
@@ -12,7 +12,18 @@ export class ApiProjectAreaWorkPackage {
|
|
|
12
12
|
completion: string;
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
constructor({
|
|
15
|
+
constructor({
|
|
16
|
+
id,
|
|
17
|
+
projectAreaId,
|
|
18
|
+
projectWorkPackageId,
|
|
19
|
+
workPackageId,
|
|
20
|
+
status,
|
|
21
|
+
expectedStart,
|
|
22
|
+
expectedCompletion,
|
|
23
|
+
start,
|
|
24
|
+
completion
|
|
25
|
+
}: Partial<ApiProjectAreaWorkPackage>)
|
|
26
|
+
{
|
|
16
27
|
addReadOnlyPropertiesToModel(this, { id, projectAreaId, projectWorkPackageId, workPackageId });
|
|
17
28
|
this.status = status;
|
|
18
29
|
this.expectedStart = expectedStart;
|
|
@@ -1,6 +1,7 @@
|
|
|
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
|
+
|
|
4
|
+
import type { DateLike, Modify } from "./type_aliases";
|
|
4
5
|
|
|
5
6
|
export type ApiProjectCostAnalysisProgressArgument = Partial<Modify<ApiProjectCostAnalysisProgress, {
|
|
6
7
|
analysisDate?: DateLike
|