tuix-timesheets-api 0.56.0 → 0.57.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.
@@ -4,6 +4,7 @@ apis/index.ts
4
4
  index.ts
5
5
  models/AccountInfoDTO.ts
6
6
  models/AdjustedTimesheetDTO.ts
7
+ models/AdjustedTimesheetEmployeeInfo.ts
7
8
  models/AdjustedTimesheetEntryDTO.ts
8
9
  models/AdjustedTimesheetUpdateEntryDTO.ts
9
10
  models/ClientDTO.ts
@@ -30,8 +31,6 @@ models/GlobalTimesheetEntryDTO.ts
30
31
  models/GlobalTimesheetEntryUpdateDTO.ts
31
32
  models/HolidayCreateDTO.ts
32
33
  models/HolidayDTO.ts
33
- models/InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo.ts
34
- models/InternalEmployeeTimesheetDtosTimesheetEmployeeInfo.ts
35
34
  models/JiraAccountDto.ts
36
35
  models/JiraUserDto.ts
37
36
  models/MarkInvoicePaidDTO.ts
@@ -62,6 +61,7 @@ models/SubscriptionSentDto.ts
62
61
  models/SubscriptionsSentResponseDto.ts
63
62
  models/TeamUpdateDTO.ts
64
63
  models/TimesheetDTO.ts
64
+ models/TimesheetEmployeeInfo.ts
65
65
  models/TimesheetEntryDTO.ts
66
66
  models/TimesheetEntryUpdateDTO.ts
67
67
  models/TokenDTO.ts
@@ -15,8 +15,8 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AdjustedTimesheetDTOToJSON = exports.AdjustedTimesheetDTOFromJSONTyped = exports.AdjustedTimesheetDTOFromJSON = exports.instanceOfAdjustedTimesheetDTO = void 0;
17
17
  const runtime_1 = require("../runtime");
18
+ const AdjustedTimesheetEmployeeInfo_1 = require("./AdjustedTimesheetEmployeeInfo");
18
19
  const AdjustedTimesheetEntryDTO_1 = require("./AdjustedTimesheetEntryDTO");
19
- const InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo_1 = require("./InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo");
20
20
  /**
21
21
  * Check if a given object implements the AdjustedTimesheetDTO interface.
22
22
  */
@@ -39,7 +39,7 @@ function AdjustedTimesheetDTOFromJSONTyped(json, ignoreDiscriminator) {
39
39
  return json;
40
40
  }
