@forteplatforms/sdk 1.0.60 → 1.0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/apis/ProjectsServerApi.d.ts +86 -1
- package/dist/generated/apis/ProjectsServerApi.js +400 -0
- package/dist/generated/models/BuildStepLog.d.ts +20 -0
- package/dist/generated/models/BuildStepLog.js +20 -0
- package/dist/generated/models/CreateWebAppRequest.d.ts +110 -0
- package/dist/generated/models/CreateWebAppRequest.js +85 -0
- package/dist/generated/models/DockerfileGenerationResponse.d.ts +1 -1
- package/dist/generated/models/ForteApiException.d.ts +3 -0
- package/dist/generated/models/ForteApiException.js +3 -0
- package/dist/generated/models/HealthCheckDetectionResponse.d.ts +1 -1
- package/dist/generated/models/PaginatedResponseWebAppBuildRequestObject.d.ts +45 -0
- package/dist/generated/models/PaginatedResponseWebAppBuildRequestObject.js +58 -0
- package/dist/generated/models/ProjectObject.d.ts +7 -0
- package/dist/generated/models/ProjectObject.js +5 -0
- package/dist/generated/models/ServiceBuildRequestObject.d.ts +10 -0
- package/dist/generated/models/ServiceBuildRequestObject.js +10 -0
- package/dist/generated/models/UpdateWebAppRequest.d.ts +90 -0
- package/dist/generated/models/UpdateWebAppRequest.js +67 -0
- package/dist/generated/models/UpdateWebAppResponse.d.ts +40 -0
- package/dist/generated/models/UpdateWebAppResponse.js +55 -0
- package/dist/generated/models/WebAppBuildRequestObject.d.ts +207 -0
- package/dist/generated/models/WebAppBuildRequestObject.js +145 -0
- package/dist/generated/models/WebAppDetectionError.d.ts +50 -0
- package/dist/generated/models/WebAppDetectionError.js +63 -0
- package/dist/generated/models/WebAppDetectionResponse.d.ts +89 -0
- package/dist/generated/models/WebAppDetectionResponse.js +74 -0
- package/dist/generated/models/WebAppObject.d.ts +201 -0
- package/dist/generated/models/WebAppObject.js +123 -0
- package/dist/generated/models/index.d.ts +8 -0
- package/dist/generated/models/index.js +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,110 @@
|
|
|
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 CreateWebAppRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateWebAppRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateWebAppRequest
|
|
22
|
+
*/
|
|
23
|
+
webAppName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateWebAppRequest
|
|
28
|
+
*/
|
|
29
|
+
githubRepositoryUrl: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateWebAppRequest
|
|
34
|
+
*/
|
|
35
|
+
githubBranch?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateWebAppRequest
|
|
40
|
+
*/
|
|
41
|
+
buildTrigger: CreateWebAppRequestBuildTriggerType;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateWebAppRequest
|
|
46
|
+
*/
|
|
47
|
+
buildCommand?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateWebAppRequest
|
|
52
|
+
*/
|
|
53
|
+
buildPath?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateWebAppRequest
|
|
58
|
+
*/
|
|
59
|
+
packageManager?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateWebAppRequest
|
|
64
|
+
*/
|
|
65
|
+
nodeVersion?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateWebAppRequest
|
|
70
|
+
*/
|
|
71
|
+
installCommand?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreateWebAppRequest
|
|
76
|
+
*/
|
|
77
|
+
subdirectory?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {{ [key: string]: string; }}
|
|
81
|
+
* @memberof CreateWebAppRequest
|
|
82
|
+
*/
|
|
83
|
+
environmentVariables?: {
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {{ [key: string]: string; }}
|
|
89
|
+
* @memberof CreateWebAppRequest
|
|
90
|
+
*/
|
|
91
|
+
secrets?: {
|
|
92
|
+
[key: string]: string;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export declare const CreateWebAppRequestBuildTriggerType: {
|
|
99
|
+
readonly PUSH: "PUSH";
|
|
100
|
+
readonly RELEASE_PUBLISHED: "RELEASE_PUBLISHED";
|
|
101
|
+
};
|
|
102
|
+
export type CreateWebAppRequestBuildTriggerType = typeof CreateWebAppRequestBuildTriggerType[keyof typeof CreateWebAppRequestBuildTriggerType];
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the CreateWebAppRequest interface.
|
|
105
|
+
*/
|
|
106
|
+
export declare function instanceOfCreateWebAppRequest(value: object): value is CreateWebAppRequest;
|
|
107
|
+
export declare function CreateWebAppRequestFromJSON(json: any): CreateWebAppRequest;
|
|
108
|
+
export declare function CreateWebAppRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWebAppRequest;
|
|
109
|
+
export declare function CreateWebAppRequestToJSON(json: any): CreateWebAppRequest;
|
|
110
|
+
export declare function CreateWebAppRequestToJSONTyped(value?: CreateWebAppRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
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.CreateWebAppRequestBuildTriggerType = void 0;
|
|
17
|
+
exports.instanceOfCreateWebAppRequest = instanceOfCreateWebAppRequest;
|
|
18
|
+
exports.CreateWebAppRequestFromJSON = CreateWebAppRequestFromJSON;
|
|
19
|
+
exports.CreateWebAppRequestFromJSONTyped = CreateWebAppRequestFromJSONTyped;
|
|
20
|
+
exports.CreateWebAppRequestToJSON = CreateWebAppRequestToJSON;
|
|
21
|
+
exports.CreateWebAppRequestToJSONTyped = CreateWebAppRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CreateWebAppRequestBuildTriggerType = {
|
|
26
|
+
PUSH: 'PUSH',
|
|
27
|
+
RELEASE_PUBLISHED: 'RELEASE_PUBLISHED'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the CreateWebAppRequest interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfCreateWebAppRequest(value) {
|
|
33
|
+
if (!('webAppName' in value) || value['webAppName'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('githubRepositoryUrl' in value) || value['githubRepositoryUrl'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('buildTrigger' in value) || value['buildTrigger'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function CreateWebAppRequestFromJSON(json) {
|
|
42
|
+
return CreateWebAppRequestFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreateWebAppRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'webAppName': json['webAppName'],
|
|
50
|
+
'githubRepositoryUrl': json['githubRepositoryUrl'],
|
|
51
|
+
'githubBranch': json['githubBranch'] == null ? undefined : json['githubBranch'],
|
|
52
|
+
'buildTrigger': json['buildTrigger'],
|
|
53
|
+
'buildCommand': json['buildCommand'] == null ? undefined : json['buildCommand'],
|
|
54
|
+
'buildPath': json['buildPath'] == null ? undefined : json['buildPath'],
|
|
55
|
+
'packageManager': json['packageManager'] == null ? undefined : json['packageManager'],
|
|
56
|
+
'nodeVersion': json['nodeVersion'] == null ? undefined : json['nodeVersion'],
|
|
57
|
+
'installCommand': json['installCommand'] == null ? undefined : json['installCommand'],
|
|
58
|
+
'subdirectory': json['subdirectory'] == null ? undefined : json['subdirectory'],
|
|
59
|
+
'environmentVariables': json['environmentVariables'] == null ? undefined : json['environmentVariables'],
|
|
60
|
+
'secrets': json['secrets'] == null ? undefined : json['secrets'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function CreateWebAppRequestToJSON(json) {
|
|
64
|
+
return CreateWebAppRequestToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function CreateWebAppRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
67
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'webAppName': value['webAppName'],
|
|
73
|
+
'githubRepositoryUrl': value['githubRepositoryUrl'],
|
|
74
|
+
'githubBranch': value['githubBranch'],
|
|
75
|
+
'buildTrigger': value['buildTrigger'],
|
|
76
|
+
'buildCommand': value['buildCommand'],
|
|
77
|
+
'buildPath': value['buildPath'],
|
|
78
|
+
'packageManager': value['packageManager'],
|
|
79
|
+
'nodeVersion': value['nodeVersion'],
|
|
80
|
+
'installCommand': value['installCommand'],
|
|
81
|
+
'subdirectory': value['subdirectory'],
|
|
82
|
+
'environmentVariables': value['environmentVariables'],
|
|
83
|
+
'secrets': value['secrets'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -13,7 +13,7 @@ import type { DockerfileDetectionOutput } from './DockerfileDetectionOutput';
|
|
|
13
13
|
import type { RepositoryAnalysis } from './RepositoryAnalysis';
|
|
14
14
|
import type { DockerfileGenerationError } from './DockerfileGenerationError';
|
|
15
15
|
/**
|
|
16
|
-
* Response from
|
|
16
|
+
* Response from Dockerfile generation analysis (either success with output or error)
|
|
17
17
|
* @export
|
|
18
18
|
* @interface DockerfileGenerationResponse
|
|
19
19
|
*/
|
|
@@ -43,6 +43,9 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
43
43
|
readonly CSRF_TOKEN_MISMATCH: "CSRF_TOKEN_MISMATCH";
|
|
44
44
|
readonly RECAPTCHA_VALIDATION_FAILED: "RECAPTCHA_VALIDATION_FAILED";
|
|
45
45
|
readonly SERVICE_NAME_TAKEN_IN_PROJECT: "SERVICE_NAME_TAKEN_IN_PROJECT";
|
|
46
|
+
readonly WEB_APP_NAME_TAKEN_IN_PROJECT: "WEB_APP_NAME_TAKEN_IN_PROJECT";
|
|
47
|
+
readonly WEB_APP_QUOTA_EXCEEDED: "WEB_APP_QUOTA_EXCEEDED";
|
|
48
|
+
readonly WEB_APP_NOT_FOUND: "WEB_APP_NOT_FOUND";
|
|
46
49
|
readonly SESSION_TOKEN_PROJECT_MISMATCH: "SESSION_TOKEN_PROJECT_MISMATCH";
|
|
47
50
|
readonly INVALID_SESSION_TOKEN: "INVALID_SESSION_TOKEN";
|
|
48
51
|
readonly NO_AUTHORIZATION_CREDENTIAL: "NO_AUTHORIZATION_CREDENTIAL";
|
|
@@ -28,6 +28,9 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
28
28
|
CSRF_TOKEN_MISMATCH: 'CSRF_TOKEN_MISMATCH',
|
|
29
29
|
RECAPTCHA_VALIDATION_FAILED: 'RECAPTCHA_VALIDATION_FAILED',
|
|
30
30
|
SERVICE_NAME_TAKEN_IN_PROJECT: 'SERVICE_NAME_TAKEN_IN_PROJECT',
|
|
31
|
+
WEB_APP_NAME_TAKEN_IN_PROJECT: 'WEB_APP_NAME_TAKEN_IN_PROJECT',
|
|
32
|
+
WEB_APP_QUOTA_EXCEEDED: 'WEB_APP_QUOTA_EXCEEDED',
|
|
33
|
+
WEB_APP_NOT_FOUND: 'WEB_APP_NOT_FOUND',
|
|
31
34
|
SESSION_TOKEN_PROJECT_MISMATCH: 'SESSION_TOKEN_PROJECT_MISMATCH',
|
|
32
35
|
INVALID_SESSION_TOKEN: 'INVALID_SESSION_TOKEN',
|
|
33
36
|
NO_AUTHORIZATION_CREDENTIAL: 'NO_AUTHORIZATION_CREDENTIAL',
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { HealthCheckDetectionError } from './HealthCheckDetectionError';
|
|
13
13
|
import type { HealthCheckDetectionOutput } from './HealthCheckDetectionOutput';
|
|
14
14
|
/**
|
|
15
|
-
* Response from
|
|
15
|
+
* Response from health check detection (either success with config or error)
|
|
16
16
|
* @export
|
|
17
17
|
* @interface HealthCheckDetectionResponse
|
|
18
18
|
*/
|
|
@@ -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 { WebAppBuildRequestObject } from './WebAppBuildRequestObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponseWebAppBuildRequestObject
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponseWebAppBuildRequestObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<WebAppBuildRequestObject>}
|
|
22
|
+
* @memberof PaginatedResponseWebAppBuildRequestObject
|
|
23
|
+
*/
|
|
24
|
+
items: Array<WebAppBuildRequestObject>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof PaginatedResponseWebAppBuildRequestObject
|
|
29
|
+
*/
|
|
30
|
+
hasNextPage: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaginatedResponseWebAppBuildRequestObject
|
|
35
|
+
*/
|
|
36
|
+
nextPageToken?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the PaginatedResponseWebAppBuildRequestObject interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfPaginatedResponseWebAppBuildRequestObject(value: object): value is PaginatedResponseWebAppBuildRequestObject;
|
|
42
|
+
export declare function PaginatedResponseWebAppBuildRequestObjectFromJSON(json: any): PaginatedResponseWebAppBuildRequestObject;
|
|
43
|
+
export declare function PaginatedResponseWebAppBuildRequestObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseWebAppBuildRequestObject;
|
|
44
|
+
export declare function PaginatedResponseWebAppBuildRequestObjectToJSON(json: any): PaginatedResponseWebAppBuildRequestObject;
|
|
45
|
+
export declare function PaginatedResponseWebAppBuildRequestObjectToJSONTyped(value?: PaginatedResponseWebAppBuildRequestObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPaginatedResponseWebAppBuildRequestObject = instanceOfPaginatedResponseWebAppBuildRequestObject;
|
|
17
|
+
exports.PaginatedResponseWebAppBuildRequestObjectFromJSON = PaginatedResponseWebAppBuildRequestObjectFromJSON;
|
|
18
|
+
exports.PaginatedResponseWebAppBuildRequestObjectFromJSONTyped = PaginatedResponseWebAppBuildRequestObjectFromJSONTyped;
|
|
19
|
+
exports.PaginatedResponseWebAppBuildRequestObjectToJSON = PaginatedResponseWebAppBuildRequestObjectToJSON;
|
|
20
|
+
exports.PaginatedResponseWebAppBuildRequestObjectToJSONTyped = PaginatedResponseWebAppBuildRequestObjectToJSONTyped;
|
|
21
|
+
var WebAppBuildRequestObject_1 = require("./WebAppBuildRequestObject");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedResponseWebAppBuildRequestObject interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedResponseWebAppBuildRequestObject(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('hasNextPage' in value) || value['hasNextPage'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function PaginatedResponseWebAppBuildRequestObjectFromJSON(json) {
|
|
33
|
+
return PaginatedResponseWebAppBuildRequestObjectFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function PaginatedResponseWebAppBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'items': (json['items'].map(WebAppBuildRequestObject_1.WebAppBuildRequestObjectFromJSON)),
|
|
41
|
+
'hasNextPage': json['hasNextPage'],
|
|
42
|
+
'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedResponseWebAppBuildRequestObjectToJSON(json) {
|
|
46
|
+
return PaginatedResponseWebAppBuildRequestObjectToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedResponseWebAppBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(WebAppBuildRequestObject_1.WebAppBuildRequestObjectToJSON)),
|
|
55
|
+
'hasNextPage': value['hasNextPage'],
|
|
56
|
+
'nextPageToken': value['nextPageToken'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { WebAppObject } from './WebAppObject';
|
|
12
13
|
import type { ServiceObject } from './ServiceObject';
|
|
13
14
|
import type { StaticWebAppObject } from './StaticWebAppObject';
|
|
14
15
|
/**
|
|
@@ -47,6 +48,12 @@ export interface ProjectObject {
|
|
|
47
48
|
* @memberof ProjectObject
|
|
48
49
|
*/
|
|
49
50
|
staticWebApps: Array<StaticWebAppObject>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<WebAppObject>}
|
|
54
|
+
* @memberof ProjectObject
|
|
55
|
+
*/
|
|
56
|
+
webApps: Array<WebAppObject>;
|
|
50
57
|
/**
|
|
51
58
|
*
|
|
52
59
|
* @type {Date}
|
|
@@ -18,6 +18,7 @@ exports.ProjectObjectFromJSON = ProjectObjectFromJSON;
|
|
|
18
18
|
exports.ProjectObjectFromJSONTyped = ProjectObjectFromJSONTyped;
|
|
19
19
|
exports.ProjectObjectToJSON = ProjectObjectToJSON;
|
|
20
20
|
exports.ProjectObjectToJSONTyped = ProjectObjectToJSONTyped;
|
|
21
|
+
var WebAppObject_1 = require("./WebAppObject");
|
|
21
22
|
var ServiceObject_1 = require("./ServiceObject");
|
|
22
23
|
var StaticWebAppObject_1 = require("./StaticWebAppObject");
|
|
23
24
|
/**
|
|
@@ -32,6 +33,8 @@ function instanceOfProjectObject(value) {
|
|
|
32
33
|
return false;
|
|
33
34
|
if (!('staticWebApps' in value) || value['staticWebApps'] === undefined)
|
|
34
35
|
return false;
|
|
36
|
+
if (!('webApps' in value) || value['webApps'] === undefined)
|
|
37
|
+
return false;
|
|
35
38
|
if (!('createdTimestamp' in value) || value['createdTimestamp'] === undefined)
|
|
36
39
|
return false;
|
|
37
40
|
if (!('roleArn' in value) || value['roleArn'] === undefined)
|
|
@@ -51,6 +54,7 @@ function ProjectObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
54
|
'projectName': json['projectName'],
|
|
52
55
|
'services': (json['services'].map(ServiceObject_1.ServiceObjectFromJSON)),
|
|
53
56
|
'staticWebApps': (json['staticWebApps'].map(StaticWebAppObject_1.StaticWebAppObjectFromJSON)),
|
|
57
|
+
'webApps': (json['webApps'].map(WebAppObject_1.WebAppObjectFromJSON)),
|
|
54
58
|
'createdTimestamp': (new Date(json['createdTimestamp'])),
|
|
55
59
|
'lastModifiedTimestamp': json['lastModifiedTimestamp'] == null ? undefined : (new Date(json['lastModifiedTimestamp'])),
|
|
56
60
|
'roleArn': json['roleArn'],
|
|
@@ -76,6 +80,7 @@ function ProjectObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
76
80
|
'projectName': value['projectName'],
|
|
77
81
|
'services': (value['services'].map(ServiceObject_1.ServiceObjectToJSON)),
|
|
78
82
|
'staticWebApps': (value['staticWebApps'].map(StaticWebAppObject_1.StaticWebAppObjectToJSON)),
|
|
83
|
+
'webApps': (value['webApps'].map(WebAppObject_1.WebAppObjectToJSON)),
|
|
79
84
|
'createdTimestamp': value['createdTimestamp'].toISOString(),
|
|
80
85
|
'lastModifiedTimestamp': value['lastModifiedTimestamp'] == null ? value['lastModifiedTimestamp'] : value['lastModifiedTimestamp'].toISOString(),
|
|
81
86
|
'roleArn': value['roleArn'],
|
|
@@ -129,6 +129,16 @@ export declare const ServiceBuildRequestObjectStatusType: {
|
|
|
129
129
|
readonly VALIDATING_SERVICE_HEALTH: "VALIDATING_SERVICE_HEALTH";
|
|
130
130
|
readonly DEPLOYMENT_FAILURE: "DEPLOYMENT_FAILURE";
|
|
131
131
|
readonly VALIDATION_HEALTH_CHECK_FAILURE: "VALIDATION_HEALTH_CHECK_FAILURE";
|
|
132
|
+
readonly DETECTING_WEB_APP_CONFIG: "DETECTING_WEB_APP_CONFIG";
|
|
133
|
+
readonly WEB_APP_CONFIG_DETECTION_FAILURE: "WEB_APP_CONFIG_DETECTION_FAILURE";
|
|
134
|
+
readonly BUILDING_WEB_APP: "BUILDING_WEB_APP";
|
|
135
|
+
readonly WEB_APP_BUILD_FAILURE: "WEB_APP_BUILD_FAILURE";
|
|
136
|
+
readonly DEPLOYING_STATIC_SITE: "DEPLOYING_STATIC_SITE";
|
|
137
|
+
readonly STATIC_SITE_DEPLOYMENT_FAILURE: "STATIC_SITE_DEPLOYMENT_FAILURE";
|
|
138
|
+
readonly DEPLOYING_SERVER_SIDE_SITE: "DEPLOYING_SERVER_SIDE_SITE";
|
|
139
|
+
readonly SERVER_SIDE_SITE_DEPLOYMENT_FAILURE: "SERVER_SIDE_SITE_DEPLOYMENT_FAILURE";
|
|
140
|
+
readonly CONFIGURING_CUSTOM_DOMAIN: "CONFIGURING_CUSTOM_DOMAIN";
|
|
141
|
+
readonly CUSTOM_DOMAIN_CONFIGURATION_FAILURE: "CUSTOM_DOMAIN_CONFIGURATION_FAILURE";
|
|
132
142
|
readonly CANCELLED: "CANCELLED";
|
|
133
143
|
readonly FAILED: "FAILED";
|
|
134
144
|
readonly SUCCEEDED: "SUCCEEDED";
|
|
@@ -42,6 +42,16 @@ exports.ServiceBuildRequestObjectStatusType = {
|
|
|
42
42
|
VALIDATING_SERVICE_HEALTH: 'VALIDATING_SERVICE_HEALTH',
|
|
43
43
|
DEPLOYMENT_FAILURE: 'DEPLOYMENT_FAILURE',
|
|
44
44
|
VALIDATION_HEALTH_CHECK_FAILURE: 'VALIDATION_HEALTH_CHECK_FAILURE',
|
|
45
|
+
DETECTING_WEB_APP_CONFIG: 'DETECTING_WEB_APP_CONFIG',
|
|
46
|
+
WEB_APP_CONFIG_DETECTION_FAILURE: 'WEB_APP_CONFIG_DETECTION_FAILURE',
|
|
47
|
+
BUILDING_WEB_APP: 'BUILDING_WEB_APP',
|
|
48
|
+
WEB_APP_BUILD_FAILURE: 'WEB_APP_BUILD_FAILURE',
|
|
49
|
+
DEPLOYING_STATIC_SITE: 'DEPLOYING_STATIC_SITE',
|
|
50
|
+
STATIC_SITE_DEPLOYMENT_FAILURE: 'STATIC_SITE_DEPLOYMENT_FAILURE',
|
|
51
|
+
DEPLOYING_SERVER_SIDE_SITE: 'DEPLOYING_SERVER_SIDE_SITE',
|
|
52
|
+
SERVER_SIDE_SITE_DEPLOYMENT_FAILURE: 'SERVER_SIDE_SITE_DEPLOYMENT_FAILURE',
|
|
53
|
+
CONFIGURING_CUSTOM_DOMAIN: 'CONFIGURING_CUSTOM_DOMAIN',
|
|
54
|
+
CUSTOM_DOMAIN_CONFIGURATION_FAILURE: 'CUSTOM_DOMAIN_CONFIGURATION_FAILURE',
|
|
45
55
|
CANCELLED: 'CANCELLED',
|
|
46
56
|
FAILED: 'FAILED',
|
|
47
57
|
SUCCEEDED: 'SUCCEEDED'
|
|
@@ -0,0 +1,90 @@
|
|
|
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 UpdateWebAppRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateWebAppRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateWebAppRequest
|
|
22
|
+
*/
|
|
23
|
+
webAppName?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateWebAppRequest
|
|
28
|
+
*/
|
|
29
|
+
buildCommand?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateWebAppRequest
|
|
34
|
+
*/
|
|
35
|
+
buildPath?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateWebAppRequest
|
|
40
|
+
*/
|
|
41
|
+
packageManager?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateWebAppRequest
|
|
46
|
+
*/
|
|
47
|
+
nodeVersion?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateWebAppRequest
|
|
52
|
+
*/
|
|
53
|
+
installCommand?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {{ [key: string]: string; }}
|
|
57
|
+
* @memberof UpdateWebAppRequest
|
|
58
|
+
*/
|
|
59
|
+
environmentVariables?: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {{ [key: string]: string; }}
|
|
65
|
+
* @memberof UpdateWebAppRequest
|
|
66
|
+
*/
|
|
67
|
+
secretsToUpsert?: {
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Set<string>}
|
|
73
|
+
* @memberof UpdateWebAppRequest
|
|
74
|
+
*/
|
|
75
|
+
secretKeysToDelete?: Set<string>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof UpdateWebAppRequest
|
|
80
|
+
*/
|
|
81
|
+
resetDetectedConfig?: boolean;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the UpdateWebAppRequest interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfUpdateWebAppRequest(value: object): value is UpdateWebAppRequest;
|
|
87
|
+
export declare function UpdateWebAppRequestFromJSON(json: any): UpdateWebAppRequest;
|
|
88
|
+
export declare function UpdateWebAppRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateWebAppRequest;
|
|
89
|
+
export declare function UpdateWebAppRequestToJSON(json: any): UpdateWebAppRequest;
|
|
90
|
+
export declare function UpdateWebAppRequestToJSONTyped(value?: UpdateWebAppRequest | 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.instanceOfUpdateWebAppRequest = instanceOfUpdateWebAppRequest;
|
|
17
|
+
exports.UpdateWebAppRequestFromJSON = UpdateWebAppRequestFromJSON;
|
|
18
|
+
exports.UpdateWebAppRequestFromJSONTyped = UpdateWebAppRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateWebAppRequestToJSON = UpdateWebAppRequestToJSON;
|
|
20
|
+
exports.UpdateWebAppRequestToJSONTyped = UpdateWebAppRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateWebAppRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateWebAppRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateWebAppRequestFromJSON(json) {
|
|
28
|
+
return UpdateWebAppRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateWebAppRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'webAppName': json['webAppName'] == null ? undefined : json['webAppName'],
|
|
36
|
+
'buildCommand': json['buildCommand'] == null ? undefined : json['buildCommand'],
|
|
37
|
+
'buildPath': json['buildPath'] == null ? undefined : json['buildPath'],
|
|
38
|
+
'packageManager': json['packageManager'] == null ? undefined : json['packageManager'],
|
|
39
|
+
'nodeVersion': json['nodeVersion'] == null ? undefined : json['nodeVersion'],
|
|
40
|
+
'installCommand': json['installCommand'] == null ? undefined : json['installCommand'],
|
|
41
|
+
'environmentVariables': json['environmentVariables'] == null ? undefined : json['environmentVariables'],
|
|
42
|
+
'secretsToUpsert': json['secretsToUpsert'] == null ? undefined : json['secretsToUpsert'],
|
|
43
|
+
'secretKeysToDelete': json['secretKeysToDelete'] == null ? undefined : new Set(json['secretKeysToDelete']),
|
|
44
|
+
'resetDetectedConfig': json['resetDetectedConfig'] == null ? undefined : json['resetDetectedConfig'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function UpdateWebAppRequestToJSON(json) {
|
|
48
|
+
return UpdateWebAppRequestToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function UpdateWebAppRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'webAppName': value['webAppName'],
|
|
57
|
+
'buildCommand': value['buildCommand'],
|
|
58
|
+
'buildPath': value['buildPath'],
|
|
59
|
+
'packageManager': value['packageManager'],
|
|
60
|
+
'nodeVersion': value['nodeVersion'],
|
|
61
|
+
'installCommand': value['installCommand'],
|
|
62
|
+
'environmentVariables': value['environmentVariables'],
|
|
63
|
+
'secretsToUpsert': value['secretsToUpsert'],
|
|
64
|
+
'secretKeysToDelete': value['secretKeysToDelete'] == null ? undefined : Array.from(value['secretKeysToDelete']),
|
|
65
|
+
'resetDetectedConfig': value['resetDetectedConfig'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { WebAppObject } from './WebAppObject';
|
|
13
|
+
import type { WebAppBuildRequestObject } from './WebAppBuildRequestObject';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface UpdateWebAppResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateWebAppResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {WebAppObject}
|
|
23
|
+
* @memberof UpdateWebAppResponse
|
|
24
|
+
*/
|
|
25
|
+
updatedWebApp: WebAppObject;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WebAppBuildRequestObject}
|
|
29
|
+
* @memberof UpdateWebAppResponse
|
|
30
|
+
*/
|
|
31
|
+
build?: WebAppBuildRequestObject;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the UpdateWebAppResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfUpdateWebAppResponse(value: object): value is UpdateWebAppResponse;
|
|
37
|
+
export declare function UpdateWebAppResponseFromJSON(json: any): UpdateWebAppResponse;
|
|
38
|
+
export declare function UpdateWebAppResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateWebAppResponse;
|
|
39
|
+
export declare function UpdateWebAppResponseToJSON(json: any): UpdateWebAppResponse;
|
|
40
|
+
export declare function UpdateWebAppResponseToJSONTyped(value?: UpdateWebAppResponse | null, ignoreDiscriminator?: boolean): any;
|