@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,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./ProjectsServerApi"), exports);
|
|
20
|
+
__exportStar(require("./UsersServerApi"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./runtime"), exports);
|
|
20
|
+
__exportStar(require("./apis/index"), exports);
|
|
21
|
+
__exportStar(require("./models/index"), exports);
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AddContactMethodRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AddContactMethodRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddContactMethodRequest
|
|
22
|
+
*/
|
|
23
|
+
email?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddContactMethodRequest
|
|
28
|
+
*/
|
|
29
|
+
phoneNumber?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AddContactMethodRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAddContactMethodRequest(value: object): value is AddContactMethodRequest;
|
|
35
|
+
export declare function AddContactMethodRequestFromJSON(json: any): AddContactMethodRequest;
|
|
36
|
+
export declare function AddContactMethodRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddContactMethodRequest;
|
|
37
|
+
export declare function AddContactMethodRequestToJSON(json: any): AddContactMethodRequest;
|
|
38
|
+
export declare function AddContactMethodRequestToJSONTyped(value?: AddContactMethodRequest | 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.instanceOfAddContactMethodRequest = instanceOfAddContactMethodRequest;
|
|
17
|
+
exports.AddContactMethodRequestFromJSON = AddContactMethodRequestFromJSON;
|
|
18
|
+
exports.AddContactMethodRequestFromJSONTyped = AddContactMethodRequestFromJSONTyped;
|
|
19
|
+
exports.AddContactMethodRequestToJSON = AddContactMethodRequestToJSON;
|
|
20
|
+
exports.AddContactMethodRequestToJSONTyped = AddContactMethodRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AddContactMethodRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAddContactMethodRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AddContactMethodRequestFromJSON(json) {
|
|
28
|
+
return AddContactMethodRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AddContactMethodRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
36
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AddContactMethodRequestToJSON(json) {
|
|
40
|
+
return AddContactMethodRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AddContactMethodRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'email': value['email'],
|
|
49
|
+
'phoneNumber': value['phoneNumber'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 BuildStepLog
|
|
16
|
+
*/
|
|
17
|
+
export interface BuildStepLog {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof BuildStepLog
|
|
22
|
+
*/
|
|
23
|
+
timestamp: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuildStepLog
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuildStepLog
|
|
34
|
+
*/
|
|
35
|
+
previousStatus?: BuildStepLogPreviousStatusType;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BuildStepLog
|
|
40
|
+
*/
|
|
41
|
+
newStatus?: BuildStepLogNewStatusType;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const BuildStepLogPreviousStatusType: {
|
|
47
|
+
readonly PENDING: "PENDING";
|
|
48
|
+
readonly GENERATING_DOCKERFILE: "GENERATING_DOCKERFILE";
|
|
49
|
+
readonly DOCKERFILE_GENERATION_FAILURE: "DOCKERFILE_GENERATION_FAILURE";
|
|
50
|
+
readonly BUILDING_DOCKER_IMAGE: "BUILDING_DOCKER_IMAGE";
|
|
51
|
+
readonly DOCKER_IMAGE_BUILD_FAILURE: "DOCKER_IMAGE_BUILD_FAILURE";
|
|
52
|
+
readonly DETECTING_HEALTH_CHECK_CONFIG: "DETECTING_HEALTH_CHECK_CONFIG";
|
|
53
|
+
readonly HEALTH_CHECK_DETECTION_FAILURE: "HEALTH_CHECK_DETECTION_FAILURE";
|
|
54
|
+
readonly DEPLOYMENT_PENDING: "DEPLOYMENT_PENDING";
|
|
55
|
+
readonly DEPLOYMENT_IN_PROGRESS: "DEPLOYMENT_IN_PROGRESS";
|
|
56
|
+
readonly CONFIGURING_NETWORK: "CONFIGURING_NETWORK";
|
|
57
|
+
readonly VALIDATING_SERVICE_HEALTH: "VALIDATING_SERVICE_HEALTH";
|
|
58
|
+
readonly DEPLOYMENT_FAILURE: "DEPLOYMENT_FAILURE";
|
|
59
|
+
readonly VALIDATION_HEALTH_CHECK_FAILURE: "VALIDATION_HEALTH_CHECK_FAILURE";
|
|
60
|
+
readonly CANCELLED: "CANCELLED";
|
|
61
|
+
readonly FAILED: "FAILED";
|
|
62
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
63
|
+
};
|
|
64
|
+
export type BuildStepLogPreviousStatusType = typeof BuildStepLogPreviousStatusType[keyof typeof BuildStepLogPreviousStatusType];
|
|
65
|
+
/**
|
|
66
|
+
* @export
|
|
67
|
+
*/
|
|
68
|
+
export declare const BuildStepLogNewStatusType: {
|
|
69
|
+
readonly PENDING: "PENDING";
|
|
70
|
+
readonly GENERATING_DOCKERFILE: "GENERATING_DOCKERFILE";
|
|
71
|
+
readonly DOCKERFILE_GENERATION_FAILURE: "DOCKERFILE_GENERATION_FAILURE";
|
|
72
|
+
readonly BUILDING_DOCKER_IMAGE: "BUILDING_DOCKER_IMAGE";
|
|
73
|
+
readonly DOCKER_IMAGE_BUILD_FAILURE: "DOCKER_IMAGE_BUILD_FAILURE";
|
|
74
|
+
readonly DETECTING_HEALTH_CHECK_CONFIG: "DETECTING_HEALTH_CHECK_CONFIG";
|
|
75
|
+
readonly HEALTH_CHECK_DETECTION_FAILURE: "HEALTH_CHECK_DETECTION_FAILURE";
|
|
76
|
+
readonly DEPLOYMENT_PENDING: "DEPLOYMENT_PENDING";
|
|
77
|
+
readonly DEPLOYMENT_IN_PROGRESS: "DEPLOYMENT_IN_PROGRESS";
|
|
78
|
+
readonly CONFIGURING_NETWORK: "CONFIGURING_NETWORK";
|
|
79
|
+
readonly VALIDATING_SERVICE_HEALTH: "VALIDATING_SERVICE_HEALTH";
|
|
80
|
+
readonly DEPLOYMENT_FAILURE: "DEPLOYMENT_FAILURE";
|
|
81
|
+
readonly VALIDATION_HEALTH_CHECK_FAILURE: "VALIDATION_HEALTH_CHECK_FAILURE";
|
|
82
|
+
readonly CANCELLED: "CANCELLED";
|
|
83
|
+
readonly FAILED: "FAILED";
|
|
84
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
85
|
+
};
|
|
86
|
+
export type BuildStepLogNewStatusType = typeof BuildStepLogNewStatusType[keyof typeof BuildStepLogNewStatusType];
|
|
87
|
+
/**
|
|
88
|
+
* Check if a given object implements the BuildStepLog interface.
|
|
89
|
+
*/
|
|
90
|
+
export declare function instanceOfBuildStepLog(value: object): value is BuildStepLog;
|
|
91
|
+
export declare function BuildStepLogFromJSON(json: any): BuildStepLog;
|
|
92
|
+
export declare function BuildStepLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuildStepLog;
|
|
93
|
+
export declare function BuildStepLogToJSON(json: any): BuildStepLog;
|
|
94
|
+
export declare function BuildStepLogToJSONTyped(value?: BuildStepLog | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,102 @@
|
|
|
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.BuildStepLogNewStatusType = exports.BuildStepLogPreviousStatusType = void 0;
|
|
17
|
+
exports.instanceOfBuildStepLog = instanceOfBuildStepLog;
|
|
18
|
+
exports.BuildStepLogFromJSON = BuildStepLogFromJSON;
|
|
19
|
+
exports.BuildStepLogFromJSONTyped = BuildStepLogFromJSONTyped;
|
|
20
|
+
exports.BuildStepLogToJSON = BuildStepLogToJSON;
|
|
21
|
+
exports.BuildStepLogToJSONTyped = BuildStepLogToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BuildStepLogPreviousStatusType = {
|
|
26
|
+
PENDING: 'PENDING',
|
|
27
|
+
GENERATING_DOCKERFILE: 'GENERATING_DOCKERFILE',
|
|
28
|
+
DOCKERFILE_GENERATION_FAILURE: 'DOCKERFILE_GENERATION_FAILURE',
|
|
29
|
+
BUILDING_DOCKER_IMAGE: 'BUILDING_DOCKER_IMAGE',
|
|
30
|
+
DOCKER_IMAGE_BUILD_FAILURE: 'DOCKER_IMAGE_BUILD_FAILURE',
|
|
31
|
+
DETECTING_HEALTH_CHECK_CONFIG: 'DETECTING_HEALTH_CHECK_CONFIG',
|
|
32
|
+
HEALTH_CHECK_DETECTION_FAILURE: 'HEALTH_CHECK_DETECTION_FAILURE',
|
|
33
|
+
DEPLOYMENT_PENDING: 'DEPLOYMENT_PENDING',
|
|
34
|
+
DEPLOYMENT_IN_PROGRESS: 'DEPLOYMENT_IN_PROGRESS',
|
|
35
|
+
CONFIGURING_NETWORK: 'CONFIGURING_NETWORK',
|
|
36
|
+
VALIDATING_SERVICE_HEALTH: 'VALIDATING_SERVICE_HEALTH',
|
|
37
|
+
DEPLOYMENT_FAILURE: 'DEPLOYMENT_FAILURE',
|
|
38
|
+
VALIDATION_HEALTH_CHECK_FAILURE: 'VALIDATION_HEALTH_CHECK_FAILURE',
|
|
39
|
+
CANCELLED: 'CANCELLED',
|
|
40
|
+
FAILED: 'FAILED',
|
|
41
|
+
SUCCEEDED: 'SUCCEEDED'
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
exports.BuildStepLogNewStatusType = {
|
|
47
|
+
PENDING: 'PENDING',
|
|
48
|
+
GENERATING_DOCKERFILE: 'GENERATING_DOCKERFILE',
|
|
49
|
+
DOCKERFILE_GENERATION_FAILURE: 'DOCKERFILE_GENERATION_FAILURE',
|
|
50
|
+
BUILDING_DOCKER_IMAGE: 'BUILDING_DOCKER_IMAGE',
|
|
51
|
+
DOCKER_IMAGE_BUILD_FAILURE: 'DOCKER_IMAGE_BUILD_FAILURE',
|
|
52
|
+
DETECTING_HEALTH_CHECK_CONFIG: 'DETECTING_HEALTH_CHECK_CONFIG',
|
|
53
|
+
HEALTH_CHECK_DETECTION_FAILURE: 'HEALTH_CHECK_DETECTION_FAILURE',
|
|
54
|
+
DEPLOYMENT_PENDING: 'DEPLOYMENT_PENDING',
|
|
55
|
+
DEPLOYMENT_IN_PROGRESS: 'DEPLOYMENT_IN_PROGRESS',
|
|
56
|
+
CONFIGURING_NETWORK: 'CONFIGURING_NETWORK',
|
|
57
|
+
VALIDATING_SERVICE_HEALTH: 'VALIDATING_SERVICE_HEALTH',
|
|
58
|
+
DEPLOYMENT_FAILURE: 'DEPLOYMENT_FAILURE',
|
|
59
|
+
VALIDATION_HEALTH_CHECK_FAILURE: 'VALIDATION_HEALTH_CHECK_FAILURE',
|
|
60
|
+
CANCELLED: 'CANCELLED',
|
|
61
|
+
FAILED: 'FAILED',
|
|
62
|
+
SUCCEEDED: 'SUCCEEDED'
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the BuildStepLog interface.
|
|
66
|
+
*/
|
|
67
|
+
function instanceOfBuildStepLog(value) {
|
|
68
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
71
|
+
return false;
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
function BuildStepLogFromJSON(json) {
|
|
75
|
+
return BuildStepLogFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
function BuildStepLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'timestamp': (new Date(json['timestamp'])),
|
|
83
|
+
'message': json['message'],
|
|
84
|
+
'previousStatus': json['previousStatus'] == null ? undefined : json['previousStatus'],
|
|
85
|
+
'newStatus': json['newStatus'] == null ? undefined : json['newStatus'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function BuildStepLogToJSON(json) {
|
|
89
|
+
return BuildStepLogToJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
function BuildStepLogToJSONTyped(value, ignoreDiscriminator) {
|
|
92
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
93
|
+
if (value == null) {
|
|
94
|
+
return value;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
98
|
+
'message': value['message'],
|
|
99
|
+
'previousStatus': value['previousStatus'],
|
|
100
|
+
'newStatus': value['newStatus'],
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 ContactMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface ContactMethod {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ContactMethod
|
|
22
|
+
*/
|
|
23
|
+
contactMethodId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ContactMethod
|
|
28
|
+
*/
|
|
29
|
+
verified: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ContactMethod
|
|
34
|
+
*/
|
|
35
|
+
phoneNumber?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ContactMethod
|
|
40
|
+
*/
|
|
41
|
+
email?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ContactMethod
|
|
46
|
+
*/
|
|
47
|
+
googleUniqueSubId?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof ContactMethod
|
|
52
|
+
*/
|
|
53
|
+
linkedTime: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof ContactMethod
|
|
58
|
+
*/
|
|
59
|
+
verifiedTime?: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof ContactMethod
|
|
64
|
+
*/
|
|
65
|
+
pendingVerificationCodeExpirationTime?: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof ContactMethod
|
|
70
|
+
*/
|
|
71
|
+
verificationCodeLastSentTime?: Date;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the ContactMethod interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfContactMethod(value: object): value is ContactMethod;
|
|
77
|
+
export declare function ContactMethodFromJSON(json: any): ContactMethod;
|
|
78
|
+
export declare function ContactMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactMethod;
|
|
79
|
+
export declare function ContactMethodToJSON(json: any): ContactMethod;
|
|
80
|
+
export declare function ContactMethodToJSONTyped(value?: ContactMethod | 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.instanceOfContactMethod = instanceOfContactMethod;
|
|
17
|
+
exports.ContactMethodFromJSON = ContactMethodFromJSON;
|
|
18
|
+
exports.ContactMethodFromJSONTyped = ContactMethodFromJSONTyped;
|
|
19
|
+
exports.ContactMethodToJSON = ContactMethodToJSON;
|
|
20
|
+
exports.ContactMethodToJSONTyped = ContactMethodToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ContactMethod interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfContactMethod(value) {
|
|
25
|
+
if (!('contactMethodId' in value) || value['contactMethodId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('verified' in value) || value['verified'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('linkedTime' in value) || value['linkedTime'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ContactMethodFromJSON(json) {
|
|
34
|
+
return ContactMethodFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ContactMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'contactMethodId': json['contactMethodId'],
|
|
42
|
+
'verified': json['verified'],
|
|
43
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
44
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
45
|
+
'googleUniqueSubId': json['googleUniqueSubId'] == null ? undefined : json['googleUniqueSubId'],
|
|
46
|
+
'linkedTime': (new Date(json['linkedTime'])),
|
|
47
|
+
'verifiedTime': json['verifiedTime'] == null ? undefined : (new Date(json['verifiedTime'])),
|
|
48
|
+
'pendingVerificationCodeExpirationTime': json['pendingVerificationCodeExpirationTime'] == null ? undefined : (new Date(json['pendingVerificationCodeExpirationTime'])),
|
|
49
|
+
'verificationCodeLastSentTime': json['verificationCodeLastSentTime'] == null ? undefined : (new Date(json['verificationCodeLastSentTime'])),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function ContactMethodToJSON(json) {
|
|
53
|
+
return ContactMethodToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ContactMethodToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'contactMethodId': value['contactMethodId'],
|
|
62
|
+
'verified': value['verified'],
|
|
63
|
+
'phoneNumber': value['phoneNumber'],
|
|
64
|
+
'email': value['email'],
|
|
65
|
+
'googleUniqueSubId': value['googleUniqueSubId'],
|
|
66
|
+
'linkedTime': value['linkedTime'].toISOString(),
|
|
67
|
+
'verifiedTime': value['verifiedTime'] == null ? value['verifiedTime'] : value['verifiedTime'].toISOString(),
|
|
68
|
+
'pendingVerificationCodeExpirationTime': value['pendingVerificationCodeExpirationTime'] == null ? value['pendingVerificationCodeExpirationTime'] : value['pendingVerificationCodeExpirationTime'].toISOString(),
|
|
69
|
+
'verificationCodeLastSentTime': value['verificationCodeLastSentTime'] == null ? value['verificationCodeLastSentTime'] : value['verificationCodeLastSentTime'].toISOString(),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CreateForteServiceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateForteServiceRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateForteServiceRequest
|
|
22
|
+
*/
|
|
23
|
+
githubRepositoryUrl: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateForteServiceRequest
|
|
28
|
+
*/
|
|
29
|
+
githubBranch: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateForteServiceRequest
|
|
34
|
+
*/
|
|
35
|
+
serviceName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {{ [key: string]: string; }}
|
|
39
|
+
* @memberof CreateForteServiceRequest
|
|
40
|
+
*/
|
|
41
|
+
environmentVariables?: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: string; }}
|
|
47
|
+
* @memberof CreateForteServiceRequest
|
|
48
|
+
*/
|
|
49
|
+
secrets?: {
|
|
50
|
+
[key: string]: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof CreateForteServiceRequest
|
|
56
|
+
*/
|
|
57
|
+
baseInstances?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof CreateForteServiceRequest
|
|
62
|
+
*/
|
|
63
|
+
containerCpu?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the CreateForteServiceRequest interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfCreateForteServiceRequest(value: object): value is CreateForteServiceRequest;
|
|
69
|
+
export declare function CreateForteServiceRequestFromJSON(json: any): CreateForteServiceRequest;
|
|
70
|
+
export declare function CreateForteServiceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateForteServiceRequest;
|
|
71
|
+
export declare function CreateForteServiceRequestToJSON(json: any): CreateForteServiceRequest;
|
|
72
|
+
export declare function CreateForteServiceRequestToJSONTyped(value?: CreateForteServiceRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfCreateForteServiceRequest = instanceOfCreateForteServiceRequest;
|
|
17
|
+
exports.CreateForteServiceRequestFromJSON = CreateForteServiceRequestFromJSON;
|
|
18
|
+
exports.CreateForteServiceRequestFromJSONTyped = CreateForteServiceRequestFromJSONTyped;
|
|
19
|
+
exports.CreateForteServiceRequestToJSON = CreateForteServiceRequestToJSON;
|
|
20
|
+
exports.CreateForteServiceRequestToJSONTyped = CreateForteServiceRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateForteServiceRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateForteServiceRequest(value) {
|
|
25
|
+
if (!('githubRepositoryUrl' in value) || value['githubRepositoryUrl'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('githubBranch' in value) || value['githubBranch'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('serviceName' in value) || value['serviceName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function CreateForteServiceRequestFromJSON(json) {
|
|
34
|
+
return CreateForteServiceRequestFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function CreateForteServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'githubRepositoryUrl': json['githubRepositoryUrl'],
|
|
42
|
+
'githubBranch': json['githubBranch'],
|
|
43
|
+
'serviceName': json['serviceName'],
|
|
44
|
+
'environmentVariables': json['environmentVariables'] == null ? undefined : json['environmentVariables'],
|
|
45
|
+
'secrets': json['secrets'] == null ? undefined : json['secrets'],
|
|
46
|
+
'baseInstances': json['baseInstances'] == null ? undefined : json['baseInstances'],
|
|
47
|
+
'containerCpu': json['containerCpu'] == null ? undefined : json['containerCpu'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function CreateForteServiceRequestToJSON(json) {
|
|
51
|
+
return CreateForteServiceRequestToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function CreateForteServiceRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'githubRepositoryUrl': value['githubRepositoryUrl'],
|
|
60
|
+
'githubBranch': value['githubBranch'],
|
|
61
|
+
'serviceName': value['serviceName'],
|
|
62
|
+
'environmentVariables': value['environmentVariables'],
|
|
63
|
+
'secrets': value['secrets'],
|
|
64
|
+
'baseInstances': value['baseInstances'],
|
|
65
|
+
'containerCpu': value['containerCpu'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateServiceRequestProxyRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateServiceRequestProxyRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateServiceRequestProxyRequest
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateServiceRequestProxyRequest
|
|
28
|
+
*/
|
|
29
|
+
httpMethod: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: string; }}
|
|
33
|
+
* @memberof CreateServiceRequestProxyRequest
|
|
34
|
+
*/
|
|
35
|
+
headers: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the CreateServiceRequestProxyRequest interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfCreateServiceRequestProxyRequest(value: object): value is CreateServiceRequestProxyRequest;
|
|
43
|
+
export declare function CreateServiceRequestProxyRequestFromJSON(json: any): CreateServiceRequestProxyRequest;
|
|
44
|
+
export declare function CreateServiceRequestProxyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateServiceRequestProxyRequest;
|
|
45
|
+
export declare function CreateServiceRequestProxyRequestToJSON(json: any): CreateServiceRequestProxyRequest;
|
|
46
|
+
export declare function CreateServiceRequestProxyRequestToJSONTyped(value?: CreateServiceRequestProxyRequest | null, ignoreDiscriminator?: boolean): any;
|