@forteplatforms/sdk 1.0.250 → 1.0.261
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 +46 -0
- package/dist/generated/apis/ProjectsServerApi.js +186 -0
- package/dist/generated/apis/UsersServerApi.d.ts +85 -0
- package/dist/generated/apis/UsersServerApi.js +320 -0
- package/dist/generated/models/ForteApiException.d.ts +1 -0
- package/dist/generated/models/ForteApiException.js +1 -0
- package/dist/generated/models/ListSessionsResponse.d.ts +33 -0
- package/dist/generated/models/ListSessionsResponse.js +52 -0
- package/dist/generated/models/LoginHistoryEntry.d.ts +38 -0
- package/dist/generated/models/LoginHistoryEntry.js +53 -0
- package/dist/generated/models/PaginatedResponseLoginHistoryEntry.d.ts +45 -0
- package/dist/generated/models/PaginatedResponseLoginHistoryEntry.js +58 -0
- package/dist/generated/models/SessionSummary.d.ts +74 -0
- package/dist/generated/models/SessionSummary.js +67 -0
- package/dist/generated/models/UserActionLogObject.d.ts +8 -0
- package/dist/generated/models/UserActionLogObject.js +4 -0
- package/dist/generated/models/UserObject.d.ts +4 -4
- package/dist/generated/models/UserObject.js +2 -2
- package/dist/generated/models/index.d.ts +4 -0
- package/dist/generated/models/index.js +4 -0
- package/package.json +1 -1
|
@@ -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.instanceOfLoginHistoryEntry = instanceOfLoginHistoryEntry;
|
|
17
|
+
exports.LoginHistoryEntryFromJSON = LoginHistoryEntryFromJSON;
|
|
18
|
+
exports.LoginHistoryEntryFromJSONTyped = LoginHistoryEntryFromJSONTyped;
|
|
19
|
+
exports.LoginHistoryEntryToJSON = LoginHistoryEntryToJSON;
|
|
20
|
+
exports.LoginHistoryEntryToJSONTyped = LoginHistoryEntryToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LoginHistoryEntry interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLoginHistoryEntry(value) {
|
|
25
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function LoginHistoryEntryFromJSON(json) {
|
|
30
|
+
return LoginHistoryEntryFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function LoginHistoryEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'timestamp': (new Date(json['timestamp'])),
|
|
38
|
+
'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function LoginHistoryEntryToJSON(json) {
|
|
42
|
+
return LoginHistoryEntryToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function LoginHistoryEntryToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
51
|
+
'sourceIpAddress': value['sourceIpAddress'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
import type { LoginHistoryEntry } from './LoginHistoryEntry';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponseLoginHistoryEntry
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponseLoginHistoryEntry {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<LoginHistoryEntry>}
|
|
22
|
+
* @memberof PaginatedResponseLoginHistoryEntry
|
|
23
|
+
*/
|
|
24
|
+
items: Array<LoginHistoryEntry>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof PaginatedResponseLoginHistoryEntry
|
|
29
|
+
*/
|
|
30
|
+
hasNextPage: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaginatedResponseLoginHistoryEntry
|
|
35
|
+
*/
|
|
36
|
+
nextPageToken?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the PaginatedResponseLoginHistoryEntry interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfPaginatedResponseLoginHistoryEntry(value: object): value is PaginatedResponseLoginHistoryEntry;
|
|
42
|
+
export declare function PaginatedResponseLoginHistoryEntryFromJSON(json: any): PaginatedResponseLoginHistoryEntry;
|
|
43
|
+
export declare function PaginatedResponseLoginHistoryEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseLoginHistoryEntry;
|
|
44
|
+
export declare function PaginatedResponseLoginHistoryEntryToJSON(json: any): PaginatedResponseLoginHistoryEntry;
|
|
45
|
+
export declare function PaginatedResponseLoginHistoryEntryToJSONTyped(value?: PaginatedResponseLoginHistoryEntry | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfPaginatedResponseLoginHistoryEntry = instanceOfPaginatedResponseLoginHistoryEntry;
|
|
17
|
+
exports.PaginatedResponseLoginHistoryEntryFromJSON = PaginatedResponseLoginHistoryEntryFromJSON;
|
|
18
|
+
exports.PaginatedResponseLoginHistoryEntryFromJSONTyped = PaginatedResponseLoginHistoryEntryFromJSONTyped;
|
|
19
|
+
exports.PaginatedResponseLoginHistoryEntryToJSON = PaginatedResponseLoginHistoryEntryToJSON;
|
|
20
|
+
exports.PaginatedResponseLoginHistoryEntryToJSONTyped = PaginatedResponseLoginHistoryEntryToJSONTyped;
|
|
21
|
+
var LoginHistoryEntry_1 = require("./LoginHistoryEntry");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedResponseLoginHistoryEntry interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedResponseLoginHistoryEntry(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('hasNextPage' in value) || value['hasNextPage'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function PaginatedResponseLoginHistoryEntryFromJSON(json) {
|
|
33
|
+
return PaginatedResponseLoginHistoryEntryFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function PaginatedResponseLoginHistoryEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'items': (json['items'].map(LoginHistoryEntry_1.LoginHistoryEntryFromJSON)),
|
|
41
|
+
'hasNextPage': json['hasNextPage'],
|
|
42
|
+
'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedResponseLoginHistoryEntryToJSON(json) {
|
|
46
|
+
return PaginatedResponseLoginHistoryEntryToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedResponseLoginHistoryEntryToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(LoginHistoryEntry_1.LoginHistoryEntryToJSON)),
|
|
55
|
+
'hasNextPage': value['hasNextPage'],
|
|
56
|
+
'nextPageToken': value['nextPageToken'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 SessionSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface SessionSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SessionSummary
|
|
22
|
+
*/
|
|
23
|
+
sessionId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof SessionSummary
|
|
28
|
+
*/
|
|
29
|
+
creationTime: Date;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof SessionSummary
|
|
34
|
+
*/
|
|
35
|
+
expirationTime?: Date;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof SessionSummary
|
|
40
|
+
*/
|
|
41
|
+
lastActivityAt?: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SessionSummary
|
|
46
|
+
*/
|
|
47
|
+
sourceIpAddress?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SessionSummary
|
|
52
|
+
*/
|
|
53
|
+
approximateLocation?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof SessionSummary
|
|
58
|
+
*/
|
|
59
|
+
current?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof SessionSummary
|
|
64
|
+
*/
|
|
65
|
+
impersonation?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the SessionSummary interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfSessionSummary(value: object): value is SessionSummary;
|
|
71
|
+
export declare function SessionSummaryFromJSON(json: any): SessionSummary;
|
|
72
|
+
export declare function SessionSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionSummary;
|
|
73
|
+
export declare function SessionSummaryToJSON(json: any): SessionSummary;
|
|
74
|
+
export declare function SessionSummaryToJSONTyped(value?: SessionSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfSessionSummary = instanceOfSessionSummary;
|
|
17
|
+
exports.SessionSummaryFromJSON = SessionSummaryFromJSON;
|
|
18
|
+
exports.SessionSummaryFromJSONTyped = SessionSummaryFromJSONTyped;
|
|
19
|
+
exports.SessionSummaryToJSON = SessionSummaryToJSON;
|
|
20
|
+
exports.SessionSummaryToJSONTyped = SessionSummaryToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SessionSummary interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSessionSummary(value) {
|
|
25
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('creationTime' in value) || value['creationTime'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function SessionSummaryFromJSON(json) {
|
|
32
|
+
return SessionSummaryFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function SessionSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'sessionId': json['sessionId'],
|
|
40
|
+
'creationTime': (new Date(json['creationTime'])),
|
|
41
|
+
'expirationTime': json['expirationTime'] == null ? undefined : (new Date(json['expirationTime'])),
|
|
42
|
+
'lastActivityAt': json['lastActivityAt'] == null ? undefined : (new Date(json['lastActivityAt'])),
|
|
43
|
+
'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
|
|
44
|
+
'approximateLocation': json['approximateLocation'] == null ? undefined : json['approximateLocation'],
|
|
45
|
+
'current': json['current'] == null ? undefined : json['current'],
|
|
46
|
+
'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function SessionSummaryToJSON(json) {
|
|
50
|
+
return SessionSummaryToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function SessionSummaryToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'sessionId': value['sessionId'],
|
|
59
|
+
'creationTime': value['creationTime'].toISOString(),
|
|
60
|
+
'expirationTime': value['expirationTime'] == null ? value['expirationTime'] : value['expirationTime'].toISOString(),
|
|
61
|
+
'lastActivityAt': value['lastActivityAt'] == null ? value['lastActivityAt'] : value['lastActivityAt'].toISOString(),
|
|
62
|
+
'sourceIpAddress': value['sourceIpAddress'],
|
|
63
|
+
'approximateLocation': value['approximateLocation'],
|
|
64
|
+
'current': value['current'],
|
|
65
|
+
'impersonation': value['impersonation'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -51,6 +51,12 @@ export interface UserActionLogObject {
|
|
|
51
51
|
* @memberof UserActionLogObject
|
|
52
52
|
*/
|
|
53
53
|
performedByAccountId?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserActionLogObject
|
|
58
|
+
*/
|
|
59
|
+
sourceIpAddress?: string;
|
|
54
60
|
/**
|
|
55
61
|
*
|
|
56
62
|
* @type {{ [key: string]: string; }}
|
|
@@ -79,6 +85,8 @@ export declare const UserActionLogObjectActionTypeType: {
|
|
|
79
85
|
readonly USER_LOGIN: "USER_LOGIN";
|
|
80
86
|
readonly USER_LOGOUT: "USER_LOGOUT";
|
|
81
87
|
readonly USER_LOGIN_OTP_SENT: "USER_LOGIN_OTP_SENT";
|
|
88
|
+
readonly SESSION_REVOKED: "SESSION_REVOKED";
|
|
89
|
+
readonly ALL_OTHER_SESSIONS_REVOKED: "ALL_OTHER_SESSIONS_REVOKED";
|
|
82
90
|
readonly PAYMENT_CREATED: "PAYMENT_CREATED";
|
|
83
91
|
readonly PAYMENT_REFUNDED: "PAYMENT_REFUNDED";
|
|
84
92
|
readonly PAYMENT_METHOD_SETUP_STARTED: "PAYMENT_METHOD_SETUP_STARTED";
|
|
@@ -38,6 +38,8 @@ exports.UserActionLogObjectActionTypeType = {
|
|
|
38
38
|
USER_LOGIN: 'USER_LOGIN',
|
|
39
39
|
USER_LOGOUT: 'USER_LOGOUT',
|
|
40
40
|
USER_LOGIN_OTP_SENT: 'USER_LOGIN_OTP_SENT',
|
|
41
|
+
SESSION_REVOKED: 'SESSION_REVOKED',
|
|
42
|
+
ALL_OTHER_SESSIONS_REVOKED: 'ALL_OTHER_SESSIONS_REVOKED',
|
|
41
43
|
PAYMENT_CREATED: 'PAYMENT_CREATED',
|
|
42
44
|
PAYMENT_REFUNDED: 'PAYMENT_REFUNDED',
|
|
43
45
|
PAYMENT_METHOD_SETUP_STARTED: 'PAYMENT_METHOD_SETUP_STARTED',
|
|
@@ -95,6 +97,7 @@ function UserActionLogObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
95
97
|
'contactMethodId': json['contactMethodId'] == null ? undefined : json['contactMethodId'],
|
|
96
98
|
'paymentMethodId': json['paymentMethodId'] == null ? undefined : json['paymentMethodId'],
|
|
97
99
|
'performedByAccountId': json['performedByAccountId'] == null ? undefined : json['performedByAccountId'],
|
|
100
|
+
'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
|
|
98
101
|
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
99
102
|
};
|
|
100
103
|
}
|
|
@@ -113,6 +116,7 @@ function UserActionLogObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
113
116
|
'contactMethodId': value['contactMethodId'],
|
|
114
117
|
'paymentMethodId': value['paymentMethodId'],
|
|
115
118
|
'performedByAccountId': value['performedByAccountId'],
|
|
119
|
+
'sourceIpAddress': value['sourceIpAddress'],
|
|
116
120
|
'metadata': value['metadata'],
|
|
117
121
|
};
|
|
118
122
|
}
|
|
@@ -123,16 +123,16 @@ export interface UserObject {
|
|
|
123
123
|
backupCodesGeneratedAt?: Date;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
|
-
* @type {
|
|
126
|
+
* @type {boolean}
|
|
127
127
|
* @memberof UserObject
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
hasPassword?: boolean;
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
|
-
* @type {
|
|
132
|
+
* @type {number}
|
|
133
133
|
* @memberof UserObject
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
remainingBackupCodeCount?: number;
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
* @export
|
|
@@ -72,8 +72,8 @@ function UserObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
72
|
'passwordResetLastRequestedAt': json['passwordResetLastRequestedAt'] == null ? undefined : (new Date(json['passwordResetLastRequestedAt'])),
|
|
73
73
|
'mfaMethods': json['mfaMethods'] == null ? undefined : (json['mfaMethods'].map(MfaMethod_1.MfaMethodFromJSON)),
|
|
74
74
|
'backupCodesGeneratedAt': json['backupCodesGeneratedAt'] == null ? undefined : (new Date(json['backupCodesGeneratedAt'])),
|
|
75
|
-
'remainingBackupCodeCount': json['remainingBackupCodeCount'] == null ? undefined : json['remainingBackupCodeCount'],
|
|
76
75
|
'hasPassword': json['hasPassword'] == null ? undefined : json['hasPassword'],
|
|
76
|
+
'remainingBackupCodeCount': json['remainingBackupCodeCount'] == null ? undefined : json['remainingBackupCodeCount'],
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
function UserObjectToJSON(json) {
|
|
@@ -102,7 +102,7 @@ function UserObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
102
|
'passwordResetLastRequestedAt': value['passwordResetLastRequestedAt'] == null ? value['passwordResetLastRequestedAt'] : value['passwordResetLastRequestedAt'].toISOString(),
|
|
103
103
|
'mfaMethods': value['mfaMethods'] == null ? undefined : (value['mfaMethods'].map(MfaMethod_1.MfaMethodToJSON)),
|
|
104
104
|
'backupCodesGeneratedAt': value['backupCodesGeneratedAt'] == null ? value['backupCodesGeneratedAt'] : value['backupCodesGeneratedAt'].toISOString(),
|
|
105
|
-
'remainingBackupCodeCount': value['remainingBackupCodeCount'],
|
|
106
105
|
'hasPassword': value['hasPassword'],
|
|
106
|
+
'remainingBackupCodeCount': value['remainingBackupCodeCount'],
|
|
107
107
|
};
|
|
108
108
|
}
|
|
@@ -67,8 +67,10 @@ export * from './LatencyStats';
|
|
|
67
67
|
export * from './ListContentResponse';
|
|
68
68
|
export * from './ListCustomDomainsResponse';
|
|
69
69
|
export * from './ListMfaMethodsResponse';
|
|
70
|
+
export * from './ListSessionsResponse';
|
|
70
71
|
export * from './ListUserInvitesResponse';
|
|
71
72
|
export * from './LogLineObject';
|
|
73
|
+
export * from './LoginHistoryEntry';
|
|
72
74
|
export * from './LoginUserResponse';
|
|
73
75
|
export * from './MfaChallengeRequest';
|
|
74
76
|
export * from './MfaChallengeResponse';
|
|
@@ -80,6 +82,7 @@ export * from './NotificationTemplatesConfig';
|
|
|
80
82
|
export * from './NotificationTemplatesResponse';
|
|
81
83
|
export * from './PaginatedResponseActionInvocationObject';
|
|
82
84
|
export * from './PaginatedResponseLogLineObject';
|
|
85
|
+
export * from './PaginatedResponseLoginHistoryEntry';
|
|
83
86
|
export * from './PaginatedResponsePaymentObject';
|
|
84
87
|
export * from './PaginatedResponseRequestLogObject';
|
|
85
88
|
export * from './PaginatedResponseServiceBuildRequestObject';
|
|
@@ -116,6 +119,7 @@ export * from './ServiceBuildRequestObject';
|
|
|
116
119
|
export * from './ServiceMetricsResponse';
|
|
117
120
|
export * from './ServiceObject';
|
|
118
121
|
export * from './ServiceRouteMetricsResponse';
|
|
122
|
+
export * from './SessionSummary';
|
|
119
123
|
export * from './SpenderAggregate';
|
|
120
124
|
export * from './StateCurrencyTotals';
|
|
121
125
|
export * from './StateHistory';
|
|
@@ -85,8 +85,10 @@ __exportStar(require("./LatencyStats"), exports);
|
|
|
85
85
|
__exportStar(require("./ListContentResponse"), exports);
|
|
86
86
|
__exportStar(require("./ListCustomDomainsResponse"), exports);
|
|
87
87
|
__exportStar(require("./ListMfaMethodsResponse"), exports);
|
|
88
|
+
__exportStar(require("./ListSessionsResponse"), exports);
|
|
88
89
|
__exportStar(require("./ListUserInvitesResponse"), exports);
|
|
89
90
|
__exportStar(require("./LogLineObject"), exports);
|
|
91
|
+
__exportStar(require("./LoginHistoryEntry"), exports);
|
|
90
92
|
__exportStar(require("./LoginUserResponse"), exports);
|
|
91
93
|
__exportStar(require("./MfaChallengeRequest"), exports);
|
|
92
94
|
__exportStar(require("./MfaChallengeResponse"), exports);
|
|
@@ -98,6 +100,7 @@ __exportStar(require("./NotificationTemplatesConfig"), exports);
|
|
|
98
100
|
__exportStar(require("./NotificationTemplatesResponse"), exports);
|
|
99
101
|
__exportStar(require("./PaginatedResponseActionInvocationObject"), exports);
|
|
100
102
|
__exportStar(require("./PaginatedResponseLogLineObject"), exports);
|
|
103
|
+
__exportStar(require("./PaginatedResponseLoginHistoryEntry"), exports);
|
|
101
104
|
__exportStar(require("./PaginatedResponsePaymentObject"), exports);
|
|
102
105
|
__exportStar(require("./PaginatedResponseRequestLogObject"), exports);
|
|
103
106
|
__exportStar(require("./PaginatedResponseServiceBuildRequestObject"), exports);
|
|
@@ -134,6 +137,7 @@ __exportStar(require("./ServiceBuildRequestObject"), exports);
|
|
|
134
137
|
__exportStar(require("./ServiceMetricsResponse"), exports);
|
|
135
138
|
__exportStar(require("./ServiceObject"), exports);
|
|
136
139
|
__exportStar(require("./ServiceRouteMetricsResponse"), exports);
|
|
140
|
+
__exportStar(require("./SessionSummary"), exports);
|
|
137
141
|
__exportStar(require("./SpenderAggregate"), exports);
|
|
138
142
|
__exportStar(require("./StateCurrencyTotals"), exports);
|
|
139
143
|
__exportStar(require("./StateHistory"), exports);
|