@forteplatforms/sdk 1.0.322 → 1.0.328
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/models/CreateForteServiceRequest.d.ts +7 -0
- package/dist/generated/models/CreateForteServiceRequest.js +3 -0
- package/dist/generated/models/CreateServiceDatabaseConnectionRequest.d.ts +39 -0
- package/dist/generated/models/CreateServiceDatabaseConnectionRequest.js +56 -0
- package/dist/generated/models/ForteApiException.d.ts +1 -0
- package/dist/generated/models/ForteApiException.js +1 -0
- package/dist/generated/models/ManagedDatabaseMetricLimits.d.ts +76 -0
- package/dist/generated/models/ManagedDatabaseMetricLimits.js +73 -0
- package/dist/generated/models/ManagedDatabaseMetricPoint.d.ts +66 -0
- package/dist/generated/models/ManagedDatabaseMetricPoint.js +22 -0
- package/dist/generated/models/ManagedDatabaseMetricsResponse.d.ts +7 -0
- package/dist/generated/models/ManagedDatabaseMetricsResponse.js +5 -0
- package/dist/generated/models/ServiceBuildRequestObject.d.ts +6 -0
- package/dist/generated/models/ServiceBuildRequestObject.js +2 -0
- package/dist/generated/models/WebAppBuildRequestObject.d.ts +6 -0
- package/dist/generated/models/WebAppBuildRequestObject.js +2 -0
- package/dist/generated/models/index.d.ts +2 -0
- package/dist/generated/models/index.js +2 -0
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CreateServiceDatabaseConnectionRequest } from './CreateServiceDatabaseConnectionRequest';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -99,6 +100,12 @@ export interface CreateForteServiceRequest {
|
|
|
99
100
|
* @memberof CreateForteServiceRequest
|
|
100
101
|
*/
|
|
101
102
|
requestResponseBodyLoggingEnabled?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {Array<CreateServiceDatabaseConnectionRequest>}
|
|
106
|
+
* @memberof CreateForteServiceRequest
|
|
107
|
+
*/
|
|
108
|
+
databaseConnections?: Array<CreateServiceDatabaseConnectionRequest>;
|
|
102
109
|
}
|
|
103
110
|
/**
|
|
104
111
|
* @export
|
|
@@ -19,6 +19,7 @@ exports.CreateForteServiceRequestFromJSON = CreateForteServiceRequestFromJSON;
|
|
|
19
19
|
exports.CreateForteServiceRequestFromJSONTyped = CreateForteServiceRequestFromJSONTyped;
|
|
20
20
|
exports.CreateForteServiceRequestToJSON = CreateForteServiceRequestToJSON;
|
|
21
21
|
exports.CreateForteServiceRequestToJSONTyped = CreateForteServiceRequestToJSONTyped;
|
|
22
|
+
var CreateServiceDatabaseConnectionRequest_1 = require("./CreateServiceDatabaseConnectionRequest");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
@@ -59,6 +60,7 @@ function CreateForteServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'healthCheckPath': json['healthCheckPath'] == null ? undefined : json['healthCheckPath'],
|
|
60
61
|
'baseDirectory': json['baseDirectory'] == null ? undefined : json['baseDirectory'],
|
|
61
62
|
'requestResponseBodyLoggingEnabled': json['requestResponseBodyLoggingEnabled'] == null ? undefined : json['requestResponseBodyLoggingEnabled'],
|
|
63
|
+
'databaseConnections': json['databaseConnections'] == null ? undefined : (json['databaseConnections'].map(CreateServiceDatabaseConnectionRequest_1.CreateServiceDatabaseConnectionRequestFromJSON)),
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
function CreateForteServiceRequestToJSON(json) {
|
|
@@ -83,5 +85,6 @@ function CreateForteServiceRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
83
85
|
'healthCheckPath': value['healthCheckPath'],
|
|
84
86
|
'baseDirectory': value['baseDirectory'],
|
|
85
87
|
'requestResponseBodyLoggingEnabled': value['requestResponseBodyLoggingEnabled'],
|
|
88
|
+
'databaseConnections': value['databaseConnections'] == null ? undefined : (value['databaseConnections'].map(CreateServiceDatabaseConnectionRequest_1.CreateServiceDatabaseConnectionRequestToJSON)),
|
|
86
89
|
};
|
|
87
90
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ManagedDatabaseEnvVarMappings } from './ManagedDatabaseEnvVarMappings';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateServiceDatabaseConnectionRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateServiceDatabaseConnectionRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateServiceDatabaseConnectionRequest
|
|
23
|
+
*/
|
|
24
|
+
managedDatabaseId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ManagedDatabaseEnvVarMappings}
|
|
28
|
+
* @memberof CreateServiceDatabaseConnectionRequest
|
|
29
|
+
*/
|
|
30
|
+
environmentVariableMappings: ManagedDatabaseEnvVarMappings;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the CreateServiceDatabaseConnectionRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfCreateServiceDatabaseConnectionRequest(value: object): value is CreateServiceDatabaseConnectionRequest;
|
|
36
|
+
export declare function CreateServiceDatabaseConnectionRequestFromJSON(json: any): CreateServiceDatabaseConnectionRequest;
|
|
37
|
+
export declare function CreateServiceDatabaseConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateServiceDatabaseConnectionRequest;
|
|
38
|
+
export declare function CreateServiceDatabaseConnectionRequestToJSON(json: any): CreateServiceDatabaseConnectionRequest;
|
|
39
|
+
export declare function CreateServiceDatabaseConnectionRequestToJSONTyped(value?: CreateServiceDatabaseConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfCreateServiceDatabaseConnectionRequest = instanceOfCreateServiceDatabaseConnectionRequest;
|
|
17
|
+
exports.CreateServiceDatabaseConnectionRequestFromJSON = CreateServiceDatabaseConnectionRequestFromJSON;
|
|
18
|
+
exports.CreateServiceDatabaseConnectionRequestFromJSONTyped = CreateServiceDatabaseConnectionRequestFromJSONTyped;
|
|
19
|
+
exports.CreateServiceDatabaseConnectionRequestToJSON = CreateServiceDatabaseConnectionRequestToJSON;
|
|
20
|
+
exports.CreateServiceDatabaseConnectionRequestToJSONTyped = CreateServiceDatabaseConnectionRequestToJSONTyped;
|
|
21
|
+
var ManagedDatabaseEnvVarMappings_1 = require("./ManagedDatabaseEnvVarMappings");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateServiceDatabaseConnectionRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateServiceDatabaseConnectionRequest(value) {
|
|
26
|
+
if (!('managedDatabaseId' in value) || value['managedDatabaseId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('environmentVariableMappings' in value) || value['environmentVariableMappings'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CreateServiceDatabaseConnectionRequestFromJSON(json) {
|
|
33
|
+
return CreateServiceDatabaseConnectionRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CreateServiceDatabaseConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'managedDatabaseId': json['managedDatabaseId'],
|
|
41
|
+
'environmentVariableMappings': (0, ManagedDatabaseEnvVarMappings_1.ManagedDatabaseEnvVarMappingsFromJSON)(json['environmentVariableMappings']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CreateServiceDatabaseConnectionRequestToJSON(json) {
|
|
45
|
+
return CreateServiceDatabaseConnectionRequestToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CreateServiceDatabaseConnectionRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'managedDatabaseId': value['managedDatabaseId'],
|
|
54
|
+
'environmentVariableMappings': (0, ManagedDatabaseEnvVarMappings_1.ManagedDatabaseEnvVarMappingsToJSON)(value['environmentVariableMappings']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -41,6 +41,7 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
41
41
|
readonly REQUEST_VALIDATION_FAILED: "REQUEST_VALIDATION_FAILED";
|
|
42
42
|
readonly SERVICE_NOT_READY: "SERVICE_NOT_READY";
|
|
43
43
|
readonly GITHUB_APP_NOT_CONFIGURED: "GITHUB_APP_NOT_CONFIGURED";
|
|
44
|
+
readonly GITHUB_API_UNAVAILABLE: "GITHUB_API_UNAVAILABLE";
|
|
44
45
|
readonly EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
|
|
45
46
|
readonly CSRF_TOKEN_MISMATCH: "CSRF_TOKEN_MISMATCH";
|
|
46
47
|
readonly RECAPTCHA_VALIDATION_FAILED: "RECAPTCHA_VALIDATION_FAILED";
|
|
@@ -26,6 +26,7 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
26
26
|
REQUEST_VALIDATION_FAILED: 'REQUEST_VALIDATION_FAILED',
|
|
27
27
|
SERVICE_NOT_READY: 'SERVICE_NOT_READY',
|
|
28
28
|
GITHUB_APP_NOT_CONFIGURED: 'GITHUB_APP_NOT_CONFIGURED',
|
|
29
|
+
GITHUB_API_UNAVAILABLE: 'GITHUB_API_UNAVAILABLE',
|
|
29
30
|
EMAIL_NOT_VERIFIED: 'EMAIL_NOT_VERIFIED',
|
|
30
31
|
CSRF_TOKEN_MISMATCH: 'CSRF_TOKEN_MISMATCH',
|
|
31
32
|
RECAPTCHA_VALIDATION_FAILED: 'RECAPTCHA_VALIDATION_FAILED',
|
|
@@ -0,0 +1,76 @@
|
|
|
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 ManagedDatabaseMetricLimits
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagedDatabaseMetricLimits {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ManagedDatabaseMetricLimits
|
|
22
|
+
*/
|
|
23
|
+
poolSize?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ManagedDatabaseMetricLimits
|
|
28
|
+
*/
|
|
29
|
+
maxClientConnections?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ManagedDatabaseMetricLimits
|
|
34
|
+
*/
|
|
35
|
+
queryWaitTimeoutSeconds?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ManagedDatabaseMetricLimits
|
|
40
|
+
*/
|
|
41
|
+
perUserConnectionLimit?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ManagedDatabaseMetricLimits
|
|
46
|
+
*/
|
|
47
|
+
userCount?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ManagedDatabaseMetricLimits
|
|
52
|
+
*/
|
|
53
|
+
storageLimitBytes: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {ManagedDatabaseMetricLimitsTierType}
|
|
57
|
+
* @memberof ManagedDatabaseMetricLimits
|
|
58
|
+
*/
|
|
59
|
+
tier: ManagedDatabaseMetricLimitsTierType;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const ManagedDatabaseMetricLimitsTierType: {
|
|
65
|
+
readonly SHARED: "SHARED";
|
|
66
|
+
readonly DEDICATED: "DEDICATED";
|
|
67
|
+
};
|
|
68
|
+
export type ManagedDatabaseMetricLimitsTierType = typeof ManagedDatabaseMetricLimitsTierType[keyof typeof ManagedDatabaseMetricLimitsTierType];
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the ManagedDatabaseMetricLimits interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfManagedDatabaseMetricLimits(value: object): value is ManagedDatabaseMetricLimits;
|
|
73
|
+
export declare function ManagedDatabaseMetricLimitsFromJSON(json: any): ManagedDatabaseMetricLimits;
|
|
74
|
+
export declare function ManagedDatabaseMetricLimitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedDatabaseMetricLimits;
|
|
75
|
+
export declare function ManagedDatabaseMetricLimitsToJSON(json: any): ManagedDatabaseMetricLimits;
|
|
76
|
+
export declare function ManagedDatabaseMetricLimitsToJSONTyped(value?: ManagedDatabaseMetricLimits | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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.ManagedDatabaseMetricLimitsTierType = void 0;
|
|
17
|
+
exports.instanceOfManagedDatabaseMetricLimits = instanceOfManagedDatabaseMetricLimits;
|
|
18
|
+
exports.ManagedDatabaseMetricLimitsFromJSON = ManagedDatabaseMetricLimitsFromJSON;
|
|
19
|
+
exports.ManagedDatabaseMetricLimitsFromJSONTyped = ManagedDatabaseMetricLimitsFromJSONTyped;
|
|
20
|
+
exports.ManagedDatabaseMetricLimitsToJSON = ManagedDatabaseMetricLimitsToJSON;
|
|
21
|
+
exports.ManagedDatabaseMetricLimitsToJSONTyped = ManagedDatabaseMetricLimitsToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ManagedDatabaseMetricLimitsTierType = {
|
|
26
|
+
SHARED: 'SHARED',
|
|
27
|
+
DEDICATED: 'DEDICATED'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ManagedDatabaseMetricLimits interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfManagedDatabaseMetricLimits(value) {
|
|
33
|
+
if (!('storageLimitBytes' in value) || value['storageLimitBytes'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('tier' in value) || value['tier'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function ManagedDatabaseMetricLimitsFromJSON(json) {
|
|
40
|
+
return ManagedDatabaseMetricLimitsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ManagedDatabaseMetricLimitsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'poolSize': json['poolSize'] == null ? undefined : json['poolSize'],
|
|
48
|
+
'maxClientConnections': json['maxClientConnections'] == null ? undefined : json['maxClientConnections'],
|
|
49
|
+
'queryWaitTimeoutSeconds': json['queryWaitTimeoutSeconds'] == null ? undefined : json['queryWaitTimeoutSeconds'],
|
|
50
|
+
'perUserConnectionLimit': json['perUserConnectionLimit'] == null ? undefined : json['perUserConnectionLimit'],
|
|
51
|
+
'userCount': json['userCount'] == null ? undefined : json['userCount'],
|
|
52
|
+
'storageLimitBytes': json['storageLimitBytes'],
|
|
53
|
+
'tier': json['tier'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function ManagedDatabaseMetricLimitsToJSON(json) {
|
|
57
|
+
return ManagedDatabaseMetricLimitsToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function ManagedDatabaseMetricLimitsToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'poolSize': value['poolSize'],
|
|
66
|
+
'maxClientConnections': value['maxClientConnections'],
|
|
67
|
+
'queryWaitTimeoutSeconds': value['queryWaitTimeoutSeconds'],
|
|
68
|
+
'perUserConnectionLimit': value['perUserConnectionLimit'],
|
|
69
|
+
'userCount': value['userCount'],
|
|
70
|
+
'storageLimitBytes': value['storageLimitBytes'],
|
|
71
|
+
'tier': value['tier'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -21,6 +21,12 @@ export interface ManagedDatabaseMetricPoint {
|
|
|
21
21
|
* @memberof ManagedDatabaseMetricPoint
|
|
22
22
|
*/
|
|
23
23
|
timestamp: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
28
|
+
*/
|
|
29
|
+
intervalMs?: number;
|
|
24
30
|
/**
|
|
25
31
|
*
|
|
26
32
|
* @type {number}
|
|
@@ -153,6 +159,66 @@ export interface ManagedDatabaseMetricPoint {
|
|
|
153
159
|
* @memberof ManagedDatabaseMetricPoint
|
|
154
160
|
*/
|
|
155
161
|
clWaiting?: number;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {number}
|
|
165
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
166
|
+
*/
|
|
167
|
+
pgbQueryTimeMicros?: number;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {number}
|
|
171
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
172
|
+
*/
|
|
173
|
+
pgbWaitTimeMicros?: number;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {number}
|
|
177
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
178
|
+
*/
|
|
179
|
+
pgbXactCount?: number;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {number}
|
|
183
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
184
|
+
*/
|
|
185
|
+
pgbXactTimeMicros?: number;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {number}
|
|
189
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
190
|
+
*/
|
|
191
|
+
maxWaitMicros?: number;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @type {number}
|
|
195
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
196
|
+
*/
|
|
197
|
+
poolSize?: number;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @type {number}
|
|
201
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
202
|
+
*/
|
|
203
|
+
sessionTimeMs?: number;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {number}
|
|
207
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
208
|
+
*/
|
|
209
|
+
idleInTransactionTimeMs?: number;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {number}
|
|
213
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
214
|
+
*/
|
|
215
|
+
sessionsAbnormal?: number;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {number}
|
|
219
|
+
* @memberof ManagedDatabaseMetricPoint
|
|
220
|
+
*/
|
|
221
|
+
backends?: number;
|
|
156
222
|
/**
|
|
157
223
|
*
|
|
158
224
|
* @type {number}
|
|
@@ -35,6 +35,7 @@ function ManagedDatabaseMetricPointFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'timestamp': (new Date(json['timestamp'])),
|
|
38
|
+
'intervalMs': json['intervalMs'] == null ? undefined : json['intervalMs'],
|
|
38
39
|
'activeTimeMs': json['activeTimeMs'] == null ? undefined : json['activeTimeMs'],
|
|
39
40
|
'xactCommit': json['xactCommit'] == null ? undefined : json['xactCommit'],
|
|
40
41
|
'xactRollback': json['xactRollback'] == null ? undefined : json['xactRollback'],
|
|
@@ -57,6 +58,16 @@ function ManagedDatabaseMetricPointFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
58
|
'clientConnections': json['clientConnections'] == null ? undefined : json['clientConnections'],
|
|
58
59
|
'serverConnections': json['serverConnections'] == null ? undefined : json['serverConnections'],
|
|
59
60
|
'clWaiting': json['clWaiting'] == null ? undefined : json['clWaiting'],
|
|
61
|
+
'pgbQueryTimeMicros': json['pgbQueryTimeMicros'] == null ? undefined : json['pgbQueryTimeMicros'],
|
|
62
|
+
'pgbWaitTimeMicros': json['pgbWaitTimeMicros'] == null ? undefined : json['pgbWaitTimeMicros'],
|
|
63
|
+
'pgbXactCount': json['pgbXactCount'] == null ? undefined : json['pgbXactCount'],
|
|
64
|
+
'pgbXactTimeMicros': json['pgbXactTimeMicros'] == null ? undefined : json['pgbXactTimeMicros'],
|
|
65
|
+
'maxWaitMicros': json['maxWaitMicros'] == null ? undefined : json['maxWaitMicros'],
|
|
66
|
+
'poolSize': json['poolSize'] == null ? undefined : json['poolSize'],
|
|
67
|
+
'sessionTimeMs': json['sessionTimeMs'] == null ? undefined : json['sessionTimeMs'],
|
|
68
|
+
'idleInTransactionTimeMs': json['idleInTransactionTimeMs'] == null ? undefined : json['idleInTransactionTimeMs'],
|
|
69
|
+
'sessionsAbnormal': json['sessionsAbnormal'] == null ? undefined : json['sessionsAbnormal'],
|
|
70
|
+
'backends': json['backends'] == null ? undefined : json['backends'],
|
|
60
71
|
'logicalSizeBytes': json['logicalSizeBytes'] == null ? undefined : json['logicalSizeBytes'],
|
|
61
72
|
'physicalSizeBytes': json['physicalSizeBytes'] == null ? undefined : json['physicalSizeBytes'],
|
|
62
73
|
};
|
|
@@ -71,6 +82,7 @@ function ManagedDatabaseMetricPointToJSONTyped(value, ignoreDiscriminator) {
|
|
|
71
82
|
}
|
|
72
83
|
return {
|
|
73
84
|
'timestamp': value['timestamp'].toISOString(),
|
|
85
|
+
'intervalMs': value['intervalMs'],
|
|
74
86
|
'activeTimeMs': value['activeTimeMs'],
|
|
75
87
|
'xactCommit': value['xactCommit'],
|
|
76
88
|
'xactRollback': value['xactRollback'],
|
|
@@ -93,6 +105,16 @@ function ManagedDatabaseMetricPointToJSONTyped(value, ignoreDiscriminator) {
|
|
|
93
105
|
'clientConnections': value['clientConnections'],
|
|
94
106
|
'serverConnections': value['serverConnections'],
|
|
95
107
|
'clWaiting': value['clWaiting'],
|
|
108
|
+
'pgbQueryTimeMicros': value['pgbQueryTimeMicros'],
|
|
109
|
+
'pgbWaitTimeMicros': value['pgbWaitTimeMicros'],
|
|
110
|
+
'pgbXactCount': value['pgbXactCount'],
|
|
111
|
+
'pgbXactTimeMicros': value['pgbXactTimeMicros'],
|
|
112
|
+
'maxWaitMicros': value['maxWaitMicros'],
|
|
113
|
+
'poolSize': value['poolSize'],
|
|
114
|
+
'sessionTimeMs': value['sessionTimeMs'],
|
|
115
|
+
'idleInTransactionTimeMs': value['idleInTransactionTimeMs'],
|
|
116
|
+
'sessionsAbnormal': value['sessionsAbnormal'],
|
|
117
|
+
'backends': value['backends'],
|
|
96
118
|
'logicalSizeBytes': value['logicalSizeBytes'],
|
|
97
119
|
'physicalSizeBytes': value['physicalSizeBytes'],
|
|
98
120
|
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ManagedDatabaseMetricPoint } from './ManagedDatabaseMetricPoint';
|
|
13
|
+
import type { ManagedDatabaseMetricLimits } from './ManagedDatabaseMetricLimits';
|
|
13
14
|
import type { ManagedDatabaseUsage } from './ManagedDatabaseUsage';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -29,6 +30,12 @@ export interface ManagedDatabaseMetricsResponse {
|
|
|
29
30
|
* @memberof ManagedDatabaseMetricsResponse
|
|
30
31
|
*/
|
|
31
32
|
usage: ManagedDatabaseUsage;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ManagedDatabaseMetricLimits}
|
|
36
|
+
* @memberof ManagedDatabaseMetricsResponse
|
|
37
|
+
*/
|
|
38
|
+
limits: ManagedDatabaseMetricLimits;
|
|
32
39
|
}
|
|
33
40
|
/**
|
|
34
41
|
* Check if a given object implements the ManagedDatabaseMetricsResponse interface.
|
|
@@ -19,6 +19,7 @@ exports.ManagedDatabaseMetricsResponseFromJSONTyped = ManagedDatabaseMetricsResp
|
|
|
19
19
|
exports.ManagedDatabaseMetricsResponseToJSON = ManagedDatabaseMetricsResponseToJSON;
|
|
20
20
|
exports.ManagedDatabaseMetricsResponseToJSONTyped = ManagedDatabaseMetricsResponseToJSONTyped;
|
|
21
21
|
var ManagedDatabaseMetricPoint_1 = require("./ManagedDatabaseMetricPoint");
|
|
22
|
+
var ManagedDatabaseMetricLimits_1 = require("./ManagedDatabaseMetricLimits");
|
|
22
23
|
var ManagedDatabaseUsage_1 = require("./ManagedDatabaseUsage");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the ManagedDatabaseMetricsResponse interface.
|
|
@@ -28,6 +29,8 @@ function instanceOfManagedDatabaseMetricsResponse(value) {
|
|
|
28
29
|
return false;
|
|
29
30
|
if (!('usage' in value) || value['usage'] === undefined)
|
|
30
31
|
return false;
|
|
32
|
+
if (!('limits' in value) || value['limits'] === undefined)
|
|
33
|
+
return false;
|
|
31
34
|
return true;
|
|
32
35
|
}
|
|
33
36
|
function ManagedDatabaseMetricsResponseFromJSON(json) {
|
|
@@ -40,6 +43,7 @@ function ManagedDatabaseMetricsResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
40
43
|
return {
|
|
41
44
|
'points': (json['points'].map(ManagedDatabaseMetricPoint_1.ManagedDatabaseMetricPointFromJSON)),
|
|
42
45
|
'usage': (0, ManagedDatabaseUsage_1.ManagedDatabaseUsageFromJSON)(json['usage']),
|
|
46
|
+
'limits': (0, ManagedDatabaseMetricLimits_1.ManagedDatabaseMetricLimitsFromJSON)(json['limits']),
|
|
43
47
|
};
|
|
44
48
|
}
|
|
45
49
|
function ManagedDatabaseMetricsResponseToJSON(json) {
|
|
@@ -53,5 +57,6 @@ function ManagedDatabaseMetricsResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
57
|
return {
|
|
54
58
|
'points': (value['points'].map(ManagedDatabaseMetricPoint_1.ManagedDatabaseMetricPointToJSON)),
|
|
55
59
|
'usage': (0, ManagedDatabaseUsage_1.ManagedDatabaseUsageToJSON)(value['usage']),
|
|
60
|
+
'limits': (0, ManagedDatabaseMetricLimits_1.ManagedDatabaseMetricLimitsToJSON)(value['limits']),
|
|
56
61
|
};
|
|
57
62
|
}
|
|
@@ -114,6 +114,12 @@ export interface ServiceBuildRequestObject {
|
|
|
114
114
|
* @memberof ServiceBuildRequestObject
|
|
115
115
|
*/
|
|
116
116
|
origin?: ServiceBuildRequestObjectOriginType;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof ServiceBuildRequestObject
|
|
121
|
+
*/
|
|
122
|
+
originDetail?: string;
|
|
117
123
|
/**
|
|
118
124
|
*
|
|
119
125
|
* @type {string}
|
|
@@ -119,6 +119,7 @@ function ServiceBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
119
119
|
'buildStepLogs': json['buildStepLogs'] == null ? undefined : (json['buildStepLogs'].map(BuildStepLog_1.BuildStepLogFromJSON)),
|
|
120
120
|
'status': json['status'],
|
|
121
121
|
'origin': json['origin'] == null ? undefined : json['origin'],
|
|
122
|
+
'originDetail': json['originDetail'] == null ? undefined : json['originDetail'],
|
|
122
123
|
'triggeredByAccountId': json['triggeredByAccountId'] == null ? undefined : json['triggeredByAccountId'],
|
|
123
124
|
'buildTier': json['buildTier'] == null ? undefined : json['buildTier'],
|
|
124
125
|
'failureReason': json['failureReason'] == null ? undefined : json['failureReason'],
|
|
@@ -149,6 +150,7 @@ function ServiceBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
149
150
|
'buildStepLogs': value['buildStepLogs'] == null ? undefined : (value['buildStepLogs'].map(BuildStepLog_1.BuildStepLogToJSON)),
|
|
150
151
|
'status': value['status'],
|
|
151
152
|
'origin': value['origin'],
|
|
153
|
+
'originDetail': value['originDetail'],
|
|
152
154
|
'triggeredByAccountId': value['triggeredByAccountId'],
|
|
153
155
|
'buildTier': value['buildTier'],
|
|
154
156
|
'failureReason': value['failureReason'],
|
|
@@ -197,6 +197,12 @@ export interface WebAppBuildRequestObject {
|
|
|
197
197
|
* @memberof WebAppBuildRequestObject
|
|
198
198
|
*/
|
|
199
199
|
origin?: WebAppBuildRequestObjectOriginType;
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof WebAppBuildRequestObject
|
|
204
|
+
*/
|
|
205
|
+
originDetail?: string;
|
|
200
206
|
/**
|
|
201
207
|
*
|
|
202
208
|
* @type {string}
|
|
@@ -141,6 +141,7 @@ function WebAppBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
141
141
|
'buildStepLogs': json['buildStepLogs'] == null ? undefined : (json['buildStepLogs'].map(BuildStepLog_1.BuildStepLogFromJSON)),
|
|
142
142
|
'status': json['status'],
|
|
143
143
|
'origin': json['origin'] == null ? undefined : json['origin'],
|
|
144
|
+
'originDetail': json['originDetail'] == null ? undefined : json['originDetail'],
|
|
144
145
|
'triggeredByAccountId': json['triggeredByAccountId'] == null ? undefined : json['triggeredByAccountId'],
|
|
145
146
|
'buildTier': json['buildTier'] == null ? undefined : json['buildTier'],
|
|
146
147
|
'failureReason': json['failureReason'] == null ? undefined : json['failureReason'],
|
|
@@ -185,6 +186,7 @@ function WebAppBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
185
186
|
'buildStepLogs': value['buildStepLogs'] == null ? undefined : (value['buildStepLogs'].map(BuildStepLog_1.BuildStepLogToJSON)),
|
|
186
187
|
'status': value['status'],
|
|
187
188
|
'origin': value['origin'],
|
|
189
|
+
'originDetail': value['originDetail'],
|
|
188
190
|
'triggeredByAccountId': value['triggeredByAccountId'],
|
|
189
191
|
'buildTier': value['buildTier'],
|
|
190
192
|
'failureReason': value['failureReason'],
|
|
@@ -41,6 +41,7 @@ export * from './CreatePaymentResponse';
|
|
|
41
41
|
export * from './CreatePaymentTriggerRequest';
|
|
42
42
|
export * from './CreateProjectApiKeyRequest';
|
|
43
43
|
export * from './CreateProjectApiKeyResponse';
|
|
44
|
+
export * from './CreateServiceDatabaseConnectionRequest';
|
|
44
45
|
export * from './CreateServiceRequestProxyRequest';
|
|
45
46
|
export * from './CreateServiceRequestProxyResponse';
|
|
46
47
|
export * from './CreateSubscriptionPreviewRequest';
|
|
@@ -83,6 +84,7 @@ export * from './LoginHistoryEntry';
|
|
|
83
84
|
export * from './LoginUserResponse';
|
|
84
85
|
export * from './ManagedDatabaseConnection';
|
|
85
86
|
export * from './ManagedDatabaseEnvVarMappings';
|
|
87
|
+
export * from './ManagedDatabaseMetricLimits';
|
|
86
88
|
export * from './ManagedDatabaseMetricPoint';
|
|
87
89
|
export * from './ManagedDatabaseMetricsResponse';
|
|
88
90
|
export * from './ManagedDatabaseObject';
|
|
@@ -59,6 +59,7 @@ __exportStar(require("./CreatePaymentResponse"), exports);
|
|
|
59
59
|
__exportStar(require("./CreatePaymentTriggerRequest"), exports);
|
|
60
60
|
__exportStar(require("./CreateProjectApiKeyRequest"), exports);
|
|
61
61
|
__exportStar(require("./CreateProjectApiKeyResponse"), exports);
|
|
62
|
+
__exportStar(require("./CreateServiceDatabaseConnectionRequest"), exports);
|
|
62
63
|
__exportStar(require("./CreateServiceRequestProxyRequest"), exports);
|
|
63
64
|
__exportStar(require("./CreateServiceRequestProxyResponse"), exports);
|
|
64
65
|
__exportStar(require("./CreateSubscriptionPreviewRequest"), exports);
|
|
@@ -101,6 +102,7 @@ __exportStar(require("./LoginHistoryEntry"), exports);
|
|
|
101
102
|
__exportStar(require("./LoginUserResponse"), exports);
|
|
102
103
|
__exportStar(require("./ManagedDatabaseConnection"), exports);
|
|
103
104
|
__exportStar(require("./ManagedDatabaseEnvVarMappings"), exports);
|
|
105
|
+
__exportStar(require("./ManagedDatabaseMetricLimits"), exports);
|
|
104
106
|
__exportStar(require("./ManagedDatabaseMetricPoint"), exports);
|
|
105
107
|
__exportStar(require("./ManagedDatabaseMetricsResponse"), exports);
|
|
106
108
|
__exportStar(require("./ManagedDatabaseObject"), exports);
|