tuix-timesheets-api 0.6.76 → 0.6.77

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.
@@ -1,64 +0,0 @@
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.PaginatedEmployeesToJSON = exports.PaginatedEmployeesFromJSONTyped = exports.PaginatedEmployeesFromJSON = exports.instanceOfPaginatedEmployees = void 0;
17
- const EmployeeDTO_1 = require("./EmployeeDTO");
18
- /**
19
- * Check if a given object implements the PaginatedEmployees interface.
20
- */
21
- function instanceOfPaginatedEmployees(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "items" in value;
24
- isInstance = isInstance && "page" in value;
25
- isInstance = isInstance && "pageSize" in value;
26
- isInstance = isInstance && "totalItems" in value;
27
- isInstance = isInstance && "totalPages" in value;
28
- return isInstance;
29
- }
30
- exports.instanceOfPaginatedEmployees = instanceOfPaginatedEmployees;
31
- function PaginatedEmployeesFromJSON(json) {
32
- return PaginatedEmployeesFromJSONTyped(json, false);
33
- }
34
- exports.PaginatedEmployeesFromJSON = PaginatedEmployeesFromJSON;
35
- function PaginatedEmployeesFromJSONTyped(json, ignoreDiscriminator) {
36
- if ((json === undefined) || (json === null)) {
37
- return json;
38
- }
39
- return {
40
- 'items': (json['items'].map(EmployeeDTO_1.EmployeeDTOFromJSON)),
41
- 'page': json['page'],
42
- 'pageSize': json['pageSize'],
43
- 'totalItems': json['totalItems'],
44
- 'totalPages': json['totalPages'],
45
- };
46
- }
47
- exports.PaginatedEmployeesFromJSONTyped = PaginatedEmployeesFromJSONTyped;
48
- function PaginatedEmployeesToJSON(value) {
49
- if (value === undefined) {
50
- return undefined;
51
- }
52
- if (value === null) {
53
- return null;
54
- }
55
- return {
56
- 'items': (value.items.map(EmployeeDTO_1.EmployeeDTOToJSON)),
57
- 'page': value.page,
58
- 'pageSize': value.pageSize,
59
- 'totalItems': value.totalItems,
60
- 'totalPages': value.totalPages,
61
- };
62
- }
63
- exports.PaginatedEmployeesToJSON = PaginatedEmployeesToJSON;
64
- //# sourceMappingURL=PaginatedEmployees.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaginatedEmployees.js","sourceRoot":"","sources":["PaginatedEmployees.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,+CAIuB;AAwCvB;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAC/C,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IACjD,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IAEjD,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,OAAO,EAAE,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,iCAAmB,CAAC,CAAC;QACjE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,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,OAAO,EAAE,CAAE,KAAK,CAAC,KAAoB,CAAC,GAAG,CAAC,+BAAiB,CAAC,CAAC;QAC7D,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN,CAAC;AAfD,4DAeC"}
@@ -1,109 +0,0 @@
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
- import type { EmployeeDTO } from './EmployeeDTO';
17
- import {
18
- EmployeeDTOFromJSON,
19
- EmployeeDTOFromJSONTyped,
20
- EmployeeDTOToJSON,
21
- } from './EmployeeDTO';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface PaginatedEmployees
27
- */
28
- export interface PaginatedEmployees {
29
- /**
30
- *
31
- * @type {Array<EmployeeDTO>}
32
- * @memberof PaginatedEmployees
33
- */
34
- items: Array<EmployeeDTO>;
35
- /**
36
- *
37
- * @type {number}
38
- * @memberof PaginatedEmployees
39
- */
40
- page: number;
41
- /**
42
- *
43
- * @type {number}
44
- * @memberof PaginatedEmployees
45
- */
46
- pageSize: number;
47
- /**
48
- *
49
- * @type {number}
50
- * @memberof PaginatedEmployees
51
- */
52
- totalItems: number;
53
- /**
54
- *
55
- * @type {number}
56
- * @memberof PaginatedEmployees
57
- */
58
- totalPages: number;
59
- }
60
-
61
- /**
62
- * Check if a given object implements the PaginatedEmployees interface.
63
- */
64
- export function instanceOfPaginatedEmployees(value: object): boolean {
65
- let isInstance = true;
66
- isInstance = isInstance && "items" in value;
67
- isInstance = isInstance && "page" in value;
68
- isInstance = isInstance && "pageSize" in value;
69
- isInstance = isInstance && "totalItems" in value;
70
- isInstance = isInstance && "totalPages" in value;
71
-
72
- return isInstance;
73
- }
74
-
75
- export function PaginatedEmployeesFromJSON(json: any): PaginatedEmployees {
76
- return PaginatedEmployeesFromJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedEmployeesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedEmployees {
80
- if ((json === undefined) || (json === null)) {
81
- return json;
82
- }
83
- return {
84
-
85
- 'items': ((json['items'] as Array<any>).map(EmployeeDTOFromJSON)),
86
- 'page': json['page'],
87
- 'pageSize': json['pageSize'],
88
- 'totalItems': json['totalItems'],
89
- 'totalPages': json['totalPages'],
90
- };
91
- }
92
-
93
- export function PaginatedEmployeesToJSON(value?: PaginatedEmployees | null): any {
94
- if (value === undefined) {
95
- return undefined;
96
- }
97
- if (value === null) {
98
- return null;
99
- }
100
- return {
101
-
102
- 'items': ((value.items as Array<any>).map(EmployeeDTOToJSON)),
103
- 'page': value.page,
104
- 'pageSize': value.pageSize,
105
- 'totalItems': value.totalItems,
106
- 'totalPages': value.totalPages,
107
- };
108
- }
109
-