avvir 0.3.5 → 0.3.6

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.
@@ -3766,12 +3766,13 @@ __webpack_require__.r(__webpack_exports__);
3766
3766
  /* harmony export */ });
3767
3767
  var ApiUser = /** @class */ (function () {
3768
3768
  function ApiUser(_a) {
3769
- var _b = _a === void 0 ? {} : _a, name = _b.name, userOrganization = _b.userOrganization, email = _b.email, role = _b.role, projectId = _b.projectId;
3769
+ var _b = _a === void 0 ? {} : _a, name = _b.name, userOrganization = _b.userOrganization, email = _b.email, role = _b.role, projectId = _b.projectId, userId = _b.userId;
3770
3770
  this.name = name;
3771
3771
  this.userOrganization = userOrganization;
3772
3772
  this.email = email;
3773
3773
  this.role = role;
3774
3774
  this.projectId = projectId;
3775
+ this.userId = userId;
3775
3776
  }
3776
3777
  return ApiUser;
3777
3778
  }());
@@ -5,6 +5,7 @@ export declare class ApiUser {
5
5
  email: string;
6
6
  role: UserRole;
7
7
  projectId: string;
8
- constructor({ name, userOrganization, email, role, projectId }?: Partial<ApiUser>);
8
+ userId: number;
9
+ constructor({ name, userOrganization, email, role, projectId, userId }?: Partial<ApiUser>);
9
10
  }
10
11
  export default ApiUser;
@@ -1,10 +1,11 @@
1
1
  export class ApiUser {
2
- constructor({ name, userOrganization, email, role, projectId } = {}) {
2
+ constructor({ name, userOrganization, email, role, projectId, userId } = {}) {
3
3
  this.name = name;
4
4
  this.userOrganization = userOrganization;
5
5
  this.email = email;
6
6
  this.role = role;
7
7
  this.projectId = projectId;
8
+ this.userId = userId;
8
9
  }
9
10
  }
10
11
  export default ApiUser;
@@ -1 +1 @@
1
- {"version":3,"file":"api_user.js","sourceRoot":"","sources":["../../../../source/models/api/api_user.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,OAAO;IAOhB,YAAY,EAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,KAAsB,EAAE;QAC/E,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,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AAED,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"api_user.js","sourceRoot":"","sources":["../../../../source/models/api/api_user.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,OAAO;IAQhB,YAAY,EAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,KAAsB,EAAE;QACvF,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,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACxB,CAAC;CACJ;AAED,eAAe,OAAO,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.5",
4
+ "version": "0.3.6",
5
5
  "description": "Javascript client for Avvir APIs",
6
6
  "license": "Apache-2.0",
7
7
  "module": "dist/esm/index.js",
@@ -6,13 +6,15 @@ export class ApiUser {
6
6
  email: string
7
7
  role: UserRole
8
8
  projectId: string
9
+ userId: number
9
10
 
10
- constructor({name, userOrganization, email, role, projectId}: Partial<ApiUser> = {}) {
11
+ constructor({name, userOrganization, email, role, projectId, userId}: Partial<ApiUser> = {}) {
11
12
  this.name = name;
12
13
  this.userOrganization = userOrganization;
13
14
  this.email = email;
14
15
  this.role = role;
15
16
  this.projectId = projectId;
17
+ this.userId = userId
16
18
  }
17
19
  }
18
20