41
41
  return {
42
- 'employeeData': !(0, runtime_1.exists)(json, 'employeeData') ? undefined : (0, InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo_1.InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSON)(json['employeeData']),
42
+ 'employeeData': !(0, runtime_1.exists)(json, 'employeeData') ? undefined : (0, AdjustedTimesheetEmployeeInfo_1.AdjustedTimesheetEmployeeInfoFromJSON)(json['employeeData']),
43
43
  'employeeID': json['employeeID'],
44
44
  'entries': !(0, runtime_1.exists)(json, 'entries') ? undefined : (json['entries'].map(AdjustedTimesheetEntryDTO_1.AdjustedTimesheetEntryDTOFromJSON)),
45
45
  'expectedHours': !(0, runtime_1.exists)(json, 'expectedHours') ? undefined : json['expectedHours'],
@@ -58,7 +58,7 @@ function AdjustedTimesheetDTOToJSON(value) {
58
58
  return null;
59
59
  }
60
60
  return {
61
- 'employeeData': (0, InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo_1.InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoToJSON)(value.employeeData),
61
+ 'employeeData': (0, AdjustedTimesheetEmployeeInfo_1.AdjustedTimesheetEmployeeInfoToJSON)(value.employeeData),
62
62
  'employeeID': value.employeeID,
63
63
  'entries': value.entries === undefined ? undefined : (value.entries.map(AdjustedTimesheetEntryDTO_1.AdjustedTimesheetEntryDTOToJSON)),
64
64
  'expectedHours': value.expectedHours,
@@ -1 +1 @@
1
- {"version":3,"file":"AdjustedTimesheetDTO.js","sourceRoot":"","sources":["AdjustedTimesheetDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAE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I,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAfD,8EAeC;AAED,SAAgB,0BAA0B,CAAC,KAAmC;IAC1E,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,cAAc,EAAE,IAAA,mEAAmC,EAAC,KAAK,CAAC,YAAY,CAAC;QACvE,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,SAAS,EAAE,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,OAAsB,CAAC,GAAG,CAAC,2DAA+B,CAAC,CAAC;QACzH,eAAe,EAAE,KAAK,CAAC,aAAa;QACpC,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AAlBD,gEAkBC"}
@@ -13,18 +13,18 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import type { AdjustedTimesheetEmployeeInfo } from './AdjustedTimesheetEmployeeInfo';
17
+ import {
18
+ AdjustedTimesheetEmployeeInfoFromJSON,
19
+ AdjustedTimesheetEmployeeInfoFromJSONTyped,
20
+ AdjustedTimesheetEmployeeInfoToJSON,
21
+ } from './AdjustedTimesheetEmployeeInfo';
16
22
  import type { AdjustedTimesheetEntryDTO } from './AdjustedTimesheetEntryDTO';
17
23
  import {
18
24
  AdjustedTimesheetEntryDTOFromJSON,
19
25
  AdjustedTimesheetEntryDTOFromJSONTyped,
20
26
  AdjustedTimesheetEntryDTOToJSON,
21
27
  } from './AdjustedTimesheetEntryDTO';
22
- import type { InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo } from './InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo';
23
- import {
24
- InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSON,
25
- InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSONTyped,
26
- InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoToJSON,
27
- } from './InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo';
28
28
 
29
29
  /**
30
30
  *
@@ -34,10 +34,10 @@ import {
34
34
  export interface AdjustedTimesheetDTO {
35
35
  /**
36
36
  *
37
- * @type {InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo}
37
+ * @type {AdjustedTimesheetEmployeeInfo}
38
38
  * @memberof AdjustedTimesheetDTO
39
39
  */
40
- employeeData?: InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo;
40
+ employeeData?: AdjustedTimesheetEmployeeInfo;
41
41
  /**
42
42
  *
43
43
  * @type {string}
@@ -106,7 +106,7 @@ export function AdjustedTimesheetDTOFromJSONTyped(json: any, ignoreDiscriminator
106
106
  }
107
107
  return {
108
108
 
109
- 'employeeData': !exists(json, 'employeeData') ? undefined : InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSON(json['employeeData']),
109
+ 'employeeData': !exists(json, 'employeeData') ? undefined : AdjustedTimesheetEmployeeInfoFromJSON(json['employeeData']),
110
110
  'employeeID': json['employeeID'],
111
111
  'entries': !exists(json, 'entries') ? undefined : ((json['entries'] as Array<any>).map(AdjustedTimesheetEntryDTOFromJSON)),
112
112
  'expectedHours': !exists(json, 'expectedHours') ? undefined : json['expectedHours'],
@@ -126,7 +126,7 @@ export function AdjustedTimesheetDTOToJSON(value?: AdjustedTimesheetDTO | null):
126
126
  }
127
127
  return {
128
128
 
129
- 'employeeData': InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoToJSON(value.employeeData),
129
+ 'employeeData': AdjustedTimesheetEmployeeInfoToJSON(value.employeeData),
130
130
  'employeeID': value.employeeID,
131
131
  'entries': value.entries === undefined ? undefined : ((value.entries as Array<any>).map(AdjustedTimesheetEntryDTOToJSON)),
132
132
  'expectedHours': value.expectedHours,
@@ -0,0 +1,53 @@
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.AdjustedTimesheetEmployeeInfoToJSON = exports.AdjustedTimesheetEmployeeInfoFromJSONTyped = exports.AdjustedTimesheetEmployeeInfoFromJSON = exports.instanceOfAdjustedTimesheetEmployeeInfo = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the AdjustedTimesheetEmployeeInfo interface.
20
+ */
21
+ function instanceOfAdjustedTimesheetEmployeeInfo(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfAdjustedTimesheetEmployeeInfo = instanceOfAdjustedTimesheetEmployeeInfo;
26
+ function AdjustedTimesheetEmployeeInfoFromJSON(json) {
27
+ return AdjustedTimesheetEmployeeInfoFromJSONTyped(json, false);
28
+ }
29
+ exports.AdjustedTimesheetEmployeeInfoFromJSON = AdjustedTimesheetEmployeeInfoFromJSON;
30
+ function AdjustedTimesheetEmployeeInfoFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
36
+ 'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
37
+ };
38
+ }
39
+ exports.AdjustedTimesheetEmployeeInfoFromJSONTyped = AdjustedTimesheetEmployeeInfoFromJSONTyped;
40
+ function AdjustedTimesheetEmployeeInfoToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'firstName': value.firstName,
49
+ 'lastName': value.lastName,
50
+ };
51
+ }
52
+ exports.AdjustedTimesheetEmployeeInfoToJSON = AdjustedTimesheetEmployeeInfoToJSON;
53
+ //# sourceMappingURL=AdjustedTimesheetEmployeeInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdjustedTimesheetEmployeeInfo.js","sourceRoot":"","sources":["AdjustedTimesheetEmployeeInfo.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,WAAW,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACvE,UAAU,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;KACvE,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,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN,CAAC;AAZD,kFAYC"}
@@ -16,37 +16,37 @@ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface InternalEmployeeTimesheetDtosTimesheetEmployeeInfo
19
+ * @interface AdjustedTimesheetEmployeeInfo
20
20
  */
21
- export interface InternalEmployeeTimesheetDtosTimesheetEmployeeInfo {
21
+ export interface AdjustedTimesheetEmployeeInfo {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof InternalEmployeeTimesheetDtosTimesheetEmployeeInfo
25
+ * @memberof AdjustedTimesheetEmployeeInfo
26
26
  */
27
27
  firstName?: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof InternalEmployeeTimesheetDtosTimesheetEmployeeInfo
31
+ * @memberof AdjustedTimesheetEmployeeInfo
32
32
  */
33
33
  lastName?: string;
34
34
  }
35
35
 
36
36
  /**
37
- * Check if a given object implements the InternalEmployeeTimesheetDtosTimesheetEmployeeInfo interface.
37
+ * Check if a given object implements the AdjustedTimesheetEmployeeInfo interface.
38
38
  */
39
- export function instanceOfInternalEmployeeTimesheetDtosTimesheetEmployeeInfo(value: object): boolean {
39
+ export function instanceOfAdjustedTimesheetEmployeeInfo(value: object): boolean {
40
40
  let isInstance = true;
41
41
 
42
42
  return isInstance;
43
43
  }
44
44
 
45
- export function InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSON(json: any): InternalEmployeeTimesheetDtosTimesheetEmployeeInfo {
46
- return InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped(json, false);
45
+ export function AdjustedTimesheetEmployeeInfoFromJSON(json: any): AdjustedTimesheetEmployeeInfo {
46
+ return AdjustedTimesheetEmployeeInfoFromJSONTyped(json, false);
47
47
  }
48
48
 
49
- export function InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalEmployeeTimesheetDtosTimesheetEmployeeInfo {
49
+ export function AdjustedTimesheetEmployeeInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdjustedTimesheetEmployeeInfo {
50
50
  if ((json === undefined) || (json === null)) {
51
51
  return json;
52
52
  }
@@ -57,7 +57,7 @@ export function InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped(
57
57
  };
58
58
  }
59
59
 
60
- export function InternalEmployeeTimesheetDtosTimesheetEmployeeInfoToJSON(value?: InternalEmployeeTimesheetDtosTimesheetEmployeeInfo | null): any {
60
+ export function AdjustedTimesheetEmployeeInfoToJSON(value?: AdjustedTimesheetEmployeeInfo | null): any {
61
61
  if (value === undefined) {
62
62
  return undefined;
63
63
  }
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.TimesheetDTOToJSON = exports.TimesheetDTOFromJSONTyped = exports.TimesheetDTOFromJSON = exports.instanceOfTimesheetDTO = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const InternalEmployeeTimesheetDtosTimesheetEmployeeInfo_1 = require("./InternalEmployeeTimesheetDtosTimesheetEmployeeInfo");
18
+ const TimesheetEmployeeInfo_1 = require("./TimesheetEmployeeInfo");
19
19
  const TimesheetEntryDTO_1 = require("./TimesheetEntryDTO");
20
20
  /**
21
21
  * Check if a given object implements the TimesheetDTO interface.
@@ -34,7 +34,7 @@ function TimesheetDTOFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return json;
35
35
  }
36
36
  return {
37
- 'employeeData': !(0, runtime_1.exists)(json, 'employeeData') ? undefined : (0, InternalEmployeeTimesheetDtosTimesheetEmployeeInfo_1.InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSON)(json['employeeData']),
37
+ 'employeeData': !(0, runtime_1.exists)(json, 'employeeData') ? undefined : (0, TimesheetEmployeeInfo_1.TimesheetEmployeeInfoFromJSON)(json['employeeData']),
38
38
  'employeeID': !(0, runtime_1.exists)(json, 'employeeID') ? undefined : json['employeeID'],
39
39
  'expectedHours': !(0, runtime_1.exists)(json, 'expectedHours') ? undefined : json['expectedHours'],
40
40
  'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
@@ -53,7 +53,7 @@ function TimesheetDTOToJSON(value) {
53
53
  return null;
54
54
  }
55
55
  return {
56
- 'employeeData': (0, InternalEmployeeTimesheetDtosTimesheetEmployeeInfo_1.InternalEmployeeTimesheetDtosTimesheetEmployeeInfoToJSON)(value.employeeData),
56
+ 'employeeData': (0, TimesheetEmployeeInfo_1.TimesheetEmployeeInfoToJSON)(value.employeeData),
57
57
  'employeeID': value.employeeID,
58
58
  'expectedHours': value.expectedHours,
59
59
  'id': value.id,
@@ -1 +1 @@
1
- {"version":3,"file":"TimesheetDTO.js","sourceRoot":"","sources":["TimesheetDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAE/C,6HAI8D;AAE9D,2DAI6B;AA0D7B;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,wDAIC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAFD,oDAEC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,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AAC,CAAC;KAClJ,CAAC;AACN,CAAC;AAfD,8DAeC;AAED,SAAgB,kBAAkB,CAAC,KAA2B;IAC1D,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,cAAc,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,YAAY,CAAC;QAC/D,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,eAAe,EAAE,KAAK,CAAC,aAAa;QACpC,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,mBAAmB,EAAE,KAAK,CAAC,gBAAgB,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,gBAA+B,CAAC,GAAG,CAAC,2CAAuB,CAAC,CAAC;KAChJ,CAAC;AACN,CAAC;AAlBD,gDAkBC"}
@@ -13,12 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { InternalEmployeeTimesheetDtosTimesheetEmployeeInfo } from './InternalEmployeeTimesheetDtosTimesheetEmployeeInfo';
16
+ import type { TimesheetEmployeeInfo } from './TimesheetEmployeeInfo';
17
17
  import {
18
- InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSON,
19
- InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped,
20
- InternalEmployeeTimesheetDtosTimesheetEmployeeInfoToJSON,
21
- } from './InternalEmployeeTimesheetDtosTimesheetEmployeeInfo';
18
+ TimesheetEmployeeInfoFromJSON,
19
+ TimesheetEmployeeInfoFromJSONTyped,
20
+ TimesheetEmployeeInfoToJSON,
21
+ } from './TimesheetEmployeeInfo';
22
22
  import type { TimesheetEntryDTO } from './TimesheetEntryDTO';
23
23
  import {
24
24
  TimesheetEntryDTOFromJSON,
@@ -34,10 +34,10 @@ import {
34
34
  export interface TimesheetDTO {
35
35
  /**
36
36
  *
37
- * @type {InternalEmployeeTimesheetDtosTimesheetEmployeeInfo}
37
+ * @type {TimesheetEmployeeInfo}
38
38
  * @memberof TimesheetDTO
39
39
  */
40
- employeeData?: InternalEmployeeTimesheetDtosTimesheetEmployeeInfo;
40
+ employeeData?: TimesheetEmployeeInfo;
41
41
  /**
42
42
  *
43
43
  * @type {string}
@@ -101,7 +101,7 @@ export function TimesheetDTOFromJSONTyped(json: any, ignoreDiscriminator: boolea
101
101
  }
102
102
  return {
103
103
 
104
- 'employeeData': !exists(json, 'employeeData') ? undefined : InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSON(json['employeeData']),
104
+ 'employeeData': !exists(json, 'employeeData') ? undefined : TimesheetEmployeeInfoFromJSON(json['employeeData']),
105
105
  'employeeID': !exists(json, 'employeeID') ? undefined : json['employeeID'],
106
106
  'expectedHours': !exists(json, 'expectedHours') ? undefined : json['expectedHours'],
107
107
  'id': !exists(json, 'id') ? undefined : json['id'],
@@ -121,7 +121,7 @@ export function TimesheetDTOToJSON(value?: TimesheetDTO | null): any {
121
121
  }
122
122
  return {
123
123
 
124
- 'employeeData': InternalEmployeeTimesheetDtosTimesheetEmployeeInfoToJSON(value.employeeData),
124
+ 'employeeData': TimesheetEmployeeInfoToJSON(value.employeeData),
125
125
  'employeeID': value.employeeID,
126
126
  'expectedHours': value.expectedHours,
127
127
  'id': value.id,
@@ -0,0 +1,53 @@
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.TimesheetEmployeeInfoToJSON = exports.TimesheetEmployeeInfoFromJSONTyped = exports.TimesheetEmployeeInfoFromJSON = exports.instanceOfTimesheetEmployeeInfo = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the TimesheetEmployeeInfo interface.
20
+ */
21
+ function instanceOfTimesheetEmployeeInfo(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfTimesheetEmployeeInfo = instanceOfTimesheetEmployeeInfo;
26
+ function TimesheetEmployeeInfoFromJSON(json) {
27
+ return TimesheetEmployeeInfoFromJSONTyped(json, false);
28
+ }
29
+ exports.TimesheetEmployeeInfoFromJSON = TimesheetEmployeeInfoFromJSON;
30
+ function TimesheetEmployeeInfoFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
36
+ 'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
37
+ };
38
+ }
39
+ exports.TimesheetEmployeeInfoFromJSONTyped = TimesheetEmployeeInfoFromJSONTyped;
40
+ function TimesheetEmployeeInfoToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'firstName': value.firstName,
49
+ 'lastName': value.lastName,
50
+ };
51
+ }
52
+ exports.TimesheetEmployeeInfoToJSON = TimesheetEmployeeInfoToJSON;
53
+ //# sourceMappingURL=TimesheetEmployeeInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimesheetEmployeeInfo.js","sourceRoot":"","sources":["TimesheetEmployeeInfo.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAqB/C;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,0EAIC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAFD,sEAEC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,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,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACvE,UAAU,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AATD,gFASC;AAED,SAAgB,2BAA2B,CAAC,KAAoC;IAC5E,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,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN,CAAC;AAZD,kEAYC"}
@@ -0,0 +1,73 @@
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 TimesheetEmployeeInfo
20
+ */
21
+ export interface TimesheetEmployeeInfo {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TimesheetEmployeeInfo
26
+ */
27
+ firstName?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TimesheetEmployeeInfo
32
+ */
33
+ lastName?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the TimesheetEmployeeInfo interface.
38
+ */
39
+ export function instanceOfTimesheetEmployeeInfo(value: object): boolean {
40
+ let isInstance = true;
41
+
42
+ return isInstance;
43
+ }
44
+
45
+ export function TimesheetEmployeeInfoFromJSON(json: any): TimesheetEmployeeInfo {
46
+ return TimesheetEmployeeInfoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function TimesheetEmployeeInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimesheetEmployeeInfo {
50
+ if ((json === undefined) || (json === null)) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
56
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
57
+ };
58
+ }
59
+
60
+ export function TimesheetEmployeeInfoToJSON(value?: TimesheetEmployeeInfo | null): any {
61
+ if (value === undefined) {
62
+ return undefined;
63
+ }
64
+ if (value === null) {
65
+ return null;
66
+ }
67
+ return {
68
+
69
+ 'firstName': value.firstName,
70
+ 'lastName': value.lastName,
71
+ };
72
+ }
73
+
package/models/index.js CHANGED
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./AccountInfoDTO"), exports);
20
20
  __exportStar(require("./AdjustedTimesheetDTO"), exports);
21
+ __exportStar(require("./AdjustedTimesheetEmployeeInfo"), exports);
21
22
  __exportStar(require("./AdjustedTimesheetEntryDTO"), exports);
22
23
  __exportStar(require("./AdjustedTimesheetUpdateEntryDTO"), exports);
23
24
  __exportStar(require("./ClientDTO"), exports);
@@ -44,8 +45,6 @@ __exportStar(require("./GlobalTimesheetEntryDTO"), exports);
44
45
  __exportStar(require("./GlobalTimesheetEntryUpdateDTO"), exports);
45
46
  __exportStar(require("./HolidayCreateDTO"), exports);
46
47
  __exportStar(require("./HolidayDTO"), exports);
47
- __exportStar(require("./InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo"), exports);
48
- __exportStar(require("./InternalEmployeeTimesheetDtosTimesheetEmployeeInfo"), exports);
49
48
  __exportStar(require("./JiraAccountDto"), exports);
50
49
  __exportStar(require("./JiraUserDto"), exports);
51
50
  __exportStar(require("./MarkInvoicePaidDTO"), exports);
@@ -76,6 +75,7 @@ __exportStar(require("./SubscriptionSentDto"), exports);
76
75
  __exportStar(require("./SubscriptionsSentResponseDto"), exports);
77
76
  __exportStar(require("./TeamUpdateDTO"), exports);
78
77
  __exportStar(require("./TimesheetDTO"), exports);
78
+ __exportStar(require("./TimesheetEmployeeInfo"), exports);
79
79
  __exportStar(require("./TimesheetEntryDTO"), exports);
80
80
  __exportStar(require("./TimesheetEntryUpdateDTO"), exports);
81
81
  __exportStar(require("./TokenDTO"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,mDAAiC;AACjC,yDAAuC;AACvC,8DAA4C;AAC5C,oEAAkD;AAClD,8CAA4B;AAC5B,qDAAmC;AACnC,+CAA6B;AAC7B,kEAAgD;AAChD,wDAAsC;AACtC,yDAAuC;AACvC,sDAAoC;AACpC,0DAAwC;AACxC,2DAAyC;AACzC,kDAAgC;AAChC,qDAAmC;AACnC,gDAA8B;AAC9B,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,6CAA2B;AAC3B,qDAA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AAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,8DAA4C;AAC5C,8DAA4C;AAC5C,8DAA4C;AAC5C,uDAAqC;AACrC,8DAA4C;AAC5C,yDAAuC;AACvC,sDAAoC;AACpC,wDAAsC;AACtC,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,uDAAqC;AACrC,sDAAoC;AACpC,2DAAyC;AACzC,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,iEAA+C;AAC/C,kDAAgC;AAChC,iDAA+B;AAC/B,0DAAwC;AACxC,sDAAoC;AACpC,4DAA0C;AAC1C,6CAA2B;AAC3B,kDAAgC;AAChC,4DAA0C;AAC1C,kDAAgC;AAChC,kDAAgC"}
package/models/index.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  /* eslint-disable */
3
3
  export * from './AccountInfoDTO';
4
4
  export * from './AdjustedTimesheetDTO';
5
+ export * from './AdjustedTimesheetEmployeeInfo';
5
6
  export * from './AdjustedTimesheetEntryDTO';
6
7
  export * from './AdjustedTimesheetUpdateEntryDTO';
7
8
  export * from './ClientDTO';
@@ -28,8 +29,6 @@ export * from './GlobalTimesheetEntryDTO';
28
29
  export * from './GlobalTimesheetEntryUpdateDTO';
29
30
  export * from './HolidayCreateDTO';
30
31
  export * from './HolidayDTO';
31
- export * from './InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo';
32
- export * from './InternalEmployeeTimesheetDtosTimesheetEmployeeInfo';
33
32
  export * from './JiraAccountDto';
34
33
  export * from './JiraUserDto';
35
34
  export * from './MarkInvoicePaidDTO';
@@ -60,6 +59,7 @@ export * from './SubscriptionSentDto';
60
59
  export * from './SubscriptionsSentResponseDto';
61
60
  export * from './TeamUpdateDTO';
62
61
  export * from './TimesheetDTO';
62
+ export * from './TimesheetEmployeeInfo';
63
63
  export * from './TimesheetEntryDTO';
64
64
  export * from './TimesheetEntryUpdateDTO';
65
65
  export * from './TokenDTO';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuix-timesheets-api",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "description": "This package facilitates the client request to tuix timesheets api",
5
5
  "main": "index.js",
6
6
  "private": false,
@@ -1,53 +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.InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoToJSON = exports.InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSONTyped = exports.InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSON = exports.instanceOfInternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo interface.
20
- */
21
- function instanceOfInternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo(value) {
22
- let isInstance = true;
23
- return isInstance;
24
- }
25
- exports.instanceOfInternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo = instanceOfInternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo;
26
- function InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSON(json) {
27
- return InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSONTyped(json, false);
28
- }
29
- exports.InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSON = InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSON;
30
- function InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- return {
35
- 'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
36
- 'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
37
- };
38
- }
39
- exports.InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSONTyped = InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSONTyped;
40
- function InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'firstName': value.firstName,
49
- 'lastName': value.lastName,
50
- };
51
- }
52
- exports.InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoToJSON = InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoToJSON;
53
- //# sourceMappingURL=InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo.js","sourceRoot":"","sources":["InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAqB/C;;GAEG;AACH,SAAgB,oEAAoE,CAAC,KAAa;IAC9F,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,oJAIC;AAED,SAAgB,kEAAkE,CAAC,IAAS;IACxF,OAAO,uEAAuE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChG,CAAC;AAFD,gJAEC;AAED,SAAgB,uEAAuE,CAAC,IAAS,EAAE,mBAA4B;IAC3H,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,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACvE,UAAU,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AATD,0JASC;AAED,SAAgB,gEAAgE,CAAC,KAAyE;IACtJ,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,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN,CAAC;AAZD,4IAYC"}
@@ -1,73 +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
- /**
17
- *
18
- * @export
19
- * @interface InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo
20
- */
21
- export interface InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo
26
- */
27
- firstName?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo
32
- */
33
- lastName?: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo interface.
38
- */
39
- export function instanceOfInternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo(value: object): boolean {
40
- let isInstance = true;
41
-
42
- return isInstance;
43
- }
44
-
45
- export function InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSON(json: any): InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo {
46
- return InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSONTyped(json, false);
47
- }
48
-
49
- export function InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo {
50
- if ((json === undefined) || (json === null)) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
56
- 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
57
- };
58
- }
59
-
60
- export function InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfoToJSON(value?: InternalAdjustedTimesheetDtosAdjustedTimesheetEmployeeInfo | null): any {
61
- if (value === undefined) {
62
- return undefined;
63
- }
64
- if (value === null) {
65
- return null;
66
- }
67
- return {
68
-
69
- 'firstName': value.firstName,
70
- 'lastName': value.lastName,
71
- };
72
- }
73
-
@@ -1,53 +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.InternalEmployeeTimesheetDtosTimesheetEmployeeInfoToJSON = exports.InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped = exports.InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSON = exports.instanceOfInternalEmployeeTimesheetDtosTimesheetEmployeeInfo = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the InternalEmployeeTimesheetDtosTimesheetEmployeeInfo interface.
20
- */
21
- function instanceOfInternalEmployeeTimesheetDtosTimesheetEmployeeInfo(value) {
22
- let isInstance = true;
23
- return isInstance;
24
- }
25
- exports.instanceOfInternalEmployeeTimesheetDtosTimesheetEmployeeInfo = instanceOfInternalEmployeeTimesheetDtosTimesheetEmployeeInfo;
26
- function InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSON(json) {
27
- return InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped(json, false);
28
- }
29
- exports.InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSON = InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSON;
30
- function InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- return {
35
- 'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
36
- 'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
37
- };
38
- }
39
- exports.InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped = InternalEmployeeTimesheetDtosTimesheetEmployeeInfoFromJSONTyped;
40
- function InternalEmployeeTimesheetDtosTimesheetEmployeeInfoToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'firstName': value.firstName,
49
- 'lastName': value.lastName,
50
- };
51
- }
52
- exports.InternalEmployeeTimesheetDtosTimesheetEmployeeInfoToJSON = InternalEmployeeTimesheetDtosTimesheetEmployeeInfoToJSON;
53
- //# sourceMappingURL=InternalEmployeeTimesheetDtosTimesheetEmployeeInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InternalEmployeeTimesheetDtosTimesheetEmployeeInfo.js","sourceRoot":"","sources":["InternalEmployeeTimesheetDtosTimesheetEmployeeInfo.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAqB/C;;GAEG;AACH,SAAgB,4DAA4D,CAAC,KAAa;IACtF,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,oIAIC;AAED,SAAgB,0DAA0D,CAAC,IAAS;IAChF,OAAO,+DAA+D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxF,CAAC;AAFD,gIAEC;AAED,SAAgB,+DAA+D,CAAC,IAAS,EAAE,mBAA4B;IACnH,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,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACvE,UAAU,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AATD,0IASC;AAED,SAAgB,wDAAwD,CAAC,KAAiE;IACtI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CA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