tuix-timesheets-api 0.6.46 → 0.6.47
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/GlobalTimesheetEntryDTO.js +9 -4
- package/models/GlobalTimesheetEntryDTO.js.map +1 -1
- package/models/GlobalTimesheetEntryDTO.ts +18 -6
- package/models/GlobalTimesheetEntryUpdateDTO.js +2 -0
- package/models/GlobalTimesheetEntryUpdateDTO.js.map +1 -1
- package/models/GlobalTimesheetEntryUpdateDTO.ts +8 -0
- package/package.json +1 -1
|
@@ -14,12 +14,15 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.GlobalTimesheetEntryDTOToJSON = exports.GlobalTimesheetEntryDTOFromJSONTyped = exports.GlobalTimesheetEntryDTOFromJSON = exports.instanceOfGlobalTimesheetEntryDTO = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the GlobalTimesheetEntryDTO interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfGlobalTimesheetEntryDTO(value) {
|
|
22
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "comments" in value;
|
|
23
|
+
isInstance = isInstance && "day" in value;
|
|
24
|
+
isInstance = isInstance && "hours" in value;
|
|
25
|
+
isInstance = isInstance && "id" in value;
|
|
23
26
|
return isInstance;
|
|
24
27
|
}
|
|
25
28
|
exports.instanceOfGlobalTimesheetEntryDTO = instanceOfGlobalTimesheetEntryDTO;
|
|
@@ -32,9 +35,10 @@ function GlobalTimesheetEntryDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
35
|
return json;
|
|
33
36
|
}
|
|
34
37
|
return {
|
|
35
|
-
'comments':
|
|
36
|
-
'day':
|
|
37
|
-
'
|
|
38
|
+
'comments': json['comments'],
|
|
39
|
+
'day': json['day'],
|
|
40
|
+
'hours': json['hours'],
|
|
41
|
+
'id': json['id'],
|
|
38
42
|
};
|
|
39
43
|
}
|
|
40
44
|
exports.GlobalTimesheetEntryDTOFromJSONTyped = GlobalTimesheetEntryDTOFromJSONTyped;
|
|
@@ -48,6 +52,7 @@ function GlobalTimesheetEntryDTOToJSON(value) {
|
|
|
48
52
|
return {
|
|
49
53
|
'comments': value.comments,
|
|
50
54
|
'day': value.day,
|
|
55
|
+
'hours': value.hours,
|
|
51
56
|
'id': value.id,
|
|
52
57
|
};
|
|
53
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalTimesheetEntryDTO.js","sourceRoot":"","sources":["GlobalTimesheetEntryDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"GlobalTimesheetEntryDTO.js","sourceRoot":"","sources":["GlobalTimesheetEntryDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAmCH;;GAEG;AACH,SAAgB,iCAAiC,CAAC,KAAa;IAC3D,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAC/C,UAAU,GAAG,UAAU,IAAI,KAAK,IAAI,KAAK,CAAC;IAC1C,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,IAAI,IAAI,KAAK,CAAC;IAEzC,OAAO,UAAU,CAAC;AACtB,CAAC;AARD,8EAQC;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,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;KACnB,CAAC;AACN,CAAC;AAXD,oFAWC;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,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,IAAI,EAAE,KAAK,CAAC,EAAE;KACjB,CAAC;AACN,CAAC;AAdD,sEAcC"}
|
|
@@ -24,19 +24,25 @@ export interface GlobalTimesheetEntryDTO {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof GlobalTimesheetEntryDTO
|
|
26
26
|
*/
|
|
27
|
-
comments
|
|
27
|
+
comments: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof GlobalTimesheetEntryDTO
|
|
32
32
|
*/
|
|
33
|
-
day
|
|
33
|
+
day: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof GlobalTimesheetEntryDTO
|
|
38
|
+
*/
|
|
39
|
+
hours: number;
|
|
34
40
|
/**
|
|
35
41
|
*
|
|
36
42
|
* @type {string}
|
|
37
43
|
* @memberof GlobalTimesheetEntryDTO
|
|
38
44
|
*/
|
|
39
|
-
id
|
|
45
|
+
id: string;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -44,6 +50,10 @@ export interface GlobalTimesheetEntryDTO {
|
|
|
44
50
|
*/
|
|
45
51
|
export function instanceOfGlobalTimesheetEntryDTO(value: object): boolean {
|
|
46
52
|
let isInstance = true;
|
|
53
|
+
isInstance = isInstance && "comments" in value;
|
|
54
|
+
isInstance = isInstance && "day" in value;
|
|
55
|
+
isInstance = isInstance && "hours" in value;
|
|
56
|
+
isInstance = isInstance && "id" in value;
|
|
47
57
|
|
|
48
58
|
return isInstance;
|
|
49
59
|
}
|
|
@@ -58,9 +68,10 @@ export function GlobalTimesheetEntryDTOFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
58
68
|
}
|
|
59
69
|
return {
|
|
60
70
|
|
|
61
|
-
'comments':
|
|
62
|
-
'day':
|
|
63
|
-
'
|
|
71
|
+
'comments': json['comments'],
|
|
72
|
+
'day': json['day'],
|
|
73
|
+
'hours': json['hours'],
|
|
74
|
+
'id': json['id'],
|
|
64
75
|
};
|
|
65
76
|
}
|
|
66
77
|
|
|
@@ -75,6 +86,7 @@ export function GlobalTimesheetEntryDTOToJSON(value?: GlobalTimesheetEntryDTO |
|
|
|
75
86
|
|
|
76
87
|
'comments': value.comments,
|
|
77
88
|
'day': value.day,
|
|
89
|
+
'hours': value.hours,
|
|
78
90
|
'id': value.id,
|
|
79
91
|
};
|
|
80
92
|
}
|
|
@@ -33,6 +33,7 @@ function GlobalTimesheetEntryUpdateDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'comments': !(0, runtime_1.exists)(json, 'comments') ? undefined : json['comments'],
|
|
36
|
+
'hours': !(0, runtime_1.exists)(json, 'hours') ? undefined : json['hours'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
exports.GlobalTimesheetEntryUpdateDTOFromJSONTyped = GlobalTimesheetEntryUpdateDTOFromJSONTyped;
|
|
@@ -45,6 +46,7 @@ function GlobalTimesheetEntryUpdateDTOToJSON(value) {
|
|
|
45
46
|
}
|
|
46
47
|
return {
|
|
47
48
|
'comments': value.comments,
|
|
49
|
+
'hours': value.hours,
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
exports.GlobalTimesheetEntryUpdateDTOToJSON = GlobalTimesheetEntryUpdateDTOToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalTimesheetEntryUpdateDTO.js","sourceRoot":"","sources":["GlobalTimesheetEntryUpdateDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;
|
|
1
|
+
{"version":3,"file":"GlobalTimesheetEntryUpdateDTO.js","sourceRoot":"","sources":["GlobalTimesheetEntryUpdateDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAqB/C;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,0FAIC;AAED,SAAgB,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAFD,sFAEC;AAED,SAAgB,0CAA0C,CAAC,IAAS,EAAE,mBAA4B;IAC9F,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,OAAO,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC9D,CAAC;AACN,CAAC;AATD,gGASC;AAED,SAAgB,mCAAmC,CAAC,KAA4C;IAC5F,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,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN,CAAC;AAZD,kFAYC"}
|
|
@@ -25,6 +25,12 @@ export interface GlobalTimesheetEntryUpdateDTO {
|
|
|
25
25
|
* @memberof GlobalTimesheetEntryUpdateDTO
|
|
26
26
|
*/
|
|
27
27
|
comments?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof GlobalTimesheetEntryUpdateDTO
|
|
32
|
+
*/
|
|
33
|
+
hours?: number;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -47,6 +53,7 @@ export function GlobalTimesheetEntryUpdateDTOFromJSONTyped(json: any, ignoreDisc
|
|
|
47
53
|
return {
|
|
48
54
|
|
|
49
55
|
'comments': !exists(json, 'comments') ? undefined : json['comments'],
|
|
56
|
+
'hours': !exists(json, 'hours') ? undefined : json['hours'],
|
|
50
57
|
};
|
|
51
58
|
}
|
|
52
59
|
|
|
@@ -60,6 +67,7 @@ export function GlobalTimesheetEntryUpdateDTOToJSON(value?: GlobalTimesheetEntry
|
|
|
60
67
|
return {
|
|
61
68
|
|
|
62
69
|
'comments': value.comments,
|
|
70
|
+
'hours': value.hours,
|
|
63
71
|
};
|
|
64
72
|
}
|
|
65
73
|
|