@cirrobio/api-client 0.9.1 → 0.9.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.
package/README.md CHANGED
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cirrobio/api-client@0.9.1 --save
39
+ npm install @cirrobio/api-client@0.9.2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -71,6 +71,12 @@ export interface UserDetail {
71
71
  * @memberof UserDetail
72
72
  */
73
73
  signUpTime?: Date | null;
74
+ /**
75
+ *
76
+ * @type {Date}
77
+ * @memberof UserDetail
78
+ */
79
+ lastSignedIn?: Date | null;
74
80
  /**
75
81
  *
76
82
  * @type {Array<UserProjectAssignment>}
@@ -49,6 +49,7 @@ export function UserDetailFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'department': json['department'],
50
50
  'invitedBy': json['invitedBy'],
51
51
  'signUpTime': !exists(json, 'signUpTime') ? undefined : (json['signUpTime'] === null ? null : new Date(json['signUpTime'])),
52
+ 'lastSignedIn': !exists(json, 'lastSignedIn') ? undefined : (json['lastSignedIn'] === null ? null : new Date(json['lastSignedIn'])),
52
53
  'projectAssignments': (json['projectAssignments'].map(UserProjectAssignmentFromJSON)),
53
54
  'groups': json['groups'],
54
55
  'settings': UserSettingsFromJSON(json['settings']),
@@ -71,6 +72,7 @@ export function UserDetailToJSON(value) {
71
72
  'department': value.department,
72
73
  'invitedBy': value.invitedBy,
73
74
  'signUpTime': value.signUpTime === undefined ? undefined : (value.signUpTime === null ? null : value.signUpTime.toISOString()),
75
+ 'lastSignedIn': value.lastSignedIn === undefined ? undefined : (value.lastSignedIn === null ? null : value.lastSignedIn.toISOString()),
74
76
  'projectAssignments': (value.projectAssignments.map(UserProjectAssignmentToJSON)),
75
77
  'groups': value.groups,
76
78
  'settings': UserSettingsToJSON(value.settings),
@@ -71,6 +71,12 @@ export interface UserDetail {
71
71
  * @memberof UserDetail
72
72
  */
73
73
  signUpTime?: Date | null;
74
+ /**
75
+ *
76
+ * @type {Date}
77
+ * @memberof UserDetail
78
+ */
79
+ lastSignedIn?: Date | null;
74
80
  /**
75
81
  *
76
82
  * @type {Array<UserProjectAssignment>}
@@ -54,6 +54,7 @@ function UserDetailFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'department': json['department'],
55
55
  'invitedBy': json['invitedBy'],
56
56
  'signUpTime': !(0, runtime_1.exists)(json, 'signUpTime') ? undefined : (json['signUpTime'] === null ? null : new Date(json['signUpTime'])),
57
+ 'lastSignedIn': !(0, runtime_1.exists)(json, 'lastSignedIn') ? undefined : (json['lastSignedIn'] === null ? null : new Date(json['lastSignedIn'])),
57
58
  'projectAssignments': (json['projectAssignments'].map(UserProjectAssignment_1.UserProjectAssignmentFromJSON)),
58
59
  'groups': json['groups'],
59
60
  'settings': (0, UserSettings_1.UserSettingsFromJSON)(json['settings']),
@@ -77,6 +78,7 @@ function UserDetailToJSON(value) {
77
78
  'department': value.department,
78
79
  'invitedBy': value.invitedBy,
79
80
  'signUpTime': value.signUpTime === undefined ? undefined : (value.signUpTime === null ? null : value.signUpTime.toISOString()),
81
+ 'lastSignedIn': value.lastSignedIn === undefined ? undefined : (value.lastSignedIn === null ? null : value.lastSignedIn.toISOString()),
80
82
  'projectAssignments': (value.projectAssignments.map(UserProjectAssignment_1.UserProjectAssignmentToJSON)),
81
83
  'groups': value.groups,
82
84
  'settings': (0, UserSettings_1.UserSettingsToJSON)(value.settings),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {