tuix-timesheets-api 0.6.48 → 0.6.49
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/TimesheetEntryDTO.js +5 -4
- package/models/TimesheetEntryDTO.js.map +1 -1
- package/models/TimesheetEntryDTO.ts +15 -8
- package/models/TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds.js +51 -0
- package/models/TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds.js.map +1 -0
- package/models/TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds.ts +65 -0
- 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 TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1 = require("./TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds");
|
|
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, TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON)(json['checkIn']),
|
|
37
|
+
'checkOut': !(0, runtime_1.exists)(json, 'checkOut') ? undefined : (0, TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON)(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, TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON)(value.checkIn),
|
|
54
|
+
'checkOut': (0, TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON)(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"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,IAAI,CAAC,IAAI,CAAC;QAClD,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;AAbD,wFAaC;AAED,SAAgB,+BAA+B,CAAC,KAAwC;IACpF,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,IAAA,yHAA8D,EAAC,KAAK,CAAC,OAAO,CAAC;QACxF,UAAU,EAAE,IAAA,yHAA8D,EAAC,KAAK,CAAC,QAAQ,CAAC;QAC1F,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 { TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds } from './TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds';
|
|
17
|
+
import {
|
|
18
|
+
TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON,
|
|
19
|
+
TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped,
|
|
20
|
+
TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON,
|
|
21
|
+
} from './TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds';
|
|
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 {TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds}
|
|
25
32
|
* @memberof AdjustedTimesheetEntryDTO
|
|
26
33
|
*/
|
|
27
|
-
checkIn?:
|
|
34
|
+
checkIn?: TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds;
|
|
28
35
|
/**
|
|
29
36
|
*
|
|
30
|
-
* @type {
|
|
37
|
+
* @type {TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds}
|
|
31
38
|
* @memberof AdjustedTimesheetEntryDTO
|
|
32
39
|
*/
|
|
33
|
-
checkOut?:
|
|
40
|
+
checkOut?: TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds;
|
|
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 : TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON(json['checkIn']),
|
|
87
|
+
'checkOut': !exists(json, 'checkOut') ? undefined : TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON(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': TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON(value.checkIn),
|
|
105
|
+
'checkOut': TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON(value.checkOut),
|
|
99
106
|
'comments': value.comments,
|
|
100
107
|
'day': value.day,
|
|
101
108
|
'id': value.id,
|
|
@@ -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 TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1 = require("./TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds");
|
|
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, TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON)(json['checkIn']),
|
|
37
|
+
'checkOut': !(0, runtime_1.exists)(json, 'checkOut') ? undefined : (0, TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON)(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, TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON)(value.checkIn),
|
|
54
|
+
'checkOut': (0, TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds_1.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON)(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,yIAIoE;AA8CpE;;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,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;IACD,OAAO;QAEH,SAAS,EAAE,IAAA,yHAA8D,EAAC,KAAK,CAAC,OAAO,CAAC;QACxF,UAAU,EAAE,IAAA,yHAA8D,EAAC,KAAK,CAAC,QAAQ,CAAC;QAC1F,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,0DAgBC"}
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds } from './TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds';
|
|
17
|
+
import {
|
|
18
|
+
TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON,
|
|
19
|
+
TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped,
|
|
20
|
+
TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON,
|
|
21
|
+
} from './TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds';
|
|
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 {TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds}
|
|
25
32
|
* @memberof TimesheetEntryDTO
|
|
26
33
|
*/
|
|
27
|
-
checkIn?:
|
|
34
|
+
checkIn?: TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds;
|
|
28
35
|
/**
|
|
29
36
|
*
|
|
30
|
-
* @type {
|
|
37
|
+
* @type {TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds}
|
|
31
38
|
* @memberof TimesheetEntryDTO
|
|
32
39
|
*/
|
|
33
|
-
checkOut?:
|
|
40
|
+
checkOut?: TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds;
|
|
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 : TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON(json['checkIn']),
|
|
87
|
+
'checkOut': !exists(json, 'checkOut') ? undefined : TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON(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': TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON(value.checkIn),
|
|
105
|
+
'checkOut': TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON(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.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON = exports.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped = exports.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON = exports.instanceOfTuixProjectsServiceInternalCommonTypesTimeWithoutSeconds = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfTuixProjectsServiceInternalCommonTypesTimeWithoutSeconds(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfTuixProjectsServiceInternalCommonTypesTimeWithoutSeconds = instanceOfTuixProjectsServiceInternalCommonTypesTimeWithoutSeconds;
|
|
26
|
+
function TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON(json) {
|
|
27
|
+
return TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON = TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON;
|
|
30
|
+
function TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped(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.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped = TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped;
|
|
39
|
+
function TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON(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.TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON = TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON;
|
|
51
|
+
//# sourceMappingURL=TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds.js","sourceRoot":"","sources":["TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAe/C;;GAEG;AACH,SAAgB,kEAAkE,CAAC,KAAa;IAC5F,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,gJAIC;AAED,SAAgB,gEAAgE,CAAC,IAAS;IACtF,OAAO,qEAAqE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9F,CAAC;AAFD,4IAEC;AAED,SAAgB,qEAAqE,CAAC,IAAS,EAAE,mBAA4B;IACzH,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,sJAQC;AAED,SAAgB,8DAA8D,CAAC,KAAuE;IAClJ,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,wIAWC"}
|
|
@@ -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 TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds
|
|
20
|
+
*/
|
|
21
|
+
export interface TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds
|
|
26
|
+
*/
|
|
27
|
+
datatypesTime?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfTuixProjectsServiceInternalCommonTypesTimeWithoutSeconds(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSON(json: any): TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds {
|
|
40
|
+
return TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds {
|
|
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 TuixProjectsServiceInternalCommonTypesTimeWithoutSecondsToJSON(value?: TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds | 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
|
+
|
package/models/index.js
CHANGED
|
@@ -52,6 +52,7 @@ __exportStar(require("./TeamUpdateDTO"), exports);
|
|
|
52
52
|
__exportStar(require("./TimesheetDTO"), exports);
|
|
53
53
|
__exportStar(require("./TimesheetEntryDTO"), exports);
|
|
54
54
|
__exportStar(require("./TimesheetEntryUpdateDTO"), exports);
|
|
55
|
+
__exportStar(require("./TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds"), exports);
|
|
55
56
|
__exportStar(require("./UserDTOSc"), exports);
|
|
56
57
|
__exportStar(require("./UserEnrollDTO"), exports);
|
|
57
58
|
//# 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,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,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,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,6FAA2E;AAC3E,8CAA4B;AAC5B,kDAAgC"}
|
package/models/index.ts
CHANGED
|
@@ -36,5 +36,6 @@ export * from './TeamUpdateDTO';
|
|
|
36
36
|
export * from './TimesheetDTO';
|
|
37
37
|
export * from './TimesheetEntryDTO';
|
|
38
38
|
export * from './TimesheetEntryUpdateDTO';
|
|
39
|
+
export * from './TuixProjectsServiceInternalCommonTypesTimeWithoutSeconds';
|
|
39
40
|
export * from './UserDTOSc';
|
|
40
41
|
export * from './UserEnrollDTO';
|