qovery-ws-typescript-axios 0.1.620 → 0.1.622
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/api.ts +122 -4
- package/dist/api.d.ts +111 -6
- package/dist/api.js +14 -2
- package/dist/esm/api.d.ts +111 -6
- package/dist/esm/api.js +12 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -89,6 +89,124 @@ export interface ArgoCdAppStatusDto {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
|
|
92
|
+
/**
|
|
93
|
+
* @type BlueprintPreviewResult
|
|
94
|
+
* Final result of a blueprint update preview. Exactly one frame is sent, then the connection closes. The `type` field selects the variant.
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export type BlueprintPreviewResult = BlueprintPreviewResultOneOf | BlueprintPreviewResultOneOf1 | BlueprintPreviewResultOneOf2 | BlueprintPreviewResultOneOf3;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The preview succeeded. `payload` is the human-readable list of changes; `service_type` e.g. \"TERRAFORM\".
|
|
101
|
+
* @export
|
|
102
|
+
* @interface BlueprintPreviewResultOneOf
|
|
103
|
+
*/
|
|
104
|
+
export interface BlueprintPreviewResultOneOf {
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
109
|
+
*/
|
|
110
|
+
'payload': string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
115
|
+
*/
|
|
116
|
+
'service_type': string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
121
|
+
*/
|
|
122
|
+
'type': BlueprintPreviewResultOneOfTypeEnum;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export const BlueprintPreviewResultOneOfTypeEnum = {
|
|
126
|
+
DIFF: 'diff'
|
|
127
|
+
} as const;
|
|
128
|
+
|
|
129
|
+
export type BlueprintPreviewResultOneOfTypeEnum = typeof BlueprintPreviewResultOneOfTypeEnum[keyof typeof BlueprintPreviewResultOneOfTypeEnum];
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* The preview failed. `message` explains why.
|
|
133
|
+
* @export
|
|
134
|
+
* @interface BlueprintPreviewResultOneOf1
|
|
135
|
+
*/
|
|
136
|
+
export interface BlueprintPreviewResultOneOf1 {
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof BlueprintPreviewResultOneOf1
|
|
141
|
+
*/
|
|
142
|
+
'message': string;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof BlueprintPreviewResultOneOf1
|
|
147
|
+
*/
|
|
148
|
+
'type': BlueprintPreviewResultOneOf1TypeEnum;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export const BlueprintPreviewResultOneOf1TypeEnum = {
|
|
152
|
+
ERROR: 'error'
|
|
153
|
+
} as const;
|
|
154
|
+
|
|
155
|
+
export type BlueprintPreviewResultOneOf1TypeEnum = typeof BlueprintPreviewResultOneOf1TypeEnum[keyof typeof BlueprintPreviewResultOneOf1TypeEnum];
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* The preview was cancelled.
|
|
159
|
+
* @export
|
|
160
|
+
* @interface BlueprintPreviewResultOneOf2
|
|
161
|
+
*/
|
|
162
|
+
export interface BlueprintPreviewResultOneOf2 {
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof BlueprintPreviewResultOneOf2
|
|
167
|
+
*/
|
|
168
|
+
'type': BlueprintPreviewResultOneOf2TypeEnum;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export const BlueprintPreviewResultOneOf2TypeEnum = {
|
|
172
|
+
CANCELLED: 'cancelled'
|
|
173
|
+
} as const;
|
|
174
|
+
|
|
175
|
+
export type BlueprintPreviewResultOneOf2TypeEnum = typeof BlueprintPreviewResultOneOf2TypeEnum[keyof typeof BlueprintPreviewResultOneOf2TypeEnum];
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* The preview did not complete in time.
|
|
179
|
+
* @export
|
|
180
|
+
* @interface BlueprintPreviewResultOneOf3
|
|
181
|
+
*/
|
|
182
|
+
export interface BlueprintPreviewResultOneOf3 {
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof BlueprintPreviewResultOneOf3
|
|
187
|
+
*/
|
|
188
|
+
'type': BlueprintPreviewResultOneOf3TypeEnum;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export const BlueprintPreviewResultOneOf3TypeEnum = {
|
|
192
|
+
TIMEOUT: 'timeout'
|
|
193
|
+
} as const;
|
|
194
|
+
|
|
195
|
+
export type BlueprintPreviewResultOneOf3TypeEnum = typeof BlueprintPreviewResultOneOf3TypeEnum[keyof typeof BlueprintPreviewResultOneOf3TypeEnum];
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* One blueprint service-created event. The stream emits these until the connection closes.
|
|
199
|
+
* @export
|
|
200
|
+
* @interface BlueprintServiceCreatedEvent
|
|
201
|
+
*/
|
|
202
|
+
export interface BlueprintServiceCreatedEvent {
|
|
203
|
+
/**
|
|
204
|
+
* Id of the blueprint whose service was created.
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof BlueprintServiceCreatedEvent
|
|
207
|
+
*/
|
|
208
|
+
'blueprint_id': string;
|
|
209
|
+
}
|
|
92
210
|
/**
|
|
93
211
|
*
|
|
94
212
|
* @export
|
|
@@ -2144,7 +2262,7 @@ export const BlueprintPreviewApiFp = function(configuration?: Configuration) {
|
|
|
2144
2262
|
* @param {*} [options] Override http request option.
|
|
2145
2263
|
* @throws {RequiredError}
|
|
2146
2264
|
*/
|
|
2147
|
-
async handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2265
|
+
async handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintPreviewResult>> {
|
|
2148
2266
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleBlueprintPreviewRequest(organization, cluster, previewId, options);
|
|
2149
2267
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2150
2268
|
const localVarOperationServerBasePath = operationServerMap['BlueprintPreviewApi.handleBlueprintPreviewRequest']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2168,7 +2286,7 @@ export const BlueprintPreviewApiFactory = function (configuration?: Configuratio
|
|
|
2168
2286
|
* @param {*} [options] Override http request option.
|
|
2169
2287
|
* @throws {RequiredError}
|
|
2170
2288
|
*/
|
|
2171
|
-
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2289
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintPreviewResult> {
|
|
2172
2290
|
return localVarFp.handleBlueprintPreviewRequest(organization, cluster, previewId, options).then((request) => request(axios, basePath));
|
|
2173
2291
|
},
|
|
2174
2292
|
};
|
|
@@ -2267,7 +2385,7 @@ export const BlueprintServiceApiFp = function(configuration?: Configuration) {
|
|
|
2267
2385
|
* @param {*} [options] Override http request option.
|
|
2268
2386
|
* @throws {RequiredError}
|
|
2269
2387
|
*/
|
|
2270
|
-
async handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2388
|
+
async handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintServiceCreatedEvent>> {
|
|
2271
2389
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleBlueprintServiceCreatedRequest(organization, cluster, project, environment, options);
|
|
2272
2390
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2273
2391
|
const localVarOperationServerBasePath = operationServerMap['BlueprintServiceApi.handleBlueprintServiceCreatedRequest']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2292,7 +2410,7 @@ export const BlueprintServiceApiFactory = function (configuration?: Configuratio
|
|
|
2292
2410
|
* @param {*} [options] Override http request option.
|
|
2293
2411
|
* @throws {RequiredError}
|
|
2294
2412
|
*/
|
|
2295
|
-
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2413
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintServiceCreatedEvent> {
|
|
2296
2414
|
return localVarFp.handleBlueprintServiceCreatedRequest(organization, cluster, project, environment, options).then((request) => request(axios, basePath));
|
|
2297
2415
|
},
|
|
2298
2416
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -75,6 +75,111 @@ export interface ArgoCdAppStatusDto {
|
|
|
75
75
|
*/
|
|
76
76
|
'state': ServiceStateDto;
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* @type BlueprintPreviewResult
|
|
80
|
+
* Final result of a blueprint update preview. Exactly one frame is sent, then the connection closes. The `type` field selects the variant.
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export type BlueprintPreviewResult = BlueprintPreviewResultOneOf | BlueprintPreviewResultOneOf1 | BlueprintPreviewResultOneOf2 | BlueprintPreviewResultOneOf3;
|
|
84
|
+
/**
|
|
85
|
+
* The preview succeeded. `payload` is the human-readable list of changes; `service_type` e.g. \"TERRAFORM\".
|
|
86
|
+
* @export
|
|
87
|
+
* @interface BlueprintPreviewResultOneOf
|
|
88
|
+
*/
|
|
89
|
+
export interface BlueprintPreviewResultOneOf {
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
94
|
+
*/
|
|
95
|
+
'payload': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
100
|
+
*/
|
|
101
|
+
'service_type': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
106
|
+
*/
|
|
107
|
+
'type': BlueprintPreviewResultOneOfTypeEnum;
|
|
108
|
+
}
|
|
109
|
+
export declare const BlueprintPreviewResultOneOfTypeEnum: {
|
|
110
|
+
readonly DIFF: "diff";
|
|
111
|
+
};
|
|
112
|
+
export type BlueprintPreviewResultOneOfTypeEnum = typeof BlueprintPreviewResultOneOfTypeEnum[keyof typeof BlueprintPreviewResultOneOfTypeEnum];
|
|
113
|
+
/**
|
|
114
|
+
* The preview failed. `message` explains why.
|
|
115
|
+
* @export
|
|
116
|
+
* @interface BlueprintPreviewResultOneOf1
|
|
117
|
+
*/
|
|
118
|
+
export interface BlueprintPreviewResultOneOf1 {
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof BlueprintPreviewResultOneOf1
|
|
123
|
+
*/
|
|
124
|
+
'message': string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof BlueprintPreviewResultOneOf1
|
|
129
|
+
*/
|
|
130
|
+
'type': BlueprintPreviewResultOneOf1TypeEnum;
|
|
131
|
+
}
|
|
132
|
+
export declare const BlueprintPreviewResultOneOf1TypeEnum: {
|
|
133
|
+
readonly ERROR: "error";
|
|
134
|
+
};
|
|
135
|
+
export type BlueprintPreviewResultOneOf1TypeEnum = typeof BlueprintPreviewResultOneOf1TypeEnum[keyof typeof BlueprintPreviewResultOneOf1TypeEnum];
|
|
136
|
+
/**
|
|
137
|
+
* The preview was cancelled.
|
|
138
|
+
* @export
|
|
139
|
+
* @interface BlueprintPreviewResultOneOf2
|
|
140
|
+
*/
|
|
141
|
+
export interface BlueprintPreviewResultOneOf2 {
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof BlueprintPreviewResultOneOf2
|
|
146
|
+
*/
|
|
147
|
+
'type': BlueprintPreviewResultOneOf2TypeEnum;
|
|
148
|
+
}
|
|
149
|
+
export declare const BlueprintPreviewResultOneOf2TypeEnum: {
|
|
150
|
+
readonly CANCELLED: "cancelled";
|
|
151
|
+
};
|
|
152
|
+
export type BlueprintPreviewResultOneOf2TypeEnum = typeof BlueprintPreviewResultOneOf2TypeEnum[keyof typeof BlueprintPreviewResultOneOf2TypeEnum];
|
|
153
|
+
/**
|
|
154
|
+
* The preview did not complete in time.
|
|
155
|
+
* @export
|
|
156
|
+
* @interface BlueprintPreviewResultOneOf3
|
|
157
|
+
*/
|
|
158
|
+
export interface BlueprintPreviewResultOneOf3 {
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {string}
|
|
162
|
+
* @memberof BlueprintPreviewResultOneOf3
|
|
163
|
+
*/
|
|
164
|
+
'type': BlueprintPreviewResultOneOf3TypeEnum;
|
|
165
|
+
}
|
|
166
|
+
export declare const BlueprintPreviewResultOneOf3TypeEnum: {
|
|
167
|
+
readonly TIMEOUT: "timeout";
|
|
168
|
+
};
|
|
169
|
+
export type BlueprintPreviewResultOneOf3TypeEnum = typeof BlueprintPreviewResultOneOf3TypeEnum[keyof typeof BlueprintPreviewResultOneOf3TypeEnum];
|
|
170
|
+
/**
|
|
171
|
+
* One blueprint service-created event. The stream emits these until the connection closes.
|
|
172
|
+
* @export
|
|
173
|
+
* @interface BlueprintServiceCreatedEvent
|
|
174
|
+
*/
|
|
175
|
+
export interface BlueprintServiceCreatedEvent {
|
|
176
|
+
/**
|
|
177
|
+
* Id of the blueprint whose service was created.
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof BlueprintServiceCreatedEvent
|
|
180
|
+
*/
|
|
181
|
+
'blueprint_id': string;
|
|
182
|
+
}
|
|
78
183
|
/**
|
|
79
184
|
*
|
|
80
185
|
* @export
|
|
@@ -2046,7 +2151,7 @@ export declare const BlueprintPreviewApiFp: (configuration?: Configuration) => {
|
|
|
2046
2151
|
* @param {*} [options] Override http request option.
|
|
2047
2152
|
* @throws {RequiredError}
|
|
2048
2153
|
*/
|
|
2049
|
-
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2154
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintPreviewResult>>;
|
|
2050
2155
|
};
|
|
2051
2156
|
/**
|
|
2052
2157
|
* BlueprintPreviewApi - factory interface
|
|
@@ -2061,7 +2166,7 @@ export declare const BlueprintPreviewApiFactory: (configuration?: Configuration,
|
|
|
2061
2166
|
* @param {*} [options] Override http request option.
|
|
2062
2167
|
* @throws {RequiredError}
|
|
2063
2168
|
*/
|
|
2064
|
-
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2169
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintPreviewResult>;
|
|
2065
2170
|
};
|
|
2066
2171
|
/**
|
|
2067
2172
|
* BlueprintPreviewApi - object-oriented interface
|
|
@@ -2079,7 +2184,7 @@ export declare class BlueprintPreviewApi extends BaseAPI {
|
|
|
2079
2184
|
* @throws {RequiredError}
|
|
2080
2185
|
* @memberof BlueprintPreviewApi
|
|
2081
2186
|
*/
|
|
2082
|
-
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2187
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintPreviewResult, any, {}>>;
|
|
2083
2188
|
}
|
|
2084
2189
|
/**
|
|
2085
2190
|
* BlueprintServiceApi - axios parameter creator
|
|
@@ -2111,7 +2216,7 @@ export declare const BlueprintServiceApiFp: (configuration?: Configuration) => {
|
|
|
2111
2216
|
* @param {*} [options] Override http request option.
|
|
2112
2217
|
* @throws {RequiredError}
|
|
2113
2218
|
*/
|
|
2114
|
-
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2219
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintServiceCreatedEvent>>;
|
|
2115
2220
|
};
|
|
2116
2221
|
/**
|
|
2117
2222
|
* BlueprintServiceApi - factory interface
|
|
@@ -2127,7 +2232,7 @@ export declare const BlueprintServiceApiFactory: (configuration?: Configuration,
|
|
|
2127
2232
|
* @param {*} [options] Override http request option.
|
|
2128
2233
|
* @throws {RequiredError}
|
|
2129
2234
|
*/
|
|
2130
|
-
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2235
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintServiceCreatedEvent>;
|
|
2131
2236
|
};
|
|
2132
2237
|
/**
|
|
2133
2238
|
* BlueprintServiceApi - object-oriented interface
|
|
@@ -2146,7 +2251,7 @@ export declare class BlueprintServiceApi extends BaseAPI {
|
|
|
2146
2251
|
* @throws {RequiredError}
|
|
2147
2252
|
* @memberof BlueprintServiceApi
|
|
2148
2253
|
*/
|
|
2149
|
-
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2254
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintServiceCreatedEvent, any, {}>>;
|
|
2150
2255
|
}
|
|
2151
2256
|
/**
|
|
2152
2257
|
* ClusterListNodesApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -22,14 +22,26 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.ShellApi = exports.ShellApiFactory = exports.ShellApiFp = exports.ShellApiAxiosParamCreator = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMetricsApi = void 0;
|
|
25
|
+
exports.ServiceListPodsApiFactory = exports.ServiceListPodsApiFp = exports.ServiceListPodsApiAxiosParamCreator = exports.RemoteDebugApi = exports.RemoteDebugApiFactory = exports.RemoteDebugApiFp = exports.RemoteDebugApiAxiosParamCreator = exports.LogsApi = exports.LogsApiFactory = exports.LogsApiFp = exports.LogsApiAxiosParamCreator = exports.DeploymentApi = exports.DeploymentApiFactory = exports.DeploymentApiFp = exports.DeploymentApiAxiosParamCreator = exports.ClusterStatusApi = exports.ClusterStatusApiFactory = exports.ClusterStatusApiFp = exports.ClusterStatusApiAxiosParamCreator = exports.ClusterMetricsApi = exports.ClusterMetricsApiFactory = exports.ClusterMetricsApiFp = exports.ClusterMetricsApiAxiosParamCreator = exports.ClusterListNodesApi = exports.ClusterListNodesApiFactory = exports.ClusterListNodesApiFp = exports.ClusterListNodesApiAxiosParamCreator = exports.BlueprintServiceApi = exports.BlueprintServiceApiFactory = exports.BlueprintServiceApiFp = exports.BlueprintServiceApiAxiosParamCreator = exports.BlueprintPreviewApi = exports.BlueprintPreviewApiFactory = exports.BlueprintPreviewApiFp = exports.BlueprintPreviewApiAxiosParamCreator = exports.UnitDto = exports.ServiceType = exports.ServiceSubActionDto = exports.ServiceStateDto = exports.ServiceActionDto = exports.ResourceStatusDto = exports.QoveryComponentStatus = exports.QoveryComponentContainerStatusLevel = exports.PodStatusPhase = exports.DebugFlavor = exports.ClusterStatusGlobalStatus = exports.BlueprintPreviewResultOneOf3TypeEnum = exports.BlueprintPreviewResultOneOf2TypeEnum = exports.BlueprintPreviewResultOneOf1TypeEnum = exports.BlueprintPreviewResultOneOfTypeEnum = void 0;
|
|
26
|
+
exports.ShellApi = exports.ShellApiFactory = exports.ShellApiFp = exports.ShellApiAxiosParamCreator = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMetricsApi = exports.ServiceMetricsApiFactory = exports.ServiceMetricsApiFp = exports.ServiceMetricsApiAxiosParamCreator = exports.ServiceListPodsApi = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
const common_1 = require("./common");
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const base_1 = require("./base");
|
|
33
|
+
exports.BlueprintPreviewResultOneOfTypeEnum = {
|
|
34
|
+
DIFF: 'diff'
|
|
35
|
+
};
|
|
36
|
+
exports.BlueprintPreviewResultOneOf1TypeEnum = {
|
|
37
|
+
ERROR: 'error'
|
|
38
|
+
};
|
|
39
|
+
exports.BlueprintPreviewResultOneOf2TypeEnum = {
|
|
40
|
+
CANCELLED: 'cancelled'
|
|
41
|
+
};
|
|
42
|
+
exports.BlueprintPreviewResultOneOf3TypeEnum = {
|
|
43
|
+
TIMEOUT: 'timeout'
|
|
44
|
+
};
|
|
33
45
|
/**
|
|
34
46
|
*
|
|
35
47
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -75,6 +75,111 @@ export interface ArgoCdAppStatusDto {
|
|
|
75
75
|
*/
|
|
76
76
|
'state': ServiceStateDto;
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* @type BlueprintPreviewResult
|
|
80
|
+
* Final result of a blueprint update preview. Exactly one frame is sent, then the connection closes. The `type` field selects the variant.
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export type BlueprintPreviewResult = BlueprintPreviewResultOneOf | BlueprintPreviewResultOneOf1 | BlueprintPreviewResultOneOf2 | BlueprintPreviewResultOneOf3;
|
|
84
|
+
/**
|
|
85
|
+
* The preview succeeded. `payload` is the human-readable list of changes; `service_type` e.g. \"TERRAFORM\".
|
|
86
|
+
* @export
|
|
87
|
+
* @interface BlueprintPreviewResultOneOf
|
|
88
|
+
*/
|
|
89
|
+
export interface BlueprintPreviewResultOneOf {
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
94
|
+
*/
|
|
95
|
+
'payload': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
100
|
+
*/
|
|
101
|
+
'service_type': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
106
|
+
*/
|
|
107
|
+
'type': BlueprintPreviewResultOneOfTypeEnum;
|
|
108
|
+
}
|
|
109
|
+
export declare const BlueprintPreviewResultOneOfTypeEnum: {
|
|
110
|
+
readonly DIFF: "diff";
|
|
111
|
+
};
|
|
112
|
+
export type BlueprintPreviewResultOneOfTypeEnum = typeof BlueprintPreviewResultOneOfTypeEnum[keyof typeof BlueprintPreviewResultOneOfTypeEnum];
|
|
113
|
+
/**
|
|
114
|
+
* The preview failed. `message` explains why.
|
|
115
|
+
* @export
|
|
116
|
+
* @interface BlueprintPreviewResultOneOf1
|
|
117
|
+
*/
|
|
118
|
+
export interface BlueprintPreviewResultOneOf1 {
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof BlueprintPreviewResultOneOf1
|
|
123
|
+
*/
|
|
124
|
+
'message': string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof BlueprintPreviewResultOneOf1
|
|
129
|
+
*/
|
|
130
|
+
'type': BlueprintPreviewResultOneOf1TypeEnum;
|
|
131
|
+
}
|
|
132
|
+
export declare const BlueprintPreviewResultOneOf1TypeEnum: {
|
|
133
|
+
readonly ERROR: "error";
|
|
134
|
+
};
|
|
135
|
+
export type BlueprintPreviewResultOneOf1TypeEnum = typeof BlueprintPreviewResultOneOf1TypeEnum[keyof typeof BlueprintPreviewResultOneOf1TypeEnum];
|
|
136
|
+
/**
|
|
137
|
+
* The preview was cancelled.
|
|
138
|
+
* @export
|
|
139
|
+
* @interface BlueprintPreviewResultOneOf2
|
|
140
|
+
*/
|
|
141
|
+
export interface BlueprintPreviewResultOneOf2 {
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof BlueprintPreviewResultOneOf2
|
|
146
|
+
*/
|
|
147
|
+
'type': BlueprintPreviewResultOneOf2TypeEnum;
|
|
148
|
+
}
|
|
149
|
+
export declare const BlueprintPreviewResultOneOf2TypeEnum: {
|
|
150
|
+
readonly CANCELLED: "cancelled";
|
|
151
|
+
};
|
|
152
|
+
export type BlueprintPreviewResultOneOf2TypeEnum = typeof BlueprintPreviewResultOneOf2TypeEnum[keyof typeof BlueprintPreviewResultOneOf2TypeEnum];
|
|
153
|
+
/**
|
|
154
|
+
* The preview did not complete in time.
|
|
155
|
+
* @export
|
|
156
|
+
* @interface BlueprintPreviewResultOneOf3
|
|
157
|
+
*/
|
|
158
|
+
export interface BlueprintPreviewResultOneOf3 {
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {string}
|
|
162
|
+
* @memberof BlueprintPreviewResultOneOf3
|
|
163
|
+
*/
|
|
164
|
+
'type': BlueprintPreviewResultOneOf3TypeEnum;
|
|
165
|
+
}
|
|
166
|
+
export declare const BlueprintPreviewResultOneOf3TypeEnum: {
|
|
167
|
+
readonly TIMEOUT: "timeout";
|
|
168
|
+
};
|
|
169
|
+
export type BlueprintPreviewResultOneOf3TypeEnum = typeof BlueprintPreviewResultOneOf3TypeEnum[keyof typeof BlueprintPreviewResultOneOf3TypeEnum];
|
|
170
|
+
/**
|
|
171
|
+
* One blueprint service-created event. The stream emits these until the connection closes.
|
|
172
|
+
* @export
|
|
173
|
+
* @interface BlueprintServiceCreatedEvent
|
|
174
|
+
*/
|
|
175
|
+
export interface BlueprintServiceCreatedEvent {
|
|
176
|
+
/**
|
|
177
|
+
* Id of the blueprint whose service was created.
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof BlueprintServiceCreatedEvent
|
|
180
|
+
*/
|
|
181
|
+
'blueprint_id': string;
|
|
182
|
+
}
|
|
78
183
|
/**
|
|
79
184
|
*
|
|
80
185
|
* @export
|
|
@@ -2046,7 +2151,7 @@ export declare const BlueprintPreviewApiFp: (configuration?: Configuration) => {
|
|
|
2046
2151
|
* @param {*} [options] Override http request option.
|
|
2047
2152
|
* @throws {RequiredError}
|
|
2048
2153
|
*/
|
|
2049
|
-
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2154
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintPreviewResult>>;
|
|
2050
2155
|
};
|
|
2051
2156
|
/**
|
|
2052
2157
|
* BlueprintPreviewApi - factory interface
|
|
@@ -2061,7 +2166,7 @@ export declare const BlueprintPreviewApiFactory: (configuration?: Configuration,
|
|
|
2061
2166
|
* @param {*} [options] Override http request option.
|
|
2062
2167
|
* @throws {RequiredError}
|
|
2063
2168
|
*/
|
|
2064
|
-
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2169
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintPreviewResult>;
|
|
2065
2170
|
};
|
|
2066
2171
|
/**
|
|
2067
2172
|
* BlueprintPreviewApi - object-oriented interface
|
|
@@ -2079,7 +2184,7 @@ export declare class BlueprintPreviewApi extends BaseAPI {
|
|
|
2079
2184
|
* @throws {RequiredError}
|
|
2080
2185
|
* @memberof BlueprintPreviewApi
|
|
2081
2186
|
*/
|
|
2082
|
-
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2187
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintPreviewResult, any, {}>>;
|
|
2083
2188
|
}
|
|
2084
2189
|
/**
|
|
2085
2190
|
* BlueprintServiceApi - axios parameter creator
|
|
@@ -2111,7 +2216,7 @@ export declare const BlueprintServiceApiFp: (configuration?: Configuration) => {
|
|
|
2111
2216
|
* @param {*} [options] Override http request option.
|
|
2112
2217
|
* @throws {RequiredError}
|
|
2113
2218
|
*/
|
|
2114
|
-
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2219
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintServiceCreatedEvent>>;
|
|
2115
2220
|
};
|
|
2116
2221
|
/**
|
|
2117
2222
|
* BlueprintServiceApi - factory interface
|
|
@@ -2127,7 +2232,7 @@ export declare const BlueprintServiceApiFactory: (configuration?: Configuration,
|
|
|
2127
2232
|
* @param {*} [options] Override http request option.
|
|
2128
2233
|
* @throws {RequiredError}
|
|
2129
2234
|
*/
|
|
2130
|
-
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2235
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintServiceCreatedEvent>;
|
|
2131
2236
|
};
|
|
2132
2237
|
/**
|
|
2133
2238
|
* BlueprintServiceApi - object-oriented interface
|
|
@@ -2146,7 +2251,7 @@ export declare class BlueprintServiceApi extends BaseAPI {
|
|
|
2146
2251
|
* @throws {RequiredError}
|
|
2147
2252
|
* @memberof BlueprintServiceApi
|
|
2148
2253
|
*/
|
|
2149
|
-
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2254
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintServiceCreatedEvent, any, {}>>;
|
|
2150
2255
|
}
|
|
2151
2256
|
/**
|
|
2152
2257
|
* ClusterListNodesApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -26,6 +26,18 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
|
+
export const BlueprintPreviewResultOneOfTypeEnum = {
|
|
30
|
+
DIFF: 'diff'
|
|
31
|
+
};
|
|
32
|
+
export const BlueprintPreviewResultOneOf1TypeEnum = {
|
|
33
|
+
ERROR: 'error'
|
|
34
|
+
};
|
|
35
|
+
export const BlueprintPreviewResultOneOf2TypeEnum = {
|
|
36
|
+
CANCELLED: 'cancelled'
|
|
37
|
+
};
|
|
38
|
+
export const BlueprintPreviewResultOneOf3TypeEnum = {
|
|
39
|
+
TIMEOUT: 'timeout'
|
|
40
|
+
};
|
|
29
41
|
/**
|
|
30
42
|
*
|
|
31
43
|
* @export
|