tuix-timesheets-api 0.68.0 → 0.69.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.
@@ -22,7 +22,6 @@ import type {
22
22
  ClientDTO,
23
23
  CompanyDTO,
24
24
  CreateEmployeeInvoiceInputDTO,
25
- CreateGithubUserDTO,
26
25
  CreateJiraAccountDTO,
27
26
  CreateJiraUserDTO,
28
27
  CreateTokenResponseDTO,
@@ -31,9 +30,6 @@ import type {
31
30
  EmployeeInvoiceDTO,
32
31
  EmployeeUpdateDTO,
33
32
  ErrorDTO,
34
- GithubAccountDTO,
35
- GithubCommitCountDTO,
36
- GithubUserDTO,
37
33
  GlobalTimesheetDTO,
38
34
  GlobalTimesheetEntryDTO,
39
35
  GlobalTimesheetEntryUpdateDTO,
@@ -84,8 +80,6 @@ import {
84
80
  CompanyDTOToJSON,
85
81
  CreateEmployeeInvoiceInputDTOFromJSON,
86
82
  CreateEmployeeInvoiceInputDTOToJSON,
87
- CreateGithubUserDTOFromJSON,
88
- CreateGithubUserDTOToJSON,
89
83
  CreateJiraAccountDTOFromJSON,
90
84
  CreateJiraAccountDTOToJSON,
91
85
  CreateJiraUserDTOFromJSON,
@@ -102,12 +96,6 @@ import {
102
96
  EmployeeUpdateDTOToJSON,
103
97
  ErrorDTOFromJSON,
104
98
  ErrorDTOToJSON,
105
- GithubAccountDTOFromJSON,
106
- GithubAccountDTOToJSON,
107
- GithubCommitCountDTOFromJSON,
108
- GithubCommitCountDTOToJSON,
109
- GithubUserDTOFromJSON,
110
- GithubUserDTOToJSON,
111
99
  GlobalTimesheetDTOFromJSON,
112
100
  GlobalTimesheetDTOToJSON,
113
101
  GlobalTimesheetEntryDTOFromJSON,
@@ -210,10 +198,6 @@ export interface CreateEmployeeInvoiceRequest {
210
198
  createEmployeeInvoiceInputDTO: CreateEmployeeInvoiceInputDTO;
211
199
  }
212
200
 
213
- export interface CreateGithubUserRequest {
214
- createGithubUserDTO: CreateGithubUserDTO;
215
- }
216
-
217
201
  export interface CreateHolidayRequest {
218
202
  holidayCreateDTO: HolidayCreateDTO;
219
203
  }
@@ -317,13 +301,6 @@ export interface GetClientsRequest {
317
301
  search?: string;
318
302
  }
319
303
 
320
- export interface GetCommitsByUserIDRequest {
321
- userId: string;
322
- from: Date;
323
- to: Date;
324
- groupBy?: GetCommitsByUserIDGroupByEnum;
325
- }
326
-
327
304
  export interface GetCompaniesRequest {
328
305
  search?: string;
329
306
  }
@@ -382,12 +359,6 @@ export interface GetHolidaysByEmployeeRequest {
382
359
  search?: string;
383
360
  }
384
361
 
385
- export interface GetMyCommitsRequest {
386
- from: Date;
387
- to: Date;
388
- groupBy?: GetMyCommitsGroupByEnum;
389
- }
390
-
391
362
  export interface GetProjectByIdRequest {
392
363
  projectId: string;
393
364
  }
@@ -793,45 +764,6 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
793
764
  return await response.value();
794
765
  }
795
766
 
796
- /**
797
- * Create a new GitHub user account
798
- * Create GitHub user
799
- */
800
- async createGithubUserRaw(requestParameters: CreateGithubUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GithubUserDTO>> {
801
- if (requestParameters.createGithubUserDTO === null || requestParameters.createGithubUserDTO === undefined) {
802
- throw new runtime.RequiredError('createGithubUserDTO','Required parameter requestParameters.createGithubUserDTO was null or undefined when calling createGithubUser.');
803
- }
804
-
805
- const queryParameters: any = {};
806
-
807
- const headerParameters: runtime.HTTPHeaders = {};
808
-
809
- headerParameters['Content-Type'] = 'application/json';
810
-
811
- if (this.configuration && this.configuration.apiKey) {
812
- headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
813
- }
814
-
815
- const response = await this.request({
816
- path: `/github-users`,
817
- method: 'POST',
818
- headers: headerParameters,
819
- query: queryParameters,
820
- body: CreateGithubUserDTOToJSON(requestParameters.createGithubUserDTO),
821
- }, initOverrides);
822
-
823
- return new runtime.JSONApiResponse(response, (jsonValue) => GithubUserDTOFromJSON(jsonValue));
824
- }
825
-
826
- /**
827
- * Create a new GitHub user account
828
- * Create GitHub user
829
- */
830
- async createGithubUser(requestParameters: CreateGithubUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GithubUserDTO> {
831
- const response = await this.createGithubUserRaw(requestParameters, initOverrides);
832
- return await response.value();
833
- }
834
-
835
767
  /**
836
768
  * Allows a user to add a holiday
837
769
  */
@@ -1169,37 +1101,6 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
1169
1101
  await this.deleteEmployeeInvoiceRaw(requestParameters, initOverrides);
1170
1102
  }
1171
1103
 
1172
- /**
1173
- * Delete the authenticated user\'s GitHub account
1174
- * Delete GitHub user
1175
- */
1176
- async deleteGithubUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
1177
- const queryParameters: any = {};
1178
-
1179
- const headerParameters: runtime.HTTPHeaders = {};
1180
-
1181
- if (this.configuration && this.configuration.apiKey) {
1182
- headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
1183
- }
1184
-
1185
- const response = await this.request({
1186
- path: `/github-users`,
1187
- method: 'DELETE',
1188
- headers: headerParameters,
1189
- query: queryParameters,
1190
- }, initOverrides);
1191
-
1192
- return new runtime.VoidApiResponse(response);
1193
- }
1194
-
1195
- /**
1196
- * Delete the authenticated user\'s GitHub account
1197
- * Delete GitHub user
1198
- */
1199
- async deleteGithubUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
1200
- await this.deleteGithubUserRaw(initOverrides);
1201
- }
1202
-
1203
1104
  /**
1204
1105
  * Delete a holiday
1205
1106
  * Delete a holiday
@@ -1770,62 +1671,6 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
1770
1671
  return await response.value();
1771
1672
  }
1772
1673
 
1773
- /**
1774
- * Get commit statistics for a specific user
1775
- * Get commits by user ID
1776
- */
1777
- async getCommitsByUserIDRaw(requestParameters: GetCommitsByUserIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GithubCommitCountDTO>>> {
1778
- if (requestParameters.userId === null || requestParameters.userId === undefined) {
1779
- throw new runtime.RequiredError('userId','Required parameter requestParameters.userId was null or undefined when calling getCommitsByUserID.');
1780
- }
1781
-
1782
- if (requestParameters.from === null || requestParameters.from === undefined) {
1783
- throw new runtime.RequiredError('from','Required parameter requestParameters.from was null or undefined when calling getCommitsByUserID.');
1784
- }
1785
-
1786
- if (requestParameters.to === null || requestParameters.to === undefined) {
1787
- throw new runtime.RequiredError('to','Required parameter requestParameters.to was null or undefined when calling getCommitsByUserID.');
1788
- }
1789
-
1790
- const queryParameters: any = {};
1791
-
1792
- if (requestParameters.from !== undefined) {
1793
- queryParameters['from'] = (requestParameters.from as any).toISOString().substring(0,10);
1794
- }
1795
-
1796
- if (requestParameters.to !== undefined) {
1797
- queryParameters['to'] = (requestParameters.to as any).toISOString().substring(0,10);
1798
- }
1799
-
1800
- if (requestParameters.groupBy !== undefined) {
1801
- queryParameters['groupBy'] = requestParameters.groupBy;
1802
- }
1803
-
1804
- const headerParameters: runtime.HTTPHeaders = {};
1805
-
1806
- if (this.configuration && this.configuration.apiKey) {
1807
- headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
1808
- }
1809
-
1810
- const response = await this.request({
1811
- path: `/employees/{userId}/commits`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
1812
- method: 'GET',
1813
- headers: headerParameters,
1814
- query: queryParameters,
1815
- }, initOverrides);
1816
-
1817
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(GithubCommitCountDTOFromJSON));
1818
- }
1819
-
1820
- /**
1821
- * Get commit statistics for a specific user
1822
- * Get commits by user ID
1823
- */
1824
- async getCommitsByUserID(requestParameters: GetCommitsByUserIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GithubCommitCountDTO>> {
1825
- const response = await this.getCommitsByUserIDRaw(requestParameters, initOverrides);
1826
- return await response.value();
1827
- }
1828
-
1829
1674
  /**
1830
1675
  * Get all companies a user belongs to
1831
1676
  * Get all companies a user belongs to
@@ -2078,38 +1923,6 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
2078
1923
  return await response.value();
2079
1924
  }
2080
1925
 
2081
- /**
2082
- * Get GitHub account for the authenticated user
2083
- * Get GitHub account
2084
- */
2085
- async getGithubAccountRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GithubAccountDTO>> {
2086
- const queryParameters: any = {};
2087
-
2088
- const headerParameters: runtime.HTTPHeaders = {};
2089
-
2090
- if (this.configuration && this.configuration.apiKey) {
2091
- headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
2092
- }
2093
-
2094
- const response = await this.request({
2095
- path: `/github-accounts`,
2096
- method: 'GET',
2097
- headers: headerParameters,
2098
- query: queryParameters,
2099
- }, initOverrides);
2100
-
2101
- return new runtime.JSONApiResponse(response, (jsonValue) => GithubAccountDTOFromJSON(jsonValue));
2102
- }
2103
-
2104
- /**
2105
- * Get GitHub account for the authenticated user
2106
- * Get GitHub account
2107
- */
2108
- async getGithubAccount(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GithubAccountDTO> {
2109
- const response = await this.getGithubAccountRaw(initOverrides);
2110
- return await response.value();
2111
- }
2112
-
2113
1926
  /**
2114
1927
  * Get a global timesheet
2115
1928
  * Get a global timesheet
@@ -2382,58 +2195,6 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
2382
2195
  return await response.value();
2383
2196
  }
2384
2197
 
2385
- /**
2386
- * Get commit statistics for the authenticated user
2387
- * Get my commits
2388
- */
2389
- async getMyCommitsRaw(requestParameters: GetMyCommitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GithubCommitCountDTO>>> {
2390
- if (requestParameters.from === null || requestParameters.from === undefined) {
2391
- throw new runtime.RequiredError('from','Required parameter requestParameters.from was null or undefined when calling getMyCommits.');
2392
- }
2393
-
2394
- if (requestParameters.to === null || requestParameters.to === undefined) {
2395
- throw new runtime.RequiredError('to','Required parameter requestParameters.to was null or undefined when calling getMyCommits.');
2396
- }
2397
-
2398
- const queryParameters: any = {};
2399
-
2400
- if (requestParameters.from !== undefined) {
2401
- queryParameters['from'] = (requestParameters.from as any).toISOString().substring(0,10);
2402
- }
2403
-
2404
- if (requestParameters.to !== undefined) {
2405
- queryParameters['to'] = (requestParameters.to as any).toISOString().substring(0,10);
2406
- }
2407
-
2408
- if (requestParameters.groupBy !== undefined) {
2409
- queryParameters['groupBy'] = requestParameters.groupBy;
2410
- }
2411
-
2412
- const headerParameters: runtime.HTTPHeaders = {};
2413
-
2414
- if (this.configuration && this.configuration.apiKey) {
2415
- headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
2416
- }
2417
-
2418
- const response = await this.request({
2419
- path: `/commits`,
2420
- method: 'GET',
2421
- headers: headerParameters,
2422
- query: queryParameters,
2423
- }, initOverrides);
2424
-
2425
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(GithubCommitCountDTOFromJSON));
2426
- }
2427
-
2428
- /**
2429
- * Get commit statistics for the authenticated user
2430
- * Get my commits
2431
- */
2432
- async getMyCommits(requestParameters: GetMyCommitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GithubCommitCountDTO>> {
2433
- const response = await this.getMyCommitsRaw(requestParameters, initOverrides);
2434
- return await response.value();
2435
- }
2436
-
2437
2198
  /**
2438
2199
  * Get a project
2439
2200
  * Get a project by ID
@@ -3513,24 +3274,3 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
3513
3274
  }
3514
3275
 
3515
3276
  }
3516
-
3517
- /**
3518
- * @export
3519
- */
3520
- export const GetCommitsByUserIDGroupByEnum = {
3521
- HourOfDay: 'hourOfDay',
3522
- Year: 'year',
3523
- Month: 'month',
3524
- Day: 'day'
3525
- } as const;
3526
- export type GetCommitsByUserIDGroupByEnum = typeof GetCommitsByUserIDGroupByEnum[keyof typeof GetCommitsByUserIDGroupByEnum];
3527
- /**
3528
- * @export
3529
- */
3530
- export const GetMyCommitsGroupByEnum = {
3531
- HourOfDay: 'hourOfDay',
3532
- Year: 'year',
3533
- Month: 'month',
3534
- Day: 'day'
3535
- } as const;
3536
- export type GetMyCommitsGroupByEnum = typeof GetMyCommitsGroupByEnum[keyof typeof GetMyCommitsGroupByEnum];
package/models/index.js CHANGED
@@ -25,7 +25,6 @@ __exportStar(require("./ClientDTO"), exports);
25
25
  __exportStar(require("./ClientInvoiceDTO"), exports);
26
26
  __exportStar(require("./CompanyDTO"), exports);
27
27
  __exportStar(require("./CreateEmployeeInvoiceInputDTO"), exports);
28
- __exportStar(require("./CreateGithubUserDTO"), exports);
29
28
  __exportStar(require("./CreateJiraAccountDTO"), exports);
30
29
  __exportStar(require("./CreateJiraUserDTO"), exports);
31
30
  __exportStar(require("./CreateTokenResponseDTO"), exports);
@@ -35,9 +34,6 @@ __exportStar(require("./EmployeeInvoiceDTO"), exports);
35
34
  __exportStar(require("./EmployeeProjectDTO"), exports);
36
35
  __exportStar(require("./EmployeeUpdateDTO"), exports);
37
36
  __exportStar(require("./ErrorDTO"), exports);
38
- __exportStar(require("./GithubAccountDTO"), exports);
39
- __exportStar(require("./GithubCommitCountDTO"), exports);
40
- __exportStar(require("./GithubUserDTO"), exports);
41
37
  __exportStar(require("./GlobalTimesheetDTO"), exports);
42
38
  __exportStar(require("./GlobalTimesheetEntryDTO"), exports);
43
39
  __exportStar(require("./GlobalTimesheetEntryUpdateDTO"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,mDAAiC;AACjC,yDAAuC;AACvC,kEAAgD;AAChD,8DAA4C;AAC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AAC1C,kEAAgD;AAChD,qDAAmC;AACnC,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,+DAA6C;AAC7C,uDAAqC;AACrC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,8DAA4C;AAC5C,8DAA4C;AAC5C,uDAAqC;AACrC,8DAA4C;AAC5C,yDAAuC;AACvC,sDAAoC;AACpC,wDAAsC;AACtC,oDAAkC;AAClC,mDAAiC;AACjC,kDAAgC;AAChC,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,uDAAqC;AACrC,4DAA0C;AAC1C,iDAA+B;AAC/B,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
@@ -9,7 +9,6 @@ export * from './ClientDTO';
9
9
  export * from './ClientInvoiceDTO';
10
10
  export * from './CompanyDTO';
11
11
  export * from './CreateEmployeeInvoiceInputDTO';
12
- export * from './CreateGithubUserDTO';
13
12
  export * from './CreateJiraAccountDTO';
14
13
  export * from './CreateJiraUserDTO';
15
14
  export * from './CreateTokenResponseDTO';
@@ -19,9 +18,6 @@ export * from './EmployeeInvoiceDTO';
19
18
  export * from './EmployeeProjectDTO';
20
19
  export * from './EmployeeUpdateDTO';
21
20
  export * from './ErrorDTO';
22
- export * from './GithubAccountDTO';
23
- export * from './GithubCommitCountDTO';
24
- export * from './GithubUserDTO';
25
21
  export * from './GlobalTimesheetDTO';
26
22
  export * from './GlobalTimesheetEntryDTO';
27
23
  export * from './GlobalTimesheetEntryUpdateDTO';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuix-timesheets-api",
3
- "version": "0.68.0",
3
+ "version": "0.69.0",
4
4
  "description": "This package facilitates the client request to tuix timesheets api",
5
5
  "main": "index.js",
6
6
  "private": false,
@@ -1,60 +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.CreateGithubUserDTOToJSON = exports.CreateGithubUserDTOFromJSONTyped = exports.CreateGithubUserDTOFromJSON = exports.instanceOfCreateGithubUserDTO = void 0;
17
- /**
18
- * Check if a given object implements the CreateGithubUserDTO interface.
19
- */
20
- function instanceOfCreateGithubUserDTO(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "email" in value;
23
- isInstance = isInstance && "firstName" in value;
24
- isInstance = isInstance && "lastName" in value;
25
- isInstance = isInstance && "token" in value;
26
- return isInstance;
27
- }
28
- exports.instanceOfCreateGithubUserDTO = instanceOfCreateGithubUserDTO;
29
- function CreateGithubUserDTOFromJSON(json) {
30
- return CreateGithubUserDTOFromJSONTyped(json, false);
31
- }
32
- exports.CreateGithubUserDTOFromJSON = CreateGithubUserDTOFromJSON;
33
- function CreateGithubUserDTOFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return {
38
- 'email': json['email'],
39
- 'firstName': json['firstName'],
40
- 'lastName': json['lastName'],
41
- 'token': json['token'],
42
- };
43
- }
44
- exports.CreateGithubUserDTOFromJSONTyped = CreateGithubUserDTOFromJSONTyped;
45
- function CreateGithubUserDTOToJSON(value) {
46
- if (value === undefined) {
47
- return undefined;
48
- }
49
- if (value === null) {
50
- return null;
51
- }
52
- return {
53
- 'email': value.email,
54
- 'firstName': value.firstName,
55
- 'lastName': value.lastName,
56
- 'token': value.token,
57
- };
58
- }
59
- exports.CreateGithubUserDTOToJSON = CreateGithubUserDTOToJSON;
60
- //# sourceMappingURL=CreateGithubUser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AAE,KAAK,CAAC,KAAK;QACpB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN,CAAC;AAdD,8DAcC"}
@@ -1,93 +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 CreateGithubUserDTO
20
- */
21
- export interface CreateGithubUserDTO {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof CreateGithubUserDTO
26
- */
27
- email: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof CreateGithubUserDTO
32
- */
33
- firstName: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof CreateGithubUserDTO
38
- */
39
- lastName: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof CreateGithubUserDTO
44
- */
45
- token: string;
46
- }
47
-
48
- /**
49
- * Check if a given object implements the CreateGithubUserDTO interface.
50
- */
51
- export function instanceOfCreateGithubUserDTO(value: object): boolean {
52
- let isInstance = true;
53
- isInstance = isInstance && "email" in value;
54
- isInstance = isInstance && "firstName" in value;
55
- isInstance = isInstance && "lastName" in value;
56
- isInstance = isInstance && "token" in value;
57
-
58
- return isInstance;
59
- }
60
-
61
- export function CreateGithubUserDTOFromJSON(json: any): CreateGithubUserDTO {
62
- return CreateGithubUserDTOFromJSONTyped(json, false);
63
- }
64
-
65
- export function CreateGithubUserDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateGithubUserDTO {
66
- if ((json === undefined) || (json === null)) {
67
- return json;
68
- }
69
- return {
70
-
71
- 'email': json['email'],
72
- 'firstName': json['firstName'],
73
- 'lastName': json['lastName'],
74
- 'token': json['token'],
75
- };
76
- }
77
-
78
- export function CreateGithubUserDTOToJSON(value?: CreateGithubUserDTO | null): any {
79
- if (value === undefined) {
80
- return undefined;
81
- }
82
- if (value === null) {
83
- return null;
84
- }
85
- return {
86
-
87
- 'email': value.email,
88
- 'firstName': value.firstName,
89
- 'lastName': value.lastName,
90
- 'token': value.token,
91
- };
92
- }
93
-
@@ -1,51 +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.GithubAccountDTOToJSON = exports.GithubAccountDTOFromJSONTyped = exports.GithubAccountDTOFromJSON = exports.instanceOfGithubAccountDTO = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the GithubAccountDTO interface.
20
- */
21
- function instanceOfGithubAccountDTO(value) {
22
- let isInstance = true;
23
- return isInstance;
24
- }
25
- exports.instanceOfGithubAccountDTO = instanceOfGithubAccountDTO;
26
- function GithubAccountDTOFromJSON(json) {
27
- return GithubAccountDTOFromJSONTyped(json, false);
28
- }
29
- exports.GithubAccountDTOFromJSON = GithubAccountDTOFromJSON;
30
- function GithubAccountDTOFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- return {
35
- 'username': !(0, runtime_1.exists)(json, 'username') ? undefined : json['username'],
36
- };
37
- }
38
- exports.GithubAccountDTOFromJSONTyped = GithubAccountDTOFromJSONTyped;
39
- function GithubAccountDTOToJSON(value) {
40
- if (value === undefined) {
41
- return undefined;
42
- }
43
- if (value === null) {
44
- return null;
45
- }
46
- return {
47
- 'username': value.username,
48
- };
49
- }
50
- exports.GithubAccountDTOToJSON = GithubAccountDTOToJSON;
51
- //# sourceMappingURL=GithubAccountDTO.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GithubAccountDTO.js","sourceRoot":"","sources":["GithubAccountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAe/C;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACpD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,gEAIC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAFD,4DAEC;AAED,SAAgB,6BAA6B,CAAC,IAAS,EAAE,mBAA4B;IACjF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,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;AARD,sEAQC;AAED,SAAgB,sBAAsB,CAAC,KAA+B;IAClE,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,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN,CAAC;AAXD,wDAWC"}
@@ -1,65 +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 GithubAccountDTO
20
- */
21
- export interface GithubAccountDTO {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof GithubAccountDTO
26
- */
27
- username?: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the GithubAccountDTO interface.
32
- */
33
- export function instanceOfGithubAccountDTO(value: object): boolean {
34
- let isInstance = true;
35
-
36
- return isInstance;
37
- }
38
-
39
- export function GithubAccountDTOFromJSON(json: any): GithubAccountDTO {
40
- return GithubAccountDTOFromJSONTyped(json, false);
41
- }
42
-
43
- export function GithubAccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubAccountDTO {
44
- if ((json === undefined) || (json === null)) {
45
- return json;
46
- }
47
- return {
48
-
49
- 'username': !exists(json, 'username') ? undefined : json['username'],
50
- };
51
- }
52
-
53
- export function GithubAccountDTOToJSON(value?: GithubAccountDTO | null): any {
54
- if (value === undefined) {
55
- return undefined;
56
- }
57
- if (value === null) {
58
- return null;
59
- }
60
- return {
61
-
62
- 'username': value.username,
63
- };
64
- }
65
-