@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
@@ -102,6 +102,7 @@ export declare const ForteApiExceptionErrorCodeType: {
102
102
  readonly UNSUPPORTED_PHONE_NUMBER: "UNSUPPORTED_PHONE_NUMBER";
103
103
  readonly USER_SUSPENDED: "USER_SUSPENDED";
104
104
  readonly USER_NO_VERIFIED_CONTACT_METHODS: "USER_NO_VERIFIED_CONTACT_METHODS";
105
+ readonly USER_VERIFICATION_REQUIRED: "USER_VERIFICATION_REQUIRED";
105
106
  readonly CONTACT_METHOD_NOT_FOUND: "CONTACT_METHOD_NOT_FOUND";
106
107
  readonly AMBIGUOUS_CONTACT_METHOD_UPDATE: "AMBIGUOUS_CONTACT_METHOD_UPDATE";
107
108
  readonly CONTACT_METHOD_ALREADY_EXISTS: "CONTACT_METHOD_ALREADY_EXISTS";
@@ -123,6 +124,7 @@ export declare const ForteApiExceptionErrorCodeType: {
123
124
  readonly INVALID_UNSUBSCRIBE_TOKEN: "INVALID_UNSUBSCRIBE_TOKEN";
124
125
  readonly SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED";
125
126
  readonly GOOGLE_OAUTH_NOT_CONFIGURED: "GOOGLE_OAUTH_NOT_CONFIGURED";
127
+ readonly GOOGLE_IDENTITY_ALREADY_LINKED: "GOOGLE_IDENTITY_ALREADY_LINKED";
126
128
  readonly TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED: "TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED";
127
129
  readonly TERMS_OF_SERVICE_NOT_ACCEPTED: "TERMS_OF_SERVICE_NOT_ACCEPTED";
128
130
  readonly API_KEY_NOT_FOUND: "API_KEY_NOT_FOUND";
@@ -134,6 +136,8 @@ export declare const ForteApiExceptionErrorCodeType: {
134
136
  readonly SUPPORT_ATTACHMENT_INVALID_OWNER: "SUPPORT_ATTACHMENT_INVALID_OWNER";
135
137
  readonly SUPPORT_ATTACHMENT_ALREADY_CLAIMED: "SUPPORT_ATTACHMENT_ALREADY_CLAIMED";
136
138
  readonly SUPPORT_ATTACHMENT_TOO_LARGE: "SUPPORT_ATTACHMENT_TOO_LARGE";
139
+ readonly SUPPORT_ATTACHMENT_INVALID_TYPE: "SUPPORT_ATTACHMENT_INVALID_TYPE";
140
+ readonly SUPPORT_ATTACHMENT_LIMIT_EXCEEDED: "SUPPORT_ATTACHMENT_LIMIT_EXCEEDED";
137
141
  readonly ACCOUNT_NOT_FOUND: "ACCOUNT_NOT_FOUND";
138
142
  readonly ACCOUNT_ALREADY_EXISTS: "ACCOUNT_ALREADY_EXISTS";
139
143
  readonly ACCOUNT_NOT_VERIFIED: "ACCOUNT_NOT_VERIFIED";
@@ -247,6 +251,7 @@ export declare const ForteApiExceptionErrorCodeType: {
247
251
  readonly PASSWORD_CONFIG_INVALID: "PASSWORD_CONFIG_INVALID";
248
252
  readonly PASSWORD_RESET_TARGET_URL_REQUIRED: "PASSWORD_RESET_TARGET_URL_REQUIRED";
249
253
  readonly MFA_REQUIRED: "MFA_REQUIRED";
254
+ readonly MFA_CONFIG_INVALID: "MFA_CONFIG_INVALID";
250
255
  readonly MFA_NOT_ENABLED: "MFA_NOT_ENABLED";
251
256
  readonly MFA_METHOD_TYPE_NOT_ENABLED: "MFA_METHOD_TYPE_NOT_ENABLED";
252
257
  readonly MFA_METHOD_NOT_FOUND: "MFA_METHOD_NOT_FOUND";
@@ -256,12 +261,18 @@ export declare const ForteApiExceptionErrorCodeType: {
256
261
  readonly MFA_NO_ACTIVE_CHALLENGE: "MFA_NO_ACTIVE_CHALLENGE";
257
262
  readonly MFA_CHALLENGE_RATE_LIMITED: "MFA_CHALLENGE_RATE_LIMITED";
258
263
  readonly MFA_BACKUP_CODE_INVALID: "MFA_BACKUP_CODE_INVALID";
264
+ readonly MFA_PRIMARY_METHOD_REQUIRED: "MFA_PRIMARY_METHOD_REQUIRED";
259
265
  readonly MFA_LAST_METHOD_REQUIRED: "MFA_LAST_METHOD_REQUIRED";
260
266
  readonly MFA_ADMIN_ACTION_SANDBOX_ONLY: "MFA_ADMIN_ACTION_SANDBOX_ONLY";
261
267
  readonly MFA_FIRST_FACTOR_CONTACT_NOT_ALLOWED: "MFA_FIRST_FACTOR_CONTACT_NOT_ALLOWED";
262
268
  readonly MFA_FIRST_FACTOR_CONTACT_REQUIRED: "MFA_FIRST_FACTOR_CONTACT_REQUIRED";
263
269
  readonly MFA_TARGET_CONTACT_INVALID: "MFA_TARGET_CONTACT_INVALID";
264
270
  readonly OTP_LOGIN_DISABLED_UNDER_MFA: "OTP_LOGIN_DISABLED_UNDER_MFA";
271
+ readonly REAUTHENTICATION_FACTOR_NOT_AVAILABLE: "REAUTHENTICATION_FACTOR_NOT_AVAILABLE";
272
+ readonly REAUTHENTICATION_INVALID_CREDENTIAL: "REAUTHENTICATION_INVALID_CREDENTIAL";
273
+ readonly REAUTHENTICATION_CODE_EXPIRED: "REAUTHENTICATION_CODE_EXPIRED";
274
+ readonly REAUTHENTICATION_NO_ACTIVE_CHALLENGE: "REAUTHENTICATION_NO_ACTIVE_CHALLENGE";
275
+ readonly REAUTHENTICATION_RATE_LIMITED: "REAUTHENTICATION_RATE_LIMITED";
265
276
  readonly CRM_COMPANY_NOT_FOUND: "CRM_COMPANY_NOT_FOUND";
266
277
  readonly CRM_SEQUENCE_NOT_FOUND: "CRM_SEQUENCE_NOT_FOUND";
267
278
  readonly CRM_SEQUENCE_MEMBER_NOT_FOUND: "CRM_SEQUENCE_MEMBER_NOT_FOUND";
@@ -87,6 +87,7 @@ exports.ForteApiExceptionErrorCodeType = {
87
87
  UNSUPPORTED_PHONE_NUMBER: 'UNSUPPORTED_PHONE_NUMBER',
88
88
  USER_SUSPENDED: 'USER_SUSPENDED',
89
89
  USER_NO_VERIFIED_CONTACT_METHODS: 'USER_NO_VERIFIED_CONTACT_METHODS',
90
+ USER_VERIFICATION_REQUIRED: 'USER_VERIFICATION_REQUIRED',
90
91
  CONTACT_METHOD_NOT_FOUND: 'CONTACT_METHOD_NOT_FOUND',
91
92
  AMBIGUOUS_CONTACT_METHOD_UPDATE: 'AMBIGUOUS_CONTACT_METHOD_UPDATE',
92
93
  CONTACT_METHOD_ALREADY_EXISTS: 'CONTACT_METHOD_ALREADY_EXISTS',
@@ -108,6 +109,7 @@ exports.ForteApiExceptionErrorCodeType = {
108
109
  INVALID_UNSUBSCRIBE_TOKEN: 'INVALID_UNSUBSCRIBE_TOKEN',
109
110
  SERVICE_QUOTA_EXCEEDED: 'SERVICE_QUOTA_EXCEEDED',
110
111
  GOOGLE_OAUTH_NOT_CONFIGURED: 'GOOGLE_OAUTH_NOT_CONFIGURED',
112
+ GOOGLE_IDENTITY_ALREADY_LINKED: 'GOOGLE_IDENTITY_ALREADY_LINKED',
111
113
  TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED: 'TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED',
112
114
  TERMS_OF_SERVICE_NOT_ACCEPTED: 'TERMS_OF_SERVICE_NOT_ACCEPTED',
113
115
  API_KEY_NOT_FOUND: 'API_KEY_NOT_FOUND',
@@ -119,6 +121,8 @@ exports.ForteApiExceptionErrorCodeType = {
119
121
  SUPPORT_ATTACHMENT_INVALID_OWNER: 'SUPPORT_ATTACHMENT_INVALID_OWNER',
120
122
  SUPPORT_ATTACHMENT_ALREADY_CLAIMED: 'SUPPORT_ATTACHMENT_ALREADY_CLAIMED',
121
123
  SUPPORT_ATTACHMENT_TOO_LARGE: 'SUPPORT_ATTACHMENT_TOO_LARGE',
124
+ SUPPORT_ATTACHMENT_INVALID_TYPE: 'SUPPORT_ATTACHMENT_INVALID_TYPE',
125
+ SUPPORT_ATTACHMENT_LIMIT_EXCEEDED: 'SUPPORT_ATTACHMENT_LIMIT_EXCEEDED',
122
126
  ACCOUNT_NOT_FOUND: 'ACCOUNT_NOT_FOUND',
123
127
  ACCOUNT_ALREADY_EXISTS: 'ACCOUNT_ALREADY_EXISTS',
124
128
  ACCOUNT_NOT_VERIFIED: 'ACCOUNT_NOT_VERIFIED',
@@ -232,6 +236,7 @@ exports.ForteApiExceptionErrorCodeType = {
232
236
  PASSWORD_CONFIG_INVALID: 'PASSWORD_CONFIG_INVALID',
233
237
  PASSWORD_RESET_TARGET_URL_REQUIRED: 'PASSWORD_RESET_TARGET_URL_REQUIRED',
234
238
  MFA_REQUIRED: 'MFA_REQUIRED',
239
+ MFA_CONFIG_INVALID: 'MFA_CONFIG_INVALID',
235
240
  MFA_NOT_ENABLED: 'MFA_NOT_ENABLED',
236
241
  MFA_METHOD_TYPE_NOT_ENABLED: 'MFA_METHOD_TYPE_NOT_ENABLED',
237
242
  MFA_METHOD_NOT_FOUND: 'MFA_METHOD_NOT_FOUND',
@@ -241,12 +246,18 @@ exports.ForteApiExceptionErrorCodeType = {
241
246
  MFA_NO_ACTIVE_CHALLENGE: 'MFA_NO_ACTIVE_CHALLENGE',
242
247
  MFA_CHALLENGE_RATE_LIMITED: 'MFA_CHALLENGE_RATE_LIMITED',
243
248
  MFA_BACKUP_CODE_INVALID: 'MFA_BACKUP_CODE_INVALID',
249
+ MFA_PRIMARY_METHOD_REQUIRED: 'MFA_PRIMARY_METHOD_REQUIRED',
244
250
  MFA_LAST_METHOD_REQUIRED: 'MFA_LAST_METHOD_REQUIRED',
245
251
  MFA_ADMIN_ACTION_SANDBOX_ONLY: 'MFA_ADMIN_ACTION_SANDBOX_ONLY',
246
252
  MFA_FIRST_FACTOR_CONTACT_NOT_ALLOWED: 'MFA_FIRST_FACTOR_CONTACT_NOT_ALLOWED',
247
253
  MFA_FIRST_FACTOR_CONTACT_REQUIRED: 'MFA_FIRST_FACTOR_CONTACT_REQUIRED',
248
254
  MFA_TARGET_CONTACT_INVALID: 'MFA_TARGET_CONTACT_INVALID',
249
255
  OTP_LOGIN_DISABLED_UNDER_MFA: 'OTP_LOGIN_DISABLED_UNDER_MFA',
256
+ REAUTHENTICATION_FACTOR_NOT_AVAILABLE: 'REAUTHENTICATION_FACTOR_NOT_AVAILABLE',
257
+ REAUTHENTICATION_INVALID_CREDENTIAL: 'REAUTHENTICATION_INVALID_CREDENTIAL',
258
+ REAUTHENTICATION_CODE_EXPIRED: 'REAUTHENTICATION_CODE_EXPIRED',
259
+ REAUTHENTICATION_NO_ACTIVE_CHALLENGE: 'REAUTHENTICATION_NO_ACTIVE_CHALLENGE',
260
+ REAUTHENTICATION_RATE_LIMITED: 'REAUTHENTICATION_RATE_LIMITED',
250
261
  CRM_COMPANY_NOT_FOUND: 'CRM_COMPANY_NOT_FOUND',
251
262
  CRM_SEQUENCE_NOT_FOUND: 'CRM_SEQUENCE_NOT_FOUND',
252
263
  CRM_SEQUENCE_MEMBER_NOT_FOUND: 'CRM_SEQUENCE_MEMBER_NOT_FOUND',
@@ -0,0 +1,50 @@
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 GetRequestBodyDownloadLinkResponse
16
+ */
17
+ export interface GetRequestBodyDownloadLinkResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetRequestBodyDownloadLinkResponse
22
+ */
23
+ downloadUrl: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof GetRequestBodyDownloadLinkResponse
28
+ */
29
+ expiresAt: Date;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof GetRequestBodyDownloadLinkResponse
34
+ */
35
+ sizeBytes: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof GetRequestBodyDownloadLinkResponse
40
+ */
41
+ contentType?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the GetRequestBodyDownloadLinkResponse interface.
45
+ */
46
+ export declare function instanceOfGetRequestBodyDownloadLinkResponse(value: object): value is GetRequestBodyDownloadLinkResponse;
47
+ export declare function GetRequestBodyDownloadLinkResponseFromJSON(json: any): GetRequestBodyDownloadLinkResponse;
48
+ export declare function GetRequestBodyDownloadLinkResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRequestBodyDownloadLinkResponse;
49
+ export declare function GetRequestBodyDownloadLinkResponseToJSON(json: any): GetRequestBodyDownloadLinkResponse;
50
+ export declare function GetRequestBodyDownloadLinkResponseToJSONTyped(value?: GetRequestBodyDownloadLinkResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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.instanceOfGetRequestBodyDownloadLinkResponse = instanceOfGetRequestBodyDownloadLinkResponse;
17
+ exports.GetRequestBodyDownloadLinkResponseFromJSON = GetRequestBodyDownloadLinkResponseFromJSON;
18
+ exports.GetRequestBodyDownloadLinkResponseFromJSONTyped = GetRequestBodyDownloadLinkResponseFromJSONTyped;
19
+ exports.GetRequestBodyDownloadLinkResponseToJSON = GetRequestBodyDownloadLinkResponseToJSON;
20
+ exports.GetRequestBodyDownloadLinkResponseToJSONTyped = GetRequestBodyDownloadLinkResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetRequestBodyDownloadLinkResponse interface.
23
+ */
24
+ function instanceOfGetRequestBodyDownloadLinkResponse(value) {
25
+ if (!('downloadUrl' in value) || value['downloadUrl'] === undefined)
26
+ return false;
27
+ if (!('expiresAt' in value) || value['expiresAt'] === undefined)
28
+ return false;
29
+ if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function GetRequestBodyDownloadLinkResponseFromJSON(json) {
34
+ return GetRequestBodyDownloadLinkResponseFromJSONTyped(json, false);
35
+ }
36
+ function GetRequestBodyDownloadLinkResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'downloadUrl': json['downloadUrl'],
42
+ 'expiresAt': (new Date(json['expiresAt'])),
43
+ 'sizeBytes': json['sizeBytes'],
44
+ 'contentType': json['contentType'] == null ? undefined : json['contentType'],
45
+ };
46
+ }
47
+ function GetRequestBodyDownloadLinkResponseToJSON(json) {
48
+ return GetRequestBodyDownloadLinkResponseToJSONTyped(json, false);
49
+ }
50
+ function GetRequestBodyDownloadLinkResponseToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'downloadUrl': value['downloadUrl'],
57
+ 'expiresAt': value['expiresAt'].toISOString(),
58
+ 'sizeBytes': value['sizeBytes'],
59
+ 'contentType': value['contentType'],
60
+ };
61
+ }
@@ -27,6 +27,18 @@ export interface LoginHistoryEntry {
27
27
  * @memberof LoginHistoryEntry
28
28
  */
29
29
  sourceIpAddress?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof LoginHistoryEntry
34
+ */
35
+ userAgent?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof LoginHistoryEntry
40
+ */
41
+ deviceDescription?: string;
30
42
  }
31
43
  /**
32
44
  * Check if a given object implements the LoginHistoryEntry interface.
@@ -36,6 +36,8 @@ function LoginHistoryEntryFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return {
37
37
  'timestamp': (new Date(json['timestamp'])),
38
38
  'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
39
+ 'userAgent': json['userAgent'] == null ? undefined : json['userAgent'],
40
+ 'deviceDescription': json['deviceDescription'] == null ? undefined : json['deviceDescription'],
39
41
  };
40
42
  }
41
43
  function LoginHistoryEntryToJSON(json) {
@@ -49,5 +51,7 @@ function LoginHistoryEntryToJSONTyped(value, ignoreDiscriminator) {
49
51
  return {
50
52
  'timestamp': value['timestamp'].toISOString(),
51
53
  'sourceIpAddress': value['sourceIpAddress'],
54
+ 'userAgent': value['userAgent'],
55
+ 'deviceDescription': value['deviceDescription'],
52
56
  };
53
57
  }
@@ -13,11 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfPaginatedResponseRequestLogObject = instanceOfPaginatedResponseRequestLogObject;
17
- exports.PaginatedResponseRequestLogObjectFromJSON = PaginatedResponseRequestLogObjectFromJSON;
18
- exports.PaginatedResponseRequestLogObjectFromJSONTyped = PaginatedResponseRequestLogObjectFromJSONTyped;
19
- exports.PaginatedResponseRequestLogObjectToJSON = PaginatedResponseRequestLogObjectToJSON;
20
- exports.PaginatedResponseRequestLogObjectToJSONTyped = PaginatedResponseRequestLogObjectToJSONTyped;
16
+ exports.PaginatedResponseRequestLogObjectToJSONTyped = exports.PaginatedResponseRequestLogObjectToJSON = exports.PaginatedResponseRequestLogObjectFromJSONTyped = exports.PaginatedResponseRequestLogObjectFromJSON = exports.instanceOfPaginatedResponseRequestLogObject = void 0;
21
17
  var RequestLogObject_1 = require("./RequestLogObject");
22
18
  /**
23
19
  * Check if a given object implements the PaginatedResponseRequestLogObject interface.
@@ -29,9 +25,11 @@ function instanceOfPaginatedResponseRequestLogObject(value) {
29
25
  return false;
30
26
  return true;
31
27
  }
28
+ exports.instanceOfPaginatedResponseRequestLogObject = instanceOfPaginatedResponseRequestLogObject;
32
29
  function PaginatedResponseRequestLogObjectFromJSON(json) {
33
30
  return PaginatedResponseRequestLogObjectFromJSONTyped(json, false);
34
31
  }
32
+ exports.PaginatedResponseRequestLogObjectFromJSON = PaginatedResponseRequestLogObjectFromJSON;
35
33
  function PaginatedResponseRequestLogObjectFromJSONTyped(json, ignoreDiscriminator) {
36
34
  if (json == null) {
37
35
  return json;
@@ -42,9 +40,11 @@ function PaginatedResponseRequestLogObjectFromJSONTyped(json, ignoreDiscriminato
42
40
  'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
43
41
  };
44
42
  }
43
+ exports.PaginatedResponseRequestLogObjectFromJSONTyped = PaginatedResponseRequestLogObjectFromJSONTyped;
45
44
  function PaginatedResponseRequestLogObjectToJSON(json) {
46
45
  return PaginatedResponseRequestLogObjectToJSONTyped(json, false);
47
46
  }
47
+ exports.PaginatedResponseRequestLogObjectToJSON = PaginatedResponseRequestLogObjectToJSON;
48
48
  function PaginatedResponseRequestLogObjectToJSONTyped(value, ignoreDiscriminator) {
49
49
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
50
  if (value == null) {
@@ -56,3 +56,4 @@ function PaginatedResponseRequestLogObjectToJSONTyped(value, ignoreDiscriminator
56
56
  'nextPageToken': value['nextPageToken'],
57
57
  };
58
58
  }
59
+ exports.PaginatedResponseRequestLogObjectToJSONTyped = PaginatedResponseRequestLogObjectToJSONTyped;
@@ -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 { RequestLogSummary } from './RequestLogSummary';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PaginatedResponseRequestLogSummary
17
+ */
18
+ export interface PaginatedResponseRequestLogSummary {
19
+ /**
20
+ *
21
+ * @type {Array<RequestLogSummary>}
22
+ * @memberof PaginatedResponseRequestLogSummary
23
+ */
24
+ items: Array<RequestLogSummary>;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof PaginatedResponseRequestLogSummary
29
+ */
30
+ hasNextPage: boolean;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof PaginatedResponseRequestLogSummary
35
+ */
36
+ nextPageToken?: string;
37
+ }
38
+ /**
39
+ * Check if a given object implements the PaginatedResponseRequestLogSummary interface.
40
+ */
41
+ export declare function instanceOfPaginatedResponseRequestLogSummary(value: object): value is PaginatedResponseRequestLogSummary;
42
+ export declare function PaginatedResponseRequestLogSummaryFromJSON(json: any): PaginatedResponseRequestLogSummary;
43
+ export declare function PaginatedResponseRequestLogSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseRequestLogSummary;
44
+ export declare function PaginatedResponseRequestLogSummaryToJSON(json: any): PaginatedResponseRequestLogSummary;
45
+ export declare function PaginatedResponseRequestLogSummaryToJSONTyped(value?: PaginatedResponseRequestLogSummary | 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.instanceOfPaginatedResponseRequestLogSummary = instanceOfPaginatedResponseRequestLogSummary;
17
+ exports.PaginatedResponseRequestLogSummaryFromJSON = PaginatedResponseRequestLogSummaryFromJSON;
18
+ exports.PaginatedResponseRequestLogSummaryFromJSONTyped = PaginatedResponseRequestLogSummaryFromJSONTyped;
19
+ exports.PaginatedResponseRequestLogSummaryToJSON = PaginatedResponseRequestLogSummaryToJSON;
20
+ exports.PaginatedResponseRequestLogSummaryToJSONTyped = PaginatedResponseRequestLogSummaryToJSONTyped;
21
+ var RequestLogSummary_1 = require("./RequestLogSummary");
22
+ /**
23
+ * Check if a given object implements the PaginatedResponseRequestLogSummary interface.
24
+ */
25
+ function instanceOfPaginatedResponseRequestLogSummary(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 PaginatedResponseRequestLogSummaryFromJSON(json) {
33
+ return PaginatedResponseRequestLogSummaryFromJSONTyped(json, false);
34
+ }
35
+ function PaginatedResponseRequestLogSummaryFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'items': (json['items'].map(RequestLogSummary_1.RequestLogSummaryFromJSON)),
41
+ 'hasNextPage': json['hasNextPage'],
42
+ 'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
43
+ };
44
+ }
45
+ function PaginatedResponseRequestLogSummaryToJSON(json) {
46
+ return PaginatedResponseRequestLogSummaryToJSONTyped(json, false);
47
+ }
48
+ function PaginatedResponseRequestLogSummaryToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'items': (value['items'].map(RequestLogSummary_1.RequestLogSummaryToJSON)),
55
+ 'hasNextPage': value['hasNextPage'],
56
+ 'nextPageToken': value['nextPageToken'],
57
+ };
58
+ }
@@ -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 ReauthenticationChallengeRequest
16
+ */
17
+ export interface ReauthenticationChallengeRequest {
18
+ /**
19
+ *
20
+ * @type {ReauthenticationChallengeRequestMethodType}
21
+ * @memberof ReauthenticationChallengeRequest
22
+ */
23
+ method: ReauthenticationChallengeRequestMethodType;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ReauthenticationChallengeRequest
28
+ */
29
+ targetContactMethodId?: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const ReauthenticationChallengeRequestMethodType: {
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 ReauthenticationChallengeRequestMethodType = typeof ReauthenticationChallengeRequestMethodType[keyof typeof ReauthenticationChallengeRequestMethodType];
42
+ /**
43
+ * Check if a given object implements the ReauthenticationChallengeRequest interface.
44
+ */
45
+ export declare function instanceOfReauthenticationChallengeRequest(value: object): value is ReauthenticationChallengeRequest;
46
+ export declare function ReauthenticationChallengeRequestFromJSON(json: any): ReauthenticationChallengeRequest;
47
+ export declare function ReauthenticationChallengeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticationChallengeRequest;
48
+ export declare function ReauthenticationChallengeRequestToJSON(json: any): ReauthenticationChallengeRequest;
49
+ export declare function ReauthenticationChallengeRequestToJSONTyped(value?: ReauthenticationChallengeRequest | 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.ReauthenticationChallengeRequestMethodType = void 0;
17
+ exports.instanceOfReauthenticationChallengeRequest = instanceOfReauthenticationChallengeRequest;
18
+ exports.ReauthenticationChallengeRequestFromJSON = ReauthenticationChallengeRequestFromJSON;
19
+ exports.ReauthenticationChallengeRequestFromJSONTyped = ReauthenticationChallengeRequestFromJSONTyped;
20
+ exports.ReauthenticationChallengeRequestToJSON = ReauthenticationChallengeRequestToJSON;
21
+ exports.ReauthenticationChallengeRequestToJSONTyped = ReauthenticationChallengeRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ReauthenticationChallengeRequestMethodType = {
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 ReauthenticationChallengeRequest interface.
34
+ */
35
+ function instanceOfReauthenticationChallengeRequest(value) {
36
+ if (!('method' in value) || value['method'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function ReauthenticationChallengeRequestFromJSON(json) {
41
+ return ReauthenticationChallengeRequestFromJSONTyped(json, false);
42
+ }
43
+ function ReauthenticationChallengeRequestFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'method': json['method'],
49
+ 'targetContactMethodId': json['targetContactMethodId'] == null ? undefined : json['targetContactMethodId'],
50
+ };
51
+ }
52
+ function ReauthenticationChallengeRequestToJSON(json) {
53
+ return ReauthenticationChallengeRequestToJSONTyped(json, false);
54
+ }
55
+ function ReauthenticationChallengeRequestToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'method': value['method'],
62
+ 'targetContactMethodId': value['targetContactMethodId'],
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 ReauthenticationChallengeResponse
16
+ */
17
+ export interface ReauthenticationChallengeResponse {
18
+ /**
19
+ *
20
+ * @type {Date}
21
+ * @memberof ReauthenticationChallengeResponse
22
+ */
23
+ codeExpirationTime?: Date;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ReauthenticationChallengeResponse interface.
27
+ */
28
+ export declare function instanceOfReauthenticationChallengeResponse(value: object): value is ReauthenticationChallengeResponse;
29
+ export declare function ReauthenticationChallengeResponseFromJSON(json: any): ReauthenticationChallengeResponse;
30
+ export declare function ReauthenticationChallengeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticationChallengeResponse;
31
+ export declare function ReauthenticationChallengeResponseToJSON(json: any): ReauthenticationChallengeResponse;
32
+ export declare function ReauthenticationChallengeResponseToJSONTyped(value?: ReauthenticationChallengeResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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.instanceOfReauthenticationChallengeResponse = instanceOfReauthenticationChallengeResponse;
17
+ exports.ReauthenticationChallengeResponseFromJSON = ReauthenticationChallengeResponseFromJSON;
18
+ exports.ReauthenticationChallengeResponseFromJSONTyped = ReauthenticationChallengeResponseFromJSONTyped;
19
+ exports.ReauthenticationChallengeResponseToJSON = ReauthenticationChallengeResponseToJSON;
20
+ exports.ReauthenticationChallengeResponseToJSONTyped = ReauthenticationChallengeResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ReauthenticationChallengeResponse interface.
23
+ */
24
+ function instanceOfReauthenticationChallengeResponse(value) {
25
+ return true;
26
+ }
27
+ function ReauthenticationChallengeResponseFromJSON(json) {
28
+ return ReauthenticationChallengeResponseFromJSONTyped(json, false);
29
+ }
30
+ function ReauthenticationChallengeResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'codeExpirationTime': json['codeExpirationTime'] == null ? undefined : (new Date(json['codeExpirationTime'])),
36
+ };
37
+ }
38
+ function ReauthenticationChallengeResponseToJSON(json) {
39
+ return ReauthenticationChallengeResponseToJSONTyped(json, false);
40
+ }
41
+ function ReauthenticationChallengeResponseToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'codeExpirationTime': value['codeExpirationTime'] == null ? value['codeExpirationTime'] : value['codeExpirationTime'].toISOString(),
48
+ };
49
+ }
@@ -0,0 +1,61 @@
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 ReauthenticationFactor
16
+ */
17
+ export interface ReauthenticationFactor {
18
+ /**
19
+ *
20
+ * @type {ReauthenticationFactorTypeType}
21
+ * @memberof ReauthenticationFactor
22
+ */
23
+ type: ReauthenticationFactorTypeType;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ReauthenticationFactor
28
+ */
29
+ mfaMethodId?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ReauthenticationFactor
34
+ */
35
+ contactMethodId?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ReauthenticationFactor
40
+ */
41
+ maskedTarget?: string;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const ReauthenticationFactorTypeType: {
47
+ readonly PASSWORD: "PASSWORD";
48
+ readonly EMAIL_OTP: "EMAIL_OTP";
49
+ readonly SMS_OTP: "SMS_OTP";
50
+ readonly TOTP: "TOTP";
51
+ readonly BACKUP_CODE: "BACKUP_CODE";
52
+ };
53
+ export type ReauthenticationFactorTypeType = typeof ReauthenticationFactorTypeType[keyof typeof ReauthenticationFactorTypeType];
54
+ /**
55
+ * Check if a given object implements the ReauthenticationFactor interface.
56
+ */
57
+ export declare function instanceOfReauthenticationFactor(value: object): value is ReauthenticationFactor;
58
+ export declare function ReauthenticationFactorFromJSON(json: any): ReauthenticationFactor;
59
+ export declare function ReauthenticationFactorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticationFactor;
60
+ export declare function ReauthenticationFactorToJSON(json: any): ReauthenticationFactor;
61
+ export declare function ReauthenticationFactorToJSONTyped(value?: ReauthenticationFactor | null, ignoreDiscriminator?: boolean): any;