@forteplatforms/sdk 1.0.334 → 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.
@@ -46,6 +46,7 @@ import { type CreateSubscriptionResponse } from '../models/CreateSubscriptionRes
46
46
  import { type CreateWebAppRequest } from '../models/CreateWebAppRequest';
47
47
  import { type CustomDomainResponse } from '../models/CustomDomainResponse';
48
48
  import { type GetContentDownloadLinkResponse } from '../models/GetContentDownloadLinkResponse';
49
+ import { type GetRequestBodyDownloadLinkResponse } from '../models/GetRequestBodyDownloadLinkResponse';
49
50
  import { type ImpersonationTokenResponse } from '../models/ImpersonationTokenResponse';
50
51
  import { type ListContentResponse } from '../models/ListContentResponse';
51
52
  import { type ListCustomDomainsResponse } from '../models/ListCustomDomainsResponse';
@@ -60,7 +61,7 @@ import { type NotificationTemplatesResponse } from '../models/NotificationTempla
60
61
  import { type PaginatedResponseActionInvocationObject } from '../models/PaginatedResponseActionInvocationObject';
61
62
  import { type PaginatedResponseLogLineObject } from '../models/PaginatedResponseLogLineObject';
62
63
  import { type PaginatedResponsePaymentObject } from '../models/PaginatedResponsePaymentObject';
63
- import { type PaginatedResponseRequestLogObject } from '../models/PaginatedResponseRequestLogObject';
64
+ import { type PaginatedResponseRequestLogSummary } from '../models/PaginatedResponseRequestLogSummary';
64
65
  import { type PaginatedResponseServiceBuildRequestObject } from '../models/PaginatedResponseServiceBuildRequestObject';
65
66
  import { type PaginatedResponseUserActionLogObject } from '../models/PaginatedResponseUserActionLogObject';
66
67
  import { type PaginatedResponseUserObject } from '../models/PaginatedResponseUserObject';
