tuix-timesheets-api 0.67.0 → 0.69.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 -8
- package/apis/TuixTimesheetsClientApi.js +37 -212
- package/apis/TuixTimesheetsClientApi.js.map +1 -1
- package/apis/TuixTimesheetsClientApi.ts +55 -305
- package/models/{CreateUserDto.js → CreateUserDTO.js} +15 -15
- package/models/CreateUserDTO.js.map +1 -0
- package/models/{CreateUserDto.ts → CreateUserDTO.ts} +16 -16
- package/models/ErrorDTO.js +2 -2
- package/models/ErrorDTO.js.map +1 -1
- package/models/ErrorDTO.ts +2 -3
- package/models/SlackAccountResponseDTO.js +51 -0
- package/models/SlackAccountResponseDTO.js.map +1 -0
- package/models/{SlackAccountReponseDto.ts → SlackAccountResponseDTO.ts} +9 -9
- package/models/SlackUserDTO.js +55 -0
- package/models/SlackUserDTO.js.map +1 -0
- package/models/{SlackUserDto.ts → SlackUserDTO.ts} +20 -23
- package/models/UpdateUserDTO.js +53 -0
- package/models/UpdateUserDTO.js.map +1 -0
- package/models/{UpdateUserDto.ts → UpdateUserDTO.ts} +17 -19
- package/models/index.js +4 -8
- package/models/index.js.map +1 -1
- package/models/index.ts +4 -8
- package/package.json +1 -1
- package/models/CreateGithubUserDTO.js +0 -60
- package/models/CreateGithubUserDTO.js.map +0 -1
- package/models/CreateGithubUserDTO.ts +0 -93
- package/models/CreateUserDto.js.map +0 -1
- package/models/GithubAccountDTO.js +0 -51
- package/models/GithubAccountDTO.js.map +0 -1
- package/models/GithubAccountDTO.ts +0 -65
- 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
- package/models/SlackAccountReponseDto.js +0 -51
- package/models/SlackAccountReponseDto.js.map +0 -1
- package/models/SlackUserDto.js +0 -57
- package/models/SlackUserDto.js.map +0 -1
- package/models/UpdateUserDto.js +0 -54
- package/models/UpdateUserDto.js.map +0 -1
|
@@ -16,58 +16,58 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface CreateUserDTO
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface CreateUserDTO {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof CreateUserDTO
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
code: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof CreateUserDTO
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
email: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof CreateUserDTO
|
|
38
38
|
*/
|
|
39
39
|
redirectUri: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the CreateUserDTO interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfCreateUserDTO(value: object): boolean {
|
|
46
46
|
let isInstance = true;
|
|
47
|
-
isInstance = isInstance && "email" in value;
|
|
48
47
|
isInstance = isInstance && "code" in value;
|
|
48
|
+
isInstance = isInstance && "email" in value;
|
|
49
49
|
isInstance = isInstance && "redirectUri" in value;
|
|
50
50
|
|
|
51
51
|
return isInstance;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
export function
|
|
55
|
-
return
|
|
54
|
+
export function CreateUserDTOFromJSON(json: any): CreateUserDTO {
|
|
55
|
+
return CreateUserDTOFromJSONTyped(json, false);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export function
|
|
58
|
+
export function CreateUserDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateUserDTO {
|
|
59
59
|
if ((json === undefined) || (json === null)) {
|
|
60
60
|
return json;
|
|
61
61
|
}
|
|
62
62
|
return {
|
|
63
63
|
|
|
64
|
-
'email': json['email'],
|
|
65
64
|
'code': json['code'],
|
|
65
|
+
'email': json['email'],
|
|
66
66
|
'redirectUri': json['redirectUri'],
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export function
|
|
70
|
+
export function CreateUserDTOToJSON(value?: CreateUserDTO | null): any {
|
|
71
71
|
if (value === undefined) {
|
|
72
72
|
return undefined;
|
|
73
73
|
}
|
|
@@ -76,8 +76,8 @@ export function CreateUserDtoToJSON(value?: CreateUserDto | null): any {
|
|
|
76
76
|
}
|
|
77
77
|
return {
|
|
78
78
|
|
|
79
|
-
'email': value.email,
|
|
80
79
|
'code': value.code,
|
|
80
|
+
'email': value.email,
|
|
81
81
|
'redirectUri': value.redirectUri,
|
|
82
82
|
};
|
|
83
83
|
}
|
package/models/ErrorDTO.js
CHANGED
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ErrorDTOToJSON = exports.ErrorDTOFromJSONTyped = exports.ErrorDTOFromJSON = exports.instanceOfErrorDTO = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the ErrorDTO interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfErrorDTO(value) {
|
|
21
22
|
let isInstance = true;
|
|
22
|
-
isInstance = isInstance && "message" in value;
|
|
23
23
|
return isInstance;
|
|
24
24
|
}
|
|
25
25
|
exports.instanceOfErrorDTO = instanceOfErrorDTO;
|
|
@@ -32,7 +32,7 @@ function ErrorDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
'message': json['message'],
|
|
35
|
+
'message': !(0, runtime_1.exists)(json, 'message') ? undefined : json['message'],
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
exports.ErrorDTOFromJSONTyped = ErrorDTOFromJSONTyped;
|
package/models/ErrorDTO.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorDTO.js","sourceRoot":"","sources":["ErrorDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"ErrorDTO.js","sourceRoot":"","sources":["ErrorDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAe/C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAa;IAC5C,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,gDAIC;AAED,SAAgB,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAFD,4CAEC;AAED,SAAgB,qBAAqB,CAAC,IAAS,EAAE,mBAA4B;IACzE,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACpE,CAAC;AACN,CAAC;AARD,sDAQC;AAED,SAAgB,cAAc,CAAC,KAAuB;IAClD,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,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC;AAXD,wCAWC"}
|
package/models/ErrorDTO.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface ErrorDTO {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof ErrorDTO
|
|
26
26
|
*/
|
|
27
|
-
message
|
|
27
|
+
message?: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -32,7 +32,6 @@ export interface ErrorDTO {
|
|
|
32
32
|
*/
|
|
33
33
|
export function instanceOfErrorDTO(value: object): boolean {
|
|
34
34
|
let isInstance = true;
|
|
35
|
-
isInstance = isInstance && "message" in value;
|
|
36
35
|
|
|
37
36
|
return isInstance;
|
|
38
37
|
}
|
|
@@ -47,7 +46,7 @@ export function ErrorDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
47
46
|
}
|
|
48
47
|
return {
|
|
49
48
|
|
|
50
|
-
'message': json['message'],
|
|
49
|
+
'message': !exists(json, 'message') ? undefined : json['message'],
|
|
51
50
|
};
|
|
52
51
|
}
|
|
53
52
|
|
|
@@ -0,0 +1,51 @@
|
|
|
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.SlackAccountResponseDTOToJSON = exports.SlackAccountResponseDTOFromJSONTyped = exports.SlackAccountResponseDTOFromJSON = exports.instanceOfSlackAccountResponseDTO = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SlackAccountResponseDTO interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSlackAccountResponseDTO(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "slackAccountId" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSlackAccountResponseDTO = instanceOfSlackAccountResponseDTO;
|
|
26
|
+
function SlackAccountResponseDTOFromJSON(json) {
|
|
27
|
+
return SlackAccountResponseDTOFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SlackAccountResponseDTOFromJSON = SlackAccountResponseDTOFromJSON;
|
|
30
|
+
function SlackAccountResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'slackAccountId': json['slackAccountId'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.SlackAccountResponseDTOFromJSONTyped = SlackAccountResponseDTOFromJSONTyped;
|
|
39
|
+
function SlackAccountResponseDTOToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'slackAccountId': value.slackAccountId,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.SlackAccountResponseDTOToJSON = SlackAccountResponseDTOToJSON;
|
|
51
|
+
//# sourceMappingURL=SlackAccountResponseDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlackAccountResponseDTO.js","sourceRoot":"","sources":["SlackAccountResponseDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH;;GAEG;AACH,SAAgB,iCAAiC,CAAC,KAAa;IAC3D,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,gBAAgB,IAAI,KAAK,CAAC;IAErD,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,8EAKC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAFD,0EAEC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC;KAC3C,CAAC;AACN,CAAC;AARD,oFAQC;AAED,SAAgB,6BAA6B,CAAC,KAAsC;IAChF,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,gBAAgB,EAAE,KAAK,CAAC,cAAc;KACzC,CAAC;AACN,CAAC;AAXD,sEAWC"}
|
|
@@ -16,32 +16,32 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface SlackAccountResponseDTO
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface SlackAccountResponseDTO {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof SlackAccountResponseDTO
|
|
26
26
|
*/
|
|
27
27
|
slackAccountId: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Check if a given object implements the
|
|
31
|
+
* Check if a given object implements the SlackAccountResponseDTO interface.
|
|
32
32
|
*/
|
|
33
|
-
export function
|
|
33
|
+
export function instanceOfSlackAccountResponseDTO(value: object): boolean {
|
|
34
34
|
let isInstance = true;
|
|
35
35
|
isInstance = isInstance && "slackAccountId" in value;
|
|
36
36
|
|
|
37
37
|
return isInstance;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export function
|
|
41
|
-
return
|
|
40
|
+
export function SlackAccountResponseDTOFromJSON(json: any): SlackAccountResponseDTO {
|
|
41
|
+
return SlackAccountResponseDTOFromJSONTyped(json, false);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export function
|
|
44
|
+
export function SlackAccountResponseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SlackAccountResponseDTO {
|
|
45
45
|
if ((json === undefined) || (json === null)) {
|
|
46
46
|
return json;
|
|
47
47
|
}
|
|
@@ -51,7 +51,7 @@ export function SlackAccountReponseDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
export function
|
|
54
|
+
export function SlackAccountResponseDTOToJSON(value?: SlackAccountResponseDTO | null): any {
|
|
55
55
|
if (value === undefined) {
|
|
56
56
|
return undefined;
|
|
57
57
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.SlackUserDTOToJSON = exports.SlackUserDTOFromJSONTyped = exports.SlackUserDTOFromJSON = exports.instanceOfSlackUserDTO = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SlackUserDTO interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSlackUserDTO(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSlackUserDTO = instanceOfSlackUserDTO;
|
|
26
|
+
function SlackUserDTOFromJSON(json) {
|
|
27
|
+
return SlackUserDTOFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SlackUserDTOFromJSON = SlackUserDTOFromJSON;
|
|
30
|
+
function SlackUserDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
36
|
+
'timeZone': !(0, runtime_1.exists)(json, 'timeZone') ? undefined : json['timeZone'],
|
|
37
|
+
'workingHours': !(0, runtime_1.exists)(json, 'workingHours') ? undefined : json['workingHours'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.SlackUserDTOFromJSONTyped = SlackUserDTOFromJSONTyped;
|
|
41
|
+
function SlackUserDTOToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'email': value.email,
|
|
50
|
+
'timeZone': value.timeZone,
|
|
51
|
+
'workingHours': value.workingHours,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.SlackUserDTOToJSON = SlackUserDTOToJSON;
|
|
55
|
+
//# sourceMappingURL=SlackUserDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlackUserDTO.js","sourceRoot":"","sources":["SlackUserDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AA2B/C;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,wDAIC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAFD,oDAEC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC3D,UAAU,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACpE,cAAc,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;KACnF,CAAC;AACN,CAAC;AAVD,8DAUC;AAED,SAAgB,kBAAkB,CAAC,KAA2B;IAC1D,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,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,cAAc,EAAE,KAAK,CAAC,YAAY;KACrC,CAAC;AACN,CAAC;AAbD,gDAaC"}
|
|
@@ -16,58 +16,55 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface SlackUserDTO
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface SlackUserDTO {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof SlackUserDTO
|
|
26
26
|
*/
|
|
27
|
-
email
|
|
27
|
+
email?: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {
|
|
31
|
-
* @memberof
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SlackUserDTO
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
timeZone?: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
37
|
-
* @memberof
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof SlackUserDTO
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
workingHours?: number;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the SlackUserDTO interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfSlackUserDTO(value: object): boolean {
|
|
46
46
|
let isInstance = true;
|
|
47
|
-
isInstance = isInstance && "email" in value;
|
|
48
|
-
isInstance = isInstance && "workingHours" in value;
|
|
49
|
-
isInstance = isInstance && "timeZone" in value;
|
|
50
47
|
|
|
51
48
|
return isInstance;
|
|
52
49
|
}
|
|
53
50
|
|
|
54
|
-
export function
|
|
55
|
-
return
|
|
51
|
+
export function SlackUserDTOFromJSON(json: any): SlackUserDTO {
|
|
52
|
+
return SlackUserDTOFromJSONTyped(json, false);
|
|
56
53
|
}
|
|
57
54
|
|
|
58
|
-
export function
|
|
55
|
+
export function SlackUserDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SlackUserDTO {
|
|
59
56
|
if ((json === undefined) || (json === null)) {
|
|
60
57
|
return json;
|
|
61
58
|
}
|
|
62
59
|
return {
|
|
63
60
|
|
|
64
|
-
'email': json['email'],
|
|
65
|
-
'
|
|
66
|
-
'
|
|
61
|
+
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
62
|
+
'timeZone': !exists(json, 'timeZone') ? undefined : json['timeZone'],
|
|
63
|
+
'workingHours': !exists(json, 'workingHours') ? undefined : json['workingHours'],
|
|
67
64
|
};
|
|
68
65
|
}
|
|
69
66
|
|
|
70
|
-
export function
|
|
67
|
+
export function SlackUserDTOToJSON(value?: SlackUserDTO | null): any {
|
|
71
68
|
if (value === undefined) {
|
|
72
69
|
return undefined;
|
|
73
70
|
}
|
|
@@ -77,8 +74,8 @@ export function SlackUserDtoToJSON(value?: SlackUserDto | null): any {
|
|
|
77
74
|
return {
|
|
78
75
|
|
|
79
76
|
'email': value.email,
|
|
80
|
-
'workingHours': value.workingHours,
|
|
81
77
|
'timeZone': value.timeZone,
|
|
78
|
+
'workingHours': value.workingHours,
|
|
82
79
|
};
|
|
83
80
|
}
|
|
84
81
|
|
|
@@ -0,0 +1,53 @@
|
|
|
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.UpdateUserDTOToJSON = exports.UpdateUserDTOFromJSONTyped = exports.UpdateUserDTOFromJSON = exports.instanceOfUpdateUserDTO = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UpdateUserDTO interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUpdateUserDTO(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfUpdateUserDTO = instanceOfUpdateUserDTO;
|
|
26
|
+
function UpdateUserDTOFromJSON(json) {
|
|
27
|
+
return UpdateUserDTOFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.UpdateUserDTOFromJSON = UpdateUserDTOFromJSON;
|
|
30
|
+
function UpdateUserDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'timeZone': !(0, runtime_1.exists)(json, 'timeZone') ? undefined : json['timeZone'],
|
|
36
|
+
'workingHours': !(0, runtime_1.exists)(json, 'workingHours') ? undefined : json['workingHours'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.UpdateUserDTOFromJSONTyped = UpdateUserDTOFromJSONTyped;
|
|
40
|
+
function UpdateUserDTOToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'timeZone': value.timeZone,
|
|
49
|
+
'workingHours': value.workingHours,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.UpdateUserDTOToJSON = UpdateUserDTOToJSON;
|
|
53
|
+
//# sourceMappingURL=UpdateUserDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateUserDTO.js","sourceRoot":"","sources":["UpdateUserDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAqB/C;;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,UAAU,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACpE,cAAc,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;KACnF,CAAC;AACN,CAAC;AATD,gEASC;AAED,SAAgB,mBAAmB,CAAC,KAA4B;IAC5D,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;QAC1B,cAAc,EAAE,KAAK,CAAC,YAAY;KACrC,CAAC;AACN,CAAC;AAZD,kDAYC"}
|
|
@@ -16,50 +16,48 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface UpdateUserDTO
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface UpdateUserDTO {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {
|
|
25
|
-
* @memberof
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateUserDTO
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
timeZone?: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {
|
|
31
|
-
* @memberof
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdateUserDTO
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
workingHours?: number;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Check if a given object implements the
|
|
37
|
+
* Check if a given object implements the UpdateUserDTO interface.
|
|
38
38
|
*/
|
|
39
|
-
export function
|
|
39
|
+
export function instanceOfUpdateUserDTO(value: object): boolean {
|
|
40
40
|
let isInstance = true;
|
|
41
|
-
isInstance = isInstance && "workingHours" in value;
|
|
42
|
-
isInstance = isInstance && "timeZone" in value;
|
|
43
41
|
|
|
44
42
|
return isInstance;
|
|
45
43
|
}
|
|
46
44
|
|
|
47
|
-
export function
|
|
48
|
-
return
|
|
45
|
+
export function UpdateUserDTOFromJSON(json: any): UpdateUserDTO {
|
|
46
|
+
return UpdateUserDTOFromJSONTyped(json, false);
|
|
49
47
|
}
|
|
50
48
|
|
|
51
|
-
export function
|
|
49
|
+
export function UpdateUserDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserDTO {
|
|
52
50
|
if ((json === undefined) || (json === null)) {
|
|
53
51
|
return json;
|
|
54
52
|
}
|
|
55
53
|
return {
|
|
56
54
|
|
|
57
|
-
'
|
|
58
|
-
'
|
|
55
|
+
'timeZone': !exists(json, 'timeZone') ? undefined : json['timeZone'],
|
|
56
|
+
'workingHours': !exists(json, 'workingHours') ? undefined : json['workingHours'],
|
|
59
57
|
};
|
|
60
58
|
}
|
|
61
59
|
|
|
62
|
-
export function
|
|
60
|
+
export function UpdateUserDTOToJSON(value?: UpdateUserDTO | null): any {
|
|
63
61
|
if (value === undefined) {
|
|
64
62
|
return undefined;
|
|
65
63
|
}
|
|
@@ -68,8 +66,8 @@ export function UpdateUserDtoToJSON(value?: UpdateUserDto | null): any {
|
|
|
68
66
|
}
|
|
69
67
|
return {
|
|
70
68
|
|
|
71
|
-
'workingHours': value.workingHours,
|
|
72
69
|
'timeZone': value.timeZone,
|
|
70
|
+
'workingHours': value.workingHours,
|
|
73
71
|
};
|
|
74
72
|
}
|
|
75
73
|
|
package/models/index.js
CHANGED
|
@@ -25,19 +25,15 @@ __exportStar(require("./ClientDTO"), exports);
|
|
|
25
25
|
__exportStar(require("./ClientInvoiceDTO"), exports);
|
|
26
26
|
__exportStar(require("./CompanyDTO"), exports);
|
|
27
27
|
__exportStar(require("./CreateEmployeeInvoiceInputDTO"), exports);
|
|
28
|
-
__exportStar(require("./CreateGithubUserDTO"), exports);
|
|
29
28
|
__exportStar(require("./CreateJiraAccountDTO"), exports);
|
|
30
29
|
__exportStar(require("./CreateJiraUserDTO"), exports);
|
|
31
30
|
__exportStar(require("./CreateTokenResponseDTO"), exports);
|
|
32
|
-
__exportStar(require("./
|
|
31
|
+
__exportStar(require("./CreateUserDTO"), exports);
|
|
33
32
|
__exportStar(require("./EmployeeDTO"), exports);
|
|
34
33
|
__exportStar(require("./EmployeeInvoiceDTO"), exports);
|
|
35
34
|
__exportStar(require("./EmployeeProjectDTO"), exports);
|
|
36
35
|
__exportStar(require("./EmployeeUpdateDTO"), exports);
|
|
37
36
|
__exportStar(require("./ErrorDTO"), exports);
|
|
38
|
-
__exportStar(require("./GithubAccountDTO"), exports);
|
|
39
|
-
__exportStar(require("./GithubCommitCountDTO"), exports);
|
|
40
|
-
__exportStar(require("./GithubUserDTO"), exports);
|
|
41
37
|
__exportStar(require("./GlobalTimesheetDTO"), exports);
|
|
42
38
|
__exportStar(require("./GlobalTimesheetEntryDTO"), exports);
|
|
43
39
|
__exportStar(require("./GlobalTimesheetEntryUpdateDTO"), exports);
|
|
@@ -64,8 +60,8 @@ __exportStar(require("./ProjectDTO"), exports);
|
|
|
64
60
|
__exportStar(require("./ProjectInputDTO"), exports);
|
|
65
61
|
__exportStar(require("./ProjectUpdateDTO"), exports);
|
|
66
62
|
__exportStar(require("./RolePermissionsDTO"), exports);
|
|
67
|
-
__exportStar(require("./
|
|
68
|
-
__exportStar(require("./
|
|
63
|
+
__exportStar(require("./SlackAccountResponseDTO"), exports);
|
|
64
|
+
__exportStar(require("./SlackUserDTO"), exports);
|
|
69
65
|
__exportStar(require("./TeamUpdateDTO"), exports);
|
|
70
66
|
__exportStar(require("./TimesheetDTO"), exports);
|
|
71
67
|
__exportStar(require("./TimesheetEmployeeInfo"), exports);
|
|
@@ -74,6 +70,6 @@ __exportStar(require("./TimesheetEntryUpdateDTO"), exports);
|
|
|
74
70
|
__exportStar(require("./TokenDTO"), exports);
|
|
75
71
|
__exportStar(require("./TokenInputDTO"), exports);
|
|
76
72
|
__exportStar(require("./TokenValidationErrorDTO"), exports);
|
|
77
|
-
__exportStar(require("./
|
|
73
|
+
__exportStar(require("./UpdateUserDTO"), exports);
|
|
78
74
|
__exportStar(require("./UserEnrollDTO"), exports);
|
|
79
75
|
//# sourceMappingURL=index.js.map
|
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,qDAAmC;AACnC,+CAA6B;AAC7B,kEAAgD;AAChD,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
|
@@ -9,19 +9,15 @@ export * from './ClientDTO';
|
|
|
9
9
|
export * from './ClientInvoiceDTO';
|
|
10
10
|
export * from './CompanyDTO';
|
|
11
11
|
export * from './CreateEmployeeInvoiceInputDTO';
|
|
12
|
-
export * from './CreateGithubUserDTO';
|
|
13
12
|
export * from './CreateJiraAccountDTO';
|
|
14
13
|
export * from './CreateJiraUserDTO';
|
|
15
14
|
export * from './CreateTokenResponseDTO';
|
|
16
|
-
export * from './
|
|
15
|
+
export * from './CreateUserDTO';
|
|
17
16
|
export * from './EmployeeDTO';
|
|
18
17
|
export * from './EmployeeInvoiceDTO';
|
|
19
18
|
export * from './EmployeeProjectDTO';
|
|
20
19
|
export * from './EmployeeUpdateDTO';
|
|
21
20
|
export * from './ErrorDTO';
|
|
22
|
-
export * from './GithubAccountDTO';
|
|
23
|
-
export * from './GithubCommitCountDTO';
|
|
24
|
-
export * from './GithubUserDTO';
|
|
25
21
|
export * from './GlobalTimesheetDTO';
|
|
26
22
|
export * from './GlobalTimesheetEntryDTO';
|
|
27
23
|
export * from './GlobalTimesheetEntryUpdateDTO';
|
|
@@ -48,8 +44,8 @@ export * from './ProjectDTO';
|
|
|
48
44
|
export * from './ProjectInputDTO';
|
|
49
45
|
export * from './ProjectUpdateDTO';
|
|
50
46
|
export * from './RolePermissionsDTO';
|
|
51
|
-
export * from './
|
|
52
|
-
export * from './
|
|
47
|
+
export * from './SlackAccountResponseDTO';
|
|
48
|
+
export * from './SlackUserDTO';
|
|
53
49
|
export * from './TeamUpdateDTO';
|
|
54
50
|
export * from './TimesheetDTO';
|
|
55
51
|
export * from './TimesheetEmployeeInfo';
|
|
@@ -58,5 +54,5 @@ export * from './TimesheetEntryUpdateDTO';
|
|
|
58
54
|
export * from './TokenDTO';
|
|
59
55
|
export * from './TokenInputDTO';
|
|
60
56
|
export * from './TokenValidationErrorDTO';
|
|
61
|
-
export * from './
|
|
57
|
+
export * from './UpdateUserDTO';
|
|
62
58
|
export * from './UserEnrollDTO';
|