@forteplatforms/sdk 1.0.53 → 1.0.57
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/models/CreateForteServiceRequest.d.ts +6 -0
- package/dist/generated/models/CreateForteServiceRequest.js +2 -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 +18 -18
- package/dist/generated/models/ServiceBuildRequestObject.js +6 -6
- package/dist/generated/models/ServiceObject.d.ts +35 -29
- package/dist/generated/models/ServiceObject.js +20 -18
- package/dist/generated/models/StaticWebAppObject.d.ts +132 -0
- package/dist/generated/models/StaticWebAppObject.js +95 -0
- package/dist/generated/models/index.d.ts +1 -0
- package/dist/generated/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -79,6 +79,12 @@ export interface CreateForteServiceRequest {
|
|
|
79
79
|
* @memberof CreateForteServiceRequest
|
|
80
80
|
*/
|
|
81
81
|
healthCheckPath?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof CreateForteServiceRequest
|
|
86
|
+
*/
|
|
87
|
+
baseDirectory?: string;
|
|
82
88
|
}
|
|
83
89
|
/**
|
|
84
90
|
* @export
|
|
@@ -56,6 +56,7 @@ function CreateForteServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'containerCpu': json['containerCpu'] == null ? undefined : json['containerCpu'],
|
|
57
57
|
'healthCheckPort': json['healthCheckPort'] == null ? undefined : json['healthCheckPort'],
|
|
58
58
|
'healthCheckPath': json['healthCheckPath'] == null ? undefined : json['healthCheckPath'],
|
|
59
|
+
'baseDirectory': json['baseDirectory'] == null ? undefined : json['baseDirectory'],
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
62
|
function CreateForteServiceRequestToJSON(json) {
|
|
@@ -77,5 +78,6 @@ function CreateForteServiceRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
78
|
'containerCpu': value['containerCpu'],
|
|
78
79
|
'healthCheckPort': value['healthCheckPort'],
|
|
79
80
|
'healthCheckPath': value['healthCheckPath'],
|
|
81
|
+
'baseDirectory': value['baseDirectory'],
|
|
80
82
|
};
|
|
81
83
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ServiceObject } from './ServiceObject';
|
|
13
|
+
import type { StaticWebAppObject } from './StaticWebAppObject';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -40,6 +41,12 @@ export interface ProjectObject {
|
|
|
40
41
|
* @memberof ProjectObject
|
|
41
42
|
*/
|
|
42
43
|
services: Array<ServiceObject>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<StaticWebAppObject>}
|
|
47
|
+
* @memberof ProjectObject
|
|
48
|
+
*/
|
|
49
|
+
staticWebApps: Array<StaticWebAppObject>;
|
|
43
50
|
/**
|
|
44
51
|
*
|
|
45
52
|
* @type {Date}
|
|
@@ -19,6 +19,7 @@ exports.ProjectObjectFromJSONTyped = ProjectObjectFromJSONTyped;
|
|
|
19
19
|
exports.ProjectObjectToJSON = ProjectObjectToJSON;
|
|
20
20
|
exports.ProjectObjectToJSONTyped = ProjectObjectToJSONTyped;
|
|
21
21
|
var ServiceObject_1 = require("./ServiceObject");
|
|
22
|
+
var StaticWebAppObject_1 = require("./StaticWebAppObject");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the ProjectObject interface.
|
|
24
25
|
*/
|
|
@@ -29,6 +30,8 @@ function instanceOfProjectObject(value) {
|
|
|
29
30
|
return false;
|
|
30
31
|
if (!('services' in value) || value['services'] === undefined)
|
|
31
32
|
return false;
|
|
33
|
+
if (!('staticWebApps' in value) || value['staticWebApps'] === undefined)
|
|
34
|
+
return false;
|
|
32
35
|
if (!('createdTimestamp' in value) || value['createdTimestamp'] === undefined)
|
|
33
36
|
return false;
|
|
34
37
|
if (!('roleArn' in value) || value['roleArn'] === undefined)
|
|
@@ -47,6 +50,7 @@ function ProjectObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
50
|
'ownerAccountId': json['ownerAccountId'],
|
|
48
51
|
'projectName': json['projectName'],
|
|
49
52
|
'services': (json['services'].map(ServiceObject_1.ServiceObjectFromJSON)),
|
|
53
|
+
'staticWebApps': (json['staticWebApps'].map(StaticWebAppObject_1.StaticWebAppObjectFromJSON)),
|
|
50
54
|
'createdTimestamp': (new Date(json['createdTimestamp'])),
|
|
51
55
|
'lastModifiedTimestamp': json['lastModifiedTimestamp'] == null ? undefined : (new Date(json['lastModifiedTimestamp'])),
|
|
52
56
|
'roleArn': json['roleArn'],
|
|
@@ -71,6 +75,7 @@ function ProjectObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
71
75
|
'ownerAccountId': value['ownerAccountId'],
|
|
72
76
|
'projectName': value['projectName'],
|
|
73
77
|
'services': (value['services'].map(ServiceObject_1.ServiceObjectToJSON)),
|
|
78
|
+
'staticWebApps': (value['staticWebApps'].map(StaticWebAppObject_1.StaticWebAppObjectToJSON)),
|
|
74
79
|
'createdTimestamp': value['createdTimestamp'].toISOString(),
|
|
75
80
|
'lastModifiedTimestamp': value['lastModifiedTimestamp'] == null ? value['lastModifiedTimestamp'] : value['lastModifiedTimestamp'].toISOString(),
|
|
76
81
|
'roleArn': value['roleArn'],
|
|
@@ -24,6 +24,24 @@ export interface ServiceBuildRequestObject {
|
|
|
24
24
|
* @memberof ServiceBuildRequestObject
|
|
25
25
|
*/
|
|
26
26
|
buildId?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {DockerfileGenerationError}
|
|
30
|
+
* @memberof ServiceBuildRequestObject
|
|
31
|
+
*/
|
|
32
|
+
dockerfileGenerationError?: DockerfileGenerationError;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {HealthCheckDetectionError}
|
|
36
|
+
* @memberof ServiceBuildRequestObject
|
|
37
|
+
*/
|
|
38
|
+
healthCheckDetectionError?: HealthCheckDetectionError;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {boolean}
|
|
42
|
+
* @memberof ServiceBuildRequestObject
|
|
43
|
+
*/
|
|
44
|
+
allBuildLogsReceived?: boolean;
|
|
27
45
|
/**
|
|
28
46
|
*
|
|
29
47
|
* @type {Date}
|
|
@@ -90,24 +108,6 @@ export interface ServiceBuildRequestObject {
|
|
|
90
108
|
* @memberof ServiceBuildRequestObject
|
|
91
109
|
*/
|
|
92
110
|
origin?: ServiceBuildRequestObjectOriginType;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {boolean}
|
|
96
|
-
* @memberof ServiceBuildRequestObject
|
|
97
|
-
*/
|
|
98
|
-
allBuildLogsReceived?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {DockerfileGenerationError}
|
|
102
|
-
* @memberof ServiceBuildRequestObject
|
|
103
|
-
*/
|
|
104
|
-
dockerfileGenerationError?: DockerfileGenerationError;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @type {HealthCheckDetectionError}
|
|
108
|
-
* @memberof ServiceBuildRequestObject
|
|
109
|
-
*/
|
|
110
|
-
healthCheckDetectionError?: HealthCheckDetectionError;
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* @export
|
|
@@ -78,6 +78,9 @@ function ServiceBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
78
|
}
|
|
79
79
|
return {
|
|
80
80
|
'buildId': json['buildId'] == null ? undefined : json['buildId'],
|
|
81
|
+
'dockerfileGenerationError': json['dockerfileGenerationError'] == null ? undefined : (0, DockerfileGenerationError_1.DockerfileGenerationErrorFromJSON)(json['dockerfileGenerationError']),
|
|
82
|
+
'healthCheckDetectionError': json['healthCheckDetectionError'] == null ? undefined : (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorFromJSON)(json['healthCheckDetectionError']),
|
|
83
|
+
'allBuildLogsReceived': json['allBuildLogsReceived'] == null ? undefined : json['allBuildLogsReceived'],
|
|
81
84
|
'startTime': (new Date(json['startTime'])),
|
|
82
85
|
'lastUpdatedTime': json['lastUpdatedTime'] == null ? undefined : (new Date(json['lastUpdatedTime'])),
|
|
83
86
|
'serviceId': json['serviceId'],
|
|
@@ -89,9 +92,6 @@ function ServiceBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
89
92
|
'buildStepLogs': json['buildStepLogs'] == null ? undefined : (json['buildStepLogs'].map(BuildStepLog_1.BuildStepLogFromJSON)),
|
|
90
93
|
'status': json['status'],
|
|
91
94
|
'origin': json['origin'] == null ? undefined : json['origin'],
|
|
92
|
-
'allBuildLogsReceived': json['allBuildLogsReceived'] == null ? undefined : json['allBuildLogsReceived'],
|
|
93
|
-
'dockerfileGenerationError': json['dockerfileGenerationError'] == null ? undefined : (0, DockerfileGenerationError_1.DockerfileGenerationErrorFromJSON)(json['dockerfileGenerationError']),
|
|
94
|
-
'healthCheckDetectionError': json['healthCheckDetectionError'] == null ? undefined : (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorFromJSON)(json['healthCheckDetectionError']),
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
function ServiceBuildRequestObjectToJSON(json) {
|
|
@@ -104,6 +104,9 @@ function ServiceBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
104
104
|
}
|
|
105
105
|
return {
|
|
106
106
|
'buildId': value['buildId'],
|
|
107
|
+
'dockerfileGenerationError': (0, DockerfileGenerationError_1.DockerfileGenerationErrorToJSON)(value['dockerfileGenerationError']),
|
|
108
|
+
'healthCheckDetectionError': (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorToJSON)(value['healthCheckDetectionError']),
|
|
109
|
+
'allBuildLogsReceived': value['allBuildLogsReceived'],
|
|
107
110
|
'startTime': value['startTime'].toISOString(),
|
|
108
111
|
'lastUpdatedTime': value['lastUpdatedTime'] == null ? value['lastUpdatedTime'] : value['lastUpdatedTime'].toISOString(),
|
|
109
112
|
'serviceId': value['serviceId'],
|
|
@@ -115,8 +118,5 @@ function ServiceBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
115
118
|
'buildStepLogs': value['buildStepLogs'] == null ? undefined : (value['buildStepLogs'].map(BuildStepLog_1.BuildStepLogToJSON)),
|
|
116
119
|
'status': value['status'],
|
|
117
120
|
'origin': value['origin'],
|
|
118
|
-
'allBuildLogsReceived': value['allBuildLogsReceived'],
|
|
119
|
-
'dockerfileGenerationError': (0, DockerfileGenerationError_1.DockerfileGenerationErrorToJSON)(value['dockerfileGenerationError']),
|
|
120
|
-
'healthCheckDetectionError': (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorToJSON)(value['healthCheckDetectionError']),
|
|
121
121
|
};
|
|
122
122
|
}
|
|
@@ -44,96 +44,102 @@ export interface ServiceObject {
|
|
|
44
44
|
requestResponseBodyLoggingEnabled: boolean;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
|
-
* @type {
|
|
47
|
+
* @type {string}
|
|
48
48
|
* @memberof ServiceObject
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
dockerfilePath?: string;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
|
-
* @type {
|
|
53
|
+
* @type {HealthCheckDetectionOutput}
|
|
54
54
|
* @memberof ServiceObject
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
healthCheckConfiguration?: HealthCheckDetectionOutput;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {DockerfileGenerationResponse}
|
|
60
60
|
* @memberof ServiceObject
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
dockerfileDetectionResponse?: DockerfileGenerationResponse;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
|
-
* @type {
|
|
65
|
+
* @type {HealthCheckDetectionResponse}
|
|
66
66
|
* @memberof ServiceObject
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
healthCheckDetectionResponse?: HealthCheckDetectionResponse;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
|
-
* @type {string}
|
|
71
|
+
* @type {Array<string>}
|
|
72
72
|
* @memberof ServiceObject
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
authPathExclusions?: Array<string>;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
|
-
* @type {
|
|
77
|
+
* @type {number}
|
|
78
78
|
* @memberof ServiceObject
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
baseInstances: number;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
83
|
* @type {string}
|
|
84
84
|
* @memberof ServiceObject
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
containerCpu: string;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
|
-
* @type {
|
|
89
|
+
* @type {Date}
|
|
90
90
|
* @memberof ServiceObject
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
createdTimestamp?: Date;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
|
-
* @type {
|
|
95
|
+
* @type {Date}
|
|
96
96
|
* @memberof ServiceObject
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
lastModifiedTimestamp?: Date;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
|
-
* @type {
|
|
101
|
+
* @type {string}
|
|
102
102
|
* @memberof ServiceObject
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
githubRepositoryUrl: string;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
|
-
* @type {
|
|
107
|
+
* @type {string}
|
|
108
108
|
* @memberof ServiceObject
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
githubBuildTrigger: ServiceObjectGithubBuildTriggerType;
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
|
-
* @type {
|
|
113
|
+
* @type {string}
|
|
114
114
|
* @memberof ServiceObject
|
|
115
115
|
*/
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
githubBranch?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof ServiceObject
|
|
121
|
+
*/
|
|
122
|
+
currentBuildId?: string;
|
|
119
123
|
/**
|
|
120
124
|
*
|
|
121
125
|
* @type {Array<string>}
|
|
122
126
|
* @memberof ServiceObject
|
|
123
127
|
*/
|
|
124
|
-
|
|
128
|
+
enqueuedBuildIds?: Array<string>;
|
|
125
129
|
/**
|
|
126
130
|
*
|
|
127
|
-
* @type {
|
|
131
|
+
* @type {{ [key: string]: string; }}
|
|
128
132
|
* @memberof ServiceObject
|
|
129
133
|
*/
|
|
130
|
-
|
|
134
|
+
environmentVariables?: {
|
|
135
|
+
[key: string]: string;
|
|
136
|
+
};
|
|
131
137
|
/**
|
|
132
138
|
*
|
|
133
139
|
* @type {string}
|
|
134
140
|
* @memberof ServiceObject
|
|
135
141
|
*/
|
|
136
|
-
|
|
142
|
+
baseDirectory?: string;
|
|
137
143
|
/**
|
|
138
144
|
*
|
|
139
145
|
* @type {Set<string>}
|
|
@@ -37,14 +37,14 @@ function instanceOfServiceObject(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('requestResponseBodyLoggingEnabled' in value) || value['requestResponseBodyLoggingEnabled'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('githubRepositoryUrl' in value) || value['githubRepositoryUrl'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('githubBuildTrigger' in value) || value['githubBuildTrigger'] === undefined)
|
|
43
|
-
return false;
|
|
44
40
|
if (!('baseInstances' in value) || value['baseInstances'] === undefined)
|
|
45
41
|
return false;
|
|
46
42
|
if (!('containerCpu' in value) || value['containerCpu'] === undefined)
|
|
47
43
|
return false;
|
|
44
|
+
if (!('githubRepositoryUrl' in value) || value['githubRepositoryUrl'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('githubBuildTrigger' in value) || value['githubBuildTrigger'] === undefined)
|
|
47
|
+
return false;
|
|
48
48
|
return true;
|
|
49
49
|
}
|
|
50
50
|
function ServiceObjectFromJSON(json) {
|
|
@@ -59,21 +59,22 @@ function ServiceObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
'serviceName': json['serviceName'],
|
|
60
60
|
'publicDnsEndpoint': json['publicDnsEndpoint'] == null ? undefined : json['publicDnsEndpoint'],
|
|
61
61
|
'requestResponseBodyLoggingEnabled': json['requestResponseBodyLoggingEnabled'],
|
|
62
|
+
'dockerfilePath': json['dockerfilePath'] == null ? undefined : json['dockerfilePath'],
|
|
63
|
+
'healthCheckConfiguration': json['healthCheckConfiguration'] == null ? undefined : (0, HealthCheckDetectionOutput_1.HealthCheckDetectionOutputFromJSON)(json['healthCheckConfiguration']),
|
|
64
|
+
'dockerfileDetectionResponse': json['dockerfileDetectionResponse'] == null ? undefined : (0, DockerfileGenerationResponse_1.DockerfileGenerationResponseFromJSON)(json['dockerfileDetectionResponse']),
|
|
65
|
+
'healthCheckDetectionResponse': json['healthCheckDetectionResponse'] == null ? undefined : (0, HealthCheckDetectionResponse_1.HealthCheckDetectionResponseFromJSON)(json['healthCheckDetectionResponse']),
|
|
66
|
+
'authPathExclusions': json['authPathExclusions'] == null ? undefined : json['authPathExclusions'],
|
|
67
|
+
'baseInstances': json['baseInstances'],
|
|
68
|
+
'containerCpu': json['containerCpu'],
|
|
62
69
|
'createdTimestamp': json['createdTimestamp'] == null ? undefined : (new Date(json['createdTimestamp'])),
|
|
63
70
|
'lastModifiedTimestamp': json['lastModifiedTimestamp'] == null ? undefined : (new Date(json['lastModifiedTimestamp'])),
|
|
64
|
-
'dockerfilePath': json['dockerfilePath'] == null ? undefined : json['dockerfilePath'],
|
|
65
71
|
'githubRepositoryUrl': json['githubRepositoryUrl'],
|
|
66
72
|
'githubBuildTrigger': json['githubBuildTrigger'],
|
|
67
73
|
'githubBranch': json['githubBranch'] == null ? undefined : json['githubBranch'],
|
|
68
74
|
'currentBuildId': json['currentBuildId'] == null ? undefined : json['currentBuildId'],
|
|
69
75
|
'enqueuedBuildIds': json['enqueuedBuildIds'] == null ? undefined : json['enqueuedBuildIds'],
|
|
70
|
-
'healthCheckConfiguration': json['healthCheckConfiguration'] == null ? undefined : (0, HealthCheckDetectionOutput_1.HealthCheckDetectionOutputFromJSON)(json['healthCheckConfiguration']),
|
|
71
|
-
'dockerfileDetectionResponse': json['dockerfileDetectionResponse'] == null ? undefined : (0, DockerfileGenerationResponse_1.DockerfileGenerationResponseFromJSON)(json['dockerfileDetectionResponse']),
|
|
72
|
-
'healthCheckDetectionResponse': json['healthCheckDetectionResponse'] == null ? undefined : (0, HealthCheckDetectionResponse_1.HealthCheckDetectionResponseFromJSON)(json['healthCheckDetectionResponse']),
|
|
73
76
|
'environmentVariables': json['environmentVariables'] == null ? undefined : json['environmentVariables'],
|
|
74
|
-
'
|
|
75
|
-
'baseInstances': json['baseInstances'],
|
|
76
|
-
'containerCpu': json['containerCpu'],
|
|
77
|
+
'baseDirectory': json['baseDirectory'] == null ? undefined : json['baseDirectory'],
|
|
77
78
|
'secretKeys': json['secretKeys'] == null ? undefined : new Set(json['secretKeys']),
|
|
78
79
|
};
|
|
79
80
|
}
|
|
@@ -90,21 +91,22 @@ function ServiceObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
90
91
|
'serviceName': value['serviceName'],
|
|
91
92
|
'publicDnsEndpoint': value['publicDnsEndpoint'],
|
|
92
93
|
'requestResponseBodyLoggingEnabled': value['requestResponseBodyLoggingEnabled'],
|
|
94
|
+
'dockerfilePath': value['dockerfilePath'],
|
|
95
|
+
'healthCheckConfiguration': (0, HealthCheckDetectionOutput_1.HealthCheckDetectionOutputToJSON)(value['healthCheckConfiguration']),
|
|
96
|
+
'dockerfileDetectionResponse': (0, DockerfileGenerationResponse_1.DockerfileGenerationResponseToJSON)(value['dockerfileDetectionResponse']),
|
|
97
|
+
'healthCheckDetectionResponse': (0, HealthCheckDetectionResponse_1.HealthCheckDetectionResponseToJSON)(value['healthCheckDetectionResponse']),
|
|
98
|
+
'authPathExclusions': value['authPathExclusions'],
|
|
99
|
+
'baseInstances': value['baseInstances'],
|
|
100
|
+
'containerCpu': value['containerCpu'],
|
|
93
101
|
'createdTimestamp': value['createdTimestamp'] == null ? value['createdTimestamp'] : value['createdTimestamp'].toISOString(),
|
|
94
102
|
'lastModifiedTimestamp': value['lastModifiedTimestamp'] == null ? value['lastModifiedTimestamp'] : value['lastModifiedTimestamp'].toISOString(),
|
|
95
|
-
'dockerfilePath': value['dockerfilePath'],
|
|
96
103
|
'githubRepositoryUrl': value['githubRepositoryUrl'],
|
|
97
104
|
'githubBuildTrigger': value['githubBuildTrigger'],
|
|
98
105
|
'githubBranch': value['githubBranch'],
|
|
99
106
|
'currentBuildId': value['currentBuildId'],
|
|
100
107
|
'enqueuedBuildIds': value['enqueuedBuildIds'],
|
|
101
|
-
'healthCheckConfiguration': (0, HealthCheckDetectionOutput_1.HealthCheckDetectionOutputToJSON)(value['healthCheckConfiguration']),
|
|
102
|
-
'dockerfileDetectionResponse': (0, DockerfileGenerationResponse_1.DockerfileGenerationResponseToJSON)(value['dockerfileDetectionResponse']),
|
|
103
|
-
'healthCheckDetectionResponse': (0, HealthCheckDetectionResponse_1.HealthCheckDetectionResponseToJSON)(value['healthCheckDetectionResponse']),
|
|
104
108
|
'environmentVariables': value['environmentVariables'],
|
|
105
|
-
'
|
|
106
|
-
'baseInstances': value['baseInstances'],
|
|
107
|
-
'containerCpu': value['containerCpu'],
|
|
109
|
+
'baseDirectory': value['baseDirectory'],
|
|
108
110
|
'secretKeys': value['secretKeys'] == null ? undefined : Array.from(value['secretKeys']),
|
|
109
111
|
};
|
|
110
112
|
}
|
|
@@ -0,0 +1,132 @@
|
|
|
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 StaticWebAppObject
|
|
16
|
+
*/
|
|
17
|
+
export interface StaticWebAppObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StaticWebAppObject
|
|
22
|
+
*/
|
|
23
|
+
staticWebAppId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StaticWebAppObject
|
|
28
|
+
*/
|
|
29
|
+
webAppName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StaticWebAppObject
|
|
34
|
+
*/
|
|
35
|
+
forteDnsEndpoint?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof StaticWebAppObject
|
|
40
|
+
*/
|
|
41
|
+
forteDnsEndpointEnabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof StaticWebAppObject
|
|
46
|
+
*/
|
|
47
|
+
customDnsEndpoints?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof StaticWebAppObject
|
|
52
|
+
*/
|
|
53
|
+
buildPath?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof StaticWebAppObject
|
|
58
|
+
*/
|
|
59
|
+
createdTimestamp?: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof StaticWebAppObject
|
|
64
|
+
*/
|
|
65
|
+
lastModifiedTimestamp?: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof StaticWebAppObject
|
|
70
|
+
*/
|
|
71
|
+
githubRepositoryUrl: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof StaticWebAppObject
|
|
76
|
+
*/
|
|
77
|
+
githubBuildTrigger: StaticWebAppObjectGithubBuildTriggerType;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof StaticWebAppObject
|
|
82
|
+
*/
|
|
83
|
+
githubBranch?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof StaticWebAppObject
|
|
88
|
+
*/
|
|
89
|
+
currentBuildId?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Array<string>}
|
|
93
|
+
* @memberof StaticWebAppObject
|
|
94
|
+
*/
|
|
95
|
+
enqueuedBuildIds?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {{ [key: string]: string; }}
|
|
99
|
+
* @memberof StaticWebAppObject
|
|
100
|
+
*/
|
|
101
|
+
environmentVariables?: {
|
|
102
|
+
[key: string]: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof StaticWebAppObject
|
|
108
|
+
*/
|
|
109
|
+
baseDirectory?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {Set<string>}
|
|
113
|
+
* @memberof StaticWebAppObject
|
|
114
|
+
*/
|
|
115
|
+
secretKeys?: Set<string>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @export
|
|
119
|
+
*/
|
|
120
|
+
export declare const StaticWebAppObjectGithubBuildTriggerType: {
|
|
121
|
+
readonly PUSH: "PUSH";
|
|
122
|
+
readonly RELEASE_PUBLISHED: "RELEASE_PUBLISHED";
|
|
123
|
+
};
|
|
124
|
+
export type StaticWebAppObjectGithubBuildTriggerType = typeof StaticWebAppObjectGithubBuildTriggerType[keyof typeof StaticWebAppObjectGithubBuildTriggerType];
|
|
125
|
+
/**
|
|
126
|
+
* Check if a given object implements the StaticWebAppObject interface.
|
|
127
|
+
*/
|
|
128
|
+
export declare function instanceOfStaticWebAppObject(value: object): value is StaticWebAppObject;
|
|
129
|
+
export declare function StaticWebAppObjectFromJSON(json: any): StaticWebAppObject;
|
|
130
|
+
export declare function StaticWebAppObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): StaticWebAppObject;
|
|
131
|
+
export declare function StaticWebAppObjectToJSON(json: any): StaticWebAppObject;
|
|
132
|
+
export declare function StaticWebAppObjectToJSONTyped(value?: StaticWebAppObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,95 @@
|
|
|
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.StaticWebAppObjectGithubBuildTriggerType = void 0;
|
|
17
|
+
exports.instanceOfStaticWebAppObject = instanceOfStaticWebAppObject;
|
|
18
|
+
exports.StaticWebAppObjectFromJSON = StaticWebAppObjectFromJSON;
|
|
19
|
+
exports.StaticWebAppObjectFromJSONTyped = StaticWebAppObjectFromJSONTyped;
|
|
20
|
+
exports.StaticWebAppObjectToJSON = StaticWebAppObjectToJSON;
|
|
21
|
+
exports.StaticWebAppObjectToJSONTyped = StaticWebAppObjectToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.StaticWebAppObjectGithubBuildTriggerType = {
|
|
26
|
+
PUSH: 'PUSH',
|
|
27
|
+
RELEASE_PUBLISHED: 'RELEASE_PUBLISHED'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the StaticWebAppObject interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfStaticWebAppObject(value) {
|
|
33
|
+
if (!('webAppName' in value) || value['webAppName'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('forteDnsEndpointEnabled' in value) || value['forteDnsEndpointEnabled'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('githubRepositoryUrl' in value) || value['githubRepositoryUrl'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('githubBuildTrigger' in value) || value['githubBuildTrigger'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function StaticWebAppObjectFromJSON(json) {
|
|
44
|
+
return StaticWebAppObjectFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function StaticWebAppObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'staticWebAppId': json['staticWebAppId'] == null ? undefined : json['staticWebAppId'],
|
|
52
|
+
'webAppName': json['webAppName'],
|
|
53
|
+
'forteDnsEndpoint': json['forteDnsEndpoint'] == null ? undefined : json['forteDnsEndpoint'],
|
|
54
|
+
'forteDnsEndpointEnabled': json['forteDnsEndpointEnabled'],
|
|
55
|
+
'customDnsEndpoints': json['customDnsEndpoints'] == null ? undefined : json['customDnsEndpoints'],
|
|
56
|
+
'buildPath': json['buildPath'] == null ? undefined : json['buildPath'],
|
|
57
|
+
'createdTimestamp': json['createdTimestamp'] == null ? undefined : (new Date(json['createdTimestamp'])),
|
|
58
|
+
'lastModifiedTimestamp': json['lastModifiedTimestamp'] == null ? undefined : (new Date(json['lastModifiedTimestamp'])),
|
|
59
|
+
'githubRepositoryUrl': json['githubRepositoryUrl'],
|
|
60
|
+
'githubBuildTrigger': json['githubBuildTrigger'],
|
|
61
|
+
'githubBranch': json['githubBranch'] == null ? undefined : json['githubBranch'],
|
|
62
|
+
'currentBuildId': json['currentBuildId'] == null ? undefined : json['currentBuildId'],
|
|
63
|
+
'enqueuedBuildIds': json['enqueuedBuildIds'] == null ? undefined : json['enqueuedBuildIds'],
|
|
64
|
+
'environmentVariables': json['environmentVariables'] == null ? undefined : json['environmentVariables'],
|
|
65
|
+
'baseDirectory': json['baseDirectory'] == null ? undefined : json['baseDirectory'],
|
|
66
|
+
'secretKeys': json['secretKeys'] == null ? undefined : new Set(json['secretKeys']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function StaticWebAppObjectToJSON(json) {
|
|
70
|
+
return StaticWebAppObjectToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function StaticWebAppObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
73
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'staticWebAppId': value['staticWebAppId'],
|
|
79
|
+
'webAppName': value['webAppName'],
|
|
80
|
+
'forteDnsEndpoint': value['forteDnsEndpoint'],
|
|
81
|
+
'forteDnsEndpointEnabled': value['forteDnsEndpointEnabled'],
|
|
82
|
+
'customDnsEndpoints': value['customDnsEndpoints'],
|
|
83
|
+
'buildPath': value['buildPath'],
|
|
84
|
+
'createdTimestamp': value['createdTimestamp'] == null ? value['createdTimestamp'] : value['createdTimestamp'].toISOString(),
|
|
85
|
+
'lastModifiedTimestamp': value['lastModifiedTimestamp'] == null ? value['lastModifiedTimestamp'] : value['lastModifiedTimestamp'].toISOString(),
|
|
86
|
+
'githubRepositoryUrl': value['githubRepositoryUrl'],
|
|
87
|
+
'githubBuildTrigger': value['githubBuildTrigger'],
|
|
88
|
+
'githubBranch': value['githubBranch'],
|
|
89
|
+
'currentBuildId': value['currentBuildId'],
|
|
90
|
+
'enqueuedBuildIds': value['enqueuedBuildIds'],
|
|
91
|
+
'environmentVariables': value['environmentVariables'],
|
|
92
|
+
'baseDirectory': value['baseDirectory'],
|
|
93
|
+
'secretKeys': value['secretKeys'] == null ? undefined : Array.from(value['secretKeys']),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -34,6 +34,7 @@ export * from './RequestLogObjectMeta';
|
|
|
34
34
|
export * from './ServiceBuildRequestObject';
|
|
35
35
|
export * from './ServiceMetricsResponse';
|
|
36
36
|
export * from './ServiceObject';
|
|
37
|
+
export * from './StaticWebAppObject';
|
|
37
38
|
export * from './TestInvocationRequest';
|
|
38
39
|
export * from './TestInvocationResponse';
|
|
39
40
|
export * from './TimeSeriesDataPoint';
|
|
@@ -52,6 +52,7 @@ __exportStar(require("./RequestLogObjectMeta"), exports);
|
|
|
52
52
|
__exportStar(require("./ServiceBuildRequestObject"), exports);
|
|
53
53
|
__exportStar(require("./ServiceMetricsResponse"), exports);
|
|
54
54
|
__exportStar(require("./ServiceObject"), exports);
|
|
55
|
+
__exportStar(require("./StaticWebAppObject"), exports);
|
|
55
56
|
__exportStar(require("./TestInvocationRequest"), exports);
|
|
56
57
|
__exportStar(require("./TestInvocationResponse"), exports);
|
|
57
58
|
__exportStar(require("./TimeSeriesDataPoint"), exports);
|