avvir 0.3.31 → 0.3.32

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.
@@ -4059,7 +4059,8 @@ __webpack_require__.r(__webpack_exports__);
4059
4059
  /* harmony export */ });
4060
4060
  var ApiUserForOrganization = /** @class */ (function () {
4061
4061
  function ApiUserForOrganization(_a) {
4062
- var _b = _a === void 0 ? {} : _a, name = _b.name, email = _b.email, role = _b.role, projects = _b.projects, accessType = _b.accessType, inviteStatus = _b.inviteStatus, masterformatCodes = _b.masterformatCodes;
4062
+ var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, email = _b.email, role = _b.role, projects = _b.projects, accessType = _b.accessType, inviteStatus = _b.inviteStatus, masterformatCodes = _b.masterformatCodes, latestInvitationExpiry = _b.latestInvitationExpiry;
4063
+ this.id = id;
4063
4064
  this.name = name;
4064
4065
  this.email = email;
4065
4066
  this.role = role;
@@ -4067,6 +4068,7 @@ var ApiUserForOrganization = /** @class */ (function () {
4067
4068
  this.accessType = accessType;
4068
4069
  this.inviteStatus = inviteStatus;
4069
4070
  this.masterformatCodes = masterformatCodes;
4071
+ this.latestInvitationExpiry = latestInvitationExpiry;
4070
4072
  }
4071
4073
  return ApiUserForOrganization;
4072
4074
  }());
@@ -1,5 +1,7 @@
1
1
  import UserRole from "../enums/user_role";
2
+ import { DateLike } from "./type_aliases";
2
3
  export declare class ApiUserForOrganization {
4
+ id: number;
3
5
  name: string;
4
6
  email: string;
5
7
  role: UserRole;
@@ -7,6 +9,7 @@ export declare class ApiUserForOrganization {
7
9
  accessType: string;
8
10
  inviteStatus: string;
9
11
  masterformatCodes: string[];
10
- constructor({ name, email, role, projects, accessType, inviteStatus, masterformatCodes }?: Partial<ApiUserForOrganization>);
12
+ latestInvitationExpiry: DateLike;
13
+ constructor({ id, name, email, role, projects, accessType, inviteStatus, masterformatCodes, latestInvitationExpiry }?: Partial<ApiUserForOrganization>);
11
14
  }
12
15
  export default ApiUserForOrganization;
@@ -1,5 +1,6 @@
1
1
  export class ApiUserForOrganization {
2
- constructor({ name, email, role, projects, accessType, inviteStatus, masterformatCodes } = {}) {
2
+ constructor({ id, name, email, role, projects, accessType, inviteStatus, masterformatCodes, latestInvitationExpiry } = {}) {
3
+ this.id = id;
3
4
  this.name = name;
4
5
  this.email = email;
5
6
  this.role = role;
@@ -7,6 +8,7 @@ export class ApiUserForOrganization {
7
8
  this.accessType = accessType;
8
9
  this.inviteStatus = inviteStatus;
9
10
  this.masterformatCodes = masterformatCodes;
11
+ this.latestInvitationExpiry = latestInvitationExpiry;
10
12
  }
11
13
  }
12
14
  export default ApiUserForOrganization;
@@ -1 +1 @@
1
- {"version":3,"file":"api_user_for_organization.js","sourceRoot":"","sources":["../../../../source/models/api/api_user_for_organization.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,sBAAsB;IAS/B,YAAY,EAAC,IAAI,EAAG,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,KAAqC,EAAE;QACzH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,CAAC;CACJ;AAED,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"api_user_for_organization.js","sourceRoot":"","sources":["../../../../source/models/api/api_user_for_organization.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,sBAAsB;IAW/B,YAAY,EAAC,EAAE,EAAE,IAAI,EAAG,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,KAAqC,EAAE;QACrJ,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;IACzD,CAAC;CACJ;AAED,eAAe,sBAAsB,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.31",
4
+ "version": "0.3.32",
5
5
  "description": "Javascript client for Avvir APIs",
6
6
  "license": "Apache-2.0",
7
7
  "module": "dist/esm/index.js",
@@ -1,7 +1,8 @@
1
1
  import UserRole from "../enums/user_role";
2
- import {List} from "underscore";
2
+ import {DateLike} from "./type_aliases";
3
3
 
4
4
  export class ApiUserForOrganization {
5
+ id: number
5
6
  name: string
6
7
  email: string
7
8
  role: UserRole
@@ -9,8 +10,10 @@ export class ApiUserForOrganization {
9
10
  accessType: string
10
11
  inviteStatus: string
11
12
  masterformatCodes: string[]
13
+ latestInvitationExpiry: DateLike
12
14
 
13
- constructor({name, email, role, projects, accessType, inviteStatus, masterformatCodes}: Partial<ApiUserForOrganization> = {}) {
15
+ constructor({id, name, email, role, projects, accessType, inviteStatus, masterformatCodes, latestInvitationExpiry}: Partial<ApiUserForOrganization> = {}) {
16
+ this.id = id;
14
17
  this.name = name;
15
18
  this.email = email;
16
19
  this.role = role;
@@ -18,6 +21,7 @@ export class ApiUserForOrganization {
18
21
  this.accessType = accessType;
19
22
  this.inviteStatus = inviteStatus;
20
23
  this.masterformatCodes = masterformatCodes;
24
+ this.latestInvitationExpiry = latestInvitationExpiry;
21
25
  }
22
26
  }
23
27