@otr-app/shared-backend-generated-client 2.4.28 → 2.4.29
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/angular/.openapi-generator/FILES +1 -0
- package/dist/angular/api/userPasswordController.service.ts +74 -72
- package/dist/angular/model/models.ts +1 -0
- package/dist/angular/model/validateDirectMailResponse.ts +2 -1
- package/dist/angular/model/verifyUserPasswordRequest.ts +17 -0
- package/dist/otrBackendService.js +45 -45
- package/dist/otrBackendService.min.js +1 -1
- package/dist/typescript/api/UserPasswordControllerApi.d.ts +7 -7
- package/dist/typescript/api/UserPasswordControllerApi.js +31 -31
- package/dist/typescript/model/ValidateDirectMailResponse.d.ts +1 -0
- package/dist/typescript/model/ValidateDirectMailResponse.js +1 -0
- package/dist/typescript/model/VerifyUserPasswordRequest.d.ts +14 -0
- package/dist/typescript/model/VerifyUserPasswordRequest.js +13 -0
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/dist/typescript-fetch/apis/UserPasswordControllerApi.d.ts +13 -13
- package/dist/typescript-fetch/apis/UserPasswordControllerApi.js +34 -34
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.d.ts +1 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.js +1 -0
- package/dist/typescript-fetch/models/VerifyUserPasswordRequest.d.ts +27 -0
- package/dist/typescript-fetch/models/VerifyUserPasswordRequest.js +36 -0
- package/dist/typescript-fetch/models/index.d.ts +1 -0
- package/dist/typescript-fetch/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -48,37 +48,6 @@ var UserPasswordControllerApi = /** @class */ (function () {
|
|
|
48
48
|
}
|
|
49
49
|
return this.$http(httpRequestParams);
|
|
50
50
|
};
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @summary resetUserPasswordByAdmin
|
|
54
|
-
* @param userId userId
|
|
55
|
-
* @param request request
|
|
56
|
-
*/
|
|
57
|
-
UserPasswordControllerApi.prototype.resetUserPasswordByAdminUsingPUT = function (userId, request, extraHttpRequestParams) {
|
|
58
|
-
var localVarPath = this.basePath + '/api/v1/users/{userId}/password'
|
|
59
|
-
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
60
|
-
var queryParameters = {};
|
|
61
|
-
var headerParams = Object.assign({}, this.defaultHeaders);
|
|
62
|
-
// verify required parameter 'userId' is not null or undefined
|
|
63
|
-
if (userId === null || userId === undefined) {
|
|
64
|
-
throw new Error('Required parameter userId was null or undefined when calling resetUserPasswordByAdminUsingPUT.');
|
|
65
|
-
}
|
|
66
|
-
// verify required parameter 'request' is not null or undefined
|
|
67
|
-
if (request === null || request === undefined) {
|
|
68
|
-
throw new Error('Required parameter request was null or undefined when calling resetUserPasswordByAdminUsingPUT.');
|
|
69
|
-
}
|
|
70
|
-
var httpRequestParams = {
|
|
71
|
-
method: 'PUT',
|
|
72
|
-
url: localVarPath,
|
|
73
|
-
data: request,
|
|
74
|
-
params: queryParameters,
|
|
75
|
-
headers: headerParams
|
|
76
|
-
};
|
|
77
|
-
if (extraHttpRequestParams) {
|
|
78
|
-
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
79
|
-
}
|
|
80
|
-
return this.$http(httpRequestParams);
|
|
81
|
-
};
|
|
82
51
|
/**
|
|
83
52
|
*
|
|
84
53
|
* @summary resetUserPassword
|
|
@@ -236,6 +205,37 @@ var UserPasswordControllerApi = /** @class */ (function () {
|
|
|
236
205
|
}
|
|
237
206
|
return this.$http(httpRequestParams);
|
|
238
207
|
};
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @summary verifyUserPassword
|
|
211
|
+
* @param userId userId
|
|
212
|
+
* @param request request
|
|
213
|
+
*/
|
|
214
|
+
UserPasswordControllerApi.prototype.verifyUserPasswordUsingPUT = function (userId, request, extraHttpRequestParams) {
|
|
215
|
+
var localVarPath = this.basePath + '/api/v1/users/{userId}/verify-password'
|
|
216
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
217
|
+
var queryParameters = {};
|
|
218
|
+
var headerParams = Object.assign({}, this.defaultHeaders);
|
|
219
|
+
// verify required parameter 'userId' is not null or undefined
|
|
220
|
+
if (userId === null || userId === undefined) {
|
|
221
|
+
throw new Error('Required parameter userId was null or undefined when calling verifyUserPasswordUsingPUT.');
|
|
222
|
+
}
|
|
223
|
+
// verify required parameter 'request' is not null or undefined
|
|
224
|
+
if (request === null || request === undefined) {
|
|
225
|
+
throw new Error('Required parameter request was null or undefined when calling verifyUserPasswordUsingPUT.');
|
|
226
|
+
}
|
|
227
|
+
var httpRequestParams = {
|
|
228
|
+
method: 'PUT',
|
|
229
|
+
url: localVarPath,
|
|
230
|
+
data: request,
|
|
231
|
+
params: queryParameters,
|
|
232
|
+
headers: headerParams
|
|
233
|
+
};
|
|
234
|
+
if (extraHttpRequestParams) {
|
|
235
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
236
|
+
}
|
|
237
|
+
return this.$http(httpRequestParams);
|
|
238
|
+
};
|
|
239
239
|
UserPasswordControllerApi.$inject = ['$http', '$httpParamSerializer', 'basePath'];
|
|
240
240
|
return UserPasswordControllerApi;
|
|
241
241
|
}());
|
|
@@ -233,6 +233,7 @@ var ValidateDirectMailResponse;
|
|
|
233
233
|
OtrErrorEnum[OtrErrorEnum["NOLAWFIRMAVAILABLE"] = 'NO_LAWFIRM_AVAILABLE'] = "NOLAWFIRMAVAILABLE";
|
|
234
234
|
OtrErrorEnum[OtrErrorEnum["NOLEGALSERVICESINREGION"] = 'NO_LEGAL_SERVICES_IN_REGION'] = "NOLEGALSERVICESINREGION";
|
|
235
235
|
OtrErrorEnum[OtrErrorEnum["NOSTRIPEACCOUNT"] = 'NO_STRIPE_ACCOUNT'] = "NOSTRIPEACCOUNT";
|
|
236
|
+
OtrErrorEnum[OtrErrorEnum["OLDPASSWORDINCORRECT"] = 'OLD_PASSWORD_INCORRECT'] = "OLDPASSWORDINCORRECT";
|
|
236
237
|
OtrErrorEnum[OtrErrorEnum["OWNERCASEMESSAGEMISMATCH"] = 'OWNER_CASE_MESSAGE_MISMATCH'] = "OWNERCASEMESSAGEMISMATCH";
|
|
237
238
|
OtrErrorEnum[OtrErrorEnum["PAYMENTPLANSDENIED"] = 'PAYMENT_PLANS_DENIED'] = "PAYMENTPLANSDENIED";
|
|
238
239
|
OtrErrorEnum[OtrErrorEnum["PAYMENTPLANLEGALFEEHASCENTS"] = 'PAYMENT_PLAN_LEGAL_FEE_HAS_CENTS'] = "PAYMENTPLANLEGALFEEHASCENTS";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
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
|
+
export interface VerifyUserPasswordRequest {
|
|
13
|
+
"plainTextPassword"?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OffTheRecord Rest Service API - Devo
|
|
4
|
+
* A service to handle your traffic tickets
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -789,6 +789,7 @@ export * from './VerifyMailingAddressRequest';
|
|
|
789
789
|
export * from './VerifyMailingAddressResponse';
|
|
790
790
|
export * from './VerifyPasswordResetTokenResponse';
|
|
791
791
|
export * from './VerifyUserAccountResponse';
|
|
792
|
+
export * from './VerifyUserPasswordRequest';
|
|
792
793
|
export * from './Violation';
|
|
793
794
|
export * from './ViolationClassificationModel';
|
|
794
795
|
export * from './ViolationInput';
|
|
@@ -801,6 +801,7 @@ __exportStar(require("./VerifyMailingAddressRequest"), exports);
|
|
|
801
801
|
__exportStar(require("./VerifyMailingAddressResponse"), exports);
|
|
802
802
|
__exportStar(require("./VerifyPasswordResetTokenResponse"), exports);
|
|
803
803
|
__exportStar(require("./VerifyUserAccountResponse"), exports);
|
|
804
|
+
__exportStar(require("./VerifyUserPasswordRequest"), exports);
|
|
804
805
|
__exportStar(require("./Violation"), exports);
|
|
805
806
|
__exportStar(require("./ViolationClassificationModel"), exports);
|
|
806
807
|
__exportStar(require("./ViolationInput"), exports);
|
|
@@ -10,14 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { ChangeUserPasswordRequest, ResetUserPasswordRequest, VerifyPasswordResetTokenResponse, VerifyUserAccountResponse } from '../models';
|
|
13
|
+
import { ChangeUserPasswordRequest, ResetUserPasswordRequest, VerifyPasswordResetTokenResponse, VerifyUserAccountResponse, VerifyUserPasswordRequest } from '../models';
|
|
14
14
|
export interface ChangeUserPasswordUsingPUTRequest {
|
|
15
15
|
request: ChangeUserPasswordRequest;
|
|
16
16
|
}
|
|
17
|
-
export interface ResetUserPasswordByAdminUsingPUTRequest {
|
|
18
|
-
userId: number;
|
|
19
|
-
request: ResetUserPasswordRequest;
|
|
20
|
-
}
|
|
21
17
|
export interface ResetUserPasswordUsingPOSTRequest {
|
|
22
18
|
request: ResetUserPasswordRequest;
|
|
23
19
|
}
|
|
@@ -40,6 +36,10 @@ export interface VerifyUserAccountUsingPUTRequest {
|
|
|
40
36
|
fieldValue?: string;
|
|
41
37
|
userId?: string;
|
|
42
38
|
}
|
|
39
|
+
export interface VerifyUserPasswordUsingPUTRequest {
|
|
40
|
+
userId: number;
|
|
41
|
+
request: VerifyUserPasswordRequest;
|
|
42
|
+
}
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
@@ -52,14 +52,6 @@ export declare class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
52
52
|
* changeUserPassword
|
|
53
53
|
*/
|
|
54
54
|
changeUserPasswordUsingPUT(requestParameters: ChangeUserPasswordUsingPUTRequest): Promise<object>;
|
|
55
|
-
/**
|
|
56
|
-
* resetUserPasswordByAdmin
|
|
57
|
-
*/
|
|
58
|
-
resetUserPasswordByAdminUsingPUTRaw(requestParameters: ResetUserPasswordByAdminUsingPUTRequest): Promise<runtime.ApiResponse<object>>;
|
|
59
|
-
/**
|
|
60
|
-
* resetUserPasswordByAdmin
|
|
61
|
-
*/
|
|
62
|
-
resetUserPasswordByAdminUsingPUT(requestParameters: ResetUserPasswordByAdminUsingPUTRequest): Promise<object>;
|
|
63
55
|
/**
|
|
64
56
|
* resetUserPassword
|
|
65
57
|
*/
|
|
@@ -100,6 +92,14 @@ export declare class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
100
92
|
* verifyUserAccount
|
|
101
93
|
*/
|
|
102
94
|
verifyUserAccountUsingPUT(requestParameters: VerifyUserAccountUsingPUTRequest): Promise<VerifyUserAccountResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* verifyUserPassword
|
|
97
|
+
*/
|
|
98
|
+
verifyUserPasswordUsingPUTRaw(requestParameters: VerifyUserPasswordUsingPUTRequest): Promise<runtime.ApiResponse<object>>;
|
|
99
|
+
/**
|
|
100
|
+
* verifyUserPassword
|
|
101
|
+
*/
|
|
102
|
+
verifyUserPasswordUsingPUT(requestParameters: VerifyUserPasswordUsingPUTRequest): Promise<object>;
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* @export
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { ChangeUserPasswordRequestToJSON, ResetUserPasswordRequestToJSON, VerifyPasswordResetTokenResponseFromJSON, VerifyUserAccountResponseFromJSON, } from '../models';
|
|
24
|
+
import { ChangeUserPasswordRequestToJSON, ResetUserPasswordRequestToJSON, VerifyPasswordResetTokenResponseFromJSON, VerifyUserAccountResponseFromJSON, VerifyUserPasswordRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -56,39 +56,6 @@ export class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
56
56
|
return yield response.value();
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
* resetUserPasswordByAdmin
|
|
61
|
-
*/
|
|
62
|
-
resetUserPasswordByAdminUsingPUTRaw(requestParameters) {
|
|
63
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
65
|
-
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling resetUserPasswordByAdminUsingPUT.');
|
|
66
|
-
}
|
|
67
|
-
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
68
|
-
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling resetUserPasswordByAdminUsingPUT.');
|
|
69
|
-
}
|
|
70
|
-
const queryParameters = {};
|
|
71
|
-
const headerParameters = {};
|
|
72
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
73
|
-
const response = yield this.request({
|
|
74
|
-
path: `/api/v1/users/{userId}/password`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
|
|
75
|
-
method: 'PUT',
|
|
76
|
-
headers: headerParameters,
|
|
77
|
-
query: queryParameters,
|
|
78
|
-
body: ResetUserPasswordRequestToJSON(requestParameters.request),
|
|
79
|
-
});
|
|
80
|
-
return new runtime.JSONApiResponse(response);
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* resetUserPasswordByAdmin
|
|
85
|
-
*/
|
|
86
|
-
resetUserPasswordByAdminUsingPUT(requestParameters) {
|
|
87
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
-
const response = yield this.resetUserPasswordByAdminUsingPUTRaw(requestParameters);
|
|
89
|
-
return yield response.value();
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
59
|
/**
|
|
93
60
|
* resetUserPassword
|
|
94
61
|
*/
|
|
@@ -259,6 +226,39 @@ export class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
259
226
|
return yield response.value();
|
|
260
227
|
});
|
|
261
228
|
}
|
|
229
|
+
/**
|
|
230
|
+
* verifyUserPassword
|
|
231
|
+
*/
|
|
232
|
+
verifyUserPasswordUsingPUTRaw(requestParameters) {
|
|
233
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
234
|
+
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
235
|
+
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling verifyUserPasswordUsingPUT.');
|
|
236
|
+
}
|
|
237
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
238
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling verifyUserPasswordUsingPUT.');
|
|
239
|
+
}
|
|
240
|
+
const queryParameters = {};
|
|
241
|
+
const headerParameters = {};
|
|
242
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
243
|
+
const response = yield this.request({
|
|
244
|
+
path: `/api/v1/users/{userId}/verify-password`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
|
|
245
|
+
method: 'PUT',
|
|
246
|
+
headers: headerParameters,
|
|
247
|
+
query: queryParameters,
|
|
248
|
+
body: VerifyUserPasswordRequestToJSON(requestParameters.request),
|
|
249
|
+
});
|
|
250
|
+
return new runtime.JSONApiResponse(response);
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* verifyUserPassword
|
|
255
|
+
*/
|
|
256
|
+
verifyUserPasswordUsingPUT(requestParameters) {
|
|
257
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
258
|
+
const response = yield this.verifyUserPasswordUsingPUTRaw(requestParameters);
|
|
259
|
+
return yield response.value();
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
262
|
}
|
|
263
263
|
/**
|
|
264
264
|
* @export
|
|
@@ -247,6 +247,7 @@ export declare enum ValidateDirectMailResponseOtrErrorEnum {
|
|
|
247
247
|
NOLAWFIRMAVAILABLE = "NO_LAWFIRM_AVAILABLE",
|
|
248
248
|
NOLEGALSERVICESINREGION = "NO_LEGAL_SERVICES_IN_REGION",
|
|
249
249
|
NOSTRIPEACCOUNT = "NO_STRIPE_ACCOUNT",
|
|
250
|
+
OLDPASSWORDINCORRECT = "OLD_PASSWORD_INCORRECT",
|
|
250
251
|
OWNERCASEMESSAGEMISMATCH = "OWNER_CASE_MESSAGE_MISMATCH",
|
|
251
252
|
PAYMENTPLANSDENIED = "PAYMENT_PLANS_DENIED",
|
|
252
253
|
PAYMENTPLANLEGALFEEHASCENTS = "PAYMENT_PLAN_LEGAL_FEE_HAS_CENTS",
|
|
@@ -257,6 +257,7 @@ export var ValidateDirectMailResponseOtrErrorEnum;
|
|
|
257
257
|
ValidateDirectMailResponseOtrErrorEnum["NOLAWFIRMAVAILABLE"] = "NO_LAWFIRM_AVAILABLE";
|
|
258
258
|
ValidateDirectMailResponseOtrErrorEnum["NOLEGALSERVICESINREGION"] = "NO_LEGAL_SERVICES_IN_REGION";
|
|
259
259
|
ValidateDirectMailResponseOtrErrorEnum["NOSTRIPEACCOUNT"] = "NO_STRIPE_ACCOUNT";
|
|
260
|
+
ValidateDirectMailResponseOtrErrorEnum["OLDPASSWORDINCORRECT"] = "OLD_PASSWORD_INCORRECT";
|
|
260
261
|
ValidateDirectMailResponseOtrErrorEnum["OWNERCASEMESSAGEMISMATCH"] = "OWNER_CASE_MESSAGE_MISMATCH";
|
|
261
262
|
ValidateDirectMailResponseOtrErrorEnum["PAYMENTPLANSDENIED"] = "PAYMENT_PLANS_DENIED";
|
|
262
263
|
ValidateDirectMailResponseOtrErrorEnum["PAYMENTPLANLEGALFEEHASCENTS"] = "PAYMENT_PLAN_LEGAL_FEE_HAS_CENTS";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
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 VerifyUserPasswordRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyUserPasswordRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyUserPasswordRequest
|
|
22
|
+
*/
|
|
23
|
+
plainTextPassword?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function VerifyUserPasswordRequestFromJSON(json: any): VerifyUserPasswordRequest;
|
|
26
|
+
export declare function VerifyUserPasswordRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyUserPasswordRequest;
|
|
27
|
+
export declare function VerifyUserPasswordRequestToJSON(value?: VerifyUserPasswordRequest | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.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
|
+
import { exists } from '../runtime';
|
|
15
|
+
export function VerifyUserPasswordRequestFromJSON(json) {
|
|
16
|
+
return VerifyUserPasswordRequestFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function VerifyUserPasswordRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'plainTextPassword': !exists(json, 'plainTextPassword') ? undefined : json['plainTextPassword'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function VerifyUserPasswordRequestToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'plainTextPassword': value.plainTextPassword,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -789,6 +789,7 @@ export * from './VerifyMailingAddressRequest';
|
|
|
789
789
|
export * from './VerifyMailingAddressResponse';
|
|
790
790
|
export * from './VerifyPasswordResetTokenResponse';
|
|
791
791
|
export * from './VerifyUserAccountResponse';
|
|
792
|
+
export * from './VerifyUserPasswordRequest';
|
|
792
793
|
export * from './Violation';
|
|
793
794
|
export * from './ViolationClassificationModel';
|
|
794
795
|
export * from './ViolationInput';
|
|
@@ -789,6 +789,7 @@ export * from './VerifyMailingAddressRequest';
|
|
|
789
789
|
export * from './VerifyMailingAddressResponse';
|
|
790
790
|
export * from './VerifyPasswordResetTokenResponse';
|
|
791
791
|
export * from './VerifyUserAccountResponse';
|
|
792
|
+
export * from './VerifyUserPasswordRequest';
|
|
792
793
|
export * from './Violation';
|
|
793
794
|
export * from './ViolationClassificationModel';
|
|
794
795
|
export * from './ViolationInput';
|