@forteplatforms/sdk 1.0.332 → 1.0.338

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.
Files changed (40) hide show
  1. package/dist/generated/apis/ProjectsServerApi.d.ts +31 -3
  2. package/dist/generated/apis/ProjectsServerApi.js +84 -4
  3. package/dist/generated/apis/UsersServerApi.d.ts +49 -0
  4. package/dist/generated/apis/UsersServerApi.js +195 -0
  5. package/dist/generated/models/BodyRef.d.ts +44 -0
  6. package/dist/generated/models/BodyRef.js +57 -0
  7. package/dist/generated/models/ForteApiException.d.ts +11 -0
  8. package/dist/generated/models/ForteApiException.js +11 -0
  9. package/dist/generated/models/GetRequestBodyDownloadLinkResponse.d.ts +50 -0
  10. package/dist/generated/models/GetRequestBodyDownloadLinkResponse.js +61 -0
  11. package/dist/generated/models/LoginHistoryEntry.d.ts +12 -0
  12. package/dist/generated/models/LoginHistoryEntry.js +4 -0
  13. package/dist/generated/models/PaginatedResponseRequestLogObject.js +6 -5
  14. package/dist/generated/models/PaginatedResponseRequestLogSummary.d.ts +45 -0
  15. package/dist/generated/models/PaginatedResponseRequestLogSummary.js +58 -0
  16. package/dist/generated/models/ReauthenticationChallengeRequest.d.ts +49 -0
  17. package/dist/generated/models/ReauthenticationChallengeRequest.js +64 -0
  18. package/dist/generated/models/ReauthenticationChallengeResponse.d.ts +32 -0
  19. package/dist/generated/models/ReauthenticationChallengeResponse.js +49 -0
  20. package/dist/generated/models/ReauthenticationFactor.d.ts +61 -0
  21. package/dist/generated/models/ReauthenticationFactor.js +68 -0
  22. package/dist/generated/models/ReauthenticationRequest.d.ts +49 -0
  23. package/dist/generated/models/ReauthenticationRequest.js +64 -0
  24. package/dist/generated/models/ReauthenticationResponse.d.ts +32 -0
  25. package/dist/generated/models/ReauthenticationResponse.js +51 -0
  26. package/dist/generated/models/ReauthenticationStatusResponse.d.ts +39 -0
  27. package/dist/generated/models/ReauthenticationStatusResponse.js +54 -0
  28. package/dist/generated/models/RegisterUserResponse.d.ts +6 -0
  29. package/dist/generated/models/RegisterUserResponse.js +2 -0
  30. package/dist/generated/models/RequestLogObject.d.ts +13 -0
  31. package/dist/generated/models/RequestLogObject.js +5 -0
  32. package/dist/generated/models/RequestLogSummary.d.ts +63 -0
  33. package/dist/generated/models/RequestLogSummary.js +70 -0
  34. package/dist/generated/models/SessionSummary.d.ts +18 -0
  35. package/dist/generated/models/SessionSummary.js +6 -0
  36. package/dist/generated/models/UserActionLogObject.d.ts +9 -0
  37. package/dist/generated/models/UserActionLogObject.js +6 -1
  38. package/dist/generated/models/index.d.ts +10 -1
  39. package/dist/generated/models/index.js +10 -1
  40. package/package.json +1 -1
