tuix-timesheets-api 0.68.0 → 0.70.0
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/.openapi-generator/FILES +4 -4
- package/apis/TuixTimesheetsClientApi.js +7 -7
- package/apis/TuixTimesheetsClientApi.js.map +1 -1
- package/apis/TuixTimesheetsClientApi.ts +28 -28
- package/models/ClientGithubAccountDTO.js +51 -0
- package/models/ClientGithubAccountDTO.js.map +1 -0
- package/models/{GithubAccountDTO.ts → ClientGithubAccountDTO.ts} +9 -9
- package/models/ClientGithubCommitCountDTO.js +53 -0
- package/models/ClientGithubCommitCountDTO.js.map +1 -0
- package/models/ClientGithubCommitCountDTO.ts +73 -0
- package/models/ClientGithubUserDTO.js +64 -0
- package/models/ClientGithubUserDTO.js.map +1 -0
- package/models/ClientGithubUserDTO.ts +120 -0
- package/models/{CreateGithubUserDTO.js → CreateGithubUserRequestDTO.js} +12 -12
- package/models/CreateGithubUserRequestDTO.js.map +1 -0
- package/models/{CreateGithubUserDTO.ts → CreateGithubUserRequestDTO.ts} +12 -12
- package/models/index.js +4 -4
- package/models/index.js.map +1 -1
- package/models/index.ts +4 -4
- package/package.json +1 -1
- package/models/CreateGithubUserDTO.js.map +0 -1
- package/models/GithubAccountDTO.js +0 -51
- package/models/GithubAccountDTO.js.map +0 -1
- package/models/GithubCommitCountDTO.js +0 -54
- package/models/GithubCommitCountDTO.js.map +0 -1
- package/models/GithubCommitCountDTO.ts +0 -75
- package/models/GithubUserDTO.js +0 -70
- package/models/GithubUserDTO.js.map +0 -1
- package/models/GithubUserDTO.ts +0 -127
|
@@ -16,39 +16,39 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface CreateGithubUserRequestDTO
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface CreateGithubUserRequestDTO {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof CreateGithubUserRequestDTO
|
|
26
26
|
*/
|
|
27
27
|
email: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof CreateGithubUserRequestDTO
|
|
32
32
|
*/
|
|
33
33
|
firstName: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof CreateGithubUserRequestDTO
|
|
38
38
|
*/
|
|
39
39
|
lastName: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof CreateGithubUserRequestDTO
|
|
44
44
|
*/
|
|
45
45
|
token: string;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Check if a given object implements the
|
|
49
|
+
* Check if a given object implements the CreateGithubUserRequestDTO interface.
|
|
50
50
|
*/
|
|
51
|
-
export function
|
|
51
|
+
export function instanceOfCreateGithubUserRequestDTO(value: object): boolean {
|
|
52
52
|
let isInstance = true;
|
|
53
53
|
isInstance = isInstance && "email" in value;
|
|
54
54
|
isInstance = isInstance && "firstName" in value;
|
|
@@ -58,11 +58,11 @@ export function instanceOfCreateGithubUserDTO(value: object): boolean {
|
|
|
58
58
|
return isInstance;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
export function
|
|
62
|
-
return
|
|
61
|
+
export function CreateGithubUserRequestDTOFromJSON(json: any): CreateGithubUserRequestDTO {
|
|
62
|
+
return CreateGithubUserRequestDTOFromJSONTyped(json, false);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
export function
|
|
65
|
+
export function CreateGithubUserRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateGithubUserRequestDTO {
|
|
66
66
|
if ((json === undefined) || (json === null)) {
|
|
67
67
|
return json;
|
|
68
68
|
}
|
|
@@ -75,7 +75,7 @@ export function CreateGithubUserDTOFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export function
|
|
78
|
+
export function CreateGithubUserRequestDTOToJSON(value?: CreateGithubUserRequestDTO | null): any {
|
|
79
79
|
if (value === undefined) {
|
|
80
80
|
return undefined;
|
|
81
81
|
}
|
package/models/index.js
CHANGED
|
@@ -22,10 +22,13 @@ __exportStar(require("./AdjustedTimesheetEmployeeInfo"), exports);
|
|
|
22
22
|
__exportStar(require("./AdjustedTimesheetEntryDTO"), exports);
|
|
23
23
|
__exportStar(require("./AdjustedTimesheetUpdateEntryDTO"), exports);
|
|
24
24
|
__exportStar(require("./ClientDTO"), exports);
|
|
25
|
+
__exportStar(require("./ClientGithubAccountDTO"), exports);
|
|
26
|
+
__exportStar(require("./ClientGithubCommitCountDTO"), exports);
|
|
27
|
+
__exportStar(require("./ClientGithubUserDTO"), exports);
|
|
25
28
|
__exportStar(require("./ClientInvoiceDTO"), exports);
|
|
26
29
|
__exportStar(require("./CompanyDTO"), exports);
|
|
27
30
|
__exportStar(require("./CreateEmployeeInvoiceInputDTO"), exports);
|
|
28
|
-
__exportStar(require("./
|
|
31
|
+
__exportStar(require("./CreateGithubUserRequestDTO"), exports);
|
|
29
32
|
__exportStar(require("./CreateJiraAccountDTO"), exports);
|
|
30
33
|
__exportStar(require("./CreateJiraUserDTO"), exports);
|
|
31
34
|
__exportStar(require("./CreateTokenResponseDTO"), exports);
|
|
@@ -35,9 +38,6 @@ __exportStar(require("./EmployeeInvoiceDTO"), exports);
|
|
|
35
38
|
__exportStar(require("./EmployeeProjectDTO"), exports);
|
|
36
39
|
__exportStar(require("./EmployeeUpdateDTO"), exports);
|
|
37
40
|
__exportStar(require("./ErrorDTO"), exports);
|
|
38
|
-
__exportStar(require("./GithubAccountDTO"), exports);
|
|
39
|
-
__exportStar(require("./GithubCommitCountDTO"), exports);
|
|
40
|
-
__exportStar(require("./GithubUserDTO"), exports);
|
|
41
41
|
__exportStar(require("./GlobalTimesheetDTO"), exports);
|
|
42
42
|
__exportStar(require("./GlobalTimesheetEntryDTO"), exports);
|
|
43
43
|
__exportStar(require("./GlobalTimesheetEntryUpdateDTO"), exports);
|
package/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,mDAAiC;AACjC,yDAAuC;AACvC,kEAAgD;AAChD,8DAA4C;AAC5C,oEAAkD;AAClD,8CAA4B;AAC5B,qDAAmC;AACnC,+CAA6B;AAC7B,kEAAgD;AAChD
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,mDAAiC;AACjC,yDAAuC;AACvC,kEAAgD;AAChD,8DAA4C;AAC5C,oEAAkD;AAClD,8CAA4B;AAC5B,2DAAyC;AACzC,+DAA6C;AAC7C,wDAAsC;AACtC,qDAAmC;AACnC,+CAA6B;AAC7B,kEAAgD;AAChD,+DAA6C;AAC7C,yDAAuC;AACvC,sDAAoC;AACpC,2DAAyC;AACzC,kDAAgC;AAChC,gDAA8B;AAC9B,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,6CAA2B;AAC3B,uDAAqC;AACrC,4DAA0C;AAC1C,kEAAgD;AAChD,qDAAmC;AACnC,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,+DAA6C;AAC7C,uDAAqC;AACrC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,8DAA4C;AAC5C,8DAA4C;AAC5C,uDAAqC;AACrC,8DAA4C;AAC5C,yDAAuC;AACvC,sDAAoC;AACpC,wDAAsC;AACtC,oDAAkC;AAClC,mDAAiC;AACjC,kDAAgC;AAChC,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,uDAAqC;AACrC,4DAA0C;AAC1C,iDAA+B;AAC/B,kDAAgC;AAChC,iDAA+B;AAC/B,0DAAwC;AACxC,sDAAoC;AACpC,4DAA0C;AAC1C,6CAA2B;AAC3B,kDAAgC;AAChC,4DAA0C;AAC1C,kDAAgC;AAChC,kDAAgC"}
|
package/models/index.ts
CHANGED
|
@@ -6,10 +6,13 @@ export * from './AdjustedTimesheetEmployeeInfo';
|
|
|
6
6
|
export * from './AdjustedTimesheetEntryDTO';
|
|
7
7
|
export * from './AdjustedTimesheetUpdateEntryDTO';
|
|
8
8
|
export * from './ClientDTO';
|
|
9
|
+
export * from './ClientGithubAccountDTO';
|
|
10
|
+
export * from './ClientGithubCommitCountDTO';
|
|
11
|
+
export * from './ClientGithubUserDTO';
|
|
9
12
|
export * from './ClientInvoiceDTO';
|
|
10
13
|
export * from './CompanyDTO';
|
|
11
14
|
export * from './CreateEmployeeInvoiceInputDTO';
|
|
12
|
-
export * from './
|
|
15
|
+
export * from './CreateGithubUserRequestDTO';
|
|
13
16
|
export * from './CreateJiraAccountDTO';
|
|
14
17
|
export * from './CreateJiraUserDTO';
|
|
15
18
|
export * from './CreateTokenResponseDTO';
|
|
@@ -19,9 +22,6 @@ export * from './EmployeeInvoiceDTO';
|
|
|
19
22
|
export * from './EmployeeProjectDTO';
|
|
20
23
|
export * from './EmployeeUpdateDTO';
|
|
21
24
|
export * from './ErrorDTO';
|
|
22
|
-
export * from './GithubAccountDTO';
|
|
23
|
-
export * from './GithubCommitCountDTO';
|
|
24
|
-
export * from './GithubUserDTO';
|
|
25
25
|
export * from './GlobalTimesheetDTO';
|
|
26
26
|
export * from './GlobalTimesheetEntryDTO';
|
|
27
27
|
export * from './GlobalTimesheetEntryUpdateDTO';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cre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K,CAAC,SAAS;QAC5B,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN,CAAC;AAdD,8DAcC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Tuix Services
|
|
6
|
-
* Tuix Services API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GithubAccountDTOToJSON = exports.GithubAccountDTOFromJSONTyped = exports.GithubAccountDTOFromJSON = exports.instanceOfGithubAccountDTO = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the GithubAccountDTO interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfGithubAccountDTO(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfGithubAccountDTO = instanceOfGithubAccountDTO;
|
|
26
|
-
function GithubAccountDTOFromJSON(json) {
|
|
27
|
-
return GithubAccountDTOFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.GithubAccountDTOFromJSON = GithubAccountDTOFromJSON;
|
|
30
|
-
function GithubAccountDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'username': !(0, runtime_1.exists)(json, 'username') ? undefined : json['username'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.GithubAccountDTOFromJSONTyped = GithubAccountDTOFromJSONTyped;
|
|
39
|
-
function GithubAccountDTOToJSON(value) {
|
|
40
|
-
if (value === undefined) {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'username': value.username,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.GithubAccountDTOToJSON = GithubAccountDTOToJSON;
|
|
51
|
-
//# sourceMappingURL=GithubAccountDTO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GithubAccountDTO.js","sourceRoot":"","sources":["GithubAccountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAe/C;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACpD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,gEAIC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAFD,4DAEC;AAED,SAAgB,6BAA6B,CAAC,IAAS,EAAE,mBAA4B;IACjF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AARD,sEAQC;AAED,SAAgB,sBAAsB,CAAC,KAA+B;IAClE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN,CAAC;AAXD,wDAWC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Tuix Services
|
|
6
|
-
* Tuix Services API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GithubCommitCountDTOToJSON = exports.GithubCommitCountDTOFromJSONTyped = exports.GithubCommitCountDTOFromJSON = exports.instanceOfGithubCommitCountDTO = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the GithubCommitCountDTO interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfGithubCommitCountDTO(value) {
|
|
21
|
-
let isInstance = true;
|
|
22
|
-
isInstance = isInstance && "commitCount" in value;
|
|
23
|
-
isInstance = isInstance && "groupPeriod" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfGithubCommitCountDTO = instanceOfGithubCommitCountDTO;
|
|
27
|
-
function GithubCommitCountDTOFromJSON(json) {
|
|
28
|
-
return GithubCommitCountDTOFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.GithubCommitCountDTOFromJSON = GithubCommitCountDTOFromJSON;
|
|
31
|
-
function GithubCommitCountDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'commitCount': json['commitCount'],
|
|
37
|
-
'groupPeriod': json['groupPeriod'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.GithubCommitCountDTOFromJSONTyped = GithubCommitCountDTOFromJSONTyped;
|
|
41
|
-
function GithubCommitCountDTOToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'commitCount': value.commitCount,
|
|
50
|
-
'groupPeriod': value.groupPeriod,
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.GithubCommitCountDTOToJSON = GithubCommitCountDTOToJSON;
|
|
54
|
-
//# sourceMappingURL=GithubCommitCountDTO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GithubCommitCountDTO.js","sourceRoot":"","sources":["GithubCommitCountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,aAAa,IAAI,KAAK,CAAC;IAClD,UAAU,GAAG,UAAU,IAAI,aAAa,IAAI,KAAK,CAAC;IAElD,OAAO,UAAU,CAAC;AACtB,CAAC;AAND,wEAMC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAFD,oEAEC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;KACrC,CAAC;AACN,CAAC;AATD,8EASC;AAED,SAAgB,0BAA0B,CAAC,KAAmC;IAC1E,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,aAAa,EAAE,KAAK,CAAC,WAAW;KACnC,CAAC;AACN,CAAC;AAZD,gEAYC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Tuix Services
|
|
5
|
-
* Tuix Services API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface GithubCommitCountDTO
|
|
20
|
-
*/
|
|
21
|
-
export interface GithubCommitCountDTO {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof GithubCommitCountDTO
|
|
26
|
-
*/
|
|
27
|
-
commitCount: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof GithubCommitCountDTO
|
|
32
|
-
*/
|
|
33
|
-
groupPeriod: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the GithubCommitCountDTO interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfGithubCommitCountDTO(value: object): boolean {
|
|
40
|
-
let isInstance = true;
|
|
41
|
-
isInstance = isInstance && "commitCount" in value;
|
|
42
|
-
isInstance = isInstance && "groupPeriod" in value;
|
|
43
|
-
|
|
44
|
-
return isInstance;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function GithubCommitCountDTOFromJSON(json: any): GithubCommitCountDTO {
|
|
48
|
-
return GithubCommitCountDTOFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function GithubCommitCountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubCommitCountDTO {
|
|
52
|
-
if ((json === undefined) || (json === null)) {
|
|
53
|
-
return json;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
|
|
57
|
-
'commitCount': json['commitCount'],
|
|
58
|
-
'groupPeriod': json['groupPeriod'],
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function GithubCommitCountDTOToJSON(value?: GithubCommitCountDTO | null): any {
|
|
63
|
-
if (value === undefined) {
|
|
64
|
-
return undefined;
|
|
65
|
-
}
|
|
66
|
-
if (value === null) {
|
|
67
|
-
return null;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'commitCount': value.commitCount,
|
|
72
|
-
'groupPeriod': value.groupPeriod,
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
package/models/GithubUserDTO.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Tuix Services
|
|
6
|
-
* Tuix Services API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GithubUserDTOToJSON = exports.GithubUserDTOFromJSONTyped = exports.GithubUserDTOFromJSON = exports.instanceOfGithubUserDTO = void 0;
|
|
17
|
-
const GithubAccountDTO_1 = require("./GithubAccountDTO");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the GithubUserDTO interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfGithubUserDTO(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
isInstance = isInstance && "active" in value;
|
|
24
|
-
isInstance = isInstance && "email" in value;
|
|
25
|
-
isInstance = isInstance && "firstName" in value;
|
|
26
|
-
isInstance = isInstance && "githubAccount" in value;
|
|
27
|
-
isInstance = isInstance && "id" in value;
|
|
28
|
-
isInstance = isInstance && "lastName" in value;
|
|
29
|
-
isInstance = isInstance && "userId" in value;
|
|
30
|
-
return isInstance;
|
|
31
|
-
}
|
|
32
|
-
exports.instanceOfGithubUserDTO = instanceOfGithubUserDTO;
|
|
33
|
-
function GithubUserDTOFromJSON(json) {
|
|
34
|
-
return GithubUserDTOFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
exports.GithubUserDTOFromJSON = GithubUserDTOFromJSON;
|
|
37
|
-
function GithubUserDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if ((json === undefined) || (json === null)) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'active': json['active'],
|
|
43
|
-
'email': json['email'],
|
|
44
|
-
'firstName': json['firstName'],
|
|
45
|
-
'githubAccount': (0, GithubAccountDTO_1.GithubAccountDTOFromJSON)(json['githubAccount']),
|
|
46
|
-
'id': json['id'],
|
|
47
|
-
'lastName': json['lastName'],
|
|
48
|
-
'userId': json['userId'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.GithubUserDTOFromJSONTyped = GithubUserDTOFromJSONTyped;
|
|
52
|
-
function GithubUserDTOToJSON(value) {
|
|
53
|
-
if (value === undefined) {
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
56
|
-
if (value === null) {
|
|
57
|
-
return null;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'active': value.active,
|
|
61
|
-
'email': value.email,
|
|
62
|
-
'firstName': value.firstName,
|
|
63
|
-
'githubAccount': (0, GithubAccountDTO_1.GithubAccountDTOToJSON)(value.githubAccount),
|
|
64
|
-
'id': value.id,
|
|
65
|
-
'lastName': value.lastName,
|
|
66
|
-
'userId': value.userId,
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
exports.GithubUserDTOToJSON = GithubUserDTOToJSON;
|
|
70
|
-
//# sourceMappingURL=GithubUserDTO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GithubUserDTO.js","sourceRoot":"","sources":["GithubUserDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,yDAI4B;AAoD5B;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAC7C,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,WAAW,IAAI,KAAK,CAAC;IAChD,UAAU,GAAG,UAAU,IAAI,eAAe,IAAI,KAAK,CAAC;IACpD,UAAU,GAAG,UAAU,IAAI,IAAI,IAAI,KAAK,CAAC;IACzC,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CA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,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AAjBD,kDAiBC"}
|
package/models/GithubUserDTO.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Tuix Services
|
|
5
|
-
* Tuix Services API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { GithubAccountDTO } from './GithubAccountDTO';
|
|
17
|
-
import {
|
|
18
|
-
GithubAccountDTOFromJSON,
|
|
19
|
-
GithubAccountDTOFromJSONTyped,
|
|
20
|
-
GithubAccountDTOToJSON,
|
|
21
|
-
} from './GithubAccountDTO';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface GithubUserDTO
|
|
27
|
-
*/
|
|
28
|
-
export interface GithubUserDTO {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {boolean}
|
|
32
|
-
* @memberof GithubUserDTO
|
|
33
|
-
*/
|
|
34
|
-
active: boolean;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof GithubUserDTO
|
|
39
|
-
*/
|
|
40
|
-
email: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof GithubUserDTO
|
|
45
|
-
*/
|
|
46
|
-
firstName: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {GithubAccountDTO}
|
|
50
|
-
* @memberof GithubUserDTO
|
|
51
|
-
*/
|
|
52
|
-
githubAccount: GithubAccountDTO;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof GithubUserDTO
|
|
57
|
-
*/
|
|
58
|
-
id: string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof GithubUserDTO
|
|
63
|
-
*/
|
|
64
|
-
lastName: string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof GithubUserDTO
|
|
69
|
-
*/
|
|
70
|
-
userId: string;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Check if a given object implements the GithubUserDTO interface.
|
|
75
|
-
*/
|
|
76
|
-
export function instanceOfGithubUserDTO(value: object): boolean {
|
|
77
|
-
let isInstance = true;
|
|
78
|
-
isInstance = isInstance && "active" in value;
|
|
79
|
-
isInstance = isInstance && "email" in value;
|
|
80
|
-
isInstance = isInstance && "firstName" in value;
|
|
81
|
-
isInstance = isInstance && "githubAccount" in value;
|
|
82
|
-
isInstance = isInstance && "id" in value;
|
|
83
|
-
isInstance = isInstance && "lastName" in value;
|
|
84
|
-
isInstance = isInstance && "userId" in value;
|
|
85
|
-
|
|
86
|
-
return isInstance;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export function GithubUserDTOFromJSON(json: any): GithubUserDTO {
|
|
90
|
-
return GithubUserDTOFromJSONTyped(json, false);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export function GithubUserDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubUserDTO {
|
|
94
|
-
if ((json === undefined) || (json === null)) {
|
|
95
|
-
return json;
|
|
96
|
-
}
|
|
97
|
-
return {
|
|
98
|
-
|
|
99
|
-
'active': json['active'],
|
|
100
|
-
'email': json['email'],
|
|
101
|
-
'firstName': json['firstName'],
|
|
102
|
-
'githubAccount': GithubAccountDTOFromJSON(json['githubAccount']),
|
|
103
|
-
'id': json['id'],
|
|
104
|
-
'lastName': json['lastName'],
|
|
105
|
-
'userId': json['userId'],
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export function GithubUserDTOToJSON(value?: GithubUserDTO | null): any {
|
|
110
|
-
if (value === undefined) {
|
|
111
|
-
return undefined;
|
|
112
|
-
}
|
|
113
|
-
if (value === null) {
|
|
114
|
-
return null;
|
|
115
|
-
}
|
|
116
|
-
return {
|
|
117
|
-
|
|
118
|
-
'active': value.active,
|
|
119
|
-
'email': value.email,
|
|
120
|
-
'firstName': value.firstName,
|
|
121
|
-
'githubAccount': GithubAccountDTOToJSON(value.githubAccount),
|
|
122
|
-
'id': value.id,
|
|
123
|
-
'lastName': value.lastName,
|
|
124
|
-
'userId': value.userId,
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
|