avvir 8.8.1 → 8.8.3

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.
Files changed (28) hide show
  1. package/dist/avvir_api.node.js +152 -3
  2. package/dist/esm/api/integrations_api.d.ts +6 -0
  3. package/dist/esm/api/integrations_api.js +51 -0
  4. package/dist/esm/api/integrations_api.js.map +1 -1
  5. package/dist/esm/models/api/api_detailed_element.js.map +1 -1
  6. package/dist/esm/models/api/api_floor.d.ts +4 -1
  7. package/dist/esm/models/api/api_floor.js +24 -2
  8. package/dist/esm/models/api/api_floor.js.map +1 -1
  9. package/dist/esm/models/api/api_planned_element.d.ts +2 -1
  10. package/dist/esm/models/api/api_planned_element.js +3 -2
  11. package/dist/esm/models/api/api_planned_element.js.map +1 -1
  12. package/dist/esm/models/api/integrations/procore/Location.d.ts +6 -0
  13. package/dist/esm/models/api/integrations/procore/Location.js +8 -0
  14. package/dist/esm/models/api/integrations/procore/Location.js.map +1 -0
  15. package/dist/esm/models/api/integrations/procore/Trade.d.ts +6 -0
  16. package/dist/esm/models/api/integrations/procore/Trade.js +8 -0
  17. package/dist/esm/models/api/integrations/procore/Trade.js.map +1 -0
  18. package/dist/esm/models/api/integrations/procore/api_coordination_issue_request.d.ts +12 -0
  19. package/dist/esm/models/api/integrations/procore/api_coordination_issue_request.js +14 -0
  20. package/dist/esm/models/api/integrations/procore/api_coordination_issue_request.js.map +1 -0
  21. package/package.json +1 -1
  22. package/source/api/integrations_api.ts +68 -0
  23. package/source/models/api/api_detailed_element.ts +6 -6
  24. package/source/models/api/api_floor.ts +25 -1
  25. package/source/models/api/api_planned_element.ts +6 -3
  26. package/source/models/api/integrations/procore/Location.ts +15 -0
  27. package/source/models/api/integrations/procore/Trade.ts +15 -0
  28. package/source/models/api/integrations/procore/api_coordination_issue_request.ts +33 -0
@@ -900,6 +900,57 @@ var IntegrationsApi = /** @class */ (function () {
900
900
  body: formData
901
901
  });
902
902
  };
