tuix-timesheets-api 0.6.82 → 0.6.84
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/CreateEmployeeInvoiceInputDTO.js +6 -4
- package/models/CreateEmployeeInvoiceInputDTO.js.map +1 -1
- package/models/CreateEmployeeInvoiceInputDTO.ts +9 -6
- package/models/EmployeeInvoiceDTO.js +10 -6
- package/models/EmployeeInvoiceDTO.js.map +1 -1
- package/models/EmployeeInvoiceDTO.ts +15 -10
- package/package.json +1 -1
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateEmployeeInvoiceInputDTOToJSON = exports.CreateEmployeeInvoiceInputDTOFromJSONTyped = exports.CreateEmployeeInvoiceInputDTOFromJSON = exports.instanceOfCreateEmployeeInvoiceInputDTO = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the CreateEmployeeInvoiceInputDTO interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfCreateEmployeeInvoiceInputDTO(value) {
|
|
22
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "adjustment" in value;
|
|
23
|
+
isInstance = isInstance && "dateOverride" in value;
|
|
24
|
+
isInstance = isInstance && "monthDate" in value;
|
|
23
25
|
return isInstance;
|
|
24
26
|
}
|
|
25
27
|
exports.instanceOfCreateEmployeeInvoiceInputDTO = instanceOfCreateEmployeeInvoiceInputDTO;
|
|
@@ -32,9 +34,9 @@ function CreateEmployeeInvoiceInputDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
34
|
return json;
|
|
33
35
|
}
|
|
34
36
|
return {
|
|
35
|
-
'adjustment':
|
|
36
|
-
'dateOverride':
|
|
37
|
-
'monthDate':
|
|
37
|
+
'adjustment': json['adjustment'],
|
|
38
|
+
'dateOverride': json['dateOverride'],
|
|
39
|
+
'monthDate': json['monthDate'],
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
exports.CreateEmployeeInvoiceInputDTOFromJSONTyped = CreateEmployeeInvoiceInputDTOFromJSONTyped;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateEmployeeInvoiceInputDTO.js","sourceRoot":"","sources":["CreateEmployeeInvoiceInputDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"CreateEmployeeInvoiceInputDTO.js","sourceRoot":"","sources":["CreateEmployeeInvoiceInputDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA6BH;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IACjD,UAAU,GAAG,UAAU,IAAI,cAAc,IAAI,KAAK,CAAC;IACnD,UAAU,GAAG,UAAU,IAAI,WAAW,IAAI,KAAK,CAAC;IAEhD,OAAO,UAAU,CAAC;AACtB,CAAC;AAPD,0FAOC;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,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;QACpC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AAVD,gGAUC;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,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,WAAW,EAAE,KAAK,CAAC,SAAS;KAC/B,CAAC;AACN,CAAC;AAbD,kFAaC"}
|
|
@@ -24,19 +24,19 @@ export interface CreateEmployeeInvoiceInputDTO {
|
|
|
24
24
|
* @type {number}
|
|
25
25
|
* @memberof CreateEmployeeInvoiceInputDTO
|
|
26
26
|
*/
|
|
27
|
-
adjustment
|
|
27
|
+
adjustment: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof CreateEmployeeInvoiceInputDTO
|
|
32
32
|
*/
|
|
33
|
-
dateOverride
|
|
33
|
+
dateOverride: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof CreateEmployeeInvoiceInputDTO
|
|
38
38
|
*/
|
|
39
|
-
monthDate
|
|
39
|
+
monthDate: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,6 +44,9 @@ export interface CreateEmployeeInvoiceInputDTO {
|
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfCreateEmployeeInvoiceInputDTO(value: object): boolean {
|
|
46
46
|
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "adjustment" in value;
|
|
48
|
+
isInstance = isInstance && "dateOverride" in value;
|
|
49
|
+
isInstance = isInstance && "monthDate" in value;
|
|
47
50
|
|
|
48
51
|
return isInstance;
|
|
49
52
|
}
|
|
@@ -58,9 +61,9 @@ export function CreateEmployeeInvoiceInputDTOFromJSONTyped(json: any, ignoreDisc
|
|
|
58
61
|
}
|
|
59
62
|
return {
|
|
60
63
|
|
|
61
|
-
'adjustment':
|
|
62
|
-
'dateOverride':
|
|
63
|
-
'monthDate':
|
|
64
|
+
'adjustment': json['adjustment'],
|
|
65
|
+
'dateOverride': json['dateOverride'],
|
|
66
|
+
'monthDate': json['monthDate'],
|
|
64
67
|
};
|
|
65
68
|
}
|
|
66
69
|
|
|
@@ -14,12 +14,16 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.EmployeeInvoiceDTOToJSON = exports.EmployeeInvoiceDTOFromJSONTyped = exports.EmployeeInvoiceDTOFromJSON = exports.instanceOfEmployeeInvoiceDTO = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the EmployeeInvoiceDTO interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfEmployeeInvoiceDTO(value) {
|
|
22
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "createdAt" in value;
|
|
23
|
+
isInstance = isInstance && "gross" in value;
|
|
24
|
+
isInstance = isInstance && "id" in value;
|
|
25
|
+
isInstance = isInstance && "net" in value;
|
|
26
|
+
isInstance = isInstance && "number" in value;
|
|
23
27
|
return isInstance;
|
|
24
28
|
}
|
|
25
29
|
exports.instanceOfEmployeeInvoiceDTO = instanceOfEmployeeInvoiceDTO;
|
|
@@ -32,11 +36,11 @@ function EmployeeInvoiceDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
36
|
return json;
|
|
33
37
|
}
|
|
34
38
|
return {
|
|
35
|
-
'createdAt':
|
|
36
|
-
'gross':
|
|
37
|
-
'id':
|
|
38
|
-
'net':
|
|
39
|
-
'number':
|
|
39
|
+
'createdAt': json['createdAt'],
|
|
40
|
+
'gross': json['gross'],
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'net': json['net'],
|
|
43
|
+
'number': json['number'],
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
46
|
exports.EmployeeInvoiceDTOFromJSONTyped = EmployeeInvoiceDTOFromJSONTyped;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmployeeInvoiceDTO.js","sourceRoot":"","sources":["EmployeeInvoiceDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"EmployeeInvoiceDTO.js","sourceRoot":"","sources":["EmployeeInvoiceDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAyCH;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,WAAW,IAAI,KAAK,CAAC;IAChD,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,IAAI,IAAI,KAAK,CAAC;IACzC,UAAU,GAAG,UAAU,IAAI,KAAK,IAAI,KAAK,CAAC;IAC1C,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AATD,oEASC;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,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAZD,0EAYC;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,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AAfD,4DAeC"}
|
|
@@ -24,31 +24,31 @@ export interface EmployeeInvoiceDTO {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof EmployeeInvoiceDTO
|
|
26
26
|
*/
|
|
27
|
-
createdAt
|
|
27
|
+
createdAt: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof EmployeeInvoiceDTO
|
|
32
32
|
*/
|
|
33
|
-
gross
|
|
33
|
+
gross: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof EmployeeInvoiceDTO
|
|
38
38
|
*/
|
|
39
|
-
id
|
|
39
|
+
id: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {number}
|
|
43
43
|
* @memberof EmployeeInvoiceDTO
|
|
44
44
|
*/
|
|
45
|
-
net
|
|
45
|
+
net: number;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof EmployeeInvoiceDTO
|
|
50
50
|
*/
|
|
51
|
-
number
|
|
51
|
+
number: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
@@ -56,6 +56,11 @@ export interface EmployeeInvoiceDTO {
|
|
|
56
56
|
*/
|
|
57
57
|
export function instanceOfEmployeeInvoiceDTO(value: object): boolean {
|
|
58
58
|
let isInstance = true;
|
|
59
|
+
isInstance = isInstance && "createdAt" in value;
|
|
60
|
+
isInstance = isInstance && "gross" in value;
|
|
61
|
+
isInstance = isInstance && "id" in value;
|
|
62
|
+
isInstance = isInstance && "net" in value;
|
|
63
|
+
isInstance = isInstance && "number" in value;
|
|
59
64
|
|
|
60
65
|
return isInstance;
|
|
61
66
|
}
|
|
@@ -70,11 +75,11 @@ export function EmployeeInvoiceDTOFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
70
75
|
}
|
|
71
76
|
return {
|
|
72
77
|
|
|
73
|
-
'createdAt':
|
|
74
|
-
'gross':
|
|
75
|
-
'id':
|
|
76
|
-
'net':
|
|
77
|
-
'number':
|
|
78
|
+
'createdAt': json['createdAt'],
|
|
79
|
+
'gross': json['gross'],
|
|
80
|
+
'id': json['id'],
|
|
81
|
+
'net': json['net'],
|
|
82
|
+
'number': json['number'],
|
|
78
83
|
};
|
|
79
84
|
}
|
|
80
85
|
|