@@ -335,6 +336,12 @@ export interface GetPaymentAnalyticsRequest {
335
336
  export interface GetProjectRequest {
336
337
  projectId: string;
337
338
  }
339
+ export interface GetRequestBodyDownloadLinkRequest {
340
+ projectId: string;
341
+ serviceId: string;
342
+ requestId: string;
343
+ part: GetRequestBodyDownloadLinkPartType;
344
+ }
338
345
  export interface GetRequestInvocationLogRequest {
339
346
  projectId: string;
340
347
  serviceId: string;
@@ -1270,6 +1277,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1270
1277
  /**
1271
1278
  */
1272
1279
  getProject(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectObject>;
1280
+ /**
1281
+ * Creates request options for getRequestBodyDownloadLink without sending the request
1282
+ */
1283
+ getRequestBodyDownloadLinkRequestOpts(requestParameters: GetRequestBodyDownloadLinkRequest): Promise<runtime.RequestOpts>;
1284
+ /**
1285
+ */
1286
+ getRequestBodyDownloadLinkRaw(requestParameters: GetRequestBodyDownloadLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetRequestBodyDownloadLinkResponse>>;
1287
+ /**
1288
+ */
1289
+ getRequestBodyDownloadLink(requestParameters: GetRequestBodyDownloadLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetRequestBodyDownloadLinkResponse>;
1273
1290
  /**
1274
1291
  * Creates request options for getRequestInvocationLog without sending the request
1275
1292
  */
@@ -1896,10 +1913,10 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1896
1913
  searchRequestInvocationLogsRequestOpts(requestParameters: SearchRequestInvocationLogsRequest): Promise<runtime.RequestOpts>;
1897
1914
  /**
1898
1915
  */
1899
- searchRequestInvocationLogsRaw(requestParameters: SearchRequestInvocationLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseRequestLogObject>>;
1916
+ searchRequestInvocationLogsRaw(requestParameters: SearchRequestInvocationLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseRequestLogSummary>>;
1900
1917
  /**
1901
1918
  */
1902
- searchRequestInvocationLogs(requestParameters: SearchRequestInvocationLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseRequestLogObject>;
1919
+ searchRequestInvocationLogs(requestParameters: SearchRequestInvocationLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseRequestLogSummary>;
1903
1920
  /**
1904
1921
  * Creates request options for searchUsers without sending the request
1905
1922
  */
@@ -2100,6 +2117,14 @@ export declare const GetPaymentAnalyticsGranularityType: {
2100
2117
  readonly ONE_HOUR: "ONE_HOUR";
2101
2118
  };
2102
2119
  export type GetPaymentAnalyticsGranularityType = typeof GetPaymentAnalyticsGranularityType[keyof typeof GetPaymentAnalyticsGranularityType];
2120
+ /**
2121
+ * @export
2122
+ */
2123
+ export declare const GetRequestBodyDownloadLinkPartType: {
2124
+ readonly REQUEST: "REQUEST";
2125
+ readonly RESPONSE: "RESPONSE";
2126
+ };
2127
+ export type GetRequestBodyDownloadLinkPartType = typeof GetRequestBodyDownloadLinkPartType[keyof typeof GetRequestBodyDownloadLinkPartType];
2103
2128
  /**
2104
2129
  * @export
2105
2130
  */
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
64
64
  }
65
65
  };
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
- exports.SuggestDatabaseEnvVarsDatabaseTypeType = exports.ListUserPaymentsStateType = exports.ListUserActionLogsActionTypeType = exports.ListProjectPaymentsStateType = exports.GetUserMetricsGranularityType = exports.GetServiceMetricsGranularityType = exports.GetPaymentAnalyticsGranularityType = exports.GetPaymentAnalyticsGroupByType = exports.ProjectsServerApi = void 0;
67
+ exports.SuggestDatabaseEnvVarsDatabaseTypeType = exports.ListUserPaymentsStateType = exports.ListUserActionLogsActionTypeType = exports.ListProjectPaymentsStateType = exports.GetUserMetricsGranularityType = exports.GetServiceMetricsGranularityType = exports.GetRequestBodyDownloadLinkPartType = exports.GetPaymentAnalyticsGranularityType = exports.GetPaymentAnalyticsGroupByType = exports.ProjectsServerApi = void 0;
68
68
  var runtime = require("../runtime");
69
69
  var ActionInvocationObject_1 = require("../models/ActionInvocationObject");
70
70
  var ActionObject_1 = require("../models/ActionObject");
@@ -102,6 +102,7 @@ var CreateSubscriptionResponse_1 = require("../models/CreateSubscriptionResponse
102
102
  var CreateWebAppRequest_1 = require("../models/CreateWebAppRequest");
103
103
  var CustomDomainResponse_1 = require("../models/CustomDomainResponse");
104
104
  var GetContentDownloadLinkResponse_1 = require("../models/GetContentDownloadLinkResponse");
105
+ var GetRequestBodyDownloadLinkResponse_1 = require("../models/GetRequestBodyDownloadLinkResponse");
105
106
  var ImpersonationTokenResponse_1 = require("../models/ImpersonationTokenResponse");
106
107
  var ListContentResponse_1 = require("../models/ListContentResponse");
107
108
  var ListCustomDomainsResponse_1 = require("../models/ListCustomDomainsResponse");
@@ -116,7 +117,7 @@ var NotificationTemplatesResponse_1 = require("../models/NotificationTemplatesRe
116
117
  var PaginatedResponseActionInvocationObject_1 = require("../models/PaginatedResponseActionInvocationObject");
117
118
  var PaginatedResponseLogLineObject_1 = require("../models/PaginatedResponseLogLineObject");
118
119
  var PaginatedResponsePaymentObject_1 = require("../models/PaginatedResponsePaymentObject");
119
- var PaginatedResponseRequestLogObject_1 = require("../models/PaginatedResponseRequestLogObject");
120
+ var PaginatedResponseRequestLogSummary_1 = require("../models/PaginatedResponseRequestLogSummary");
120
121
  var PaginatedResponseServiceBuildRequestObject_1 = require("../models/PaginatedResponseServiceBuildRequestObject");
121
122
  var PaginatedResponseUserActionLogObject_1 = require("../models/PaginatedResponseUserActionLogObject");
122
123
  var PaginatedResponseUserObject_1 = require("../models/PaginatedResponseUserObject");
@@ -3267,6 +3268,75 @@ var ProjectsServerApi = /** @class */ (function (_super) {
3267
3268
  });
3268
3269
  });
3269
3270
  };
3271
+ /**
3272
+ * Creates request options for getRequestBodyDownloadLink without sending the request
3273
+ */
3274
+ ProjectsServerApi.prototype.getRequestBodyDownloadLinkRequestOpts = function (requestParameters) {
3275
+ return __awaiter(this, void 0, void 0, function () {
3276
+ var queryParameters, headerParameters, urlPath;
3277
+ return __generator(this, function (_a) {
3278
+ if (requestParameters['projectId'] == null) {
3279
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getRequestBodyDownloadLink().');
3280
+ }
3281
+ if (requestParameters['serviceId'] == null) {
3282
+ throw new runtime.RequiredError('serviceId', 'Required parameter "serviceId" was null or undefined when calling getRequestBodyDownloadLink().');
3283
+ }
3284
+ if (requestParameters['requestId'] == null) {
3285
+ throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling getRequestBodyDownloadLink().');
3286
+ }
3287
+ if (requestParameters['part'] == null) {
3288
+ throw new runtime.RequiredError('part', 'Required parameter "part" was null or undefined when calling getRequestBodyDownloadLink().');
3289
+ }
3290
+ queryParameters = {};
3291
+ headerParameters = {};
3292
+ urlPath = "/api/v1/projects/{projectId}/services/{serviceId}/requests/{requestId}/bodies/{part}/download-link";
3293
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
3294
+ urlPath = urlPath.replace('{serviceId}', encodeURIComponent(String(requestParameters['serviceId'])));
3295
+ urlPath = urlPath.replace('{requestId}', encodeURIComponent(String(requestParameters['requestId'])));
3296
+ urlPath = urlPath.replace('{part}', encodeURIComponent(String(requestParameters['part'])));
3297
+ return [2 /*return*/, {
3298
+ path: urlPath,
3299
+ method: 'GET',
3300
+ headers: headerParameters,
3301
+ query: queryParameters,
3302
+ }];
3303
+ });
3304
+ });
3305
+ };
3306
+ /**
3307
+ */
3308
+ ProjectsServerApi.prototype.getRequestBodyDownloadLinkRaw = function (requestParameters, initOverrides) {
3309
+ return __awaiter(this, void 0, void 0, function () {
3310
+ var requestOptions, response;
3311
+ return __generator(this, function (_a) {
3312
+ switch (_a.label) {
3313
+ case 0: return [4 /*yield*/, this.getRequestBodyDownloadLinkRequestOpts(requestParameters)];
3314
+ case 1:
3315
+ requestOptions = _a.sent();
3316
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
3317
+ case 2:
3318
+ response = _a.sent();
3319
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetRequestBodyDownloadLinkResponse_1.GetRequestBodyDownloadLinkResponseFromJSON)(jsonValue); })];
3320
+ }
3321
+ });
3322
+ });
3323
+ };
3324
+ /**
3325
+ */
3326
+ ProjectsServerApi.prototype.getRequestBodyDownloadLink = function (requestParameters, initOverrides) {
3327
+ return __awaiter(this, void 0, void 0, function () {
3328
+ var response;
3329
+ return __generator(this, function (_a) {
3330
+ switch (_a.label) {
3331
+ case 0: return [4 /*yield*/, this.getRequestBodyDownloadLinkRaw(requestParameters, initOverrides)];
3332
+ case 1:
3333
+ response = _a.sent();
3334
+ return [4 /*yield*/, response.value()];
3335
+ case 2: return [2 /*return*/, _a.sent()];
3336
+ }
3337
+ });
3338
+ });
3339
+ };
3270
3340
  /**
3271
3341
  * Creates request options for getRequestInvocationLog without sending the request
3272
3342
  */
@@ -7409,7 +7479,7 @@ var ProjectsServerApi = /** @class */ (function (_super) {
7409
7479
  return [4 /*yield*/, this.request(requestOptions, initOverrides)];
7410
7480
  case 2:
7411
7481
  response = _a.sent();
7412
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponseRequestLogObject_1.PaginatedResponseRequestLogObjectFromJSON)(jsonValue); })];
7482
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponseRequestLogSummary_1.PaginatedResponseRequestLogSummaryFromJSON)(jsonValue); })];
7413
7483
  }