903
+ IntegrationsApi.CreateProcoreCoordinationIssueWithAttachments = function (procoreAccessToken, companyId, projectId, coordinationIssueRequest, ids, imageBlob, user) {
904
+ var _a;
905
+ if (!procoreAccessToken) {
906
+ return Promise.reject(new Error("Procore access token not found"));
907
+ }
908
+ if (!projectId) {
909
+ return Promise.reject(new Error("project id not found"));
910
+ }
911
+ if (!companyId) {
912
+ return Promise.reject(new Error("company id not found"));
913
+ }
914
+ if (!imageBlob) {
915
+ return Promise.reject(new Error("Invalid imageBlob"));
916
+ }
917
+ if (!coordinationIssueRequest || ((_a = coordinationIssueRequest === null || coordinationIssueRequest === void 0 ? void 0 : coordinationIssueRequest.title) === null || _a === void 0 ? void 0 : _a.length) === 0) {
918
+ return Promise.reject(new Error("Invalid coordinationIssueRequest or Missing title"));
919
+ }
920
+ var url = _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].baseUrl() + "/integrations/procore/" + companyId + "/" + projectId + "/create-coordination-issue-with-attachments?procore-access-token=" + procoreAccessToken;
921
+ var formData = new FormData();
922
+ formData.append("coordinationIssueRequest", JSON.stringify(coordinationIssueRequest));
923
+ formData.append("associationIds", JSON.stringify(ids));
924
+ formData.append("attachments", imageBlob, "image.png");
925
+ return _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].fetch(url, {
926
+ method: "POST",
927
+ headers: __assign({}, (0,_utilities_get_authorization_headers__WEBPACK_IMPORTED_MODULE_2__["default"])(user)),
928
+ body: formData
929
+ });
930
+ };
931
+ IntegrationsApi.getProcoreTradesForCoordinateIssue = function (procoreAccessToken, companyId, user) {
932
+ if (!procoreAccessToken) {
933
+ return Promise.reject(new Error("Procore access token not found"));
934
+ }
935
+ if (!companyId) {
936
+ return Promise.reject(new Error("company id not found"));
937
+ }
938
+ var url = _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].baseUrl() + "/integrations/procore/" + companyId + "/trades?procore-access-token=" + procoreAccessToken;
939
+ return _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].get(url, user);
940
+ };
941
+ IntegrationsApi.getProcoreLocationsForCoordinateIssue = function (procoreAccessToken, companyId, projectId, user) {
942
+ if (!procoreAccessToken) {
943
+ return Promise.reject(new Error("Procore access token not found"));
944
+ }
945
+ if (!projectId) {
946
+ return Promise.reject(new Error("project id not found"));
947
+ }
948
+ if (!companyId) {
949
+ return Promise.reject(new Error("company id not found"));
950
+ }
951
+ var url = _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].baseUrl() + "/integrations/procore/" + companyId + "/" + projectId + "/locations?procore-access-token=" + procoreAccessToken;
952
+ return _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].get(url, user);
953
+ };
903
954
  IntegrationsApi.CreateProcoreRfi = function (procoreAccessToken, companyId, projectId, rfiRequest, ids, imageBlob, user) {
904
955
  if (!procoreAccessToken) {
905
956
  return Promise.reject(new Error("Procore access token not found"));
@@ -4006,7 +4057,7 @@ __webpack_require__.r(__webpack_exports__);
4006
4057
 
4007
4058
  var ApiFloor = /** @class */ (function () {
4008
4059
  function ApiFloor(_a) {
4009
- 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, floorPlanOffset = _b.floorPlanOffset, globalOffsetYaw = _b.globalOffsetYaw, isLocked = _b.isLocked;
4060
+ 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, floorPlanOffset = _b.floorPlanOffset, areaLocationInFloorPlan = _b.areaLocationInFloorPlan, globalOffsetYaw = _b.globalOffsetYaw, isLocked = _b.isLocked;
4010
4061
  this.constructionGrid = null;
4011
4062
  this.plannedElementCount = null;
4012
4063
  this.plannedElementsExist = null;
@@ -4020,7 +4071,7 @@ var ApiFloor = /** @class */ (function () {
4020
4071
  this.bimMinimapToWorld = null;
4021
4072
  (0,_mixins_add_read_only_properties_to_model__WEBPACK_IMPORTED_MODULE_3__["default"])(this, { id: id, firebaseId: firebaseId, firebaseProjectId: firebaseProjectId });
4022
4073
  (0,_mixins_add_instant_getter_and_setter_to_api_model__WEBPACK_IMPORTED_MODULE_1__["default"])(this, "scanDate", scanDate);
4023
- var offsetVal, photoMinimapToBimMinimapTransformVal, bimMinimapToWorldTransformVal;
4074
+ var offsetVal, photoMinimapToBimMinimapTransformVal, bimMinimapToWorldTransformVal, areaLocationInFloorPlanVal;
4024
4075
  Object.defineProperties(this, {
4025
4076
  offset: {
4026
4077
  get: function () {
@@ -4069,6 +4120,27 @@ var ApiFloor = /** @class */ (function () {
4069
4120
  }
4070
4121
  },
4071
4122
  enumerable: true
4123
+ },
4124
+ areaLocationInFloorPlan: {
4125
+ get: function () {
4126
+ return areaLocationInFloorPlanVal;
4127
+ },
4128
+ set: function (val) {
4129
+ if (val && Array.isArray(val)) {
4130
+ if (val.length) {
4131
+ areaLocationInFloorPlanVal = val.map(function (point) {
4132
+ return { x: point.x, y: point.y };
4133
+ });
4134
+ }
4135
+ else {
4136
+ areaLocationInFloorPlanVal = [];
4137
+ }
4138
+ }
4139
+ else {
4140
+ areaLocationInFloorPlanVal = null;
4141
+ }
4142
+ },
4143
+ enumerable: true
4072
4144
  }
4073
4145
  });
4074
4146
  this.ordinal = ordinal;
@@ -4089,6 +4161,7 @@ var ApiFloor = /** @class */ (function () {
4089
4161
  this.bimMinimapToWorld = bimMinimapToWorld || null;
4090
4162
  this.floorElevation = floorElevation || null;
4091
4163
  this.floorPlanOffset = floorPlanOffset || 0;
4164
+ this.areaLocationInFloorPlan = areaLocationInFloorPlan;
4092
4165
  this.globalOffsetYaw = globalOffsetYaw;
4093
4166
  this.isLocked = isLocked;
4094
4167
  }
@@ -4734,7 +4807,8 @@ __webpack_require__.r(__webpack_exports__);
4734
4807
 
4735
4808
  var ApiPlannedElement = /** @class */ (function () {
4736
4809
  function ApiPlannedElement(_a) {
4737
- var _b = _a === void 0 ? {} : _a, globalId = _b.globalId, name = _b.name, ifcType = _b.ifcType, uniformat = _b.uniformat, masterformat = _b.masterformat, revitCategory = _b.revitCategory, revitFamily = _b.revitFamily, revitType = _b.revitType, itemId = _b.itemId, discipline = _b.discipline, primaryUnitOfMeasurement = _b.primaryUnitOfMeasurement, primaryMeasurement = _b.primaryMeasurement, unitCost = _b.unitCost, navisworksGuid = _b.navisworksGuid, issueId = _b.issueId, excludeFromAnalysis = _b.excludeFromAnalysis, builtAt = _b.builtAt, deviation = _b.deviation, fixedAt = _b.fixedAt, fixedDeviation = _b.fixedDeviation, duplicateOf = _b.duplicateOf, reviztoId = _b.reviztoId, reviztoIfcGuid = _b.reviztoIfcGuid, verified = _b.verified, exportedToBcf = _b.exportedToBcf, partialProgressPercent = _b.partialProgressPercent, trade = _b.trade;
4810
+ var _b = _a === void 0 ? {} : _a, id = _b.id, globalId = _b.globalId, name = _b.name, ifcType = _b.ifcType, uniformat = _b.uniformat, masterformat = _b.masterformat, revitCategory = _b.revitCategory, revitFamily = _b.revitFamily, revitType = _b.revitType, itemId = _b.itemId, discipline = _b.discipline, primaryUnitOfMeasurement = _b.primaryUnitOfMeasurement, primaryMeasurement = _b.primaryMeasurement, unitCost = _b.unitCost, navisworksGuid = _b.navisworksGuid, issueId = _b.issueId, excludeFromAnalysis = _b.excludeFromAnalysis, builtAt = _b.builtAt, deviation = _b.deviation, fixedAt = _b.fixedAt, fixedDeviation = _b.fixedDeviation, duplicateOf = _b.duplicateOf, reviztoId = _b.reviztoId, reviztoIfcGuid = _b.reviztoIfcGuid, verified = _b.verified, exportedToBcf = _b.exportedToBcf, partialProgressPercent = _b.partialProgressPercent, trade = _b.trade;
4811
+ (0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addReadOnlyPropertiesToModel)(this, { id: id });
4738
4812
  (0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addInstantGetterAndSetterToApiModel)(this, "builtAt", builtAt);
4739
4813
  (0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addInstantGetterAndSetterToApiModel)(this, "fixedAt", fixedAt);
4740
4814
  this.globalId = globalId;
@@ -6805,6 +6879,78 @@ var EmbedTokenResponse = /** @class */ (function () {
6805
6879
 
6806
6880
 
6807
6881
 
6882
+ /***/ }),
6883
+
6884
+ /***/ 3291:
6885
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6886
+
6887
+ "use strict";
6888
+ __webpack_require__.r(__webpack_exports__);
6889
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6890
+ /* harmony export */ "Location": () => (/* binding */ Location)
6891
+ /* harmony export */ });
6892
+ var Location = /** @class */ (function () {
6893
+ function Location(_a) {
6894
+ var _b = _a === void 0 ? {} : _a, id = _b.id, node_name = _b.node_name, parent_id = _b.parent_id;
6895
+ this.id = id;
6896
+ this.node_name = node_name;
6897
+ this.parent_id = parent_id;
6898
+ }
6899
+ return Location;
6900
+ }());
6901
+
6902
+
6903
+
6904
+ /***/ }),
6905
+
6906
+ /***/ 3678:
6907
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6908
+
6909
+ "use strict";
6910
+ __webpack_require__.r(__webpack_exports__);
6911
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6912
+ /* harmony export */ "Trade": () => (/* binding */ Trade)
6913
+ /* harmony export */ });
6914
+ var Trade = /** @class */ (function () {
6915
+ function Trade(_a) {
6916
+ var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, active = _b.active;
6917
+ this.id = id;
6918
+ this.name = name;
6919
+ this.active = active;
6920
+ }
6921
+ return Trade;
6922
+ }());
6923
+
6924
+
6925
+
6926
+ /***/ }),
6927
+
6928
+ /***/ 5288:
6929
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6930
+
6931
+ "use strict";
6932
+ __webpack_require__.r(__webpack_exports__);
6933
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6934
+ /* harmony export */ "ApiCoordinationIssueRequest": () => (/* binding */ ApiCoordinationIssueRequest)
6935
+ /* harmony export */ });
6936
+ var ApiCoordinationIssueRequest = /** @class */ (function () {
6937
+ function ApiCoordinationIssueRequest(_a) {
6938
+ var _b = _a === void 0 ? {} : _a, title = _b.title, description = _b.description, status = _b.status, priority = _b.priority, due_date = _b.due_date, assignee_id = _b.assignee_id, trade_id = _b.trade_id, location_id = _b.location_id, issue_type = _b.issue_type;
6939
+ this.title = title;
6940
+ this.description = description;
6941
+ this.status = status;
6942
+ this.priority = priority;
6943
+ this.due_date = due_date;
6944
+ this.assignee_id = assignee_id;
6945
+ this.trade_id = trade_id;
6946
+ this.location_id = location_id;
6947
+ this.issue_type = issue_type;
6948
+ }
6949
+ return ApiCoordinationIssueRequest;
6950
+ }());
6951
+
6952
+
6953
+
6808
6954
  /***/ }),
