@devopness/sdk-js 2.164.9 → 2.164.10

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.
@@ -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
@@ -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(userCreate: UserCreate): Promise<ApiResponse<void>>;
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(userLogin: UserLogin): Promise<ApiResponse<UserLoginResponse>>;
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, userUpdate: UserUpdate): Promise<ApiResponse<void>>;
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(userVerify: UserVerify): Promise<ApiResponse<void>>;
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(userCreate) {
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, userCreate);
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(userLogin) {
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, userLogin);
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, userUpdate) {
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))), userUpdate);
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(userVerify) {
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, userVerify);
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(passwordUserSendResetLink: PasswordUserSendResetLink): Promise<ApiResponse<void>>;
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(passwordUserSendResetLink) {
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, passwordUserSendResetLink);
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';
@@ -297,9 +298,7 @@ export * from './triggered-actions';
297
298
  export * from './user';
298
299
  export * from './user-activity';
299
300
  export * from './user-billing';
300
- export * from './user-create';
301
301
  export * from './user-environment-stats';
302
- export * from './user-login';
303
302
  export * from './user-login-response';
304
303
  export * from './user-me';
305
304
  export * from './user-profile-options';
@@ -309,9 +308,7 @@ export * from './user-refresh-token-response';
309
308
  export * from './user-relation';
310
309
  export * from './user-resend-verification';
311
310
  export * from './user-team-stats';
312
- export * from './user-update';
313
311
  export * from './user-url';
314
- export * from './user-verify';
315
312
  export * from './variable';
316
313
  export * from './variable-application-create';
317
314
  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);
@@ -313,9 +314,7 @@ __exportStar(require("./triggered-actions"), exports);
313
314
  __exportStar(require("./user"), exports);
314
315
  __exportStar(require("./user-activity"), exports);
315
316
  __exportStar(require("./user-billing"), exports);
316
- __exportStar(require("./user-create"), exports);
317
317
  __exportStar(require("./user-environment-stats"), exports);
318
- __exportStar(require("./user-login"), exports);
319
318
  __exportStar(require("./user-login-response"), exports);
320
319
  __exportStar(require("./user-me"), exports);
321
320
  __exportStar(require("./user-profile-options"), exports);
@@ -325,9 +324,7 @@ __exportStar(require("./user-refresh-token-response"), exports);
325
324
  __exportStar(require("./user-relation"), exports);
326
325
  __exportStar(require("./user-resend-verification"), exports);
327
326
  __exportStar(require("./user-team-stats"), exports);
328
- __exportStar(require("./user-update"), exports);
329
327
  __exportStar(require("./user-url"), exports);
330
- __exportStar(require("./user-verify"), exports);
331
328
  __exportStar(require("./variable"), exports);
332
329
  __exportStar(require("./variable-application-create"), exports);
333
330
  __exportStar(require("./variable-create"), exports);
@@ -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": "2.164.9",
4
+ "version": "2.164.10",
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.34.0",
55
- "@openapitools/openapi-generator-cli": "^2.23.1",
54
+ "@eslint/js": "^9.36.0",
55
+ "@openapitools/openapi-generator-cli": "^2.24.0",
56
56
  "@types/jest": "^30.0.0",
57
- "@typescript-eslint/parser": "^8.41.0",
57
+ "@typescript-eslint/parser": "^8.45.0",
58
58
  "axios-mock-adapter": "^2.1.0",
59
- "eslint": "^9.34.0",
59
+ "eslint": "^9.36.0",
60
60
  "eslint-import-resolver-typescript": "^4.4.4",
61
61
  "eslint-plugin-import": "^2.32.0",
62
- "eslint-plugin-n": "^17.21.3",
62
+ "eslint-plugin-n": "^17.23.1",
63
63
  "eslint-plugin-promise": "^7.2.1",
64
64
  "husky": "9.1.7",
65
- "jest": "^30.1.1",
66
- "ts-jest": "^29.4.1",
67
- "typedoc": "^0.28.11",
68
- "typescript": "^5.9.2",
69
- "typescript-eslint": "^8.38.0"
65
+ "jest": "^30.2.0",
66
+ "ts-jest": "^29.4.4",
67
+ "typedoc": "^0.28.13",
68
+ "typescript": "^5.9.3",
69
+ "typescript-eslint": "^8.45.0"
70
70
  },
71
71
  "dependencies": {
72
72
  "@types/parse-link-header": "^2.0.3",
73
- "axios": "^1.11.0",
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,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 });
@@ -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,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 });
@@ -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 });