avvir 8.5.9 → 8.6.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 +55 -1
- package/dist/esm/models/api/api_pipeline.d.ts +3 -1
- package/dist/esm/models/api/api_pipeline.js +2 -1
- package/dist/esm/models/api/api_pipeline.js.map +1 -1
- package/dist/esm/models/api/api_pipeline_log.d.ts +14 -0
- package/dist/esm/models/api/api_pipeline_log.js +13 -0
- package/dist/esm/models/api/api_pipeline_log.js.map +1 -0
- package/dist/esm/models/api/integrations/jira/RequestFieldValues.d.ts +1 -0
- package/dist/esm/models/api/integrations/jira/RequestFieldValues.js +1 -0
- package/dist/esm/models/api/integrations/jira/RequestFieldValues.js.map +1 -1
- package/dist/esm/models/enums/pipeline_log_type.d.ts +6 -0
- package/dist/esm/models/enums/pipeline_log_type.js +8 -0
- package/dist/esm/models/enums/pipeline_log_type.js.map +1 -0
- package/package.json +1 -1
- package/source/models/api/api_pipeline.ts +6 -1
- package/source/models/api/api_pipeline_log.ts +33 -0
- package/source/models/api/integrations/jira/RequestFieldValues.ts +2 -0
- package/source/models/enums/pipeline_log_type.ts +7 -0
package/dist/avvir_api.node.js
CHANGED
|
@@ -4516,7 +4516,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4516
4516
|
|
|
4517
4517
|
var ApiPipeline = /** @class */ (function () {
|
|
4518
4518
|
function ApiPipeline(_a) {
|
|
4519
|
-
var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, externalId = _b.externalId, externalUrl = _b.externalUrl, startTime = _b.startTime, endTime = _b.endTime, firebaseClientAccountId = _b.firebaseClientAccountId, firebaseProjectId = _b.firebaseProjectId, firebaseFloorId = _b.firebaseFloorId, firebaseScanDatasetId = _b.firebaseScanDatasetId, options = _b.options, status = _b.status;
|
|
4519
|
+
var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, externalId = _b.externalId, externalUrl = _b.externalUrl, startTime = _b.startTime, endTime = _b.endTime, firebaseClientAccountId = _b.firebaseClientAccountId, firebaseProjectId = _b.firebaseProjectId, firebaseFloorId = _b.firebaseFloorId, firebaseScanDatasetId = _b.firebaseScanDatasetId, options = _b.options, status = _b.status, logs = _b.logs;
|
|
4520
4520
|
(0,_mixins_add_read_only_properties_to_model__WEBPACK_IMPORTED_MODULE_1__["default"])(this, { id: id });
|
|
4521
4521
|
(0,_mixins_add_instant_getter_and_setter_to_api_model__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "startTime");
|
|
4522
4522
|
(0,_mixins_add_instant_getter_and_setter_to_api_model__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "endTime");
|
|
@@ -4533,6 +4533,7 @@ var ApiPipeline = /** @class */ (function () {
|
|
|
4533
4533
|
this.firebaseScanDatasetId = firebaseScanDatasetId || null;
|
|
4534
4534
|
this.options = options || {};
|
|
4535
4535
|
this.status = status || null;
|
|
4536
|
+
this.logs = logs || [];
|
|
4536
4537
|
}
|
|
4537
4538
|
return ApiPipeline;
|
|
4538
4539
|
}());
|
|
@@ -4540,6 +4541,36 @@ var ApiPipeline = /** @class */ (function () {
|
|
|
4540
4541
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ApiPipeline);
|
|
4541
4542
|
|
|
4542
4543
|
|
|
4544
|
+
/***/ }),
|
|
4545
|
+
|
|
4546
|
+
/***/ 6483:
|
|
4547
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4548
|
+
|
|
4549
|
+
"use strict";
|
|
4550
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4551
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4552
|
+
/* harmony export */ "ApiPipelineLog": () => (/* binding */ ApiPipelineLog),
|
|
4553
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
4554
|
+
/* harmony export */ });
|
|
4555
|
+
/* harmony import */ var _mixins_add_instant_getter_and_setter_to_api_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1142);
|
|
4556
|
+
/* harmony import */ var _mixins_add_read_only_properties_to_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5025);
|
|
4557
|
+
|
|
4558
|
+
|
|
4559
|
+
var ApiPipelineLog = /** @class */ (function () {
|
|
4560
|
+
function ApiPipelineLog(_a) {
|
|
4561
|
+
var _b = _a === void 0 ? {} : _a, id = _b.id, pipelineId = _b.pipelineId, createdAt = _b.createdAt, logType = _b.logType, data = _b.data;
|
|
4562
|
+
(0,_mixins_add_read_only_properties_to_model__WEBPACK_IMPORTED_MODULE_1__["default"])(this, { id: id });
|
|
4563
|
+
this.pipelineId = pipelineId || null;
|
|
4564
|
+
(0,_mixins_add_instant_getter_and_setter_to_api_model__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "createdAt");
|
|
4565
|
+
this.logType = logType || null;
|
|
4566
|
+
this.data = data || null;
|
|
4567
|
+
}
|
|
4568
|
+
return ApiPipelineLog;
|
|
4569
|
+
}());
|
|
4570
|
+
|
|
4571
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ApiPipelineLog);
|
|
4572
|
+
|
|
4573
|
+
|
|
4543
4574
|
/***/ }),
|
|
4544
4575
|
|
|
4545
4576
|
/***/ 6099:
|
|
@@ -6533,6 +6564,7 @@ var RequestFieldValues = /** @class */ (function () {
|
|
|
6533
6564
|
this.squareFootage = jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.squareFootage;
|
|
6534
6565
|
this.dueDate = this.formatDateToYyyyMmDd(jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.dueDate);
|
|
6535
6566
|
this.priority = (jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.priority) ? jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.priority : "Unprioritized";
|
|
6567
|
+
this.assignee = jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.assignee;
|
|
6536
6568
|
}
|
|
6537
6569
|
RequestFieldValues.prototype.formatDateToYyyyMmDd = function (date) {
|
|
6538
6570
|
if (date) {
|
|
@@ -7601,6 +7633,26 @@ var PhotoRotationType;
|
|
|
7601
7633
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PhotoRotationType);
|
|
7602
7634
|
|
|
7603
7635
|
|
|
7636
|
+
/***/ }),
|
|
7637
|
+
|
|
7638
|
+
/***/ 9746:
|
|
7639
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7640
|
+
|
|
7641
|
+
"use strict";
|
|
7642
|
+
__webpack_require__.r(__webpack_exports__);
|
|
7643
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7644
|
+
/* harmony export */ "PipelineLogType": () => (/* binding */ PipelineLogType),
|
|
7645
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
7646
|
+
/* harmony export */ });
|
|
7647
|
+
var PipelineLogType;
|
|
7648
|
+
(function (PipelineLogType) {
|
|
7649
|
+
PipelineLogType["ERROR"] = "ERROR";
|
|
7650
|
+
PipelineLogType["WARNING"] = "WARNING";
|
|
7651
|
+
PipelineLogType["NOTICE"] = "NOTICE";
|
|
7652
|
+
})(PipelineLogType || (PipelineLogType = {}));
|
|
7653
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PipelineLogType);
|
|
7654
|
+
|
|
7655
|
+
|
|
7604
7656
|
/***/ }),
|
|
7605
7657
|
|
|
7606
7658
|
/***/ 9513:
|
|
@@ -8833,6 +8885,7 @@ var map = {
|
|
|
8833
8885
|
"./models/api/api_organization.ts": 6835,
|
|
8834
8886
|
"./models/api/api_partial_progress_element.ts": 9829,
|
|
8835
8887
|
"./models/api/api_pipeline.ts": 5621,
|
|
8888
|
+
"./models/api/api_pipeline_log.ts": 6483,
|
|
8836
8889
|
"./models/api/api_planned_element.ts": 6099,
|
|
8837
8890
|
"./models/api/api_progress_category.ts": 7390,
|
|
8838
8891
|
"./models/api/api_progress_scan_dataset.ts": 3783,
|
|
@@ -8918,6 +8971,7 @@ var map = {
|
|
|
8918
8971
|
"./models/enums/notification_level.ts": 2453,
|
|
8919
8972
|
"./models/enums/photo_projection_type.ts": 6975,
|
|
8920
8973
|
"./models/enums/photo_rotation_type.ts": 8543,
|
|
8974
|
+
"./models/enums/pipeline_log_type.ts": 9746,
|
|
8921
8975
|
"./models/enums/pipeline_types.ts": 9513,
|
|
8922
8976
|
"./models/enums/process_status.ts": 5355,
|
|
8923
8977
|
"./models/enums/progress_type.ts": 5570,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { DateLike, ModifyPartial } from "type_aliases";
|
|
2
2
|
import type { PipelineName, RunningProcessStatus } from "../enums";
|
|
3
|
+
import ApiPipelineLog from "./api_pipeline_log";
|
|
3
4
|
export declare type ApiPipelineArgument = ModifyPartial<ApiPipeline, {
|
|
4
5
|
startTime?: DateLike;
|
|
5
6
|
endTime?: DateLike;
|
|
6
7
|
}>;
|
|
7
8
|
export declare class ApiPipeline {
|
|
8
|
-
constructor({ id, name, externalId, externalUrl, startTime, endTime, firebaseClientAccountId, firebaseProjectId, firebaseFloorId, firebaseScanDatasetId, options, status }?: ApiPipelineArgument);
|
|
9
|
+
constructor({ id, name, externalId, externalUrl, startTime, endTime, firebaseClientAccountId, firebaseProjectId, firebaseFloorId, firebaseScanDatasetId, options, status, logs, }?: ApiPipelineArgument);
|
|
9
10
|
readonly id: number;
|
|
10
11
|
name: PipelineName;
|
|
11
12
|
externalId: string;
|
|
@@ -18,5 +19,6 @@ export declare class ApiPipeline {
|
|
|
18
19
|
firebaseScanDatasetId: string;
|
|
19
20
|
options: any;
|
|
20
21
|
status: RunningProcessStatus;
|
|
22
|
+
logs: ApiPipelineLog[];
|
|
21
23
|
}
|
|
22
24
|
export default ApiPipeline;
|
|
@@ -1,7 +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
|
export class ApiPipeline {
|
|
4
|
-
constructor({ id, name, externalId, externalUrl, startTime, endTime, firebaseClientAccountId, firebaseProjectId, firebaseFloorId, firebaseScanDatasetId, options, status } = {}) {
|
|
4
|
+
constructor({ id, name, externalId, externalUrl, startTime, endTime, firebaseClientAccountId, firebaseProjectId, firebaseFloorId, firebaseScanDatasetId, options, status, logs, } = {}) {
|
|
5
5
|
addReadOnlyPropertiesToModel(this, { id });
|
|
6
6
|
addInstantGetterAndSetterToApiModel(this, "startTime");
|
|
7
7
|
addInstantGetterAndSetterToApiModel(this, "endTime");
|
|
@@ -18,6 +18,7 @@ export class ApiPipeline {
|
|
|
18
18
|
this.firebaseScanDatasetId = firebaseScanDatasetId || null;
|
|
19
19
|
this.options = options || {};
|
|
20
20
|
this.status = status || null;
|
|
21
|
+
this.logs = logs || [];
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
export default ApiPipeline;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pipeline.js","sourceRoot":"","sources":["../../../../source/models/api/api_pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"api_pipeline.js","sourceRoot":"","sources":["../../../../source/models/api/api_pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAW1F,MAAM,OAAO,WAAW;IACtB,YAAY,EACE,EAAE,EACF,IAAI,EACJ,UAAU,EACV,WAAW,EACX,SAAS,EACT,OAAO,EACP,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,MAAM,EACN,IAAI,MACmB,EAAE;QAErC,4BAA4B,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC3C,mCAAmC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QACvD,mCAAmC,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QACrD,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,UAAU,IAAI,IAAI,CAAC;QACrC,IAAI,CAAC,WAAW,GAAG,WAAW,IAAI,IAAI,CAAC;QACvC,aAAa;QACb,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,aAAa;QACb,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,IAAI,IAAI,CAAC;QAC/D,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,IAAI,IAAI,CAAC;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,IAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,IAAI,IAAI,CAAC;QAC3D,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,IAAI,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IACzB,CAAC;CAmBF;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DateLike, ModifyPartial } from "type_aliases";
|
|
2
|
+
import PipelineLogType from "../enums/pipeline_log_type";
|
|
3
|
+
export declare type ApiPipelineLogArgument = ModifyPartial<ApiPipelineLog, {
|
|
4
|
+
createdAt?: DateLike;
|
|
5
|
+
}>;
|
|
6
|
+
export declare class ApiPipelineLog {
|
|
7
|
+
constructor({ id, pipelineId, createdAt, logType, data, }?: ApiPipelineLogArgument);
|
|
8
|
+
readonly id: number;
|
|
9
|
+
pipelineId: number;
|
|
10
|
+
createdAt: number;
|
|
11
|
+
logType: PipelineLogType;
|
|
12
|
+
data: string;
|
|
13
|
+
}
|
|
14
|
+
export default ApiPipelineLog;
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export class ApiPipelineLog {
|
|
4
|
+
constructor({ id, pipelineId, createdAt, logType, data, } = {}) {
|
|
5
|
+
addReadOnlyPropertiesToModel(this, { id });
|
|
6
|
+
this.pipelineId = pipelineId || null;
|
|
7
|
+
addInstantGetterAndSetterToApiModel(this, "createdAt");
|
|
8
|
+
this.logType = logType || null;
|
|
9
|
+
this.data = data || null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export default ApiPipelineLog;
|
|
13
|
+
//# sourceMappingURL=api_pipeline_log.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api_pipeline_log.js","sourceRoot":"","sources":["../../../../source/models/api/api_pipeline_log.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAS1F,MAAM,OAAO,cAAc;IACzB,YAAY,EACE,EAAE,EACF,UAAU,EACV,SAAS,EACT,OAAO,EACP,IAAI,MACsB,EAAE;QACxC,4BAA4B,CAAC,IAAI,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,IAAI,IAAI,CAAC;QACrC,mCAAmC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QACvD,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC;IAC3B,CAAC;CAOF;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -14,6 +14,7 @@ export class RequestFieldValues {
|
|
|
14
14
|
this.squareFootage = jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.squareFootage;
|
|
15
15
|
this.dueDate = this.formatDateToYyyyMmDd(jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.dueDate);
|
|
16
16
|
this.priority = (jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.priority) ? jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.priority : "Unprioritized";
|
|
17
|
+
this.assignee = jiraIssueRequestModel === null || jiraIssueRequestModel === void 0 ? void 0 : jiraIssueRequestModel.assignee;
|
|
17
18
|
}
|
|
18
19
|
formatDateToYyyyMmDd(date) {
|
|
19
20
|
if (date) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestFieldValues.js","sourceRoot":"","sources":["../../../../../../source/models/api/integrations/jira/RequestFieldValues.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAErD,MAAM,OAAO,kBAAkB;IAC3B,YAAY,qBAA4C;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,YAAY,CAAC,CAAC;QACnF,IAAI,CAAC,YAAY,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,YAAY,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,OAAO,CAAC;QAC9C,IAAI,CAAC,WAAW,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,WAAW,CAAC;QACtD,IAAI,CAAC,WAAW,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,WAAW,CAAC;QACtD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,oBAAoB,CAAC,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,WAAW,CAAC,CAAC;QACjF,IAAI,CAAC,mBAAmB,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,mBAAmB,CAAC;QACtE,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,qBAAqB,CAAC;QAC1E,IAAI,CAAC,yBAAyB,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,yBAAyB,CAAC;QAClF,IAAI,CAAC,eAAe,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,eAAe,CAAC;QAC9D,IAAI,CAAC,aAAa,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,aAAa,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,oBAAoB,CAAC,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,OAAO,CAAC,CAAC;QACzE,IAAI,CAAC,QAAQ,GAAG,CAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,QAAQ,EAAC,CAAC,CAAC,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"RequestFieldValues.js","sourceRoot":"","sources":["../../../../../../source/models/api/integrations/jira/RequestFieldValues.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAErD,MAAM,OAAO,kBAAkB;IAC3B,YAAY,qBAA4C;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,YAAY,CAAC,CAAC;QACnF,IAAI,CAAC,YAAY,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,YAAY,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,OAAO,CAAC;QAC9C,IAAI,CAAC,WAAW,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,WAAW,CAAC;QACtD,IAAI,CAAC,WAAW,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,WAAW,CAAC;QACtD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,oBAAoB,CAAC,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,WAAW,CAAC,CAAC;QACjF,IAAI,CAAC,mBAAmB,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,mBAAmB,CAAC;QACtE,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,qBAAqB,CAAC;QAC1E,IAAI,CAAC,yBAAyB,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,yBAAyB,CAAC;QAClF,IAAI,CAAC,eAAe,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,eAAe,CAAC;QAC9D,IAAI,CAAC,aAAa,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,aAAa,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,oBAAoB,CAAC,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,OAAO,CAAC,CAAC;QACzE,IAAI,CAAC,QAAQ,GAAG,CAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,QAAQ,EAAC,CAAC,CAAC,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC;QACpG,IAAI,CAAC,QAAQ,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,QAAQ,CAAC;IACpD,CAAC;IAgBO,oBAAoB,CAAC,IAAS;QAClC,IAAI,IAAI,EAAE;YACN,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;YACpC,MAAM,aAAa,GAAG,IAAI,aAAa,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;YAChF,OAAO,aAAa,CAAC;SACxB;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var PipelineLogType;
|
|
2
|
+
(function (PipelineLogType) {
|
|
3
|
+
PipelineLogType["ERROR"] = "ERROR";
|
|
4
|
+
PipelineLogType["WARNING"] = "WARNING";
|
|
5
|
+
PipelineLogType["NOTICE"] = "NOTICE";
|
|
6
|
+
})(PipelineLogType || (PipelineLogType = {}));
|
|
7
|
+
export default PipelineLogType;
|
|
8
|
+
//# sourceMappingURL=pipeline_log_type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline_log_type.js","sourceRoot":"","sources":["../../../../source/models/enums/pipeline_log_type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,oCAAe,CAAA;AACjB,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAED,eAAe,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_
|
|
|
3
3
|
|
|
4
4
|
import type { DateLike, ModifyPartial } from "type_aliases";
|
|
5
5
|
import type { PipelineName, RunningProcessStatus } from "../enums";
|
|
6
|
+
import ApiPipelineLog from "./api_pipeline_log";
|
|
6
7
|
|
|
7
8
|
export type ApiPipelineArgument = ModifyPartial<ApiPipeline, {
|
|
8
9
|
startTime?: DateLike
|
|
@@ -22,7 +23,8 @@ export class ApiPipeline {
|
|
|
22
23
|
firebaseFloorId,
|
|
23
24
|
firebaseScanDatasetId,
|
|
24
25
|
options,
|
|
25
|
-
status
|
|
26
|
+
status,
|
|
27
|
+
logs,
|
|
26
28
|
}: ApiPipelineArgument = {})
|
|
27
29
|
{
|
|
28
30
|
addReadOnlyPropertiesToModel(this, { id });
|
|
@@ -41,6 +43,7 @@ export class ApiPipeline {
|
|
|
41
43
|
this.firebaseScanDatasetId = firebaseScanDatasetId || null;
|
|
42
44
|
this.options = options || {};
|
|
43
45
|
this.status = status || null;
|
|
46
|
+
this.logs = logs || [];
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
readonly id: number;
|
|
@@ -58,6 +61,8 @@ export class ApiPipeline {
|
|
|
58
61
|
options: any;
|
|
59
62
|
|
|
60
63
|
status: RunningProcessStatus;
|
|
64
|
+
|
|
65
|
+
logs: ApiPipelineLog[];
|
|
61
66
|
}
|
|
62
67
|
|
|
63
68
|
export default ApiPipeline;
|
|
@@ -0,0 +1,33 @@
|
|
|
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";
|
|
5
|
+
import PipelineLogType from "../enums/pipeline_log_type";
|
|
6
|
+
|
|
7
|
+
export type ApiPipelineLogArgument = ModifyPartial<ApiPipelineLog, {
|
|
8
|
+
createdAt?: DateLike
|
|
9
|
+
}>
|
|
10
|
+
|
|
11
|
+
export class ApiPipelineLog {
|
|
12
|
+
constructor({
|
|
13
|
+
id,
|
|
14
|
+
pipelineId,
|
|
15
|
+
createdAt,
|
|
16
|
+
logType,
|
|
17
|
+
data,
|
|
18
|
+
}: ApiPipelineLogArgument = {}) {
|
|
19
|
+
addReadOnlyPropertiesToModel(this, {id});
|
|
20
|
+
this.pipelineId = pipelineId || null;
|
|
21
|
+
addInstantGetterAndSetterToApiModel(this, "createdAt");
|
|
22
|
+
this.logType = logType || null;
|
|
23
|
+
this.data = data || null;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
readonly id: number;
|
|
27
|
+
pipelineId: number;
|
|
28
|
+
createdAt: number;
|
|
29
|
+
logType: PipelineLogType;
|
|
30
|
+
data: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export default ApiPipelineLog;
|
|
@@ -16,6 +16,7 @@ export class RequestFieldValues {
|
|
|
16
16
|
this.squareFootage = jiraIssueRequestModel?.squareFootage;
|
|
17
17
|
this.dueDate = this.formatDateToYyyyMmDd(jiraIssueRequestModel?.dueDate);
|
|
18
18
|
this.priority = jiraIssueRequestModel?.priority ? jiraIssueRequestModel?.priority : "Unprioritized";
|
|
19
|
+
this.assignee = jiraIssueRequestModel?.assignee;
|
|
19
20
|
}
|
|
20
21
|
summary?: string;
|
|
21
22
|
projectName?: string;
|
|
@@ -30,6 +31,7 @@ export class RequestFieldValues {
|
|
|
30
31
|
dueDate?: string;
|
|
31
32
|
buildingType?: string;
|
|
32
33
|
priority: string;
|
|
34
|
+
assignee?: string;
|
|
33
35
|
|
|
34
36
|
private formatDateToYyyyMmDd(date: any) {
|
|
35
37
|
if (date) {
|