@forteplatforms/sdk 1.0.164 → 1.0.166
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/generated/apis/ProjectsServerApi.d.ts +39 -0
- package/dist/generated/apis/ProjectsServerApi.js +138 -1
- package/dist/generated/apis/UsersServerApi.d.ts +60 -0
- package/dist/generated/apis/UsersServerApi.js +248 -0
- package/dist/generated/models/AdminForceSetPasswordRequest.d.ts +32 -0
- package/dist/generated/models/AdminForceSetPasswordRequest.js +51 -0
- package/dist/generated/models/AdminPasswordResetResponse.d.ts +40 -0
- package/dist/generated/models/AdminPasswordResetResponse.js +59 -0
- package/dist/generated/models/ChangePasswordRequest.d.ts +38 -0
- package/dist/generated/models/ChangePasswordRequest.js +53 -0
- package/dist/generated/models/CompletePasswordResetRequest.d.ts +38 -0
- package/dist/generated/models/CompletePasswordResetRequest.js +55 -0
- package/dist/generated/models/ForteApiException.d.ts +6 -0
- package/dist/generated/models/ForteApiException.js +7 -1
- package/dist/generated/models/NotificationTemplatesConfig.d.ts +18 -0
- package/dist/generated/models/NotificationTemplatesConfig.js +6 -0
- package/dist/generated/models/PasswordConfig.d.ts +76 -0
- package/dist/generated/models/PasswordConfig.js +69 -0
- package/dist/generated/models/PasswordLoginRequest.d.ts +44 -0
- package/dist/generated/models/PasswordLoginRequest.js +57 -0
- package/dist/generated/models/ProjectObject.d.ts +13 -0
- package/dist/generated/models/ProjectObject.js +5 -0
- package/dist/generated/models/RegisterUserRequest.d.ts +6 -0
- package/dist/generated/models/RegisterUserRequest.js +2 -0
- package/dist/generated/models/RequestPasswordResetRequest.d.ts +38 -0
- package/dist/generated/models/RequestPasswordResetRequest.js +53 -0
- package/dist/generated/models/UpdateNotificationTemplatesRequest.d.ts +18 -0
- package/dist/generated/models/UpdateNotificationTemplatesRequest.js +6 -0
- package/dist/generated/models/UpdateProjectRequest.d.ts +13 -0
- package/dist/generated/models/UpdateProjectRequest.js +5 -0
- package/dist/generated/models/UserActionLogObject.d.ts +8 -0
- package/dist/generated/models/UserActionLogObject.js +9 -1
- package/dist/generated/models/UserObject.d.ts +18 -0
- package/dist/generated/models/UserObject.js +6 -0
- package/dist/generated/models/index.d.ts +7 -0
- package/dist/generated/models/index.js +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 AdminForceSetPasswordRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminForceSetPasswordRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminForceSetPasswordRequest
|
|
22
|
+
*/
|
|
23
|
+
newPassword: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AdminForceSetPasswordRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAdminForceSetPasswordRequest(value: object): value is AdminForceSetPasswordRequest;
|
|
29
|
+
export declare function AdminForceSetPasswordRequestFromJSON(json: any): AdminForceSetPasswordRequest;
|
|
30
|
+
export declare function AdminForceSetPasswordRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminForceSetPasswordRequest;
|
|
31
|
+
export declare function AdminForceSetPasswordRequestToJSON(json: any): AdminForceSetPasswordRequest;
|
|
32
|
+
export declare function AdminForceSetPasswordRequestToJSONTyped(value?: AdminForceSetPasswordRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAdminForceSetPasswordRequest = instanceOfAdminForceSetPasswordRequest;
|
|
17
|
+
exports.AdminForceSetPasswordRequestFromJSON = AdminForceSetPasswordRequestFromJSON;
|
|
18
|
+
exports.AdminForceSetPasswordRequestFromJSONTyped = AdminForceSetPasswordRequestFromJSONTyped;
|
|
19
|
+
exports.AdminForceSetPasswordRequestToJSON = AdminForceSetPasswordRequestToJSON;
|
|
20
|
+
exports.AdminForceSetPasswordRequestToJSONTyped = AdminForceSetPasswordRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminForceSetPasswordRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminForceSetPasswordRequest(value) {
|
|
25
|
+
if (!('newPassword' in value) || value['newPassword'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AdminForceSetPasswordRequestFromJSON(json) {
|
|
30
|
+
return AdminForceSetPasswordRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AdminForceSetPasswordRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'newPassword': json['newPassword'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AdminForceSetPasswordRequestToJSON(json) {
|
|
41
|
+
return AdminForceSetPasswordRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AdminForceSetPasswordRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'newPassword': value['newPassword'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 AdminPasswordResetResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminPasswordResetResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {AdminPasswordResetResponseModeType}
|
|
21
|
+
* @memberof AdminPasswordResetResponse
|
|
22
|
+
*/
|
|
23
|
+
mode: AdminPasswordResetResponseModeType;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const AdminPasswordResetResponseModeType: {
|
|
29
|
+
readonly SEND_NEW_PASSWORD: "SEND_NEW_PASSWORD";
|
|
30
|
+
readonly SEND_RESET_LINK: "SEND_RESET_LINK";
|
|
31
|
+
};
|
|
32
|
+
export type AdminPasswordResetResponseModeType = typeof AdminPasswordResetResponseModeType[keyof typeof AdminPasswordResetResponseModeType];
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the AdminPasswordResetResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfAdminPasswordResetResponse(value: object): value is AdminPasswordResetResponse;
|
|
37
|
+
export declare function AdminPasswordResetResponseFromJSON(json: any): AdminPasswordResetResponse;
|
|
38
|
+
export declare function AdminPasswordResetResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminPasswordResetResponse;
|
|
39
|
+
export declare function AdminPasswordResetResponseToJSON(json: any): AdminPasswordResetResponse;
|
|
40
|
+
export declare function AdminPasswordResetResponseToJSONTyped(value?: AdminPasswordResetResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AdminPasswordResetResponseModeType = void 0;
|
|
17
|
+
exports.instanceOfAdminPasswordResetResponse = instanceOfAdminPasswordResetResponse;
|
|
18
|
+
exports.AdminPasswordResetResponseFromJSON = AdminPasswordResetResponseFromJSON;
|
|
19
|
+
exports.AdminPasswordResetResponseFromJSONTyped = AdminPasswordResetResponseFromJSONTyped;
|
|
20
|
+
exports.AdminPasswordResetResponseToJSON = AdminPasswordResetResponseToJSON;
|
|
21
|
+
exports.AdminPasswordResetResponseToJSONTyped = AdminPasswordResetResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AdminPasswordResetResponseModeType = {
|
|
26
|
+
SEND_NEW_PASSWORD: 'SEND_NEW_PASSWORD',
|
|
27
|
+
SEND_RESET_LINK: 'SEND_RESET_LINK'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AdminPasswordResetResponse interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAdminPasswordResetResponse(value) {
|
|
33
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function AdminPasswordResetResponseFromJSON(json) {
|
|
38
|
+
return AdminPasswordResetResponseFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function AdminPasswordResetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'mode': json['mode'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function AdminPasswordResetResponseToJSON(json) {
|
|
49
|
+
return AdminPasswordResetResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function AdminPasswordResetResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'mode': value['mode'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 ChangePasswordRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ChangePasswordRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChangePasswordRequest
|
|
22
|
+
*/
|
|
23
|
+
currentPassword?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChangePasswordRequest
|
|
28
|
+
*/
|
|
29
|
+
newPassword: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ChangePasswordRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfChangePasswordRequest(value: object): value is ChangePasswordRequest;
|
|
35
|
+
export declare function ChangePasswordRequestFromJSON(json: any): ChangePasswordRequest;
|
|
36
|
+
export declare function ChangePasswordRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangePasswordRequest;
|
|
37
|
+
export declare function ChangePasswordRequestToJSON(json: any): ChangePasswordRequest;
|
|
38
|
+
export declare function ChangePasswordRequestToJSONTyped(value?: ChangePasswordRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfChangePasswordRequest = instanceOfChangePasswordRequest;
|
|
17
|
+
exports.ChangePasswordRequestFromJSON = ChangePasswordRequestFromJSON;
|
|
18
|
+
exports.ChangePasswordRequestFromJSONTyped = ChangePasswordRequestFromJSONTyped;
|
|
19
|
+
exports.ChangePasswordRequestToJSON = ChangePasswordRequestToJSON;
|
|
20
|
+
exports.ChangePasswordRequestToJSONTyped = ChangePasswordRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChangePasswordRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChangePasswordRequest(value) {
|
|
25
|
+
if (!('newPassword' in value) || value['newPassword'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ChangePasswordRequestFromJSON(json) {
|
|
30
|
+
return ChangePasswordRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ChangePasswordRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'currentPassword': json['currentPassword'] == null ? undefined : json['currentPassword'],
|
|
38
|
+
'newPassword': json['newPassword'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ChangePasswordRequestToJSON(json) {
|
|
42
|
+
return ChangePasswordRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ChangePasswordRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'currentPassword': value['currentPassword'],
|
|
51
|
+
'newPassword': value['newPassword'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 CompletePasswordResetRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CompletePasswordResetRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompletePasswordResetRequest
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompletePasswordResetRequest
|
|
28
|
+
*/
|
|
29
|
+
newPassword: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CompletePasswordResetRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCompletePasswordResetRequest(value: object): value is CompletePasswordResetRequest;
|
|
35
|
+
export declare function CompletePasswordResetRequestFromJSON(json: any): CompletePasswordResetRequest;
|
|
36
|
+
export declare function CompletePasswordResetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompletePasswordResetRequest;
|
|
37
|
+
export declare function CompletePasswordResetRequestToJSON(json: any): CompletePasswordResetRequest;
|
|
38
|
+
export declare function CompletePasswordResetRequestToJSONTyped(value?: CompletePasswordResetRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCompletePasswordResetRequest = instanceOfCompletePasswordResetRequest;
|
|
17
|
+
exports.CompletePasswordResetRequestFromJSON = CompletePasswordResetRequestFromJSON;
|
|
18
|
+
exports.CompletePasswordResetRequestFromJSONTyped = CompletePasswordResetRequestFromJSONTyped;
|
|
19
|
+
exports.CompletePasswordResetRequestToJSON = CompletePasswordResetRequestToJSON;
|
|
20
|
+
exports.CompletePasswordResetRequestToJSONTyped = CompletePasswordResetRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CompletePasswordResetRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCompletePasswordResetRequest(value) {
|
|
25
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('newPassword' in value) || value['newPassword'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CompletePasswordResetRequestFromJSON(json) {
|
|
32
|
+
return CompletePasswordResetRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CompletePasswordResetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'token': json['token'],
|
|
40
|
+
'newPassword': json['newPassword'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CompletePasswordResetRequestToJSON(json) {
|
|
44
|
+
return CompletePasswordResetRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CompletePasswordResetRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'token': value['token'],
|
|
53
|
+
'newPassword': value['newPassword'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -151,6 +151,12 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
151
151
|
readonly CUSTOM_DOMAIN_ALREADY_REGISTERED: "CUSTOM_DOMAIN_ALREADY_REGISTERED";
|
|
152
152
|
readonly CUSTOM_DOMAIN_NOT_FOUND: "CUSTOM_DOMAIN_NOT_FOUND";
|
|
153
153
|
readonly CUSTOM_DOMAIN_QUOTA_EXCEEDED: "CUSTOM_DOMAIN_QUOTA_EXCEEDED";
|
|
154
|
+
readonly PASSWORD_LOGIN_NOT_ENABLED: "PASSWORD_LOGIN_NOT_ENABLED";
|
|
155
|
+
readonly PASSWORD_TOO_WEAK: "PASSWORD_TOO_WEAK";
|
|
156
|
+
readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
|
|
157
|
+
readonly INVALID_RESET_TOKEN: "INVALID_RESET_TOKEN";
|
|
158
|
+
readonly PASSWORD_CONFIG_INVALID: "PASSWORD_CONFIG_INVALID";
|
|
159
|
+
readonly PASSWORD_RESET_TARGET_URL_REQUIRED: "PASSWORD_RESET_TARGET_URL_REQUIRED";
|
|
154
160
|
};
|
|
155
161
|
export type ForteApiExceptionErrorCodeType = typeof ForteApiExceptionErrorCodeType[keyof typeof ForteApiExceptionErrorCodeType];
|
|
156
162
|
/**
|
|
@@ -135,7 +135,13 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
135
135
|
CUSTOM_DOMAIN_RESERVED_SUFFIX: 'CUSTOM_DOMAIN_RESERVED_SUFFIX',
|
|
136
136
|
CUSTOM_DOMAIN_ALREADY_REGISTERED: 'CUSTOM_DOMAIN_ALREADY_REGISTERED',
|
|
137
137
|
CUSTOM_DOMAIN_NOT_FOUND: 'CUSTOM_DOMAIN_NOT_FOUND',
|
|
138
|
-
CUSTOM_DOMAIN_QUOTA_EXCEEDED: 'CUSTOM_DOMAIN_QUOTA_EXCEEDED'
|
|
138
|
+
CUSTOM_DOMAIN_QUOTA_EXCEEDED: 'CUSTOM_DOMAIN_QUOTA_EXCEEDED',
|
|
139
|
+
PASSWORD_LOGIN_NOT_ENABLED: 'PASSWORD_LOGIN_NOT_ENABLED',
|
|
140
|
+
PASSWORD_TOO_WEAK: 'PASSWORD_TOO_WEAK',
|
|
141
|
+
INVALID_CREDENTIALS: 'INVALID_CREDENTIALS',
|
|
142
|
+
INVALID_RESET_TOKEN: 'INVALID_RESET_TOKEN',
|
|
143
|
+
PASSWORD_CONFIG_INVALID: 'PASSWORD_CONFIG_INVALID',
|
|
144
|
+
PASSWORD_RESET_TARGET_URL_REQUIRED: 'PASSWORD_RESET_TARGET_URL_REQUIRED'
|
|
139
145
|
};
|
|
140
146
|
/**
|
|
141
147
|
* Check if a given object implements the ForteApiException interface.
|
|
@@ -99,6 +99,24 @@ export interface NotificationTemplatesConfig {
|
|
|
99
99
|
* @memberof NotificationTemplatesConfig
|
|
100
100
|
*/
|
|
101
101
|
inviteEmailHtmlBody?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof NotificationTemplatesConfig
|
|
106
|
+
*/
|
|
107
|
+
passwordResetEmailSubject?: string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof NotificationTemplatesConfig
|
|
112
|
+
*/
|
|
113
|
+
passwordResetEmailHtmlBody?: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof NotificationTemplatesConfig
|
|
118
|
+
*/
|
|
119
|
+
passwordResetSmsBody?: string;
|
|
102
120
|
}
|
|
103
121
|
/**
|
|
104
122
|
* Check if a given object implements the NotificationTemplatesConfig interface.
|
|
@@ -46,6 +46,9 @@ function NotificationTemplatesConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'loginOtpSmsBody': json['loginOtpSmsBody'] == null ? undefined : json['loginOtpSmsBody'],
|
|
47
47
|
'inviteEmailSubject': json['inviteEmailSubject'] == null ? undefined : json['inviteEmailSubject'],
|
|
48
48
|
'inviteEmailHtmlBody': json['inviteEmailHtmlBody'] == null ? undefined : json['inviteEmailHtmlBody'],
|
|
49
|
+
'passwordResetEmailSubject': json['passwordResetEmailSubject'] == null ? undefined : json['passwordResetEmailSubject'],
|
|
50
|
+
'passwordResetEmailHtmlBody': json['passwordResetEmailHtmlBody'] == null ? undefined : json['passwordResetEmailHtmlBody'],
|
|
51
|
+
'passwordResetSmsBody': json['passwordResetSmsBody'] == null ? undefined : json['passwordResetSmsBody'],
|
|
49
52
|
};
|
|
50
53
|
}
|
|
51
54
|
function NotificationTemplatesConfigToJSON(json) {
|
|
@@ -71,5 +74,8 @@ function NotificationTemplatesConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
|
71
74
|
'loginOtpSmsBody': value['loginOtpSmsBody'],
|
|
72
75
|
'inviteEmailSubject': value['inviteEmailSubject'],
|
|
73
76
|
'inviteEmailHtmlBody': value['inviteEmailHtmlBody'],
|
|
77
|
+
'passwordResetEmailSubject': value['passwordResetEmailSubject'],
|
|
78
|
+
'passwordResetEmailHtmlBody': value['passwordResetEmailHtmlBody'],
|
|
79
|
+
'passwordResetSmsBody': value['passwordResetSmsBody'],
|
|
74
80
|
};
|
|
75
81
|
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 PasswordConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface PasswordConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PasswordConfig
|
|
22
|
+
*/
|
|
23
|
+
minLength?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof PasswordConfig
|
|
28
|
+
*/
|
|
29
|
+
requireUppercase?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof PasswordConfig
|
|
34
|
+
*/
|
|
35
|
+
requireLowercase?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof PasswordConfig
|
|
40
|
+
*/
|
|
41
|
+
requireDigit?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof PasswordConfig
|
|
46
|
+
*/
|
|
47
|
+
requireSymbol?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {PasswordConfigResetModeType}
|
|
51
|
+
* @memberof PasswordConfig
|
|
52
|
+
*/
|
|
53
|
+
resetMode?: PasswordConfigResetModeType;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PasswordConfig
|
|
58
|
+
*/
|
|
59
|
+
resetLinkTargetUrl?: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const PasswordConfigResetModeType: {
|
|
65
|
+
readonly SEND_NEW_PASSWORD: "SEND_NEW_PASSWORD";
|
|
66
|
+
readonly SEND_RESET_LINK: "SEND_RESET_LINK";
|
|
67
|
+
};
|
|
68
|
+
export type PasswordConfigResetModeType = typeof PasswordConfigResetModeType[keyof typeof PasswordConfigResetModeType];
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the PasswordConfig interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfPasswordConfig(value: object): value is PasswordConfig;
|
|
73
|
+
export declare function PasswordConfigFromJSON(json: any): PasswordConfig;
|
|
74
|
+
export declare function PasswordConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordConfig;
|
|
75
|
+
export declare function PasswordConfigToJSON(json: any): PasswordConfig;
|
|
76
|
+
export declare function PasswordConfigToJSONTyped(value?: PasswordConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PasswordConfigResetModeType = void 0;
|
|
17
|
+
exports.instanceOfPasswordConfig = instanceOfPasswordConfig;
|
|
18
|
+
exports.PasswordConfigFromJSON = PasswordConfigFromJSON;
|
|
19
|
+
exports.PasswordConfigFromJSONTyped = PasswordConfigFromJSONTyped;
|
|
20
|
+
exports.PasswordConfigToJSON = PasswordConfigToJSON;
|
|
21
|
+
exports.PasswordConfigToJSONTyped = PasswordConfigToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PasswordConfigResetModeType = {
|
|
26
|
+
SEND_NEW_PASSWORD: 'SEND_NEW_PASSWORD',
|
|
27
|
+
SEND_RESET_LINK: 'SEND_RESET_LINK'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the PasswordConfig interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfPasswordConfig(value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function PasswordConfigFromJSON(json) {
|
|
36
|
+
return PasswordConfigFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function PasswordConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'minLength': json['minLength'] == null ? undefined : json['minLength'],
|
|
44
|
+
'requireUppercase': json['requireUppercase'] == null ? undefined : json['requireUppercase'],
|
|
45
|
+
'requireLowercase': json['requireLowercase'] == null ? undefined : json['requireLowercase'],
|
|
46
|
+
'requireDigit': json['requireDigit'] == null ? undefined : json['requireDigit'],
|
|
47
|
+
'requireSymbol': json['requireSymbol'] == null ? undefined : json['requireSymbol'],
|
|
48
|
+
'resetMode': json['resetMode'] == null ? undefined : json['resetMode'],
|
|
49
|
+
'resetLinkTargetUrl': json['resetLinkTargetUrl'] == null ? undefined : json['resetLinkTargetUrl'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function PasswordConfigToJSON(json) {
|
|
53
|
+
return PasswordConfigToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function PasswordConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'minLength': value['minLength'],
|
|
62
|
+
'requireUppercase': value['requireUppercase'],
|
|
63
|
+
'requireLowercase': value['requireLowercase'],
|
|
64
|
+
'requireDigit': value['requireDigit'],
|
|
65
|
+
'requireSymbol': value['requireSymbol'],
|
|
66
|
+
'resetMode': value['resetMode'],
|
|
67
|
+
'resetLinkTargetUrl': value['resetLinkTargetUrl'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 PasswordLoginRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PasswordLoginRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PasswordLoginRequest
|
|
22
|
+
*/
|
|
23
|
+
contactValue: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PasswordLoginRequest
|
|
28
|
+
*/
|
|
29
|
+
password: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PasswordLoginRequest
|
|
34
|
+
*/
|
|
35
|
+
recaptchaToken?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PasswordLoginRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPasswordLoginRequest(value: object): value is PasswordLoginRequest;
|
|
41
|
+
export declare function PasswordLoginRequestFromJSON(json: any): PasswordLoginRequest;
|
|
42
|
+
export declare function PasswordLoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordLoginRequest;
|
|
43
|
+
export declare function PasswordLoginRequestToJSON(json: any): PasswordLoginRequest;
|
|
44
|
+
export declare function PasswordLoginRequestToJSONTyped(value?: PasswordLoginRequest | null, ignoreDiscriminator?: boolean): any;
|