@forteplatforms/sdk 1.0.61 → 1.0.85
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 +115 -1
- package/dist/generated/apis/ProjectsServerApi.js +527 -2
- 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/DockerfileDetectionOutput.d.ts +0 -6
- package/dist/generated/models/DockerfileDetectionOutput.js +0 -4
- package/dist/generated/models/DockerfileGenerationResponse.d.ts +1 -1
- package/dist/generated/models/ForteApiException.d.ts +5 -0
- package/dist/generated/models/ForteApiException.js +6 -1
- 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 +3 -3
- package/dist/generated/models/ProjectObject.js +4 -4
- package/dist/generated/models/SendUserEmailRequest.d.ts +38 -0
- package/dist/generated/models/SendUserEmailRequest.js +55 -0
- package/dist/generated/models/SendUserSmsRequest.d.ts +32 -0
- package/dist/generated/models/SendUserSmsRequest.js +51 -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/UserActionLogObject.d.ts +7 -0
- package/dist/generated/models/UserActionLogObject.js +8 -1
- package/dist/generated/models/WebAppBuildRequestObject.d.ts +219 -0
- package/dist/generated/models/WebAppBuildRequestObject.js +149 -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/{StaticWebAppObject.js → WebAppObject.js} +45 -17
- package/dist/generated/models/index.d.ts +10 -1
- package/dist/generated/models/index.js +10 -1
- package/package.json +1 -1
- package/dist/generated/models/StaticWebAppObject.d.ts +0 -132
|
@@ -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
|
+
* Detailed error information from web app config detection failure
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebAppDetectionError
|
|
16
|
+
*/
|
|
17
|
+
export interface WebAppDetectionError {
|
|
18
|
+
/**
|
|
19
|
+
* Type of error that occurred
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebAppDetectionError
|
|
22
|
+
*/
|
|
23
|
+
errorType?: WebAppDetectionErrorErrorTypeType;
|
|
24
|
+
/**
|
|
25
|
+
* Detailed error message explaining what went wrong
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WebAppDetectionError
|
|
28
|
+
*/
|
|
29
|
+
message?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const WebAppDetectionErrorErrorTypeType: {
|
|
35
|
+
readonly REPOSITORY_ANALYSIS_FAILED: "REPOSITORY_ANALYSIS_FAILED";
|
|
36
|
+
readonly MISSING_PACKAGE_JSON: "MISSING_PACKAGE_JSON";
|
|
37
|
+
readonly UNSUPPORTED_FRAMEWORK: "UNSUPPORTED_FRAMEWORK";
|
|
38
|
+
readonly AMBIGUOUS_PROJECT_STRUCTURE: "AMBIGUOUS_PROJECT_STRUCTURE";
|
|
39
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
40
|
+
readonly TIMEOUT: "TIMEOUT";
|
|
41
|
+
};
|
|
42
|
+
export type WebAppDetectionErrorErrorTypeType = typeof WebAppDetectionErrorErrorTypeType[keyof typeof WebAppDetectionErrorErrorTypeType];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the WebAppDetectionError interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfWebAppDetectionError(value: object): value is WebAppDetectionError;
|
|
47
|
+
export declare function WebAppDetectionErrorFromJSON(json: any): WebAppDetectionError;
|
|
48
|
+
export declare function WebAppDetectionErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebAppDetectionError;
|
|
49
|
+
export declare function WebAppDetectionErrorToJSON(json: any): WebAppDetectionError;
|
|
50
|
+
export declare function WebAppDetectionErrorToJSONTyped(value?: WebAppDetectionError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.WebAppDetectionErrorErrorTypeType = void 0;
|
|
17
|
+
exports.instanceOfWebAppDetectionError = instanceOfWebAppDetectionError;
|
|
18
|
+
exports.WebAppDetectionErrorFromJSON = WebAppDetectionErrorFromJSON;
|
|
19
|
+
exports.WebAppDetectionErrorFromJSONTyped = WebAppDetectionErrorFromJSONTyped;
|
|
20
|
+
exports.WebAppDetectionErrorToJSON = WebAppDetectionErrorToJSON;
|
|
21
|
+
exports.WebAppDetectionErrorToJSONTyped = WebAppDetectionErrorToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.WebAppDetectionErrorErrorTypeType = {
|
|
26
|
+
REPOSITORY_ANALYSIS_FAILED: 'REPOSITORY_ANALYSIS_FAILED',
|
|
27
|
+
MISSING_PACKAGE_JSON: 'MISSING_PACKAGE_JSON',
|
|
28
|
+
UNSUPPORTED_FRAMEWORK: 'UNSUPPORTED_FRAMEWORK',
|
|
29
|
+
AMBIGUOUS_PROJECT_STRUCTURE: 'AMBIGUOUS_PROJECT_STRUCTURE',
|
|
30
|
+
INTERNAL_ERROR: 'INTERNAL_ERROR',
|
|
31
|
+
TIMEOUT: 'TIMEOUT'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the WebAppDetectionError interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfWebAppDetectionError(value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function WebAppDetectionErrorFromJSON(json) {
|
|
40
|
+
return WebAppDetectionErrorFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function WebAppDetectionErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'errorType': json['errorType'] == null ? undefined : json['errorType'],
|
|
48
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function WebAppDetectionErrorToJSON(json) {
|
|
52
|
+
return WebAppDetectionErrorToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function WebAppDetectionErrorToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'errorType': value['errorType'],
|
|
61
|
+
'message': value['message'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { RepositoryAnalysis } from './RepositoryAnalysis';
|
|
13
|
+
/**
|
|
14
|
+
* Response from web app configuration detection (either success with config or error)
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WebAppDetectionResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface WebAppDetectionResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Whether the web app serves only static assets (STATIC) or includes server-side rendering (SERVER_SIDE)
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WebAppDetectionResponse
|
|
23
|
+
*/
|
|
24
|
+
webAppType?: WebAppDetectionResponseWebAppTypeType;
|
|
25
|
+
/**
|
|
26
|
+
* Detected package manager (npm, yarn, pnpm, or bun)
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WebAppDetectionResponse
|
|
29
|
+
*/
|
|
30
|
+
packageManager?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Detected Node.js version (e.g. "20")
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WebAppDetectionResponse
|
|
35
|
+
*/
|
|
36
|
+
nodeVersion?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Build command to produce the output directory
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof WebAppDetectionResponse
|
|
41
|
+
*/
|
|
42
|
+
buildCommand?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Path to the build output directory
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof WebAppDetectionResponse
|
|
47
|
+
*/
|
|
48
|
+
buildPath?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Install command override, useful for monorepos
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof WebAppDetectionResponse
|
|
53
|
+
*/
|
|
54
|
+
installCommand?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Detected frontend framework (e.g. "Vite", "Next.js", "Astro")
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof WebAppDetectionResponse
|
|
59
|
+
*/
|
|
60
|
+
detectedFramework?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Monorepo subdirectory containing the web app
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof WebAppDetectionResponse
|
|
65
|
+
*/
|
|
66
|
+
subdirectory?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Analysis results from scanning the repository structure
|
|
69
|
+
* @type {RepositoryAnalysis}
|
|
70
|
+
* @memberof WebAppDetectionResponse
|
|
71
|
+
*/
|
|
72
|
+
repositoryAnalysis?: RepositoryAnalysis;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export declare const WebAppDetectionResponseWebAppTypeType: {
|
|
78
|
+
readonly STATIC: "STATIC";
|
|
79
|
+
readonly SERVER_SIDE: "SERVER_SIDE";
|
|
80
|
+
};
|
|
81
|
+
export type WebAppDetectionResponseWebAppTypeType = typeof WebAppDetectionResponseWebAppTypeType[keyof typeof WebAppDetectionResponseWebAppTypeType];
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the WebAppDetectionResponse interface.
|
|
84
|
+
*/
|
|
85
|
+
export declare function instanceOfWebAppDetectionResponse(value: object): value is WebAppDetectionResponse;
|
|
86
|
+
export declare function WebAppDetectionResponseFromJSON(json: any): WebAppDetectionResponse;
|
|
87
|
+
export declare function WebAppDetectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebAppDetectionResponse;
|
|
88
|
+
export declare function WebAppDetectionResponseToJSON(json: any): WebAppDetectionResponse;
|
|
89
|
+
export declare function WebAppDetectionResponseToJSONTyped(value?: WebAppDetectionResponse | 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.WebAppDetectionResponseWebAppTypeType = void 0;
|
|
17
|
+
exports.instanceOfWebAppDetectionResponse = instanceOfWebAppDetectionResponse;
|
|
18
|
+
exports.WebAppDetectionResponseFromJSON = WebAppDetectionResponseFromJSON;
|
|
19
|
+
exports.WebAppDetectionResponseFromJSONTyped = WebAppDetectionResponseFromJSONTyped;
|
|
20
|
+
exports.WebAppDetectionResponseToJSON = WebAppDetectionResponseToJSON;
|
|
21
|
+
exports.WebAppDetectionResponseToJSONTyped = WebAppDetectionResponseToJSONTyped;
|
|
22
|
+
var RepositoryAnalysis_1 = require("./RepositoryAnalysis");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.WebAppDetectionResponseWebAppTypeType = {
|
|
27
|
+
STATIC: 'STATIC',
|
|
28
|
+
SERVER_SIDE: 'SERVER_SIDE'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the WebAppDetectionResponse interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfWebAppDetectionResponse(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function WebAppDetectionResponseFromJSON(json) {
|
|
37
|
+
return WebAppDetectionResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function WebAppDetectionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'webAppType': json['webAppType'] == null ? undefined : json['webAppType'],
|
|
45
|
+
'packageManager': json['packageManager'] == null ? undefined : json['packageManager'],
|
|
46
|
+
'nodeVersion': json['nodeVersion'] == null ? undefined : json['nodeVersion'],
|
|
47
|
+
'buildCommand': json['buildCommand'] == null ? undefined : json['buildCommand'],
|
|
48
|
+
'buildPath': json['buildPath'] == null ? undefined : json['buildPath'],
|
|
49
|
+
'installCommand': json['installCommand'] == null ? undefined : json['installCommand'],
|
|
50
|
+
'detectedFramework': json['detectedFramework'] == null ? undefined : json['detectedFramework'],
|
|
51
|
+
'subdirectory': json['subdirectory'] == null ? undefined : json['subdirectory'],
|
|
52
|
+
'repositoryAnalysis': json['repositoryAnalysis'] == null ? undefined : (0, RepositoryAnalysis_1.RepositoryAnalysisFromJSON)(json['repositoryAnalysis']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function WebAppDetectionResponseToJSON(json) {
|
|
56
|
+
return WebAppDetectionResponseToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function WebAppDetectionResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'webAppType': value['webAppType'],
|
|
65
|
+
'packageManager': value['packageManager'],
|
|
66
|
+
'nodeVersion': value['nodeVersion'],
|
|
67
|
+
'buildCommand': value['buildCommand'],
|
|
68
|
+
'buildPath': value['buildPath'],
|
|
69
|
+
'installCommand': value['installCommand'],
|
|
70
|
+
'detectedFramework': value['detectedFramework'],
|
|
71
|
+
'subdirectory': value['subdirectory'],
|
|
72
|
+
'repositoryAnalysis': (0, RepositoryAnalysis_1.RepositoryAnalysisToJSON)(value['repositoryAnalysis']),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
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 { WebAppDetectionResponse } from './WebAppDetectionResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WebAppObject
|
|
17
|
+
*/
|
|
18
|
+
export interface WebAppObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WebAppObject
|
|
23
|
+
*/
|
|
24
|
+
webAppId?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WebAppObject
|
|
29
|
+
*/
|
|
30
|
+
webAppName: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WebAppObject
|
|
35
|
+
*/
|
|
36
|
+
forteDnsEndpoint?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof WebAppObject
|
|
41
|
+
*/
|
|
42
|
+
forteDnsEndpointEnabled: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof WebAppObject
|
|
47
|
+
*/
|
|
48
|
+
customDnsEndpoints?: Array<string>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof WebAppObject
|
|
53
|
+
*/
|
|
54
|
+
buildPath?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof WebAppObject
|
|
59
|
+
*/
|
|
60
|
+
webAppType?: WebAppObjectWebAppTypeType;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof WebAppObject
|
|
65
|
+
*/
|
|
66
|
+
packageManager?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof WebAppObject
|
|
71
|
+
*/
|
|
72
|
+
nodeVersion?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof WebAppObject
|
|
77
|
+
*/
|
|
78
|
+
installCommand?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof WebAppObject
|
|
83
|
+
*/
|
|
84
|
+
subdirectory?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof WebAppObject
|
|
89
|
+
*/
|
|
90
|
+
detectedFramework?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {WebAppDetectionResponse}
|
|
94
|
+
* @memberof WebAppObject
|
|
95
|
+
*/
|
|
96
|
+
detectionResponse?: WebAppDetectionResponse;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof WebAppObject
|
|
101
|
+
*/
|
|
102
|
+
hostingProviderAppId?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof WebAppObject
|
|
107
|
+
*/
|
|
108
|
+
hostingProviderBranchName?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof WebAppObject
|
|
113
|
+
*/
|
|
114
|
+
hostingProviderDomainStatus?: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {Date}
|
|
118
|
+
* @memberof WebAppObject
|
|
119
|
+
*/
|
|
120
|
+
createdTimestamp?: Date;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {Date}
|
|
124
|
+
* @memberof WebAppObject
|
|
125
|
+
*/
|
|
126
|
+
lastModifiedTimestamp?: Date;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof WebAppObject
|
|
131
|
+
*/
|
|
132
|
+
githubRepositoryUrl: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof WebAppObject
|
|
137
|
+
*/
|
|
138
|
+
githubBuildTrigger: WebAppObjectGithubBuildTriggerType;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof WebAppObject
|
|
143
|
+
*/
|
|
144
|
+
githubBranch?: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof WebAppObject
|
|
149
|
+
*/
|
|
150
|
+
currentBuildId?: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {Array<string>}
|
|
154
|
+
* @memberof WebAppObject
|
|
155
|
+
*/
|
|
156
|
+
enqueuedBuildIds?: Array<string>;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {{ [key: string]: string; }}
|
|
160
|
+
* @memberof WebAppObject
|
|
161
|
+
*/
|
|
162
|
+
environmentVariables?: {
|
|
163
|
+
[key: string]: string;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @type {string}
|
|
168
|
+
* @memberof WebAppObject
|
|
169
|
+
*/
|
|
170
|
+
baseDirectory?: string;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @type {Set<string>}
|
|
174
|
+
* @memberof WebAppObject
|
|
175
|
+
*/
|
|
176
|
+
secretKeys?: Set<string>;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @export
|
|
180
|
+
*/
|
|
181
|
+
export declare const WebAppObjectWebAppTypeType: {
|
|
182
|
+
readonly STATIC: "STATIC";
|
|
183
|
+
readonly SERVER_SIDE: "SERVER_SIDE";
|
|
184
|
+
};
|
|
185
|
+
export type WebAppObjectWebAppTypeType = typeof WebAppObjectWebAppTypeType[keyof typeof WebAppObjectWebAppTypeType];
|
|
186
|
+
/**
|
|
187
|
+
* @export
|
|
188
|
+
*/
|
|
189
|
+
export declare const WebAppObjectGithubBuildTriggerType: {
|
|
190
|
+
readonly PUSH: "PUSH";
|
|
191
|
+
readonly RELEASE_PUBLISHED: "RELEASE_PUBLISHED";
|
|
192
|
+
};
|
|
193
|
+
export type WebAppObjectGithubBuildTriggerType = typeof WebAppObjectGithubBuildTriggerType[keyof typeof WebAppObjectGithubBuildTriggerType];
|
|
194
|
+
/**
|
|
195
|
+
* Check if a given object implements the WebAppObject interface.
|
|
196
|
+
*/
|
|
197
|
+
export declare function instanceOfWebAppObject(value: object): value is WebAppObject;
|
|
198
|
+
export declare function WebAppObjectFromJSON(json: any): WebAppObject;
|
|
199
|
+
export declare function WebAppObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebAppObject;
|
|
200
|
+
export declare function WebAppObjectToJSON(json: any): WebAppObject;
|
|
201
|
+
export declare function WebAppObjectToJSONTyped(value?: WebAppObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,23 +13,31 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.WebAppObjectGithubBuildTriggerType = exports.WebAppObjectWebAppTypeType = void 0;
|
|
17
|
+
exports.instanceOfWebAppObject = instanceOfWebAppObject;
|
|
18
|
+
exports.WebAppObjectFromJSON = WebAppObjectFromJSON;
|
|
19
|
+
exports.WebAppObjectFromJSONTyped = WebAppObjectFromJSONTyped;
|
|
20
|
+
exports.WebAppObjectToJSON = WebAppObjectToJSON;
|
|
21
|
+
exports.WebAppObjectToJSONTyped = WebAppObjectToJSONTyped;
|
|
22
|
+
var WebAppDetectionResponse_1 = require("./WebAppDetectionResponse");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
25
|
-
exports.
|
|
26
|
+
exports.WebAppObjectWebAppTypeType = {
|
|
27
|
+
STATIC: 'STATIC',
|
|
28
|
+
SERVER_SIDE: 'SERVER_SIDE'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.WebAppObjectGithubBuildTriggerType = {
|
|
26
34
|
PUSH: 'PUSH',
|
|
27
35
|
RELEASE_PUBLISHED: 'RELEASE_PUBLISHED'
|
|
28
36
|
};
|
|
29
37
|
/**
|
|
30
|
-
* Check if a given object implements the
|
|
38
|
+
* Check if a given object implements the WebAppObject interface.
|
|
31
39
|
*/
|
|
32
|
-
function
|
|
40
|
+
function instanceOfWebAppObject(value) {
|
|
33
41
|
if (!('webAppName' in value) || value['webAppName'] === undefined)
|
|
34
42
|
return false;
|
|
35
43
|
if (!('forteDnsEndpointEnabled' in value) || value['forteDnsEndpointEnabled'] === undefined)
|
|
@@ -40,20 +48,30 @@ function instanceOfStaticWebAppObject(value) {
|
|
|
40
48
|
return false;
|
|
41
49
|
return true;
|
|
42
50
|
}
|
|
43
|
-
function
|
|
44
|
-
return
|
|
51
|
+
function WebAppObjectFromJSON(json) {
|
|
52
|
+
return WebAppObjectFromJSONTyped(json, false);
|
|
45
53
|
}
|
|
46
|
-
function
|
|
54
|
+
function WebAppObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
55
|
if (json == null) {
|
|
48
56
|
return json;
|
|
49
57
|
}
|
|
50
58
|
return {
|
|
51
|
-
'
|
|
59
|
+
'webAppId': json['webAppId'] == null ? undefined : json['webAppId'],
|
|
52
60
|
'webAppName': json['webAppName'],
|
|
53
61
|
'forteDnsEndpoint': json['forteDnsEndpoint'] == null ? undefined : json['forteDnsEndpoint'],
|
|
54
62
|
'forteDnsEndpointEnabled': json['forteDnsEndpointEnabled'],
|
|
55
63
|
'customDnsEndpoints': json['customDnsEndpoints'] == null ? undefined : json['customDnsEndpoints'],
|
|
56
64
|
'buildPath': json['buildPath'] == null ? undefined : json['buildPath'],
|
|
65
|
+
'webAppType': json['webAppType'] == null ? undefined : json['webAppType'],
|
|
66
|
+
'packageManager': json['packageManager'] == null ? undefined : json['packageManager'],
|
|
67
|
+
'nodeVersion': json['nodeVersion'] == null ? undefined : json['nodeVersion'],
|
|
68
|
+
'installCommand': json['installCommand'] == null ? undefined : json['installCommand'],
|
|
69
|
+
'subdirectory': json['subdirectory'] == null ? undefined : json['subdirectory'],
|
|
70
|
+
'detectedFramework': json['detectedFramework'] == null ? undefined : json['detectedFramework'],
|
|
71
|
+
'detectionResponse': json['detectionResponse'] == null ? undefined : (0, WebAppDetectionResponse_1.WebAppDetectionResponseFromJSON)(json['detectionResponse']),
|
|
72
|
+
'hostingProviderAppId': json['hostingProviderAppId'] == null ? undefined : json['hostingProviderAppId'],
|
|
73
|
+
'hostingProviderBranchName': json['hostingProviderBranchName'] == null ? undefined : json['hostingProviderBranchName'],
|
|
74
|
+
'hostingProviderDomainStatus': json['hostingProviderDomainStatus'] == null ? undefined : json['hostingProviderDomainStatus'],
|
|
57
75
|
'createdTimestamp': json['createdTimestamp'] == null ? undefined : (new Date(json['createdTimestamp'])),
|
|
58
76
|
'lastModifiedTimestamp': json['lastModifiedTimestamp'] == null ? undefined : (new Date(json['lastModifiedTimestamp'])),
|
|
59
77
|
'githubRepositoryUrl': json['githubRepositoryUrl'],
|
|
@@ -66,21 +84,31 @@ function StaticWebAppObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
84
|
'secretKeys': json['secretKeys'] == null ? undefined : new Set(json['secretKeys']),
|
|
67
85
|
};
|
|
68
86
|
}
|
|
69
|
-
function
|
|
70
|
-
return
|
|
87
|
+
function WebAppObjectToJSON(json) {
|
|
88
|
+
return WebAppObjectToJSONTyped(json, false);
|
|
71
89
|
}
|
|
72
|
-
function
|
|
90
|
+
function WebAppObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
73
91
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
74
92
|
if (value == null) {
|
|
75
93
|
return value;
|
|
76
94
|
}
|
|
77
95
|
return {
|
|
78
|
-
'
|
|
96
|
+
'webAppId': value['webAppId'],
|
|
79
97
|
'webAppName': value['webAppName'],
|
|
80
98
|
'forteDnsEndpoint': value['forteDnsEndpoint'],
|
|
81
99
|
'forteDnsEndpointEnabled': value['forteDnsEndpointEnabled'],
|
|
82
100
|
'customDnsEndpoints': value['customDnsEndpoints'],
|
|
83
101
|
'buildPath': value['buildPath'],
|
|
102
|
+
'webAppType': value['webAppType'],
|
|
103
|
+
'packageManager': value['packageManager'],
|
|
104
|
+
'nodeVersion': value['nodeVersion'],
|
|
105
|
+
'installCommand': value['installCommand'],
|
|
106
|
+
'subdirectory': value['subdirectory'],
|
|
107
|
+
'detectedFramework': value['detectedFramework'],
|
|
108
|
+
'detectionResponse': (0, WebAppDetectionResponse_1.WebAppDetectionResponseToJSON)(value['detectionResponse']),
|
|
109
|
+
'hostingProviderAppId': value['hostingProviderAppId'],
|
|
110
|
+
'hostingProviderBranchName': value['hostingProviderBranchName'],
|
|
111
|
+
'hostingProviderDomainStatus': value['hostingProviderDomainStatus'],
|
|
84
112
|
'createdTimestamp': value['createdTimestamp'] == null ? value['createdTimestamp'] : value['createdTimestamp'].toISOString(),
|
|
85
113
|
'lastModifiedTimestamp': value['lastModifiedTimestamp'] == null ? value['lastModifiedTimestamp'] : value['lastModifiedTimestamp'].toISOString(),
|
|
86
114
|
'githubRepositoryUrl': value['githubRepositoryUrl'],
|
|
@@ -7,6 +7,7 @@ export * from './CreateProjectApiKeyRequest';
|
|
|
7
7
|
export * from './CreateProjectApiKeyResponse';
|
|
8
8
|
export * from './CreateServiceRequestProxyRequest';
|
|
9
9
|
export * from './CreateServiceRequestProxyResponse';
|
|
10
|
+
export * from './CreateWebAppRequest';
|
|
10
11
|
export * from './DockerfileDetectionOutput';
|
|
11
12
|
export * from './DockerfileGenerationError';
|
|
12
13
|
export * from './DockerfileGenerationResponse';
|
|
@@ -24,6 +25,7 @@ export * from './PaginatedResponseRequestLogObject';
|
|
|
24
25
|
export * from './PaginatedResponseServiceBuildRequestObject';
|
|
25
26
|
export * from './PaginatedResponseUserActionLogObject';
|
|
26
27
|
export * from './PaginatedResponseUserObject';
|
|
28
|
+
export * from './PaginatedResponseWebAppBuildRequestObject';
|
|
27
29
|
export * from './ProjectObject';
|
|
28
30
|
export * from './RegisterUserRequest';
|
|
29
31
|
export * from './RegisterUserResponse';
|
|
@@ -31,16 +33,23 @@ export * from './RenewSessionTokenResponse';
|
|
|
31
33
|
export * from './RepositoryAnalysis';
|
|
32
34
|
export * from './RequestLogObject';
|
|
33
35
|
export * from './RequestLogObjectMeta';
|
|
36
|
+
export * from './SendUserEmailRequest';
|
|
37
|
+
export * from './SendUserSmsRequest';
|
|
34
38
|
export * from './ServiceBuildRequestObject';
|
|
35
39
|
export * from './ServiceMetricsResponse';
|
|
36
40
|
export * from './ServiceObject';
|
|
37
|
-
export * from './StaticWebAppObject';
|
|
38
41
|
export * from './TestInvocationRequest';
|
|
39
42
|
export * from './TestInvocationResponse';
|
|
40
43
|
export * from './TimeSeriesDataPoint';
|
|
41
44
|
export * from './UpdateForteServiceRequest';
|
|
42
45
|
export * from './UpdateForteServiceResponse';
|
|
43
46
|
export * from './UpdateProjectRequest';
|
|
47
|
+
export * from './UpdateWebAppRequest';
|
|
48
|
+
export * from './UpdateWebAppResponse';
|
|
44
49
|
export * from './UserActionLogObject';
|
|
45
50
|
export * from './UserMetricsResponse';
|
|
46
51
|
export * from './UserObject';
|
|
52
|
+
export * from './WebAppBuildRequestObject';
|
|
53
|
+
export * from './WebAppDetectionError';
|
|
54
|
+
export * from './WebAppDetectionResponse';
|
|
55
|
+
export * from './WebAppObject';
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./CreateProjectApiKeyRequest"), exports);
|
|
|
25
25
|
__exportStar(require("./CreateProjectApiKeyResponse"), exports);
|
|
26
26
|
__exportStar(require("./CreateServiceRequestProxyRequest"), exports);
|
|
27
27
|
__exportStar(require("./CreateServiceRequestProxyResponse"), exports);
|
|
28
|
+
__exportStar(require("./CreateWebAppRequest"), exports);
|
|
28
29
|
__exportStar(require("./DockerfileDetectionOutput"), exports);
|
|
29
30
|
__exportStar(require("./DockerfileGenerationError"), exports);
|
|
30
31
|
__exportStar(require("./DockerfileGenerationResponse"), exports);
|
|
@@ -42,6 +43,7 @@ __exportStar(require("./PaginatedResponseRequestLogObject"), exports);
|
|
|
42
43
|
__exportStar(require("./PaginatedResponseServiceBuildRequestObject"), exports);
|
|
43
44
|
__exportStar(require("./PaginatedResponseUserActionLogObject"), exports);
|
|
44
45
|
__exportStar(require("./PaginatedResponseUserObject"), exports);
|
|
46
|
+
__exportStar(require("./PaginatedResponseWebAppBuildRequestObject"), exports);
|
|
45
47
|
__exportStar(require("./ProjectObject"), exports);
|
|
46
48
|
__exportStar(require("./RegisterUserRequest"), exports);
|
|
47
49
|
__exportStar(require("./RegisterUserResponse"), exports);
|
|
@@ -49,16 +51,23 @@ __exportStar(require("./RenewSessionTokenResponse"), exports);
|
|
|
49
51
|
__exportStar(require("./RepositoryAnalysis"), exports);
|
|
50
52
|
__exportStar(require("./RequestLogObject"), exports);
|
|
51
53
|
__exportStar(require("./RequestLogObjectMeta"), exports);
|
|
54
|
+
__exportStar(require("./SendUserEmailRequest"), exports);
|
|
55
|
+
__exportStar(require("./SendUserSmsRequest"), exports);
|
|
52
56
|
__exportStar(require("./ServiceBuildRequestObject"), exports);
|
|
53
57
|
__exportStar(require("./ServiceMetricsResponse"), exports);
|
|
54
58
|
__exportStar(require("./ServiceObject"), exports);
|
|
55
|
-
__exportStar(require("./StaticWebAppObject"), exports);
|
|
56
59
|
__exportStar(require("./TestInvocationRequest"), exports);
|
|
57
60
|
__exportStar(require("./TestInvocationResponse"), exports);
|
|
58
61
|
__exportStar(require("./TimeSeriesDataPoint"), exports);
|
|
59
62
|
__exportStar(require("./UpdateForteServiceRequest"), exports);
|
|
60
63
|
__exportStar(require("./UpdateForteServiceResponse"), exports);
|
|
61
64
|
__exportStar(require("./UpdateProjectRequest"), exports);
|
|
65
|
+
__exportStar(require("./UpdateWebAppRequest"), exports);
|
|
66
|
+
__exportStar(require("./UpdateWebAppResponse"), exports);
|
|
62
67
|
__exportStar(require("./UserActionLogObject"), exports);
|
|
63
68
|
__exportStar(require("./UserMetricsResponse"), exports);
|
|
64
69
|
__exportStar(require("./UserObject"), exports);
|
|
70
|
+
__exportStar(require("./WebAppBuildRequestObject"), exports);
|
|
71
|
+
__exportStar(require("./WebAppDetectionError"), exports);
|
|
72
|
+
__exportStar(require("./WebAppDetectionResponse"), exports);
|
|
73
|
+
__exportStar(require("./WebAppObject"), exports);
|