6809
6955
 
6810
6956
  /***/ 7:
@@ -9201,6 +9347,9 @@ var map = {
9201
9347
  "./models/api/integrations/jira/RequestFieldValues.ts": 2530,
9202
9348
  "./models/api/integrations/powerbi/api_access_token.ts": 4506,
9203
9349
  "./models/api/integrations/powerbi/api_embed_token_response.ts": 4029,
9350
+ "./models/api/integrations/procore/Location.ts": 3291,
9351
+ "./models/api/integrations/procore/Trade.ts": 3678,
9352
+ "./models/api/integrations/procore/api_coordination_issue_request.ts": 5288,
9204
9353
  "./models/api/integrations/procore/api_observation_request.ts": 7,
9205
9354
  "./models/api/integrations/procore/api_rfi_request.ts": 8097,
9206
9355
  "./models/api/integrations/revizto/api_access_token.ts": 3772,
@@ -17,6 +17,9 @@ import { JiraIssueRequestModel } from "../models/api/integrations/jira/JiraIssue
17
17
  import { FieldsConfiguration } from "../models/api/integrations/jira/FieldsConfiguration";
18
18
  import { PowerBIAccessTokenResponse } from "../models/api/integrations/powerbi/api_access_token";
19
19
  import { EmbedTokenResponse } from "../models/api/integrations/powerbi/api_embed_token_response";
20
+ import { ApiCoordinationIssueRequest } from "../models/api/integrations/procore/api_coordination_issue_request";
21
+ import { Trade } from "../models/api/integrations/procore/Trade";
22
+ import { Location } from "../models/api/integrations/procore/Location";
20
23
  export default class IntegrationsApi {
21
24
  static getIntegrationCredentials({ organizationId, projectId }: AssociationIds, credentialType: ApiIntegrationCredentialsType, user: User): Promise<ApiIntegrationCredentials>;
22
25
  static getIntegrationProjectsForCredentials({ organizationId, projectId }: AssociationIds, credentialType: ApiIntegrationCredentialsType, user: User): Promise<ApiIntegrationProject[]>;
@@ -50,6 +53,9 @@ export default class IntegrationsApi {
50
53
  id: string | number;
51
54
  }[]>;
52
55
  static CreateProcoreObservation(procoreAccessToken: string, companyId: string, projectId: string, observationRequest: ApiObservationRequest, ids: IntegrationAssociationIds, imageBlob: Blob, user: User): Promise<number>;
56
+ static CreateProcoreCoordinationIssueWithAttachments(procoreAccessToken: string, companyId: string, projectId: string, coordinationIssueRequest: ApiCoordinationIssueRequest, ids: IntegrationAssociationIds, imageBlob: Blob, user: User): Promise<number>;
57
+ static getProcoreTradesForCoordinateIssue(procoreAccessToken: string, companyId: string, user: User): Promise<Trade[]>;
58
+ static getProcoreLocationsForCoordinateIssue(procoreAccessToken: string, companyId: string, projectId: string, user: User): Promise<Location[]>;
53
59
  static CreateProcoreRfi(procoreAccessToken: string, companyId: string, projectId: string, rfiRequest: ApiRfiRequest, ids: IntegrationAssociationIds, imageBlob: Blob, user: User): Promise<number>;
54
60
  static getAutodeskAccessToken(code: string, redirectUri: string, user: User): Promise<ApiAutodeskAccessToken>;
55
61
  static getAutodeskHubs(access_token: string, user: User): Promise<ApiHubs>;
@@ -115,6 +115,57 @@ export default class IntegrationsApi {
115
115
  body: formData
116
116
  });
117
117
  }
