@devopness/sdk-js 2.164.9 → 3.0.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.
- package/dist/api/generated/apis/static-data-api.d.ts +8 -0
- package/dist/api/generated/apis/static-data-api.js +21 -0
- package/dist/api/generated/apis/team-invitations-api.d.ts +4 -3
- package/dist/api/generated/apis/team-invitations-api.js +11 -3
- package/dist/api/generated/apis/teams-invitations-api.d.ts +2 -2
- package/dist/api/generated/apis/teams-invitations-api.js +2 -2
- package/dist/api/generated/apis/teams-members-api.d.ts +1 -1
- package/dist/api/generated/apis/teams-members-api.js +1 -1
- package/dist/api/generated/apis/users-api.d.ts +10 -12
- package/dist/api/generated/apis/users-api.js +14 -24
- package/dist/api/generated/apis/users-passwords-api.d.ts +3 -3
- package/dist/api/generated/apis/users-passwords-api.js +4 -6
- package/dist/api/generated/models/billing-plan.d.ts +48 -0
- package/dist/api/generated/models/billing-plans-options-relation.d.ts +37 -0
- package/dist/api/generated/models/index.d.ts +3 -5
- package/dist/api/generated/models/index.js +3 -5
- package/dist/api/generated/models/invitation-relation.d.ts +14 -7
- package/dist/api/generated/models/invitation-team-create.d.ts +9 -2
- package/dist/api/generated/models/invitation.d.ts +14 -7
- package/dist/api/generated/models/team-invitation-relation.d.ts +14 -7
- package/dist/api/generated/models/team-invitation-status.d.ts +4 -2
- package/dist/api/generated/models/team-invitation-status.js +3 -1
- package/dist/api/generated/models/{user-login.js → team-invitation-type.d.ts} +9 -3
- package/dist/api/generated/models/{user-update.js → team-invitation-type.js} +11 -0
- package/dist/services/ApiBaseService.d.ts +1 -1
- package/package.json +12 -12
- package/dist/api/generated/models/password-user-send-reset-link.d.ts +0 -24
- package/dist/api/generated/models/user-create.d.ts +0 -24
- package/dist/api/generated/models/user-login.d.ts +0 -30
- package/dist/api/generated/models/user-update.d.ts +0 -49
- package/dist/api/generated/models/user-verify.d.ts +0 -48
- package/dist/api/generated/models/user-verify.js +0 -14
- /package/dist/api/generated/models/{password-user-send-reset-link.js → billing-plan.js} +0 -0
- /package/dist/api/generated/models/{user-create.js → billing-plans-options-relation.js} +0 -0
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
13
|
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
14
|
import { ApplicationOptions } from '../../generated/models';
|
|
15
|
+
import { BillingPlansOptionsRelation } from '../../generated/models';
|
|
15
16
|
import { CloudInstanceRelation } from '../../generated/models';
|
|
16
17
|
import { CloudProviderService } from '../../generated/models';
|
|
17
18
|
import { CredentialOptions } from '../../generated/models';
|
|
@@ -79,6 +80,13 @@ export declare class StaticDataApiService extends ApiBaseService {
|
|
|
79
80
|
* @summary List `Virtual Host` options
|
|
80
81
|
*/
|
|
81
82
|
getStaticVirtualHostOptions(): Promise<ApiResponse<VirtualHostOptions>>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @summary List `Billing Plans` options
|
|
86
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
87
|
+
* @param {number} [perPage] Number of items returned per page
|
|
88
|
+
*/
|
|
89
|
+
listStaticBillingPlansOptions(page?: number, perPage?: number): Promise<ApiResponse<Array<BillingPlansOptionsRelation>>>;
|
|
82
90
|
/**
|
|
83
91
|
*
|
|
84
92
|
* @summary List `Cloud Provider Service` instance types by region
|
|
@@ -153,6 +153,27 @@ class StaticDataApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
153
153
|
return new ApiResponse_1.ApiResponse(response);
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary List `Billing Plans` options
|
|
159
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
160
|
+
* @param {number} [perPage] Number of items returned per page
|
|
161
|
+
*/
|
|
162
|
+
listStaticBillingPlansOptions(page, perPage) {
|
|
163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
164
|
+
let queryString = '';
|
|
165
|
+
const queryParams = { page: page, per_page: perPage, };
|
|
166
|
+
for (const key in queryParams) {
|
|
167
|
+
if (queryParams[key] === undefined || queryParams[key] === null) {
|
|
168
|
+
continue;
|
|
169
|
+
}
|
|
170
|
+
queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
|
|
171
|
+
}
|
|
172
|
+
const requestUrl = '/static/billing-plans-options' + (queryString ? `?${queryString}` : '');
|
|
173
|
+
const response = yield this.get(requestUrl);
|
|
174
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
156
177
|
/**
|
|
157
178
|
*
|
|
158
179
|
* @summary List `Cloud Provider Service` instance types by region
|
|
@@ -17,10 +17,11 @@ import { ApiResponse } from "../../../common/ApiResponse";
|
|
|
17
17
|
export declare class TeamInvitationsApiService extends ApiBaseService {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @summary Accept a
|
|
20
|
+
* @summary Accept a team invitation
|
|
21
21
|
* @param {string} teamInvitationId The ID of the team invitation.
|
|
22
|
+
* @param {string} [token] The token to authorize the acceptance of public invitations.
|
|
22
23
|
*/
|
|
23
|
-
acceptTeamInvitation(teamInvitationId: string): Promise<ApiResponse<void>>;
|
|
24
|
+
acceptTeamInvitation(teamInvitationId: string, token?: string): Promise<ApiResponse<void>>;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
27
|
* @summary Delete a pending team invitation
|
|
@@ -29,7 +30,7 @@ export declare class TeamInvitationsApiService extends ApiBaseService {
|
|
|
29
30
|
deleteTeamInvitation(teamInvitationId: string): Promise<ApiResponse<void>>;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @summary Reject a pending team invitation
|
|
33
|
+
* @summary Reject a pending private team invitation
|
|
33
34
|
* @param {string} teamInvitationId The ID of the team invitation.
|
|
34
35
|
*/
|
|
35
36
|
rejectTeamInvitation(teamInvitationId: string): Promise<ApiResponse<void>>;
|
|
@@ -31,15 +31,23 @@ const Exceptions_1 = require("../../../common/Exceptions");
|
|
|
31
31
|
class TeamInvitationsApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @summary Accept a
|
|
34
|
+
* @summary Accept a team invitation
|
|
35
35
|
* @param {string} teamInvitationId The ID of the team invitation.
|
|
36
|
+
* @param {string} [token] The token to authorize the acceptance of public invitations.
|
|
36
37
|
*/
|
|
37
|
-
acceptTeamInvitation(teamInvitationId) {
|
|
38
|
+
acceptTeamInvitation(teamInvitationId, token) {
|
|
38
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
40
|
if (teamInvitationId === null || teamInvitationId === undefined) {
|
|
40
41
|
throw new Exceptions_1.ArgumentNullException('teamInvitationId', 'acceptTeamInvitation');
|
|
41
42
|
}
|
|
42
43
|
let queryString = '';
|
|
44
|
+
const queryParams = { token: token, };
|
|
45
|
+
for (const key in queryParams) {
|
|
46
|
+
if (queryParams[key] === undefined || queryParams[key] === null) {
|
|
47
|
+
continue;
|
|
48
|
+
}
|
|
49
|
+
queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
|
|
50
|
+
}
|
|
43
51
|
const requestUrl = '/team-invitations/{team_invitation_id}/accept' + (queryString ? `?${queryString}` : '');
|
|
44
52
|
const response = yield this.post(requestUrl.replace(`{${"team_invitation_id"}}`, encodeURIComponent(String(teamInvitationId))));
|
|
45
53
|
return new ApiResponse_1.ApiResponse(response);
|
|
@@ -63,7 +71,7 @@ class TeamInvitationsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
63
71
|
}
|
|
64
72
|
/**
|
|
65
73
|
*
|
|
66
|
-
* @summary Reject a pending team invitation
|
|
74
|
+
* @summary Reject a pending private team invitation
|
|
67
75
|
* @param {string} teamInvitationId The ID of the team invitation.
|
|
68
76
|
*/
|
|
69
77
|
rejectTeamInvitation(teamInvitationId) {
|
|
@@ -20,14 +20,14 @@ import { InvitationTeamCreate } from '../../generated/models';
|
|
|
20
20
|
export declare class TeamsInvitationsApiService extends ApiBaseService {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @summary
|
|
23
|
+
* @summary Create a new invitation for a team
|
|
24
24
|
* @param {number} teamId The ID of the team.
|
|
25
25
|
* @param {InvitationTeamCreate} invitationTeamCreate A JSON object containing the resource data
|
|
26
26
|
*/
|
|
27
27
|
addTeamInvitation(teamId: number, invitationTeamCreate: InvitationTeamCreate): Promise<ApiResponse<Invitation>>;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @summary Return a list of
|
|
30
|
+
* @summary Return a list of invitations belonging to a team
|
|
31
31
|
* @param {number} teamId The ID of the team.
|
|
32
32
|
* @param {number} [page] Number of the page to be retrieved
|
|
33
33
|
* @param {number} [perPage] Number of items returned per page
|
|
@@ -31,7 +31,7 @@ const Exceptions_1 = require("../../../common/Exceptions");
|
|
|
31
31
|
class TeamsInvitationsApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @summary
|
|
34
|
+
* @summary Create a new invitation for a team
|
|
35
35
|
* @param {number} teamId The ID of the team.
|
|
36
36
|
* @param {InvitationTeamCreate} invitationTeamCreate A JSON object containing the resource data
|
|
37
37
|
*/
|
|
@@ -51,7 +51,7 @@ class TeamsInvitationsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
|
-
* @summary Return a list of
|
|
54
|
+
* @summary Return a list of invitations belonging to a team
|
|
55
55
|
* @param {number} teamId The ID of the team.
|
|
56
56
|
* @param {number} [page] Number of the page to be retrieved
|
|
57
57
|
* @param {number} [perPage] Number of items returned per page
|
|
@@ -19,7 +19,7 @@ import { MemberRelation } from '../../generated/models';
|
|
|
19
19
|
export declare class TeamsMembersApiService extends ApiBaseService {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @summary
|
|
22
|
+
* @summary Remove a member from a team
|
|
23
23
|
* @param {number} teamId The ID of the team.
|
|
24
24
|
* @param {number} userId The ID of the user.
|
|
25
25
|
*/
|
|
@@ -31,7 +31,7 @@ const Exceptions_1 = require("../../../common/Exceptions");
|
|
|
31
31
|
class TeamsMembersApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @summary
|
|
34
|
+
* @summary Remove a member from a team
|
|
35
35
|
* @param {number} teamId The ID of the team.
|
|
36
36
|
* @param {number} userId The ID of the user.
|
|
37
37
|
*/
|
|
@@ -14,26 +14,22 @@ import { ApiResponse } from "../../../common/ApiResponse";
|
|
|
14
14
|
import { User } from '../../generated/models';
|
|
15
15
|
import { UserActivity } from '../../generated/models';
|
|
16
16
|
import { UserBilling } from '../../generated/models';
|
|
17
|
-
import { UserCreate } from '../../generated/models';
|
|
18
|
-
import { UserLogin } from '../../generated/models';
|
|
19
17
|
import { UserLoginResponse } from '../../generated/models';
|
|
20
18
|
import { UserMe } from '../../generated/models';
|
|
21
19
|
import { UserRefreshToken } from '../../generated/models';
|
|
22
20
|
import { UserRefreshTokenResponse } from '../../generated/models';
|
|
23
21
|
import { UserResendVerification } from '../../generated/models';
|
|
24
|
-
import { UserUpdate } from '../../generated/models';
|
|
25
22
|
import { UserUrl } from '../../generated/models';
|
|
26
|
-
import { UserVerify } from '../../generated/models';
|
|
27
23
|
/**
|
|
28
24
|
* UsersApiService - Auto-generated
|
|
29
25
|
*/
|
|
30
26
|
export declare class UsersApiService extends ApiBaseService {
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
29
|
+
* @deprecated
|
|
33
30
|
* @summary Sign up/register a new user
|
|
34
|
-
* @param {UserCreate} userCreate A JSON object containing the resource data
|
|
35
31
|
*/
|
|
36
|
-
addUser(
|
|
32
|
+
addUser(): Promise<ApiResponse<void>>;
|
|
37
33
|
/**
|
|
38
34
|
*
|
|
39
35
|
* @summary Get a user by ID or URL Slug
|
|
@@ -53,6 +49,7 @@ export declare class UsersApiService extends ApiBaseService {
|
|
|
53
49
|
getUserBilling(): Promise<ApiResponse<UserBilling>>;
|
|
54
50
|
/**
|
|
55
51
|
*
|
|
52
|
+
* @deprecated
|
|
56
53
|
* @summary Logout/revoke an existing token
|
|
57
54
|
*/
|
|
58
55
|
getUserLogout(): Promise<ApiResponse<void>>;
|
|
@@ -68,12 +65,13 @@ export declare class UsersApiService extends ApiBaseService {
|
|
|
68
65
|
getUserUrls(): Promise<ApiResponse<UserUrl>>;
|
|
69
66
|
/**
|
|
70
67
|
*
|
|
68
|
+
* @deprecated
|
|
71
69
|
* @summary Login/create a new token for the given credentials
|
|
72
|
-
* @param {UserLogin} userLogin A JSON object containing the resource data
|
|
73
70
|
*/
|
|
74
|
-
loginUser(
|
|
71
|
+
loginUser(): Promise<ApiResponse<UserLoginResponse>>;
|
|
75
72
|
/**
|
|
76
73
|
*
|
|
74
|
+
* @deprecated
|
|
77
75
|
* @summary Refresh an existing user access token
|
|
78
76
|
* @param {UserRefreshToken} userRefreshToken A JSON object containing the resource data
|
|
79
77
|
*/
|
|
@@ -86,15 +84,15 @@ export declare class UsersApiService extends ApiBaseService {
|
|
|
86
84
|
resendVerificationUser(userResendVerification: UserResendVerification): Promise<ApiResponse<void>>;
|
|
87
85
|
/**
|
|
88
86
|
*
|
|
87
|
+
* @deprecated
|
|
89
88
|
* @summary Update an existing user
|
|
90
89
|
* @param {string} userId The ID of the user.
|
|
91
|
-
* @param {UserUpdate} userUpdate A JSON object containing the resource data
|
|
92
90
|
*/
|
|
93
|
-
updateUser(userId: string
|
|
91
|
+
updateUser(userId: string): Promise<ApiResponse<void>>;
|
|
94
92
|
/**
|
|
95
93
|
*
|
|
94
|
+
* @deprecated
|
|
96
95
|
* @summary Activate the user account
|
|
97
|
-
* @param {UserVerify} userVerify A JSON object containing the resource data
|
|
98
96
|
*/
|
|
99
|
-
verifyUser(
|
|
97
|
+
verifyUser(): Promise<ApiResponse<void>>;
|
|
100
98
|
}
|
|
@@ -31,17 +31,14 @@ const Exceptions_1 = require("../../../common/Exceptions");
|
|
|
31
31
|
class UsersApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
+
* @deprecated
|
|
34
35
|
* @summary Sign up/register a new user
|
|
35
|
-
* @param {UserCreate} userCreate A JSON object containing the resource data
|
|
36
36
|
*/
|
|
37
|
-
addUser(
|
|
37
|
+
addUser() {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
if (userCreate === null || userCreate === undefined) {
|
|
40
|
-
throw new Exceptions_1.ArgumentNullException('userCreate', 'addUser');
|
|
41
|
-
}
|
|
42
39
|
let queryString = '';
|
|
43
40
|
const requestUrl = '/users' + (queryString ? `?${queryString}` : '');
|
|
44
|
-
const response = yield this.post(requestUrl
|
|
41
|
+
const response = yield this.post(requestUrl);
|
|
45
42
|
return new ApiResponse_1.ApiResponse(response);
|
|
46
43
|
});
|
|
47
44
|
}
|
|
@@ -91,6 +88,7 @@ class UsersApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
91
88
|
}
|
|
92
89
|
/**
|
|
93
90
|
*
|
|
91
|
+
* @deprecated
|
|
94
92
|
* @summary Logout/revoke an existing token
|
|
95
93
|
*/
|
|
96
94
|
getUserLogout() {
|
|
@@ -127,22 +125,20 @@ class UsersApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
127
125
|
}
|
|
128
126
|
/**
|
|
129
127
|
*
|
|
128
|
+
* @deprecated
|
|
130
129
|
* @summary Login/create a new token for the given credentials
|
|
131
|
-
* @param {UserLogin} userLogin A JSON object containing the resource data
|
|
132
130
|
*/
|
|
133
|
-
loginUser(
|
|
131
|
+
loginUser() {
|
|
134
132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
135
|
-
if (userLogin === null || userLogin === undefined) {
|
|
136
|
-
throw new Exceptions_1.ArgumentNullException('userLogin', 'loginUser');
|
|
137
|
-
}
|
|
138
133
|
let queryString = '';
|
|
139
134
|
const requestUrl = '/users/login' + (queryString ? `?${queryString}` : '');
|
|
140
|
-
const response = yield this.post(requestUrl
|
|
135
|
+
const response = yield this.post(requestUrl);
|
|
141
136
|
return new ApiResponse_1.ApiResponse(response);
|
|
142
137
|
});
|
|
143
138
|
}
|
|
144
139
|
/**
|
|
145
140
|
*
|
|
141
|
+
* @deprecated
|
|
146
142
|
* @summary Refresh an existing user access token
|
|
147
143
|
* @param {UserRefreshToken} userRefreshToken A JSON object containing the resource data
|
|
148
144
|
*/
|
|
@@ -175,37 +171,31 @@ class UsersApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
175
171
|
}
|
|
176
172
|
/**
|
|
177
173
|
*
|
|
174
|
+
* @deprecated
|
|
178
175
|
* @summary Update an existing user
|
|
179
176
|
* @param {string} userId The ID of the user.
|
|
180
|
-
* @param {UserUpdate} userUpdate A JSON object containing the resource data
|
|
181
177
|
*/
|
|
182
|
-
updateUser(userId
|
|
178
|
+
updateUser(userId) {
|
|
183
179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
184
180
|
if (userId === null || userId === undefined) {
|
|
185
181
|
throw new Exceptions_1.ArgumentNullException('userId', 'updateUser');
|
|
186
182
|
}
|
|
187
|
-
if (userUpdate === null || userUpdate === undefined) {
|
|
188
|
-
throw new Exceptions_1.ArgumentNullException('userUpdate', 'updateUser');
|
|
189
|
-
}
|
|
190
183
|
let queryString = '';
|
|
191
184
|
const requestUrl = '/users/{user_id}' + (queryString ? `?${queryString}` : '');
|
|
192
|
-
const response = yield this.put(requestUrl.replace(`{${"user_id"}}`, encodeURIComponent(String(userId)))
|
|
185
|
+
const response = yield this.put(requestUrl.replace(`{${"user_id"}}`, encodeURIComponent(String(userId))));
|
|
193
186
|
return new ApiResponse_1.ApiResponse(response);
|
|
194
187
|
});
|
|
195
188
|
}
|
|
196
189
|
/**
|
|
197
190
|
*
|
|
191
|
+
* @deprecated
|
|
198
192
|
* @summary Activate the user account
|
|
199
|
-
* @param {UserVerify} userVerify A JSON object containing the resource data
|
|
200
193
|
*/
|
|
201
|
-
verifyUser(
|
|
194
|
+
verifyUser() {
|
|
202
195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
-
if (userVerify === null || userVerify === undefined) {
|
|
204
|
-
throw new Exceptions_1.ArgumentNullException('userVerify', 'verifyUser');
|
|
205
|
-
}
|
|
206
196
|
let queryString = '';
|
|
207
197
|
const requestUrl = '/users/account/verify' + (queryString ? `?${queryString}` : '');
|
|
208
|
-
const response = yield this.post(requestUrl
|
|
198
|
+
const response = yield this.post(requestUrl);
|
|
209
199
|
return new ApiResponse_1.ApiResponse(response);
|
|
210
200
|
});
|
|
211
201
|
}
|
|
@@ -13,21 +13,21 @@ import { ApiBaseService } from "../../../services/ApiBaseService";
|
|
|
13
13
|
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
14
|
import { PasswordResetResponse } from '../../generated/models';
|
|
15
15
|
import { PasswordUserReset } from '../../generated/models';
|
|
16
|
-
import { PasswordUserSendResetLink } from '../../generated/models';
|
|
17
16
|
/**
|
|
18
17
|
* UsersPasswordsApiService - Auto-generated
|
|
19
18
|
*/
|
|
20
19
|
export declare class UsersPasswordsApiService extends ApiBaseService {
|
|
21
20
|
/**
|
|
22
21
|
*
|
|
22
|
+
* @deprecated
|
|
23
23
|
* @summary Reset the user password
|
|
24
24
|
* @param {PasswordUserReset} passwordUserReset A JSON object containing the resource data
|
|
25
25
|
*/
|
|
26
26
|
resetUserPassword(passwordUserReset: PasswordUserReset): Promise<ApiResponse<PasswordResetResponse>>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
|
+
* @deprecated
|
|
29
30
|
* @summary Send the password reset link to user\'s email
|
|
30
|
-
* @param {PasswordUserSendResetLink} passwordUserSendResetLink A JSON object containing the resource data
|
|
31
31
|
*/
|
|
32
|
-
sendResetLinkUserPassword(
|
|
32
|
+
sendResetLinkUserPassword(): Promise<ApiResponse<void>>;
|
|
33
33
|
}
|
|
@@ -31,6 +31,7 @@ const Exceptions_1 = require("../../../common/Exceptions");
|
|
|
31
31
|
class UsersPasswordsApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
+
* @deprecated
|
|
34
35
|
* @summary Reset the user password
|
|
35
36
|
* @param {PasswordUserReset} passwordUserReset A JSON object containing the resource data
|
|
36
37
|
*/
|
|
@@ -47,17 +48,14 @@ class UsersPasswordsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
50
|
*
|
|
51
|
+
* @deprecated
|
|
50
52
|
* @summary Send the password reset link to user\'s email
|
|
51
|
-
* @param {PasswordUserSendResetLink} passwordUserSendResetLink A JSON object containing the resource data
|
|
52
53
|
*/
|
|
53
|
-
sendResetLinkUserPassword(
|
|
54
|
+
sendResetLinkUserPassword() {
|
|
54
55
|
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
-
if (passwordUserSendResetLink === null || passwordUserSendResetLink === undefined) {
|
|
56
|
-
throw new Exceptions_1.ArgumentNullException('passwordUserSendResetLink', 'sendResetLinkUserPassword');
|
|
57
|
-
}
|
|
58
56
|
let queryString = '';
|
|
59
57
|
const requestUrl = '/users/password/send-reset-link' + (queryString ? `?${queryString}` : '');
|
|
60
|
-
const response = yield this.post(requestUrl
|
|
58
|
+
const response = yield this.post(requestUrl);
|
|
61
59
|
return new ApiResponse_1.ApiResponse(response);
|
|
62
60
|
});
|
|
63
61
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* A plan available for billing
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BillingPlan
|
|
16
|
+
*/
|
|
17
|
+
export interface BillingPlan {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the billing plan
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BillingPlan
|
|
22
|
+
*/
|
|
23
|
+
id?: number;
|
|
24
|
+
/**
|
|
25
|
+
* The provider ID of the billing plan
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BillingPlan
|
|
28
|
+
*/
|
|
29
|
+
provider_plan_id?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The price of the billing plan
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof BillingPlan
|
|
34
|
+
*/
|
|
35
|
+
price?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The credit limit of the billing plan
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof BillingPlan
|
|
40
|
+
*/
|
|
41
|
+
credit_limit?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The billing period of the billing plan
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BillingPlan
|
|
46
|
+
*/
|
|
47
|
+
billing_period?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { BillingPlan } from './billing-plan';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BillingPlansOptionsRelation
|
|
17
|
+
*/
|
|
18
|
+
export interface BillingPlansOptionsRelation {
|
|
19
|
+
/**
|
|
20
|
+
* Product name of the plan
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BillingPlansOptionsRelation
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* A short text describing the target audience of the product
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BillingPlansOptionsRelation
|
|
29
|
+
*/
|
|
30
|
+
hint: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The list of plans available for billing
|
|
33
|
+
* @type {Array<BillingPlan>}
|
|
34
|
+
* @memberof BillingPlansOptionsRelation
|
|
35
|
+
*/
|
|
36
|
+
plans: Array<BillingPlan>;
|
|
37
|
+
}
|
|
@@ -42,6 +42,8 @@ export * from './application-pipeline';
|
|
|
42
42
|
export * from './application-relation';
|
|
43
43
|
export * from './application-update';
|
|
44
44
|
export * from './archived-environment-relation';
|
|
45
|
+
export * from './billing-plan';
|
|
46
|
+
export * from './billing-plans-options-relation';
|
|
45
47
|
export * from './blueprint-service';
|
|
46
48
|
export * from './cloud-instance-relation';
|
|
47
49
|
export * from './cloud-os-version-code';
|
|
@@ -162,7 +164,6 @@ export * from './organization-relation';
|
|
|
162
164
|
export * from './organization-update';
|
|
163
165
|
export * from './password-reset-response';
|
|
164
166
|
export * from './password-user-reset';
|
|
165
|
-
export * from './password-user-send-reset-link';
|
|
166
167
|
export * from './permission-relation';
|
|
167
168
|
export * from './personal-access-token';
|
|
168
169
|
export * from './personal-access-token-relation';
|
|
@@ -284,6 +285,7 @@ export * from './team';
|
|
|
284
285
|
export * from './team-environment-link';
|
|
285
286
|
export * from './team-invitation-relation';
|
|
286
287
|
export * from './team-invitation-status';
|
|
288
|
+
export * from './team-invitation-type';
|
|
287
289
|
export * from './team-membership-relation';
|
|
288
290
|
export * from './team-project-create';
|
|
289
291
|
export * from './team-relation';
|
|
@@ -297,9 +299,7 @@ export * from './triggered-actions';
|
|
|
297
299
|
export * from './user';
|
|
298
300
|
export * from './user-activity';
|
|
299
301
|
export * from './user-billing';
|
|
300
|
-
export * from './user-create';
|
|
301
302
|
export * from './user-environment-stats';
|
|
302
|
-
export * from './user-login';
|
|
303
303
|
export * from './user-login-response';
|
|
304
304
|
export * from './user-me';
|
|
305
305
|
export * from './user-profile-options';
|
|
@@ -309,9 +309,7 @@ export * from './user-refresh-token-response';
|
|
|
309
309
|
export * from './user-relation';
|
|
310
310
|
export * from './user-resend-verification';
|
|
311
311
|
export * from './user-team-stats';
|
|
312
|
-
export * from './user-update';
|
|
313
312
|
export * from './user-url';
|
|
314
|
-
export * from './user-verify';
|
|
315
313
|
export * from './variable';
|
|
316
314
|
export * from './variable-application-create';
|
|
317
315
|
export * from './variable-create';
|
|
@@ -58,6 +58,8 @@ __exportStar(require("./application-pipeline"), exports);
|
|
|
58
58
|
__exportStar(require("./application-relation"), exports);
|
|
59
59
|
__exportStar(require("./application-update"), exports);
|
|
60
60
|
__exportStar(require("./archived-environment-relation"), exports);
|
|
61
|
+
__exportStar(require("./billing-plan"), exports);
|
|
62
|
+
__exportStar(require("./billing-plans-options-relation"), exports);
|
|
61
63
|
__exportStar(require("./blueprint-service"), exports);
|
|
62
64
|
__exportStar(require("./cloud-instance-relation"), exports);
|
|
63
65
|
__exportStar(require("./cloud-os-version-code"), exports);
|
|
@@ -178,7 +180,6 @@ __exportStar(require("./organization-relation"), exports);
|
|
|
178
180
|
__exportStar(require("./organization-update"), exports);
|
|
179
181
|
__exportStar(require("./password-reset-response"), exports);
|
|
180
182
|
__exportStar(require("./password-user-reset"), exports);
|
|
181
|
-
__exportStar(require("./password-user-send-reset-link"), exports);
|
|
182
183
|
__exportStar(require("./permission-relation"), exports);
|
|
183
184
|
__exportStar(require("./personal-access-token"), exports);
|
|
184
185
|
__exportStar(require("./personal-access-token-relation"), exports);
|
|
@@ -300,6 +301,7 @@ __exportStar(require("./team"), exports);
|
|
|
300
301
|
__exportStar(require("./team-environment-link"), exports);
|
|
301
302
|
__exportStar(require("./team-invitation-relation"), exports);
|
|
302
303
|
__exportStar(require("./team-invitation-status"), exports);
|
|
304
|
+
__exportStar(require("./team-invitation-type"), exports);
|
|
303
305
|
__exportStar(require("./team-membership-relation"), exports);
|
|
304
306
|
__exportStar(require("./team-project-create"), exports);
|
|
305
307
|
__exportStar(require("./team-relation"), exports);
|
|
@@ -313,9 +315,7 @@ __exportStar(require("./triggered-actions"), exports);
|
|
|
313
315
|
__exportStar(require("./user"), exports);
|
|
314
316
|
__exportStar(require("./user-activity"), exports);
|
|
315
317
|
__exportStar(require("./user-billing"), exports);
|
|
316
|
-
__exportStar(require("./user-create"), exports);
|
|
317
318
|
__exportStar(require("./user-environment-stats"), exports);
|
|
318
|
-
__exportStar(require("./user-login"), exports);
|
|
319
319
|
__exportStar(require("./user-login-response"), exports);
|
|
320
320
|
__exportStar(require("./user-me"), exports);
|
|
321
321
|
__exportStar(require("./user-profile-options"), exports);
|
|
@@ -325,9 +325,7 @@ __exportStar(require("./user-refresh-token-response"), exports);
|
|
|
325
325
|
__exportStar(require("./user-relation"), exports);
|
|
326
326
|
__exportStar(require("./user-resend-verification"), exports);
|
|
327
327
|
__exportStar(require("./user-team-stats"), exports);
|
|
328
|
-
__exportStar(require("./user-update"), exports);
|
|
329
328
|
__exportStar(require("./user-url"), exports);
|
|
330
|
-
__exportStar(require("./user-verify"), exports);
|
|
331
329
|
__exportStar(require("./variable"), exports);
|
|
332
330
|
__exportStar(require("./variable-application-create"), exports);
|
|
333
331
|
__exportStar(require("./variable-create"), exports);
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ProjectRelation } from './project-relation';
|
|
13
13
|
import { TeamInvitationStatus } from './team-invitation-status';
|
|
14
|
+
import { TeamInvitationType } from './team-invitation-type';
|
|
14
15
|
import { TeamRelation } from './team-relation';
|
|
15
16
|
import { UserRelation } from './user-relation';
|
|
16
17
|
/**
|
|
@@ -25,12 +26,24 @@ export interface InvitationRelation {
|
|
|
25
26
|
* @memberof InvitationRelation
|
|
26
27
|
*/
|
|
27
28
|
id: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {TeamInvitationType}
|
|
32
|
+
* @memberof InvitationRelation
|
|
33
|
+
*/
|
|
34
|
+
type: TeamInvitationType;
|
|
35
|
+
/**
|
|
36
|
+
* The token used to accept the public invitation
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InvitationRelation
|
|
39
|
+
*/
|
|
40
|
+
token: string | null;
|
|
28
41
|
/**
|
|
29
42
|
* The email of the user that has been invited to team
|
|
30
43
|
* @type {string}
|
|
31
44
|
* @memberof InvitationRelation
|
|
32
45
|
*/
|
|
33
|
-
email: string;
|
|
46
|
+
email: string | null;
|
|
34
47
|
/**
|
|
35
48
|
*
|
|
36
49
|
* @type {TeamInvitationStatus}
|
|
@@ -55,12 +68,6 @@ export interface InvitationRelation {
|
|
|
55
68
|
* @memberof InvitationRelation
|
|
56
69
|
*/
|
|
57
70
|
created_by_user: UserRelation;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {UserRelation}
|
|
61
|
-
* @memberof InvitationRelation
|
|
62
|
-
*/
|
|
63
|
-
user: UserRelation;
|
|
64
71
|
/**
|
|
65
72
|
*
|
|
66
73
|
* @type {TeamRelation}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { TeamInvitationType } from './team-invitation-type';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,9 +17,15 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface InvitationTeamCreate {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
*
|
|
21
|
+
* @type {TeamInvitationType}
|
|
22
|
+
* @memberof InvitationTeamCreate
|
|
23
|
+
*/
|
|
24
|
+
type: TeamInvitationType;
|
|
25
|
+
/**
|
|
26
|
+
* The user email to send the invitation. Must be a valid email address. This field is required when <code>type</code> is <code>private</code>.
|
|
20
27
|
* @type {string}
|
|
21
28
|
* @memberof InvitationTeamCreate
|
|
22
29
|
*/
|
|
23
|
-
email
|
|
30
|
+
email?: string;
|
|
24
31
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { TeamInvitationStatus } from './team-invitation-status';
|
|
13
|
+
import { TeamInvitationType } from './team-invitation-type';
|
|
13
14
|
import { TeamRelation } from './team-relation';
|
|
14
15
|
import { UserRelation } from './user-relation';
|
|
15
16
|
/**
|
|
@@ -24,12 +25,24 @@ export interface Invitation {
|
|
|
24
25
|
* @memberof Invitation
|
|
25
26
|
*/
|
|
26
27
|
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {TeamInvitationType}
|
|
31
|
+
* @memberof Invitation
|
|
32
|
+
*/
|
|
33
|
+
type: TeamInvitationType;
|
|
34
|
+
/**
|
|
35
|
+
* The token used to accept the public invitation
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Invitation
|
|
38
|
+
*/
|
|
39
|
+
token: string | null;
|
|
27
40
|
/**
|
|
28
41
|
* The email of the user that has been invited to team
|
|
29
42
|
* @type {string}
|
|
30
43
|
* @memberof Invitation
|
|
31
44
|
*/
|
|
32
|
-
email: string;
|
|
45
|
+
email: string | null;
|
|
33
46
|
/**
|
|
34
47
|
*
|
|
35
48
|
* @type {TeamInvitationStatus}
|
|
@@ -54,12 +67,6 @@ export interface Invitation {
|
|
|
54
67
|
* @memberof Invitation
|
|
55
68
|
*/
|
|
56
69
|
created_by_user: UserRelation;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {UserRelation}
|
|
60
|
-
* @memberof Invitation
|
|
61
|
-
*/
|
|
62
|
-
user: UserRelation;
|
|
63
70
|
/**
|
|
64
71
|
*
|
|
65
72
|
* @type {TeamRelation}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ProjectRelation } from './project-relation';
|
|
13
13
|
import { TeamInvitationStatus } from './team-invitation-status';
|
|
14
|
+
import { TeamInvitationType } from './team-invitation-type';
|
|
14
15
|
import { TeamRelation } from './team-relation';
|
|
15
16
|
import { UserRelation } from './user-relation';
|
|
16
17
|
/**
|
|
@@ -25,12 +26,24 @@ export interface TeamInvitationRelation {
|
|
|
25
26
|
* @memberof TeamInvitationRelation
|
|
26
27
|
*/
|
|
27
28
|
id: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {TeamInvitationType}
|
|
32
|
+
* @memberof TeamInvitationRelation
|
|
33
|
+
*/
|
|
34
|
+
type: TeamInvitationType;
|
|
35
|
+
/**
|
|
36
|
+
* The token used to accept the public invitation
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof TeamInvitationRelation
|
|
39
|
+
*/
|
|
40
|
+
token: string | null;
|
|
28
41
|
/**
|
|
29
42
|
* The email of the user that has been invited to team
|
|
30
43
|
* @type {string}
|
|
31
44
|
* @memberof TeamInvitationRelation
|
|
32
45
|
*/
|
|
33
|
-
email: string;
|
|
46
|
+
email: string | null;
|
|
34
47
|
/**
|
|
35
48
|
*
|
|
36
49
|
* @type {TeamInvitationStatus}
|
|
@@ -55,12 +68,6 @@ export interface TeamInvitationRelation {
|
|
|
55
68
|
* @memberof TeamInvitationRelation
|
|
56
69
|
*/
|
|
57
70
|
created_by_user: UserRelation;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {UserRelation}
|
|
61
|
-
* @memberof TeamInvitationRelation
|
|
62
|
-
*/
|
|
63
|
-
user: UserRelation;
|
|
64
71
|
/**
|
|
65
72
|
*
|
|
66
73
|
* @type {TeamRelation}
|
|
@@ -10,12 +10,14 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The status of
|
|
13
|
+
* The possible status of Team Invitation.
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare enum TeamInvitationStatus {
|
|
18
18
|
Accepted = "accepted",
|
|
19
19
|
Expired = "expired",
|
|
20
|
-
Pending = "pending"
|
|
20
|
+
Pending = "pending",
|
|
21
|
+
Rejected = "rejected",
|
|
22
|
+
Active = "active"
|
|
21
23
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.TeamInvitationStatus = void 0;
|
|
16
16
|
/**
|
|
17
|
-
* The status of
|
|
17
|
+
* The possible status of Team Invitation.
|
|
18
18
|
* @export
|
|
19
19
|
* @enum {string}
|
|
20
20
|
*/
|
|
@@ -23,4 +23,6 @@ var TeamInvitationStatus;
|
|
|
23
23
|
TeamInvitationStatus["Accepted"] = "accepted";
|
|
24
24
|
TeamInvitationStatus["Expired"] = "expired";
|
|
25
25
|
TeamInvitationStatus["Pending"] = "pending";
|
|
26
|
+
TeamInvitationStatus["Rejected"] = "rejected";
|
|
27
|
+
TeamInvitationStatus["Active"] = "active";
|
|
26
28
|
})(TeamInvitationStatus || (exports.TeamInvitationStatus = TeamInvitationStatus = {}));
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
1
|
/**
|
|
4
2
|
* devopness API
|
|
5
3
|
* Devopness API - Painless essential DevOps to everyone
|
|
@@ -11,4 +9,12 @@
|
|
|
11
9
|
* https://openapi-generator.tech
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
|
-
|
|
12
|
+
/**
|
|
13
|
+
* The possible types of Team Invitation.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum TeamInvitationType {
|
|
18
|
+
Private = "private",
|
|
19
|
+
Public = "public"
|
|
20
|
+
}
|
|
@@ -12,3 +12,14 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.TeamInvitationType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The possible types of Team Invitation.
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var TeamInvitationType;
|
|
22
|
+
(function (TeamInvitationType) {
|
|
23
|
+
TeamInvitationType["Private"] = "private";
|
|
24
|
+
TeamInvitationType["Public"] = "public";
|
|
25
|
+
})(TeamInvitationType || (exports.TeamInvitationType = TeamInvitationType = {}));
|
|
@@ -29,7 +29,7 @@ export declare class ApiBaseService {
|
|
|
29
29
|
protected isTokenExpired(response: AxiosResponse | undefined): boolean;
|
|
30
30
|
baseURL(): string;
|
|
31
31
|
protected post<T, B = undefined, R = AxiosResponse<T>>(endpoint: string, data?: B): Promise<R>;
|
|
32
|
-
protected put<T, B, R = AxiosResponse<T>>(endpoint: string, data?: B): Promise<R>;
|
|
32
|
+
protected put<T, B = undefined, R = AxiosResponse<T>>(endpoint: string, data?: B): Promise<R>;
|
|
33
33
|
protected delete<T, R = AxiosResponse<T>>(endpoint: string): Promise<R>;
|
|
34
34
|
protected get<T, R = AxiosResponse<T>>(endpoint: string): Promise<R>;
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@devopness/sdk-js",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -51,26 +51,26 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/devopness/devopness#readme",
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@eslint/js": "^9.
|
|
55
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
54
|
+
"@eslint/js": "^9.37.0",
|
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.25.0",
|
|
56
56
|
"@types/jest": "^30.0.0",
|
|
57
|
-
"@typescript-eslint/parser": "^8.
|
|
57
|
+
"@typescript-eslint/parser": "^8.46.1",
|
|
58
58
|
"axios-mock-adapter": "^2.1.0",
|
|
59
|
-
"eslint": "^9.
|
|
59
|
+
"eslint": "^9.37.0",
|
|
60
60
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
61
61
|
"eslint-plugin-import": "^2.32.0",
|
|
62
|
-
"eslint-plugin-n": "^17.
|
|
62
|
+
"eslint-plugin-n": "^17.23.1",
|
|
63
63
|
"eslint-plugin-promise": "^7.2.1",
|
|
64
64
|
"husky": "9.1.7",
|
|
65
|
-
"jest": "^30.
|
|
66
|
-
"ts-jest": "^29.4.
|
|
67
|
-
"typedoc": "^0.28.
|
|
68
|
-
"typescript": "^5.9.
|
|
69
|
-
"typescript-eslint": "^8.
|
|
65
|
+
"jest": "^30.2.0",
|
|
66
|
+
"ts-jest": "^29.4.5",
|
|
67
|
+
"typedoc": "^0.28.14",
|
|
68
|
+
"typescript": "^5.9.3",
|
|
69
|
+
"typescript-eslint": "^8.46.1"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@types/parse-link-header": "^2.0.3",
|
|
73
|
-
"axios": "^1.
|
|
73
|
+
"axios": "^1.12.0",
|
|
74
74
|
"parse-link-header": "^2.0.0"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* devopness API
|
|
3
|
-
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PasswordUserSendResetLink
|
|
16
|
-
*/
|
|
17
|
-
export interface PasswordUserSendResetLink {
|
|
18
|
-
/**
|
|
19
|
-
* The e-mail that will uniquely identify the user on the system and become its login credential. Must be a valid email address. Must not be greater than 255 characters.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PasswordUserSendResetLink
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* devopness API
|
|
3
|
-
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UserCreate
|
|
16
|
-
*/
|
|
17
|
-
export interface UserCreate {
|
|
18
|
-
/**
|
|
19
|
-
* The e-mail that will uniquely identify the user on the system and become its login credential. Must be a valid email address. Must not be greater than 255 characters.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserCreate
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* devopness API
|
|
3
|
-
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UserLogin
|
|
16
|
-
*/
|
|
17
|
-
export interface UserLogin {
|
|
18
|
-
/**
|
|
19
|
-
* The user\'s registered e-mail address. Must be a valid email address.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserLogin
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
/**
|
|
25
|
-
* The user password.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UserLogin
|
|
28
|
-
*/
|
|
29
|
-
password: string;
|
|
30
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* devopness API
|
|
3
|
-
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { Language } from './language';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UserUpdate
|
|
17
|
-
*/
|
|
18
|
-
export interface UserUpdate {
|
|
19
|
-
/**
|
|
20
|
-
* The unique ID of the given User.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UserUpdate
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* User\'s full name. Must be at least 3 characters. Must not be greater than 255 characters.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UserUpdate
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
* The e-mail that will uniquely identify the user on the system and become its login credential. Must be a valid email address.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof UserUpdate
|
|
35
|
-
*/
|
|
36
|
-
email: string;
|
|
37
|
-
/**
|
|
38
|
-
* The URL Slug of the user. Must not be greater than 255 characters.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof UserUpdate
|
|
41
|
-
*/
|
|
42
|
-
url_slug: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Language}
|
|
46
|
-
* @memberof UserUpdate
|
|
47
|
-
*/
|
|
48
|
-
language?: Language | null;
|
|
49
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* devopness API
|
|
3
|
-
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UserVerify
|
|
16
|
-
*/
|
|
17
|
-
export interface UserVerify {
|
|
18
|
-
/**
|
|
19
|
-
* The email of the user\'s account. Must be a valid email address. Must not be greater than 255 characters.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserVerify
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
/**
|
|
25
|
-
* The security token of the account. Must not be greater than 255 characters.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UserVerify
|
|
28
|
-
*/
|
|
29
|
-
token: string;
|
|
30
|
-
/**
|
|
31
|
-
* The new user name to account. Must be at least 3 characters. Must not be greater than 255 characters.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UserVerify
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
* The URL Slug of the account. Must not be greater than 255 characters.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof UserVerify
|
|
40
|
-
*/
|
|
41
|
-
url_slug?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The new password to account. Must be at least 8 characters.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof UserVerify
|
|
46
|
-
*/
|
|
47
|
-
password: string;
|
|
48
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* devopness API
|
|
5
|
-
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: latest
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
File without changes
|
|
File without changes
|