tuix-timesheets-api 0.6.165 → 0.6.166
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/models/GithubUserDTO.js
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.GithubUserDTOToJSON = exports.GithubUserDTOFromJSONTyped = exports.GithubUserDTOFromJSON = exports.instanceOfGithubUserDTO = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const GithubAccountDTO_1 = require("./GithubAccountDTO");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the GithubUserDTO interface.
|
|
20
21
|
*/
|
|
@@ -35,6 +36,7 @@ function GithubUserDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
'active': !(0, runtime_1.exists)(json, 'active') ? undefined : json['active'],
|
|
36
37
|
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
37
38
|
'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
|
|
39
|
+
'githubAccount': !(0, runtime_1.exists)(json, 'githubAccount') ? undefined : (0, GithubAccountDTO_1.GithubAccountDTOFromJSON)(json['githubAccount']),
|
|
38
40
|
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
39
41
|
'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
|
|
40
42
|
'userId': !(0, runtime_1.exists)(json, 'userId') ? undefined : json['userId'],
|
|
@@ -52,6 +54,7 @@ function GithubUserDTOToJSON(value) {
|
|
|
52
54
|
'active': value.active,
|
|
53
55
|
'email': value.email,
|
|
54
56
|
'firstName': value.firstName,
|
|
57
|
+
'githubAccount': (0, GithubAccountDTO_1.GithubAccountDTOToJSON)(value.githubAccount),
|
|
55
58
|
'id': value.id,
|
|
56
59
|
'lastName': value.lastName,
|
|
57
60
|
'userId': value.userId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GithubUserDTO.js","sourceRoot":"","sources":["GithubUserDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;
|
|
1
|
+
{"version":3,"file":"GithubUserDTO.js","sourceRoot":"","sources":["GithubUserDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAE/C,yDAI4B;AAoD5B;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,0DAIC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAFD,sDAEC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC9D,OAAO,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC3D,WAAW,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACvE,eAAe,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,e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|
17
|
+
import {
|
|
18
|
+
GithubAccountDTOFromJSON,
|
|
19
|
+
GithubAccountDTOFromJSONTyped,
|
|
20
|
+
GithubAccountDTOToJSON,
|
|
21
|
+
} from './GithubAccountDTO';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -37,6 +44,12 @@ export interface GithubUserDTO {
|
|
|
37
44
|
* @memberof GithubUserDTO
|
|
38
45
|
*/
|
|
39
46
|
firstName?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {GithubAccountDTO}
|
|
50
|
+
* @memberof GithubUserDTO
|
|
51
|
+
*/
|
|
52
|
+
githubAccount?: GithubAccountDTO;
|
|
40
53
|
/**
|
|
41
54
|
*
|
|
42
55
|
* @type {string}
|
|
@@ -79,6 +92,7 @@ export function GithubUserDTOFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
79
92
|
'active': !exists(json, 'active') ? undefined : json['active'],
|
|
80
93
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
81
94
|
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
95
|
+
'githubAccount': !exists(json, 'githubAccount') ? undefined : GithubAccountDTOFromJSON(json['githubAccount']),
|
|
82
96
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
83
97
|
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
84
98
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
@@ -97,6 +111,7 @@ export function GithubUserDTOToJSON(value?: GithubUserDTO | null): any {
|
|
|
97
111
|
'active': value.active,
|
|
98
112
|
'email': value.email,
|
|
99
113
|
'firstName': value.firstName,
|
|
114
|
+
'githubAccount': GithubAccountDTOToJSON(value.githubAccount),
|
|
100
115
|
'id': value.id,
|
|
101
116
|
'lastName': value.lastName,
|
|
102
117
|
'userId': value.userId,
|