@forteplatforms/sdk 1.0.541 → 1.0.547
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 +62 -0
- package/dist/generated/apis/ProjectsServerApi.js +217 -1
- package/dist/generated/models/AccountActionLogObject.d.ts +1 -0
- package/dist/generated/models/AccountActionLogObject.js +1 -0
- package/dist/generated/models/GetPaymentSalesTaxStatusResponse.d.ts +32 -0
- package/dist/generated/models/GetPaymentSalesTaxStatusResponse.js +51 -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/PaymentFilter.d.ts +7 -0
- package/dist/generated/models/PaymentFilter.js +3 -0
- package/dist/generated/models/PaymentObject.d.ts +12 -0
- package/dist/generated/models/PaymentObject.js +4 -0
- package/dist/generated/models/SendUserEmailFromTemplateRequest.d.ts +6 -0
- package/dist/generated/models/SendUserEmailFromTemplateRequest.js +2 -0
- package/dist/generated/models/SendUserEmailRequest.d.ts +6 -0
- package/dist/generated/models/SendUserEmailRequest.js +2 -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 +3 -0
- package/dist/generated/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -70,11 +70,13 @@ import { type GetBuildArtifactResponse } from '../models/GetBuildArtifactRespons
|
|
|
70
70
|
import { type GetContentDownloadLinkResponse } from '../models/GetContentDownloadLinkResponse';
|
|
71
71
|
import { type GetManagedDatabaseBackupResponse } from '../models/GetManagedDatabaseBackupResponse';
|
|
72
72
|
import { type GetManagedDatabaseBackupSourceResponse } from '../models/GetManagedDatabaseBackupSourceResponse';
|
|
73
|
+
import { type GetPaymentSalesTaxStatusResponse } from '../models/GetPaymentSalesTaxStatusResponse';
|
|
73
74
|
import { type GetRequestBodyDownloadLinkResponse } from '../models/GetRequestBodyDownloadLinkResponse';
|
|
74
75
|
import { type GetServiceBlockedRequestMetricsResponse } from '../models/GetServiceBlockedRequestMetricsResponse';
|
|
75
76
|
import { type GetServiceCodeSourceStatusResponse } from '../models/GetServiceCodeSourceStatusResponse';
|
|
76
77
|
import { type GetServiceRouteTimeMetricsResponse } from '../models/GetServiceRouteTimeMetricsResponse';
|
|
77
78
|
import { type GetWebAppBlockedRequestMetricsResponse } from '../models/GetWebAppBlockedRequestMetricsResponse';
|
|
79
|
+
import { type GetWebAppInvocationResponse } from '../models/GetWebAppInvocationResponse';
|
|
78
80
|
import { type ImpersonationTokenResponse } from '../models/ImpersonationTokenResponse';
|
|
79
81
|
import { type ListContentResponse } from '../models/ListContentResponse';
|
|
80
82
|
import { type ListCustomDomainsResponse } from '../models/ListCustomDomainsResponse';
|
|
@@ -93,6 +95,7 @@ import { type PaginatedResponseAccountActionLogObject } from '../models/Paginate
|
|
|
93
95
|
import { type PaginatedResponseActionInvocationObject } from '../models/PaginatedResponseActionInvocationObject';
|
|
94
96
|
import { type PaginatedResponseBlockedRequestGroup } from '../models/PaginatedResponseBlockedRequestGroup';
|
|
95
97
|
import { type PaginatedResponseBlockedRequestSample } from '../models/PaginatedResponseBlockedRequestSample';
|
|
98
|
+
import { type PaginatedResponseGetWebAppInvocationResponse } from '../models/PaginatedResponseGetWebAppInvocationResponse';
|
|
96
99
|
import { type PaginatedResponseLogLineObject } from '../models/PaginatedResponseLogLineObject';
|
|
97
100
|
import { type PaginatedResponsePaymentObject } from '../models/PaginatedResponsePaymentObject';
|
|
98
101
|
import { type PaginatedResponsePaymentTriggerInvocation } from '../models/PaginatedResponsePaymentTriggerInvocation';
|
|
@@ -475,6 +478,9 @@ export interface GetPaymentAnalyticsRequest {
|
|
|
475
478
|
topN?: number;
|
|
476
479
|
granularity?: GetPaymentAnalyticsGranularityType;
|
|
477
480
|
}
|
|
481
|
+
export interface GetPaymentSalesTaxStatusRequest {
|
|
482
|
+
projectId: string;
|
|
483
|
+
}
|
|
478
484
|
export interface GetPaymentTriggerInvocationRequest {
|
|
479
485
|
projectId: string;
|
|
480
486
|
triggerId: string;
|
|
@@ -569,11 +575,17 @@ export interface GetWebAppDeploymentRequest {
|
|
|
569
575
|
webAppId: string;
|
|
570
576
|
buildId: string;
|
|
571
577
|
}
|
|
578
|
+
export interface GetWebAppInvocationRequest {
|
|
579
|
+
projectId: string;
|
|
580
|
+
webAppId: string;
|
|
581
|
+
requestId: string;
|
|
582
|
+
}
|
|
572
583
|
export interface GetWebAppRuntimeMetricsRequest {
|
|
573
584
|
projectId: string;
|
|
574
585
|
webAppId: string;
|
|
575
586
|
minTime?: Date;
|
|
576
587
|
maxTime?: Date;
|
|
588
|
+
granularity?: GetWebAppRuntimeMetricsGranularityType;
|
|
577
589
|
}
|
|
578
590
|
export interface IssueImpersonationTokenRequest {
|
|
579
591
|
projectId: string;
|
|
@@ -790,11 +802,20 @@ export interface ListWebAppHistoryRequest {
|
|
|
790
802
|
maxTime?: Date;
|
|
791
803
|
nextToken?: string;
|
|
792
804
|
}
|
|
805
|
+
export interface ListWebAppInvocationsRequest {
|
|
806
|
+
projectId: string;
|
|
807
|
+
webAppId: string;
|
|
808
|
+
minTime?: Date;
|
|
809
|
+
maxTime?: Date;
|
|
810
|
+
failedOnly?: boolean;
|
|
811
|
+
nextToken?: string;
|
|
812
|
+
}
|
|
793
813
|
export interface ListWebAppLogLinesRequest {
|
|
794
814
|
projectId: string;
|
|
795
815
|
webAppId: string;
|
|
796
816
|
minTime?: Date;
|
|
797
817
|
maxTime?: Date;
|
|
818
|
+
requestId?: Array<string>;
|
|
798
819
|
level?: string;
|
|
799
820
|
levels?: Array<string>;
|
|
800
821
|
nextToken?: string;
|
|
@@ -1000,6 +1021,7 @@ export interface SearchWebAppLogLinesRequest {
|
|
|
1000
1021
|
query: string;
|
|
1001
1022
|
minTime?: Date;
|
|
1002
1023
|
maxTime?: Date;
|
|
1024
|
+
requestId?: Array<string>;
|
|
1003
1025
|
level?: string;
|
|
1004
1026
|
levels?: Array<string>;
|
|
1005
1027
|
nextToken?: string;
|
|
@@ -1795,6 +1817,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
1795
1817
|
/**
|
|
1796
1818
|
*/
|
|
1797
1819
|
getPaymentAnalytics(requestParameters: GetPaymentAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentAnalyticsResponse>;
|
|
1820
|
+
/**
|
|
1821
|
+
* Creates request options for getPaymentSalesTaxStatus without sending the request
|
|
1822
|
+
*/
|
|
1823
|
+
getPaymentSalesTaxStatusRequestOpts(requestParameters: GetPaymentSalesTaxStatusRequest): Promise<runtime.RequestOpts>;
|
|
1824
|
+
/**
|
|
1825
|
+
*/
|
|
1826
|
+
getPaymentSalesTaxStatusRaw(requestParameters: GetPaymentSalesTaxStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPaymentSalesTaxStatusResponse>>;
|
|
1827
|
+
/**
|
|
1828
|
+
*/
|
|
1829
|
+
getPaymentSalesTaxStatus(requestParameters: GetPaymentSalesTaxStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPaymentSalesTaxStatusResponse>;
|
|
1798
1830
|
/**
|
|
1799
1831
|
* Creates request options for getPaymentTriggerInvocation without sending the request
|
|
1800
1832
|
*/
|
|
@@ -1975,6 +2007,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
1975
2007
|
/**
|
|
1976
2008
|
*/
|
|
1977
2009
|
getWebAppDeployment(requestParameters: GetWebAppDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebAppBuildRequestObject>;
|
|
2010
|
+
/**
|
|
2011
|
+
* Creates request options for getWebAppInvocation without sending the request
|
|
2012
|
+
*/
|
|
2013
|
+
getWebAppInvocationRequestOpts(requestParameters: GetWebAppInvocationRequest): Promise<runtime.RequestOpts>;
|
|
2014
|
+
/**
|
|
2015
|
+
*/
|
|
2016
|
+
getWebAppInvocationRaw(requestParameters: GetWebAppInvocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetWebAppInvocationResponse>>;
|
|
2017
|
+
/**
|
|
2018
|
+
*/
|
|
2019
|
+
getWebAppInvocation(requestParameters: GetWebAppInvocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWebAppInvocationResponse>;
|
|
1978
2020
|
/**
|
|
1979
2021
|
* Creates request options for getWebAppRuntimeMetrics without sending the request
|
|
1980
2022
|
*/
|
|
@@ -2315,6 +2357,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
2315
2357
|
/**
|
|
2316
2358
|
*/
|
|
2317
2359
|
listWebAppHistory(requestParameters: ListWebAppHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAccountActionLogObject>;
|
|
2360
|
+
/**
|
|
2361
|
+
* Creates request options for listWebAppInvocations without sending the request
|
|
2362
|
+
*/
|
|
2363
|
+
listWebAppInvocationsRequestOpts(requestParameters: ListWebAppInvocationsRequest): Promise<runtime.RequestOpts>;
|
|
2364
|
+
/**
|
|
2365
|
+
*/
|
|
2366
|
+
listWebAppInvocationsRaw(requestParameters: ListWebAppInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseGetWebAppInvocationResponse>>;
|
|
2367
|
+
/**
|
|
2368
|
+
*/
|
|
2369
|
+
listWebAppInvocations(requestParameters: ListWebAppInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseGetWebAppInvocationResponse>;
|
|
2318
2370
|
/**
|
|
2319
2371
|
* Creates request options for listWebAppLogLines without sending the request
|
|
2320
2372
|
*/
|
|
@@ -3004,6 +3056,16 @@ export declare const GetUserMetricsGranularityType: {
|
|
|
3004
3056
|
readonly ONE_HOUR: "ONE_HOUR";
|
|
3005
3057
|
};
|
|
3006
3058
|
export type GetUserMetricsGranularityType = typeof GetUserMetricsGranularityType[keyof typeof GetUserMetricsGranularityType];
|
|
3059
|
+
/**
|
|
3060
|
+
* @export
|
|
3061
|
+
*/
|
|
3062
|
+
export declare const GetWebAppRuntimeMetricsGranularityType: {
|
|
3063
|
+
readonly ONE_MINUTE: "ONE_MINUTE";
|
|
3064
|
+
readonly FIVE_MINUTES: "FIVE_MINUTES";
|
|
3065
|
+
readonly FIFTEEN_MINUTES: "FIFTEEN_MINUTES";
|
|
3066
|
+
readonly ONE_HOUR: "ONE_HOUR";
|
|
3067
|
+
};
|
|
3068
|
+
export type GetWebAppRuntimeMetricsGranularityType = typeof GetWebAppRuntimeMetricsGranularityType[keyof typeof GetWebAppRuntimeMetricsGranularityType];
|
|
3007
3069
|
/**
|
|
3008
3070
|
* @export
|
|
3009
3071
|
*/
|
|
@@ -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");
|
|
@@ -126,11 +126,13 @@ var GetBuildArtifactResponse_1 = require("../models/GetBuildArtifactResponse");
|
|
|
126
126
|
var GetContentDownloadLinkResponse_1 = require("../models/GetContentDownloadLinkResponse");
|
|
127
127
|
var GetManagedDatabaseBackupResponse_1 = require("../models/GetManagedDatabaseBackupResponse");
|
|
128
128
|
var GetManagedDatabaseBackupSourceResponse_1 = require("../models/GetManagedDatabaseBackupSourceResponse");
|
|
129
|
+
var GetPaymentSalesTaxStatusResponse_1 = require("../models/GetPaymentSalesTaxStatusResponse");
|
|
129
130
|
var GetRequestBodyDownloadLinkResponse_1 = require("../models/GetRequestBodyDownloadLinkResponse");
|
|
130
131
|
var GetServiceBlockedRequestMetricsResponse_1 = require("../models/GetServiceBlockedRequestMetricsResponse");
|
|
131
132
|
var GetServiceCodeSourceStatusResponse_1 = require("../models/GetServiceCodeSourceStatusResponse");
|
|
132
133
|
var GetServiceRouteTimeMetricsResponse_1 = require("../models/GetServiceRouteTimeMetricsResponse");
|
|
133
134
|
var GetWebAppBlockedRequestMetricsResponse_1 = require("../models/GetWebAppBlockedRequestMetricsResponse");
|
|
135
|
+
var GetWebAppInvocationResponse_1 = require("../models/GetWebAppInvocationResponse");
|
|
134
136
|
var ImpersonationTokenResponse_1 = require("../models/ImpersonationTokenResponse");
|
|
135
137
|
var ListContentResponse_1 = require("../models/ListContentResponse");
|
|
136
138
|
var ListCustomDomainsResponse_1 = require("../models/ListCustomDomainsResponse");
|
|
@@ -149,6 +151,7 @@ var PaginatedResponseAccountActionLogObject_1 = require("../models/PaginatedResp
|
|
|
149
151
|
var PaginatedResponseActionInvocationObject_1 = require("../models/PaginatedResponseActionInvocationObject");
|
|
150
152
|
var PaginatedResponseBlockedRequestGroup_1 = require("../models/PaginatedResponseBlockedRequestGroup");
|
|
151
153
|
var PaginatedResponseBlockedRequestSample_1 = require("../models/PaginatedResponseBlockedRequestSample");
|
|
154
|
+
var PaginatedResponseGetWebAppInvocationResponse_1 = require("../models/PaginatedResponseGetWebAppInvocationResponse");
|
|
152
155
|
var PaginatedResponseLogLineObject_1 = require("../models/PaginatedResponseLogLineObject");
|
|
153
156
|
var PaginatedResponsePaymentObject_1 = require("../models/PaginatedResponsePaymentObject");
|
|
154
157
|
var PaginatedResponsePaymentTriggerInvocation_1 = require("../models/PaginatedResponsePaymentTriggerInvocation");
|
|
@@ -4617,6 +4620,63 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
4617
4620
|
});
|
|
4618
4621
|
});
|
|
4619
4622
|
};
|
|
4623
|
+
/**
|
|
4624
|
+
* Creates request options for getPaymentSalesTaxStatus without sending the request
|
|
4625
|
+
*/
|
|
4626
|
+
ProjectsServerApi.prototype.getPaymentSalesTaxStatusRequestOpts = function (requestParameters) {
|
|
4627
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4628
|
+
var queryParameters, headerParameters, urlPath;
|
|
4629
|
+
return __generator(this, function (_a) {
|
|
4630
|
+
if (requestParameters['projectId'] == null) {
|
|
4631
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getPaymentSalesTaxStatus().');
|
|
4632
|
+
}
|
|
4633
|
+
queryParameters = {};
|
|
4634
|
+
headerParameters = {};
|
|
4635
|
+
urlPath = "/api/v1/projects/{projectId}/payments/sales-tax-status";
|
|
4636
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
4637
|
+
return [2 /*return*/, {
|
|
4638
|
+
path: urlPath,
|
|
4639
|
+
method: 'GET',
|
|
4640
|
+
headers: headerParameters,
|
|
4641
|
+
query: queryParameters,
|
|
4642
|
+
}];
|
|
4643
|
+
});
|
|
4644
|
+
});
|
|
4645
|
+
};
|
|
4646
|
+
/**
|
|
4647
|
+
*/
|
|
4648
|
+
ProjectsServerApi.prototype.getPaymentSalesTaxStatusRaw = function (requestParameters, initOverrides) {
|
|
4649
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4650
|
+
var requestOptions, response;
|
|
4651
|
+
return __generator(this, function (_a) {
|
|
4652
|
+
switch (_a.label) {
|
|
4653
|
+
case 0: return [4 /*yield*/, this.getPaymentSalesTaxStatusRequestOpts(requestParameters)];
|
|
4654
|
+
case 1:
|
|
4655
|
+
requestOptions = _a.sent();
|
|
4656
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
4657
|
+
case 2:
|
|
4658
|
+
response = _a.sent();
|
|
4659
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetPaymentSalesTaxStatusResponse_1.GetPaymentSalesTaxStatusResponseFromJSON)(jsonValue); })];
|
|
4660
|
+
}
|
|
4661
|
+
});
|
|
4662
|
+
});
|
|
4663
|
+
};
|
|
4664
|
+
/**
|
|
4665
|
+
*/
|
|
4666
|
+
ProjectsServerApi.prototype.getPaymentSalesTaxStatus = function (requestParameters, initOverrides) {
|
|
4667
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4668
|
+
var response;
|
|
4669
|
+
return __generator(this, function (_a) {
|
|
4670
|
+
switch (_a.label) {
|
|
4671
|
+
case 0: return [4 /*yield*/, this.getPaymentSalesTaxStatusRaw(requestParameters, initOverrides)];
|
|
4672
|
+
case 1:
|
|
4673
|
+
response = _a.sent();
|
|
4674
|
+
return [4 /*yield*/, response.value()];
|
|
4675
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
4676
|
+
}
|
|
4677
|
+
});
|
|
4678
|
+
});
|
|
4679
|
+
};
|
|
4620
4680
|
/**
|
|
4621
4681
|
* Creates request options for getPaymentTriggerInvocation without sending the request
|
|
4622
4682
|
*/
|
|
@@ -5787,6 +5847,71 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
5787
5847
|
});
|
|
5788
5848
|
});
|
|
5789
5849
|
};
|
|
5850
|
+
/**
|
|
5851
|
+
* Creates request options for getWebAppInvocation without sending the request
|
|
5852
|
+
*/
|
|
5853
|
+
ProjectsServerApi.prototype.getWebAppInvocationRequestOpts = function (requestParameters) {
|
|
5854
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5855
|
+
var queryParameters, headerParameters, urlPath;
|
|
5856
|
+
return __generator(this, function (_a) {
|
|
5857
|
+
if (requestParameters['projectId'] == null) {
|
|
5858
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getWebAppInvocation().');
|
|
5859
|
+
}
|
|
5860
|
+
if (requestParameters['webAppId'] == null) {
|
|
5861
|
+
throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling getWebAppInvocation().');
|
|
5862
|
+
}
|
|
5863
|
+
if (requestParameters['requestId'] == null) {
|
|
5864
|
+
throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling getWebAppInvocation().');
|
|
5865
|
+
}
|
|
5866
|
+
queryParameters = {};
|
|
5867
|
+
headerParameters = {};
|
|
5868
|
+
urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/invocations/{requestId}";
|
|
5869
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
5870
|
+
urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
|
|
5871
|
+
urlPath = urlPath.replace('{requestId}', encodeURIComponent(String(requestParameters['requestId'])));
|
|
5872
|
+
return [2 /*return*/, {
|
|
5873
|
+
path: urlPath,
|
|
5874
|
+
method: 'GET',
|
|
5875
|
+
headers: headerParameters,
|
|
5876
|
+
query: queryParameters,
|
|
5877
|
+
}];
|
|
5878
|
+
});
|
|
5879
|
+
});
|
|
5880
|
+
};
|
|
5881
|
+
/**
|
|
5882
|
+
*/
|
|
5883
|
+
ProjectsServerApi.prototype.getWebAppInvocationRaw = function (requestParameters, initOverrides) {
|
|
5884
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5885
|
+
var requestOptions, response;
|
|
5886
|
+
return __generator(this, function (_a) {
|
|
5887
|
+
switch (_a.label) {
|
|
5888
|
+
case 0: return [4 /*yield*/, this.getWebAppInvocationRequestOpts(requestParameters)];
|
|
5889
|
+
case 1:
|
|
5890
|
+
requestOptions = _a.sent();
|
|
5891
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
5892
|
+
case 2:
|
|
5893
|
+
response = _a.sent();
|
|
5894
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetWebAppInvocationResponse_1.GetWebAppInvocationResponseFromJSON)(jsonValue); })];
|
|
5895
|
+
}
|
|
5896
|
+
});
|
|
5897
|
+
});
|
|
5898
|
+
};
|
|
5899
|
+
/**
|
|
5900
|
+
*/
|
|
5901
|
+
ProjectsServerApi.prototype.getWebAppInvocation = function (requestParameters, initOverrides) {
|
|
5902
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5903
|
+
var response;
|
|
5904
|
+
return __generator(this, function (_a) {
|
|
5905
|
+
switch (_a.label) {
|
|
5906
|
+
case 0: return [4 /*yield*/, this.getWebAppInvocationRaw(requestParameters, initOverrides)];
|
|
5907
|
+
case 1:
|
|
5908
|
+
response = _a.sent();
|
|
5909
|
+
return [4 /*yield*/, response.value()];
|
|
5910
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
5911
|
+
}
|
|
5912
|
+
});
|
|
5913
|
+
});
|
|
5914
|
+
};
|
|
5790
5915
|
/**
|
|
5791
5916
|
* Creates request options for getWebAppRuntimeMetrics without sending the request
|
|
5792
5917
|
*/
|
|
@@ -5807,6 +5932,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
5807
5932
|
if (requestParameters['maxTime'] != null) {
|
|
5808
5933
|
queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
|
|
5809
5934
|
}
|
|
5935
|
+
if (requestParameters['granularity'] != null) {
|
|
5936
|
+
queryParameters['granularity'] = requestParameters['granularity'];
|
|
5937
|
+
}
|
|
5810
5938
|
headerParameters = {};
|
|
5811
5939
|
urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/runtime-metrics";
|
|
5812
5940
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
@@ -8112,6 +8240,79 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
8112
8240
|
});
|
|
8113
8241
|
});
|
|
8114
8242
|
};
|
|
8243
|
+
/**
|
|
8244
|
+
* Creates request options for listWebAppInvocations without sending the request
|
|
8245
|
+
*/
|
|
8246
|
+
ProjectsServerApi.prototype.listWebAppInvocationsRequestOpts = function (requestParameters) {
|
|
8247
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8248
|
+
var queryParameters, headerParameters, urlPath;
|
|
8249
|
+
return __generator(this, function (_a) {
|
|
8250
|
+
if (requestParameters['projectId'] == null) {
|
|
8251
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listWebAppInvocations().');
|
|
8252
|
+
}
|
|
8253
|
+
if (requestParameters['webAppId'] == null) {
|
|
8254
|
+
throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling listWebAppInvocations().');
|
|
8255
|
+
}
|
|
8256
|
+
queryParameters = {};
|
|
8257
|
+
if (requestParameters['minTime'] != null) {
|
|
8258
|
+
queryParameters['minTime'] = requestParameters['minTime'].toISOString();
|
|
8259
|
+
}
|
|
8260
|
+
if (requestParameters['maxTime'] != null) {
|
|
8261
|
+
queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
|
|
8262
|
+
}
|
|
8263
|
+
if (requestParameters['failedOnly'] != null) {
|
|
8264
|
+
queryParameters['failedOnly'] = requestParameters['failedOnly'];
|
|
8265
|
+
}
|
|
8266
|
+
if (requestParameters['nextToken'] != null) {
|
|
8267
|
+
queryParameters['nextToken'] = requestParameters['nextToken'];
|
|
8268
|
+
}
|
|
8269
|
+
headerParameters = {};
|
|
8270
|
+
urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/invocations";
|
|
8271
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
8272
|
+
urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
|
|
8273
|
+
return [2 /*return*/, {
|
|
8274
|
+
path: urlPath,
|
|
8275
|
+
method: 'GET',
|
|
8276
|
+
headers: headerParameters,
|
|
8277
|
+
query: queryParameters,
|
|
8278
|
+
}];
|
|
8279
|
+
});
|
|
8280
|
+
});
|
|
8281
|
+
};
|
|
8282
|
+
/**
|
|
8283
|
+
*/
|
|
8284
|
+
ProjectsServerApi.prototype.listWebAppInvocationsRaw = function (requestParameters, initOverrides) {
|
|
8285
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8286
|
+
var requestOptions, response;
|
|
8287
|
+
return __generator(this, function (_a) {
|
|
8288
|
+
switch (_a.label) {
|
|
8289
|
+
case 0: return [4 /*yield*/, this.listWebAppInvocationsRequestOpts(requestParameters)];
|
|
8290
|
+
case 1:
|
|
8291
|
+
requestOptions = _a.sent();
|
|
8292
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
8293
|
+
case 2:
|
|
8294
|
+
response = _a.sent();
|
|
8295
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponseGetWebAppInvocationResponse_1.PaginatedResponseGetWebAppInvocationResponseFromJSON)(jsonValue); })];
|
|
8296
|
+
}
|
|
8297
|
+
});
|
|
8298
|
+
});
|
|
8299
|
+
};
|
|
8300
|
+
/**
|
|
8301
|
+
*/
|
|
8302
|
+
ProjectsServerApi.prototype.listWebAppInvocations = function (requestParameters, initOverrides) {
|
|
8303
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8304
|
+
var response;
|
|
8305
|
+
return __generator(this, function (_a) {
|
|
8306
|
+
switch (_a.label) {
|
|
8307
|
+
case 0: return [4 /*yield*/, this.listWebAppInvocationsRaw(requestParameters, initOverrides)];
|
|
8308
|
+
case 1:
|
|
8309
|
+
response = _a.sent();
|
|
8310
|
+
return [4 /*yield*/, response.value()];
|
|
8311
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
8312
|
+
}
|
|
8313
|
+
});
|
|
8314
|
+
});
|
|
8315
|
+
};
|
|
8115
8316
|
/**
|
|
8116
8317
|
* Creates request options for listWebAppLogLines without sending the request
|
|
8117
8318
|
*/
|
|
@@ -8132,6 +8333,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
8132
8333
|
if (requestParameters['maxTime'] != null) {
|
|
8133
8334
|
queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
|
|
8134
8335
|
}
|
|
8336
|
+
if (requestParameters['requestId'] != null) {
|
|
8337
|
+
queryParameters['requestId'] = requestParameters['requestId'];
|
|
8338
|
+
}
|
|
8135
8339
|
if (requestParameters['level'] != null) {
|
|
8136
8340
|
queryParameters['level'] = requestParameters['level'];
|
|
8137
8341
|
}
|
|
@@ -10665,6 +10869,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
10665
10869
|
if (requestParameters['maxTime'] != null) {
|
|
10666
10870
|
queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
|
|
10667
10871
|
}
|
|
10872
|
+
if (requestParameters['requestId'] != null) {
|
|
10873
|
+
queryParameters['requestId'] = requestParameters['requestId'];
|
|
10874
|
+
}
|
|
10668
10875
|
if (requestParameters['level'] != null) {
|
|
10669
10876
|
queryParameters['level'] = requestParameters['level'];
|
|
10670
10877
|
}
|
|
@@ -12210,6 +12417,15 @@ exports.GetUserMetricsGranularityType = {
|
|
|
12210
12417
|
FIFTEEN_MINUTES: 'FIFTEEN_MINUTES',
|
|
12211
12418
|
ONE_HOUR: 'ONE_HOUR'
|
|
12212
12419
|
};
|
|
12420
|
+
/**
|
|
12421
|
+
* @export
|
|
12422
|
+
*/
|
|
12423
|
+
exports.GetWebAppRuntimeMetricsGranularityType = {
|
|
12424
|
+
ONE_MINUTE: 'ONE_MINUTE',
|
|
12425
|
+
FIVE_MINUTES: 'FIVE_MINUTES',
|
|
12426
|
+
FIFTEEN_MINUTES: 'FIFTEEN_MINUTES',
|
|
12427
|
+
ONE_HOUR: 'ONE_HOUR'
|
|
12428
|
+
};
|
|
12213
12429
|
/**
|
|
12214
12430
|
* @export
|
|
12215
12431
|
*/
|
|
@@ -183,6 +183,7 @@ export declare const AccountActionLogObjectActionTypeType: {
|
|
|
183
183
|
readonly BILLING_PORTAL_OPENED: "BILLING_PORTAL_OPENED";
|
|
184
184
|
readonly BILLING_PAYMENT_METHOD_REJECTED: "BILLING_PAYMENT_METHOD_REJECTED";
|
|
185
185
|
readonly PAYOUTS_DASHBOARD_OPENED: "PAYOUTS_DASHBOARD_OPENED";
|
|
186
|
+
readonly TERMS_OF_SERVICE_ACCEPTED: "TERMS_OF_SERVICE_ACCEPTED";
|
|
186
187
|
readonly BILLING_GRACE_PERIOD_OVERRIDDEN: "BILLING_GRACE_PERIOD_OVERRIDDEN";
|
|
187
188
|
readonly BILLING_COLLECTION_METHOD_DEFAULT_CHANGED: "BILLING_COLLECTION_METHOD_DEFAULT_CHANGED";
|
|
188
189
|
readonly BILLING_NOTIFICATION_EMAIL_ADDED: "BILLING_NOTIFICATION_EMAIL_ADDED";
|
|
@@ -136,6 +136,7 @@ exports.AccountActionLogObjectActionTypeType = {
|
|
|
136
136
|
BILLING_PORTAL_OPENED: 'BILLING_PORTAL_OPENED',
|
|
137
137
|
BILLING_PAYMENT_METHOD_REJECTED: 'BILLING_PAYMENT_METHOD_REJECTED',
|
|
138
138
|
PAYOUTS_DASHBOARD_OPENED: 'PAYOUTS_DASHBOARD_OPENED',
|
|
139
|
+
TERMS_OF_SERVICE_ACCEPTED: 'TERMS_OF_SERVICE_ACCEPTED',
|
|
139
140
|
BILLING_GRACE_PERIOD_OVERRIDDEN: 'BILLING_GRACE_PERIOD_OVERRIDDEN',
|
|
140
141
|
BILLING_COLLECTION_METHOD_DEFAULT_CHANGED: 'BILLING_COLLECTION_METHOD_DEFAULT_CHANGED',
|
|
141
142
|
BILLING_NOTIFICATION_EMAIL_ADDED: 'BILLING_NOTIFICATION_EMAIL_ADDED',
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetPaymentSalesTaxStatusResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPaymentSalesTaxStatusResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof GetPaymentSalesTaxStatusResponse
|
|
22
|
+
*/
|
|
23
|
+
collectsSalesTax: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetPaymentSalesTaxStatusResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetPaymentSalesTaxStatusResponse(value: object): value is GetPaymentSalesTaxStatusResponse;
|
|
29
|
+
export declare function GetPaymentSalesTaxStatusResponseFromJSON(json: any): GetPaymentSalesTaxStatusResponse;
|
|
30
|
+
export declare function GetPaymentSalesTaxStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPaymentSalesTaxStatusResponse;
|
|
31
|
+
export declare function GetPaymentSalesTaxStatusResponseToJSON(json: any): GetPaymentSalesTaxStatusResponse;
|
|
32
|
+
export declare function GetPaymentSalesTaxStatusResponseToJSONTyped(value?: GetPaymentSalesTaxStatusResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGetPaymentSalesTaxStatusResponse = instanceOfGetPaymentSalesTaxStatusResponse;
|
|
17
|
+
exports.GetPaymentSalesTaxStatusResponseFromJSON = GetPaymentSalesTaxStatusResponseFromJSON;
|
|
18
|
+
exports.GetPaymentSalesTaxStatusResponseFromJSONTyped = GetPaymentSalesTaxStatusResponseFromJSONTyped;
|
|
19
|
+
exports.GetPaymentSalesTaxStatusResponseToJSON = GetPaymentSalesTaxStatusResponseToJSON;
|
|
20
|
+
exports.GetPaymentSalesTaxStatusResponseToJSONTyped = GetPaymentSalesTaxStatusResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetPaymentSalesTaxStatusResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetPaymentSalesTaxStatusResponse(value) {
|
|
25
|
+
if (!('collectsSalesTax' in value) || value['collectsSalesTax'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetPaymentSalesTaxStatusResponseFromJSON(json) {
|
|
30
|
+
return GetPaymentSalesTaxStatusResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetPaymentSalesTaxStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'collectsSalesTax': json['collectsSalesTax'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetPaymentSalesTaxStatusResponseToJSON(json) {
|
|
41
|
+
return GetPaymentSalesTaxStatusResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetPaymentSalesTaxStatusResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'collectsSalesTax': value['collectsSalesTax'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { TaxCalculationStatus } from './TaxCalculationStatus';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -75,6 +76,12 @@ export interface PaymentFilter {
|
|
|
75
76
|
* @memberof PaymentFilter
|
|
76
77
|
*/
|
|
77
78
|
subscription?: boolean | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<TaxCalculationStatus>}
|
|
82
|
+
* @memberof PaymentFilter
|
|
83
|
+
*/
|
|
84
|
+
taxCalculationStatuses?: Array<TaxCalculationStatus> | null;
|
|
78
85
|
/**
|
|
79
86
|
*
|
|
80
87
|
* @type {string}
|
|
@@ -19,6 +19,7 @@ exports.PaymentFilterFromJSON = PaymentFilterFromJSON;
|
|
|
19
19
|
exports.PaymentFilterFromJSONTyped = PaymentFilterFromJSONTyped;
|
|
20
20
|
exports.PaymentFilterToJSON = PaymentFilterToJSON;
|
|
21
21
|
exports.PaymentFilterToJSONTyped = PaymentFilterToJSONTyped;
|
|
22
|
+
var TaxCalculationStatus_1 = require("./TaxCalculationStatus");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
@@ -75,6 +76,7 @@ function PaymentFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
76
|
'ids': json['ids'] == null ? undefined : json['ids'],
|
|
76
77
|
'notIds': json['notIds'] == null ? undefined : json['notIds'],
|
|
77
78
|
'subscription': json['subscription'] == null ? undefined : json['subscription'],
|
|
79
|
+
'taxCalculationStatuses': json['taxCalculationStatuses'] == null ? undefined : (json['taxCalculationStatuses'].map(TaxCalculationStatus_1.TaxCalculationStatusFromJSON)),
|
|
78
80
|
'lineItemDescription': json['lineItemDescription'] == null ? undefined : json['lineItemDescription'],
|
|
79
81
|
'lineItemDescriptions': json['lineItemDescriptions'] == null ? undefined : json['lineItemDescriptions'],
|
|
80
82
|
'notLineItemDescriptions': json['notLineItemDescriptions'] == null ? undefined : json['notLineItemDescriptions'],
|
|
@@ -102,6 +104,7 @@ function PaymentFilterToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
104
|
'ids': value['ids'],
|
|
103
105
|
'notIds': value['notIds'],
|
|
104
106
|
'subscription': value['subscription'],
|
|
107
|
+
'taxCalculationStatuses': value['taxCalculationStatuses'] == null ? undefined : (value['taxCalculationStatuses'].map(TaxCalculationStatus_1.TaxCalculationStatusToJSON)),
|
|
105
108
|
'lineItemDescription': value['lineItemDescription'],
|
|
106
109
|
'lineItemDescriptions': value['lineItemDescriptions'],
|
|
107
110
|
'notLineItemDescriptions': value['notLineItemDescriptions'],
|
|
@@ -63,6 +63,18 @@ export interface PaymentObject {
|
|
|
63
63
|
* @memberof PaymentObject
|
|
64
64
|
*/
|
|
65
65
|
taxCalculationStatus?: TaxCalculationStatus | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentObject
|
|
70
|
+
*/
|
|
71
|
+
taxCountry?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentObject
|
|
76
|
+
*/
|
|
77
|
+
taxState?: string | null;
|
|
66
78
|
/**
|
|
67
79
|
*
|
|
68
80
|
* @type {number}
|
|
@@ -86,6 +86,8 @@ function PaymentObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
86
|
'subtotalCents': json['subtotalCents'],
|
|
87
87
|
'taxCents': json['taxCents'] == null ? undefined : json['taxCents'],
|
|
88
88
|
'taxCalculationStatus': json['taxCalculationStatus'] == null ? undefined : (0, TaxCalculationStatus_1.TaxCalculationStatusFromJSON)(json['taxCalculationStatus']),
|
|
89
|
+
'taxCountry': json['taxCountry'] == null ? undefined : json['taxCountry'],
|
|
90
|
+
'taxState': json['taxState'] == null ? undefined : json['taxState'],
|
|
89
91
|
'amountCents': json['amountCents'],
|
|
90
92
|
'currency': json['currency'],
|
|
91
93
|
'description': json['description'] == null ? undefined : json['description'],
|
|
@@ -129,6 +131,8 @@ function PaymentObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
129
131
|
'subtotalCents': value['subtotalCents'],
|
|
130
132
|
'taxCents': value['taxCents'],
|
|
131
133
|
'taxCalculationStatus': (0, TaxCalculationStatus_1.TaxCalculationStatusToJSON)(value['taxCalculationStatus']),
|
|
134
|
+
'taxCountry': value['taxCountry'],
|
|
135
|
+
'taxState': value['taxState'],
|
|
132
136
|
'amountCents': value['amountCents'],
|
|
133
137
|
'currency': value['currency'],
|
|
134
138
|
'description': value['description'],
|
|
@@ -29,6 +29,12 @@ export interface SendUserEmailFromTemplateRequest {
|
|
|
29
29
|
templateParams?: {
|
|
30
30
|
[key: string]: any;
|
|
31
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SendUserEmailFromTemplateRequest
|
|
36
|
+
*/
|
|
37
|
+
senderName?: string | null;
|
|
32
38
|
}
|
|
33
39
|
/**
|
|
34
40
|
* Check if a given object implements the SendUserEmailFromTemplateRequest interface.
|
|
@@ -36,6 +36,7 @@ function SendUserEmailFromTemplateRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
36
36
|
return {
|
|
37
37
|
'templateName': json['templateName'],
|
|
38
38
|
'templateParams': json['templateParams'] == null ? undefined : json['templateParams'],
|
|
39
|
+
'senderName': json['senderName'] == null ? undefined : json['senderName'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
function SendUserEmailFromTemplateRequestToJSON(json) {
|
|
@@ -49,5 +50,6 @@ function SendUserEmailFromTemplateRequestToJSONTyped(value, ignoreDiscriminator)
|
|
|
49
50
|
return {
|
|
50
51
|
'templateName': value['templateName'],
|
|
51
52
|
'templateParams': value['templateParams'],
|
|
53
|
+
'senderName': value['senderName'],
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -33,6 +33,12 @@ export interface SendUserEmailRequest {
|
|
|
33
33
|
* @memberof SendUserEmailRequest
|
|
34
34
|
*/
|
|
35
35
|
htmlBody?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SendUserEmailRequest
|
|
40
|
+
*/
|
|
41
|
+
senderName?: string | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the SendUserEmailRequest interface.
|
|
@@ -37,6 +37,7 @@ function SendUserEmailRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'subject': json['subject'],
|
|
38
38
|
'body': json['body'] == null ? undefined : json['body'],
|
|
39
39
|
'htmlBody': json['htmlBody'] == null ? undefined : json['htmlBody'],
|
|
40
|
+
'senderName': json['senderName'] == null ? undefined : json['senderName'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
function SendUserEmailRequestToJSON(json) {
|
|
@@ -51,5 +52,6 @@ function SendUserEmailRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
52
|
'subject': value['subject'],
|
|
52
53
|
'body': value['body'],
|
|
53
54
|
'htmlBody': value['htmlBody'],
|
|
55
|
+
'senderName': value['senderName'],
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -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
|
}
|
|
@@ -96,11 +96,13 @@ export * from './GetBuildArtifactResponse';
|
|
|
96
96
|
export * from './GetContentDownloadLinkResponse';
|
|
97
97
|
export * from './GetManagedDatabaseBackupResponse';
|
|
98
98
|
export * from './GetManagedDatabaseBackupSourceResponse';
|
|
99
|
+
export * from './GetPaymentSalesTaxStatusResponse';
|
|
99
100
|
export * from './GetRequestBodyDownloadLinkResponse';
|
|
100
101
|
export * from './GetServiceBlockedRequestMetricsResponse';
|
|
101
102
|
export * from './GetServiceCodeSourceStatusResponse';
|
|
102
103
|
export * from './GetServiceRouteTimeMetricsResponse';
|
|
103
104
|
export * from './GetWebAppBlockedRequestMetricsResponse';
|
|
105
|
+
export * from './GetWebAppInvocationResponse';
|
|
104
106
|
export * from './HealthCheckConfig';
|
|
105
107
|
export * from './HealthCheckDetectionError';
|
|
106
108
|
export * from './HealthCheckDetectionOutput';
|
|
@@ -150,6 +152,7 @@ export * from './PaginatedResponseAccountActionLogObject';
|
|
|
150
152
|
export * from './PaginatedResponseActionInvocationObject';
|
|
151
153
|
export * from './PaginatedResponseBlockedRequestGroup';
|
|
152
154
|
export * from './PaginatedResponseBlockedRequestSample';
|
|
155
|
+
export * from './PaginatedResponseGetWebAppInvocationResponse';
|
|
153
156
|
export * from './PaginatedResponseLogLineObject';
|
|
154
157
|
export * from './PaginatedResponseLoginHistoryEntry';
|
|
155
158
|
export * from './PaginatedResponsePaymentObject';
|
|
@@ -114,11 +114,13 @@ __exportStar(require("./GetBuildArtifactResponse"), exports);
|
|
|
114
114
|
__exportStar(require("./GetContentDownloadLinkResponse"), exports);
|
|
115
115
|
__exportStar(require("./GetManagedDatabaseBackupResponse"), exports);
|
|
116
116
|
__exportStar(require("./GetManagedDatabaseBackupSourceResponse"), exports);
|
|
117
|
+
__exportStar(require("./GetPaymentSalesTaxStatusResponse"), exports);
|
|
117
118
|
__exportStar(require("./GetRequestBodyDownloadLinkResponse"), exports);
|
|
118
119
|
__exportStar(require("./GetServiceBlockedRequestMetricsResponse"), exports);
|
|
119
120
|
__exportStar(require("./GetServiceCodeSourceStatusResponse"), exports);
|
|
120
121
|
__exportStar(require("./GetServiceRouteTimeMetricsResponse"), exports);
|
|
121
122
|
__exportStar(require("./GetWebAppBlockedRequestMetricsResponse"), exports);
|
|
123
|
+
__exportStar(require("./GetWebAppInvocationResponse"), exports);
|
|
122
124
|
__exportStar(require("./HealthCheckConfig"), exports);
|
|
123
125
|
__exportStar(require("./HealthCheckDetectionError"), exports);
|
|
124
126
|
__exportStar(require("./HealthCheckDetectionOutput"), exports);
|
|
@@ -168,6 +170,7 @@ __exportStar(require("./PaginatedResponseAccountActionLogObject"), exports);
|
|
|
168
170
|
__exportStar(require("./PaginatedResponseActionInvocationObject"), exports);
|
|
169
171
|
__exportStar(require("./PaginatedResponseBlockedRequestGroup"), exports);
|
|
170
172
|
__exportStar(require("./PaginatedResponseBlockedRequestSample"), exports);
|
|
173
|
+
__exportStar(require("./PaginatedResponseGetWebAppInvocationResponse"), exports);
|
|
171
174
|
__exportStar(require("./PaginatedResponseLogLineObject"), exports);
|
|
172
175
|
__exportStar(require("./PaginatedResponseLoginHistoryEntry"), exports);
|
|
173
176
|
__exportStar(require("./PaginatedResponsePaymentObject"), exports);
|