@forteplatforms/sdk 1.0.540 → 1.0.542
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/apis/ProjectsServerApi.d.ts +48 -0
- package/dist/generated/apis/ProjectsServerApi.js +159 -1
- package/dist/generated/models/AccountActionLogObject.d.ts +1 -0
- package/dist/generated/models/AccountActionLogObject.js +1 -0
- package/dist/generated/models/ForteApiException.d.ts +2 -0
- package/dist/generated/models/ForteApiException.js +2 -0
- package/dist/generated/models/GetWebAppInvocationResponse.d.ts +64 -0
- package/dist/generated/models/GetWebAppInvocationResponse.js +71 -0
- package/dist/generated/models/PaginatedResponseGetWebAppInvocationResponse.d.ts +45 -0
- package/dist/generated/models/PaginatedResponseGetWebAppInvocationResponse.js +58 -0
- package/dist/generated/models/UserObject.d.ts +4 -4
- package/dist/generated/models/UserObject.js +2 -2
- package/dist/generated/models/WebAppRuntimeMetricsResponse.d.ts +48 -0
- package/dist/generated/models/WebAppRuntimeMetricsResponse.js +16 -0
- package/dist/generated/models/index.d.ts +2 -0
- package/dist/generated/models/index.js +2 -0
- package/package.json +1 -1
|
@@ -75,6 +75,7 @@ import { type GetServiceBlockedRequestMetricsResponse } from '../models/GetServi
|
|
|
75
75
|
import { type GetServiceCodeSourceStatusResponse } from '../models/GetServiceCodeSourceStatusResponse';
|
|
76
76
|
import { type GetServiceRouteTimeMetricsResponse } from '../models/GetServiceRouteTimeMetricsResponse';
|
|
77
77
|
import { type GetWebAppBlockedRequestMetricsResponse } from '../models/GetWebAppBlockedRequestMetricsResponse';
|
|
78
|
+
import { type GetWebAppInvocationResponse } from '../models/GetWebAppInvocationResponse';
|
|
78
79
|
import { type ImpersonationTokenResponse } from '../models/ImpersonationTokenResponse';
|
|
79
80
|
import { type ListContentResponse } from '../models/ListContentResponse';
|
|
80
81
|
import { type ListCustomDomainsResponse } from '../models/ListCustomDomainsResponse';
|
|
@@ -93,6 +94,7 @@ import { type PaginatedResponseAccountActionLogObject } from '../models/Paginate
|
|
|
93
94
|
import { type PaginatedResponseActionInvocationObject } from '../models/PaginatedResponseActionInvocationObject';
|
|
94
95
|
import { type PaginatedResponseBlockedRequestGroup } from '../models/PaginatedResponseBlockedRequestGroup';
|
|
95
96
|
import { type PaginatedResponseBlockedRequestSample } from '../models/PaginatedResponseBlockedRequestSample';
|
|
97
|
+
import { type PaginatedResponseGetWebAppInvocationResponse } from '../models/PaginatedResponseGetWebAppInvocationResponse';
|
|
96
98
|
import { type PaginatedResponseLogLineObject } from '../models/PaginatedResponseLogLineObject';
|
|
97
99
|
import { type PaginatedResponsePaymentObject } from '../models/PaginatedResponsePaymentObject';
|
|
98
100
|
import { type PaginatedResponsePaymentTriggerInvocation } from '../models/PaginatedResponsePaymentTriggerInvocation';
|
|
@@ -569,11 +571,17 @@ export interface GetWebAppDeploymentRequest {
|
|
|
569
571
|
webAppId: string;
|
|
570
572
|
buildId: string;
|
|
571
573
|
}
|
|
574
|
+
export interface GetWebAppInvocationRequest {
|
|
575
|
+
projectId: string;
|
|
576
|
+
webAppId: string;
|
|
577
|
+
requestId: string;
|
|
578
|
+
}
|
|
572
579
|
export interface GetWebAppRuntimeMetricsRequest {
|
|
573
580
|
projectId: string;
|
|
574
581
|
webAppId: string;
|
|
575
582
|
minTime?: Date;
|
|
576
583
|
maxTime?: Date;
|
|
584
|
+
granularity?: GetWebAppRuntimeMetricsGranularityType;
|
|
577
585
|
}
|
|
578
586
|
export interface IssueImpersonationTokenRequest {
|
|
579
587
|
projectId: string;
|
|
@@ -790,11 +798,20 @@ export interface ListWebAppHistoryRequest {
|
|
|
790
798
|
maxTime?: Date;
|
|
791
799
|
nextToken?: string;
|
|
792
800
|
}
|
|
801
|
+
export interface ListWebAppInvocationsRequest {
|
|
802
|
+
projectId: string;
|
|
803
|
+
webAppId: string;
|
|
804
|
+
minTime?: Date;
|
|
805
|
+
maxTime?: Date;
|
|
806
|
+
failedOnly?: boolean;
|
|
807
|
+
nextToken?: string;
|
|
808
|
+
}
|
|
793
809
|
export interface ListWebAppLogLinesRequest {
|
|
794
810
|
projectId: string;
|
|
795
811
|
webAppId: string;
|
|
796
812
|
minTime?: Date;
|
|
797
813
|
maxTime?: Date;
|
|
814
|
+
requestId?: Array<string>;
|
|
798
815
|
level?: string;
|
|
799
816
|
levels?: Array<string>;
|
|
800
817
|
nextToken?: string;
|
|
@@ -1000,6 +1017,7 @@ export interface SearchWebAppLogLinesRequest {
|
|
|
1000
1017
|
query: string;
|
|
1001
1018
|
minTime?: Date;
|
|
1002
1019
|
maxTime?: Date;
|
|
1020
|
+
requestId?: Array<string>;
|
|
1003
1021
|
level?: string;
|
|
1004
1022
|
levels?: Array<string>;
|
|
1005
1023
|
nextToken?: string;
|
|
@@ -1975,6 +1993,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
1975
1993
|
/**
|
|
1976
1994
|
*/
|
|
1977
1995
|
getWebAppDeployment(requestParameters: GetWebAppDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebAppBuildRequestObject>;
|
|
1996
|
+
/**
|
|
1997
|
+
* Creates request options for getWebAppInvocation without sending the request
|
|
1998
|
+
*/
|
|
1999
|
+
getWebAppInvocationRequestOpts(requestParameters: GetWebAppInvocationRequest): Promise<runtime.RequestOpts>;
|
|
2000
|
+
/**
|
|
2001
|
+
*/
|
|
2002
|
+
getWebAppInvocationRaw(requestParameters: GetWebAppInvocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetWebAppInvocationResponse>>;
|
|
2003
|
+
/**
|
|
2004
|
+
*/
|
|
2005
|
+
getWebAppInvocation(requestParameters: GetWebAppInvocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWebAppInvocationResponse>;
|
|
1978
2006
|
/**
|
|
1979
2007
|
* Creates request options for getWebAppRuntimeMetrics without sending the request
|
|
1980
2008
|
*/
|
|
@@ -2315,6 +2343,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
2315
2343
|
/**
|
|
2316
2344
|
*/
|
|
2317
2345
|
listWebAppHistory(requestParameters: ListWebAppHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAccountActionLogObject>;
|
|
2346
|
+
/**
|
|
2347
|
+
* Creates request options for listWebAppInvocations without sending the request
|
|
2348
|
+
*/
|
|
2349
|
+
listWebAppInvocationsRequestOpts(requestParameters: ListWebAppInvocationsRequest): Promise<runtime.RequestOpts>;
|
|
2350
|
+
/**
|
|
2351
|
+
*/
|
|
2352
|
+
listWebAppInvocationsRaw(requestParameters: ListWebAppInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseGetWebAppInvocationResponse>>;
|
|
2353
|
+
/**
|
|
2354
|
+
*/
|
|
2355
|
+
listWebAppInvocations(requestParameters: ListWebAppInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseGetWebAppInvocationResponse>;
|
|
2318
2356
|
/**
|
|
2319
2357
|
* Creates request options for listWebAppLogLines without sending the request
|
|
2320
2358
|
*/
|
|
@@ -3004,6 +3042,16 @@ export declare const GetUserMetricsGranularityType: {
|
|
|
3004
3042
|
readonly ONE_HOUR: "ONE_HOUR";
|
|
3005
3043
|
};
|
|
3006
3044
|
export type GetUserMetricsGranularityType = typeof GetUserMetricsGranularityType[keyof typeof GetUserMetricsGranularityType];
|
|
3045
|
+
/**
|
|
3046
|
+
* @export
|
|
3047
|
+
*/
|
|
3048
|
+
export declare const GetWebAppRuntimeMetricsGranularityType: {
|
|
3049
|
+
readonly ONE_MINUTE: "ONE_MINUTE";
|
|
3050
|
+
readonly FIVE_MINUTES: "FIVE_MINUTES";
|
|
3051
|
+
readonly FIFTEEN_MINUTES: "FIFTEEN_MINUTES";
|
|
3052
|
+
readonly ONE_HOUR: "ONE_HOUR";
|
|
3053
|
+
};
|
|
3054
|
+
export type GetWebAppRuntimeMetricsGranularityType = typeof GetWebAppRuntimeMetricsGranularityType[keyof typeof GetWebAppRuntimeMetricsGranularityType];
|
|
3007
3055
|
/**
|
|
3008
3056
|
* @export
|
|
3009
3057
|
*/
|
|
@@ -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.ListWebAppBlockedRequestGroupsCategoryType = exports.ListUserPaymentsStateType = exports.ListUserActionLogsNotActionTypeType = exports.ListUserActionLogsActionTypeType = exports.ListServiceBlockedRequestGroupsCategoryType = exports.ListProjectPaymentsStateType = exports.GetUserMetricsGranularityType = exports.GetServiceRouteTimeMetricsGranularityType = exports.GetServiceMetricsDimensionsType = exports.GetServiceMetricsGranularityType = exports.GetRequestBodyDownloadLinkPartType = exports.GetPaymentAnalyticsGranularityType = exports.GetPaymentAnalyticsGroupByType = exports.GetManagedDatabaseMetricsGranularityType = exports.GetActionsMetricsGranularityType = exports.ProjectsServerApi = void 0;
|
|
67
|
+
exports.SuggestDatabaseEnvVarsDatabaseTypeType = exports.ListWebAppBlockedRequestGroupsCategoryType = exports.ListUserPaymentsStateType = exports.ListUserActionLogsNotActionTypeType = exports.ListUserActionLogsActionTypeType = exports.ListServiceBlockedRequestGroupsCategoryType = exports.ListProjectPaymentsStateType = exports.GetWebAppRuntimeMetricsGranularityType = exports.GetUserMetricsGranularityType = exports.GetServiceRouteTimeMetricsGranularityType = exports.GetServiceMetricsDimensionsType = exports.GetServiceMetricsGranularityType = exports.GetRequestBodyDownloadLinkPartType = exports.GetPaymentAnalyticsGranularityType = exports.GetPaymentAnalyticsGroupByType = exports.GetManagedDatabaseMetricsGranularityType = exports.GetActionsMetricsGranularityType = 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");
|
|
@@ -131,6 +131,7 @@ var GetServiceBlockedRequestMetricsResponse_1 = require("../models/GetServiceBlo
|
|
|
131
131
|
var GetServiceCodeSourceStatusResponse_1 = require("../models/GetServiceCodeSourceStatusResponse");
|
|
132
132
|
var GetServiceRouteTimeMetricsResponse_1 = require("../models/GetServiceRouteTimeMetricsResponse");
|
|
133
133
|
var GetWebAppBlockedRequestMetricsResponse_1 = require("../models/GetWebAppBlockedRequestMetricsResponse");
|
|
134
|
+
var GetWebAppInvocationResponse_1 = require("../models/GetWebAppInvocationResponse");
|
|
134
135
|
var ImpersonationTokenResponse_1 = require("../models/ImpersonationTokenResponse");
|
|
135
136
|
var ListContentResponse_1 = require("../models/ListContentResponse");
|
|
136
137
|
var ListCustomDomainsResponse_1 = require("../models/ListCustomDomainsResponse");
|
|
@@ -149,6 +150,7 @@ var PaginatedResponseAccountActionLogObject_1 = require("../models/PaginatedResp
|
|
|
149
150
|
var PaginatedResponseActionInvocationObject_1 = require("../models/PaginatedResponseActionInvocationObject");
|
|
150
151
|
var PaginatedResponseBlockedRequestGroup_1 = require("../models/PaginatedResponseBlockedRequestGroup");
|
|
151
152
|
var PaginatedResponseBlockedRequestSample_1 = require("../models/PaginatedResponseBlockedRequestSample");
|
|
153
|
+
var PaginatedResponseGetWebAppInvocationResponse_1 = require("../models/PaginatedResponseGetWebAppInvocationResponse");
|
|
152
154
|
var PaginatedResponseLogLineObject_1 = require("../models/PaginatedResponseLogLineObject");
|
|
153
155
|
var PaginatedResponsePaymentObject_1 = require("../models/PaginatedResponsePaymentObject");
|
|
154
156
|
var PaginatedResponsePaymentTriggerInvocation_1 = require("../models/PaginatedResponsePaymentTriggerInvocation");
|
|
@@ -5787,6 +5789,71 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
5787
5789
|
});
|
|
5788
5790
|
});
|
|
5789
5791
|
};
|
|
5792
|
+
/**
|
|
5793
|
+
* Creates request options for getWebAppInvocation without sending the request
|
|
5794
|
+
*/
|
|
5795
|
+
ProjectsServerApi.prototype.getWebAppInvocationRequestOpts = function (requestParameters) {
|
|
5796
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5797
|
+
var queryParameters, headerParameters, urlPath;
|
|
5798
|
+
return __generator(this, function (_a) {
|
|
5799
|
+
if (requestParameters['projectId'] == null) {
|
|
5800
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getWebAppInvocation().');
|
|
5801
|
+
}
|
|
5802
|
+
if (requestParameters['webAppId'] == null) {
|
|
5803
|
+
throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling getWebAppInvocation().');
|
|
5804
|
+
}
|
|
5805
|
+
if (requestParameters['requestId'] == null) {
|
|
5806
|
+
throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling getWebAppInvocation().');
|
|
5807
|
+
}
|
|
5808
|
+
queryParameters = {};
|
|
5809
|
+
headerParameters = {};
|
|
5810
|
+
urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/invocations/{requestId}";
|
|
5811
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
5812
|
+
urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
|
|
5813
|
+
urlPath = urlPath.replace('{requestId}', encodeURIComponent(String(requestParameters['requestId'])));
|
|
5814
|
+
return [2 /*return*/, {
|
|
5815
|
+
path: urlPath,
|
|
5816
|
+
method: 'GET',
|
|
5817
|
+
headers: headerParameters,
|
|
5818
|
+
query: queryParameters,
|
|
5819
|
+
}];
|
|
5820
|
+
});
|
|
5821
|
+
});
|
|
5822
|
+
};
|
|
5823
|
+
/**
|
|
5824
|
+
*/
|
|
5825
|
+
ProjectsServerApi.prototype.getWebAppInvocationRaw = function (requestParameters, initOverrides) {
|
|
5826
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5827
|
+
var requestOptions, response;
|
|
5828
|
+
return __generator(this, function (_a) {
|
|
5829
|
+
switch (_a.label) {
|
|
5830
|
+
case 0: return [4 /*yield*/, this.getWebAppInvocationRequestOpts(requestParameters)];
|
|
5831
|
+
case 1:
|
|
5832
|
+
requestOptions = _a.sent();
|
|
5833
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
5834
|
+
case 2:
|
|
5835
|
+
response = _a.sent();
|
|
5836
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetWebAppInvocationResponse_1.GetWebAppInvocationResponseFromJSON)(jsonValue); })];
|
|
5837
|
+
}
|
|
5838
|
+
});
|
|
5839
|
+
});
|
|
5840
|
+
};
|
|
5841
|
+
/**
|
|
5842
|
+
*/
|
|
5843
|
+
ProjectsServerApi.prototype.getWebAppInvocation = function (requestParameters, initOverrides) {
|
|
5844
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5845
|
+
var response;
|
|
5846
|
+
return __generator(this, function (_a) {
|
|
5847
|
+
switch (_a.label) {
|
|
5848
|
+
case 0: return [4 /*yield*/, this.getWebAppInvocationRaw(requestParameters, initOverrides)];
|
|
5849
|
+
case 1:
|
|
5850
|
+
response = _a.sent();
|
|
5851
|
+
return [4 /*yield*/, response.value()];
|
|
5852
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
5853
|
+
}
|
|
5854
|
+
});
|
|
5855
|
+
});
|
|
5856
|
+
};
|
|
5790
5857
|
/**
|
|
5791
5858
|
* Creates request options for getWebAppRuntimeMetrics without sending the request
|
|
5792
5859
|
*/
|
|
@@ -5807,6 +5874,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
5807
5874
|
if (requestParameters['maxTime'] != null) {
|
|
5808
5875
|
queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
|
|
5809
5876
|
}
|
|
5877
|
+
if (requestParameters['granularity'] != null) {
|
|
5878
|
+
queryParameters['granularity'] = requestParameters['granularity'];
|
|
5879
|
+
}
|
|
5810
5880
|
headerParameters = {};
|
|
5811
5881
|
urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/runtime-metrics";
|
|
5812
5882
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
@@ -8112,6 +8182,79 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
8112
8182
|
});
|
|
8113
8183
|
});
|
|
8114
8184
|
};
|
|
8185
|
+
/**
|
|
8186
|
+
* Creates request options for listWebAppInvocations without sending the request
|
|
8187
|
+
*/
|
|
8188
|
+
ProjectsServerApi.prototype.listWebAppInvocationsRequestOpts = function (requestParameters) {
|
|
8189
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8190
|
+
var queryParameters, headerParameters, urlPath;
|
|
8191
|
+
return __generator(this, function (_a) {
|
|
8192
|
+
if (requestParameters['projectId'] == null) {
|
|
8193
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listWebAppInvocations().');
|
|
8194
|
+
}
|
|
8195
|
+
if (requestParameters['webAppId'] == null) {
|
|
8196
|
+
throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling listWebAppInvocations().');
|
|
8197
|
+
}
|
|
8198
|
+
queryParameters = {};
|
|
8199
|
+
if (requestParameters['minTime'] != null) {
|
|
8200
|
+
queryParameters['minTime'] = requestParameters['minTime'].toISOString();
|
|
8201
|
+
}
|
|
8202
|
+
if (requestParameters['maxTime'] != null) {
|
|
8203
|
+
queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
|
|
8204
|
+
}
|
|
8205
|
+
if (requestParameters['failedOnly'] != null) {
|
|
8206
|
+
queryParameters['failedOnly'] = requestParameters['failedOnly'];
|
|
8207
|
+
}
|
|
8208
|
+
if (requestParameters['nextToken'] != null) {
|
|
8209
|
+
queryParameters['nextToken'] = requestParameters['nextToken'];
|
|
8210
|
+
}
|
|
8211
|
+
headerParameters = {};
|
|
8212
|
+
urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/invocations";
|
|
8213
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
8214
|
+
urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
|
|
8215
|
+
return [2 /*return*/, {
|
|
8216
|
+
path: urlPath,
|
|
8217
|
+
method: 'GET',
|
|
8218
|
+
headers: headerParameters,
|
|
8219
|
+
query: queryParameters,
|
|
8220
|
+
}];
|
|
8221
|
+
});
|
|
8222
|
+
});
|
|
8223
|
+
};
|
|
8224
|
+
/**
|
|
8225
|
+
*/
|
|
8226
|
+
ProjectsServerApi.prototype.listWebAppInvocationsRaw = function (requestParameters, initOverrides) {
|
|
8227
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8228
|
+
var requestOptions, response;
|
|
8229
|
+
return __generator(this, function (_a) {
|
|
8230
|
+
switch (_a.label) {
|
|
8231
|
+
case 0: return [4 /*yield*/, this.listWebAppInvocationsRequestOpts(requestParameters)];
|
|
8232
|
+
case 1:
|
|
8233
|
+
requestOptions = _a.sent();
|
|
8234
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
8235
|
+
case 2:
|
|
8236
|
+
response = _a.sent();
|
|
8237
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponseGetWebAppInvocationResponse_1.PaginatedResponseGetWebAppInvocationResponseFromJSON)(jsonValue); })];
|
|
8238
|
+
}
|
|
8239
|
+
});
|
|
8240
|
+
});
|
|
8241
|
+
};
|
|
8242
|
+
/**
|
|
8243
|
+
*/
|
|
8244
|
+
ProjectsServerApi.prototype.listWebAppInvocations = function (requestParameters, initOverrides) {
|
|
8245
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8246
|
+
var response;
|
|
8247
|
+
return __generator(this, function (_a) {
|
|
8248
|
+
switch (_a.label) {
|
|
8249
|
+
case 0: return [4 /*yield*/, this.listWebAppInvocationsRaw(requestParameters, initOverrides)];
|
|
8250
|
+
case 1:
|
|
8251
|
+
response = _a.sent();
|
|
8252
|
+
return [4 /*yield*/, response.value()];
|
|
8253
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
8254
|
+
}
|
|
8255
|
+
});
|
|
8256
|
+
});
|
|
8257
|
+
};
|
|
8115
8258
|
/**
|
|
8116
8259
|
* Creates request options for listWebAppLogLines without sending the request
|
|
8117
8260
|
*/
|
|
@@ -8132,6 +8275,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
8132
8275
|
if (requestParameters['maxTime'] != null) {
|
|
8133
8276
|
queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
|
|
8134
8277
|
}
|
|
8278
|
+
if (requestParameters['requestId'] != null) {
|
|
8279
|
+
queryParameters['requestId'] = requestParameters['requestId'];
|
|
8280
|
+
}
|
|
8135
8281
|
if (requestParameters['level'] != null) {
|
|
8136
8282
|
queryParameters['level'] = requestParameters['level'];
|
|
8137
8283
|
}
|
|
@@ -10665,6 +10811,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
10665
10811
|
if (requestParameters['maxTime'] != null) {
|
|
10666
10812
|
queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
|
|
10667
10813
|
}
|
|
10814
|
+
if (requestParameters['requestId'] != null) {
|
|
10815
|
+
queryParameters['requestId'] = requestParameters['requestId'];
|
|
10816
|
+
}
|
|
10668
10817
|
if (requestParameters['level'] != null) {
|
|
10669
10818
|
queryParameters['level'] = requestParameters['level'];
|
|
10670
10819
|
}
|
|
@@ -12210,6 +12359,15 @@ exports.GetUserMetricsGranularityType = {
|
|
|
12210
12359
|
FIFTEEN_MINUTES: 'FIFTEEN_MINUTES',
|
|
12211
12360
|
ONE_HOUR: 'ONE_HOUR'
|
|
12212
12361
|
};
|
|
12362
|
+
/**
|
|
12363
|
+
* @export
|
|
12364
|
+
*/
|
|
12365
|
+
exports.GetWebAppRuntimeMetricsGranularityType = {
|
|
12366
|
+
ONE_MINUTE: 'ONE_MINUTE',
|
|
12367
|
+
FIVE_MINUTES: 'FIVE_MINUTES',
|
|
12368
|
+
FIFTEEN_MINUTES: 'FIFTEEN_MINUTES',
|
|
12369
|
+
ONE_HOUR: 'ONE_HOUR'
|
|
12370
|
+
};
|
|
12213
12371
|
/**
|
|
12214
12372
|
* @export
|
|
12215
12373
|
*/
|
|
@@ -171,6 +171,7 @@ export declare const AccountActionLogObjectActionTypeType: {
|
|
|
171
171
|
readonly ADMIN_INVOICE_MARKED_PAID: "ADMIN_INVOICE_MARKED_PAID";
|
|
172
172
|
readonly FEATURE_ACCESS_OVERRIDDEN: "FEATURE_ACCESS_OVERRIDDEN";
|
|
173
173
|
readonly QUOTA_OVERRIDDEN: "QUOTA_OVERRIDDEN";
|
|
174
|
+
readonly RATE_LIMIT_OVERRIDDEN: "RATE_LIMIT_OVERRIDDEN";
|
|
174
175
|
readonly GRANDFATHER_FLAG_CHANGED: "GRANDFATHER_FLAG_CHANGED";
|
|
175
176
|
readonly BUILD_BILLING_FAST_FAILED: "BUILD_BILLING_FAST_FAILED";
|
|
176
177
|
readonly BUILD_CANCELLED: "BUILD_CANCELLED";
|
|
@@ -124,6 +124,7 @@ exports.AccountActionLogObjectActionTypeType = {
|
|
|
124
124
|
ADMIN_INVOICE_MARKED_PAID: 'ADMIN_INVOICE_MARKED_PAID',
|
|
125
125
|
FEATURE_ACCESS_OVERRIDDEN: 'FEATURE_ACCESS_OVERRIDDEN',
|
|
126
126
|
QUOTA_OVERRIDDEN: 'QUOTA_OVERRIDDEN',
|
|
127
|
+
RATE_LIMIT_OVERRIDDEN: 'RATE_LIMIT_OVERRIDDEN',
|
|
127
128
|
GRANDFATHER_FLAG_CHANGED: 'GRANDFATHER_FLAG_CHANGED',
|
|
128
129
|
BUILD_BILLING_FAST_FAILED: 'BUILD_BILLING_FAST_FAILED',
|
|
129
130
|
BUILD_CANCELLED: 'BUILD_CANCELLED',
|
|
@@ -173,6 +173,8 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
173
173
|
readonly INVALID_ENVIRONMENT_VARIABLE_NAME: "INVALID_ENVIRONMENT_VARIABLE_NAME";
|
|
174
174
|
readonly INVALID_ENVIRONMENT_VARIABLE_VALUE: "INVALID_ENVIRONMENT_VARIABLE_VALUE";
|
|
175
175
|
readonly TOO_MANY_ENVIRONMENT_VARIABLES: "TOO_MANY_ENVIRONMENT_VARIABLES";
|
|
176
|
+
readonly SERVICE_PROXY_CONCURRENCY_LIMITED: "SERVICE_PROXY_CONCURRENCY_LIMITED";
|
|
177
|
+
readonly RATE_LIMIT_SCOPE_MISMATCH: "RATE_LIMIT_SCOPE_MISMATCH";
|
|
176
178
|
readonly SANDBOX_MODE_REQUIRED: "SANDBOX_MODE_REQUIRED";
|
|
177
179
|
readonly BILLING_NOT_CONFIGURED: "BILLING_NOT_CONFIGURED";
|
|
178
180
|
readonly COUNTRY_NOT_SUPPORTED: "COUNTRY_NOT_SUPPORTED";
|
|
@@ -158,6 +158,8 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
158
158
|
INVALID_ENVIRONMENT_VARIABLE_NAME: 'INVALID_ENVIRONMENT_VARIABLE_NAME',
|
|
159
159
|
INVALID_ENVIRONMENT_VARIABLE_VALUE: 'INVALID_ENVIRONMENT_VARIABLE_VALUE',
|
|
160
160
|
TOO_MANY_ENVIRONMENT_VARIABLES: 'TOO_MANY_ENVIRONMENT_VARIABLES',
|
|
161
|
+
SERVICE_PROXY_CONCURRENCY_LIMITED: 'SERVICE_PROXY_CONCURRENCY_LIMITED',
|
|
162
|
+
RATE_LIMIT_SCOPE_MISMATCH: 'RATE_LIMIT_SCOPE_MISMATCH',
|
|
161
163
|
SANDBOX_MODE_REQUIRED: 'SANDBOX_MODE_REQUIRED',
|
|
162
164
|
BILLING_NOT_CONFIGURED: 'BILLING_NOT_CONFIGURED',
|
|
163
165
|
COUNTRY_NOT_SUPPORTED: 'COUNTRY_NOT_SUPPORTED',
|
|
@@ -0,0 +1,64 @@
|
|
|
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 GetWebAppInvocationResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface GetWebAppInvocationResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetWebAppInvocationResponse
|
|
22
|
+
*/
|
|
23
|
+
requestId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof GetWebAppInvocationResponse
|
|
28
|
+
*/
|
|
29
|
+
timestamp: Date;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetWebAppInvocationResponse
|
|
34
|
+
*/
|
|
35
|
+
durationMillis: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {GetWebAppInvocationResponseFailureTypeType}
|
|
39
|
+
* @memberof GetWebAppInvocationResponse
|
|
40
|
+
*/
|
|
41
|
+
failureType?: GetWebAppInvocationResponseFailureTypeType | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetWebAppInvocationResponse
|
|
46
|
+
*/
|
|
47
|
+
memoryUtilizationPercent?: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const GetWebAppInvocationResponseFailureTypeType: {
|
|
53
|
+
readonly TIMEOUT: "TIMEOUT";
|
|
54
|
+
readonly CRASH: "CRASH";
|
|
55
|
+
};
|
|
56
|
+
export type GetWebAppInvocationResponseFailureTypeType = typeof GetWebAppInvocationResponseFailureTypeType[keyof typeof GetWebAppInvocationResponseFailureTypeType];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the GetWebAppInvocationResponse interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfGetWebAppInvocationResponse(value: object): value is GetWebAppInvocationResponse;
|
|
61
|
+
export declare function GetWebAppInvocationResponseFromJSON(json: any): GetWebAppInvocationResponse;
|
|
62
|
+
export declare function GetWebAppInvocationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetWebAppInvocationResponse;
|
|
63
|
+
export declare function GetWebAppInvocationResponseToJSON(json: any): GetWebAppInvocationResponse;
|
|
64
|
+
export declare function GetWebAppInvocationResponseToJSONTyped(value?: GetWebAppInvocationResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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.GetWebAppInvocationResponseFailureTypeType = void 0;
|
|
17
|
+
exports.instanceOfGetWebAppInvocationResponse = instanceOfGetWebAppInvocationResponse;
|
|
18
|
+
exports.GetWebAppInvocationResponseFromJSON = GetWebAppInvocationResponseFromJSON;
|
|
19
|
+
exports.GetWebAppInvocationResponseFromJSONTyped = GetWebAppInvocationResponseFromJSONTyped;
|
|
20
|
+
exports.GetWebAppInvocationResponseToJSON = GetWebAppInvocationResponseToJSON;
|
|
21
|
+
exports.GetWebAppInvocationResponseToJSONTyped = GetWebAppInvocationResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetWebAppInvocationResponseFailureTypeType = {
|
|
26
|
+
TIMEOUT: 'TIMEOUT',
|
|
27
|
+
CRASH: 'CRASH'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the GetWebAppInvocationResponse interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfGetWebAppInvocationResponse(value) {
|
|
33
|
+
if (!('requestId' in value) || value['requestId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('durationMillis' in value) || value['durationMillis'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function GetWebAppInvocationResponseFromJSON(json) {
|
|
42
|
+
return GetWebAppInvocationResponseFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GetWebAppInvocationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'requestId': json['requestId'],
|
|
50
|
+
'timestamp': (new Date(json['timestamp'])),
|
|
51
|
+
'durationMillis': json['durationMillis'],
|
|
52
|
+
'failureType': json['failureType'] == null ? undefined : json['failureType'],
|
|
53
|
+
'memoryUtilizationPercent': json['memoryUtilizationPercent'] == null ? undefined : json['memoryUtilizationPercent'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function GetWebAppInvocationResponseToJSON(json) {
|
|
57
|
+
return GetWebAppInvocationResponseToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function GetWebAppInvocationResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'requestId': value['requestId'],
|
|
66
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
67
|
+
'durationMillis': value['durationMillis'],
|
|
68
|
+
'failureType': value['failureType'],
|
|
69
|
+
'memoryUtilizationPercent': value['memoryUtilizationPercent'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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 { GetWebAppInvocationResponse } from './GetWebAppInvocationResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponseGetWebAppInvocationResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponseGetWebAppInvocationResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<GetWebAppInvocationResponse>}
|
|
22
|
+
* @memberof PaginatedResponseGetWebAppInvocationResponse
|
|
23
|
+
*/
|
|
24
|
+
items: Array<GetWebAppInvocationResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof PaginatedResponseGetWebAppInvocationResponse
|
|
29
|
+
*/
|
|
30
|
+
hasNextPage: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaginatedResponseGetWebAppInvocationResponse
|
|
35
|
+
*/
|
|
36
|
+
nextPageToken?: string | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the PaginatedResponseGetWebAppInvocationResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfPaginatedResponseGetWebAppInvocationResponse(value: object): value is PaginatedResponseGetWebAppInvocationResponse;
|
|
42
|
+
export declare function PaginatedResponseGetWebAppInvocationResponseFromJSON(json: any): PaginatedResponseGetWebAppInvocationResponse;
|
|
43
|
+
export declare function PaginatedResponseGetWebAppInvocationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseGetWebAppInvocationResponse;
|
|
44
|
+
export declare function PaginatedResponseGetWebAppInvocationResponseToJSON(json: any): PaginatedResponseGetWebAppInvocationResponse;
|
|
45
|
+
export declare function PaginatedResponseGetWebAppInvocationResponseToJSONTyped(value?: PaginatedResponseGetWebAppInvocationResponse | 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.instanceOfPaginatedResponseGetWebAppInvocationResponse = instanceOfPaginatedResponseGetWebAppInvocationResponse;
|
|
17
|
+
exports.PaginatedResponseGetWebAppInvocationResponseFromJSON = PaginatedResponseGetWebAppInvocationResponseFromJSON;
|
|
18
|
+
exports.PaginatedResponseGetWebAppInvocationResponseFromJSONTyped = PaginatedResponseGetWebAppInvocationResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedResponseGetWebAppInvocationResponseToJSON = PaginatedResponseGetWebAppInvocationResponseToJSON;
|
|
20
|
+
exports.PaginatedResponseGetWebAppInvocationResponseToJSONTyped = PaginatedResponseGetWebAppInvocationResponseToJSONTyped;
|
|
21
|
+
var GetWebAppInvocationResponse_1 = require("./GetWebAppInvocationResponse");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedResponseGetWebAppInvocationResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedResponseGetWebAppInvocationResponse(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 PaginatedResponseGetWebAppInvocationResponseFromJSON(json) {
|
|
33
|
+
return PaginatedResponseGetWebAppInvocationResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function PaginatedResponseGetWebAppInvocationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'items': (json['items'].map(GetWebAppInvocationResponse_1.GetWebAppInvocationResponseFromJSON)),
|
|
41
|
+
'hasNextPage': json['hasNextPage'],
|
|
42
|
+
'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedResponseGetWebAppInvocationResponseToJSON(json) {
|
|
46
|
+
return PaginatedResponseGetWebAppInvocationResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedResponseGetWebAppInvocationResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(GetWebAppInvocationResponse_1.GetWebAppInvocationResponseToJSON)),
|
|
55
|
+
'hasNextPage': value['hasNextPage'],
|
|
56
|
+
'nextPageToken': value['nextPageToken'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -123,16 +123,16 @@ export interface UserObject {
|
|
|
123
123
|
backupCodesGeneratedAt?: Date | null;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
|
-
* @type {
|
|
126
|
+
* @type {boolean}
|
|
127
127
|
* @memberof UserObject
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
hasPassword?: boolean;
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
|
-
* @type {
|
|
132
|
+
* @type {number}
|
|
133
133
|
* @memberof UserObject
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
remainingBackupCodeCount?: number;
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
* @export
|
|
@@ -72,8 +72,8 @@ function UserObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
72
|
'passwordResetLastRequestedAt': json['passwordResetLastRequestedAt'] == null ? undefined : (new Date(json['passwordResetLastRequestedAt'])),
|
|
73
73
|
'mfaMethods': json['mfaMethods'] == null ? undefined : (json['mfaMethods'].map(MfaMethod_1.MfaMethodFromJSON)),
|
|
74
74
|
'backupCodesGeneratedAt': json['backupCodesGeneratedAt'] == null ? undefined : (new Date(json['backupCodesGeneratedAt'])),
|
|
75
|
-
'remainingBackupCodeCount': json['remainingBackupCodeCount'] == null ? undefined : json['remainingBackupCodeCount'],
|
|
76
75
|
'hasPassword': json['hasPassword'] == null ? undefined : json['hasPassword'],
|
|
76
|
+
'remainingBackupCodeCount': json['remainingBackupCodeCount'] == null ? undefined : json['remainingBackupCodeCount'],
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
function UserObjectToJSON(json) {
|
|
@@ -102,7 +102,7 @@ function UserObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
102
|
'passwordResetLastRequestedAt': value['passwordResetLastRequestedAt'] == null ? value['passwordResetLastRequestedAt'] : value['passwordResetLastRequestedAt'].toISOString(),
|
|
103
103
|
'mfaMethods': value['mfaMethods'] == null ? undefined : (value['mfaMethods'].map(MfaMethod_1.MfaMethodToJSON)),
|
|
104
104
|
'backupCodesGeneratedAt': value['backupCodesGeneratedAt'] == null ? value['backupCodesGeneratedAt'] : value['backupCodesGeneratedAt'].toISOString(),
|
|
105
|
-
'remainingBackupCodeCount': value['remainingBackupCodeCount'],
|
|
106
105
|
'hasPassword': value['hasPassword'],
|
|
106
|
+
'remainingBackupCodeCount': value['remainingBackupCodeCount'],
|
|
107
107
|
};
|
|
108
108
|
}
|
|
@@ -40,6 +40,54 @@ export interface WebAppRuntimeMetricsResponse {
|
|
|
40
40
|
* @memberof WebAppRuntimeMetricsResponse
|
|
41
41
|
*/
|
|
42
42
|
invocations: Array<TimeSeriesDataPoint>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<TimeSeriesDataPoint>}
|
|
46
|
+
* @memberof WebAppRuntimeMetricsResponse
|
|
47
|
+
*/
|
|
48
|
+
clientErrors?: Array<TimeSeriesDataPoint> | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<TimeSeriesDataPoint>}
|
|
52
|
+
* @memberof WebAppRuntimeMetricsResponse
|
|
53
|
+
*/
|
|
54
|
+
serverErrors?: Array<TimeSeriesDataPoint> | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof WebAppRuntimeMetricsResponse
|
|
59
|
+
*/
|
|
60
|
+
clientErrorCount?: number | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof WebAppRuntimeMetricsResponse
|
|
65
|
+
*/
|
|
66
|
+
serverErrorCount?: number | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof WebAppRuntimeMetricsResponse
|
|
71
|
+
*/
|
|
72
|
+
throttledCount?: number | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof WebAppRuntimeMetricsResponse
|
|
77
|
+
*/
|
|
78
|
+
p50FirstByteMillis?: number | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof WebAppRuntimeMetricsResponse
|
|
83
|
+
*/
|
|
84
|
+
p99FirstByteMillis?: number | null;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {number}
|
|
88
|
+
* @memberof WebAppRuntimeMetricsResponse
|
|
89
|
+
*/
|
|
90
|
+
peakMemoryUtilizationPercent?: number | null;
|
|
43
91
|
}
|
|
44
92
|
/**
|
|
45
93
|
* Check if a given object implements the WebAppRuntimeMetricsResponse interface.
|
|
@@ -45,6 +45,14 @@ function WebAppRuntimeMetricsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'p50DurationMillis': json['p50DurationMillis'],
|
|
46
46
|
'p99DurationMillis': json['p99DurationMillis'],
|
|
47
47
|
'invocations': (json['invocations'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointFromJSON)),
|
|
48
|
+
'clientErrors': json['clientErrors'] == null ? undefined : (json['clientErrors'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointFromJSON)),
|
|
49
|
+
'serverErrors': json['serverErrors'] == null ? undefined : (json['serverErrors'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointFromJSON)),
|
|
50
|
+
'clientErrorCount': json['clientErrorCount'] == null ? undefined : json['clientErrorCount'],
|
|
51
|
+
'serverErrorCount': json['serverErrorCount'] == null ? undefined : json['serverErrorCount'],
|
|
52
|
+
'throttledCount': json['throttledCount'] == null ? undefined : json['throttledCount'],
|
|
53
|
+
'p50FirstByteMillis': json['p50FirstByteMillis'] == null ? undefined : json['p50FirstByteMillis'],
|
|
54
|
+
'p99FirstByteMillis': json['p99FirstByteMillis'] == null ? undefined : json['p99FirstByteMillis'],
|
|
55
|
+
'peakMemoryUtilizationPercent': json['peakMemoryUtilizationPercent'] == null ? undefined : json['peakMemoryUtilizationPercent'],
|
|
48
56
|
};
|
|
49
57
|
}
|
|
50
58
|
function WebAppRuntimeMetricsResponseToJSON(json) {
|
|
@@ -60,5 +68,13 @@ function WebAppRuntimeMetricsResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
68
|
'p50DurationMillis': value['p50DurationMillis'],
|
|
61
69
|
'p99DurationMillis': value['p99DurationMillis'],
|
|
62
70
|
'invocations': (value['invocations'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointToJSON)),
|
|
71
|
+
'clientErrors': value['clientErrors'] == null ? undefined : (value['clientErrors'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointToJSON)),
|
|
72
|
+
'serverErrors': value['serverErrors'] == null ? undefined : (value['serverErrors'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointToJSON)),
|
|
73
|
+
'clientErrorCount': value['clientErrorCount'],
|
|
74
|
+
'serverErrorCount': value['serverErrorCount'],
|
|
75
|
+
'throttledCount': value['throttledCount'],
|
|
76
|
+
'p50FirstByteMillis': value['p50FirstByteMillis'],
|
|
77
|
+
'p99FirstByteMillis': value['p99FirstByteMillis'],
|
|
78
|
+
'peakMemoryUtilizationPercent': value['peakMemoryUtilizationPercent'],
|
|
63
79
|
};
|
|
64
80
|
}
|
|
@@ -101,6 +101,7 @@ export * from './GetServiceBlockedRequestMetricsResponse';
|
|
|
101
101
|
export * from './GetServiceCodeSourceStatusResponse';
|
|
102
102
|
export * from './GetServiceRouteTimeMetricsResponse';
|
|
103
103
|
export * from './GetWebAppBlockedRequestMetricsResponse';
|
|
104
|
+
export * from './GetWebAppInvocationResponse';
|
|
104
105
|
export * from './HealthCheckConfig';
|
|
105
106
|
export * from './HealthCheckDetectionError';
|
|
106
107
|
export * from './HealthCheckDetectionOutput';
|
|
@@ -150,6 +151,7 @@ export * from './PaginatedResponseAccountActionLogObject';
|
|
|
150
151
|
export * from './PaginatedResponseActionInvocationObject';
|
|
151
152
|
export * from './PaginatedResponseBlockedRequestGroup';
|
|
152
153
|
export * from './PaginatedResponseBlockedRequestSample';
|
|
154
|
+
export * from './PaginatedResponseGetWebAppInvocationResponse';
|
|
153
155
|
export * from './PaginatedResponseLogLineObject';
|
|
154
156
|
export * from './PaginatedResponseLoginHistoryEntry';
|
|
155
157
|
export * from './PaginatedResponsePaymentObject';
|
|
@@ -119,6 +119,7 @@ __exportStar(require("./GetServiceBlockedRequestMetricsResponse"), exports);
|
|
|
119
119
|
__exportStar(require("./GetServiceCodeSourceStatusResponse"), exports);
|
|
120
120
|
__exportStar(require("./GetServiceRouteTimeMetricsResponse"), exports);
|
|
121
121
|
__exportStar(require("./GetWebAppBlockedRequestMetricsResponse"), exports);
|
|
122
|
+
__exportStar(require("./GetWebAppInvocationResponse"), exports);
|
|
122
123
|
__exportStar(require("./HealthCheckConfig"), exports);
|
|
123
124
|
__exportStar(require("./HealthCheckDetectionError"), exports);
|
|
124
125
|
__exportStar(require("./HealthCheckDetectionOutput"), exports);
|
|
@@ -168,6 +169,7 @@ __exportStar(require("./PaginatedResponseAccountActionLogObject"), exports);
|
|
|
168
169
|
__exportStar(require("./PaginatedResponseActionInvocationObject"), exports);
|
|
169
170
|
__exportStar(require("./PaginatedResponseBlockedRequestGroup"), exports);
|
|
170
171
|
__exportStar(require("./PaginatedResponseBlockedRequestSample"), exports);
|
|
172
|
+
__exportStar(require("./PaginatedResponseGetWebAppInvocationResponse"), exports);
|
|
171
173
|
__exportStar(require("./PaginatedResponseLogLineObject"), exports);
|
|
172
174
|
__exportStar(require("./PaginatedResponseLoginHistoryEntry"), exports);
|
|
173
175
|
__exportStar(require("./PaginatedResponsePaymentObject"), exports);
|