@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,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
|
+
}
|
|
@@ -21,12 +21,6 @@ export interface DockerfileDetectionOutput {
|
|
|
21
21
|
* @memberof DockerfileDetectionOutput
|
|
22
22
|
*/
|
|
23
23
|
dockerfilePath: string;
|
|
24
|
-
/**
|
|
25
|
-
* Complete contents of the Dockerfile
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DockerfileDetectionOutput
|
|
28
|
-
*/
|
|
29
|
-
dockerfileContents: string;
|
|
30
24
|
}
|
|
31
25
|
/**
|
|
32
26
|
* Check if a given object implements the DockerfileDetectionOutput interface.
|
|
@@ -24,8 +24,6 @@ exports.DockerfileDetectionOutputToJSONTyped = DockerfileDetectionOutputToJSONTy
|
|
|
24
24
|
function instanceOfDockerfileDetectionOutput(value) {
|
|
25
25
|
if (!('dockerfilePath' in value) || value['dockerfilePath'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('dockerfileContents' in value) || value['dockerfileContents'] === undefined)
|
|
28
|
-
return false;
|
|
29
27
|
return true;
|
|
30
28
|
}
|
|
31
29
|
function DockerfileDetectionOutputFromJSON(json) {
|
|
@@ -37,7 +35,6 @@ function DockerfileDetectionOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
35
|
}
|
|
38
36
|
return {
|
|
39
37
|
'dockerfilePath': json['dockerfilePath'],
|
|
40
|
-
'dockerfileContents': json['dockerfileContents'],
|
|
41
38
|
};
|
|
42
39
|
}
|
|
43
40
|
function DockerfileDetectionOutputToJSON(json) {
|
|
@@ -50,6 +47,5 @@ function DockerfileDetectionOutputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
47
|
}
|
|
51
48
|
return {
|
|
52
49
|
'dockerfilePath': value['dockerfilePath'],
|
|
53
|
-
'dockerfileContents': value['dockerfileContents'],
|
|
54
50
|
};
|
|
55
51
|
}
|
|
@@ -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";
|
|
@@ -81,6 +84,7 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
81
84
|
readonly SUPPORT_ATTACHMENT_INVALID_OWNER: "SUPPORT_ATTACHMENT_INVALID_OWNER";
|
|
82
85
|
readonly SUPPORT_ATTACHMENT_ALREADY_CLAIMED: "SUPPORT_ATTACHMENT_ALREADY_CLAIMED";
|
|
83
86
|
readonly SUPPORT_ATTACHMENT_TOO_LARGE: "SUPPORT_ATTACHMENT_TOO_LARGE";
|
|
87
|
+
readonly ACCOUNT_NOT_FOUND: "ACCOUNT_NOT_FOUND";
|
|
84
88
|
readonly COMPLIANCE_REGISTRATION_ALREADY_EXISTS: "COMPLIANCE_REGISTRATION_ALREADY_EXISTS";
|
|
85
89
|
readonly COMPLIANCE_REGISTRATION_NOT_FOUND: "COMPLIANCE_REGISTRATION_NOT_FOUND";
|
|
86
90
|
readonly COMPLIANCE_REGISTRATION_NOT_EDITABLE: "COMPLIANCE_REGISTRATION_NOT_EDITABLE";
|
|
@@ -95,6 +99,7 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
95
99
|
readonly EMAIL_LOGIN_NOT_ENABLED: "EMAIL_LOGIN_NOT_ENABLED";
|
|
96
100
|
readonly PHONE_LOGIN_NOT_ENABLED: "PHONE_LOGIN_NOT_ENABLED";
|
|
97
101
|
readonly MISSING_GITHUB_BRANCH: "MISSING_GITHUB_BRANCH";
|
|
102
|
+
readonly EXTERNAL_API_ERROR: "EXTERNAL_API_ERROR";
|
|
98
103
|
};
|
|
99
104
|
export type ForteApiExceptionErrorCodeType = typeof ForteApiExceptionErrorCodeType[keyof typeof ForteApiExceptionErrorCodeType];
|
|
100
105
|
/**
|
|
@@ -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',
|
|
@@ -66,6 +69,7 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
66
69
|
SUPPORT_ATTACHMENT_INVALID_OWNER: 'SUPPORT_ATTACHMENT_INVALID_OWNER',
|
|
67
70
|
SUPPORT_ATTACHMENT_ALREADY_CLAIMED: 'SUPPORT_ATTACHMENT_ALREADY_CLAIMED',
|
|
68
71
|
SUPPORT_ATTACHMENT_TOO_LARGE: 'SUPPORT_ATTACHMENT_TOO_LARGE',
|
|
72
|
+
ACCOUNT_NOT_FOUND: 'ACCOUNT_NOT_FOUND',
|
|
69
73
|
COMPLIANCE_REGISTRATION_ALREADY_EXISTS: 'COMPLIANCE_REGISTRATION_ALREADY_EXISTS',
|
|
70
74
|
COMPLIANCE_REGISTRATION_NOT_FOUND: 'COMPLIANCE_REGISTRATION_NOT_FOUND',
|
|
71
75
|
COMPLIANCE_REGISTRATION_NOT_EDITABLE: 'COMPLIANCE_REGISTRATION_NOT_EDITABLE',
|
|
@@ -79,7 +83,8 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
79
83
|
COMPLIANCE_REGISTRATION_NOT_APPROVED: 'COMPLIANCE_REGISTRATION_NOT_APPROVED',
|
|
80
84
|
EMAIL_LOGIN_NOT_ENABLED: 'EMAIL_LOGIN_NOT_ENABLED',
|
|
81
85
|
PHONE_LOGIN_NOT_ENABLED: 'PHONE_LOGIN_NOT_ENABLED',
|
|
82
|
-
MISSING_GITHUB_BRANCH: 'MISSING_GITHUB_BRANCH'
|
|
86
|
+
MISSING_GITHUB_BRANCH: 'MISSING_GITHUB_BRANCH',
|
|
87
|
+
EXTERNAL_API_ERROR: 'EXTERNAL_API_ERROR'
|
|
83
88
|
};
|
|
84
89
|
/**
|
|
85
90
|
* Check if a given object implements the ForteApiException interface.
|
|
@@ -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,8 +9,8 @@
|
|
|
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
|
-
import type { StaticWebAppObject } from './StaticWebAppObject';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -43,10 +43,10 @@ export interface ProjectObject {
|
|
|
43
43
|
services: Array<ServiceObject>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<WebAppObject>}
|
|
47
47
|
* @memberof ProjectObject
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
webApps: Array<WebAppObject>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {Date}
|
|
@@ -18,8 +18,8 @@ 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
|
-
var StaticWebAppObject_1 = require("./StaticWebAppObject");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the ProjectObject interface.
|
|
25
25
|
*/
|
|
@@ -30,7 +30,7 @@ function instanceOfProjectObject(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('services' in value) || value['services'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('
|
|
33
|
+
if (!('webApps' in value) || value['webApps'] === undefined)
|
|
34
34
|
return false;
|
|
35
35
|
if (!('createdTimestamp' in value) || value['createdTimestamp'] === undefined)
|
|
36
36
|
return false;
|
|
@@ -50,7 +50,7 @@ function ProjectObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'ownerAccountId': json['ownerAccountId'],
|
|
51
51
|
'projectName': json['projectName'],
|
|
52
52
|
'services': (json['services'].map(ServiceObject_1.ServiceObjectFromJSON)),
|
|
53
|
-
'
|
|
53
|
+
'webApps': (json['webApps'].map(WebAppObject_1.WebAppObjectFromJSON)),
|
|
54
54
|
'createdTimestamp': (new Date(json['createdTimestamp'])),
|
|
55
55
|
'lastModifiedTimestamp': json['lastModifiedTimestamp'] == null ? undefined : (new Date(json['lastModifiedTimestamp'])),
|
|
56
56
|
'roleArn': json['roleArn'],
|
|
@@ -75,7 +75,7 @@ function ProjectObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
75
|
'ownerAccountId': value['ownerAccountId'],
|
|
76
76
|
'projectName': value['projectName'],
|
|
77
77
|
'services': (value['services'].map(ServiceObject_1.ServiceObjectToJSON)),
|
|
78
|
-
'
|
|
78
|
+
'webApps': (value['webApps'].map(WebAppObject_1.WebAppObjectToJSON)),
|
|
79
79
|
'createdTimestamp': value['createdTimestamp'].toISOString(),
|
|
80
80
|
'lastModifiedTimestamp': value['lastModifiedTimestamp'] == null ? value['lastModifiedTimestamp'] : value['lastModifiedTimestamp'].toISOString(),
|
|
81
81
|
'roleArn': value['roleArn'],
|
|
@@ -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 SendUserEmailRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SendUserEmailRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendUserEmailRequest
|
|
22
|
+
*/
|
|
23
|
+
subject: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SendUserEmailRequest
|
|
28
|
+
*/
|
|
29
|
+
body: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SendUserEmailRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSendUserEmailRequest(value: object): value is SendUserEmailRequest;
|
|
35
|
+
export declare function SendUserEmailRequestFromJSON(json: any): SendUserEmailRequest;
|
|
36
|
+
export declare function SendUserEmailRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendUserEmailRequest;
|
|
37
|
+
export declare function SendUserEmailRequestToJSON(json: any): SendUserEmailRequest;
|
|
38
|
+
export declare function SendUserEmailRequestToJSONTyped(value?: SendUserEmailRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfSendUserEmailRequest = instanceOfSendUserEmailRequest;
|
|
17
|
+
exports.SendUserEmailRequestFromJSON = SendUserEmailRequestFromJSON;
|
|
18
|
+
exports.SendUserEmailRequestFromJSONTyped = SendUserEmailRequestFromJSONTyped;
|
|
19
|
+
exports.SendUserEmailRequestToJSON = SendUserEmailRequestToJSON;
|
|
20
|
+
exports.SendUserEmailRequestToJSONTyped = SendUserEmailRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SendUserEmailRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSendUserEmailRequest(value) {
|
|
25
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function SendUserEmailRequestFromJSON(json) {
|
|
32
|
+
return SendUserEmailRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function SendUserEmailRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'subject': json['subject'],
|
|
40
|
+
'body': json['body'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function SendUserEmailRequestToJSON(json) {
|
|
44
|
+
return SendUserEmailRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function SendUserEmailRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'subject': value['subject'],
|
|
53
|
+
'body': value['body'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 SendUserSmsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SendUserSmsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendUserSmsRequest
|
|
22
|
+
*/
|
|
23
|
+
content: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SendUserSmsRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSendUserSmsRequest(value: object): value is SendUserSmsRequest;
|
|
29
|
+
export declare function SendUserSmsRequestFromJSON(json: any): SendUserSmsRequest;
|
|
30
|
+
export declare function SendUserSmsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendUserSmsRequest;
|
|
31
|
+
export declare function SendUserSmsRequestToJSON(json: any): SendUserSmsRequest;
|
|
32
|
+
export declare function SendUserSmsRequestToJSONTyped(value?: SendUserSmsRequest | 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.instanceOfSendUserSmsRequest = instanceOfSendUserSmsRequest;
|
|
17
|
+
exports.SendUserSmsRequestFromJSON = SendUserSmsRequestFromJSON;
|
|
18
|
+
exports.SendUserSmsRequestFromJSONTyped = SendUserSmsRequestFromJSONTyped;
|
|
19
|
+
exports.SendUserSmsRequestToJSON = SendUserSmsRequestToJSON;
|
|
20
|
+
exports.SendUserSmsRequestToJSONTyped = SendUserSmsRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SendUserSmsRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSendUserSmsRequest(value) {
|
|
25
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SendUserSmsRequestFromJSON(json) {
|
|
30
|
+
return SendUserSmsRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SendUserSmsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'content': json['content'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function SendUserSmsRequestToJSON(json) {
|
|
41
|
+
return SendUserSmsRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SendUserSmsRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'content': value['content'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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";
|