7414
7484
  });
7415
7485
  });
@@ -8650,6 +8720,13 @@ exports.GetPaymentAnalyticsGranularityType = {
8650
8720
  FIFTEEN_MINUTES: 'FIFTEEN_MINUTES',
8651
8721
  ONE_HOUR: 'ONE_HOUR'
8652
8722
  };
8723
+ /**
8724
+ * @export
8725
+ */
8726
+ exports.GetRequestBodyDownloadLinkPartType = {
8727
+ REQUEST: 'REQUEST',
8728
+ RESPONSE: 'RESPONSE'
8729
+ };
8653
8730
  /**
8654
8731
  * @export
8655
8732
  */
@@ -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 BodyRef
16
+ */
17
+ export interface BodyRef {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof BodyRef
22
+ */
23
+ fullSizeBytes: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof BodyRef
28
+ */
29
+ contentType?: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof BodyRef
34
+ */
35
+ downloadable: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the BodyRef interface.
39
+ */
40
+ export declare function instanceOfBodyRef(value: object): value is BodyRef;
41
+ export declare function BodyRefFromJSON(json: any): BodyRef;
42
+ export declare function BodyRefFromJSONTyped(json: any, ignoreDiscriminator: boolean): BodyRef;
43
+ export declare function BodyRefToJSON(json: any): BodyRef;
44
+ export declare function BodyRefToJSONTyped(value?: BodyRef | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
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.instanceOfBodyRef = instanceOfBodyRef;
17
+ exports.BodyRefFromJSON = BodyRefFromJSON;
18
+ exports.BodyRefFromJSONTyped = BodyRefFromJSONTyped;
19
+ exports.BodyRefToJSON = BodyRefToJSON;
20
+ exports.BodyRefToJSONTyped = BodyRefToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the BodyRef interface.
23
+ */
24
+ function instanceOfBodyRef(value) {
25
+ if (!('fullSizeBytes' in value) || value['fullSizeBytes'] === undefined)
26
+ return false;
27
+ if (!('downloadable' in value) || value['downloadable'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function BodyRefFromJSON(json) {
32
+ return BodyRefFromJSONTyped(json, false);
33
+ }
34
+ function BodyRefFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'fullSizeBytes': json['fullSizeBytes'],
40
+ 'contentType': json['contentType'] == null ? undefined : json['contentType'],
41
+ 'downloadable': json['downloadable'],
42
+ };
43
+ }
44
+ function BodyRefToJSON(json) {
45
+ return BodyRefToJSONTyped(json, false);
46
+ }
47
+ function BodyRefToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'fullSizeBytes': value['fullSizeBytes'],
54
+ 'contentType': value['contentType'],
55
+ 'downloadable': value['downloadable'],
56
+ };
57
+ }
@@ -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,6 +261,7 @@ 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";
@@ -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,6 +246,7 @@ 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',
@@ -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
+ }
@@ -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
+ }
@@ -57,6 +57,18 @@ export interface SessionSummary {
57
57
  * @memberof SessionSummary
58
58
  */
59
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;
60
72
  /**
61
73
  *
62
74
  * @type {boolean}
@@ -43,6 +43,8 @@ function SessionSummaryFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'lastReauthenticatedAt': json['lastReauthenticatedAt'] == null ? undefined : (new Date(json['lastReauthenticatedAt'])),
44
44
  'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
45
45
  'approximateLocation': json['approximateLocation'] == null ? undefined : json['approximateLocation'],
46
+ 'userAgent': json['userAgent'] == null ? undefined : json['userAgent'],
47
+ 'deviceDescription': json['deviceDescription'] == null ? undefined : json['deviceDescription'],
46
48
  'current': json['current'] == null ? undefined : json['current'],
47
49
  'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
48
50
  };
@@ -63,6 +65,8 @@ function SessionSummaryToJSONTyped(value, ignoreDiscriminator) {
63
65
  'lastReauthenticatedAt': value['lastReauthenticatedAt'] == null ? value['lastReauthenticatedAt'] : value['lastReauthenticatedAt'].toISOString(),
64
66
  'sourceIpAddress': value['sourceIpAddress'],
65
67
  'approximateLocation': value['approximateLocation'],
68
+ 'userAgent': value['userAgent'],
69
+ 'deviceDescription': value['deviceDescription'],
66
70
  'current': value['current'],
67
71
  'impersonation': value['impersonation'],
68
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; }}
@@ -103,6 +103,7 @@ function UserActionLogObjectFromJSONTyped(json, ignoreDiscriminator) {
103
103
  'paymentMethodId': json['paymentMethodId'] == null ? undefined : json['paymentMethodId'],
104
104
  'performedByAccountId': json['performedByAccountId'] == null ? undefined : json['performedByAccountId'],
105
105
  'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
106
+ 'userAgent': json['userAgent'] == null ? undefined : json['userAgent'],
106
107
  'metadata': json['metadata'] == null ? undefined : json['metadata'],
107
108
  };
108
109
  }
@@ -122,6 +123,7 @@ function UserActionLogObjectToJSONTyped(value, ignoreDiscriminator) {
122
123
  'paymentMethodId': value['paymentMethodId'],
123
124
  'performedByAccountId': value['performedByAccountId'],
124
125
  'sourceIpAddress': value['sourceIpAddress'],
126
+ 'userAgent': value['userAgent'],
125
127
  'metadata': value['metadata'],
126
128
  };
127
129
  }
@@ -12,6 +12,7 @@ export * from './AdminOverrideContactMethodRequest';
12
12
  export * from './AdminPasswordResetResponse';
13
13
  export * from './ApiKeySummary';
14
14
  export * from './BackupCodesResponse';
15
+ export * from './BodyRef';
15
16
  export * from './BuildStepLog';
16
17
  export * from './ChangePasswordRequest';
17
18
  export * from './CompleteOtpLoginRequest';
@@ -62,6 +63,7 @@ export * from './DockerfileGenerationError';
62
63
  export * from './DockerfileGenerationResponse';
63
64
  export * from './ForteApiException';
64
65
  export * from './GetContentDownloadLinkResponse';
66
+ export * from './GetRequestBodyDownloadLinkResponse';
65
67
  export * from './HealthCheckConfig';
66
68
  export * from './HealthCheckDetectionError';
67
69
  export * from './HealthCheckDetectionOutput';
@@ -103,7 +105,7 @@ export * from './PaginatedResponseActionInvocationObject';
103
105
  export * from './PaginatedResponseLogLineObject';
104
106
  export * from './PaginatedResponseLoginHistoryEntry';
105
107
  export * from './PaginatedResponsePaymentObject';
106
- export * from './PaginatedResponseRequestLogObject';
108
+ export * from './PaginatedResponseRequestLogSummary';
107
109
  export * from './PaginatedResponseServiceBuildRequestObject';
108
110
  export * from './PaginatedResponseUserActionLogObject';
109
111
  export * from './PaginatedResponseUserObject';
@@ -139,6 +141,7 @@ export * from './RequestLogPathFilter';
139
141
  export * from './RequestLogSearchRequest';
140
142
  export * from './RequestLogSort';
141
143
  export * from './RequestLogStatusFilter';
144
+ export * from './RequestLogSummary';
142
145
  export * from './RequestPasswordResetRequest';
143
146
  export * from './RequiredUploadHeaders';
144
147
  export * from './RotateManagedDatabaseUserPasswordResponse';
@@ -30,6 +30,7 @@ __exportStar(require("./AdminOverrideContactMethodRequest"), exports);
30
30
  __exportStar(require("./AdminPasswordResetResponse"), exports);
31
31
  __exportStar(require("./ApiKeySummary"), exports);
32
32
  __exportStar(require("./BackupCodesResponse"), exports);
33
+ __exportStar(require("./BodyRef"), exports);
33
34
  __exportStar(require("./BuildStepLog"), exports);
34
35
  __exportStar(require("./ChangePasswordRequest"), exports);
35
36
  __exportStar(require("./CompleteOtpLoginRequest"), exports);
@@ -80,6 +81,7 @@ __exportStar(require("./DockerfileGenerationError"), exports);
80
81
  __exportStar(require("./DockerfileGenerationResponse"), exports);
81
82
  __exportStar(require("./ForteApiException"), exports);
82
83
  __exportStar(require("./GetContentDownloadLinkResponse"), exports);
84
+ __exportStar(require("./GetRequestBodyDownloadLinkResponse"), exports);
83
85
  __exportStar(require("./HealthCheckConfig"), exports);
84
86
  __exportStar(require("./HealthCheckDetectionError"), exports);
85
87
  __exportStar(require("./HealthCheckDetectionOutput"), exports);
@@ -121,7 +123,7 @@ __exportStar(require("./PaginatedResponseActionInvocationObject"), exports);
121
123
  __exportStar(require("./PaginatedResponseLogLineObject"), exports);
122
124
  __exportStar(require("./PaginatedResponseLoginHistoryEntry"), exports);
123
125
  __exportStar(require("./PaginatedResponsePaymentObject"), exports);
124
- __exportStar(require("./PaginatedResponseRequestLogObject"), exports);
126
+ __exportStar(require("./PaginatedResponseRequestLogSummary"), exports);
125
127
  __exportStar(require("./PaginatedResponseServiceBuildRequestObject"), exports);
126
128
  __exportStar(require("./PaginatedResponseUserActionLogObject"), exports);
127
129
  __exportStar(require("./PaginatedResponseUserObject"), exports);
@@ -157,6 +159,7 @@ __exportStar(require("./RequestLogPathFilter"), exports);
157
159
  __exportStar(require("./RequestLogSearchRequest"), exports);
158
160
  __exportStar(require("./RequestLogSort"), exports);
159
161
  __exportStar(require("./RequestLogStatusFilter"), exports);
162
+ __exportStar(require("./RequestLogSummary"), exports);
160
163
  __exportStar(require("./RequestPasswordResetRequest"), exports);
161
164
  __exportStar(require("./RequiredUploadHeaders"), exports);
162
165
  __exportStar(require("./RotateManagedDatabaseUserPasswordResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.334",
3
+ "version": "1.0.338",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {