avvir 3.8.1 → 3.8.2

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.
@@ -5042,13 +5042,14 @@ __webpack_require__.r(__webpack_exports__);
5042
5042
  /* harmony export */ });
5043
5043
  var ApiTeamMember = /** @class */ (function () {
5044
5044
  function ApiTeamMember(_a) {
5045
- var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, userOrganization = _b.userOrganization, email = _b.email, role = _b.role, masterformats = _b.masterformats;
5045
+ var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, userOrganization = _b.userOrganization, email = _b.email, role = _b.role, masterformats = _b.masterformats, vendor = _b.vendor;
5046
5046
  this.id = id;
5047
5047
  this.name = name;
5048
5048
  this.userOrganization = userOrganization;
5049
5049
  this.email = email;
5050
5050
  this.role = role;
5051
5051
  this.masterformats = masterformats;
5052
+ this.vendor = vendor;
5052
5053
  }
5053
5054
  return ApiTeamMember;
5054
5055
  }());
@@ -5152,7 +5153,7 @@ __webpack_require__.r(__webpack_exports__);
5152
5153
  /* harmony export */ });
5153
5154
  var ApiUserPermission = /** @class */ (function () {
5154
5155
  function ApiUserPermission(_a) {
5155
- 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;
5156
+ 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, workPackageId = _a.workPackageId;
5156
5157
  this.id = id;
5157
5158
  this.userId = userId;
5158
5159
  this.projectFirebaseId = projectFirebaseId;
@@ -5162,6 +5163,7 @@ var ApiUserPermission = /** @class */ (function () {
5162
5163
  this.permissionAction = permissionAction;
5163
5164
  this.organizationName = organizationName;
5164
5165
  this.projectName = projectName;
5166
+ this.workPackageId = workPackageId;
5165
5167
  }
5166
5168
  return ApiUserPermission;
5167
5169
  }());
@@ -1,3 +1,4 @@
1
+ import { ApiWorkPackage } from "./api_work_package";
1
2
  export declare class ApiTeamMember {
2
3
  id?: number;
3
4
  name: string;
@@ -5,5 +6,6 @@ export declare class ApiTeamMember {
5
6
  email: string;
6
7
  role: string;
7
8
  masterformats?: string[];
8
- constructor({ id, name, userOrganization, email, role, masterformats }?: Partial<ApiTeamMember>);
9
+ vendor?: ApiWorkPackage;
10
+ constructor({ id, name, userOrganization, email, role, masterformats, vendor }?: Partial<ApiTeamMember>);
9
11
  }
@@ -1,11 +1,12 @@
1
1
  export class ApiTeamMember {
2
- constructor({ id, name, userOrganization, email, role, masterformats } = {}) {
2
+ constructor({ id, name, userOrganization, email, role, masterformats, vendor } = {}) {
3
3
  this.id = id;
4
4
  this.name = name;
5
5
  this.userOrganization = userOrganization;
6
6
  this.email = email;
7
7
  this.role = role;
8
8
  this.masterformats = masterformats;
9
+ this.vendor = vendor;
9
10
  }
10
11
  }
11
12
  //# sourceMappingURL=api_team_member.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api_team_member.js","sourceRoot":"","sources":["../../../../source/models/api/api_team_member.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,aAAa;IAQxB,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,KAA6B,EAAE;QACjG,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;CACF"}
1
+ {"version":3,"file":"api_team_member.js","sourceRoot":"","sources":["../../../../source/models/api/api_team_member.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;IASxB,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,KAA6B,EAAE;QACzG,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CACF"}
@@ -10,6 +10,7 @@ export declare class ApiUserPermission {
10
10
  permissionAction: UserPermissionAction;
11
11
  organizationName: string;
12
12
  projectName: string;
13
- constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction, organizationName, projectName, }: Partial<ApiUserPermission>);
13
+ workPackageId: number;
14
+ constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction, organizationName, projectName, workPackageId }: Partial<ApiUserPermission>);
14
15
  }
15
16
  export default ApiUserPermission;
@@ -1,5 +1,5 @@
1
1
  export class ApiUserPermission {
2
- constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction, organizationName, projectName, }) {
2
+ constructor({ id, userId, projectFirebaseId, organizationFirebaseId, masterformatCode, permissionType, permissionAction, organizationName, projectName, workPackageId }) {
3
3
  this.id = id;
4
4
  this.userId = userId;
5
5
  this.projectFirebaseId = projectFirebaseId;
@@ -9,6 +9,7 @@ export class ApiUserPermission {
9
9
  this.permissionAction = permissionAction;
10
10
  this.organizationName = organizationName;
11
11
  this.projectName = projectName;
12
+ this.workPackageId = workPackageId;
12
13
  }
13
14
  }
14
15
  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;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"}
1
+ {"version":3,"file":"api_user_permission.js","sourceRoot":"","sources":["../../../../source/models/api/api_user_permission.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,iBAAiB;IAY5B,YAAY,EACE,EAAE,EACF,MAAM,EACN,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACE;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;QAC/B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,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": "3.8.1",
4
+ "version": "3.8.2",
5
5
  "description": "Javascript client for Avvir APIs",
6
6
  "license": "Apache-2.0",
7
7
  "module": "dist/esm/index.js",
@@ -1,3 +1,5 @@
1
+ import {ApiWorkPackage} from "./api_work_package";
2
+
1
3
  export class ApiTeamMember {
2
4
  id?: number
3
5
  name: string
@@ -5,13 +7,15 @@ export class ApiTeamMember {
5
7
  email: string
6
8
  role: string
7
9
  masterformats?: string[]
10
+ vendor?: ApiWorkPackage;
8
11
 
9
- constructor({ id, name, userOrganization, email, role, masterformats }: Partial<ApiTeamMember> = {}) {
12
+ constructor({ id, name, userOrganization, email, role, masterformats, vendor }: Partial<ApiTeamMember> = {}) {
10
13
  this.id = id;
11
14
  this.name = name;
12
15
  this.userOrganization = userOrganization;
13
16
  this.email = email;
14
17
  this.role = role;
15
18
  this.masterformats = masterformats;
19
+ this.vendor = vendor;
16
20
  }
17
21
  }
@@ -11,6 +11,7 @@ export class ApiUserPermission {
11
11
  permissionAction: UserPermissionAction
12
12
  organizationName: string
13
13
  projectName: string
14
+ workPackageId: number
14
15
 
15
16
  constructor({
16
17
  id,
@@ -22,6 +23,7 @@ export class ApiUserPermission {
22
23
  permissionAction,
23
24
  organizationName,
24
25
  projectName,
26
+ workPackageId
25
27
  }: Partial<ApiUserPermission>) {
26
28
  this.id = id;
27
29
  this.userId = userId;
@@ -32,6 +34,7 @@ export class ApiUserPermission {
32
34
  this.permissionAction = permissionAction;
33
35
  this.organizationName = organizationName;
34
36
  this.projectName = projectName;
37
+ this.workPackageId = workPackageId;
35
38
  }
36
39
  }
37
40