tuix-timesheets-api 0.6.26 → 0.6.28
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 +3 -0
- package/apis/TuixTimesheetsClientApi.js +115 -11
- package/apis/TuixTimesheetsClientApi.js.map +1 -1
- package/apis/TuixTimesheetsClientApi.ts +173 -15
- package/models/PaginatedUsers.js +64 -0
- package/models/PaginatedUsers.js.map +1 -0
- package/models/PaginatedUsers.ts +109 -0
- package/models/ProjectDTO.js +0 -3
- package/models/ProjectDTO.js.map +1 -1
- package/models/ProjectDTO.ts +0 -9
- package/models/ProjectInputDTO.js +0 -3
- package/models/ProjectInputDTO.js.map +1 -1
- package/models/ProjectInputDTO.ts +0 -9
- package/models/TeamUpdateDTO.js +52 -0
- package/models/TeamUpdateDTO.js.map +1 -0
- package/models/TeamUpdateDTO.ts +72 -0
- package/models/UserEnrollDTO.js +55 -0
- package/models/UserEnrollDTO.js.map +1 -0
- package/models/UserEnrollDTO.ts +81 -0
- package/models/index.js +3 -0
- package/models/index.js.map +1 -1
- package/models/index.ts +3 -0
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ import type {
|
|
|
24
24
|
PaginatedClients,
|
|
25
25
|
PaginatedEmployees,
|
|
26
26
|
PaginatedProjects,
|
|
27
|
+
PaginatedUsers,
|
|
27
28
|
ProjectDTO,
|
|
28
29
|
ProjectInputDTO,
|
|
29
30
|
ProjectUpdateDTO,
|
|
@@ -32,7 +33,9 @@ import type {
|
|
|
32
33
|
SendNewsletterDto,
|
|
33
34
|
Subscription,
|
|
34
35
|
SubscriptionsSentResponseDto,
|
|
36
|
+
TeamUpdateDTO,
|
|
35
37
|
UserDTOSc,
|
|
38
|
+
UserEnrollDTO,
|
|
36
39
|
} from '../models/index';
|
|
37
40
|
import {
|
|
38
41
|
ClientDTOFromJSON,
|
|
@@ -53,6 +56,8 @@ import {
|
|
|
53
56
|
PaginatedEmployeesToJSON,
|
|
54
57
|
PaginatedProjectsFromJSON,
|
|
55
58
|
PaginatedProjectsToJSON,
|
|
59
|
+
PaginatedUsersFromJSON,
|
|
60
|
+
PaginatedUsersToJSON,
|
|
56
61
|
ProjectDTOFromJSON,
|
|
57
62
|
ProjectDTOToJSON,
|
|
58
63
|
ProjectInputDTOFromJSON,
|
|
@@ -69,8 +74,12 @@ import {
|
|
|
69
74
|
SubscriptionToJSON,
|
|
70
75
|
SubscriptionsSentResponseDtoFromJSON,
|
|
71
76
|
SubscriptionsSentResponseDtoToJSON,
|
|
77
|
+
TeamUpdateDTOFromJSON,
|
|
78
|
+
TeamUpdateDTOToJSON,
|
|
72
79
|
UserDTOScFromJSON,
|
|
73
80
|
UserDTOScToJSON,
|
|
81
|
+
UserEnrollDTOFromJSON,
|
|
82
|
+
UserEnrollDTOToJSON,
|
|
74
83
|
} from '../models/index';
|
|
75
84
|
|
|
76
85
|
export interface CreateClientRequest {
|
|
@@ -127,6 +136,12 @@ export interface EmployeesCompanyIdIdGetRequest {
|
|
|
127
136
|
id: string;
|
|
128
137
|
}
|
|
129
138
|
|
|
139
|
+
export interface EnrollUserRequest {
|
|
140
|
+
clientId: string;
|
|
141
|
+
id: string;
|
|
142
|
+
userEnrollDTO: UserEnrollDTO;
|
|
143
|
+
}
|
|
144
|
+
|
|
130
145
|
export interface GetClientByIdRequest {
|
|
131
146
|
id: string;
|
|
132
147
|
companyId: string;
|
|
@@ -153,17 +168,22 @@ export interface GetProjectByIdRequest {
|
|
|
153
168
|
id: string;
|
|
154
169
|
}
|
|
155
170
|
|
|
156
|
-
export interface
|
|
171
|
+
export interface GetProjectsByClientRequest {
|
|
172
|
+
clientId: string;
|
|
157
173
|
page?: number;
|
|
158
174
|
pageSize?: number;
|
|
159
175
|
}
|
|
160
176
|
|
|
161
|
-
export interface
|
|
162
|
-
clientId: string;
|
|
177
|
+
export interface GetProjectsByUserRequest {
|
|
163
178
|
page?: number;
|
|
164
179
|
pageSize?: number;
|
|
165
180
|
}
|
|
166
181
|
|
|
182
|
+
export interface GetTeamRequest {
|
|
183
|
+
clientId: string;
|
|
184
|
+
id: string;
|
|
185
|
+
}
|
|
186
|
+
|
|
167
187
|
export interface GetTemplateByIdRequest {
|
|
168
188
|
id: string;
|
|
169
189
|
}
|
|
@@ -218,6 +238,12 @@ export interface UpdateProjectRequest {
|
|
|
218
238
|
projectUpdateDTO: ProjectUpdateDTO;
|
|
219
239
|
}
|
|
220
240
|
|
|
241
|
+
export interface UpdateTeamRequest {
|
|
242
|
+
clientId: string;
|
|
243
|
+
id: string;
|
|
244
|
+
teamUpdateDTO: TeamUpdateDTO;
|
|
245
|
+
}
|
|
246
|
+
|
|
221
247
|
export interface UpdateTestUserRequest {
|
|
222
248
|
id: string;
|
|
223
249
|
userDTOSc: UserDTOSc;
|
|
@@ -670,6 +696,52 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
670
696
|
return await response.value();
|
|
671
697
|
}
|
|
672
698
|
|
|
699
|
+
/**
|
|
700
|
+
* Enroll a user to a project
|
|
701
|
+
* Enroll a user to a project
|
|
702
|
+
*/
|
|
703
|
+
async enrollUserRaw(requestParameters: EnrollUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
704
|
+
if (requestParameters.clientId === null || requestParameters.clientId === undefined) {
|
|
705
|
+
throw new runtime.RequiredError('clientId','Required parameter requestParameters.clientId was null or undefined when calling enrollUser.');
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
709
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling enrollUser.');
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
if (requestParameters.userEnrollDTO === null || requestParameters.userEnrollDTO === undefined) {
|
|
713
|
+
throw new runtime.RequiredError('userEnrollDTO','Required parameter requestParameters.userEnrollDTO was null or undefined when calling enrollUser.');
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
const queryParameters: any = {};
|
|
717
|
+
|
|
718
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
719
|
+
|
|
720
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
721
|
+
|
|
722
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
723
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
const response = await this.request({
|
|
727
|
+
path: `/projects/{clientId}/{id}/enroll`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters.clientId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
728
|
+
method: 'POST',
|
|
729
|
+
headers: headerParameters,
|
|
730
|
+
query: queryParameters,
|
|
731
|
+
body: UserEnrollDTOToJSON(requestParameters.userEnrollDTO),
|
|
732
|
+
}, initOverrides);
|
|
733
|
+
|
|
734
|
+
return new runtime.VoidApiResponse(response);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Enroll a user to a project
|
|
739
|
+
* Enroll a user to a project
|
|
740
|
+
*/
|
|
741
|
+
async enrollUser(requestParameters: EnrollUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
742
|
+
await this.enrollUserRaw(requestParameters, initOverrides);
|
|
743
|
+
}
|
|
744
|
+
|
|
673
745
|
/**
|
|
674
746
|
* Get client by id
|
|
675
747
|
*/
|
|
@@ -906,7 +978,11 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
906
978
|
* Get all projects a user belongs to
|
|
907
979
|
* Get all projects a user belongs to
|
|
908
980
|
*/
|
|
909
|
-
async
|
|
981
|
+
async getProjectsByClientRaw(requestParameters: GetProjectsByClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProjects>> {
|
|
982
|
+
if (requestParameters.clientId === null || requestParameters.clientId === undefined) {
|
|
983
|
+
throw new runtime.RequiredError('clientId','Required parameter requestParameters.clientId was null or undefined when calling getProjectsByClient.');
|
|
984
|
+
}
|
|
985
|
+
|
|
910
986
|
const queryParameters: any = {};
|
|
911
987
|
|
|
912
988
|
if (requestParameters.page !== undefined) {
|
|
@@ -924,7 +1000,7 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
924
1000
|
}
|
|
925
1001
|
|
|
926
1002
|
const response = await this.request({
|
|
927
|
-
path: `/projects`,
|
|
1003
|
+
path: `/projects/{clientId}`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters.clientId))),
|
|
928
1004
|
method: 'GET',
|
|
929
1005
|
headers: headerParameters,
|
|
930
1006
|
query: queryParameters,
|
|
@@ -937,8 +1013,8 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
937
1013
|
* Get all projects a user belongs to
|
|
938
1014
|
* Get all projects a user belongs to
|
|
939
1015
|
*/
|
|
940
|
-
async
|
|
941
|
-
const response = await this.
|
|
1016
|
+
async getProjectsByClient(requestParameters: GetProjectsByClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProjects> {
|
|
1017
|
+
const response = await this.getProjectsByClientRaw(requestParameters, initOverrides);
|
|
942
1018
|
return await response.value();
|
|
943
1019
|
}
|
|
944
1020
|
|
|
@@ -946,11 +1022,7 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
946
1022
|
* Get all projects a user belongs to
|
|
947
1023
|
* Get all projects a user belongs to
|
|
948
1024
|
*/
|
|
949
|
-
async
|
|
950
|
-
if (requestParameters.clientId === null || requestParameters.clientId === undefined) {
|
|
951
|
-
throw new runtime.RequiredError('clientId','Required parameter requestParameters.clientId was null or undefined when calling getProjectsByClient.');
|
|
952
|
-
}
|
|
953
|
-
|
|
1025
|
+
async getProjectsByUserRaw(requestParameters: GetProjectsByUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProjects>> {
|
|
954
1026
|
const queryParameters: any = {};
|
|
955
1027
|
|
|
956
1028
|
if (requestParameters.page !== undefined) {
|
|
@@ -968,7 +1040,7 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
968
1040
|
}
|
|
969
1041
|
|
|
970
1042
|
const response = await this.request({
|
|
971
|
-
path: `/projects
|
|
1043
|
+
path: `/projects`,
|
|
972
1044
|
method: 'GET',
|
|
973
1045
|
headers: headerParameters,
|
|
974
1046
|
query: queryParameters,
|
|
@@ -981,8 +1053,8 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
981
1053
|
* Get all projects a user belongs to
|
|
982
1054
|
* Get all projects a user belongs to
|
|
983
1055
|
*/
|
|
984
|
-
async
|
|
985
|
-
const response = await this.
|
|
1056
|
+
async getProjectsByUser(requestParameters: GetProjectsByUserRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProjects> {
|
|
1057
|
+
const response = await this.getProjectsByUserRaw(requestParameters, initOverrides);
|
|
986
1058
|
return await response.value();
|
|
987
1059
|
}
|
|
988
1060
|
|
|
@@ -1012,6 +1084,46 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
1012
1084
|
return await response.value();
|
|
1013
1085
|
}
|
|
1014
1086
|
|
|
1087
|
+
/**
|
|
1088
|
+
* Get all users in a project
|
|
1089
|
+
* Get all users in a project
|
|
1090
|
+
*/
|
|
1091
|
+
async getTeamRaw(requestParameters: GetTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedUsers>> {
|
|
1092
|
+
if (requestParameters.clientId === null || requestParameters.clientId === undefined) {
|
|
1093
|
+
throw new runtime.RequiredError('clientId','Required parameter requestParameters.clientId was null or undefined when calling getTeam.');
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
1097
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling getTeam.');
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
const queryParameters: any = {};
|
|
1101
|
+
|
|
1102
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1103
|
+
|
|
1104
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1105
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
const response = await this.request({
|
|
1109
|
+
path: `/projects/{clientId}/{id}/team`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters.clientId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
1110
|
+
method: 'GET',
|
|
1111
|
+
headers: headerParameters,
|
|
1112
|
+
query: queryParameters,
|
|
1113
|
+
}, initOverrides);
|
|
1114
|
+
|
|
1115
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedUsersFromJSON(jsonValue));
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Get all users in a project
|
|
1120
|
+
* Get all users in a project
|
|
1121
|
+
*/
|
|
1122
|
+
async getTeam(requestParameters: GetTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedUsers> {
|
|
1123
|
+
const response = await this.getTeamRaw(requestParameters, initOverrides);
|
|
1124
|
+
return await response.value();
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1015
1127
|
/**
|
|
1016
1128
|
*
|
|
1017
1129
|
*/
|
|
@@ -1505,6 +1617,52 @@ export class TuixTimesheetsClientApi extends runtime.BaseAPI {
|
|
|
1505
1617
|
return await response.value();
|
|
1506
1618
|
}
|
|
1507
1619
|
|
|
1620
|
+
/**
|
|
1621
|
+
* Update a project team
|
|
1622
|
+
* Update a project team
|
|
1623
|
+
*/
|
|
1624
|
+
async updateTeamRaw(requestParameters: UpdateTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1625
|
+
if (requestParameters.clientId === null || requestParameters.clientId === undefined) {
|
|
1626
|
+
throw new runtime.RequiredError('clientId','Required parameter requestParameters.clientId was null or undefined when calling updateTeam.');
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
1630
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling updateTeam.');
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
if (requestParameters.teamUpdateDTO === null || requestParameters.teamUpdateDTO === undefined) {
|
|
1634
|
+
throw new runtime.RequiredError('teamUpdateDTO','Required parameter requestParameters.teamUpdateDTO was null or undefined when calling updateTeam.');
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
const queryParameters: any = {};
|
|
1638
|
+
|
|
1639
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1640
|
+
|
|
1641
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1642
|
+
|
|
1643
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1644
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // auth0Authorizer authentication
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
const response = await this.request({
|
|
1648
|
+
path: `/projects/{clientId}/{id}/team`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters.clientId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
1649
|
+
method: 'PATCH',
|
|
1650
|
+
headers: headerParameters,
|
|
1651
|
+
query: queryParameters,
|
|
1652
|
+
body: TeamUpdateDTOToJSON(requestParameters.teamUpdateDTO),
|
|
1653
|
+
}, initOverrides);
|
|
1654
|
+
|
|
1655
|
+
return new runtime.VoidApiResponse(response);
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Update a project team
|
|
1660
|
+
* Update a project team
|
|
1661
|
+
*/
|
|
1662
|
+
async updateTeam(requestParameters: UpdateTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1663
|
+
await this.updateTeamRaw(requestParameters, initOverrides);
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1508
1666
|
/**
|
|
1509
1667
|
* Update user
|
|
1510
1668
|
*/
|
|
@@ -0,0 +1,64 @@
|
|
|
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.PaginatedUsersToJSON = exports.PaginatedUsersFromJSONTyped = exports.PaginatedUsersFromJSON = exports.instanceOfPaginatedUsers = void 0;
|
|
17
|
+
const UserEnrollDTO_1 = require("./UserEnrollDTO");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PaginatedUsers interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPaginatedUsers(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "items" in value;
|
|
24
|
+
isInstance = isInstance && "page" in value;
|
|
25
|
+
isInstance = isInstance && "pageSize" in value;
|
|
26
|
+
isInstance = isInstance && "totalItems" in value;
|
|
27
|
+
isInstance = isInstance && "totalPages" in value;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
exports.instanceOfPaginatedUsers = instanceOfPaginatedUsers;
|
|
31
|
+
function PaginatedUsersFromJSON(json) {
|
|
32
|
+
return PaginatedUsersFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.PaginatedUsersFromJSON = PaginatedUsersFromJSON;
|
|
35
|
+
function PaginatedUsersFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if ((json === undefined) || (json === null)) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'items': (json['items'].map(UserEnrollDTO_1.UserEnrollDTOFromJSON)),
|
|
41
|
+
'page': json['page'],
|
|
42
|
+
'pageSize': json['pageSize'],
|
|
43
|
+
'totalItems': json['totalItems'],
|
|
44
|
+
'totalPages': json['totalPages'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.PaginatedUsersFromJSONTyped = PaginatedUsersFromJSONTyped;
|
|
48
|
+
function PaginatedUsersToJSON(value) {
|
|
49
|
+
if (value === undefined) {
|
|
50
|
+
return undefined;
|
|
51
|
+
}
|
|
52
|
+
if (value === null) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'items': (value.items.map(UserEnrollDTO_1.UserEnrollDTOToJSON)),
|
|
57
|
+
'page': value.page,
|
|
58
|
+
'pageSize': value.pageSize,
|
|
59
|
+
'totalItems': value.totalItems,
|
|
60
|
+
'totalPages': value.totalPages,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.PaginatedUsersToJSON = PaginatedUsersToJSON;
|
|
64
|
+
//# sourceMappingURL=PaginatedUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaginatedUsers.js","sourceRoot":"","sources":["PaginatedUsers.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,mDAIyB;AAwCzB;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CA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CAAC,UAAU;KACjC,CAAC;AACN,CAAC;AAfD,oDAeC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tuix Services
|
|
5
|
+
* Tuix Services API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { UserEnrollDTO } from './UserEnrollDTO';
|
|
17
|
+
import {
|
|
18
|
+
UserEnrollDTOFromJSON,
|
|
19
|
+
UserEnrollDTOFromJSONTyped,
|
|
20
|
+
UserEnrollDTOToJSON,
|
|
21
|
+
} from './UserEnrollDTO';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PaginatedUsers
|
|
27
|
+
*/
|
|
28
|
+
export interface PaginatedUsers {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<UserEnrollDTO>}
|
|
32
|
+
* @memberof PaginatedUsers
|
|
33
|
+
*/
|
|
34
|
+
items: Array<UserEnrollDTO>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PaginatedUsers
|
|
39
|
+
*/
|
|
40
|
+
page: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof PaginatedUsers
|
|
45
|
+
*/
|
|
46
|
+
pageSize: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof PaginatedUsers
|
|
51
|
+
*/
|
|
52
|
+
totalItems: number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof PaginatedUsers
|
|
57
|
+
*/
|
|
58
|
+
totalPages: number;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the PaginatedUsers interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfPaginatedUsers(value: object): boolean {
|
|
65
|
+
let isInstance = true;
|
|
66
|
+
isInstance = isInstance && "items" in value;
|
|
67
|
+
isInstance = isInstance && "page" in value;
|
|
68
|
+
isInstance = isInstance && "pageSize" in value;
|
|
69
|
+
isInstance = isInstance && "totalItems" in value;
|
|
70
|
+
isInstance = isInstance && "totalPages" in value;
|
|
71
|
+
|
|
72
|
+
return isInstance;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginatedUsersFromJSON(json: any): PaginatedUsers {
|
|
76
|
+
return PaginatedUsersFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PaginatedUsersFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedUsers {
|
|
80
|
+
if ((json === undefined) || (json === null)) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'items': ((json['items'] as Array<any>).map(UserEnrollDTOFromJSON)),
|
|
86
|
+
'page': json['page'],
|
|
87
|
+
'pageSize': json['pageSize'],
|
|
88
|
+
'totalItems': json['totalItems'],
|
|
89
|
+
'totalPages': json['totalPages'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function PaginatedUsersToJSON(value?: PaginatedUsers | null): any {
|
|
94
|
+
if (value === undefined) {
|
|
95
|
+
return undefined;
|
|
96
|
+
}
|
|
97
|
+
if (value === null) {
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
|
|
102
|
+
'items': ((value.items as Array<any>).map(UserEnrollDTOToJSON)),
|
|
103
|
+
'page': value.page,
|
|
104
|
+
'pageSize': value.pageSize,
|
|
105
|
+
'totalItems': value.totalItems,
|
|
106
|
+
'totalPages': value.totalPages,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
package/models/ProjectDTO.js
CHANGED
|
@@ -21,7 +21,6 @@ const runtime_1 = require("../runtime");
|
|
|
21
21
|
function instanceOfProjectDTO(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "city" in value;
|
|
24
|
-
isInstance = isInstance && "clientId" in value;
|
|
25
24
|
isInstance = isInstance && "contactEmail" in value;
|
|
26
25
|
isInstance = isInstance && "contactName" in value;
|
|
27
26
|
isInstance = isInstance && "contactPhoneNumber" in value;
|
|
@@ -50,7 +49,6 @@ function ProjectDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
49
|
}
|
|
51
50
|
return {
|
|
52
51
|
'city': json['city'],
|
|
53
|
-
'clientId': json['clientId'],
|
|
54
52
|
'closed': !(0, runtime_1.exists)(json, 'closed') ? undefined : json['closed'],
|
|
55
53
|
'contactEmail': json['contactEmail'],
|
|
56
54
|
'contactName': json['contactName'],
|
|
@@ -82,7 +80,6 @@ function ProjectDTOToJSON(value) {
|
|
|
82
80
|
}
|
|
83
81
|
return {
|
|
84
82
|
'city': value.city,
|
|
85
|
-
'clientId': value.clientId,
|
|
86
83
|
'closed': value.closed,
|
|
87
84
|
'contactEmail': value.contactEmail,
|
|
88
85
|
'contactName': value.contactName,
|
package/models/ProjectDTO.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectDTO.js","sourceRoot":"","sources":["ProjectDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;
|
|
1
|
+
{"version":3,"file":"ProjectDTO.js","sourceRoot":"","sources":["ProjectDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AAC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@@ -25,12 +25,6 @@ export interface ProjectDTO {
|
|
|
25
25
|
* @memberof ProjectDTO
|
|
26
26
|
*/
|
|
27
27
|
city: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ProjectDTO
|
|
32
|
-
*/
|
|
33
|
-
clientId: string;
|
|
34
28
|
/**
|
|
35
29
|
*
|
|
36
30
|
* @type {boolean}
|
|
@@ -153,7 +147,6 @@ export interface ProjectDTO {
|
|
|
153
147
|
export function instanceOfProjectDTO(value: object): boolean {
|
|
154
148
|
let isInstance = true;
|
|
155
149
|
isInstance = isInstance && "city" in value;
|
|
156
|
-
isInstance = isInstance && "clientId" in value;
|
|
157
150
|
isInstance = isInstance && "contactEmail" in value;
|
|
158
151
|
isInstance = isInstance && "contactName" in value;
|
|
159
152
|
isInstance = isInstance && "contactPhoneNumber" in value;
|
|
@@ -184,7 +177,6 @@ export function ProjectDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
184
177
|
return {
|
|
185
178
|
|
|
186
179
|
'city': json['city'],
|
|
187
|
-
'clientId': json['clientId'],
|
|
188
180
|
'closed': !exists(json, 'closed') ? undefined : json['closed'],
|
|
189
181
|
'contactEmail': json['contactEmail'],
|
|
190
182
|
'contactName': json['contactName'],
|
|
@@ -217,7 +209,6 @@ export function ProjectDTOToJSON(value?: ProjectDTO | null): any {
|
|
|
217
209
|
return {
|
|
218
210
|
|
|
219
211
|
'city': value.city,
|
|
220
|
-
'clientId': value.clientId,
|
|
221
212
|
'closed': value.closed,
|
|
222
213
|
'contactEmail': value.contactEmail,
|
|
223
214
|
'contactName': value.contactName,
|
|
@@ -21,7 +21,6 @@ const runtime_1 = require("../runtime");
|
|
|
21
21
|
function instanceOfProjectInputDTO(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "city" in value;
|
|
24
|
-
isInstance = isInstance && "clientId" in value;
|
|
25
24
|
isInstance = isInstance && "contactEmail" in value;
|
|
26
25
|
isInstance = isInstance && "contactName" in value;
|
|
27
26
|
isInstance = isInstance && "contactPhoneNumber" in value;
|
|
@@ -50,7 +49,6 @@ function ProjectInputDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
49
|
}
|
|
51
50
|
return {
|
|
52
51
|
'city': json['city'],
|
|
53
|
-
'clientId': json['clientId'],
|
|
54
52
|
'closed': !(0, runtime_1.exists)(json, 'closed') ? undefined : json['closed'],
|
|
55
53
|
'contactEmail': json['contactEmail'],
|
|
56
54
|
'contactName': json['contactName'],
|
|
@@ -79,7 +77,6 @@ function ProjectInputDTOToJSON(value) {
|
|
|
79
77
|
}
|
|
80
78
|
return {
|
|
81
79
|
'city': value.city,
|
|
82
|
-
'clientId': value.clientId,
|
|
83
80
|
'closed': value.closed,
|
|
84
81
|
'contactEmail': value.contactEmail,
|
|
85
82
|
'contactName': value.contactName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectInputDTO.js","sourceRoot":"","sources":["ProjectInputDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;
|
|
1
|
+
{"version":3,"file":"ProjectInputDTO.js","sourceRoot":"","sources":["ProjectInputDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AA+G/C;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,cAAc,IAAI,KAAK,CAAC;IACnD,UAAU,GAAG,UAAU,IAAI,aAAa,IAAI,KAAK,CAAC;IAClD,UAAU,GAAG,UAAU,IAAI,oBAAoB,IAAI,KAAK,CAAC;IACzD,UAAU,GAAG,UAAU,IAAI,aAAa,IAAI,KA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AAK,CAAC,gBAAgB;QAC1C,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;QAC1C,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AA3BD,sDA2BC"}
|
|
@@ -25,12 +25,6 @@ export interface ProjectInputDTO {
|
|
|
25
25
|
* @memberof ProjectInputDTO
|
|
26
26
|
*/
|
|
27
27
|
city: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ProjectInputDTO
|
|
32
|
-
*/
|
|
33
|
-
clientId: string;
|
|
34
28
|
/**
|
|
35
29
|
*
|
|
36
30
|
* @type {boolean}
|
|
@@ -135,7 +129,6 @@ export interface ProjectInputDTO {
|
|
|
135
129
|
export function instanceOfProjectInputDTO(value: object): boolean {
|
|
136
130
|
let isInstance = true;
|
|
137
131
|
isInstance = isInstance && "city" in value;
|
|
138
|
-
isInstance = isInstance && "clientId" in value;
|
|
139
132
|
isInstance = isInstance && "contactEmail" in value;
|
|
140
133
|
isInstance = isInstance && "contactName" in value;
|
|
141
134
|
isInstance = isInstance && "contactPhoneNumber" in value;
|
|
@@ -166,7 +159,6 @@ export function ProjectInputDTOFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
166
159
|
return {
|
|
167
160
|
|
|
168
161
|
'city': json['city'],
|
|
169
|
-
'clientId': json['clientId'],
|
|
170
162
|
'closed': !exists(json, 'closed') ? undefined : json['closed'],
|
|
171
163
|
'contactEmail': json['contactEmail'],
|
|
172
164
|
'contactName': json['contactName'],
|
|
@@ -196,7 +188,6 @@ export function ProjectInputDTOToJSON(value?: ProjectInputDTO | null): any {
|
|
|
196
188
|
return {
|
|
197
189
|
|
|
198
190
|
'city': value.city,
|
|
199
|
-
'clientId': value.clientId,
|
|
200
191
|
'closed': value.closed,
|
|
201
192
|
'contactEmail': value.contactEmail,
|
|
202
193
|
'contactName': value.contactName,
|