@@ -0,0 +1,68 @@
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.ReauthenticationFactorTypeType = void 0;
17
+ exports.instanceOfReauthenticationFactor = instanceOfReauthenticationFactor;
18
+ exports.ReauthenticationFactorFromJSON = ReauthenticationFactorFromJSON;
19
+ exports.ReauthenticationFactorFromJSONTyped = ReauthenticationFactorFromJSONTyped;
20
+ exports.ReauthenticationFactorToJSON = ReauthenticationFactorToJSON;
21
+ exports.ReauthenticationFactorToJSONTyped = ReauthenticationFactorToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ReauthenticationFactorTypeType = {
26
+ PASSWORD: 'PASSWORD',
27
+ EMAIL_OTP: 'EMAIL_OTP',
28
+ SMS_OTP: 'SMS_OTP',
29
+ TOTP: 'TOTP',
30
+ BACKUP_CODE: 'BACKUP_CODE'
31
+ };
32
+ /**
33
+ * Check if a given object implements the ReauthenticationFactor interface.
34
+ */
35
+ function instanceOfReauthenticationFactor(value) {
36
+ if (!('type' in value) || value['type'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function ReauthenticationFactorFromJSON(json) {
41
+ return ReauthenticationFactorFromJSONTyped(json, false);
42
+ }
43
+ function ReauthenticationFactorFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'type': json['type'],
49
+ 'mfaMethodId': json['mfaMethodId'] == null ? undefined : json['mfaMethodId'],
50
+ 'contactMethodId': json['contactMethodId'] == null ? undefined : json['contactMethodId'],
51
+ 'maskedTarget': json['maskedTarget'] == null ? undefined : json['maskedTarget'],
52
+ };
53
+ }
54
+ function ReauthenticationFactorToJSON(json) {
55
+ return ReauthenticationFactorToJSONTyped(json, false);
56
+ }
57
+ function ReauthenticationFactorToJSONTyped(value, ignoreDiscriminator) {
58
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'type': value['type'],
64
+ 'mfaMethodId': value['mfaMethodId'],
65
+ 'contactMethodId': value['contactMethodId'],
66
+ 'maskedTarget': value['maskedTarget'],
67
+ };
68
+ }
@@ -0,0 +1,49 @@
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 ReauthenticationRequest
16
+ */
17
+ export interface ReauthenticationRequest {
18
+ /**
19
+ *
20
+ * @type {ReauthenticationRequestMethodType}
21
+ * @memberof ReauthenticationRequest
22
+ */
23
+ method: ReauthenticationRequestMethodType;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ReauthenticationRequest
28
+ */
29
+ credential?: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const ReauthenticationRequestMethodType: {
35
+ readonly PASSWORD: "PASSWORD";
36
+ readonly EMAIL_OTP: "EMAIL_OTP";
37
+ readonly SMS_OTP: "SMS_OTP";
38
+ readonly TOTP: "TOTP";
39
+ readonly BACKUP_CODE: "BACKUP_CODE";
40
+ };
41
+ export type ReauthenticationRequestMethodType = typeof ReauthenticationRequestMethodType[keyof typeof ReauthenticationRequestMethodType];
42
+ /**
43
+ * Check if a given object implements the ReauthenticationRequest interface.
44
+ */
45
+ export declare function instanceOfReauthenticationRequest(value: object): value is ReauthenticationRequest;
46
+ export declare function ReauthenticationRequestFromJSON(json: any): ReauthenticationRequest;
47
+ export declare function ReauthenticationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticationRequest;
48
+ export declare function ReauthenticationRequestToJSON(json: any): ReauthenticationRequest;
49
+ export declare function ReauthenticationRequestToJSONTyped(value?: ReauthenticationRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.ReauthenticationRequestMethodType = void 0;
17
+ exports.instanceOfReauthenticationRequest = instanceOfReauthenticationRequest;
18
+ exports.ReauthenticationRequestFromJSON = ReauthenticationRequestFromJSON;
19
+ exports.ReauthenticationRequestFromJSONTyped = ReauthenticationRequestFromJSONTyped;
20
+ exports.ReauthenticationRequestToJSON = ReauthenticationRequestToJSON;
21
+ exports.ReauthenticationRequestToJSONTyped = ReauthenticationRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ReauthenticationRequestMethodType = {
26
+ PASSWORD: 'PASSWORD',
27
+ EMAIL_OTP: 'EMAIL_OTP',
28
+ SMS_OTP: 'SMS_OTP',
29
+ TOTP: 'TOTP',
30
+ BACKUP_CODE: 'BACKUP_CODE'
31
+ };
32
+ /**
33
+ * Check if a given object implements the ReauthenticationRequest interface.
34
+ */
35
+ function instanceOfReauthenticationRequest(value) {
36
+ if (!('method' in value) || value['method'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function ReauthenticationRequestFromJSON(json) {
41
+ return ReauthenticationRequestFromJSONTyped(json, false);
42
+ }
43
+ function ReauthenticationRequestFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'method': json['method'],
49
+ 'credential': json['credential'] == null ? undefined : json['credential'],
50
+ };
51
+ }
52
+ function ReauthenticationRequestToJSON(json) {
53
+ return ReauthenticationRequestToJSONTyped(json, false);
54
+ }
55
+ function ReauthenticationRequestToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'method': value['method'],
62
+ 'credential': value['credential'],
63
+ };
64
+ }
@@ -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 ReauthenticationResponse
16
+ */
17
+ export interface ReauthenticationResponse {
18
+ /**
19
+ *
20
+ * @type {Date}
21
+ * @memberof ReauthenticationResponse
22
+ */
23
+ reauthenticatedAt: Date;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ReauthenticationResponse interface.
27
+ */
28
+ export declare function instanceOfReauthenticationResponse(value: object): value is ReauthenticationResponse;
29
+ export declare function ReauthenticationResponseFromJSON(json: any): ReauthenticationResponse;
30
+ export declare function ReauthenticationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticationResponse;
31
+ export declare function ReauthenticationResponseToJSON(json: any): ReauthenticationResponse;
32
+ export declare function ReauthenticationResponseToJSONTyped(value?: ReauthenticationResponse | 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.instanceOfReauthenticationResponse = instanceOfReauthenticationResponse;
17
+ exports.ReauthenticationResponseFromJSON = ReauthenticationResponseFromJSON;
18
+ exports.ReauthenticationResponseFromJSONTyped = ReauthenticationResponseFromJSONTyped;
19
+ exports.ReauthenticationResponseToJSON = ReauthenticationResponseToJSON;
20
+ exports.ReauthenticationResponseToJSONTyped = ReauthenticationResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ReauthenticationResponse interface.
23
+ */
24
+ function instanceOfReauthenticationResponse(value) {
25
+ if (!('reauthenticatedAt' in value) || value['reauthenticatedAt'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function ReauthenticationResponseFromJSON(json) {
30
+ return ReauthenticationResponseFromJSONTyped(json, false);
31
+ }
32
+ function ReauthenticationResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'reauthenticatedAt': (new Date(json['reauthenticatedAt'])),
38
+ };
39
+ }
40
+ function ReauthenticationResponseToJSON(json) {
41
+ return ReauthenticationResponseToJSONTyped(json, false);
42
+ }
43
+ function ReauthenticationResponseToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'reauthenticatedAt': value['reauthenticatedAt'].toISOString(),
50
+ };
51
+ }
@@ -0,0 +1,39 @@
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 { ReauthenticationFactor } from './ReauthenticationFactor';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ReauthenticationStatusResponse
17
+ */
18
+ export interface ReauthenticationStatusResponse {
19
+ /**
20
+ *
21
+ * @type {Date}
22
+ * @memberof ReauthenticationStatusResponse
23
+ */
24
+ lastReauthenticatedAt?: Date;
25
+ /**
26
+ *
27
+ * @type {Array<ReauthenticationFactor>}
28
+ * @memberof ReauthenticationStatusResponse
29
+ */
30
+ availableFactors: Array<ReauthenticationFactor>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ReauthenticationStatusResponse interface.
34
+ */
35
+ export declare function instanceOfReauthenticationStatusResponse(value: object): value is ReauthenticationStatusResponse;
36
+ export declare function ReauthenticationStatusResponseFromJSON(json: any): ReauthenticationStatusResponse;
37
+ export declare function ReauthenticationStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticationStatusResponse;
38
+ export declare function ReauthenticationStatusResponseToJSON(json: any): ReauthenticationStatusResponse;
39
+ export declare function ReauthenticationStatusResponseToJSONTyped(value?: ReauthenticationStatusResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfReauthenticationStatusResponse = instanceOfReauthenticationStatusResponse;
17
+ exports.ReauthenticationStatusResponseFromJSON = ReauthenticationStatusResponseFromJSON;
18
+ exports.ReauthenticationStatusResponseFromJSONTyped = ReauthenticationStatusResponseFromJSONTyped;
19
+ exports.ReauthenticationStatusResponseToJSON = ReauthenticationStatusResponseToJSON;
20
+ exports.ReauthenticationStatusResponseToJSONTyped = ReauthenticationStatusResponseToJSONTyped;
21
+ var ReauthenticationFactor_1 = require("./ReauthenticationFactor");
22
+ /**
23
+ * Check if a given object implements the ReauthenticationStatusResponse interface.
24
+ */
25
+ function instanceOfReauthenticationStatusResponse(value) {
26
+ if (!('availableFactors' in value) || value['availableFactors'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function ReauthenticationStatusResponseFromJSON(json) {
31
+ return ReauthenticationStatusResponseFromJSONTyped(json, false);
32
+ }
33
+ function ReauthenticationStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'lastReauthenticatedAt': json['lastReauthenticatedAt'] == null ? undefined : (new Date(json['lastReauthenticatedAt'])),
39
+ 'availableFactors': (json['availableFactors'].map(ReauthenticationFactor_1.ReauthenticationFactorFromJSON)),
40
+ };
41
+ }
42
+ function ReauthenticationStatusResponseToJSON(json) {
43
+ return ReauthenticationStatusResponseToJSONTyped(json, false);
44
+ }
45
+ function ReauthenticationStatusResponseToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'lastReauthenticatedAt': value['lastReauthenticatedAt'] == null ? value['lastReauthenticatedAt'] : value['lastReauthenticatedAt'].toISOString(),
52
+ 'availableFactors': (value['availableFactors'].map(ReauthenticationFactor_1.ReauthenticationFactorToJSON)),
53
+ };
54
+ }
@@ -48,6 +48,12 @@ export interface RegisterUserResponse {
48
48
  * @memberof RegisterUserResponse
49
49
  */
50
50
  availableMfaMethods?: Array<MfaMethodSummary>;
51
+ /**
52
+ *
53
+ * @type {Array<MfaMethodSummary>}
54
+ * @memberof RegisterUserResponse
55
+ */
56
+ pendingContactMethods?: Array<MfaMethodSummary>;
51
57
  }
52
58
  /**
53
59
  * @export
@@ -53,6 +53,7 @@ function RegisterUserResponseFromJSONTyped(json, ignoreDiscriminator) {
53
53
  'sessionToken': (0, RenewSessionTokenResponse_1.RenewSessionTokenResponseFromJSON)(json['sessionToken']),
54
54
  'mfaStatus': json['mfaStatus'] == null ? undefined : json['mfaStatus'],
55
55
  'availableMfaMethods': json['availableMfaMethods'] == null ? undefined : (json['availableMfaMethods'].map(MfaMethodSummary_1.MfaMethodSummaryFromJSON)),
56
+ 'pendingContactMethods': json['pendingContactMethods'] == null ? undefined : (json['pendingContactMethods'].map(MfaMethodSummary_1.MfaMethodSummaryFromJSON)),
56
57
  };
57
58
  }
58
59
  function RegisterUserResponseToJSON(json) {
@@ -69,5 +70,6 @@ function RegisterUserResponseToJSONTyped(value, ignoreDiscriminator) {
69
70
  'sessionToken': (0, RenewSessionTokenResponse_1.RenewSessionTokenResponseToJSON)(value['sessionToken']),
70
71
  'mfaStatus': value['mfaStatus'],
71
72
  'availableMfaMethods': value['availableMfaMethods'] == null ? undefined : (value['availableMfaMethods'].map(MfaMethodSummary_1.MfaMethodSummaryToJSON)),
73
+ 'pendingContactMethods': value['pendingContactMethods'] == null ? undefined : (value['pendingContactMethods'].map(MfaMethodSummary_1.MfaMethodSummaryToJSON)),
72
74
  };
73
75
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { RequestLogObjectMeta } from './RequestLogObjectMeta';
13
+ import type { BodyRef } from './BodyRef';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -76,6 +77,18 @@ export interface RequestLogObject {
76
77
  * @memberof RequestLogObject
77
78
  */
78
79
  responseBody?: string;
80
+ /**
81
+ *
82
+ * @type {BodyRef}
83
+ * @memberof RequestLogObject
84
+ */
85
+ requestBodyRef?: BodyRef;
86
+ /**
87
+ *
88
+ * @type {BodyRef}
89
+ * @memberof RequestLogObject
90
+ */
91
+ responseBodyRef?: BodyRef;
79
92
  /**
80
93
  *
81
94
  * @type {number}
@@ -19,6 +19,7 @@ exports.RequestLogObjectFromJSONTyped = RequestLogObjectFromJSONTyped;
19
19
  exports.RequestLogObjectToJSON = RequestLogObjectToJSON;
20
20
  exports.RequestLogObjectToJSONTyped = RequestLogObjectToJSONTyped;
21
21
  var RequestLogObjectMeta_1 = require("./RequestLogObjectMeta");
22
+ var BodyRef_1 = require("./BodyRef");
22
23
  /**
23
24
  * Check if a given object implements the RequestLogObject interface.
24
25
  */
@@ -59,6 +60,8 @@ function RequestLogObjectFromJSONTyped(json, ignoreDiscriminator) {
59
60
  'firstByteLatencyMilliseconds': json['firstByteLatencyMilliseconds'] == null ? undefined : json['firstByteLatencyMilliseconds'],
60
61
  'requestBody': json['requestBody'] == null ? undefined : json['requestBody'],
61
62
  'responseBody': json['responseBody'] == null ? undefined : json['responseBody'],
63
+ 'requestBodyRef': json['requestBodyRef'] == null ? undefined : (0, BodyRef_1.BodyRefFromJSON)(json['requestBodyRef']),
64
+ 'responseBodyRef': json['responseBodyRef'] == null ? undefined : (0, BodyRef_1.BodyRefFromJSON)(json['responseBodyRef']),
62
65
  'statusCode': json['statusCode'],
63
66
  'requestHeaders': json['requestHeaders'],
64
67
  'responseHeaders': json['responseHeaders'],
@@ -89,6 +92,8 @@ function RequestLogObjectToJSONTyped(value, ignoreDiscriminator) {
89
92
  'firstByteLatencyMilliseconds': value['firstByteLatencyMilliseconds'],
90
93
  'requestBody': value['requestBody'],
91
94
  'responseBody': value['responseBody'],
95
+ 'requestBodyRef': (0, BodyRef_1.BodyRefToJSON)(value['requestBodyRef']),
96
+ 'responseBodyRef': (0, BodyRef_1.BodyRefToJSON)(value['responseBodyRef']),
92
97
  'statusCode': value['statusCode'],
93
98
  'requestHeaders': value['requestHeaders'],
94
99
  'responseHeaders': value['responseHeaders'],
@@ -0,0 +1,63 @@
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 { RequestLogObjectMeta } from './RequestLogObjectMeta';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RequestLogSummary
17
+ */
18
+ export interface RequestLogSummary {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof RequestLogSummary
23
+ */
24
+ requestId: string;
25
+ /**
26
+ *
27
+ * @type {Date}
28
+ * @memberof RequestLogSummary
29
+ */
30
+ timestamp: Date;
31
+ /**
32
+ *
33
+ * @type {RequestLogObjectMeta}
34
+ * @memberof RequestLogSummary
35
+ */
36
+ requestLogObjectMeta: RequestLogObjectMeta;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof RequestLogSummary
41
+ */
42
+ statusCode: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof RequestLogSummary
47
+ */
48
+ totalLatencyMilliseconds: number;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof RequestLogSummary
53
+ */
54
+ exceptionType?: string;
55
+ }
56
+ /**
57
+ * Check if a given object implements the RequestLogSummary interface.
58
+ */
59
+ export declare function instanceOfRequestLogSummary(value: object): value is RequestLogSummary;
60
+ export declare function RequestLogSummaryFromJSON(json: any): RequestLogSummary;
61
+ export declare function RequestLogSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestLogSummary;
62
+ export declare function RequestLogSummaryToJSON(json: any): RequestLogSummary;
63
+ export declare function RequestLogSummaryToJSONTyped(value?: RequestLogSummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
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.instanceOfRequestLogSummary = instanceOfRequestLogSummary;
17
+ exports.RequestLogSummaryFromJSON = RequestLogSummaryFromJSON;
18
+ exports.RequestLogSummaryFromJSONTyped = RequestLogSummaryFromJSONTyped;
19
+ exports.RequestLogSummaryToJSON = RequestLogSummaryToJSON;
20
+ exports.RequestLogSummaryToJSONTyped = RequestLogSummaryToJSONTyped;
21
+ var RequestLogObjectMeta_1 = require("./RequestLogObjectMeta");
22
+ /**
23
+ * Check if a given object implements the RequestLogSummary interface.
24
+ */
25
+ function instanceOfRequestLogSummary(value) {
26
+ if (!('requestId' in value) || value['requestId'] === undefined)
27
+ return false;
28
+ if (!('timestamp' in value) || value['timestamp'] === undefined)
29
+ return false;
30
+ if (!('requestLogObjectMeta' in value) || value['requestLogObjectMeta'] === undefined)
31
+ return false;
32
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
33
+ return false;
34
+ if (!('totalLatencyMilliseconds' in value) || value['totalLatencyMilliseconds'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function RequestLogSummaryFromJSON(json) {
39
+ return RequestLogSummaryFromJSONTyped(json, false);
40
+ }
41
+ function RequestLogSummaryFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'requestId': json['requestId'],
47
+ 'timestamp': (new Date(json['timestamp'])),
48
+ 'requestLogObjectMeta': (0, RequestLogObjectMeta_1.RequestLogObjectMetaFromJSON)(json['requestLogObjectMeta']),
49
+ 'statusCode': json['statusCode'],
50
+ 'totalLatencyMilliseconds': json['totalLatencyMilliseconds'],
51
+ 'exceptionType': json['exceptionType'] == null ? undefined : json['exceptionType'],
52
+ };
53
+ }
54
+ function RequestLogSummaryToJSON(json) {
55
+ return RequestLogSummaryToJSONTyped(json, false);
56
+ }
57
+ function RequestLogSummaryToJSONTyped(value, ignoreDiscriminator) {
58
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'requestId': value['requestId'],
64
+ 'timestamp': value['timestamp'].toISOString(),
65
+ 'requestLogObjectMeta': (0, RequestLogObjectMeta_1.RequestLogObjectMetaToJSON)(value['requestLogObjectMeta']),
66
+ 'statusCode': value['statusCode'],
67
+ 'totalLatencyMilliseconds': value['totalLatencyMilliseconds'],
68
+ 'exceptionType': value['exceptionType'],
69
+ };
70
+ }
@@ -39,6 +39,12 @@ export interface SessionSummary {
39
39
  * @memberof SessionSummary
40
40
  */
41
41
  lastActivityAt?: Date;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof SessionSummary
46
+ */
47
+ lastReauthenticatedAt?: Date;
42
48
  /**
43
49
  *
44
50
  * @type {string}
@@ -51,6 +57,18 @@ export interface SessionSummary {
51
57
  * @memberof SessionSummary
52
58
  */
53
59
  approximateLocation?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof SessionSummary
64
+ */
65
+ userAgent?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof SessionSummary
70
+ */
71
+ deviceDescription?: string;
54
72
  /**
55
73
  *
56
74
  * @type {boolean}
@@ -40,8 +40,11 @@ function SessionSummaryFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'creationTime': (new Date(json['creationTime'])),
41
41
  'expirationTime': json['expirationTime'] == null ? undefined : (new Date(json['expirationTime'])),
42
42
  'lastActivityAt': json['lastActivityAt'] == null ? undefined : (new Date(json['lastActivityAt'])),
43
+ 'lastReauthenticatedAt': json['lastReauthenticatedAt'] == null ? undefined : (new Date(json['lastReauthenticatedAt'])),
43
44
  'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
44
45
  'approximateLocation': json['approximateLocation'] == null ? undefined : json['approximateLocation'],
46
+ 'userAgent': json['userAgent'] == null ? undefined : json['userAgent'],
47
+ 'deviceDescription': json['deviceDescription'] == null ? undefined : json['deviceDescription'],
45
48
  'current': json['current'] == null ? undefined : json['current'],
46
49
  'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
47
50
  };
@@ -59,8 +62,11 @@ function SessionSummaryToJSONTyped(value, ignoreDiscriminator) {
59
62
  'creationTime': value['creationTime'].toISOString(),
60
63
  'expirationTime': value['expirationTime'] == null ? value['expirationTime'] : value['expirationTime'].toISOString(),
61
64
  'lastActivityAt': value['lastActivityAt'] == null ? value['lastActivityAt'] : value['lastActivityAt'].toISOString(),
65
+ 'lastReauthenticatedAt': value['lastReauthenticatedAt'] == null ? value['lastReauthenticatedAt'] : value['lastReauthenticatedAt'].toISOString(),
62
66
  'sourceIpAddress': value['sourceIpAddress'],
63
67
  'approximateLocation': value['approximateLocation'],
68
+ 'userAgent': value['userAgent'],
69
+ 'deviceDescription': value['deviceDescription'],
64
70
  'current': value['current'],
65
71
  'impersonation': value['impersonation'],
66
72
  };
@@ -57,6 +57,12 @@ export interface UserActionLogObject {
57
57
  * @memberof UserActionLogObject
58
58
  */
59
59
  sourceIpAddress?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof UserActionLogObject
64
+ */
65
+ userAgent?: string;
60
66
  /**
61
67
  *
62
68
  * @type {{ [key: string]: string; }}
@@ -119,6 +125,9 @@ export declare const UserActionLogObjectActionTypeType: {
119
125
  readonly MFA_BACKUP_CODES_GENERATED: "MFA_BACKUP_CODES_GENERATED";
120
126
  readonly MFA_BACKUP_CODE_USED: "MFA_BACKUP_CODE_USED";
121
127
  readonly MFA_ADMIN_RESET: "MFA_ADMIN_RESET";
128
+ readonly REAUTHENTICATION_CHALLENGE_SENT: "REAUTHENTICATION_CHALLENGE_SENT";
129
+ readonly REAUTHENTICATED: "REAUTHENTICATED";
130
+ readonly REAUTHENTICATION_FAILED: "REAUTHENTICATION_FAILED";
122
131
  };
123
132
  export type UserActionLogObjectActionTypeType = typeof UserActionLogObjectActionTypeType[keyof typeof UserActionLogObjectActionTypeType];
124
133
  /**