avvir 0.3.43 → 0.3.45
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 -2
- package/dist/esm/api/user_api.js +1 -1
- package/dist/esm/api/user_api.js.map +1 -1
- package/dist/esm/models/api/api_planned_element.d.ts +2 -1
- package/dist/esm/models/api/api_planned_element.js +2 -1
- package/dist/esm/models/api/api_planned_element.js.map +1 -1
- package/package.json +1 -1
- package/source/api/user_api.ts +1 -1
- package/source/models/api/api_planned_element.ts +4 -1
package/dist/avvir_api.node.js
CHANGED
|
@@ -1107,7 +1107,7 @@ var UserApi = /** @class */ (function () {
|
|
|
1107
1107
|
};
|
|
1108
1108
|
UserApi.createUserPermission = function (email, permission, user) {
|
|
1109
1109
|
var encodedEmail = encodeURIComponent(email);
|
|
1110
|
-
var url = _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].baseUrl() + "/users/accounts/" + encodedEmail + "/permissions";
|
|
1110
|
+
var url = _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].baseUrl() + "/users/accounts/" + encodedEmail + "/permissions/new";
|
|
1111
1111
|
return _utilities_http__WEBPACK_IMPORTED_MODULE_0__["default"].put(url, user, permission);
|
|
1112
1112
|
};
|
|
1113
1113
|
UserApi.updateUserAccount = function (email, role, apiUser, user) {
|
|
@@ -3394,7 +3394,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3394
3394
|
|
|
3395
3395
|
var ApiPlannedElement = /** @class */ (function () {
|
|
3396
3396
|
function ApiPlannedElement(_a) {
|
|
3397
|
-
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;
|
|
3397
|
+
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;
|
|
3398
3398
|
(0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addInstantGetterAndSetterToApiModel)(this, "builtAt", builtAt);
|
|
3399
3399
|
(0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addInstantGetterAndSetterToApiModel)(this, "fixedAt", fixedAt);
|
|
3400
3400
|
this.globalId = globalId;
|
|
@@ -3419,6 +3419,7 @@ var ApiPlannedElement = /** @class */ (function () {
|
|
|
3419
3419
|
this.reviztoId = reviztoId;
|
|
3420
3420
|
this.reviztoIfcGuid = reviztoIfcGuid;
|
|
3421
3421
|
this.verified = verified;
|
|
3422
|
+
this.exportedToBcf = exportedToBcf;
|
|
3422
3423
|
}
|
|
3423
3424
|
return ApiPlannedElement;
|
|
3424
3425
|
}());
|
package/dist/esm/api/user_api.js
CHANGED
|
@@ -26,7 +26,7 @@ export default class UserApi {
|
|
|
26
26
|
}
|
|
27
27
|
static createUserPermission(email, permission, user) {
|
|
28
28
|
const encodedEmail = encodeURIComponent(email);
|
|
29
|
-
const url = `${Http.baseUrl()}/users/accounts/${encodedEmail}/permissions`;
|
|
29
|
+
const url = `${Http.baseUrl()}/users/accounts/${encodedEmail}/permissions/new`;
|
|
30
30
|
return Http.put(url, user, permission);
|
|
31
31
|
}
|
|
32
32
|
static updateUserAccount(email, role, apiUser, user) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user_api.js","sourceRoot":"","sources":["../../../source/api/user_api.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AAErC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAM/D,MAAM,CAAC,OAAO,OAAO,OAAO;IAE1B,MAAM,CAAC,gBAAgB,CAAC,KAAgC,EAAE,IAAU;QAClE,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,oBAAoB,CAAC;QAClD,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAwC,CAAC;IAC5E,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,eAAuB,EAAE,IAAU;QACtD,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,eAAe,EAAE,CAAC;QACrE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAsC,CAAC;IAClE,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,KAAa,EAAE,IAAc,EAAE,IAAU;QAC7D,MAAM,YAAY,GAAG,kBAAkB,CAAC,KAAK,CAAC,CAAC;QAC/C,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,mBAAmB,YAAY,IAAI,IAAI,EAAE,CAAC;QACvE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAgC,CAAC;IAC5D,CA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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 }?: 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, verified, exportedToBcf }?: ApiPlannedElementArgument);
|
|
10
10
|
name?: string;
|
|
11
11
|
globalId: string;
|
|
12
12
|
itemId?: string | null;
|
|
@@ -31,5 +31,6 @@ export declare class ApiPlannedElement {
|
|
|
31
31
|
reviztoId?: string;
|
|
32
32
|
reviztoIfcGuid?: string;
|
|
33
33
|
verified?: boolean;
|
|
34
|
+
exportedToBcf?: boolean;
|
|
34
35
|
}
|
|
35
36
|
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, reviztoId, reviztoIfcGuid, verified } = {}) {
|
|
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 } = {}) {
|
|
4
4
|
addInstantGetterAndSetterToApiModel(this, "builtAt", builtAt);
|
|
5
5
|
addInstantGetterAndSetterToApiModel(this, "fixedAt", fixedAt);
|
|
6
6
|
this.globalId = globalId;
|
|
@@ -25,6 +25,7 @@ export class ApiPlannedElement {
|
|
|
25
25
|
this.reviztoId = reviztoId;
|
|
26
26
|
this.reviztoIfcGuid = reviztoIfcGuid;
|
|
27
27
|
this.verified = verified;
|
|
28
|
+
this.exportedToBcf = exportedToBcf;
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
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,EACX,SAAS,EACT,cAAc,EACd,QAAQ,
|
|
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,EAC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Ae,iBAAiB,CAAC"}
|
package/package.json
CHANGED
package/source/api/user_api.ts
CHANGED
|
@@ -39,7 +39,7 @@ export default class UserApi {
|
|
|
39
39
|
|
|
40
40
|
static createUserPermission(email: string, permission: ApiUserPermission, user: User): Promise<void> {
|
|
41
41
|
const encodedEmail = encodeURIComponent(email);
|
|
42
|
-
const url = `${Http.baseUrl()}/users/accounts/${encodedEmail}/permissions`;
|
|
42
|
+
const url = `${Http.baseUrl()}/users/accounts/${encodedEmail}/permissions/new`;
|
|
43
43
|
return Http.put(url, user, permission) as unknown as Promise<void>;
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -30,7 +30,8 @@ export class ApiPlannedElement {
|
|
|
30
30
|
duplicateOf,
|
|
31
31
|
reviztoId,
|
|
32
32
|
reviztoIfcGuid,
|
|
33
|
-
verified
|
|
33
|
+
verified,
|
|
34
|
+
exportedToBcf
|
|
34
35
|
}: ApiPlannedElementArgument = {})
|
|
35
36
|
{
|
|
36
37
|
addInstantGetterAndSetterToApiModel(this, "builtAt", builtAt);
|
|
@@ -57,6 +58,7 @@ export class ApiPlannedElement {
|
|
|
57
58
|
this.reviztoId = reviztoId;
|
|
58
59
|
this.reviztoIfcGuid = reviztoIfcGuid;
|
|
59
60
|
this.verified = verified;
|
|
61
|
+
this.exportedToBcf = exportedToBcf;
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
name?: string;
|
|
@@ -83,6 +85,7 @@ export class ApiPlannedElement {
|
|
|
83
85
|
reviztoId?: string;
|
|
84
86
|
reviztoIfcGuid?: string;
|
|
85
87
|
verified?: boolean;
|
|
88
|
+
exportedToBcf?: boolean;
|
|
86
89
|
}
|
|
87
90
|
|
|
88
91
|
export default ApiPlannedElement;
|