avvir 0.3.44 → 0.3.46

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.
@@ -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
  }());
@@ -4355,7 +4356,7 @@ __webpack_require__.r(__webpack_exports__);
4355
4356
  /* harmony export */ });
4356
4357
  var ApiUserPermission = /** @class */ (function () {
4357
4358
  function ApiUserPermission(_a) {
4358
- var id = _a.id, userId = _a.userId, projectFirebaseId = _a.projectFirebaseId, organizationFirebaseId = _a.organizationFirebaseId, masterformatCode = _a.masterformatCode, permissionType = _a.permissionType, permissionAction = _a.permissionAction;
4359
+ var id = _a.id, userId = _a.userId, projectFirebaseId = _a.projectFirebaseId, organizationFirebaseId = _a.organizationFirebaseId, masterformatCode = _a.masterformatCode, permissionType = _a.permissionType, permissionAction = _a.permissionAction, organizationName = _a.organizationName, projectName = _a.projectName;
4359
4360
  this.id = id;
4360
4361
  this.userId = userId;
4361
4362
  this.projectFirebaseId = projectFirebaseId;
@@ -4363,6 +4364,8 @@ var ApiUserPermission = /** @class */ (function () {
4363
4364
  this.masterformatCode = masterformatCode;
4364
4365
  this.permissionType = permissionType;
4365
4366
  this.permissionAction = permissionAction;
4367
+ this.organizationName = organizationName;
4368
+ this.projectName = projectName;
4366
4369
  }
4367
4370
  return ApiUserPermission;
4368
4371
  }());
@@ -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, 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,KACqB,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;IAC3B,CAAC;CA0BF;AAED,eAAe,iBAAiB,CAAC"}
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,EACR,aAAa,KACgB,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;IACrC,CAAC;CA2BF;AAED,eAAe,iBAAiB,CAAC"}
@@ -8,6 +8,8 @@ export declare class ApiUserPermission {
8
8
  masterformatCode: string;
9
9
  permissionType: UserPermissionType;
10
10
  permissionAction: UserPermissionAction;
11
- constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction }: Partial<ApiUserPermission>);
11
+ organizationName: string;
12
+ projectName: string;
13
+ constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction, organizationName, projectName, }: Partial<ApiUserPermission>);
12
14
  }
13
15
  export default ApiUserPermission;
@@ -1,5 +1,5 @@
1
1
  export class ApiUserPermission {
2
- constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction }) {
2
+ constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction, organizationName, projectName, }) {
3
3
  this.id = id;
4
4
  this.userId = userId;
5
5
  this.projectFirebaseId = projectFirebaseId;
@@ -7,6 +7,8 @@ export class ApiUserPermission {
7
7
  this.masterformatCode = masterformatCode;
8
8
  this.permissionType = permissionType;
9
9
  this.permissionAction = permissionAction;
10
+ this.organizationName = organizationName;
11
+ this.projectName = projectName;
10
12
  }
11
13
  }
12
14
  export default ApiUserPermission;
@@ -1 +1 @@
1
- {"version":3,"file":"api_user_permission.js","sourceRoot":"","sources":["../../../../source/models/api/api_user_permission.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,iBAAiB;IAS5B,YAAY,EAAC,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAA6B;QACjJ,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC3C,CAAC;CACF;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"api_user_permission.js","sourceRoot":"","sources":["../../../../source/models/api/api_user_permission.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,iBAAiB;IAW5B,YAAY,EACE,EAAE,EACF,MAAM,EACN,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,GACI;QAC3B,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;CACF;AAED,eAAe,iBAAiB,CAAC"}
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": "0.3.44",
4
+ "version": "0.3.46",
5
5
  "description": "Javascript client for Avvir APIs",
6
6
  "license": "Apache-2.0",
7
7
  "module": "dist/esm/index.js",
@@ -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;
@@ -9,8 +9,20 @@ export class ApiUserPermission {
9
9
  masterformatCode: string
10
10
  permissionType: UserPermissionType
11
11
  permissionAction: UserPermissionAction
12
+ organizationName: string
13
+ projectName: string
12
14
 
13
- constructor({id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction}: Partial<ApiUserPermission>) {
15
+ constructor({
16
+ id,
17
+ userId,
18
+ projectFirebaseId,
19
+ organizationFirebaseId,
20
+ masterformatCode,
21
+ permissionType,
22
+ permissionAction,
23
+ organizationName,
24
+ projectName,
25
+ }: Partial<ApiUserPermission>) {
14
26
  this.id = id;
15
27
  this.userId = userId;
16
28
  this.projectFirebaseId = projectFirebaseId;
@@ -18,6 +30,8 @@ export class ApiUserPermission {
18
30
  this.masterformatCode = masterformatCode;
19
31
  this.permissionType = permissionType;
20
32
  this.permissionAction = permissionAction;
33
+ this.organizationName = organizationName;
34
+ this.projectName = projectName;
21
35
  }
22
36
  }
23
37