qovery-typescript-axios 1.1.935 → 1.1.936
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 +102 -6
- package/dist/api.d.ts +57 -7
- package/dist/api.js +81 -4
- package/dist/esm/api.d.ts +57 -7
- package/dist/esm/api.js +81 -4
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4995,6 +4995,19 @@ export const BuildModeEnum = {
|
|
|
4995
4995
|
export type BuildModeEnum = typeof BuildModeEnum[keyof typeof BuildModeEnum];
|
|
4996
4996
|
|
|
4997
4997
|
|
|
4998
|
+
/**
|
|
4999
|
+
*
|
|
5000
|
+
* @export
|
|
5001
|
+
* @interface CancelAgenticWorkflowDeploymentRequest
|
|
5002
|
+
*/
|
|
5003
|
+
export interface CancelAgenticWorkflowDeploymentRequest {
|
|
5004
|
+
/**
|
|
5005
|
+
* When false, the engine stops the deployment at the next safe point, letting the workflow\'s job terminate on its own. When true it stops waiting for that job and abandons it immediately.
|
|
5006
|
+
* @type {boolean}
|
|
5007
|
+
* @memberof CancelAgenticWorkflowDeploymentRequest
|
|
5008
|
+
*/
|
|
5009
|
+
'force_cancel'?: boolean;
|
|
5010
|
+
}
|
|
4998
5011
|
/**
|
|
4999
5012
|
*
|
|
5000
5013
|
* @export
|
|
@@ -26899,6 +26912,51 @@ export class AccountInfoApi extends BaseAPI {
|
|
|
26899
26912
|
*/
|
|
26900
26913
|
export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26901
26914
|
return {
|
|
26915
|
+
/**
|
|
26916
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
26917
|
+
* @summary Cancel agentic workflow deployment
|
|
26918
|
+
* @param {string} agenticWorkflowId
|
|
26919
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
26920
|
+
* @param {*} [options] Override http request option.
|
|
26921
|
+
* @throws {RequiredError}
|
|
26922
|
+
*/
|
|
26923
|
+
cancelAgenticWorkflowDeployment: async (agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26924
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
26925
|
+
assertParamExists('cancelAgenticWorkflowDeployment', 'agenticWorkflowId', agenticWorkflowId)
|
|
26926
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/cancelDeployment`
|
|
26927
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
26928
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26929
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26930
|
+
let baseOptions;
|
|
26931
|
+
if (configuration) {
|
|
26932
|
+
baseOptions = configuration.baseOptions;
|
|
26933
|
+
}
|
|
26934
|
+
|
|
26935
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
26936
|
+
const localVarHeaderParameter = {} as any;
|
|
26937
|
+
const localVarQueryParameter = {} as any;
|
|
26938
|
+
|
|
26939
|
+
// authentication ApiKeyAuth required
|
|
26940
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26941
|
+
|
|
26942
|
+
// authentication bearerAuth required
|
|
26943
|
+
// http bearer authentication required
|
|
26944
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26945
|
+
|
|
26946
|
+
|
|
26947
|
+
|
|
26948
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26949
|
+
|
|
26950
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26951
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26952
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26953
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cancelAgenticWorkflowDeploymentRequest, localVarRequestOptions, configuration)
|
|
26954
|
+
|
|
26955
|
+
return {
|
|
26956
|
+
url: toPathString(localVarUrlObj),
|
|
26957
|
+
options: localVarRequestOptions,
|
|
26958
|
+
};
|
|
26959
|
+
},
|
|
26902
26960
|
/**
|
|
26903
26961
|
*
|
|
26904
26962
|
* @summary Create an agentic workflow
|
|
@@ -26945,7 +27003,7 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Co
|
|
|
26945
27003
|
};
|
|
26946
27004
|
},
|
|
26947
27005
|
/**
|
|
26948
|
-
*
|
|
27006
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
26949
27007
|
* @summary Delete an agentic workflow
|
|
26950
27008
|
* @param {string} agenticWorkflowId
|
|
26951
27009
|
* @param {*} [options] Override http request option.
|
|
@@ -27122,6 +27180,20 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Co
|
|
|
27122
27180
|
export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
|
|
27123
27181
|
const localVarAxiosParamCreator = AgenticWorkflowsApiAxiosParamCreator(configuration)
|
|
27124
27182
|
return {
|
|
27183
|
+
/**
|
|
27184
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
27185
|
+
* @summary Cancel agentic workflow deployment
|
|
27186
|
+
* @param {string} agenticWorkflowId
|
|
27187
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
27188
|
+
* @param {*} [options] Override http request option.
|
|
27189
|
+
* @throws {RequiredError}
|
|
27190
|
+
*/
|
|
27191
|
+
async cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
27192
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options);
|
|
27193
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27194
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.cancelAgenticWorkflowDeployment']?.[localVarOperationServerIndex]?.url;
|
|
27195
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27196
|
+
},
|
|
27125
27197
|
/**
|
|
27126
27198
|
*
|
|
27127
27199
|
* @summary Create an agentic workflow
|
|
@@ -27137,13 +27209,13 @@ export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
|
|
|
27137
27209
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27138
27210
|
},
|
|
27139
27211
|
/**
|
|
27140
|
-
*
|
|
27212
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
27141
27213
|
* @summary Delete an agentic workflow
|
|
27142
27214
|
* @param {string} agenticWorkflowId
|
|
27143
27215
|
* @param {*} [options] Override http request option.
|
|
27144
27216
|
* @throws {RequiredError}
|
|
27145
27217
|
*/
|
|
27146
|
-
async deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
27218
|
+
async deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
27147
27219
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgenticWorkflow(agenticWorkflowId, options);
|
|
27148
27220
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27149
27221
|
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.deleteAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
|
|
@@ -27199,6 +27271,17 @@ export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
|
|
|
27199
27271
|
export const AgenticWorkflowsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
27200
27272
|
const localVarFp = AgenticWorkflowsApiFp(configuration)
|
|
27201
27273
|
return {
|
|
27274
|
+
/**
|
|
27275
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
27276
|
+
* @summary Cancel agentic workflow deployment
|
|
27277
|
+
* @param {string} agenticWorkflowId
|
|
27278
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
27279
|
+
* @param {*} [options] Override http request option.
|
|
27280
|
+
* @throws {RequiredError}
|
|
27281
|
+
*/
|
|
27282
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
27283
|
+
return localVarFp.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(axios, basePath));
|
|
27284
|
+
},
|
|
27202
27285
|
/**
|
|
27203
27286
|
*
|
|
27204
27287
|
* @summary Create an agentic workflow
|
|
@@ -27211,13 +27294,13 @@ export const AgenticWorkflowsApiFactory = function (configuration?: Configuratio
|
|
|
27211
27294
|
return localVarFp.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
|
|
27212
27295
|
},
|
|
27213
27296
|
/**
|
|
27214
|
-
*
|
|
27297
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
27215
27298
|
* @summary Delete an agentic workflow
|
|
27216
27299
|
* @param {string} agenticWorkflowId
|
|
27217
27300
|
* @param {*} [options] Override http request option.
|
|
27218
27301
|
* @throws {RequiredError}
|
|
27219
27302
|
*/
|
|
27220
|
-
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
27303
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
27221
27304
|
return localVarFp.deleteAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
|
|
27222
27305
|
},
|
|
27223
27306
|
/**
|
|
@@ -27261,6 +27344,19 @@ export const AgenticWorkflowsApiFactory = function (configuration?: Configuratio
|
|
|
27261
27344
|
* @extends {BaseAPI}
|
|
27262
27345
|
*/
|
|
27263
27346
|
export class AgenticWorkflowsApi extends BaseAPI {
|
|
27347
|
+
/**
|
|
27348
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
27349
|
+
* @summary Cancel agentic workflow deployment
|
|
27350
|
+
* @param {string} agenticWorkflowId
|
|
27351
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
27352
|
+
* @param {*} [options] Override http request option.
|
|
27353
|
+
* @throws {RequiredError}
|
|
27354
|
+
* @memberof AgenticWorkflowsApi
|
|
27355
|
+
*/
|
|
27356
|
+
public cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig) {
|
|
27357
|
+
return AgenticWorkflowsApiFp(this.configuration).cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27358
|
+
}
|
|
27359
|
+
|
|
27264
27360
|
/**
|
|
27265
27361
|
*
|
|
27266
27362
|
* @summary Create an agentic workflow
|
|
@@ -27275,7 +27371,7 @@ export class AgenticWorkflowsApi extends BaseAPI {
|
|
|
27275
27371
|
}
|
|
27276
27372
|
|
|
27277
27373
|
/**
|
|
27278
|
-
*
|
|
27374
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
27279
27375
|
* @summary Delete an agentic workflow
|
|
27280
27376
|
* @param {string} agenticWorkflowId
|
|
27281
27377
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
|
@@ -4847,6 +4847,19 @@ export declare const BuildModeEnum: {
|
|
|
4847
4847
|
readonly DOCKER: "DOCKER";
|
|
4848
4848
|
};
|
|
4849
4849
|
export type BuildModeEnum = typeof BuildModeEnum[keyof typeof BuildModeEnum];
|
|
4850
|
+
/**
|
|
4851
|
+
*
|
|
4852
|
+
* @export
|
|
4853
|
+
* @interface CancelAgenticWorkflowDeploymentRequest
|
|
4854
|
+
*/
|
|
4855
|
+
export interface CancelAgenticWorkflowDeploymentRequest {
|
|
4856
|
+
/**
|
|
4857
|
+
* When false, the engine stops the deployment at the next safe point, letting the workflow\'s job terminate on its own. When true it stops waiting for that job and abandons it immediately.
|
|
4858
|
+
* @type {boolean}
|
|
4859
|
+
* @memberof CancelAgenticWorkflowDeploymentRequest
|
|
4860
|
+
*/
|
|
4861
|
+
'force_cancel'?: boolean;
|
|
4862
|
+
}
|
|
4850
4863
|
/**
|
|
4851
4864
|
*
|
|
4852
4865
|
* @export
|
|
@@ -25967,6 +25980,15 @@ export declare class AccountInfoApi extends BaseAPI {
|
|
|
25967
25980
|
* @export
|
|
25968
25981
|
*/
|
|
25969
25982
|
export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25983
|
+
/**
|
|
25984
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
25985
|
+
* @summary Cancel agentic workflow deployment
|
|
25986
|
+
* @param {string} agenticWorkflowId
|
|
25987
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
25988
|
+
* @param {*} [options] Override http request option.
|
|
25989
|
+
* @throws {RequiredError}
|
|
25990
|
+
*/
|
|
25991
|
+
cancelAgenticWorkflowDeployment: (agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25970
25992
|
/**
|
|
25971
25993
|
*
|
|
25972
25994
|
* @summary Create an agentic workflow
|
|
@@ -25977,7 +25999,7 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
|
|
|
25977
25999
|
*/
|
|
25978
26000
|
createAgenticWorkflow: (environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25979
26001
|
/**
|
|
25980
|
-
*
|
|
26002
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
25981
26003
|
* @summary Delete an agentic workflow
|
|
25982
26004
|
* @param {string} agenticWorkflowId
|
|
25983
26005
|
* @param {*} [options] Override http request option.
|
|
@@ -26015,6 +26037,15 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
|
|
|
26015
26037
|
* @export
|
|
26016
26038
|
*/
|
|
26017
26039
|
export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
|
|
26040
|
+
/**
|
|
26041
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
26042
|
+
* @summary Cancel agentic workflow deployment
|
|
26043
|
+
* @param {string} agenticWorkflowId
|
|
26044
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
26045
|
+
* @param {*} [options] Override http request option.
|
|
26046
|
+
* @throws {RequiredError}
|
|
26047
|
+
*/
|
|
26048
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
26018
26049
|
/**
|
|
26019
26050
|
*
|
|
26020
26051
|
* @summary Create an agentic workflow
|
|
@@ -26025,13 +26056,13 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
|
|
|
26025
26056
|
*/
|
|
26026
26057
|
createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>>;
|
|
26027
26058
|
/**
|
|
26028
|
-
*
|
|
26059
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
26029
26060
|
* @summary Delete an agentic workflow
|
|
26030
26061
|
* @param {string} agenticWorkflowId
|
|
26031
26062
|
* @param {*} [options] Override http request option.
|
|
26032
26063
|
* @throws {RequiredError}
|
|
26033
26064
|
*/
|
|
26034
|
-
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
26065
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
26035
26066
|
/**
|
|
26036
26067
|
*
|
|
26037
26068
|
* @summary Edit an agentic workflow
|
|
@@ -26063,6 +26094,15 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
|
|
|
26063
26094
|
* @export
|
|
26064
26095
|
*/
|
|
26065
26096
|
export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26097
|
+
/**
|
|
26098
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
26099
|
+
* @summary Cancel agentic workflow deployment
|
|
26100
|
+
* @param {string} agenticWorkflowId
|
|
26101
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
26102
|
+
* @param {*} [options] Override http request option.
|
|
26103
|
+
* @throws {RequiredError}
|
|
26104
|
+
*/
|
|
26105
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26066
26106
|
/**
|
|
26067
26107
|
*
|
|
26068
26108
|
* @summary Create an agentic workflow
|
|
@@ -26073,13 +26113,13 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
|
|
|
26073
26113
|
*/
|
|
26074
26114
|
createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse>;
|
|
26075
26115
|
/**
|
|
26076
|
-
*
|
|
26116
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
26077
26117
|
* @summary Delete an agentic workflow
|
|
26078
26118
|
* @param {string} agenticWorkflowId
|
|
26079
26119
|
* @param {*} [options] Override http request option.
|
|
26080
26120
|
* @throws {RequiredError}
|
|
26081
26121
|
*/
|
|
26082
|
-
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
26122
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
26083
26123
|
/**
|
|
26084
26124
|
*
|
|
26085
26125
|
* @summary Edit an agentic workflow
|
|
@@ -26113,6 +26153,16 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
|
|
|
26113
26153
|
* @extends {BaseAPI}
|
|
26114
26154
|
*/
|
|
26115
26155
|
export declare class AgenticWorkflowsApi extends BaseAPI {
|
|
26156
|
+
/**
|
|
26157
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
26158
|
+
* @summary Cancel agentic workflow deployment
|
|
26159
|
+
* @param {string} agenticWorkflowId
|
|
26160
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
26161
|
+
* @param {*} [options] Override http request option.
|
|
26162
|
+
* @throws {RequiredError}
|
|
26163
|
+
* @memberof AgenticWorkflowsApi
|
|
26164
|
+
*/
|
|
26165
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
26116
26166
|
/**
|
|
26117
26167
|
*
|
|
26118
26168
|
* @summary Create an agentic workflow
|
|
@@ -26124,14 +26174,14 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
|
|
|
26124
26174
|
*/
|
|
26125
26175
|
createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowResponse, any, {}>>;
|
|
26126
26176
|
/**
|
|
26127
|
-
*
|
|
26177
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
26128
26178
|
* @summary Delete an agentic workflow
|
|
26129
26179
|
* @param {string} agenticWorkflowId
|
|
26130
26180
|
* @param {*} [options] Override http request option.
|
|
26131
26181
|
* @throws {RequiredError}
|
|
26132
26182
|
* @memberof AgenticWorkflowsApi
|
|
26133
26183
|
*/
|
|
26134
|
-
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
26184
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
26135
26185
|
/**
|
|
26136
26186
|
*
|
|
26137
26187
|
* @summary Edit an agentic workflow
|
package/dist/api.js
CHANGED
|
@@ -1810,6 +1810,43 @@ exports.AccountInfoApi = AccountInfoApi;
|
|
|
1810
1810
|
*/
|
|
1811
1811
|
const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
|
|
1812
1812
|
return {
|
|
1813
|
+
/**
|
|
1814
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
1815
|
+
* @summary Cancel agentic workflow deployment
|
|
1816
|
+
* @param {string} agenticWorkflowId
|
|
1817
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
1818
|
+
* @param {*} [options] Override http request option.
|
|
1819
|
+
* @throws {RequiredError}
|
|
1820
|
+
*/
|
|
1821
|
+
cancelAgenticWorkflowDeployment: (agenticWorkflowId_1, cancelAgenticWorkflowDeploymentRequest_1, ...args_1) => __awaiter(this, [agenticWorkflowId_1, cancelAgenticWorkflowDeploymentRequest_1, ...args_1], void 0, function* (agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options = {}) {
|
|
1822
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
1823
|
+
(0, common_1.assertParamExists)('cancelAgenticWorkflowDeployment', 'agenticWorkflowId', agenticWorkflowId);
|
|
1824
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/cancelDeployment`
|
|
1825
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
1826
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1827
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1828
|
+
let baseOptions;
|
|
1829
|
+
if (configuration) {
|
|
1830
|
+
baseOptions = configuration.baseOptions;
|
|
1831
|
+
}
|
|
1832
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1833
|
+
const localVarHeaderParameter = {};
|
|
1834
|
+
const localVarQueryParameter = {};
|
|
1835
|
+
// authentication ApiKeyAuth required
|
|
1836
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1837
|
+
// authentication bearerAuth required
|
|
1838
|
+
// http bearer authentication required
|
|
1839
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1840
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1841
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1842
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1843
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1844
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cancelAgenticWorkflowDeploymentRequest, localVarRequestOptions, configuration);
|
|
1845
|
+
return {
|
|
1846
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1847
|
+
options: localVarRequestOptions,
|
|
1848
|
+
};
|
|
1849
|
+
}),
|
|
1813
1850
|
/**
|
|
1814
1851
|
*
|
|
1815
1852
|
* @summary Create an agentic workflow
|
|
@@ -1848,7 +1885,7 @@ const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
|
|
|
1848
1885
|
};
|
|
1849
1886
|
}),
|
|
1850
1887
|
/**
|
|
1851
|
-
*
|
|
1888
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
1852
1889
|
* @summary Delete an agentic workflow
|
|
1853
1890
|
* @param {string} agenticWorkflowId
|
|
1854
1891
|
* @param {*} [options] Override http request option.
|
|
@@ -1996,6 +2033,23 @@ exports.AgenticWorkflowsApiAxiosParamCreator = AgenticWorkflowsApiAxiosParamCrea
|
|
|
1996
2033
|
const AgenticWorkflowsApiFp = function (configuration) {
|
|
1997
2034
|
const localVarAxiosParamCreator = (0, exports.AgenticWorkflowsApiAxiosParamCreator)(configuration);
|
|
1998
2035
|
return {
|
|
2036
|
+
/**
|
|
2037
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
2038
|
+
* @summary Cancel agentic workflow deployment
|
|
2039
|
+
* @param {string} agenticWorkflowId
|
|
2040
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
2041
|
+
* @param {*} [options] Override http request option.
|
|
2042
|
+
* @throws {RequiredError}
|
|
2043
|
+
*/
|
|
2044
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
|
|
2045
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2046
|
+
var _a, _b, _c;
|
|
2047
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options);
|
|
2048
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2049
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AgenticWorkflowsApi.cancelAgenticWorkflowDeployment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2050
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2051
|
+
});
|
|
2052
|
+
},
|
|
1999
2053
|
/**
|
|
2000
2054
|
*
|
|
2001
2055
|
* @summary Create an agentic workflow
|
|
@@ -2014,7 +2068,7 @@ const AgenticWorkflowsApiFp = function (configuration) {
|
|
|
2014
2068
|
});
|
|
2015
2069
|
},
|
|
2016
2070
|
/**
|
|
2017
|
-
*
|
|
2071
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
2018
2072
|
* @summary Delete an agentic workflow
|
|
2019
2073
|
* @param {string} agenticWorkflowId
|
|
2020
2074
|
* @param {*} [options] Override http request option.
|
|
@@ -2088,6 +2142,17 @@ exports.AgenticWorkflowsApiFp = AgenticWorkflowsApiFp;
|
|
|
2088
2142
|
const AgenticWorkflowsApiFactory = function (configuration, basePath, axios) {
|
|
2089
2143
|
const localVarFp = (0, exports.AgenticWorkflowsApiFp)(configuration);
|
|
2090
2144
|
return {
|
|
2145
|
+
/**
|
|
2146
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
2147
|
+
* @summary Cancel agentic workflow deployment
|
|
2148
|
+
* @param {string} agenticWorkflowId
|
|
2149
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
2150
|
+
* @param {*} [options] Override http request option.
|
|
2151
|
+
* @throws {RequiredError}
|
|
2152
|
+
*/
|
|
2153
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
|
|
2154
|
+
return localVarFp.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(axios, basePath));
|
|
2155
|
+
},
|
|
2091
2156
|
/**
|
|
2092
2157
|
*
|
|
2093
2158
|
* @summary Create an agentic workflow
|
|
@@ -2100,7 +2165,7 @@ const AgenticWorkflowsApiFactory = function (configuration, basePath, axios) {
|
|
|
2100
2165
|
return localVarFp.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
|
|
2101
2166
|
},
|
|
2102
2167
|
/**
|
|
2103
|
-
*
|
|
2168
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
2104
2169
|
* @summary Delete an agentic workflow
|
|
2105
2170
|
* @param {string} agenticWorkflowId
|
|
2106
2171
|
* @param {*} [options] Override http request option.
|
|
@@ -2150,6 +2215,18 @@ exports.AgenticWorkflowsApiFactory = AgenticWorkflowsApiFactory;
|
|
|
2150
2215
|
* @extends {BaseAPI}
|
|
2151
2216
|
*/
|
|
2152
2217
|
class AgenticWorkflowsApi extends base_1.BaseAPI {
|
|
2218
|
+
/**
|
|
2219
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
2220
|
+
* @summary Cancel agentic workflow deployment
|
|
2221
|
+
* @param {string} agenticWorkflowId
|
|
2222
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
2223
|
+
* @param {*} [options] Override http request option.
|
|
2224
|
+
* @throws {RequiredError}
|
|
2225
|
+
* @memberof AgenticWorkflowsApi
|
|
2226
|
+
*/
|
|
2227
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
|
|
2228
|
+
return (0, exports.AgenticWorkflowsApiFp)(this.configuration).cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2229
|
+
}
|
|
2153
2230
|
/**
|
|
2154
2231
|
*
|
|
2155
2232
|
* @summary Create an agentic workflow
|
|
@@ -2163,7 +2240,7 @@ class AgenticWorkflowsApi extends base_1.BaseAPI {
|
|
|
2163
2240
|
return (0, exports.AgenticWorkflowsApiFp)(this.configuration).createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2164
2241
|
}
|
|
2165
2242
|
/**
|
|
2166
|
-
*
|
|
2243
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
2167
2244
|
* @summary Delete an agentic workflow
|
|
2168
2245
|
* @param {string} agenticWorkflowId
|
|
2169
2246
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4847,6 +4847,19 @@ export declare const BuildModeEnum: {
|
|
|
4847
4847
|
readonly DOCKER: "DOCKER";
|
|
4848
4848
|
};
|
|
4849
4849
|
export type BuildModeEnum = typeof BuildModeEnum[keyof typeof BuildModeEnum];
|
|
4850
|
+
/**
|
|
4851
|
+
*
|
|
4852
|
+
* @export
|
|
4853
|
+
* @interface CancelAgenticWorkflowDeploymentRequest
|
|
4854
|
+
*/
|
|
4855
|
+
export interface CancelAgenticWorkflowDeploymentRequest {
|
|
4856
|
+
/**
|
|
4857
|
+
* When false, the engine stops the deployment at the next safe point, letting the workflow\'s job terminate on its own. When true it stops waiting for that job and abandons it immediately.
|
|
4858
|
+
* @type {boolean}
|
|
4859
|
+
* @memberof CancelAgenticWorkflowDeploymentRequest
|
|
4860
|
+
*/
|
|
4861
|
+
'force_cancel'?: boolean;
|
|
4862
|
+
}
|
|
4850
4863
|
/**
|
|
4851
4864
|
*
|
|
4852
4865
|
* @export
|
|
@@ -25967,6 +25980,15 @@ export declare class AccountInfoApi extends BaseAPI {
|
|
|
25967
25980
|
* @export
|
|
25968
25981
|
*/
|
|
25969
25982
|
export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25983
|
+
/**
|
|
25984
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
25985
|
+
* @summary Cancel agentic workflow deployment
|
|
25986
|
+
* @param {string} agenticWorkflowId
|
|
25987
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
25988
|
+
* @param {*} [options] Override http request option.
|
|
25989
|
+
* @throws {RequiredError}
|
|
25990
|
+
*/
|
|
25991
|
+
cancelAgenticWorkflowDeployment: (agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25970
25992
|
/**
|
|
25971
25993
|
*
|
|
25972
25994
|
* @summary Create an agentic workflow
|
|
@@ -25977,7 +25999,7 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
|
|
|
25977
25999
|
*/
|
|
25978
26000
|
createAgenticWorkflow: (environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25979
26001
|
/**
|
|
25980
|
-
*
|
|
26002
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
25981
26003
|
* @summary Delete an agentic workflow
|
|
25982
26004
|
* @param {string} agenticWorkflowId
|
|
25983
26005
|
* @param {*} [options] Override http request option.
|
|
@@ -26015,6 +26037,15 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
|
|
|
26015
26037
|
* @export
|
|
26016
26038
|
*/
|
|
26017
26039
|
export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
|
|
26040
|
+
/**
|
|
26041
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
26042
|
+
* @summary Cancel agentic workflow deployment
|
|
26043
|
+
* @param {string} agenticWorkflowId
|
|
26044
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
26045
|
+
* @param {*} [options] Override http request option.
|
|
26046
|
+
* @throws {RequiredError}
|
|
26047
|
+
*/
|
|
26048
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
26018
26049
|
/**
|
|
26019
26050
|
*
|
|
26020
26051
|
* @summary Create an agentic workflow
|
|
@@ -26025,13 +26056,13 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
|
|
|
26025
26056
|
*/
|
|
26026
26057
|
createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>>;
|
|
26027
26058
|
/**
|
|
26028
|
-
*
|
|
26059
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
26029
26060
|
* @summary Delete an agentic workflow
|
|
26030
26061
|
* @param {string} agenticWorkflowId
|
|
26031
26062
|
* @param {*} [options] Override http request option.
|
|
26032
26063
|
* @throws {RequiredError}
|
|
26033
26064
|
*/
|
|
26034
|
-
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
26065
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
26035
26066
|
/**
|
|
26036
26067
|
*
|
|
26037
26068
|
* @summary Edit an agentic workflow
|
|
@@ -26063,6 +26094,15 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
|
|
|
26063
26094
|
* @export
|
|
26064
26095
|
*/
|
|
26065
26096
|
export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26097
|
+
/**
|
|
26098
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
26099
|
+
* @summary Cancel agentic workflow deployment
|
|
26100
|
+
* @param {string} agenticWorkflowId
|
|
26101
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
26102
|
+
* @param {*} [options] Override http request option.
|
|
26103
|
+
* @throws {RequiredError}
|
|
26104
|
+
*/
|
|
26105
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26066
26106
|
/**
|
|
26067
26107
|
*
|
|
26068
26108
|
* @summary Create an agentic workflow
|
|
@@ -26073,13 +26113,13 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
|
|
|
26073
26113
|
*/
|
|
26074
26114
|
createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse>;
|
|
26075
26115
|
/**
|
|
26076
|
-
*
|
|
26116
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
26077
26117
|
* @summary Delete an agentic workflow
|
|
26078
26118
|
* @param {string} agenticWorkflowId
|
|
26079
26119
|
* @param {*} [options] Override http request option.
|
|
26080
26120
|
* @throws {RequiredError}
|
|
26081
26121
|
*/
|
|
26082
|
-
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
26122
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
26083
26123
|
/**
|
|
26084
26124
|
*
|
|
26085
26125
|
* @summary Edit an agentic workflow
|
|
@@ -26113,6 +26153,16 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
|
|
|
26113
26153
|
* @extends {BaseAPI}
|
|
26114
26154
|
*/
|
|
26115
26155
|
export declare class AgenticWorkflowsApi extends BaseAPI {
|
|
26156
|
+
/**
|
|
26157
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
26158
|
+
* @summary Cancel agentic workflow deployment
|
|
26159
|
+
* @param {string} agenticWorkflowId
|
|
26160
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
26161
|
+
* @param {*} [options] Override http request option.
|
|
26162
|
+
* @throws {RequiredError}
|
|
26163
|
+
* @memberof AgenticWorkflowsApi
|
|
26164
|
+
*/
|
|
26165
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
26116
26166
|
/**
|
|
26117
26167
|
*
|
|
26118
26168
|
* @summary Create an agentic workflow
|
|
@@ -26124,14 +26174,14 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
|
|
|
26124
26174
|
*/
|
|
26125
26175
|
createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowResponse, any, {}>>;
|
|
26126
26176
|
/**
|
|
26127
|
-
*
|
|
26177
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
26128
26178
|
* @summary Delete an agentic workflow
|
|
26129
26179
|
* @param {string} agenticWorkflowId
|
|
26130
26180
|
* @param {*} [options] Override http request option.
|
|
26131
26181
|
* @throws {RequiredError}
|
|
26132
26182
|
* @memberof AgenticWorkflowsApi
|
|
26133
26183
|
*/
|
|
26134
|
-
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
26184
|
+
deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
26135
26185
|
/**
|
|
26136
26186
|
*
|
|
26137
26187
|
* @summary Edit an agentic workflow
|
package/dist/esm/api.js
CHANGED
|
@@ -1792,6 +1792,43 @@ export class AccountInfoApi extends BaseAPI {
|
|
|
1792
1792
|
*/
|
|
1793
1793
|
export const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
|
|
1794
1794
|
return {
|
|
1795
|
+
/**
|
|
1796
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
1797
|
+
* @summary Cancel agentic workflow deployment
|
|
1798
|
+
* @param {string} agenticWorkflowId
|
|
1799
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
1800
|
+
* @param {*} [options] Override http request option.
|
|
1801
|
+
* @throws {RequiredError}
|
|
1802
|
+
*/
|
|
1803
|
+
cancelAgenticWorkflowDeployment: (agenticWorkflowId_1, cancelAgenticWorkflowDeploymentRequest_1, ...args_1) => __awaiter(this, [agenticWorkflowId_1, cancelAgenticWorkflowDeploymentRequest_1, ...args_1], void 0, function* (agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options = {}) {
|
|
1804
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
1805
|
+
assertParamExists('cancelAgenticWorkflowDeployment', 'agenticWorkflowId', agenticWorkflowId);
|
|
1806
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/cancelDeployment`
|
|
1807
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
1808
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1809
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1810
|
+
let baseOptions;
|
|
1811
|
+
if (configuration) {
|
|
1812
|
+
baseOptions = configuration.baseOptions;
|
|
1813
|
+
}
|
|
1814
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1815
|
+
const localVarHeaderParameter = {};
|
|
1816
|
+
const localVarQueryParameter = {};
|
|
1817
|
+
// authentication ApiKeyAuth required
|
|
1818
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1819
|
+
// authentication bearerAuth required
|
|
1820
|
+
// http bearer authentication required
|
|
1821
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1822
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1823
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1824
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1825
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1826
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cancelAgenticWorkflowDeploymentRequest, localVarRequestOptions, configuration);
|
|
1827
|
+
return {
|
|
1828
|
+
url: toPathString(localVarUrlObj),
|
|
1829
|
+
options: localVarRequestOptions,
|
|
1830
|
+
};
|
|
1831
|
+
}),
|
|
1795
1832
|
/**
|
|
1796
1833
|
*
|
|
1797
1834
|
* @summary Create an agentic workflow
|
|
@@ -1830,7 +1867,7 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
|
|
|
1830
1867
|
};
|
|
1831
1868
|
}),
|
|
1832
1869
|
/**
|
|
1833
|
-
*
|
|
1870
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
1834
1871
|
* @summary Delete an agentic workflow
|
|
1835
1872
|
* @param {string} agenticWorkflowId
|
|
1836
1873
|
* @param {*} [options] Override http request option.
|
|
@@ -1977,6 +2014,23 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
|
|
|
1977
2014
|
export const AgenticWorkflowsApiFp = function (configuration) {
|
|
1978
2015
|
const localVarAxiosParamCreator = AgenticWorkflowsApiAxiosParamCreator(configuration);
|
|
1979
2016
|
return {
|
|
2017
|
+
/**
|
|
2018
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
2019
|
+
* @summary Cancel agentic workflow deployment
|
|
2020
|
+
* @param {string} agenticWorkflowId
|
|
2021
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
2022
|
+
* @param {*} [options] Override http request option.
|
|
2023
|
+
* @throws {RequiredError}
|
|
2024
|
+
*/
|
|
2025
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
|
|
2026
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2027
|
+
var _a, _b, _c;
|
|
2028
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options);
|
|
2029
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2030
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AgenticWorkflowsApi.cancelAgenticWorkflowDeployment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2031
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2032
|
+
});
|
|
2033
|
+
},
|
|
1980
2034
|
/**
|
|
1981
2035
|
*
|
|
1982
2036
|
* @summary Create an agentic workflow
|
|
@@ -1995,7 +2049,7 @@ export const AgenticWorkflowsApiFp = function (configuration) {
|
|
|
1995
2049
|
});
|
|
1996
2050
|
},
|
|
1997
2051
|
/**
|
|
1998
|
-
*
|
|
2052
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
1999
2053
|
* @summary Delete an agentic workflow
|
|
2000
2054
|
* @param {string} agenticWorkflowId
|
|
2001
2055
|
* @param {*} [options] Override http request option.
|
|
@@ -2068,6 +2122,17 @@ export const AgenticWorkflowsApiFp = function (configuration) {
|
|
|
2068
2122
|
export const AgenticWorkflowsApiFactory = function (configuration, basePath, axios) {
|
|
2069
2123
|
const localVarFp = AgenticWorkflowsApiFp(configuration);
|
|
2070
2124
|
return {
|
|
2125
|
+
/**
|
|
2126
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
2127
|
+
* @summary Cancel agentic workflow deployment
|
|
2128
|
+
* @param {string} agenticWorkflowId
|
|
2129
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
2130
|
+
* @param {*} [options] Override http request option.
|
|
2131
|
+
* @throws {RequiredError}
|
|
2132
|
+
*/
|
|
2133
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
|
|
2134
|
+
return localVarFp.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(axios, basePath));
|
|
2135
|
+
},
|
|
2071
2136
|
/**
|
|
2072
2137
|
*
|
|
2073
2138
|
* @summary Create an agentic workflow
|
|
@@ -2080,7 +2145,7 @@ export const AgenticWorkflowsApiFactory = function (configuration, basePath, axi
|
|
|
2080
2145
|
return localVarFp.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
|
|
2081
2146
|
},
|
|
2082
2147
|
/**
|
|
2083
|
-
*
|
|
2148
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
2084
2149
|
* @summary Delete an agentic workflow
|
|
2085
2150
|
* @param {string} agenticWorkflowId
|
|
2086
2151
|
* @param {*} [options] Override http request option.
|
|
@@ -2129,6 +2194,18 @@ export const AgenticWorkflowsApiFactory = function (configuration, basePath, axi
|
|
|
2129
2194
|
* @extends {BaseAPI}
|
|
2130
2195
|
*/
|
|
2131
2196
|
export class AgenticWorkflowsApi extends BaseAPI {
|
|
2197
|
+
/**
|
|
2198
|
+
* Cancel the deployment currently running the agentic workflow. An agentic workflow only ever runs as part of a deployment of its environment, so this cancels that environment deployment and aborts the workflow\'s running job.
|
|
2199
|
+
* @summary Cancel agentic workflow deployment
|
|
2200
|
+
* @param {string} agenticWorkflowId
|
|
2201
|
+
* @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
|
|
2202
|
+
* @param {*} [options] Override http request option.
|
|
2203
|
+
* @throws {RequiredError}
|
|
2204
|
+
* @memberof AgenticWorkflowsApi
|
|
2205
|
+
*/
|
|
2206
|
+
cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
|
|
2207
|
+
return AgenticWorkflowsApiFp(this.configuration).cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2208
|
+
}
|
|
2132
2209
|
/**
|
|
2133
2210
|
*
|
|
2134
2211
|
* @summary Create an agentic workflow
|
|
@@ -2142,7 +2219,7 @@ export class AgenticWorkflowsApi extends BaseAPI {
|
|
|
2142
2219
|
return AgenticWorkflowsApiFp(this.configuration).createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2143
2220
|
}
|
|
2144
2221
|
/**
|
|
2145
|
-
*
|
|
2222
|
+
* Delete an agentic workflow. This queues a deployment that removes the workflow\'s Kubernetes resources, and the workflow is deleted once that deployment completes. A workflow that was never deployed is removed immediately, with no deployment.
|
|
2146
2223
|
* @summary Delete an agentic workflow
|
|
2147
2224
|
* @param {string} agenticWorkflowId
|
|
2148
2225
|
* @param {*} [options] Override http request option.
|