@equisoft/account-service-sdk-typescript 4.3.1-snapshot.20230112191444 → 4.3.1-snapshot.20230119225250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -1
- package/dist/apis/UserApi.d.ts +3 -3
- package/dist/apis/UserApi.js +1 -1
- package/dist/models/AuthenticationUserAccount.d.ts +57 -0
- package/dist/models/{PasswordUserAccount.js → AuthenticationUserAccount.js} +14 -14
- package/dist/models/SetUserAccountPasswordPayload.d.ts +8 -2
- package/dist/models/SetUserAccountPasswordPayload.js +7 -4
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/apis/UserApi.ts +6 -6
- package/src/models/{PasswordUserAccount.ts → AuthenticationUserAccount.ts} +22 -22
- package/src/models/SetUserAccountPasswordPayload.ts +14 -6
- package/src/models/index.ts +1 -1
- package/dist/models/PasswordUserAccount.d.ts +0 -57
package/.openapi-generator/FILES
CHANGED
|
@@ -10,6 +10,7 @@ src/apis/UserApi.ts
|
|
|
10
10
|
src/apis/index.ts
|
|
11
11
|
src/index.ts
|
|
12
12
|
src/models/ApplyPermissionsPayload.ts
|
|
13
|
+
src/models/AuthenticationUserAccount.ts
|
|
13
14
|
src/models/CreateOrUpdateOAuthClientPayload.ts
|
|
14
15
|
src/models/CreateOrUpdateOrganizationPayload.ts
|
|
15
16
|
src/models/CreateOrUpdatePermissionPayload.ts
|
|
@@ -40,7 +41,6 @@ src/models/OrganizationRoleAttributions.ts
|
|
|
40
41
|
src/models/OrganizationServicesElement.ts
|
|
41
42
|
src/models/OrganizationSsoProvider.ts
|
|
42
43
|
src/models/OrganizationUserServiceAssociation.ts
|
|
43
|
-
src/models/PasswordUserAccount.ts
|
|
44
44
|
src/models/PermissionCode.ts
|
|
45
45
|
src/models/PermissionCreated.ts
|
|
46
46
|
src/models/PermissionList.ts
|
package/dist/apis/UserApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { ApplyPermissionsPayload, Id, Organization,
|
|
13
|
+
import { ApplyPermissionsPayload, AuthenticationUserAccount, Id, Organization, PermissionList, SendResetPasswordLinkPayload, SetUserAccountPasswordPayload, UpdateUserAccountPayload, UpdateUserAccountSsoPayload, User, UserAccountRoleAttributions, UserAccountSearchResult, UserPermissions } from '../models';
|
|
14
14
|
export interface ActivateRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
}
|
|
@@ -179,11 +179,11 @@ export declare class UserApi extends runtime.BaseAPI {
|
|
|
179
179
|
/**
|
|
180
180
|
* Get password info for a user based on unique hash.
|
|
181
181
|
*/
|
|
182
|
-
getUserByConfirmationHashRaw(requestParameters: GetUserByConfirmationHashRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<
|
|
182
|
+
getUserByConfirmationHashRaw(requestParameters: GetUserByConfirmationHashRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<AuthenticationUserAccount>>;
|
|
183
183
|
/**
|
|
184
184
|
* Get password info for a user based on unique hash.
|
|
185
185
|
*/
|
|
186
|
-
getUserByConfirmationHash(requestParameters: GetUserByConfirmationHashRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<
|
|
186
|
+
getUserByConfirmationHash(requestParameters: GetUserByConfirmationHashRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<AuthenticationUserAccount>;
|
|
187
187
|
/**
|
|
188
188
|
* Get user permissions
|
|
189
189
|
*/
|
package/dist/apis/UserApi.js
CHANGED
|
@@ -464,7 +464,7 @@ class UserApi extends runtime.BaseAPI {
|
|
|
464
464
|
headers: headerParameters,
|
|
465
465
|
query: queryParameters,
|
|
466
466
|
}, initOverrides);
|
|
467
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.
|
|
467
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AuthenticationUserAccountFromJSON(jsonValue));
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User account and session management
|
|
3
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 4.3.1-SNAPSHOT
|
|
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 AuthenticationUserAccount
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticationUserAccount {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AuthenticationUserAccount
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthenticationUserAccount
|
|
28
|
+
*/
|
|
29
|
+
uuid: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AuthenticationUserAccount
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AuthenticationUserAccount
|
|
40
|
+
*/
|
|
41
|
+
email: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof AuthenticationUserAccount
|
|
46
|
+
*/
|
|
47
|
+
passwordResetRequired: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof AuthenticationUserAccount
|
|
52
|
+
*/
|
|
53
|
+
userAgreementRequested: boolean;
|
|
54
|
+
}
|
|
55
|
+
export declare function AuthenticationUserAccountFromJSON(json: any): AuthenticationUserAccount;
|
|
56
|
+
export declare function AuthenticationUserAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationUserAccount;
|
|
57
|
+
export declare function AuthenticationUserAccountToJSON(value?: AuthenticationUserAccount | null): any;
|
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.AuthenticationUserAccountToJSON = exports.AuthenticationUserAccountFromJSONTyped = exports.AuthenticationUserAccountFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function AuthenticationUserAccountFromJSON(json) {
|
|
19
|
+
return AuthenticationUserAccountFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
21
|
-
exports.
|
|
22
|
-
function
|
|
21
|
+
exports.AuthenticationUserAccountFromJSON = AuthenticationUserAccountFromJSON;
|
|
22
|
+
function AuthenticationUserAccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
23
|
if ((json === undefined) || (json === null)) {
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'id': json['id'],
|
|
28
|
-
'uuid':
|
|
28
|
+
'uuid': json['uuid'],
|
|
29
29
|
'name': !runtime_1.exists(json, 'name') ? undefined : json['name'],
|
|
30
|
-
'email':
|
|
31
|
-
'
|
|
32
|
-
'
|
|
30
|
+
'email': json['email'],
|
|
31
|
+
'passwordResetRequired': json['passwordResetRequired'],
|
|
32
|
+
'userAgreementRequested': json['userAgreementRequested'],
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
exports.
|
|
36
|
-
function
|
|
35
|
+
exports.AuthenticationUserAccountFromJSONTyped = AuthenticationUserAccountFromJSONTyped;
|
|
36
|
+
function AuthenticationUserAccountToJSON(value) {
|
|
37
37
|
if (value === undefined) {
|
|
38
38
|
return undefined;
|
|
39
39
|
}
|
|
@@ -45,8 +45,8 @@ function PasswordUserAccountToJSON(value) {
|
|
|
45
45
|
'uuid': value.uuid,
|
|
46
46
|
'name': value.name,
|
|
47
47
|
'email': value.email,
|
|
48
|
-
'
|
|
49
|
-
'
|
|
48
|
+
'passwordResetRequired': value.passwordResetRequired,
|
|
49
|
+
'userAgreementRequested': value.userAgreementRequested,
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
exports.
|
|
52
|
+
exports.AuthenticationUserAccountToJSON = AuthenticationUserAccountToJSON;
|
|
@@ -20,13 +20,19 @@ export interface SetUserAccountPasswordPayload {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SetUserAccountPasswordPayload
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
currentPassword?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SetUserAccountPasswordPayload
|
|
28
|
+
*/
|
|
29
|
+
newPassword: string;
|
|
24
30
|
/**
|
|
25
31
|
*
|
|
26
32
|
* @type {boolean}
|
|
27
33
|
* @memberof SetUserAccountPasswordPayload
|
|
28
34
|
*/
|
|
29
|
-
|
|
35
|
+
passwordResetRequired: boolean;
|
|
30
36
|
}
|
|
31
37
|
export declare function SetUserAccountPasswordPayloadFromJSON(json: any): SetUserAccountPasswordPayload;
|
|
32
38
|
export declare function SetUserAccountPasswordPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetUserAccountPasswordPayload;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SetUserAccountPasswordPayloadToJSON = exports.SetUserAccountPasswordPayloadFromJSONTyped = exports.SetUserAccountPasswordPayloadFromJSON = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
function SetUserAccountPasswordPayloadFromJSON(json) {
|
|
18
19
|
return SetUserAccountPasswordPayloadFromJSONTyped(json, false);
|
|
19
20
|
}
|
|
@@ -23,8 +24,9 @@ function SetUserAccountPasswordPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
24
|
return json;
|
|
24
25
|
}
|
|
25
26
|
return {
|
|
26
|
-
'
|
|
27
|
-
'
|
|
27
|
+
'currentPassword': !runtime_1.exists(json, 'currentPassword') ? undefined : json['currentPassword'],
|
|
28
|
+
'newPassword': json['newPassword'],
|
|
29
|
+
'passwordResetRequired': json['passwordResetRequired'],
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
exports.SetUserAccountPasswordPayloadFromJSONTyped = SetUserAccountPasswordPayloadFromJSONTyped;
|
|
@@ -36,8 +38,9 @@ function SetUserAccountPasswordPayloadToJSON(value) {
|
|
|
36
38
|
return null;
|
|
37
39
|
}
|
|
38
40
|
return {
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
+
'currentPassword': value.currentPassword,
|
|
42
|
+
'newPassword': value.newPassword,
|
|
43
|
+
'passwordResetRequired': value.passwordResetRequired,
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
exports.SetUserAccountPasswordPayloadToJSON = SetUserAccountPasswordPayloadToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './ApplyPermissionsPayload';
|
|
2
|
+
export * from './AuthenticationUserAccount';
|
|
2
3
|
export * from './CreateOrUpdateOAuthClientPayload';
|
|
3
4
|
export * from './CreateOrUpdateOrganizationPayload';
|
|
4
5
|
export * from './CreateOrUpdatePermissionPayload';
|
|
@@ -29,7 +30,6 @@ export * from './OrganizationRoleAttributions';
|
|
|
29
30
|
export * from './OrganizationServicesElement';
|
|
30
31
|
export * from './OrganizationSsoProvider';
|
|
31
32
|
export * from './OrganizationUserServiceAssociation';
|
|
32
|
-
export * from './PasswordUserAccount';
|
|
33
33
|
export * from './PermissionCode';
|
|
34
34
|
export * from './PermissionCreated';
|
|
35
35
|
export * from './PermissionList';
|
package/dist/models/index.js
CHANGED
|
@@ -13,6 +13,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
/* tslint:disable */
|
|
14
14
|
/* eslint-disable */
|
|
15
15
|
__exportStar(require("./ApplyPermissionsPayload"), exports);
|
|
16
|
+
__exportStar(require("./AuthenticationUserAccount"), exports);
|
|
16
17
|
__exportStar(require("./CreateOrUpdateOAuthClientPayload"), exports);
|
|
17
18
|
__exportStar(require("./CreateOrUpdateOrganizationPayload"), exports);
|
|
18
19
|
__exportStar(require("./CreateOrUpdatePermissionPayload"), exports);
|
|
@@ -43,7 +44,6 @@ __exportStar(require("./OrganizationRoleAttributions"), exports);
|
|
|
43
44
|
__exportStar(require("./OrganizationServicesElement"), exports);
|
|
44
45
|
__exportStar(require("./OrganizationSsoProvider"), exports);
|
|
45
46
|
__exportStar(require("./OrganizationUserServiceAssociation"), exports);
|
|
46
|
-
__exportStar(require("./PasswordUserAccount"), exports);
|
|
47
47
|
__exportStar(require("./PermissionCode"), exports);
|
|
48
48
|
__exportStar(require("./PermissionCreated"), exports);
|
|
49
49
|
__exportStar(require("./PermissionList"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/account-service-sdk-typescript",
|
|
3
|
-
"version": "4.3.1-snapshot.
|
|
3
|
+
"version": "4.3.1-snapshot.20230119225250",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
|
|
5
5
|
"author": "Equisoft Inc.",
|
|
6
6
|
"main": "./dist/index.js",
|
package/src/apis/UserApi.ts
CHANGED
|
@@ -18,6 +18,9 @@ import {
|
|
|
18
18
|
ApplyPermissionsPayload,
|
|
19
19
|
ApplyPermissionsPayloadFromJSON,
|
|
20
20
|
ApplyPermissionsPayloadToJSON,
|
|
21
|
+
AuthenticationUserAccount,
|
|
22
|
+
AuthenticationUserAccountFromJSON,
|
|
23
|
+
AuthenticationUserAccountToJSON,
|
|
21
24
|
ErrorPayload,
|
|
22
25
|
ErrorPayloadFromJSON,
|
|
23
26
|
ErrorPayloadToJSON,
|
|
@@ -27,9 +30,6 @@ import {
|
|
|
27
30
|
Organization,
|
|
28
31
|
OrganizationFromJSON,
|
|
29
32
|
OrganizationToJSON,
|
|
30
|
-
PasswordUserAccount,
|
|
31
|
-
PasswordUserAccountFromJSON,
|
|
32
|
-
PasswordUserAccountToJSON,
|
|
33
33
|
PermissionList,
|
|
34
34
|
PermissionListFromJSON,
|
|
35
35
|
PermissionListToJSON,
|
|
@@ -623,7 +623,7 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
623
623
|
/**
|
|
624
624
|
* Get password info for a user based on unique hash.
|
|
625
625
|
*/
|
|
626
|
-
async getUserByConfirmationHashRaw(requestParameters: GetUserByConfirmationHashRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<
|
|
626
|
+
async getUserByConfirmationHashRaw(requestParameters: GetUserByConfirmationHashRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<AuthenticationUserAccount>> {
|
|
627
627
|
if (requestParameters.hash === null || requestParameters.hash === undefined) {
|
|
628
628
|
throw new runtime.RequiredError('hash','Required parameter requestParameters.hash was null or undefined when calling getUserByConfirmationHash.');
|
|
629
629
|
}
|
|
@@ -649,13 +649,13 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
649
649
|
query: queryParameters,
|
|
650
650
|
}, initOverrides);
|
|
651
651
|
|
|
652
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
652
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticationUserAccountFromJSON(jsonValue));
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
/**
|
|
656
656
|
* Get password info for a user based on unique hash.
|
|
657
657
|
*/
|
|
658
|
-
async getUserByConfirmationHash(requestParameters: GetUserByConfirmationHashRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<
|
|
658
|
+
async getUserByConfirmationHash(requestParameters: GetUserByConfirmationHashRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<AuthenticationUserAccount> {
|
|
659
659
|
const response = await this.getUserByConfirmationHashRaw(requestParameters, initOverrides);
|
|
660
660
|
return await response.value();
|
|
661
661
|
}
|
|
@@ -16,67 +16,67 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface AuthenticationUserAccount
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface AuthenticationUserAccount {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof AuthenticationUserAccount
|
|
26
26
|
*/
|
|
27
27
|
id: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof AuthenticationUserAccount
|
|
32
32
|
*/
|
|
33
|
-
uuid
|
|
33
|
+
uuid: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof AuthenticationUserAccount
|
|
38
38
|
*/
|
|
39
39
|
name?: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof AuthenticationUserAccount
|
|
44
44
|
*/
|
|
45
|
-
email
|
|
45
|
+
email: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof AuthenticationUserAccount
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
passwordResetRequired: boolean;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {boolean}
|
|
55
|
-
* @memberof
|
|
55
|
+
* @memberof AuthenticationUserAccount
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
userAgreementRequested: boolean;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export function
|
|
61
|
-
return
|
|
60
|
+
export function AuthenticationUserAccountFromJSON(json: any): AuthenticationUserAccount {
|
|
61
|
+
return AuthenticationUserAccountFromJSONTyped(json, false);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export function
|
|
64
|
+
export function AuthenticationUserAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationUserAccount {
|
|
65
65
|
if ((json === undefined) || (json === null)) {
|
|
66
66
|
return json;
|
|
67
67
|
}
|
|
68
68
|
return {
|
|
69
69
|
|
|
70
70
|
'id': json['id'],
|
|
71
|
-
'uuid':
|
|
71
|
+
'uuid': json['uuid'],
|
|
72
72
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
73
|
-
'email':
|
|
74
|
-
'
|
|
75
|
-
'
|
|
73
|
+
'email': json['email'],
|
|
74
|
+
'passwordResetRequired': json['passwordResetRequired'],
|
|
75
|
+
'userAgreementRequested': json['userAgreementRequested'],
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export function
|
|
79
|
+
export function AuthenticationUserAccountToJSON(value?: AuthenticationUserAccount | null): any {
|
|
80
80
|
if (value === undefined) {
|
|
81
81
|
return undefined;
|
|
82
82
|
}
|
|
@@ -89,8 +89,8 @@ export function PasswordUserAccountToJSON(value?: PasswordUserAccount | null): a
|
|
|
89
89
|
'uuid': value.uuid,
|
|
90
90
|
'name': value.name,
|
|
91
91
|
'email': value.email,
|
|
92
|
-
'
|
|
93
|
-
'
|
|
92
|
+
'passwordResetRequired': value.passwordResetRequired,
|
|
93
|
+
'userAgreementRequested': value.userAgreementRequested,
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -24,13 +24,19 @@ export interface SetUserAccountPasswordPayload {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof SetUserAccountPasswordPayload
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
currentPassword?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SetUserAccountPasswordPayload
|
|
32
|
+
*/
|
|
33
|
+
newPassword: string;
|
|
28
34
|
/**
|
|
29
35
|
*
|
|
30
36
|
* @type {boolean}
|
|
31
37
|
* @memberof SetUserAccountPasswordPayload
|
|
32
38
|
*/
|
|
33
|
-
|
|
39
|
+
passwordResetRequired: boolean;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
export function SetUserAccountPasswordPayloadFromJSON(json: any): SetUserAccountPasswordPayload {
|
|
@@ -43,8 +49,9 @@ export function SetUserAccountPasswordPayloadFromJSONTyped(json: any, ignoreDisc
|
|
|
43
49
|
}
|
|
44
50
|
return {
|
|
45
51
|
|
|
46
|
-
'
|
|
47
|
-
'
|
|
52
|
+
'currentPassword': !exists(json, 'currentPassword') ? undefined : json['currentPassword'],
|
|
53
|
+
'newPassword': json['newPassword'],
|
|
54
|
+
'passwordResetRequired': json['passwordResetRequired'],
|
|
48
55
|
};
|
|
49
56
|
}
|
|
50
57
|
|
|
@@ -57,8 +64,9 @@ export function SetUserAccountPasswordPayloadToJSON(value?: SetUserAccountPasswo
|
|
|
57
64
|
}
|
|
58
65
|
return {
|
|
59
66
|
|
|
60
|
-
'
|
|
61
|
-
'
|
|
67
|
+
'currentPassword': value.currentPassword,
|
|
68
|
+
'newPassword': value.newPassword,
|
|
69
|
+
'passwordResetRequired': value.passwordResetRequired,
|
|
62
70
|
};
|
|
63
71
|
}
|
|
64
72
|
|
package/src/models/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './ApplyPermissionsPayload';
|
|
4
|
+
export * from './AuthenticationUserAccount';
|
|
4
5
|
export * from './CreateOrUpdateOAuthClientPayload';
|
|
5
6
|
export * from './CreateOrUpdateOrganizationPayload';
|
|
6
7
|
export * from './CreateOrUpdatePermissionPayload';
|
|
@@ -31,7 +32,6 @@ export * from './OrganizationRoleAttributions';
|
|
|
31
32
|
export * from './OrganizationServicesElement';
|
|
32
33
|
export * from './OrganizationSsoProvider';
|
|
33
34
|
export * from './OrganizationUserServiceAssociation';
|
|
34
|
-
export * from './PasswordUserAccount';
|
|
35
35
|
export * from './PermissionCode';
|
|
36
36
|
export * from './PermissionCreated';
|
|
37
37
|
export * from './PermissionList';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User account and session management
|
|
3
|
-
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 4.3.1-SNAPSHOT
|
|
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 PasswordUserAccount
|
|
16
|
-
*/
|
|
17
|
-
export interface PasswordUserAccount {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PasswordUserAccount
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PasswordUserAccount
|
|
28
|
-
*/
|
|
29
|
-
uuid?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PasswordUserAccount
|
|
34
|
-
*/
|
|
35
|
-
name?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PasswordUserAccount
|
|
40
|
-
*/
|
|
41
|
-
email?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof PasswordUserAccount
|
|
46
|
-
*/
|
|
47
|
-
requirePasswordReset: boolean;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof PasswordUserAccount
|
|
52
|
-
*/
|
|
53
|
-
userAgreementRequired: boolean;
|
|
54
|
-
}
|
|
55
|
-
export declare function PasswordUserAccountFromJSON(json: any): PasswordUserAccount;
|
|
56
|
-
export declare function PasswordUserAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordUserAccount;
|
|
57
|
-
export declare function PasswordUserAccountToJSON(value?: PasswordUserAccount | null): any;
|