tuix-timesheets-api 0.19.0 → 0.20.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 +1 -0
- package/models/AdjustedTimesheetEntryDTO.js +5 -4
- package/models/AdjustedTimesheetEntryDTO.js.map +1 -1
- package/models/AdjustedTimesheetEntryDTO.ts +15 -8
- package/models/TimeWithoutSeconds.js +51 -0
- package/models/TimeWithoutSeconds.js.map +1 -0
- package/models/TimeWithoutSeconds.ts +65 -0
- package/models/TimesheetEntryDTO.js +5 -4
- package/models/TimesheetEntryDTO.js.map +1 -1
- package/models/TimesheetEntryDTO.ts +15 -8
- package/models/index.js +1 -0
- package/models/index.js.map +1 -1
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AdjustedTimesheetEntryDTOToJSON = exports.AdjustedTimesheetEntryDTOFromJSONTyped = exports.AdjustedTimesheetEntryDTOFromJSON = exports.instanceOfAdjustedTimesheetEntryDTO = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const TimeWithoutSeconds_1 = require("./TimeWithoutSeconds");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the AdjustedTimesheetEntryDTO interface.
|
|
20
21
|
*/
|
|
@@ -32,8 +33,8 @@ function AdjustedTimesheetEntryDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return json;
|
|
33
34
|
}
|
|
34
35
|
return {
|
|
35
|
-
'checkIn': !(0, runtime_1.exists)(json, 'checkIn') ? undefined : json['checkIn'],
|
|
36
|
-
'checkOut': !(0, runtime_1.exists)(json, 'checkOut') ? undefined : json['checkOut'],
|
|
36
|
+
'checkIn': !(0, runtime_1.exists)(json, 'checkIn') ? undefined : (0, TimeWithoutSeconds_1.TimeWithoutSecondsFromJSON)(json['checkIn']),
|
|
37
|
+
'checkOut': !(0, runtime_1.exists)(json, 'checkOut') ? undefined : (0, TimeWithoutSeconds_1.TimeWithoutSecondsFromJSON)(json['checkOut']),
|
|
37
38
|
'comments': !(0, runtime_1.exists)(json, 'comments') ? undefined : json['comments'],
|
|
38
39
|
'day': !(0, runtime_1.exists)(json, 'day') ? undefined : json['day'],
|
|
39
40
|
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
@@ -49,8 +50,8 @@ function AdjustedTimesheetEntryDTOToJSON(value) {
|
|
|
49
50
|
return null;
|
|
50
51
|
}
|
|
51
52
|
return {
|
|
52
|
-
'checkIn': value.checkIn,
|
|
53
|
-
'checkOut': value.checkOut,
|
|
53
|
+
'checkIn': (0, TimeWithoutSeconds_1.TimeWithoutSecondsToJSON)(value.checkIn),
|
|
54
|
+
'checkOut': (0, TimeWithoutSeconds_1.TimeWithoutSecondsToJSON)(value.checkOut),
|
|
54
55
|
'comments': value.comments,
|
|
55
56
|
'day': value.day,
|
|
56
57
|
'id': value.id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdjustedTimesheetEntryDTO.js","sourceRoot":"","sources":["AdjustedTimesheetEntryDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;
|
|
1
|
+
{"version":3,"file":"AdjustedTimesheetEntryDTO.js","sourceRoot":"","sources":["AdjustedTimesheetEntryDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAE/C,6DAI8B;AA8C9B;;GAEG;AACH,SAAgB,mCAAmC,CAAC,KAAa;IAC7D,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,kFAIC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAA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IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAA,6CAAwB,EAAC,KAAK,CAAC,OAAO,CAAC;QAClD,UAAU,EAAE,IAAA,6CAAwB,EAAC,KAAK,CAAC,QAAQ,CAAC;QACpD,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN,CAAC;AAhBD,0EAgBC"}
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { TimeWithoutSeconds } from './TimeWithoutSeconds';
|
|
17
|
+
import {
|
|
18
|
+
TimeWithoutSecondsFromJSON,
|
|
19
|
+
TimeWithoutSecondsFromJSONTyped,
|
|
20
|
+
TimeWithoutSecondsToJSON,
|
|
21
|
+
} from './TimeWithoutSeconds';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -21,16 +28,16 @@ import { exists, mapValues } from '../runtime';
|
|
|
21
28
|
export interface AdjustedTimesheetEntryDTO {
|
|
22
29
|
/**
|
|
23
30
|
*
|
|
24
|
-
* @type {
|
|
31
|
+
* @type {TimeWithoutSeconds}
|
|
25
32
|
* @memberof AdjustedTimesheetEntryDTO
|
|
26
33
|
*/
|
|
27
|
-
checkIn?:
|
|
34
|
+
checkIn?: TimeWithoutSeconds;
|
|
28
35
|
/**
|
|
29
36
|
*
|
|
30
|
-
* @type {
|
|
37
|
+
* @type {TimeWithoutSeconds}
|
|
31
38
|
* @memberof AdjustedTimesheetEntryDTO
|
|
32
39
|
*/
|
|
33
|
-
checkOut?:
|
|
40
|
+
checkOut?: TimeWithoutSeconds;
|
|
34
41
|
/**
|
|
35
42
|
*
|
|
36
43
|
* @type {string}
|
|
@@ -76,8 +83,8 @@ export function AdjustedTimesheetEntryDTOFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
76
83
|
}
|
|
77
84
|
return {
|
|
78
85
|
|
|
79
|
-
'checkIn': !exists(json, 'checkIn') ? undefined : json['checkIn'],
|
|
80
|
-
'checkOut': !exists(json, 'checkOut') ? undefined : json['checkOut'],
|
|
86
|
+
'checkIn': !exists(json, 'checkIn') ? undefined : TimeWithoutSecondsFromJSON(json['checkIn']),
|
|
87
|
+
'checkOut': !exists(json, 'checkOut') ? undefined : TimeWithoutSecondsFromJSON(json['checkOut']),
|
|
81
88
|
'comments': !exists(json, 'comments') ? undefined : json['comments'],
|
|
82
89
|
'day': !exists(json, 'day') ? undefined : json['day'],
|
|
83
90
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
@@ -94,8 +101,8 @@ export function AdjustedTimesheetEntryDTOToJSON(value?: AdjustedTimesheetEntryDT
|
|
|
94
101
|
}
|
|
95
102
|
return {
|
|
96
103
|
|
|
97
|
-
'checkIn': value.checkIn,
|
|
98
|
-
'checkOut': value.checkOut,
|
|
104
|
+
'checkIn': TimeWithoutSecondsToJSON(value.checkIn),
|
|
105
|
+
'checkOut': TimeWithoutSecondsToJSON(value.checkOut),
|
|
99
106
|
'comments': value.comments,
|
|
100
107
|
'day': value.day,
|
|
101
108
|
'id': value.id,
|
|
@@ -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.TimeWithoutSecondsToJSON = exports.TimeWithoutSecondsFromJSONTyped = exports.TimeWithoutSecondsFromJSON = exports.instanceOfTimeWithoutSeconds = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the TimeWithoutSeconds interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfTimeWithoutSeconds(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfTimeWithoutSeconds = instanceOfTimeWithoutSeconds;
|
|
26
|
+
function TimeWithoutSecondsFromJSON(json) {
|
|
27
|
+
return TimeWithoutSecondsFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.TimeWithoutSecondsFromJSON = TimeWithoutSecondsFromJSON;
|
|
30
|
+
function TimeWithoutSecondsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'datatypesTime': !(0, runtime_1.exists)(json, 'datatypes.Time') ? undefined : json['datatypes.Time'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.TimeWithoutSecondsFromJSONTyped = TimeWithoutSecondsFromJSONTyped;
|
|
39
|
+
function TimeWithoutSecondsToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'datatypes.Time': value.datatypesTime,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.TimeWithoutSecondsToJSON = TimeWithoutSecondsToJSON;
|
|
51
|
+
//# sourceMappingURL=TimeWithoutSeconds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeWithoutSeconds.js","sourceRoot":"","sources":["TimeWithoutSeconds.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAe/C;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,oEAIC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAFD,gEAEC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,eAAe,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;KACxF,CAAC;AACN,CAAC;AARD,0EAQC;AAED,SAAgB,wBAAwB,CAAC,KAAiC;IACtE,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,aAAa;KACxC,CAAC;AACN,CAAC;AAXD,4DAWC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 TimeWithoutSeconds
|
|
20
|
+
*/
|
|
21
|
+
export interface TimeWithoutSeconds {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof TimeWithoutSeconds
|
|
26
|
+
*/
|
|
27
|
+
datatypesTime?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the TimeWithoutSeconds interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfTimeWithoutSeconds(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function TimeWithoutSecondsFromJSON(json: any): TimeWithoutSeconds {
|
|
40
|
+
return TimeWithoutSecondsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function TimeWithoutSecondsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimeWithoutSeconds {
|
|
44
|
+
if ((json === undefined) || (json === null)) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'datatypesTime': !exists(json, 'datatypes.Time') ? undefined : json['datatypes.Time'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function TimeWithoutSecondsToJSON(value?: TimeWithoutSeconds | null): any {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'datatypes.Time': value.datatypesTime,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.TimesheetEntryDTOToJSON = exports.TimesheetEntryDTOFromJSONTyped = exports.TimesheetEntryDTOFromJSON = exports.instanceOfTimesheetEntryDTO = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const TimeWithoutSeconds_1 = require("./TimeWithoutSeconds");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the TimesheetEntryDTO interface.
|
|
20
21
|
*/
|
|
@@ -32,8 +33,8 @@ function TimesheetEntryDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return json;
|
|
33
34
|
}
|
|
34
35
|
return {
|
|
35
|
-
'checkIn': !(0, runtime_1.exists)(json, 'checkIn') ? undefined : json['checkIn'],
|
|
36
|
-
'checkOut': !(0, runtime_1.exists)(json, 'checkOut') ? undefined : json['checkOut'],
|
|
36
|
+
'checkIn': !(0, runtime_1.exists)(json, 'checkIn') ? undefined : (0, TimeWithoutSeconds_1.TimeWithoutSecondsFromJSON)(json['checkIn']),
|
|
37
|
+
'checkOut': !(0, runtime_1.exists)(json, 'checkOut') ? undefined : (0, TimeWithoutSeconds_1.TimeWithoutSecondsFromJSON)(json['checkOut']),
|
|
37
38
|
'comments': !(0, runtime_1.exists)(json, 'comments') ? undefined : json['comments'],
|
|
38
39
|
'day': !(0, runtime_1.exists)(json, 'day') ? undefined : json['day'],
|
|
39
40
|
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
@@ -49,8 +50,8 @@ function TimesheetEntryDTOToJSON(value) {
|
|
|
49
50
|
return null;
|
|
50
51
|
}
|
|
51
52
|
return {
|
|
52
|
-
'checkIn': value.checkIn,
|
|
53
|
-
'checkOut': value.checkOut,
|
|
53
|
+
'checkIn': (0, TimeWithoutSeconds_1.TimeWithoutSecondsToJSON)(value.checkIn),
|
|
54
|
+
'checkOut': (0, TimeWithoutSeconds_1.TimeWithoutSecondsToJSON)(value.checkOut),
|
|
54
55
|
'comments': value.comments,
|
|
55
56
|
'day': value.day,
|
|
56
57
|
'id': value.id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimesheetEntryDTO.js","sourceRoot":"","sources":["TimesheetEntryDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;
|
|
1
|
+
{"version":3,"file":"TimesheetEntryDTO.js","sourceRoot":"","sources":["TimesheetEntryDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAE/C,6DAI8B;AA8C9B;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,kEAIC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAFD,8DAEC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,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,IAAA,+CAA0B,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7F,UAAU,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,C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|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { TimeWithoutSeconds } from './TimeWithoutSeconds';
|
|
17
|
+
import {
|
|
18
|
+
TimeWithoutSecondsFromJSON,
|
|
19
|
+
TimeWithoutSecondsFromJSONTyped,
|
|
20
|
+
TimeWithoutSecondsToJSON,
|
|
21
|
+
} from './TimeWithoutSeconds';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -21,16 +28,16 @@ import { exists, mapValues } from '../runtime';
|
|
|
21
28
|
export interface TimesheetEntryDTO {
|
|
22
29
|
/**
|
|
23
30
|
*
|
|
24
|
-
* @type {
|
|
31
|
+
* @type {TimeWithoutSeconds}
|
|
25
32
|
* @memberof TimesheetEntryDTO
|
|
26
33
|
*/
|
|
27
|
-
checkIn?:
|
|
34
|
+
checkIn?: TimeWithoutSeconds;
|
|
28
35
|
/**
|
|
29
36
|
*
|
|
30
|
-
* @type {
|
|
37
|
+
* @type {TimeWithoutSeconds}
|
|
31
38
|
* @memberof TimesheetEntryDTO
|
|
32
39
|
*/
|
|
33
|
-
checkOut?:
|
|
40
|
+
checkOut?: TimeWithoutSeconds;
|
|
34
41
|
/**
|
|
35
42
|
*
|
|
36
43
|
* @type {string}
|
|
@@ -76,8 +83,8 @@ export function TimesheetEntryDTOFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
76
83
|
}
|
|
77
84
|
return {
|
|
78
85
|
|
|
79
|
-
'checkIn': !exists(json, 'checkIn') ? undefined : json['checkIn'],
|
|
80
|
-
'checkOut': !exists(json, 'checkOut') ? undefined : json['checkOut'],
|
|
86
|
+
'checkIn': !exists(json, 'checkIn') ? undefined : TimeWithoutSecondsFromJSON(json['checkIn']),
|
|
87
|
+
'checkOut': !exists(json, 'checkOut') ? undefined : TimeWithoutSecondsFromJSON(json['checkOut']),
|
|
81
88
|
'comments': !exists(json, 'comments') ? undefined : json['comments'],
|
|
82
89
|
'day': !exists(json, 'day') ? undefined : json['day'],
|
|
83
90
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
@@ -94,8 +101,8 @@ export function TimesheetEntryDTOToJSON(value?: TimesheetEntryDTO | null): any {
|
|
|
94
101
|
}
|
|
95
102
|
return {
|
|
96
103
|
|
|
97
|
-
'checkIn': value.checkIn,
|
|
98
|
-
'checkOut': value.checkOut,
|
|
104
|
+
'checkIn': TimeWithoutSecondsToJSON(value.checkIn),
|
|
105
|
+
'checkOut': TimeWithoutSecondsToJSON(value.checkOut),
|
|
99
106
|
'comments': value.comments,
|
|
100
107
|
'day': value.day,
|
|
101
108
|
'id': value.id,
|
package/models/index.js
CHANGED
|
@@ -47,6 +47,7 @@ __exportStar(require("./Subscription"), exports);
|
|
|
47
47
|
__exportStar(require("./SubscriptionSentDto"), exports);
|
|
48
48
|
__exportStar(require("./SubscriptionsSentResponseDto"), exports);
|
|
49
49
|
__exportStar(require("./TeamUpdateDTO"), exports);
|
|
50
|
+
__exportStar(require("./TimeWithoutSeconds"), exports);
|
|
50
51
|
__exportStar(require("./TimesheetDTO"), exports);
|
|
51
52
|
__exportStar(require("./TimesheetEntryDTO"), exports);
|
|
52
53
|
__exportStar(require("./TimesheetEntryUpdateDTO"), 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,yDAAuC;AACvC,8DAA4C;AAC5C,qEAAmD;AACnD,8CAA4B;AAC5B,+CAA6B;AAC7B,0DAAwC;AACxC,mDAAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,6CAA2B;AAC3B,uDAAqC;AACrC,4DAA0C;AAC1C,kEAAgD;AAChD,gEAA8C;AAC9C,qDAAmC;AACnC,8DAA4C;AAC5C,uDAAqC;AACrC,8DAA4C;AAC5C,sDAAoC;AACpC,wDAAsC;AACtC,mDAAiC;AACjC,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,iDAA+B;AAC/B,wDAAsC;AACtC,iEAA+C;AAC/C,kDAAgC;AAChC,iDAA+B;AAC/B,sDAAoC;AACpC,4DAA0C;AAC1C,8CAA4B;AAC5B,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,yDAAuC;AACvC,8DAA4C;AAC5C,qEAAmD;AACnD,8CAA4B;AAC5B,+CAA6B;AAC7B,0DAAwC;AACxC,mDAAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,6CAA2B;AAC3B,uDAAqC;AACrC,4DAA0C;AAC1C,kEAAgD;AAChD,gEAA8C;AAC9C,qDAAmC;AACnC,8DAA4C;AAC5C,uDAAqC;AACrC,8DAA4C;AAC5C,sDAAoC;AACpC,wDAAsC;AACtC,mDAAiC;AACjC,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,iDAA+B;AAC/B,wDAAsC;AACtC,iEAA+C;AAC/C,kDAAgC;AAChC,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC;AACpC,4DAA0C;AAC1C,8CAA4B;AAC5B,kDAAgC"}
|
package/models/index.ts
CHANGED
|
@@ -31,6 +31,7 @@ export * from './Subscription';
|
|
|
31
31
|
export * from './SubscriptionSentDto';
|
|
32
32
|
export * from './SubscriptionsSentResponseDto';
|
|
33
33
|
export * from './TeamUpdateDTO';
|
|
34
|
+
export * from './TimeWithoutSeconds';
|
|
34
35
|
export * from './TimesheetDTO';
|
|
35
36
|
export * from './TimesheetEntryDTO';
|
|
36
37
|
export * from './TimesheetEntryUpdateDTO';
|