@forteplatforms/sdk 1.0.13
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/README.md +113 -0
- package/dist/generated/apis/ProjectsServerApi.d.ts +323 -0
- package/dist/generated/apis/ProjectsServerApi.js +1356 -0
- package/dist/generated/apis/UsersServerApi.d.ts +113 -0
- package/dist/generated/apis/UsersServerApi.js +536 -0
- package/dist/generated/apis/index.d.ts +2 -0
- package/dist/generated/apis/index.js +20 -0
- package/dist/generated/index.d.ts +3 -0
- package/dist/generated/index.js +21 -0
- package/dist/generated/models/AddContactMethodRequest.d.ts +38 -0
- package/dist/generated/models/AddContactMethodRequest.js +51 -0
- package/dist/generated/models/BuildStepLog.d.ts +94 -0
- package/dist/generated/models/BuildStepLog.js +102 -0
- package/dist/generated/models/ContactMethod.d.ts +80 -0
- package/dist/generated/models/ContactMethod.js +71 -0
- package/dist/generated/models/CreateForteServiceRequest.d.ts +72 -0
- package/dist/generated/models/CreateForteServiceRequest.js +67 -0
- package/dist/generated/models/CreateServiceRequestProxyRequest.d.ts +46 -0
- package/dist/generated/models/CreateServiceRequestProxyRequest.js +59 -0
- package/dist/generated/models/CreateServiceRequestProxyResponse.d.ts +41 -0
- package/dist/generated/models/CreateServiceRequestProxyResponse.js +52 -0
- package/dist/generated/models/DockerfileDetectionOutput.d.ts +38 -0
- package/dist/generated/models/DockerfileDetectionOutput.js +55 -0
- package/dist/generated/models/DockerfileGenerationError.d.ts +58 -0
- package/dist/generated/models/DockerfileGenerationError.js +67 -0
- package/dist/generated/models/DockerfileGenerationResponse.d.ts +59 -0
- package/dist/generated/models/DockerfileGenerationResponse.js +62 -0
- package/dist/generated/models/ForteApiException.d.ts +84 -0
- package/dist/generated/models/ForteApiException.js +93 -0
- package/dist/generated/models/HealthCheckConfig.d.ts +62 -0
- package/dist/generated/models/HealthCheckConfig.js +59 -0
- package/dist/generated/models/HealthCheckDetectionError.d.ts +77 -0
- package/dist/generated/models/HealthCheckDetectionError.js +74 -0
- package/dist/generated/models/HealthCheckDetectionOutput.d.ts +39 -0
- package/dist/generated/models/HealthCheckDetectionOutput.js +52 -0
- package/dist/generated/models/HealthCheckDetectionResponse.d.ts +46 -0
- package/dist/generated/models/HealthCheckDetectionResponse.js +57 -0
- package/dist/generated/models/LatencyMetrics.d.ts +45 -0
- package/dist/generated/models/LatencyMetrics.js +60 -0
- package/dist/generated/models/LatencyStats.d.ts +50 -0
- package/dist/generated/models/LatencyStats.js +63 -0
- package/dist/generated/models/LogLineObject.d.ts +68 -0
- package/dist/generated/models/LogLineObject.js +67 -0
- package/dist/generated/models/LoginUserResponse.d.ts +40 -0
- package/dist/generated/models/LoginUserResponse.js +57 -0
- package/dist/generated/models/PaginatedResponseLogLineObject.d.ts +45 -0
- package/dist/generated/models/PaginatedResponseLogLineObject.js +58 -0
- package/dist/generated/models/PaginatedResponseRequestLogObject.d.ts +45 -0
- package/dist/generated/models/PaginatedResponseRequestLogObject.js +58 -0
- package/dist/generated/models/PaginatedResponseServiceBuildRequestObject.d.ts +45 -0
- package/dist/generated/models/PaginatedResponseServiceBuildRequestObject.js +58 -0
- package/dist/generated/models/PaginatedResponseUserActionLogObject.d.ts +45 -0
- package/dist/generated/models/PaginatedResponseUserActionLogObject.js +58 -0
- package/dist/generated/models/PaginatedResponseUserObject.d.ts +45 -0
- package/dist/generated/models/PaginatedResponseUserObject.js +58 -0
- package/dist/generated/models/ProjectObject.d.ts +87 -0
- package/dist/generated/models/ProjectObject.js +78 -0
- package/dist/generated/models/RegisterUserRequest.d.ts +52 -0
- package/dist/generated/models/RegisterUserRequest.js +55 -0
- package/dist/generated/models/RenewSessionTokenResponse.d.ts +38 -0
- package/dist/generated/models/RenewSessionTokenResponse.js +53 -0
- package/dist/generated/models/RepositoryAnalysis.d.ts +32 -0
- package/dist/generated/models/RepositoryAnalysis.js +49 -0
- package/dist/generated/models/RequestLogObject.d.ts +109 -0
- package/dist/generated/models/RequestLogObject.js +90 -0
- package/dist/generated/models/RequestLogObjectMeta.d.ts +56 -0
- package/dist/generated/models/RequestLogObjectMeta.js +63 -0
- package/dist/generated/models/ServiceBuildRequestObject.d.ts +133 -0
- package/dist/generated/models/ServiceBuildRequestObject.js +111 -0
- package/dist/generated/models/ServiceMetricsResponse.d.ts +56 -0
- package/dist/generated/models/ServiceMetricsResponse.js +65 -0
- package/dist/generated/models/ServiceObject.d.ts +145 -0
- package/dist/generated/models/ServiceObject.js +100 -0
- package/dist/generated/models/TimeSeriesDataPoint.d.ts +38 -0
- package/dist/generated/models/TimeSeriesDataPoint.js +55 -0
- package/dist/generated/models/UpdateForteServiceRequest.d.ts +84 -0
- package/dist/generated/models/UpdateForteServiceRequest.js +65 -0
- package/dist/generated/models/UpdateForteServiceResponse.d.ts +40 -0
- package/dist/generated/models/UpdateForteServiceResponse.js +55 -0
- package/dist/generated/models/UpdateProjectRequest.d.ts +32 -0
- package/dist/generated/models/UpdateProjectRequest.js +49 -0
- package/dist/generated/models/UserActionLogObject.d.ts +66 -0
- package/dist/generated/models/UserActionLogObject.js +77 -0
- package/dist/generated/models/UserMetricsResponse.d.ts +69 -0
- package/dist/generated/models/UserMetricsResponse.js +66 -0
- package/dist/generated/models/UserObject.d.ts +98 -0
- package/dist/generated/models/UserObject.js +89 -0
- package/dist/generated/models/index.d.ts +39 -0
- package/dist/generated/models/index.js +57 -0
- package/dist/generated/runtime.d.ts +184 -0
- package/dist/generated/runtime.js +564 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +39 -0
- package/package.json +24 -0
|
@@ -0,0 +1,62 @@
|
|
|
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 HealthCheckConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface HealthCheckConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof HealthCheckConfig
|
|
22
|
+
*/
|
|
23
|
+
interval?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof HealthCheckConfig
|
|
28
|
+
*/
|
|
29
|
+
timeout?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof HealthCheckConfig
|
|
34
|
+
*/
|
|
35
|
+
healthyThreshold?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof HealthCheckConfig
|
|
40
|
+
*/
|
|
41
|
+
unhealthyThreshold?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof HealthCheckConfig
|
|
46
|
+
*/
|
|
47
|
+
protocol?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof HealthCheckConfig
|
|
52
|
+
*/
|
|
53
|
+
path?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the HealthCheckConfig interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfHealthCheckConfig(value: object): value is HealthCheckConfig;
|
|
59
|
+
export declare function HealthCheckConfigFromJSON(json: any): HealthCheckConfig;
|
|
60
|
+
export declare function HealthCheckConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheckConfig;
|
|
61
|
+
export declare function HealthCheckConfigToJSON(json: any): HealthCheckConfig;
|
|
62
|
+
export declare function HealthCheckConfigToJSONTyped(value?: HealthCheckConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfHealthCheckConfig = instanceOfHealthCheckConfig;
|
|
17
|
+
exports.HealthCheckConfigFromJSON = HealthCheckConfigFromJSON;
|
|
18
|
+
exports.HealthCheckConfigFromJSONTyped = HealthCheckConfigFromJSONTyped;
|
|
19
|
+
exports.HealthCheckConfigToJSON = HealthCheckConfigToJSON;
|
|
20
|
+
exports.HealthCheckConfigToJSONTyped = HealthCheckConfigToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HealthCheckConfig interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHealthCheckConfig(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function HealthCheckConfigFromJSON(json) {
|
|
28
|
+
return HealthCheckConfigFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function HealthCheckConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'interval': json['interval'] == null ? undefined : json['interval'],
|
|
36
|
+
'timeout': json['timeout'] == null ? undefined : json['timeout'],
|
|
37
|
+
'healthyThreshold': json['healthyThreshold'] == null ? undefined : json['healthyThreshold'],
|
|
38
|
+
'unhealthyThreshold': json['unhealthyThreshold'] == null ? undefined : json['unhealthyThreshold'],
|
|
39
|
+
'protocol': json['protocol'] == null ? undefined : json['protocol'],
|
|
40
|
+
'path': json['path'] == null ? undefined : json['path'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function HealthCheckConfigToJSON(json) {
|
|
44
|
+
return HealthCheckConfigToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function HealthCheckConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'interval': value['interval'],
|
|
53
|
+
'timeout': value['timeout'],
|
|
54
|
+
'healthyThreshold': value['healthyThreshold'],
|
|
55
|
+
'unhealthyThreshold': value['unhealthyThreshold'],
|
|
56
|
+
'protocol': value['protocol'],
|
|
57
|
+
'path': value['path'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
* Detailed error information from health check detection failure
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HealthCheckDetectionError
|
|
16
|
+
*/
|
|
17
|
+
export interface HealthCheckDetectionError {
|
|
18
|
+
/**
|
|
19
|
+
* Type of error that occurred
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HealthCheckDetectionError
|
|
22
|
+
*/
|
|
23
|
+
errorType?: HealthCheckDetectionErrorErrorTypeType;
|
|
24
|
+
/**
|
|
25
|
+
* Detailed error message explaining what went wrong
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HealthCheckDetectionError
|
|
28
|
+
*/
|
|
29
|
+
errorMessage?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Port number that was exposed in the Dockerfile (if detected)
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof HealthCheckDetectionError
|
|
34
|
+
*/
|
|
35
|
+
exposedPort?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Application framework that was detected (if any)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof HealthCheckDetectionError
|
|
40
|
+
*/
|
|
41
|
+
detectedFramework?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Health check endpoint paths that were searched
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof HealthCheckDetectionError
|
|
46
|
+
*/
|
|
47
|
+
searchedPaths?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Actionable suggestions for resolving the error
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof HealthCheckDetectionError
|
|
52
|
+
*/
|
|
53
|
+
suggestions?: Array<string>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const HealthCheckDetectionErrorErrorTypeType: {
|
|
59
|
+
readonly TIMEOUT: "TIMEOUT";
|
|
60
|
+
readonly NO_EXPOSED_PORT: "NO_EXPOSED_PORT";
|
|
61
|
+
readonly MULTIPLE_EXPOSED_PORTS: "MULTIPLE_EXPOSED_PORTS";
|
|
62
|
+
readonly INVALID_PORT_NUMBER: "INVALID_PORT_NUMBER";
|
|
63
|
+
readonly NO_HEALTH_CHECK_FOUND: "NO_HEALTH_CHECK_FOUND";
|
|
64
|
+
readonly FRAMEWORK_NOT_RECOGNIZED: "FRAMEWORK_NOT_RECOGNIZED";
|
|
65
|
+
readonly NO_HTTP_ROUTES_FOUND: "NO_HTTP_ROUTES_FOUND";
|
|
66
|
+
readonly TCP_ONLY_SERVICE: "TCP_ONLY_SERVICE";
|
|
67
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
68
|
+
};
|
|
69
|
+
export type HealthCheckDetectionErrorErrorTypeType = typeof HealthCheckDetectionErrorErrorTypeType[keyof typeof HealthCheckDetectionErrorErrorTypeType];
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the HealthCheckDetectionError interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfHealthCheckDetectionError(value: object): value is HealthCheckDetectionError;
|
|
74
|
+
export declare function HealthCheckDetectionErrorFromJSON(json: any): HealthCheckDetectionError;
|
|
75
|
+
export declare function HealthCheckDetectionErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheckDetectionError;
|
|
76
|
+
export declare function HealthCheckDetectionErrorToJSON(json: any): HealthCheckDetectionError;
|
|
77
|
+
export declare function HealthCheckDetectionErrorToJSONTyped(value?: HealthCheckDetectionError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.HealthCheckDetectionErrorErrorTypeType = void 0;
|
|
17
|
+
exports.instanceOfHealthCheckDetectionError = instanceOfHealthCheckDetectionError;
|
|
18
|
+
exports.HealthCheckDetectionErrorFromJSON = HealthCheckDetectionErrorFromJSON;
|
|
19
|
+
exports.HealthCheckDetectionErrorFromJSONTyped = HealthCheckDetectionErrorFromJSONTyped;
|
|
20
|
+
exports.HealthCheckDetectionErrorToJSON = HealthCheckDetectionErrorToJSON;
|
|
21
|
+
exports.HealthCheckDetectionErrorToJSONTyped = HealthCheckDetectionErrorToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.HealthCheckDetectionErrorErrorTypeType = {
|
|
26
|
+
TIMEOUT: 'TIMEOUT',
|
|
27
|
+
NO_EXPOSED_PORT: 'NO_EXPOSED_PORT',
|
|
28
|
+
MULTIPLE_EXPOSED_PORTS: 'MULTIPLE_EXPOSED_PORTS',
|
|
29
|
+
INVALID_PORT_NUMBER: 'INVALID_PORT_NUMBER',
|
|
30
|
+
NO_HEALTH_CHECK_FOUND: 'NO_HEALTH_CHECK_FOUND',
|
|
31
|
+
FRAMEWORK_NOT_RECOGNIZED: 'FRAMEWORK_NOT_RECOGNIZED',
|
|
32
|
+
NO_HTTP_ROUTES_FOUND: 'NO_HTTP_ROUTES_FOUND',
|
|
33
|
+
TCP_ONLY_SERVICE: 'TCP_ONLY_SERVICE',
|
|
34
|
+
INTERNAL_ERROR: 'INTERNAL_ERROR'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the HealthCheckDetectionError interface.
|
|
38
|
+
*/
|
|
39
|
+
function instanceOfHealthCheckDetectionError(value) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function HealthCheckDetectionErrorFromJSON(json) {
|
|
43
|
+
return HealthCheckDetectionErrorFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function HealthCheckDetectionErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'errorType': json['errorType'] == null ? undefined : json['errorType'],
|
|
51
|
+
'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
|
|
52
|
+
'exposedPort': json['exposedPort'] == null ? undefined : json['exposedPort'],
|
|
53
|
+
'detectedFramework': json['detectedFramework'] == null ? undefined : json['detectedFramework'],
|
|
54
|
+
'searchedPaths': json['searchedPaths'] == null ? undefined : json['searchedPaths'],
|
|
55
|
+
'suggestions': json['suggestions'] == null ? undefined : json['suggestions'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function HealthCheckDetectionErrorToJSON(json) {
|
|
59
|
+
return HealthCheckDetectionErrorToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function HealthCheckDetectionErrorToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'errorType': value['errorType'],
|
|
68
|
+
'errorMessage': value['errorMessage'],
|
|
69
|
+
'exposedPort': value['exposedPort'],
|
|
70
|
+
'detectedFramework': value['detectedFramework'],
|
|
71
|
+
'searchedPaths': value['searchedPaths'],
|
|
72
|
+
'suggestions': value['suggestions'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -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 { HealthCheckConfig } from './HealthCheckConfig';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HealthCheckDetectionOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface HealthCheckDetectionOutput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof HealthCheckDetectionOutput
|
|
23
|
+
*/
|
|
24
|
+
applicationPort?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {HealthCheckConfig}
|
|
28
|
+
* @memberof HealthCheckDetectionOutput
|
|
29
|
+
*/
|
|
30
|
+
healthCheck?: HealthCheckConfig;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the HealthCheckDetectionOutput interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfHealthCheckDetectionOutput(value: object): value is HealthCheckDetectionOutput;
|
|
36
|
+
export declare function HealthCheckDetectionOutputFromJSON(json: any): HealthCheckDetectionOutput;
|
|
37
|
+
export declare function HealthCheckDetectionOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheckDetectionOutput;
|
|
38
|
+
export declare function HealthCheckDetectionOutputToJSON(json: any): HealthCheckDetectionOutput;
|
|
39
|
+
export declare function HealthCheckDetectionOutputToJSONTyped(value?: HealthCheckDetectionOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfHealthCheckDetectionOutput = instanceOfHealthCheckDetectionOutput;
|
|
17
|
+
exports.HealthCheckDetectionOutputFromJSON = HealthCheckDetectionOutputFromJSON;
|
|
18
|
+
exports.HealthCheckDetectionOutputFromJSONTyped = HealthCheckDetectionOutputFromJSONTyped;
|
|
19
|
+
exports.HealthCheckDetectionOutputToJSON = HealthCheckDetectionOutputToJSON;
|
|
20
|
+
exports.HealthCheckDetectionOutputToJSONTyped = HealthCheckDetectionOutputToJSONTyped;
|
|
21
|
+
var HealthCheckConfig_1 = require("./HealthCheckConfig");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the HealthCheckDetectionOutput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfHealthCheckDetectionOutput(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function HealthCheckDetectionOutputFromJSON(json) {
|
|
29
|
+
return HealthCheckDetectionOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function HealthCheckDetectionOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'applicationPort': json['applicationPort'] == null ? undefined : json['applicationPort'],
|
|
37
|
+
'healthCheck': json['healthCheck'] == null ? undefined : (0, HealthCheckConfig_1.HealthCheckConfigFromJSON)(json['healthCheck']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function HealthCheckDetectionOutputToJSON(json) {
|
|
41
|
+
return HealthCheckDetectionOutputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function HealthCheckDetectionOutputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'applicationPort': value['applicationPort'],
|
|
50
|
+
'healthCheck': (0, HealthCheckConfig_1.HealthCheckConfigToJSON)(value['healthCheck']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { HealthCheckDetectionError } from './HealthCheckDetectionError';
|
|
13
|
+
import type { HealthCheckDetectionOutput } from './HealthCheckDetectionOutput';
|
|
14
|
+
/**
|
|
15
|
+
* Response from Claude Code health check detection (either success with config or error)
|
|
16
|
+
* @export
|
|
17
|
+
* @interface HealthCheckDetectionResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface HealthCheckDetectionResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Whether health check detection succeeded
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof HealthCheckDetectionResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Health check configuration (present when success=true)
|
|
28
|
+
* @type {HealthCheckDetectionOutput}
|
|
29
|
+
* @memberof HealthCheckDetectionResponse
|
|
30
|
+
*/
|
|
31
|
+
config?: HealthCheckDetectionOutput;
|
|
32
|
+
/**
|
|
33
|
+
* Error details (present when success=false)
|
|
34
|
+
* @type {HealthCheckDetectionError}
|
|
35
|
+
* @memberof HealthCheckDetectionResponse
|
|
36
|
+
*/
|
|
37
|
+
error?: HealthCheckDetectionError;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the HealthCheckDetectionResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfHealthCheckDetectionResponse(value: object): value is HealthCheckDetectionResponse;
|
|
43
|
+
export declare function HealthCheckDetectionResponseFromJSON(json: any): HealthCheckDetectionResponse;
|
|
44
|
+
export declare function HealthCheckDetectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheckDetectionResponse;
|
|
45
|
+
export declare function HealthCheckDetectionResponseToJSON(json: any): HealthCheckDetectionResponse;
|
|
46
|
+
export declare function HealthCheckDetectionResponseToJSONTyped(value?: HealthCheckDetectionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfHealthCheckDetectionResponse = instanceOfHealthCheckDetectionResponse;
|
|
17
|
+
exports.HealthCheckDetectionResponseFromJSON = HealthCheckDetectionResponseFromJSON;
|
|
18
|
+
exports.HealthCheckDetectionResponseFromJSONTyped = HealthCheckDetectionResponseFromJSONTyped;
|
|
19
|
+
exports.HealthCheckDetectionResponseToJSON = HealthCheckDetectionResponseToJSON;
|
|
20
|
+
exports.HealthCheckDetectionResponseToJSONTyped = HealthCheckDetectionResponseToJSONTyped;
|
|
21
|
+
var HealthCheckDetectionError_1 = require("./HealthCheckDetectionError");
|
|
22
|
+
var HealthCheckDetectionOutput_1 = require("./HealthCheckDetectionOutput");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the HealthCheckDetectionResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfHealthCheckDetectionResponse(value) {
|
|
27
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function HealthCheckDetectionResponseFromJSON(json) {
|
|
32
|
+
return HealthCheckDetectionResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function HealthCheckDetectionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'success': json['success'],
|
|
40
|
+
'config': json['config'] == null ? undefined : (0, HealthCheckDetectionOutput_1.HealthCheckDetectionOutputFromJSON)(json['config']),
|
|
41
|
+
'error': json['error'] == null ? undefined : (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorFromJSON)(json['error']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function HealthCheckDetectionResponseToJSON(json) {
|
|
45
|
+
return HealthCheckDetectionResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function HealthCheckDetectionResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'success': value['success'],
|
|
54
|
+
'config': (0, HealthCheckDetectionOutput_1.HealthCheckDetectionOutputToJSON)(value['config']),
|
|
55
|
+
'error': (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorToJSON)(value['error']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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 { LatencyStats } from './LatencyStats';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LatencyMetrics
|
|
17
|
+
*/
|
|
18
|
+
export interface LatencyMetrics {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {LatencyStats}
|
|
22
|
+
* @memberof LatencyMetrics
|
|
23
|
+
*/
|
|
24
|
+
targetLatency: LatencyStats;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {LatencyStats}
|
|
28
|
+
* @memberof LatencyMetrics
|
|
29
|
+
*/
|
|
30
|
+
integrationLatency: LatencyStats;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {LatencyStats}
|
|
34
|
+
* @memberof LatencyMetrics
|
|
35
|
+
*/
|
|
36
|
+
totalLatency: LatencyStats;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the LatencyMetrics interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfLatencyMetrics(value: object): value is LatencyMetrics;
|
|
42
|
+
export declare function LatencyMetricsFromJSON(json: any): LatencyMetrics;
|
|
43
|
+
export declare function LatencyMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LatencyMetrics;
|
|
44
|
+
export declare function LatencyMetricsToJSON(json: any): LatencyMetrics;
|
|
45
|
+
export declare function LatencyMetricsToJSONTyped(value?: LatencyMetrics | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfLatencyMetrics = instanceOfLatencyMetrics;
|
|
17
|
+
exports.LatencyMetricsFromJSON = LatencyMetricsFromJSON;
|
|
18
|
+
exports.LatencyMetricsFromJSONTyped = LatencyMetricsFromJSONTyped;
|
|
19
|
+
exports.LatencyMetricsToJSON = LatencyMetricsToJSON;
|
|
20
|
+
exports.LatencyMetricsToJSONTyped = LatencyMetricsToJSONTyped;
|
|
21
|
+
var LatencyStats_1 = require("./LatencyStats");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LatencyMetrics interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLatencyMetrics(value) {
|
|
26
|
+
if (!('targetLatency' in value) || value['targetLatency'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('integrationLatency' in value) || value['integrationLatency'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('totalLatency' in value) || value['totalLatency'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function LatencyMetricsFromJSON(json) {
|
|
35
|
+
return LatencyMetricsFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function LatencyMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'targetLatency': (0, LatencyStats_1.LatencyStatsFromJSON)(json['targetLatency']),
|
|
43
|
+
'integrationLatency': (0, LatencyStats_1.LatencyStatsFromJSON)(json['integrationLatency']),
|
|
44
|
+
'totalLatency': (0, LatencyStats_1.LatencyStatsFromJSON)(json['totalLatency']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function LatencyMetricsToJSON(json) {
|
|
48
|
+
return LatencyMetricsToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function LatencyMetricsToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'targetLatency': (0, LatencyStats_1.LatencyStatsToJSON)(value['targetLatency']),
|
|
57
|
+
'integrationLatency': (0, LatencyStats_1.LatencyStatsToJSON)(value['integrationLatency']),
|
|
58
|
+
'totalLatency': (0, LatencyStats_1.LatencyStatsToJSON)(value['totalLatency']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LatencyStats
|
|
16
|
+
*/
|
|
17
|
+
export interface LatencyStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LatencyStats
|
|
22
|
+
*/
|
|
23
|
+
p50: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof LatencyStats
|
|
28
|
+
*/
|
|
29
|
+
p99: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof LatencyStats
|
|
34
|
+
*/
|
|
35
|
+
min: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof LatencyStats
|
|
40
|
+
*/
|
|
41
|
+
max: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the LatencyStats interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfLatencyStats(value: object): value is LatencyStats;
|
|
47
|
+
export declare function LatencyStatsFromJSON(json: any): LatencyStats;
|
|
48
|
+
export declare function LatencyStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LatencyStats;
|
|
49
|
+
export declare function LatencyStatsToJSON(json: any): LatencyStats;
|
|
50
|
+
export declare function LatencyStatsToJSONTyped(value?: LatencyStats | null, ignoreDiscriminator?: boolean): any;
|