118
+ static CreateProcoreCoordinationIssueWithAttachments(procoreAccessToken, companyId, projectId, coordinationIssueRequest, ids, imageBlob, user) {
119
+ var _a;
120
+ if (!procoreAccessToken) {
121
+ return Promise.reject(new Error("Procore access token not found"));
122
+ }
123
+ if (!projectId) {
124
+ return Promise.reject(new Error("project id not found"));
125
+ }
126
+ if (!companyId) {
127
+ return Promise.reject(new Error("company id not found"));
128
+ }
129
+ if (!imageBlob) {
130
+ return Promise.reject(new Error("Invalid imageBlob"));
131
+ }
132
+ if (!coordinationIssueRequest || ((_a = coordinationIssueRequest === null || coordinationIssueRequest === void 0 ? void 0 : coordinationIssueRequest.title) === null || _a === void 0 ? void 0 : _a.length) === 0) {
133
+ return Promise.reject(new Error("Invalid coordinationIssueRequest or Missing title"));
134
+ }
135
+ const url = `${Http.baseUrl()}/integrations/procore/${companyId}/${projectId}/create-coordination-issue-with-attachments?procore-access-token=${procoreAccessToken}`;
136
+ const formData = new FormData();
137
+ formData.append("coordinationIssueRequest", JSON.stringify(coordinationIssueRequest));
138
+ formData.append("associationIds", JSON.stringify(ids));
139
+ formData.append("attachments", imageBlob, "image.png");
140
+ return Http.fetch(url, {
141
+ method: "POST",
142
+ headers: Object.assign({}, getAuthorizationHeaders(user)),
143
+ body: formData
144
+ });
145
+ }
146
+ static getProcoreTradesForCoordinateIssue(procoreAccessToken, companyId, user) {
147
+ if (!procoreAccessToken) {
148
+ return Promise.reject(new Error("Procore access token not found"));
149
+ }
150
+ if (!companyId) {
151
+ return Promise.reject(new Error("company id not found"));
152
+ }
153
+ const url = `${Http.baseUrl()}/integrations/procore/${companyId}/trades?procore-access-token=${procoreAccessToken}`;
154
+ return Http.get(url, user);
155
+ }
156
+ static getProcoreLocationsForCoordinateIssue(procoreAccessToken, companyId, projectId, user) {
157
+ if (!procoreAccessToken) {
158
+ return Promise.reject(new Error("Procore access token not found"));
159
+ }
160
+ if (!projectId) {
161
+ return Promise.reject(new Error("project id not found"));
162
+ }
163
+ if (!companyId) {
164
+ return Promise.reject(new Error("company id not found"));
165
+ }
166
+ const url = `${Http.baseUrl()}/integrations/procore/${companyId}/${projectId}/locations?procore-access-token=${procoreAccessToken}`;
167
+ return Http.get(url, user);
168
+ }
118
169
  static CreateProcoreRfi(procoreAccessToken, companyId, projectId, rfiRequest, ids, imageBlob, user) {
119
170
  if (!procoreAccessToken) {
120
171
  return Promise.reject(new Error("Procore access token not found"));
@@ -1 +1 @@
1
- {"version":3,"file":"integrations_api.js","sourceRoot":"","sources":["../../../source/api/integrations_api.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAgB/D,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAQ7E,OAAO,EAAC,gBAAgB,EAAC,MAAM,kDAAkD,CAAC;AAOlF,MAAM,CAAC,OAAO,OAAO,eAAe;IAEhC,MAAM,CAAC,yBAAyB,CAAC,EACI,cAAc,EACd,SAAS,EACI,EACjB,cAA6C,EAC7C,IAAU;QACvC,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,+BAA+B,cAAc,aAAa,SAAS,gBAAgB,cAAc,EAAE,CAAC;QACjI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAkD,CAAC;IAChF,CAAC;IAED,MAAM,CAA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AAM,CAAC,2BAA2B,CAAC,qBAA4C,EAC9C,IAAU;QACvC,IAAI,qBAAqB,EAAE;YACvB,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,kCAAkC,CAAC;YAChE,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;YACrE,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,gBAAgB,CAAoC,CAAC;SACpF;IACL,CAAC;IAED,MAAM,CAAC,0BAA0B,CAAC,IAAU;QACxC,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,kCAAkC,CAAC;QAChE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAA4C,CAAC;IAC1E,CAAC;CACJ;AAED,gBAAgB,CAAC,eAAe,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"api_detailed_element.js","sourceRoot":"","sources":["../../../../source/models/api/api_detailed_element.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,yBAAyB,CAAC;AAC1D,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAC,mCAAmC,EAAC,MAAM,cAAc,CAAC;AACjE,OAAO,EAA2B,qBAAqB,EAAC,MAAM,uBAAuB,CAAC;AAKtF,yFAAyF;AACzF,MAAM,OAAO,kBAAkE,SAAQ,iBAAiB;IACtG,YAAY,kBAAsD,EAAE;QAClE,KAAK,CAAC,eAAe,CAAC,CAAC;QACvB,mCAAmC,CAAC,IAAI,EAAE,SAAS,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;QAC9E,mCAAmC,CAAC,IAAI,EAAE,SAAS,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;QAC9E,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC;QAE7C,IAAI,qBAAqB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YAC1C,IAAI,CAAC,UAA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e,CAAC,cAAc,CAAC,CAAE,CAAC;SACtF;QAED,IAAI,eAAe,CAAC,eAAe,EAAE;YACnC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;SACxD;IACH,CAAC;CAOF;AAED,eAAe,kBAAkB,CAAC"}
@@ -5,9 +5,10 @@ export declare type ApiFloorArgument = ModifyPartial<ApiFloor, {
5
5
  scanDate?: DateLike;
6
6
  photoAreaMinimapPixelToBimMinimapPixel?: Matrix3Like;
7
7
  bimMinimapToWorld?: Matrix3Like;
8
+ areaLocationInFloorPlan?: Vector2Like[];
8
9
  }>;
9
10
  export declare class ApiFloor {
10
- constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, floorPlanOffset, globalOffsetYaw, isLocked }?: ApiFloorArgument);
11
+ constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, floorPlanOffset, areaLocationInFloorPlan, globalOffsetYaw, isLocked }?: ApiFloorArgument);
11
12
  /** Internal identifier, not used in URLs. */
12
13
  readonly id: number;
13
14
  /** External identifier, suitable for use in URLs. */
@@ -36,6 +37,8 @@ export declare class ApiFloor {
36
37
  floorElevation: number | null;
37
38
  /** The vertical offset of the floor plan from the {@link floorElevation}, useful for adjusting the height of the floor plan to make it more visible */
38
39
  floorPlanOffset: number;
40
+ /** The coordinates on the floor plan that define the boundaries of the area. Stored as normalized coordinates */
41
+ areaLocationInFloorPlan: Vector2Like[];
39
42
  globalOffsetYaw: number | null;
40
43
  isLocked: boolean;
41
44
  }
@@ -3,7 +3,7 @@ import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter
3
3
  import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
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, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, floorPlanOffset, globalOffsetYaw, isLocked } = {}) {
6
+ constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, floorPlanOffset, areaLocationInFloorPlan, globalOffsetYaw, isLocked } = {}) {
7
7
  this.constructionGrid = null;
8
8
  this.plannedElementCount = null;
9
9
  this.plannedElementsExist = null;
@@ -17,7 +17,7 @@ export class ApiFloor {
17
17
  this.bimMinimapToWorld = null;
18
18
  addReadOnlyPropertiesToModel(this, { id, firebaseId, firebaseProjectId });
19
19
  addInstantGetterAndSetterToApiModel(this, "scanDate", scanDate);
20
- let offsetVal, photoMinimapToBimMinimapTransformVal, bimMinimapToWorldTransformVal;
20
+ let offsetVal, photoMinimapToBimMinimapTransformVal, bimMinimapToWorldTransformVal, areaLocationInFloorPlanVal;
21
21
  Object.defineProperties(this, {
22
22
  offset: {
23
23
  get() {
@@ -66,6 +66,27 @@ export class ApiFloor {
66
66
  }
67
67
  },
68
68
  enumerable: true
69
+ },
70
+ areaLocationInFloorPlan: {
71
+ get() {
72
+ return areaLocationInFloorPlanVal;
73
+ },
74
+ set(val) {
75
+ if (val && Array.isArray(val)) {
76
+ if (val.length) {
77
+ areaLocationInFloorPlanVal = val.map(point => {
78
+ return { x: point.x, y: point.y };
79
+ });
80
+ }
81
+ else {
82
+ areaLocationInFloorPlanVal = [];
83
+ }
84
+ }
85
+ else {
86
+ areaLocationInFloorPlanVal = null;
87
+ }
88
+ },
89
+ enumerable: true
69
90
  }
70
91
  });
71
92
  this.ordinal = ordinal;
@@ -86,6 +107,7 @@ export class ApiFloor {
86
107
  this.bimMinimapToWorld = bimMinimapToWorld || null;
87
108
  this.floorElevation = floorElevation || null;
88
109
  this.floorPlanOffset = floorPlanOffset || 0;
110
+ this.areaLocationInFloorPlan = areaLocationInFloorPlan;
89
111
  this.globalOffsetYaw = globalOffsetYaw;
90
112
  this.isLocked = isLocked;
91
113
  }
@@ -1 +1 @@
1
- {"version":3,"file":"api_floor.js","sourceRoot":"","sources":["../../../../source/models/api/api_floor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAC1F,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AAYnE,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,cAAc,EACd,WAAW,EACX,MAAM,EACN,sCAAsC,EACtC,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,eAAe,EACf,QAAQ,KACY,EAAE;QAwFpC,qBAAgB,GAA+B,IAAI,CAAC;QACpD,wBAAmB,GAAkB,IAAI,CAAC;QAC1C,yBAAoB,GAAmB,IAAI,CAAC;QAC5C,sDAAsD;QACtD,aAAQ,GAAkB,IAAI,CAAC;QAC/B,wDAAwD;QACxD,mBAAc,GAAkB,IAAI,CAAC;QAC5B,WAAM,GAAgB,IAAI,CAAC;QACpC,gBAAW,GAAkB,IAAI,CAAC;QAClC,2CAAsC,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+6,8 @@ declare type ApiPlannedElementArgument = ModifyPartial<ApiPlannedElement, {
6
6
  fixedAt: DateLike;
7
7
  }>;
8
8
  export declare class ApiPlannedElement {
9
- constructor({ globalId, name, ifcType, uniformat, masterformat, revitCategory, revitFamily, revitType, itemId, discipline, primaryUnitOfMeasurement, primaryMeasurement, unitCost, navisworksGuid, issueId, excludeFromAnalysis, builtAt, deviation, fixedAt, fixedDeviation, duplicateOf, reviztoId, reviztoIfcGuid, verified, exportedToBcf, partialProgressPercent, trade }?: ApiPlannedElementArgument);
9
+ constructor({ id, globalId, name, ifcType, uniformat, masterformat, revitCategory, revitFamily, revitType, itemId, discipline, primaryUnitOfMeasurement, primaryMeasurement, unitCost, navisworksGuid, issueId, excludeFromAnalysis, builtAt, deviation, fixedAt, fixedDeviation, duplicateOf, reviztoId, reviztoIfcGuid, verified, exportedToBcf, partialProgressPercent, trade }?: ApiPlannedElementArgument);
10
+ readonly id: number;
10
11
  name?: string;
11
12
  globalId: string;
12
13
  itemId?: string | null;
@@ -1,6 +1,7 @@
1
- import { addInstantGetterAndSetterToApiModel } from "../../mixins";
1
+ import { addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel } from "../../mixins";
2
2
  export class ApiPlannedElement {
3
- constructor({ globalId, name, ifcType, uniformat, masterformat, revitCategory, revitFamily, revitType, itemId, discipline, primaryUnitOfMeasurement, primaryMeasurement, unitCost, navisworksGuid, issueId, excludeFromAnalysis, builtAt, deviation, fixedAt, fixedDeviation, duplicateOf, reviztoId, reviztoIfcGuid, verified, exportedToBcf, partialProgressPercent, trade } = {}) {
3
+ constructor({ id, globalId, name, ifcType, uniformat, masterformat, revitCategory, revitFamily, revitType, itemId, discipline, primaryUnitOfMeasurement, primaryMeasurement, unitCost, navisworksGuid, issueId, excludeFromAnalysis, builtAt, deviation, fixedAt, fixedDeviation, duplicateOf, reviztoId, reviztoIfcGuid, verified, exportedToBcf, partialProgressPercent, trade } = {}) {
4
+ addReadOnlyPropertiesToModel(this, { id });
4
5
  addInstantGetterAndSetterToApiModel(this, "builtAt", builtAt);
5
6
  addInstantGetterAndSetterToApiModel(this, "fixedAt", fixedAt);
6
7
  this.globalId = globalId;
@@ -1 +1 @@
1
- {"version":3,"file":"api_planned_element.js","sourceRoot":"","sources":["../../../../source/models/api/api_planned_element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,cAAc,CAAC;AAQnE,MAAM,OAAO,iBAAiB;IAC5B,YAAY,EACE,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,SAAS,EACT,YAAY,EACZ,aAAa,EACb,WAAW,EACX,SAAS,EACT,MAAM,EACN,UAAU,EACV,wBAAwB,EACxB,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,OAAO,EACP,mBAAmB,EACnB,OAAO,EACP,SAAS,EACT,OAAO,EACP,cAAc,EACd,WAAW,EACX,SAAS,EACT,cAAc,EACd,QAAQ,EACR,aAAa,EACb,sBAAsB,EACtB,KAAK,KACwB,EAAE;QAE3C,mCAAmC,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QAC9D,mCAAmC,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QAC9D,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAC;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CA6BF;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"api_planned_element.js","sourceRoot":"","sources":["../../../../source/models/api/api_planned_element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAQjG,MAAM,OAAO,iBAAiB;IAC5B,YAAY,EACE,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,SAAS,EACT,YAAY,EACZ,aAAa,EACb,WAAW,EACX,SAAS,EACT,MAAM,EACN,UAAU,EACV,wBAAwB,EACxB,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,OAAO,EACP,mBAAmB,EACnB,OAAO,EACP,SAAS,EACT,OAAO,EACP,cAAc,EACd,WAAW,EACX,SAAS,EACT,cAAc,EACd,QAAQ,EACR,aAAa,EACb,sBAAsB,EACtB,KAAK,KACwB,EAAE;QAE3C,4BAA4B,CAAC,IAAI,EAAE,EAAE,EAAE,EAA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;IACrB,CAAC;CA8BF;AAED,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare class Location {
2
+ id: number;
3
+ node_name: string;
4
+ parent_id?: number;
5
+ constructor({ id, node_name, parent_id }?: Partial<Location>);
6
+ }
@@ -0,0 +1,8 @@
1
+ export class Location {
2
+ constructor({ id, node_name, parent_id } = {}) {
3
+ this.id = id;
4
+ this.node_name = node_name;
5
+ this.parent_id = parent_id;
6
+ }
7
+ }
8
+ //# sourceMappingURL=Location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Location.js","sourceRoot":"","sources":["../../../../../../source/models/api/integrations/procore/Location.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,QAAQ;IAKjB,YAAY,EACI,EAAE,EACF,SAAS,EACT,SAAS,KACU,EAAE;QACjC,IAAI,CAAC,EAAE,GAAG,EAAG,CAAC;QACd,IAAI,CAAC,SAAS,GAAG,SAAU,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ"}
@@ -0,0 +1,6 @@
1
+ export declare class Trade {
2
+ id: number;
3
+ name: string;
4
+ active: boolean;
5
+ constructor({ id, name, active }?: Partial<Trade>);
6
+ }
@@ -0,0 +1,8 @@
1
+ export class Trade {
2
+ constructor({ id, name, active } = {}) {
3
+ this.id = id;
4
+ this.name = name;
5
+ this.active = active;
6
+ }
7
+ }
8
+ //# sourceMappingURL=Trade.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../../../../source/models/api/integrations/procore/Trade.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,KAAK;IAKd,YAAY,EACI,EAAE,EACF,IAAI,EACJ,MAAM,KACU,EAAE;QAC9B,IAAI,CAAC,EAAE,GAAG,EAAG,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAK,CAAC;QAClB,IAAI,CAAC,MAAM,GAAG,MAAO,CAAC;IAC1B,CAAC;CACJ"}
@@ -0,0 +1,12 @@
1
+ export declare class ApiCoordinationIssueRequest {
2
+ title: string;
3
+ description?: string;
4
+ status?: string;
5
+ priority?: string;
6
+ due_date?: string;
7
+ assignee_id?: number;
8
+ trade_id?: number;
9
+ location_id?: number;
10
+ issue_type?: string;
11
+ constructor({ title, description, status, priority, due_date, assignee_id, trade_id, location_id, issue_type }?: Partial<ApiCoordinationIssueRequest>);
12
+ }
@@ -0,0 +1,14 @@
1
+ export class ApiCoordinationIssueRequest {
2
+ constructor({ title, description, status, priority, due_date, assignee_id, trade_id, location_id, issue_type } = {}) {
3
+ this.title = title;
4
+ this.description = description;
5
+ this.status = status;
6
+ this.priority = priority;
7
+ this.due_date = due_date;
8
+ this.assignee_id = assignee_id;
9
+ this.trade_id = trade_id;
10
+ this.location_id = location_id;
11
+ this.issue_type = issue_type;
12
+ }
13
+ }
14
+ //# sourceMappingURL=api_coordination_issue_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api_coordination_issue_request.js","sourceRoot":"","sources":["../../../../../../source/models/api/integrations/procore/api_coordination_issue_request.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,2BAA2B;IAWpC,YAAY,EACI,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,WAAW,EACX,UAAU,KAC4B,EAAE;QACpD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;CACJ"}
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": "8.8.1",
4
+ "version": "8.8.3",
5
5
  "description": "Javascript client for Avvir APIs",
6
6
  "license": "Apache-2.0",
7
7
  "module": "dist/esm/index.js",
@@ -29,6 +29,9 @@ import {JiraIssueRequestModel} from "../models/api/integrations/jira/JiraIssueRe
29
29
  import {FieldsConfiguration} from "../models/api/integrations/jira/FieldsConfiguration";
30
30
  import { PowerBIAccessTokenResponse } from "../models/api/integrations/powerbi/api_access_token";
31
31
  import { EmbedTokenResponse } from "../models/api/integrations/powerbi/api_embed_token_response";
32
+ import {ApiCoordinationIssueRequest} from "../models/api/integrations/procore/api_coordination_issue_request";
33
+ import {Trade} from "../models/api/integrations/procore/Trade";
34
+ import {Location} from "../models/api/integrations/procore/Location";
32
35
 
33
36
  export default class IntegrationsApi {
34
37
 
@@ -214,6 +217,71 @@ export default class IntegrationsApi {
214
217
 
215
218
  }
216
219
 
220
+ static CreateProcoreCoordinationIssueWithAttachments(procoreAccessToken: string,
221
+ companyId: string,
222
+ projectId: string,
223
+ coordinationIssueRequest: ApiCoordinationIssueRequest,
224
+ ids: IntegrationAssociationIds,
225
+ imageBlob: Blob,
226
+ user: User): Promise<number> {
227
+ if (!procoreAccessToken) {
228
+ return Promise.reject(new Error("Procore access token not found"));
229
+ }
230
+ if (!projectId) {
231
+ return Promise.reject(new Error("project id not found"));
232
+ }
233
+ if (!companyId) {
234
+ return Promise.reject(new Error("company id not found"));
235
+ }
236
+ if (!imageBlob) {
237
+ return Promise.reject(new Error("Invalid imageBlob"));
238
+ }
239
+ if (!coordinationIssueRequest || coordinationIssueRequest?.title?.length === 0) {
240
+ return Promise.reject(new Error("Invalid coordinationIssueRequest or Missing title"));
241
+ }
242
+
243
+ const url = `${Http.baseUrl()}/integrations/procore/${companyId}/${projectId}/create-coordination-issue-with-attachments?procore-access-token=${procoreAccessToken}`;
244
+
245
+ const formData = new FormData();
246
+ formData.append("coordinationIssueRequest", JSON.stringify(coordinationIssueRequest));
247
+ formData.append("associationIds",JSON.stringify(ids));
248
+ formData.append("attachments", imageBlob, "image.png");
249
+
250
+ return Http.fetch(url, {
251
+ method: "POST",
252
+ headers: {
253
+ ...getAuthorizationHeaders(user)
254
+ },
255
+ body: formData
256
+ }) as unknown as Promise<number>;
257
+
258
+ }
259
+
260
+ static getProcoreTradesForCoordinateIssue(procoreAccessToken: string, companyId: string, user: User): Promise<Trade[]> {
261
+ if (!procoreAccessToken) {
262
+ return Promise.reject(new Error("Procore access token not found"));
263
+ }
264
+ if (!companyId) {
265
+ return Promise.reject(new Error("company id not found"));
266
+ }
267
+ const url = `${Http.baseUrl()}/integrations/procore/${companyId}/trades?procore-access-token=${procoreAccessToken}`;
268
+ return Http.get(url, user) as unknown as Promise<Trade[]>;
269
+ }
270
+
271
+ static getProcoreLocationsForCoordinateIssue(procoreAccessToken: string, companyId: string, projectId: string, user: User): Promise<Location[]> {
272
+ if (!procoreAccessToken) {
273
+ return Promise.reject(new Error("Procore access token not found"));
274
+ }
275
+ if (!projectId) {
276
+ return Promise.reject(new Error("project id not found"));
277
+ }
278
+ if (!companyId) {
279
+ return Promise.reject(new Error("company id not found"));
280
+ }
281
+ const url = `${Http.baseUrl()}/integrations/procore/${companyId}/${projectId}/locations?procore-access-token=${procoreAccessToken}`;
282
+ return Http.get(url, user) as unknown as Promise<Location[]>;
283
+ }
284
+
217
285
  static CreateProcoreRfi(procoreAccessToken: string,
218
286
  companyId: string,
219
287
  projectId: string,
@@ -1,10 +1,10 @@
1
1
  import ApiElementDeviation from "./api_element_deviation";
2
2
  import ApiPlannedElement from "./api_planned_element";
3
- import {addInstantGetterAndSetterToApiModel} from "../../mixins";
4
- import {ApiScannedElementTypeMap, isDeviationScanResult} from "./api_scanned_element";
3
+ import { addInstantGetterAndSetterToApiModel } from "../../mixins";
4
+ import { ApiScannedElementTypeMap, isDeviationScanResult } from "./api_scanned_element";
5
5
 
6
- import type {ApiBuiltStatus} from "../enums";
7
- import {ApiElementProgress} from "./api_element_progress";
6
+ import type { ApiBuiltStatus } from "../enums";
7
+ import { ApiElementProgress } from "./api_element_progress";
8
8
 
9
9
  /** @deprecated This information should now all live in the {@link ApiPlannedElement}. */
10
10
  export class ApiDetailedElement<Label extends ApiBuiltStatus = ApiBuiltStatus> extends ApiPlannedElement {
@@ -15,11 +15,11 @@ export class ApiDetailedElement<Label extends ApiBuiltStatus = ApiBuiltStatus> e
15
15
  this.scanResult = detailedElement.scanResult;
16
16
 
17
17
  if (isDeviationScanResult(this.scanResult)) {
18
- this.scanResult.deviation = {...new ApiElementDeviation(this.scanResult.deviation)};
18
+ this.scanResult.deviation = { ...new ApiElementDeviation(this.scanResult.deviation) };
19
19
  }
20
20
 
21
21
  if (detailedElement.fixedDeviation) {
22
- this.fixedDeviation = {...new ApiElementDeviation(detailedElement.fixedDeviation)};
22
+ this.fixedDeviation = { ...new ApiElementDeviation(detailedElement.fixedDeviation) };
23
23
  }
24
24
 
25
25
  if (detailedElement.progressHistory) {
@@ -12,6 +12,7 @@ export type ApiFloorArgument = ModifyPartial<ApiFloor, {
12
12
  scanDate?: DateLike,
13
13
  photoAreaMinimapPixelToBimMinimapPixel?: Matrix3Like;
14
14
  bimMinimapToWorld?: Matrix3Like;
15
+ areaLocationInFloorPlan?: Vector2Like[]
15
16
  }>
16
17
 
17
18
  export class ApiFloor {
@@ -34,6 +35,7 @@ export class ApiFloor {
34
35
  bimMinimapToWorld,
35
36
  floorElevation,
36
37
  floorPlanOffset,
38
+ areaLocationInFloorPlan,
37
39
  globalOffsetYaw,
38
40
  isLocked
39
41
  }: ApiFloorArgument = {})
@@ -41,7 +43,7 @@ export class ApiFloor {
41
43
  addReadOnlyPropertiesToModel(this, { id, firebaseId, firebaseProjectId });
42
44
  addInstantGetterAndSetterToApiModel(this, "scanDate", scanDate);
43
45
  let offsetVal: Vector2Like, photoMinimapToBimMinimapTransformVal: ApiMatrix3,
44
- bimMinimapToWorldTransformVal: ApiMatrix3;
46
+ bimMinimapToWorldTransformVal: ApiMatrix3, areaLocationInFloorPlanVal: Vector2Like[];
45
47
  Object.defineProperties(this, {
46
48
  offset: {
47
49
  get() {
@@ -85,6 +87,25 @@ export class ApiFloor {
85
87
  }
86
88
  },
87
89
  enumerable: true
90
+ },
91
+ areaLocationInFloorPlan: {
92
+ get() {
93
+ return areaLocationInFloorPlanVal;
94
+ },
95
+ set(val: Vector2Like[]) {
96
+ if (val && Array.isArray(val)) {
97
+ if (val.length) {
98
+ areaLocationInFloorPlanVal = val.map(point => {
99
+ return { x: point.x, y: point.y };
100
+ });
101
+ } else {
102
+ areaLocationInFloorPlanVal = [];
103
+ }
104
+ } else {
105
+ areaLocationInFloorPlanVal = null;
106
+ }
107
+ },
108
+ enumerable: true
88
109
  }
89
110
  });
90
111
 
@@ -106,6 +127,7 @@ export class ApiFloor {
106
127
  this.bimMinimapToWorld = bimMinimapToWorld || null;
107
128
  this.floorElevation = floorElevation || null;
108
129
  this.floorPlanOffset = floorPlanOffset || 0;
130
+ this.areaLocationInFloorPlan = areaLocationInFloorPlan;
109
131
  this.globalOffsetYaw = globalOffsetYaw;
110
132
  this.isLocked = isLocked;
111
133
  }
@@ -138,6 +160,8 @@ export class ApiFloor {
138
160
  floorElevation: number | null;
139
161
  /** The vertical offset of the floor plan from the {@link floorElevation}, useful for adjusting the height of the floor plan to make it more visible */
140
162
  floorPlanOffset: number;
163
+ /** The coordinates on the floor plan that define the boundaries of the area. Stored as normalized coordinates */
164
+ areaLocationInFloorPlan: Vector2Like[];
141
165
  globalOffsetYaw: number | null;
142
166
  isLocked: boolean;
143
167
  }
@@ -1,4 +1,4 @@
1
- import { addInstantGetterAndSetterToApiModel } from "../../mixins";
1
+ import { addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel } from "../../mixins";
2
2
 
3
3
  import type ApiElementDeviation from "./api_element_deviation";
4
4
  import type { DateLike, ModifyPartial } from "type_aliases";
@@ -8,6 +8,7 @@ type ApiPlannedElementArgument = ModifyPartial<ApiPlannedElement, { builtAt: Dat
8
8
 
9
9
  export class ApiPlannedElement {
10
10
  constructor({
11
+ id,
11
12
  globalId,
12
13
  name,
13
14
  ifcType,
@@ -37,6 +38,7 @@ export class ApiPlannedElement {
37
38
  trade
38
39
  }: ApiPlannedElementArgument = {})
39
40
  {
41
+ addReadOnlyPropertiesToModel(this, { id });
40
42
  addInstantGetterAndSetterToApiModel(this, "builtAt", builtAt);
41
43
  addInstantGetterAndSetterToApiModel(this, "fixedAt", fixedAt);
42
44
  this.globalId = globalId;
@@ -51,7 +53,7 @@ export class ApiPlannedElement {
51
53
  this.discipline = discipline;
52
54
  this.primaryUnitOfMeasurement = primaryUnitOfMeasurement;
53
55
  this.primaryMeasurement = primaryMeasurement;
54
- this.unitCost = unitCost
56
+ this.unitCost = unitCost;
55
57
  this.navisworksGuid = navisworksGuid;
56
58
  this.issueId = issueId;
57
59
  this.excludeFromAnalysis = excludeFromAnalysis;
@@ -66,6 +68,7 @@ export class ApiPlannedElement {
66
68
  this.trade = trade;
67
69
  }
68
70
 
71
+ readonly id: number;
69
72
  name?: string;
70
73
  globalId: string;
71
74
  itemId?: string | null;
@@ -78,7 +81,7 @@ export class ApiPlannedElement {
78
81
  revitCategory?: string;
79
82
  primaryUnitOfMeasurement?: string;
80
83
  primaryMeasurement?: number;
81
- unitCost?: number
84
+ unitCost?: number;
82
85
  navisworksGuid?: string;
83
86
  issueId?: number;
84
87
  excludeFromAnalysis?: boolean;
@@ -0,0 +1,15 @@
1
+ export class Location {
2
+ id: number;
3
+ node_name: string;
4
+ parent_id?: number;
5
+
6
+ constructor({
7
+ id,
8
+ node_name,
9
+ parent_id
10
+ }: Partial<Location> = {}) {
11
+ this.id = id!;
12
+ this.node_name = node_name!;
13
+ this.parent_id = parent_id;
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ export class Trade {
2
+ id: number;
3
+ name: string
4
+ active: boolean;
5
+
6
+ constructor({
7
+ id,
8
+ name,
9
+ active
10
+ }: Partial<Trade> = {}) {
11
+ this.id = id!;
12
+ this.name = name!;
13
+ this.active = active!;
14
+ }
15
+ }
@@ -0,0 +1,33 @@
1
+ export class ApiCoordinationIssueRequest {
2
+ title: string;
3
+ description?: string;
4
+ status?: string;
5
+ priority?: string;
6
+ due_date?: string;
7
+ assignee_id?: number;
8
+ trade_id?: number;
9
+ location_id?: number;
10
+ issue_type?: string;
11
+
12
+ constructor({
13
+ title,
14
+ description,
15
+ status,
16
+ priority,
17
+ due_date,
18
+ assignee_id,
19
+ trade_id,
20
+ location_id,
21
+ issue_type
22
+ }: Partial<ApiCoordinationIssueRequest> = {}) {
23
+ this.title = title;
24
+ this.description = description;
25
+ this.status = status;
26
+ this.priority = priority;
27
+ this.due_date = due_date;
28
+ this.assignee_id = assignee_id;
29
+ this.trade_id = trade_id;
30
+ this.location_id = location_id;
31
+ this.issue_type = issue_type;
32
+ }
33
+ }