tuix-timesheets-api 0.6.178 → 0.6.179
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 +0 -4
- package/apis/TuixTimesheetsClientApi.js +0 -142
- package/apis/TuixTimesheetsClientApi.js.map +1 -1
- package/apis/TuixTimesheetsClientApi.ts +0 -201
- package/models/index.js +0 -4
- package/models/index.js.map +1 -1
- package/models/index.ts +0 -4
- package/package.json +1 -1
- package/models/CreateJiraAccountDTO.js +0 -60
- package/models/CreateJiraAccountDTO.js.map +0 -1
- package/models/CreateJiraAccountDTO.ts +0 -93
- package/models/CreateJiraUserDTO.js +0 -56
- package/models/CreateJiraUserDTO.js.map +0 -1
- package/models/CreateJiraUserDTO.ts +0 -82
- package/models/JiraAccountDTO.js +0 -57
- package/models/JiraAccountDTO.js.map +0 -1
- package/models/JiraAccountDTO.ts +0 -84
- package/models/JiraUserDTO.js +0 -72
- package/models/JiraUserDTO.js.map +0 -1
- package/models/JiraUserDTO.ts +0 -129
|
@@ -26,8 +26,6 @@ import type {
|
|
|
26
26
|
CompanyDTO,
|
|
27
27
|
CreateEmployeeInvoiceInputDTO,
|
|
28
28
|
CreateGithubUserRequestDTO,
|
|
29
|
-
CreateJiraAccountDTO,
|
|
30
|
-
CreateJiraUserDTO,
|
|
31
29
|
CreateTokenResponseDTO,
|
|
32
30
|
CreateUserDTO,
|
|
33
31
|
EmployeeDTO,
|
|
@@ -39,8 +37,6 @@ import type {
|
|
|
39
37
|
GlobalTimesheetEntryUpdateDTO,
|
|
40
38
|
HolidayCreateDTO,
|
|
41
39
|
HolidayDTO,
|
|
42
|
-
JiraAccountDTO,
|
|
43
|
-
JiraUserDTO,
|
|
44
40
|
MarkEmployeeInvoicePaidDTO,
|
|
45
41
|
MarkInvoicePaidDTO,
|
|
46
42
|
PaginatedAdjustedTimesheets,
|
|
@@ -92,10 +88,6 @@ import {
|
|
|
92
88
|
CreateEmployeeInvoiceInputDTOToJSON,
|
|
93
89
|
CreateGithubUserRequestDTOFromJSON,
|
|
94
90
|
CreateGithubUserRequestDTOToJSON,
|
|
95
|
-
CreateJiraAccountDTOFromJSON,
|
|
96
|
-
CreateJiraAccountDTOToJSON,
|
|
97
|
-
CreateJiraUserDTOFromJSON,
|
|
98
|
-
CreateJiraUserDTOToJSON,
|
|
99
91
|
CreateTokenResponseDTOFromJSON,
|
|
100
92
|
CreateTokenResponseDTOToJSON,
|
|
101
93
|
CreateUserDTOFromJSON,
|
|
@@ -118,10 +110,6 @@ import {
|
|
|
118
110
|
HolidayCreateDTOToJSON,
|
|
119
111
|
HolidayDTOFromJSON,
|
|
120
112
|
HolidayDTOToJSON,
|
|
121
|
-
JiraAccountDTOFromJSON,
|
|
122
|
-
JiraAccountDTOToJSON,
|
|
123
|
-
JiraUserDTOFromJSON,
|
|
124
|
-
JiraUserDTOToJSON,
|
|
125
113
|
MarkEmployeeInvoicePaidDTOFromJSON,
|
|
126
114
|
MarkEmployeeInvoicePaidDTOToJSON,
|
|
127
115
|
MarkInvoicePaidDTOFromJSON,
|
|
@@ -178,10 +166,6 @@ import {
|
|
|
178
166
|
UpdateUserDTOToJSON,
|
|
179
167
|
} from '../models/index';
|
|
180
168
|
|
|
181
|
-
export interface AddJiraAccountRequest {
|
|
182
|
-
createJiraAccountDTO: CreateJiraAccountDTO;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
169
|
export interface ApproveAdjustedTimesheetRequest {
|
|
186
170
|
projectId: string;
|
|
187
171
|
timesheetId: string;
|
|
@@ -218,10 +202,6 @@ export interface CreateHolidayRequest {
|
|
|
218
202
|
holidayCreateDTO: HolidayCreateDTO;
|
|
219
203
|
}
|
|
220
204
|
|
|
221
|
-
export interface CreateJiraUserRequest {
|
|
222
|
-
createJiraUserDTO: CreateJiraUserDTO;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
205
|
export interface CreateProjectRequest {
|
|
226
206
|
projectInputDTO: ProjectInputDTO;
|
|
227
207
|
}
|
|
@@ -453,10 +433,6 @@ export interface OpenSentTimesheetRequest {
|
|
|
453
433
|
timesheetId: string;
|
|
454
434
|
}
|
|
455
435
|
|
|
456
|
-
export interface RemoveJiraAccountRequest {
|
|
457
|
-
jiraAccountId: string;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
436
|
export interface SendTimesheetRequest {
|
|
461
437
|
projectId: string;
|
|
462
438
|
timesheetId: string;
|
|
@@ -518,45 +494,6 @@ export interface UpdateTimesheetEntryRequest {
|
|
|
518
494
|
*/
|
|
519
495
|
export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
520
496
|
|
|
521
|
-
/**
|
|
522
|
-
* Add a new jira account to the current user
|
|
523
|
-
* Add a new jira account to the user
|
|
524
|
-
*/
|
|
525
|
-
async addJiraAccountRaw(requestParameters: AddJiraAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JiraAccountDTO>> {
|
|
526
|
-
if (requestParameters.createJiraAccountDTO === null || requestParameters.createJiraAccountDTO === undefined) {
|
|
527
|
-
throw new runtime.RequiredError('createJiraAccountDTO','Required parameter requestParameters.createJiraAccountDTO was null or undefined when calling addJiraAccount.');
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
const queryParameters: any = {};
|
|
531
|
-
|
|
532
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
533
|
-
|
|
534
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
535
|
-
|
|
536
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
537
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
const response = await this.request({
|
|
541
|
-
path: `/jira-users/jira-accounts`,
|
|
542
|
-
method: 'POST',
|
|
543
|
-
headers: headerParameters,
|
|
544
|
-
query: queryParameters,
|
|
545
|
-
body: CreateJiraAccountDTOToJSON(requestParameters.createJiraAccountDTO),
|
|
546
|
-
}, initOverrides);
|
|
547
|
-
|
|
548
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => JiraAccountDTOFromJSON(jsonValue));
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* Add a new jira account to the current user
|
|
553
|
-
* Add a new jira account to the user
|
|
554
|
-
*/
|
|
555
|
-
async addJiraAccount(requestParameters: AddJiraAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JiraAccountDTO> {
|
|
556
|
-
const response = await this.addJiraAccountRaw(requestParameters, initOverrides);
|
|
557
|
-
return await response.value();
|
|
558
|
-
}
|
|
559
|
-
|
|
560
497
|
/**
|
|
561
498
|
* Approve an adjustedTimesheet in a project
|
|
562
499
|
* Approve an adjustedTimesheet in a project
|
|
@@ -869,45 +806,6 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
869
806
|
return await response.value();
|
|
870
807
|
}
|
|
871
808
|
|
|
872
|
-
/**
|
|
873
|
-
* Create a new user with the provided information Collaborator role required
|
|
874
|
-
* Create a new user
|
|
875
|
-
*/
|
|
876
|
-
async createJiraUserRaw(requestParameters: CreateJiraUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JiraUserDTO>> {
|
|
877
|
-
if (requestParameters.createJiraUserDTO === null || requestParameters.createJiraUserDTO === undefined) {
|
|
878
|
-
throw new runtime.RequiredError('createJiraUserDTO','Required parameter requestParameters.createJiraUserDTO was null or undefined when calling createJiraUser.');
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
const queryParameters: any = {};
|
|
882
|
-
|
|
883
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
884
|
-
|
|
885
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
886
|
-
|
|
887
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
888
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
const response = await this.request({
|
|
892
|
-
path: `/jira-users`,
|
|
893
|
-
method: 'POST',
|
|
894
|
-
headers: headerParameters,
|
|
895
|
-
query: queryParameters,
|
|
896
|
-
body: CreateJiraUserDTOToJSON(requestParameters.createJiraUserDTO),
|
|
897
|
-
}, initOverrides);
|
|
898
|
-
|
|
899
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => JiraUserDTOFromJSON(jsonValue));
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
/**
|
|
903
|
-
* Create a new user with the provided information Collaborator role required
|
|
904
|
-
* Create a new user
|
|
905
|
-
*/
|
|
906
|
-
async createJiraUser(requestParameters: CreateJiraUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JiraUserDTO> {
|
|
907
|
-
const response = await this.createJiraUserRaw(requestParameters, initOverrides);
|
|
908
|
-
return await response.value();
|
|
909
|
-
}
|
|
910
|
-
|
|
911
809
|
/**
|
|
912
810
|
* Create a project
|
|
913
811
|
* Creates a new project
|
|
@@ -2286,70 +2184,6 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
2286
2184
|
return await response.value();
|
|
2287
2185
|
}
|
|
2288
2186
|
|
|
2289
|
-
/**
|
|
2290
|
-
* Get all jira accounts for the current user
|
|
2291
|
-
* Get jira accounts
|
|
2292
|
-
*/
|
|
2293
|
-
async getJiraAccountsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<JiraAccountDTO>>> {
|
|
2294
|
-
const queryParameters: any = {};
|
|
2295
|
-
|
|
2296
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2297
|
-
|
|
2298
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
2299
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
const response = await this.request({
|
|
2303
|
-
path: `/jira-users/jira-accounts`,
|
|
2304
|
-
method: 'GET',
|
|
2305
|
-
headers: headerParameters,
|
|
2306
|
-
query: queryParameters,
|
|
2307
|
-
}, initOverrides);
|
|
2308
|
-
|
|
2309
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(JiraAccountDTOFromJSON));
|
|
2310
|
-
}
|
|
2311
|
-
|
|
2312
|
-
/**
|
|
2313
|
-
* Get all jira accounts for the current user
|
|
2314
|
-
* Get jira accounts
|
|
2315
|
-
*/
|
|
2316
|
-
async getJiraAccounts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<JiraAccountDTO>> {
|
|
2317
|
-
const response = await this.getJiraAccountsRaw(initOverrides);
|
|
2318
|
-
return await response.value();
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2321
|
-
/**
|
|
2322
|
-
* Get current user information
|
|
2323
|
-
* Get current user
|
|
2324
|
-
*/
|
|
2325
|
-
async getJiraUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JiraUserDTO>> {
|
|
2326
|
-
const queryParameters: any = {};
|
|
2327
|
-
|
|
2328
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2329
|
-
|
|
2330
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
2331
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
|
|
2332
|
-
}
|
|
2333
|
-
|
|
2334
|
-
const response = await this.request({
|
|
2335
|
-
path: `/jira-users`,
|
|
2336
|
-
method: 'GET',
|
|
2337
|
-
headers: headerParameters,
|
|
2338
|
-
query: queryParameters,
|
|
2339
|
-
}, initOverrides);
|
|
2340
|
-
|
|
2341
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => JiraUserDTOFromJSON(jsonValue));
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
/**
|
|
2345
|
-
* Get current user information
|
|
2346
|
-
* Get current user
|
|
2347
|
-
*/
|
|
2348
|
-
async getJiraUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JiraUserDTO> {
|
|
2349
|
-
const response = await this.getJiraUserRaw(initOverrides);
|
|
2350
|
-
return await response.value();
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
2187
|
/**
|
|
2354
2188
|
* Get my account info
|
|
2355
2189
|
* Get my account info
|
|
@@ -3031,41 +2865,6 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
3031
2865
|
await this.openSentTimesheetRaw(requestParameters, initOverrides);
|
|
3032
2866
|
}
|
|
3033
2867
|
|
|
3034
|
-
/**
|
|
3035
|
-
* Remove specific jira account for the current user
|
|
3036
|
-
* Remove jira account
|
|
3037
|
-
*/
|
|
3038
|
-
async removeJiraAccountRaw(requestParameters: RemoveJiraAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
3039
|
-
if (requestParameters.jiraAccountId === null || requestParameters.jiraAccountId === undefined) {
|
|
3040
|
-
throw new runtime.RequiredError('jiraAccountId','Required parameter requestParameters.jiraAccountId was null or undefined when calling removeJiraAccount.');
|
|
3041
|
-
}
|
|
3042
|
-
|
|
3043
|
-
const queryParameters: any = {};
|
|
3044
|
-
|
|
3045
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3046
|
-
|
|
3047
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
3048
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
|
-
const response = await this.request({
|
|
3052
|
-
path: `/jira-users/jira-accounts/{jiraAccountId}`.replace(`{${"jiraAccountId"}}`, encodeURIComponent(String(requestParameters.jiraAccountId))),
|
|
3053
|
-
method: 'DELETE',
|
|
3054
|
-
headers: headerParameters,
|
|
3055
|
-
query: queryParameters,
|
|
3056
|
-
}, initOverrides);
|
|
3057
|
-
|
|
3058
|
-
return new runtime.VoidApiResponse(response);
|
|
3059
|
-
}
|
|
3060
|
-
|
|
3061
|
-
/**
|
|
3062
|
-
* Remove specific jira account for the current user
|
|
3063
|
-
* Remove jira account
|
|
3064
|
-
*/
|
|
3065
|
-
async removeJiraAccount(requestParameters: RemoveJiraAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
3066
|
-
await this.removeJiraAccountRaw(requestParameters, initOverrides);
|
|
3067
|
-
}
|
|
3068
|
-
|
|
3069
2868
|
/**
|
|
3070
2869
|
* Send a timesheet
|
|
3071
2870
|
* Send a timesheet
|
package/models/index.js
CHANGED
|
@@ -29,8 +29,6 @@ __exportStar(require("./ClientInvoiceDTO"), exports);
|
|
|
29
29
|
__exportStar(require("./CompanyDTO"), exports);
|
|
30
30
|
__exportStar(require("./CreateEmployeeInvoiceInputDTO"), exports);
|
|
31
31
|
__exportStar(require("./CreateGithubUserRequestDTO"), exports);
|
|
32
|
-
__exportStar(require("./CreateJiraAccountDTO"), exports);
|
|
33
|
-
__exportStar(require("./CreateJiraUserDTO"), exports);
|
|
34
32
|
__exportStar(require("./CreateTokenResponseDTO"), exports);
|
|
35
33
|
__exportStar(require("./CreateUserDTO"), exports);
|
|
36
34
|
__exportStar(require("./EmployeeDTO"), exports);
|
|
@@ -43,8 +41,6 @@ __exportStar(require("./GlobalTimesheetEntryDTO"), exports);
|
|
|
43
41
|
__exportStar(require("./GlobalTimesheetEntryUpdateDTO"), exports);
|
|
44
42
|
__exportStar(require("./HolidayCreateDTO"), exports);
|
|
45
43
|
__exportStar(require("./HolidayDTO"), exports);
|
|
46
|
-
__exportStar(require("./JiraAccountDTO"), exports);
|
|
47
|
-
__exportStar(require("./JiraUserDTO"), exports);
|
|
48
44
|
__exportStar(require("./MarkEmployeeInvoicePaidDTO"), exports);
|
|
49
45
|
__exportStar(require("./MarkInvoicePaidDTO"), exports);
|
|
50
46
|
__exportStar(require("./PaginatedAdjustedTimesheets"), exports);
|
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,mDAAiC;AACjC,yDAAuC;AACvC,kEAAgD;AAChD,8DAA4C;AAC5C,oEAAkD;AAClD,8CAA4B;AAC5B,2DAAyC;AACzC,+DAA6C;AAC7C,wDAAsC;AACtC,qDAAmC;AACnC,+CAA6B;AAC7B,kEAAgD;AAChD,+DAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,mDAAiC;AACjC,yDAAuC;AACvC,kEAAgD;AAChD,8DAA4C;AAC5C,oEAAkD;AAClD,8CAA4B;AAC5B,2DAAyC;AACzC,+DAA6C;AAC7C,wDAAsC;AACtC,qDAAmC;AACnC,+CAA6B;AAC7B,kEAAgD;AAChD,+DAA6C;AAC7C,2DAAyC;AACzC,kDAAgC;AAChC,gDAA8B;AAC9B,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,6CAA2B;AAC3B,uDAAqC;AACrC,4DAA0C;AAC1C,kEAAgD;AAChD,qDAAmC;AACnC,+CAA6B;AAC7B,+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
|
@@ -13,8 +13,6 @@ export * from './ClientInvoiceDTO';
|
|
|
13
13
|
export * from './CompanyDTO';
|
|
14
14
|
export * from './CreateEmployeeInvoiceInputDTO';
|
|
15
15
|
export * from './CreateGithubUserRequestDTO';
|
|
16
|
-
export * from './CreateJiraAccountDTO';
|
|
17
|
-
export * from './CreateJiraUserDTO';
|
|
18
16
|
export * from './CreateTokenResponseDTO';
|
|
19
17
|
export * from './CreateUserDTO';
|
|
20
18
|
export * from './EmployeeDTO';
|
|
@@ -27,8 +25,6 @@ export * from './GlobalTimesheetEntryDTO';
|
|
|
27
25
|
export * from './GlobalTimesheetEntryUpdateDTO';
|
|
28
26
|
export * from './HolidayCreateDTO';
|
|
29
27
|
export * from './HolidayDTO';
|
|
30
|
-
export * from './JiraAccountDTO';
|
|
31
|
-
export * from './JiraUserDTO';
|
|
32
28
|
export * from './MarkEmployeeInvoicePaidDTO';
|
|
33
29
|
export * from './MarkInvoicePaidDTO';
|
|
34
30
|
export * from './PaginatedAdjustedTimesheets';
|
package/package.json
CHANGED
|
@@ -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.CreateJiraAccountDTOToJSON = exports.CreateJiraAccountDTOFromJSONTyped = exports.CreateJiraAccountDTOFromJSON = exports.instanceOfCreateJiraAccountDTO = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the CreateJiraAccountDTO interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfCreateJiraAccountDTO(value) {
|
|
21
|
-
let isInstance = true;
|
|
22
|
-
isInstance = isInstance && "email" in value;
|
|
23
|
-
isInstance = isInstance && "name" in value;
|
|
24
|
-
isInstance = isInstance && "site" in value;
|
|
25
|
-
isInstance = isInstance && "token" in value;
|
|
26
|
-
return isInstance;
|
|
27
|
-
}
|
|
28
|
-
exports.instanceOfCreateJiraAccountDTO = instanceOfCreateJiraAccountDTO;
|
|
29
|
-
function CreateJiraAccountDTOFromJSON(json) {
|
|
30
|
-
return CreateJiraAccountDTOFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.CreateJiraAccountDTOFromJSON = CreateJiraAccountDTOFromJSON;
|
|
33
|
-
function CreateJiraAccountDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if ((json === undefined) || (json === null)) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'email': json['email'],
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'site': json['site'],
|
|
41
|
-
'token': json['token'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.CreateJiraAccountDTOFromJSONTyped = CreateJiraAccountDTOFromJSONTyped;
|
|
45
|
-
function CreateJiraAccountDTOToJSON(value) {
|
|
46
|
-
if (value === undefined) {
|
|
47
|
-
return undefined;
|
|
48
|
-
}
|
|
49
|
-
if (value === null) {
|
|
50
|
-
return null;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'email': value.email,
|
|
54
|
-
'name': value.name,
|
|
55
|
-
'site': value.site,
|
|
56
|
-
'token': value.token,
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
exports.CreateJiraAccountDTOToJSON = CreateJiraAccountDTOToJSON;
|
|
60
|
-
//# sourceMappingURL=CreateJiraAccountDTO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateJiraAccountDTO.js","sourceRoot":"","sources":["CreateJiraAccountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAmCH;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,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,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAE5C,OAAO,UAAU,CAAC;AACtB,CAAC;AARD,wEAQC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAFD,oEAEC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,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,IAAI,CAAC,OAAO,CAAC;QACtB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;KACzB,CAAC;AACN,CAAC;AAXD,8EAWC;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,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN,CAAC;AAdD,gEAcC"}
|
|
@@ -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 CreateJiraAccountDTO
|
|
20
|
-
*/
|
|
21
|
-
export interface CreateJiraAccountDTO {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateJiraAccountDTO
|
|
26
|
-
*/
|
|
27
|
-
email: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CreateJiraAccountDTO
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CreateJiraAccountDTO
|
|
38
|
-
*/
|
|
39
|
-
site: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof CreateJiraAccountDTO
|
|
44
|
-
*/
|
|
45
|
-
token: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the CreateJiraAccountDTO interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfCreateJiraAccountDTO(value: object): boolean {
|
|
52
|
-
let isInstance = true;
|
|
53
|
-
isInstance = isInstance && "email" in value;
|
|
54
|
-
isInstance = isInstance && "name" in value;
|
|
55
|
-
isInstance = isInstance && "site" in value;
|
|
56
|
-
isInstance = isInstance && "token" in value;
|
|
57
|
-
|
|
58
|
-
return isInstance;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function CreateJiraAccountDTOFromJSON(json: any): CreateJiraAccountDTO {
|
|
62
|
-
return CreateJiraAccountDTOFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function CreateJiraAccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateJiraAccountDTO {
|
|
66
|
-
if ((json === undefined) || (json === null)) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'email': json['email'],
|
|
72
|
-
'name': json['name'],
|
|
73
|
-
'site': json['site'],
|
|
74
|
-
'token': json['token'],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function CreateJiraAccountDTOToJSON(value?: CreateJiraAccountDTO | 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
|
-
'name': value.name,
|
|
89
|
-
'site': value.site,
|
|
90
|
-
'token': value.token,
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
|
|
@@ -1,56 +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.CreateJiraUserDTOToJSON = exports.CreateJiraUserDTOFromJSONTyped = exports.CreateJiraUserDTOFromJSON = exports.instanceOfCreateJiraUserDTO = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the CreateJiraUserDTO interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfCreateJiraUserDTO(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
isInstance = isInstance && "email" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfCreateJiraUserDTO = instanceOfCreateJiraUserDTO;
|
|
27
|
-
function CreateJiraUserDTOFromJSON(json) {
|
|
28
|
-
return CreateJiraUserDTOFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.CreateJiraUserDTOFromJSON = CreateJiraUserDTOFromJSON;
|
|
31
|
-
function CreateJiraUserDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'email': json['email'],
|
|
37
|
-
'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
|
|
38
|
-
'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.CreateJiraUserDTOFromJSONTyped = CreateJiraUserDTOFromJSONTyped;
|
|
42
|
-
function CreateJiraUserDTOToJSON(value) {
|
|
43
|
-
if (value === undefined) {
|
|
44
|
-
return undefined;
|
|
45
|
-
}
|
|
46
|
-
if (value === null) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'email': value.email,
|
|
51
|
-
'firstName': value.firstName,
|
|
52
|
-
'lastName': value.lastName,
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.CreateJiraUserDTOToJSON = CreateJiraUserDTOToJSON;
|
|
56
|
-
//# sourceMappingURL=CreateJiraUserDTO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateJiraUserDTO.js","sourceRoot":"","sources":["CreateJiraUserDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AA2B/C;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAE5C,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,kEAKC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAFD,8DAEC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,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,IAAI,CAAC,OAAO,CAAC;QACtB,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;AAVD,wEAUC;AAED,SAAgB,uBAAuB,CAAC,KAAgC;IACpE,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,KAAK,CAAC,KAAK;QACpB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN,CAAC;AAbD,0DAaC"}
|
|
@@ -1,82 +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 CreateJiraUserDTO
|
|
20
|
-
*/
|
|
21
|
-
export interface CreateJiraUserDTO {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateJiraUserDTO
|
|
26
|
-
*/
|
|
27
|
-
email: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CreateJiraUserDTO
|
|
32
|
-
*/
|
|
33
|
-
firstName?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CreateJiraUserDTO
|
|
38
|
-
*/
|
|
39
|
-
lastName?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the CreateJiraUserDTO interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfCreateJiraUserDTO(value: object): boolean {
|
|
46
|
-
let isInstance = true;
|
|
47
|
-
isInstance = isInstance && "email" in value;
|
|
48
|
-
|
|
49
|
-
return isInstance;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function CreateJiraUserDTOFromJSON(json: any): CreateJiraUserDTO {
|
|
53
|
-
return CreateJiraUserDTOFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function CreateJiraUserDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateJiraUserDTO {
|
|
57
|
-
if ((json === undefined) || (json === null)) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'email': json['email'],
|
|
63
|
-
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
64
|
-
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function CreateJiraUserDTOToJSON(value?: CreateJiraUserDTO | null): any {
|
|
69
|
-
if (value === undefined) {
|
|
70
|
-
return undefined;
|
|
71
|
-
}
|
|
72
|
-
if (value === null) {
|
|
73
|
-
return null;
|
|
74
|
-
}
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'email': value.email,
|
|
78
|
-
'firstName': value.firstName,
|
|
79
|
-
'lastName': value.lastName,
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|
package/models/JiraAccountDTO.js
DELETED
|
@@ -1,57 +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.JiraAccountDTOToJSON = exports.JiraAccountDTOFromJSONTyped = exports.JiraAccountDTOFromJSON = exports.instanceOfJiraAccountDTO = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the JiraAccountDTO interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfJiraAccountDTO(value) {
|
|
21
|
-
let isInstance = true;
|
|
22
|
-
isInstance = isInstance && "id" in value;
|
|
23
|
-
isInstance = isInstance && "name" in value;
|
|
24
|
-
isInstance = isInstance && "site" in value;
|
|
25
|
-
return isInstance;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfJiraAccountDTO = instanceOfJiraAccountDTO;
|
|
28
|
-
function JiraAccountDTOFromJSON(json) {
|
|
29
|
-
return JiraAccountDTOFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.JiraAccountDTOFromJSON = JiraAccountDTOFromJSON;
|
|
32
|
-
function JiraAccountDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if ((json === undefined) || (json === null)) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'id': json['id'],
|
|
38
|
-
'name': json['name'],
|
|
39
|
-
'site': json['site'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.JiraAccountDTOFromJSONTyped = JiraAccountDTOFromJSONTyped;
|
|
43
|
-
function JiraAccountDTOToJSON(value) {
|
|
44
|
-
if (value === undefined) {
|
|
45
|
-
return undefined;
|
|
46
|
-
}
|
|
47
|
-
if (value === null) {
|
|
48
|
-
return null;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'id': value.id,
|
|
52
|
-
'name': value.name,
|
|
53
|
-
'site': value.site,
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
exports.JiraAccountDTOToJSON = JiraAccountDTOToJSON;
|
|
57
|
-
//# sourceMappingURL=JiraAccountDTO.js.map
|