avvir 0.3.15 → 0.3.16
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 +3 -1
- package/dist/esm/api/pipeline_api.d.ts +1 -2
- package/dist/esm/api/pipeline_api.js.map +1 -1
- package/dist/esm/models/api/api_planned_element.d.ts +3 -1
- package/dist/esm/models/api/api_planned_element.js +3 -1
- package/dist/esm/models/api/api_planned_element.js.map +1 -1
- package/package.json +1 -1
- package/source/api/pipeline_api.ts +2 -3
- package/source/models/api/api_planned_element.ts +6 -0
package/dist/avvir_api.node.js
CHANGED
|
@@ -3206,7 +3206,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3206
3206
|
|
|
3207
3207
|
var ApiPlannedElement = /** @class */ (function () {
|
|
3208
3208
|
function ApiPlannedElement(_a) {
|
|
3209
|
-
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;
|
|
3209
|
+
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;
|
|
3210
3210
|
(0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addInstantGetterAndSetterToApiModel)(this, "builtAt", builtAt);
|
|
3211
3211
|
(0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addInstantGetterAndSetterToApiModel)(this, "fixedAt", fixedAt);
|
|
3212
3212
|
this.globalId = globalId;
|
|
@@ -3228,6 +3228,8 @@ var ApiPlannedElement = /** @class */ (function () {
|
|
|
3228
3228
|
this.deviation = deviation;
|
|
3229
3229
|
this.fixedDeviation = fixedDeviation;
|
|
3230
3230
|
this.duplicateOf = duplicateOf;
|
|
3231
|
+
this.reviztoId = reviztoId;
|
|
3232
|
+
this.reviztoIfcGuid = reviztoIfcGuid;
|
|
3231
3233
|
}
|
|
3232
3234
|
return ApiPlannedElement;
|
|
3233
3235
|
}());
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AssociationIds } from "../models";
|
|
2
2
|
import { User } from "../utilities/get_authorization_headers";
|
|
3
|
-
import ApiArgoResponse from "../models/api/api_argo_response";
|
|
4
3
|
import ApiPipeline, { ApiPipelineArgument } from "../models/api/api_pipeline";
|
|
5
4
|
export default class PipelineApi {
|
|
6
|
-
static triggerJobStepsPipeline(associationIds: AssociationIds, body: {}, user: User): Promise<
|
|
5
|
+
static triggerJobStepsPipeline(associationIds: AssociationIds, body: {}, user: User): Promise<ApiPipeline>;
|
|
7
6
|
static triggerPipeline(body: ApiPipelineArgument, user: User): Promise<ApiPipeline>;
|
|
8
7
|
static checkPipelineStatus({ projectId }: AssociationIds, pipelineId: number, user: User): Promise<ApiPipeline>;
|
|
9
8
|
static getFloorPipelines({ projectId, floorId }: AssociationIds, user: User): Promise<ApiPipeline[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline_api.js","sourceRoot":"","sources":["../../../source/api/pipeline_api.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"pipeline_api.js","sourceRoot":"","sources":["../../../source/api/pipeline_api.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAI/D,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B,MAAM,CAAC,uBAAuB,CAAC,cAA8B,EAAE,IAAI,GAAG,EAAE,EAAE,IAAU;QAClF,IAAI,EAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,EAAC,GAAG,cAAc,CAAC;QACpE,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,aAAa,SAAS,IAAI,SAAS,IAAI,OAAO,IAAI,aAAa,UAAU,CAAC;QACvG,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAoC,CAAC;IACvE,CAAC;IAED,MAAM,CAAC,eAAe,CAAC,OAA4B,EAAE,EAAE,IAAU;QAC/D,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC;QAC1C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAoC,CAAC;IACvE,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,EAAC,SAAS,EAAiB,EAAE,UAAkB,EAAE,IAAU;QACpF,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,cAAc,UAAU,EAAE,CAAC;QACxD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAoC,CAAC;IAChE,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,EAAC,SAAS,EAAE,OAAO,EAAiB,EAAE,IAAU;QACvE,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,aAAa,SAAS,WAAW,OAAO,YAAY,CAAC;QAClF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACjB,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAsC,CAAC;IAClE,CAAC;CACF;AAED,gBAAgB,CAAC,WAAW,CAAC,CAAA"}
|
|
@@ -6,7 +6,7 @@ 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, }?: ApiPlannedElementArgument);
|
|
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 }?: ApiPlannedElementArgument);
|
|
10
10
|
name?: string;
|
|
11
11
|
globalId: string;
|
|
12
12
|
itemId?: string | null;
|
|
@@ -28,5 +28,7 @@ export declare class ApiPlannedElement {
|
|
|
28
28
|
fixedAt?: number;
|
|
29
29
|
fixedDeviation?: ApiElementDeviation;
|
|
30
30
|
duplicateOf?: string;
|
|
31
|
+
reviztoId?: string;
|
|
32
|
+
reviztoIfcGuid?: string;
|
|
31
33
|
}
|
|
32
34
|
export default ApiPlannedElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { addInstantGetterAndSetterToApiModel } 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, } = {}) {
|
|
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 } = {}) {
|
|
4
4
|
addInstantGetterAndSetterToApiModel(this, "builtAt", builtAt);
|
|
5
5
|
addInstantGetterAndSetterToApiModel(this, "fixedAt", fixedAt);
|
|
6
6
|
this.globalId = globalId;
|
|
@@ -22,6 +22,8 @@ export class ApiPlannedElement {
|
|
|
22
22
|
this.deviation = deviation;
|
|
23
23
|
this.fixedDeviation = fixedDeviation;
|
|
24
24
|
this.duplicateOf = duplicateOf;
|
|
25
|
+
this.reviztoId = reviztoId;
|
|
26
|
+
this.reviztoIfcGuid = reviztoIfcGuid;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
export default ApiPlannedElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_planned_element.js","sourceRoot":"","sources":["../../../../source/models/api/api_planned_element.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mCAAmC,EAAE,MAAM,cAAc,CAAC;AAKnE,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,
|
|
1
|
+
{"version":3,"file":"api_planned_element.js","sourceRoot":"","sources":["../../../../source/models/api/api_planned_element.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mCAAmC,EAAE,MAAM,cAAc,CAAC;AAKnE,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,KACe,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;IACvC,CAAC;CAyBF;AAED,eAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,14 +2,13 @@ import {AssociationIds} from "../models";
|
|
|
2
2
|
import Http from "../utilities/http";
|
|
3
3
|
import makeErrorsPretty from "../utilities/make_errors_pretty";
|
|
4
4
|
import {User} from "../utilities/get_authorization_headers";
|
|
5
|
-
import ApiArgoResponse from "../models/api/api_argo_response";
|
|
6
5
|
import ApiPipeline, {ApiPipelineArgument} from "../models/api/api_pipeline";
|
|
7
6
|
|
|
8
7
|
export default class PipelineApi {
|
|
9
|
-
static triggerJobStepsPipeline(associationIds: AssociationIds, body = {}, user: User): Promise<
|
|
8
|
+
static triggerJobStepsPipeline(associationIds: AssociationIds, body = {}, user: User): Promise<ApiPipeline> {
|
|
10
9
|
let {accountId, projectId, floorId, scanDatasetId} = associationIds;
|
|
11
10
|
const url = `${Http.baseUrl()}/pipeline/${accountId}/${projectId}/${floorId}/${scanDatasetId}/trigger`;
|
|
12
|
-
return Http.post(url, user, body) as unknown as Promise<
|
|
11
|
+
return Http.post(url, user, body) as unknown as Promise<ApiPipeline>;
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
static triggerPipeline(body: ApiPipelineArgument = {}, user: User): Promise<ApiPipeline> {
|
|
@@ -28,6 +28,8 @@ export class ApiPlannedElement {
|
|
|
28
28
|
fixedAt,
|
|
29
29
|
fixedDeviation,
|
|
30
30
|
duplicateOf,
|
|
31
|
+
reviztoId,
|
|
32
|
+
reviztoIfcGuid
|
|
31
33
|
}: ApiPlannedElementArgument = {})
|
|
32
34
|
{
|
|
33
35
|
addInstantGetterAndSetterToApiModel(this, "builtAt", builtAt);
|
|
@@ -51,6 +53,8 @@ export class ApiPlannedElement {
|
|
|
51
53
|
this.deviation = deviation;
|
|
52
54
|
this.fixedDeviation = fixedDeviation;
|
|
53
55
|
this.duplicateOf = duplicateOf;
|
|
56
|
+
this.reviztoId = reviztoId;
|
|
57
|
+
this.reviztoIfcGuid = reviztoIfcGuid;
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
name?: string;
|
|
@@ -74,6 +78,8 @@ export class ApiPlannedElement {
|
|
|
74
78
|
fixedAt?: number;
|
|
75
79
|
fixedDeviation?: ApiElementDeviation;
|
|
76
80
|
duplicateOf?: string;
|
|
81
|
+
reviztoId?: string;
|
|
82
|
+
reviztoIfcGuid?: string;
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
export default ApiPlannedElement;
|