avvir 8.8.2 → 8.8.4
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 +183 -5
- package/dist/esm/api/integrations_api.d.ts +10 -0
- package/dist/esm/api/integrations_api.js +64 -0
- package/dist/esm/api/integrations_api.js.map +1 -1
- package/dist/esm/models/api/integrations/index.d.ts +3 -0
- package/dist/esm/models/api/integrations/index.js +3 -0
- package/dist/esm/models/api/integrations/index.js.map +1 -1
- package/dist/esm/models/api/integrations/procore/Location.d.ts +6 -0
- package/dist/esm/models/api/integrations/procore/Location.js +8 -0
- package/dist/esm/models/api/integrations/procore/Location.js.map +1 -0
- package/dist/esm/models/api/integrations/procore/Trade.d.ts +6 -0
- package/dist/esm/models/api/integrations/procore/Trade.js +8 -0
- package/dist/esm/models/api/integrations/procore/Trade.js.map +1 -0
- package/dist/esm/models/api/integrations/procore/api_coordination_issue_request.d.ts +12 -0
- package/dist/esm/models/api/integrations/procore/api_coordination_issue_request.js +14 -0
- package/dist/esm/models/api/integrations/procore/api_coordination_issue_request.js.map +1 -0
- package/dist/esm/models/enums/jira_building_types.d.ts +8 -0
- package/dist/esm/models/enums/jira_building_types.js +9 -0
- package/dist/esm/models/enums/jira_building_types.js.map +1 -0
- package/package.json +1 -1
- package/source/api/integrations_api.ts +82 -0
- package/source/models/api/integrations/index.ts +4 -1
- package/source/models/api/integrations/procore/Location.ts +15 -0
- package/source/models/api/integrations/procore/Trade.ts +15 -0
- package/source/models/api/integrations/procore/api_coordination_issue_request.ts +33 -0
- package/source/models/enums/jira_building_types.ts +14 -0
package/dist/avvir_api.node.js
CHANGED
|
@@ -900,6 +900,70 @@ 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.getProcoreCoordinationIssueAssigness = 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 + "/coordination-issue-assignees?procore-access-token=" + procoreAccessToken;
|
|
952
|
+
return _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].get(url, user);
|
|
953
|
+
};
|
|
954
|
+
IntegrationsApi.getProcoreLocationsForCoordinateIssue = function (procoreAccessToken, companyId, projectId, user) {
|
|
955
|
+
if (!procoreAccessToken) {
|
|
956
|
+
return Promise.reject(new Error("Procore access token not found"));
|
|
957
|
+
}
|
|
958
|
+
if (!projectId) {
|
|
959
|
+
return Promise.reject(new Error("project id not found"));
|
|
960
|
+
}
|
|
961
|
+
if (!companyId) {
|
|
962
|
+
return Promise.reject(new Error("company id not found"));
|
|
963
|
+
}
|
|
964
|
+
var url = _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].baseUrl() + "/integrations/procore/" + companyId + "/" + projectId + "/locations?procore-access-token=" + procoreAccessToken;
|
|
965
|
+
return _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].get(url, user);
|
|
966
|
+
};
|
|
903
967
|
IntegrationsApi.CreateProcoreRfi = function (procoreAccessToken, companyId, projectId, rfiRequest, ids, imageBlob, user) {
|
|
904
968
|
if (!procoreAccessToken) {
|
|
905
969
|
return Promise.reject(new Error("Procore access token not found"));
|
|
@@ -3141,6 +3205,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3141
3205
|
/* harmony export */ "ApiComment": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.ApiComment),
|
|
3142
3206
|
/* harmony export */ "ApiCommentThread": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.ApiCommentThread),
|
|
3143
3207
|
/* harmony export */ "ApiConstructionGrid": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.ApiConstructionGrid),
|
|
3208
|
+
/* harmony export */ "ApiCoordinationIssueRequest": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.ApiCoordinationIssueRequest),
|
|
3144
3209
|
/* harmony export */ "ApiDetailedElement": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.ApiDetailedElement),
|
|
3145
3210
|
/* harmony export */ "ApiElementDeviation": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.ApiElementDeviation),
|
|
3146
3211
|
/* harmony export */ "ApiElementProgress": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.ApiElementProgress),
|
|
@@ -3245,6 +3310,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3245
3310
|
/* harmony export */ "IN_PLACE": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.IN_PLACE),
|
|
3246
3311
|
/* harmony export */ "IntegrationAssociationIds": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.IntegrationAssociationIds),
|
|
3247
3312
|
/* harmony export */ "LOADING": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.LOADING),
|
|
3313
|
+
/* harmony export */ "Location": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.Location),
|
|
3248
3314
|
/* harmony export */ "METRIC": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.METRIC),
|
|
3249
3315
|
/* harmony export */ "MULTIVISTA": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.MULTIVISTA),
|
|
3250
3316
|
/* harmony export */ "NONE": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.NONE),
|
|
@@ -3268,6 +3334,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3268
3334
|
/* harmony export */ "SUPERADMIN": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.SUPERADMIN),
|
|
3269
3335
|
/* harmony export */ "ScanDatasetPurposeType": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.ScanDatasetPurposeType),
|
|
3270
3336
|
/* harmony export */ "SystemOfMeasurement": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.SystemOfMeasurement),
|
|
3337
|
+
/* harmony export */ "Trade": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.Trade),
|
|
3271
3338
|
/* harmony export */ "UPLOAD_FAILED": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.UPLOAD_FAILED),
|
|
3272
3339
|
/* harmony export */ "USER": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.USER),
|
|
3273
3340
|
/* harmony export */ "UploaderStatus": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_1__.UploaderStatus),
|
|
@@ -6063,6 +6130,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6063
6130
|
/* harmony export */ "ApiFloorBackup": () => (/* reexport safe */ _api_floor_backup__WEBPACK_IMPORTED_MODULE_19__.ApiFloorBackup),
|
|
6064
6131
|
/* harmony export */ "ApiAutodeskAccessToken": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.ApiAutodeskAccessToken),
|
|
6065
6132
|
/* harmony export */ "ApiAutodeskAttributes": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.ApiAutodeskAttributes),
|
|
6133
|
+
/* harmony export */ "ApiCoordinationIssueRequest": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.ApiCoordinationIssueRequest),
|
|
6066
6134
|
/* harmony export */ "ApiHubs": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.ApiHubs),
|
|
6067
6135
|
/* harmony export */ "ApiObservationRequest": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.ApiObservationRequest),
|
|
6068
6136
|
/* harmony export */ "ApiProjects": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.ApiProjects),
|
|
@@ -6070,6 +6138,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6070
6138
|
/* harmony export */ "AutodeskIssue": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.AutodeskIssue),
|
|
6071
6139
|
/* harmony export */ "AutodeskRequest": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.AutodeskRequest),
|
|
6072
6140
|
/* harmony export */ "IntegrationAssociationIds": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.IntegrationAssociationIds),
|
|
6141
|
+
/* harmony export */ "Location": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.Location),
|
|
6142
|
+
/* harmony export */ "Trade": () => (/* reexport safe */ _integrations__WEBPACK_IMPORTED_MODULE_20__.Trade),
|
|
6073
6143
|
/* harmony export */ "ApiPhotoArea": () => (/* reexport safe */ _photos__WEBPACK_IMPORTED_MODULE_21__.ApiPhotoArea),
|
|
6074
6144
|
/* harmony export */ "ApiPhotoLocation": () => (/* reexport safe */ _photos__WEBPACK_IMPORTED_MODULE_21__.ApiPhotoLocation),
|
|
6075
6145
|
/* harmony export */ "ApiPhotoSession": () => (/* reexport safe */ _photos__WEBPACK_IMPORTED_MODULE_21__.ApiPhotoSession),
|
|
@@ -6545,12 +6615,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6545
6615
|
/* harmony export */ "AutodeskRequest": () => (/* reexport safe */ _autodesk__WEBPACK_IMPORTED_MODULE_0__.AutodeskRequest),
|
|
6546
6616
|
/* harmony export */ "ApiObservationRequest": () => (/* reexport safe */ _procore_api_observation_request__WEBPACK_IMPORTED_MODULE_1__.ApiObservationRequest),
|
|
6547
6617
|
/* harmony export */ "ApiRfiRequest": () => (/* reexport safe */ _procore_api_rfi_request__WEBPACK_IMPORTED_MODULE_2__.ApiRfiRequest),
|
|
6548
|
-
/* harmony export */ "
|
|
6618
|
+
/* harmony export */ "Location": () => (/* reexport safe */ _procore_Location__WEBPACK_IMPORTED_MODULE_3__.Location),
|
|
6619
|
+
/* harmony export */ "ApiCoordinationIssueRequest": () => (/* reexport safe */ _procore_api_coordination_issue_request__WEBPACK_IMPORTED_MODULE_4__.ApiCoordinationIssueRequest),
|
|
6620
|
+
/* harmony export */ "Trade": () => (/* reexport safe */ _procore_Trade__WEBPACK_IMPORTED_MODULE_5__.Trade),
|
|
6621
|
+
/* harmony export */ "IntegrationAssociationIds": () => (/* reexport safe */ _integration_ids__WEBPACK_IMPORTED_MODULE_6__.IntegrationAssociationIds)
|
|
6549
6622
|
/* harmony export */ });
|
|
6550
6623
|
/* harmony import */ var _autodesk__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9021);
|
|
6551
6624
|
/* harmony import */ var _procore_api_observation_request__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
|
|
6552
6625
|
/* harmony import */ var _procore_api_rfi_request__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8097);
|
|
6553
|
-
/* harmony import */ var
|
|
6626
|
+
/* harmony import */ var _procore_Location__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3291);
|
|
6627
|
+
/* harmony import */ var _procore_api_coordination_issue_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5288);
|
|
6628
|
+
/* harmony import */ var _procore_Trade__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3678);
|
|
6629
|
+
/* harmony import */ var _integration_ids__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7745);
|
|
6630
|
+
|
|
6631
|
+
|
|
6632
|
+
|
|
6554
6633
|
|
|
6555
6634
|
|
|
6556
6635
|
|
|
@@ -6828,6 +6907,78 @@ var EmbedTokenResponse = /** @class */ (function () {
|
|
|
6828
6907
|
|
|
6829
6908
|
|
|
6830
6909
|
|
|
6910
|
+
/***/ }),
|
|
6911
|
+
|
|
6912
|
+
/***/ 3291:
|
|
6913
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6914
|
+
|
|
6915
|
+
"use strict";
|
|
6916
|
+
__webpack_require__.r(__webpack_exports__);
|
|
6917
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6918
|
+
/* harmony export */ "Location": () => (/* binding */ Location)
|
|
6919
|
+
/* harmony export */ });
|
|
6920
|
+
var Location = /** @class */ (function () {
|
|
6921
|
+
function Location(_a) {
|
|
6922
|
+
var _b = _a === void 0 ? {} : _a, id = _b.id, node_name = _b.node_name, parent_id = _b.parent_id;
|
|
6923
|
+
this.id = id;
|
|
6924
|
+
this.node_name = node_name;
|
|
6925
|
+
this.parent_id = parent_id;
|
|
6926
|
+
}
|
|
6927
|
+
return Location;
|
|
6928
|
+
}());
|
|
6929
|
+
|
|
6930
|
+
|
|
6931
|
+
|
|
6932
|
+
/***/ }),
|
|
6933
|
+
|
|
6934
|
+
/***/ 3678:
|
|
6935
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6936
|
+
|
|
6937
|
+
"use strict";
|
|
6938
|
+
__webpack_require__.r(__webpack_exports__);
|
|
6939
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6940
|
+
/* harmony export */ "Trade": () => (/* binding */ Trade)
|
|
6941
|
+
/* harmony export */ });
|
|
6942
|
+
var Trade = /** @class */ (function () {
|
|
6943
|
+
function Trade(_a) {
|
|
6944
|
+
var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, active = _b.active;
|
|
6945
|
+
this.id = id;
|
|
6946
|
+
this.name = name;
|
|
6947
|
+
this.active = active;
|
|
6948
|
+
}
|
|
6949
|
+
return Trade;
|
|
6950
|
+
}());
|
|
6951
|
+
|
|
6952
|
+
|
|
6953
|
+
|
|
6954
|
+
/***/ }),
|
|
6955
|
+
|
|
6956
|
+
/***/ 5288:
|
|
6957
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6958
|
+
|
|
6959
|
+
"use strict";
|
|
6960
|
+
__webpack_require__.r(__webpack_exports__);
|
|
6961
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6962
|
+
/* harmony export */ "ApiCoordinationIssueRequest": () => (/* binding */ ApiCoordinationIssueRequest)
|
|
6963
|
+
/* harmony export */ });
|
|
6964
|
+
var ApiCoordinationIssueRequest = /** @class */ (function () {
|
|
6965
|
+
function ApiCoordinationIssueRequest(_a) {
|
|
6966
|
+
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;
|
|
6967
|
+
this.title = title;
|
|
6968
|
+
this.description = description;
|
|
6969
|
+
this.status = status;
|
|
6970
|
+
this.priority = priority;
|
|
6971
|
+
this.due_date = due_date;
|
|
6972
|
+
this.assignee_id = assignee_id;
|
|
6973
|
+
this.trade_id = trade_id;
|
|
6974
|
+
this.location_id = location_id;
|
|
6975
|
+
this.issue_type = issue_type;
|
|
6976
|
+
}
|
|
6977
|
+
return ApiCoordinationIssueRequest;
|
|
6978
|
+
}());
|
|
6979
|
+
|
|
6980
|
+
|
|
6981
|
+
|
|
6831
6982
|
/***/ }),
|
|
6832
6983
|
|
|
6833
6984
|
/***/ 7:
|
|
@@ -7824,6 +7975,26 @@ var ApiInspectionMode;
|
|
|
7824
7975
|
})(ApiInspectionMode || (ApiInspectionMode = {}));
|
|
7825
7976
|
|
|
7826
7977
|
|
|
7978
|
+
/***/ }),
|
|
7979
|
+
|
|
7980
|
+
/***/ 491:
|
|
7981
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7982
|
+
|
|
7983
|
+
"use strict";
|
|
7984
|
+
__webpack_require__.r(__webpack_exports__);
|
|
7985
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7986
|
+
/* harmony export */ "ApiInspectionMode": () => (/* binding */ ApiInspectionMode)
|
|
7987
|
+
/* harmony export */ });
|
|
7988
|
+
var ApiInspectionMode;
|
|
7989
|
+
(function (ApiInspectionMode) {
|
|
7990
|
+
ApiInspectionMode["DateCenter"] = "Data Center";
|
|
7991
|
+
ApiInspectionMode["bimPrep"] = "BIM_PREP";
|
|
7992
|
+
ApiInspectionMode["inspectLegacy"] = "LEGACY_INSPECT";
|
|
7993
|
+
ApiInspectionMode["inspect"] = "INSPECT";
|
|
7994
|
+
ApiInspectionMode["progress"] = "PROGRESS";
|
|
7995
|
+
})(ApiInspectionMode || (ApiInspectionMode = {}));
|
|
7996
|
+
|
|
7997
|
+
|
|
7827
7998
|
/***/ }),
|
|
7828
7999
|
|
|
7829
8000
|
/***/ 2453:
|
|
@@ -8410,6 +8581,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8410
8581
|
/* harmony export */ "ApiComment": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ApiComment),
|
|
8411
8582
|
/* harmony export */ "ApiCommentThread": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ApiCommentThread),
|
|
8412
8583
|
/* harmony export */ "ApiConstructionGrid": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ApiConstructionGrid),
|
|
8584
|
+
/* harmony export */ "ApiCoordinationIssueRequest": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ApiCoordinationIssueRequest),
|
|
8413
8585
|
/* harmony export */ "ApiDetailedElement": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ApiDetailedElement),
|
|
8414
8586
|
/* harmony export */ "ApiElementDeviation": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ApiElementDeviation),
|
|
8415
8587
|
/* harmony export */ "ApiElementProgress": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ApiElementProgress),
|
|
@@ -8489,7 +8661,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8489
8661
|
/* harmony export */ "DeprecatedApiPipeline": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.DeprecatedApiPipeline),
|
|
8490
8662
|
/* harmony export */ "DeviationTolerance": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.DeviationTolerance),
|
|
8491
8663
|
/* harmony export */ "IntegrationAssociationIds": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.IntegrationAssociationIds),
|
|
8664
|
+
/* harmony export */ "Location": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.Location),
|
|
8492
8665
|
/* harmony export */ "PhotoViewerDetails": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.PhotoViewerDetails),
|
|
8666
|
+
/* harmony export */ "Trade": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.Trade),
|
|
8493
8667
|
/* harmony export */ "ViewAttributes": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ViewAttributes),
|
|
8494
8668
|
/* harmony export */ "ViewCamera": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ViewCamera),
|
|
8495
8669
|
/* harmony export */ "ViewFilters": () => (/* reexport safe */ _api__WEBPACK_IMPORTED_MODULE_0__.ViewFilters),
|
|
@@ -9072,7 +9246,7 @@ var serializeForm = function (form) {
|
|
|
9072
9246
|
|
|
9073
9247
|
/***/ }),
|
|
9074
9248
|
|
|
9075
|
-
/***/
|
|
9249
|
+
/***/ 5422:
|
|
9076
9250
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
9077
9251
|
|
|
9078
9252
|
var map = {
|
|
@@ -9204,6 +9378,9 @@ var map = {
|
|
|
9204
9378
|
"./models/api/integrations/jira/RequestFieldValues.ts": 2530,
|
|
9205
9379
|
"./models/api/integrations/powerbi/api_access_token.ts": 4506,
|
|
9206
9380
|
"./models/api/integrations/powerbi/api_embed_token_response.ts": 4029,
|
|
9381
|
+
"./models/api/integrations/procore/Location.ts": 3291,
|
|
9382
|
+
"./models/api/integrations/procore/Trade.ts": 3678,
|
|
9383
|
+
"./models/api/integrations/procore/api_coordination_issue_request.ts": 5288,
|
|
9207
9384
|
"./models/api/integrations/procore/api_observation_request.ts": 7,
|
|
9208
9385
|
"./models/api/integrations/procore/api_rfi_request.ts": 8097,
|
|
9209
9386
|
"./models/api/integrations/revizto/api_access_token.ts": 3772,
|
|
@@ -9232,6 +9409,7 @@ var map = {
|
|
|
9232
9409
|
"./models/enums/event_type.ts": 1739,
|
|
9233
9410
|
"./models/enums/index.ts": 8260,
|
|
9234
9411
|
"./models/enums/inspection_modes.ts": 941,
|
|
9412
|
+
"./models/enums/jira_building_types.ts": 491,
|
|
9235
9413
|
"./models/enums/notification_level.ts": 2453,
|
|
9236
9414
|
"./models/enums/photo_projection_type.ts": 6975,
|
|
9237
9415
|
"./models/enums/photo_rotation_type.ts": 8543,
|
|
@@ -9282,7 +9460,7 @@ webpackContext.keys = function webpackContextKeys() {
|
|
|
9282
9460
|
};
|
|
9283
9461
|
webpackContext.resolve = webpackContextResolve;
|
|
9284
9462
|
module.exports = webpackContext;
|
|
9285
|
-
webpackContext.id =
|
|
9463
|
+
webpackContext.id = 5422;
|
|
9286
9464
|
|
|
9287
9465
|
/***/ }),
|
|
9288
9466
|
|
|
@@ -9425,7 +9603,7 @@ function importAll(directoryContext, target) {
|
|
|
9425
9603
|
|
|
9426
9604
|
// skip .d.ts files because some use syntax our webpack settings don't support
|
|
9427
9605
|
//@ts-ignore
|
|
9428
|
-
importAll(__webpack_require__(
|
|
9606
|
+
importAll(__webpack_require__(5422), _source_index__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
9429
9607
|
|
|
9430
9608
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_source_index__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
9431
9609
|
|
|
@@ -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,13 @@ 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 getProcoreCoordinationIssueAssigness(procoreAccessToken: string, companyId: string, projectId: string, user: User): Promise<{
|
|
59
|
+
name: string;
|
|
60
|
+
id: string | number;
|
|
61
|
+
}[]>;
|
|
62
|
+
static getProcoreLocationsForCoordinateIssue(procoreAccessToken: string, companyId: string, projectId: string, user: User): Promise<Location[]>;
|
|
53
63
|
static CreateProcoreRfi(procoreAccessToken: string, companyId: string, projectId: string, rfiRequest: ApiRfiRequest, ids: IntegrationAssociationIds, imageBlob: Blob, user: User): Promise<number>;
|
|
54
64
|
static getAutodeskAccessToken(code: string, redirectUri: string, user: User): Promise<ApiAutodeskAccessToken>;
|
|
55
65
|
static getAutodeskHubs(access_token: string, user: User): Promise<ApiHubs>;
|
|
@@ -115,6 +115,70 @@ 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 getProcoreCoordinationIssueAssigness(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}/coordination-issue-assignees?procore-access-token=${procoreAccessToken}`;
|
|
167
|
+
return Http.get(url, user);
|
|
168
|
+
}
|
|
169
|
+
static getProcoreLocationsForCoordinateIssue(procoreAccessToken, companyId, projectId, user) {
|
|
170
|
+
if (!procoreAccessToken) {
|
|
171
|
+
return Promise.reject(new Error("Procore access token not found"));
|
|
172
|
+
}
|
|
173
|
+
if (!projectId) {
|
|
174
|
+
return Promise.reject(new Error("project id not found"));
|
|
175
|
+
}
|
|
176
|
+
if (!companyId) {
|
|
177
|
+
return Promise.reject(new Error("company id not found"));
|
|
178
|
+
}
|
|
179
|
+
const url = `${Http.baseUrl()}/integrations/procore/${companyId}/${projectId}/locations?procore-access-token=${procoreAccessToken}`;
|
|
180
|
+
return Http.get(url, user);
|
|
181
|
+
}
|
|
118
182
|
static CreateProcoreRfi(procoreAccessToken, companyId, projectId, rfiRequest, ids, imageBlob, user) {
|
|
119
183
|
if (!procoreAccessToken) {
|
|
120
184
|
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,CAAC,oCAAoC,CAAC,EACI,cAAc,EACd,SAAS,EACI,EACjB,cAA6C,EAC7C,I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* from "./procore/Location";
|
|
5
|
+
export * from "./procore/api_coordination_issue_request";
|
|
6
|
+
export * from "./procore/Trade";
|
|
4
7
|
export * from "./integration_ids";
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from "./autodesk";
|
|
2
2
|
export * from "./procore/api_observation_request";
|
|
3
3
|
export * from "./procore/api_rfi_request";
|
|
4
|
+
export * from "./procore/Location";
|
|
5
|
+
export * from "./procore/api_coordination_issue_request";
|
|
6
|
+
export * from "./procore/Trade";
|
|
4
7
|
export * from "./integration_ids";
|
|
5
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/models/api/integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/models/api/integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0CAA0C,CAAC;AACzD,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC"}
|
|
@@ -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 @@
|
|
|
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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum ApiInspectionMode {
|
|
2
|
+
DateCenter = "Data Center",
|
|
3
|
+
bimPrep = "BIM_PREP",
|
|
4
|
+
inspectLegacy = "LEGACY_INSPECT",
|
|
5
|
+
inspect = "INSPECT",
|
|
6
|
+
progress = "PROGRESS"
|
|
7
|
+
}
|
|
8
|
+
export declare type JiraBuildingType = ApiInspectionMode.DateCenter | ApiInspectionMode.bimPrep | ApiInspectionMode.inspect | ApiInspectionMode.inspectLegacy | ApiInspectionMode.progress;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var ApiInspectionMode;
|
|
2
|
+
(function (ApiInspectionMode) {
|
|
3
|
+
ApiInspectionMode["DateCenter"] = "Data Center";
|
|
4
|
+
ApiInspectionMode["bimPrep"] = "BIM_PREP";
|
|
5
|
+
ApiInspectionMode["inspectLegacy"] = "LEGACY_INSPECT";
|
|
6
|
+
ApiInspectionMode["inspect"] = "INSPECT";
|
|
7
|
+
ApiInspectionMode["progress"] = "PROGRESS";
|
|
8
|
+
})(ApiInspectionMode || (ApiInspectionMode = {}));
|
|
9
|
+
//# sourceMappingURL=jira_building_types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jira_building_types.js","sourceRoot":"","sources":["../../../../source/models/enums/jira_building_types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBAMX;AAND,WAAY,iBAAiB;IACzB,+CAA0B,CAAA;IAC1B,yCAAoB,CAAA;IACpB,qDAAgC,CAAA;IAChC,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;AACzB,CAAC,EANW,iBAAiB,KAAjB,iBAAiB,QAM5B"}
|
package/package.json
CHANGED
|
@@ -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,85 @@ 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 getProcoreCoordinationIssueAssigness(procoreAccessToken: string, companyId: string, projectId: string, user: User): Promise<{ name: string, id: string | number }[]> {
|
|
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}/coordination-issue-assignees?procore-access-token=${procoreAccessToken}`;
|
|
282
|
+
return Http.get(url, user) as unknown as Promise<{ name: string, id: string | number }[]>;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
static getProcoreLocationsForCoordinateIssue(procoreAccessToken: string, companyId: string, projectId: string, user: User): Promise<Location[]> {
|
|
286
|
+
if (!procoreAccessToken) {
|
|
287
|
+
return Promise.reject(new Error("Procore access token not found"));
|
|
288
|
+
}
|
|
289
|
+
if (!projectId) {
|
|
290
|
+
return Promise.reject(new Error("project id not found"));
|
|
291
|
+
}
|
|
292
|
+
if (!companyId) {
|
|
293
|
+
return Promise.reject(new Error("company id not found"));
|
|
294
|
+
}
|
|
295
|
+
const url = `${Http.baseUrl()}/integrations/procore/${companyId}/${projectId}/locations?procore-access-token=${procoreAccessToken}`;
|
|
296
|
+
return Http.get(url, user) as unknown as Promise<Location[]>;
|
|
297
|
+
}
|
|
298
|
+
|
|
217
299
|
static CreateProcoreRfi(procoreAccessToken: string,
|
|
218
300
|
companyId: string,
|
|
219
301
|
projectId: string,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from "./autodesk";
|
|
2
2
|
export * from "./procore/api_observation_request";
|
|
3
3
|
export * from "./procore/api_rfi_request";
|
|
4
|
-
export * from "./
|
|
4
|
+
export * from "./procore/Location";
|
|
5
|
+
export * from "./procore/api_coordination_issue_request";
|
|
6
|
+
export * from "./procore/Trade";
|
|
7
|
+
export * from "./integration_ids";
|
|
@@ -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,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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export enum ApiInspectionMode {
|
|
2
|
+
DateCenter = "Data Center",
|
|
3
|
+
bimPrep = "BIM_PREP",
|
|
4
|
+
inspectLegacy = "LEGACY_INSPECT",
|
|
5
|
+
inspect = "INSPECT",
|
|
6
|
+
progress = "PROGRESS",
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type JiraBuildingType =
|
|
10
|
+
ApiInspectionMode.DateCenter |
|
|
11
|
+
ApiInspectionMode.bimPrep |
|
|
12
|
+
ApiInspectionMode.inspect |
|
|
13
|
+
ApiInspectionMode.inspectLegacy |
|
|
14
|
+
ApiInspectionMode.progress;
|