qovery-typescript-axios 1.1.935 → 1.1.937

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 CHANGED
@@ -371,12 +371,24 @@ export interface AgenticWorkflowResponse {
371
371
  * @memberof AgenticWorkflowResponse
372
372
  */
373
373
  'updated_at'?: string;
374
+ /**
375
+ *
376
+ * @type {ServiceTypeEnum}
377
+ * @memberof AgenticWorkflowResponse
378
+ */
379
+ 'service_type': ServiceTypeEnum;
374
380
  /**
375
381
  * name is case insensitive
376
382
  * @type {string}
377
383
  * @memberof AgenticWorkflowResponse
378
384
  */
379
385
  'name': string;
386
+ /**
387
+ * URL-friendly identifier derived from the name
388
+ * @type {string}
389
+ * @memberof AgenticWorkflowResponse
390
+ */
391
+ 'slug': string;
380
392
  /**
381
393
  *
382
394
  * @type {string}
@@ -444,6 +456,8 @@ export interface AgenticWorkflowResponse {
444
456
  */
445
457
  'webhook': AgenticWorkflowWebhook;
446
458
  }
459
+
460
+
447
461
  /**
448
462
  *
449
463
  * @export
@@ -4995,6 +5009,19 @@ export const BuildModeEnum = {
4995
5009
  export type BuildModeEnum = typeof BuildModeEnum[keyof typeof BuildModeEnum];
4996
5010
 
4997
5011
 
5012
+ /**
5013
+ *
5014
+ * @export
5015
+ * @interface CancelAgenticWorkflowDeploymentRequest
5016
+ */
5017
+ export interface CancelAgenticWorkflowDeploymentRequest {
5018
+ /**
5019
+ * 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.
5020
+ * @type {boolean}
5021
+ * @memberof CancelAgenticWorkflowDeploymentRequest
5022
+ */
5023
+ 'force_cancel'?: boolean;
5024
+ }
4998
5025
  /**
4999
5026
  *
5000
5027
  * @export
@@ -19095,7 +19122,7 @@ export interface ListServicesByEnvironmentId200Response {
19095
19122
  * @type ListServicesByEnvironmentId200ResponseResultsInner
19096
19123
  * @export
19097
19124
  */
19098
- export type ListServicesByEnvironmentId200ResponseResultsInner = { service_type: 'APPLICATION' } & Application | { service_type: 'ARGOCD_APP' } & ArgocdAppResponse | { service_type: 'CONTAINER' } & ContainerResponse | { service_type: 'DATABASE' } & Database | { service_type: 'HELM' } & HelmResponse | { service_type: 'JOB' } & JobResponse | { service_type: 'TERRAFORM' } & TerraformResponse;
19125
+ export type ListServicesByEnvironmentId200ResponseResultsInner = { service_type: 'AGENTIC_WORKFLOW' } & AgenticWorkflowResponse | { service_type: 'APPLICATION' } & Application | { service_type: 'ARGOCD_APP' } & ArgocdAppResponse | { service_type: 'CONTAINER' } & ContainerResponse | { service_type: 'DATABASE' } & Database | { service_type: 'HELM' } & HelmResponse | { service_type: 'JOB' } & JobResponse | { service_type: 'TERRAFORM' } & TerraformResponse;
19099
19126
 
19100
19127
  /**
19101
19128
  *
@@ -24172,7 +24199,8 @@ export const ServiceTypeEnum = {
24172
24199
  JOB: 'JOB',
24173
24200
  HELM: 'HELM',
24174
24201
  TERRAFORM: 'TERRAFORM',
24175
- ARGOCD_APP: 'ARGOCD_APP'
24202
+ ARGOCD_APP: 'ARGOCD_APP',
24203
+ AGENTIC_WORKFLOW: 'AGENTIC_WORKFLOW'
24176
24204
  } as const;
24177
24205
 
24178
24206
  export type ServiceTypeEnum = typeof ServiceTypeEnum[keyof typeof ServiceTypeEnum];
@@ -26899,6 +26927,51 @@ export class AccountInfoApi extends BaseAPI {
26899
26927
  */
26900
26928
  export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Configuration) {
26901
26929
  return {
26930
+ /**
26931
+ * 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.
26932
+ * @summary Cancel agentic workflow deployment
26933
+ * @param {string} agenticWorkflowId
26934
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26935
+ * @param {*} [options] Override http request option.
26936
+ * @throws {RequiredError}
26937
+ */
26938
+ cancelAgenticWorkflowDeployment: async (agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26939
+ // verify required parameter 'agenticWorkflowId' is not null or undefined
26940
+ assertParamExists('cancelAgenticWorkflowDeployment', 'agenticWorkflowId', agenticWorkflowId)
26941
+ const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/cancelDeployment`
26942
+ .replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
26943
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26944
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26945
+ let baseOptions;
26946
+ if (configuration) {
26947
+ baseOptions = configuration.baseOptions;
26948
+ }
26949
+
26950
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26951
+ const localVarHeaderParameter = {} as any;
26952
+ const localVarQueryParameter = {} as any;
26953
+
26954
+ // authentication ApiKeyAuth required
26955
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26956
+
26957
+ // authentication bearerAuth required
26958
+ // http bearer authentication required
26959
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26960
+
26961
+
26962
+
26963
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26964
+
26965
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26966
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26967
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26968
+ localVarRequestOptions.data = serializeDataIfNeeded(cancelAgenticWorkflowDeploymentRequest, localVarRequestOptions, configuration)
26969
+
26970
+ return {
26971
+ url: toPathString(localVarUrlObj),
26972
+ options: localVarRequestOptions,
26973
+ };
26974
+ },
26902
26975
  /**
26903
26976
  *
26904
26977
  * @summary Create an agentic workflow
@@ -26945,7 +27018,7 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Co
26945
27018
  };
26946
27019
  },
26947
27020
  /**
26948
- *
27021
+ * 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
27022
  * @summary Delete an agentic workflow
26950
27023
  * @param {string} agenticWorkflowId
26951
27024
  * @param {*} [options] Override http request option.
@@ -27122,6 +27195,20 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Co
27122
27195
  export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
27123
27196
  const localVarAxiosParamCreator = AgenticWorkflowsApiAxiosParamCreator(configuration)
27124
27197
  return {
27198
+ /**
27199
+ * 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.
27200
+ * @summary Cancel agentic workflow deployment
27201
+ * @param {string} agenticWorkflowId
27202
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
27203
+ * @param {*} [options] Override http request option.
27204
+ * @throws {RequiredError}
27205
+ */
27206
+ async cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
27207
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options);
27208
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27209
+ const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.cancelAgenticWorkflowDeployment']?.[localVarOperationServerIndex]?.url;
27210
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27211
+ },
27125
27212
  /**
27126
27213
  *
27127
27214
  * @summary Create an agentic workflow
@@ -27137,13 +27224,13 @@ export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
27137
27224
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27138
27225
  },
27139
27226
  /**
27140
- *
27227
+ * 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
27228
  * @summary Delete an agentic workflow
27142
27229
  * @param {string} agenticWorkflowId
27143
27230
  * @param {*} [options] Override http request option.
27144
27231
  * @throws {RequiredError}
27145
27232
  */
27146
- async deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
27233
+ async deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
27147
27234
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgenticWorkflow(agenticWorkflowId, options);
27148
27235
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27149
27236
  const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.deleteAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
@@ -27199,6 +27286,17 @@ export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
27199
27286
  export const AgenticWorkflowsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
27200
27287
  const localVarFp = AgenticWorkflowsApiFp(configuration)
27201
27288
  return {
27289
+ /**
27290
+ * 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.
27291
+ * @summary Cancel agentic workflow deployment
27292
+ * @param {string} agenticWorkflowId
27293
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
27294
+ * @param {*} [options] Override http request option.
27295
+ * @throws {RequiredError}
27296
+ */
27297
+ cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27298
+ return localVarFp.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(axios, basePath));
27299
+ },
27202
27300
  /**
27203
27301
  *
27204
27302
  * @summary Create an agentic workflow
@@ -27211,13 +27309,13 @@ export const AgenticWorkflowsApiFactory = function (configuration?: Configuratio
27211
27309
  return localVarFp.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
27212
27310
  },
27213
27311
  /**
27214
- *
27312
+ * 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
27313
  * @summary Delete an agentic workflow
27216
27314
  * @param {string} agenticWorkflowId
27217
27315
  * @param {*} [options] Override http request option.
27218
27316
  * @throws {RequiredError}
27219
27317
  */
27220
- deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27318
+ deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
27221
27319
  return localVarFp.deleteAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
27222
27320
  },
27223
27321
  /**
@@ -27261,6 +27359,19 @@ export const AgenticWorkflowsApiFactory = function (configuration?: Configuratio
27261
27359
  * @extends {BaseAPI}
27262
27360
  */
27263
27361
  export class AgenticWorkflowsApi extends BaseAPI {
27362
+ /**
27363
+ * 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.
27364
+ * @summary Cancel agentic workflow deployment
27365
+ * @param {string} agenticWorkflowId
27366
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
27367
+ * @param {*} [options] Override http request option.
27368
+ * @throws {RequiredError}
27369
+ * @memberof AgenticWorkflowsApi
27370
+ */
27371
+ public cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig) {
27372
+ return AgenticWorkflowsApiFp(this.configuration).cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
27373
+ }
27374
+
27264
27375
  /**
27265
27376
  *
27266
27377
  * @summary Create an agentic workflow
@@ -27275,7 +27386,7 @@ export class AgenticWorkflowsApi extends BaseAPI {
27275
27386
  }
27276
27387
 
27277
27388
  /**
27278
- *
27389
+ * 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
27390
  * @summary Delete an agentic workflow
27280
27391
  * @param {string} agenticWorkflowId
27281
27392
  * @param {*} [options] Override http request option.
package/dist/api.d.ts CHANGED
@@ -345,12 +345,24 @@ export interface AgenticWorkflowResponse {
345
345
  * @memberof AgenticWorkflowResponse
346
346
  */
347
347
  'updated_at'?: string;
348
+ /**
349
+ *
350
+ * @type {ServiceTypeEnum}
351
+ * @memberof AgenticWorkflowResponse
352
+ */
353
+ 'service_type': ServiceTypeEnum;
348
354
  /**
349
355
  * name is case insensitive
350
356
  * @type {string}
351
357
  * @memberof AgenticWorkflowResponse
352
358
  */
353
359
  'name': string;
360
+ /**
361
+ * URL-friendly identifier derived from the name
362
+ * @type {string}
363
+ * @memberof AgenticWorkflowResponse
364
+ */
365
+ 'slug': string;
354
366
  /**
355
367
  *
356
368
  * @type {string}
@@ -4847,6 +4859,19 @@ export declare const BuildModeEnum: {
4847
4859
  readonly DOCKER: "DOCKER";
4848
4860
  };
4849
4861
  export type BuildModeEnum = typeof BuildModeEnum[keyof typeof BuildModeEnum];
4862
+ /**
4863
+ *
4864
+ * @export
4865
+ * @interface CancelAgenticWorkflowDeploymentRequest
4866
+ */
4867
+ export interface CancelAgenticWorkflowDeploymentRequest {
4868
+ /**
4869
+ * 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.
4870
+ * @type {boolean}
4871
+ * @memberof CancelAgenticWorkflowDeploymentRequest
4872
+ */
4873
+ 'force_cancel'?: boolean;
4874
+ }
4850
4875
  /**
4851
4876
  *
4852
4877
  * @export
@@ -18540,6 +18565,8 @@ export interface ListServicesByEnvironmentId200Response {
18540
18565
  * @export
18541
18566
  */
18542
18567
  export type ListServicesByEnvironmentId200ResponseResultsInner = {
18568
+ service_type: 'AGENTIC_WORKFLOW';
18569
+ } & AgenticWorkflowResponse | {
18543
18570
  service_type: 'APPLICATION';
18544
18571
  } & Application | {
18545
18572
  service_type: 'ARGOCD_APP';
@@ -23426,6 +23453,7 @@ export declare const ServiceTypeEnum: {
23426
23453
  readonly HELM: "HELM";
23427
23454
  readonly TERRAFORM: "TERRAFORM";
23428
23455
  readonly ARGOCD_APP: "ARGOCD_APP";
23456
+ readonly AGENTIC_WORKFLOW: "AGENTIC_WORKFLOW";
23429
23457
  };
23430
23458
  export type ServiceTypeEnum = typeof ServiceTypeEnum[keyof typeof ServiceTypeEnum];
23431
23459
  /**
@@ -25967,6 +25995,15 @@ export declare class AccountInfoApi extends BaseAPI {
25967
25995
  * @export
25968
25996
  */
25969
25997
  export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Configuration) => {
25998
+ /**
25999
+ * 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.
26000
+ * @summary Cancel agentic workflow deployment
26001
+ * @param {string} agenticWorkflowId
26002
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26003
+ * @param {*} [options] Override http request option.
26004
+ * @throws {RequiredError}
26005
+ */
26006
+ cancelAgenticWorkflowDeployment: (agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25970
26007
  /**
25971
26008
  *
25972
26009
  * @summary Create an agentic workflow
@@ -25977,7 +26014,7 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
25977
26014
  */
25978
26015
  createAgenticWorkflow: (environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25979
26016
  /**
25980
- *
26017
+ * 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
26018
  * @summary Delete an agentic workflow
25982
26019
  * @param {string} agenticWorkflowId
25983
26020
  * @param {*} [options] Override http request option.
@@ -26015,6 +26052,15 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
26015
26052
  * @export
26016
26053
  */
26017
26054
  export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26055
+ /**
26056
+ * 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.
26057
+ * @summary Cancel agentic workflow deployment
26058
+ * @param {string} agenticWorkflowId
26059
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26060
+ * @param {*} [options] Override http request option.
26061
+ * @throws {RequiredError}
26062
+ */
26063
+ cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26018
26064
  /**
26019
26065
  *
26020
26066
  * @summary Create an agentic workflow
@@ -26025,13 +26071,13 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26025
26071
  */
26026
26072
  createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>>;
26027
26073
  /**
26028
- *
26074
+ * 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
26075
  * @summary Delete an agentic workflow
26030
26076
  * @param {string} agenticWorkflowId
26031
26077
  * @param {*} [options] Override http request option.
26032
26078
  * @throws {RequiredError}
26033
26079
  */
26034
- deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26080
+ deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
26035
26081
  /**
26036
26082
  *
26037
26083
  * @summary Edit an agentic workflow
@@ -26063,6 +26109,15 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26063
26109
  * @export
26064
26110
  */
26065
26111
  export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26112
+ /**
26113
+ * 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.
26114
+ * @summary Cancel agentic workflow deployment
26115
+ * @param {string} agenticWorkflowId
26116
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26117
+ * @param {*} [options] Override http request option.
26118
+ * @throws {RequiredError}
26119
+ */
26120
+ cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26066
26121
  /**
26067
26122
  *
26068
26123
  * @summary Create an agentic workflow
@@ -26073,13 +26128,13 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
26073
26128
  */
26074
26129
  createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse>;
26075
26130
  /**
26076
- *
26131
+ * 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
26132
  * @summary Delete an agentic workflow
26078
26133
  * @param {string} agenticWorkflowId
26079
26134
  * @param {*} [options] Override http request option.
26080
26135
  * @throws {RequiredError}
26081
26136
  */
26082
- deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26137
+ deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
26083
26138
  /**
26084
26139
  *
26085
26140
  * @summary Edit an agentic workflow
@@ -26113,6 +26168,16 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
26113
26168
  * @extends {BaseAPI}
26114
26169
  */
26115
26170
  export declare class AgenticWorkflowsApi extends BaseAPI {
26171
+ /**
26172
+ * 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.
26173
+ * @summary Cancel agentic workflow deployment
26174
+ * @param {string} agenticWorkflowId
26175
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26176
+ * @param {*} [options] Override http request option.
26177
+ * @throws {RequiredError}
26178
+ * @memberof AgenticWorkflowsApi
26179
+ */
26180
+ cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
26116
26181
  /**
26117
26182
  *
26118
26183
  * @summary Create an agentic workflow
@@ -26124,14 +26189,14 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
26124
26189
  */
26125
26190
  createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowResponse, any, {}>>;
26126
26191
  /**
26127
- *
26192
+ * 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
26193
  * @summary Delete an agentic workflow
26129
26194
  * @param {string} agenticWorkflowId
26130
26195
  * @param {*} [options] Override http request option.
26131
26196
  * @throws {RequiredError}
26132
26197
  * @memberof AgenticWorkflowsApi
26133
26198
  */
26134
- deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
26199
+ deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
26135
26200
  /**
26136
26201
  *
26137
26202
  * @summary Edit an agentic workflow
package/dist/api.js CHANGED
@@ -1462,7 +1462,8 @@ exports.ServiceTypeEnum = {
1462
1462
  JOB: 'JOB',
1463
1463
  HELM: 'HELM',
1464
1464
  TERRAFORM: 'TERRAFORM',
1465
- ARGOCD_APP: 'ARGOCD_APP'
1465
+ ARGOCD_APP: 'ARGOCD_APP',
1466
+ AGENTIC_WORKFLOW: 'AGENTIC_WORKFLOW'
1466
1467
  };
1467
1468
  /**
1468
1469
  * type of the service
@@ -1810,6 +1811,43 @@ exports.AccountInfoApi = AccountInfoApi;
1810
1811
  */
1811
1812
  const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
1812
1813
  return {
1814
+ /**
1815
+ * 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.
1816
+ * @summary Cancel agentic workflow deployment
1817
+ * @param {string} agenticWorkflowId
1818
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
1819
+ * @param {*} [options] Override http request option.
1820
+ * @throws {RequiredError}
1821
+ */
1822
+ cancelAgenticWorkflowDeployment: (agenticWorkflowId_1, cancelAgenticWorkflowDeploymentRequest_1, ...args_1) => __awaiter(this, [agenticWorkflowId_1, cancelAgenticWorkflowDeploymentRequest_1, ...args_1], void 0, function* (agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options = {}) {
1823
+ // verify required parameter 'agenticWorkflowId' is not null or undefined
1824
+ (0, common_1.assertParamExists)('cancelAgenticWorkflowDeployment', 'agenticWorkflowId', agenticWorkflowId);
1825
+ const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/cancelDeployment`
1826
+ .replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
1827
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1828
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1829
+ let baseOptions;
1830
+ if (configuration) {
1831
+ baseOptions = configuration.baseOptions;
1832
+ }
1833
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1834
+ const localVarHeaderParameter = {};
1835
+ const localVarQueryParameter = {};
1836
+ // authentication ApiKeyAuth required
1837
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1838
+ // authentication bearerAuth required
1839
+ // http bearer authentication required
1840
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1841
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1842
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1843
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1844
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1845
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cancelAgenticWorkflowDeploymentRequest, localVarRequestOptions, configuration);
1846
+ return {
1847
+ url: (0, common_1.toPathString)(localVarUrlObj),
1848
+ options: localVarRequestOptions,
1849
+ };
1850
+ }),
1813
1851
  /**
1814
1852
  *
1815
1853
  * @summary Create an agentic workflow
@@ -1848,7 +1886,7 @@ const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
1848
1886
  };
1849
1887
  }),
1850
1888
  /**
1851
- *
1889
+ * 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
1890
  * @summary Delete an agentic workflow
1853
1891
  * @param {string} agenticWorkflowId
1854
1892
  * @param {*} [options] Override http request option.
@@ -1996,6 +2034,23 @@ exports.AgenticWorkflowsApiAxiosParamCreator = AgenticWorkflowsApiAxiosParamCrea
1996
2034
  const AgenticWorkflowsApiFp = function (configuration) {
1997
2035
  const localVarAxiosParamCreator = (0, exports.AgenticWorkflowsApiAxiosParamCreator)(configuration);
1998
2036
  return {
2037
+ /**
2038
+ * 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.
2039
+ * @summary Cancel agentic workflow deployment
2040
+ * @param {string} agenticWorkflowId
2041
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
2042
+ * @param {*} [options] Override http request option.
2043
+ * @throws {RequiredError}
2044
+ */
2045
+ cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
2046
+ return __awaiter(this, void 0, void 0, function* () {
2047
+ var _a, _b, _c;
2048
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options);
2049
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2050
+ 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;
2051
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2052
+ });
2053
+ },
1999
2054
  /**
2000
2055
  *
2001
2056
  * @summary Create an agentic workflow
@@ -2014,7 +2069,7 @@ const AgenticWorkflowsApiFp = function (configuration) {
2014
2069
  });
2015
2070
  },
2016
2071
  /**
2017
- *
2072
+ * 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
2073
  * @summary Delete an agentic workflow
2019
2074
  * @param {string} agenticWorkflowId
2020
2075
  * @param {*} [options] Override http request option.
@@ -2088,6 +2143,17 @@ exports.AgenticWorkflowsApiFp = AgenticWorkflowsApiFp;
2088
2143
  const AgenticWorkflowsApiFactory = function (configuration, basePath, axios) {
2089
2144
  const localVarFp = (0, exports.AgenticWorkflowsApiFp)(configuration);
2090
2145
  return {
2146
+ /**
2147
+ * 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.
2148
+ * @summary Cancel agentic workflow deployment
2149
+ * @param {string} agenticWorkflowId
2150
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
2151
+ * @param {*} [options] Override http request option.
2152
+ * @throws {RequiredError}
2153
+ */
2154
+ cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
2155
+ return localVarFp.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(axios, basePath));
2156
+ },
2091
2157
  /**
2092
2158
  *
2093
2159
  * @summary Create an agentic workflow
@@ -2100,7 +2166,7 @@ const AgenticWorkflowsApiFactory = function (configuration, basePath, axios) {
2100
2166
  return localVarFp.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
2101
2167
  },
2102
2168
  /**
2103
- *
2169
+ * 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
2170
  * @summary Delete an agentic workflow
2105
2171
  * @param {string} agenticWorkflowId
2106
2172
  * @param {*} [options] Override http request option.
@@ -2150,6 +2216,18 @@ exports.AgenticWorkflowsApiFactory = AgenticWorkflowsApiFactory;
2150
2216
  * @extends {BaseAPI}
2151
2217
  */
2152
2218
  class AgenticWorkflowsApi extends base_1.BaseAPI {
2219
+ /**
2220
+ * 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.
2221
+ * @summary Cancel agentic workflow deployment
2222
+ * @param {string} agenticWorkflowId
2223
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
2224
+ * @param {*} [options] Override http request option.
2225
+ * @throws {RequiredError}
2226
+ * @memberof AgenticWorkflowsApi
2227
+ */
2228
+ cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
2229
+ return (0, exports.AgenticWorkflowsApiFp)(this.configuration).cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
2230
+ }
2153
2231
  /**
2154
2232
  *
2155
2233
  * @summary Create an agentic workflow
@@ -2163,7 +2241,7 @@ class AgenticWorkflowsApi extends base_1.BaseAPI {
2163
2241
  return (0, exports.AgenticWorkflowsApiFp)(this.configuration).createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(this.axios, this.basePath));
2164
2242
  }
2165
2243
  /**
2166
- *
2244
+ * 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
2245
  * @summary Delete an agentic workflow
2168
2246
  * @param {string} agenticWorkflowId
2169
2247
  * @param {*} [options] Override http request option.
package/dist/esm/api.d.ts CHANGED
@@ -345,12 +345,24 @@ export interface AgenticWorkflowResponse {
345
345
  * @memberof AgenticWorkflowResponse
346
346
  */
347
347
  'updated_at'?: string;
348
+ /**
349
+ *
350
+ * @type {ServiceTypeEnum}
351
+ * @memberof AgenticWorkflowResponse
352
+ */
353
+ 'service_type': ServiceTypeEnum;
348
354
  /**
349
355
  * name is case insensitive
350
356
  * @type {string}
351
357
  * @memberof AgenticWorkflowResponse
352
358
  */
353
359
  'name': string;
360
+ /**
361
+ * URL-friendly identifier derived from the name
362
+ * @type {string}
363
+ * @memberof AgenticWorkflowResponse
364
+ */
365
+ 'slug': string;
354
366
  /**
355
367
  *
356
368
  * @type {string}
@@ -4847,6 +4859,19 @@ export declare const BuildModeEnum: {
4847
4859
  readonly DOCKER: "DOCKER";
4848
4860
  };
4849
4861
  export type BuildModeEnum = typeof BuildModeEnum[keyof typeof BuildModeEnum];
4862
+ /**
4863
+ *
4864
+ * @export
4865
+ * @interface CancelAgenticWorkflowDeploymentRequest
4866
+ */
4867
+ export interface CancelAgenticWorkflowDeploymentRequest {
4868
+ /**
4869
+ * 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.
4870
+ * @type {boolean}
4871
+ * @memberof CancelAgenticWorkflowDeploymentRequest
4872
+ */
4873
+ 'force_cancel'?: boolean;
4874
+ }
4850
4875
  /**
4851
4876
  *
4852
4877
  * @export
@@ -18540,6 +18565,8 @@ export interface ListServicesByEnvironmentId200Response {
18540
18565
  * @export
18541
18566
  */
18542
18567
  export type ListServicesByEnvironmentId200ResponseResultsInner = {
18568
+ service_type: 'AGENTIC_WORKFLOW';
18569
+ } & AgenticWorkflowResponse | {
18543
18570
  service_type: 'APPLICATION';
18544
18571
  } & Application | {
18545
18572
  service_type: 'ARGOCD_APP';
@@ -23426,6 +23453,7 @@ export declare const ServiceTypeEnum: {
23426
23453
  readonly HELM: "HELM";
23427
23454
  readonly TERRAFORM: "TERRAFORM";
23428
23455
  readonly ARGOCD_APP: "ARGOCD_APP";
23456
+ readonly AGENTIC_WORKFLOW: "AGENTIC_WORKFLOW";
23429
23457
  };
23430
23458
  export type ServiceTypeEnum = typeof ServiceTypeEnum[keyof typeof ServiceTypeEnum];
23431
23459
  /**
@@ -25967,6 +25995,15 @@ export declare class AccountInfoApi extends BaseAPI {
25967
25995
  * @export
25968
25996
  */
25969
25997
  export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Configuration) => {
25998
+ /**
25999
+ * 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.
26000
+ * @summary Cancel agentic workflow deployment
26001
+ * @param {string} agenticWorkflowId
26002
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26003
+ * @param {*} [options] Override http request option.
26004
+ * @throws {RequiredError}
26005
+ */
26006
+ cancelAgenticWorkflowDeployment: (agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25970
26007
  /**
25971
26008
  *
25972
26009
  * @summary Create an agentic workflow
@@ -25977,7 +26014,7 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
25977
26014
  */
25978
26015
  createAgenticWorkflow: (environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25979
26016
  /**
25980
- *
26017
+ * 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
26018
  * @summary Delete an agentic workflow
25982
26019
  * @param {string} agenticWorkflowId
25983
26020
  * @param {*} [options] Override http request option.
@@ -26015,6 +26052,15 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
26015
26052
  * @export
26016
26053
  */
26017
26054
  export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26055
+ /**
26056
+ * 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.
26057
+ * @summary Cancel agentic workflow deployment
26058
+ * @param {string} agenticWorkflowId
26059
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26060
+ * @param {*} [options] Override http request option.
26061
+ * @throws {RequiredError}
26062
+ */
26063
+ cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26018
26064
  /**
26019
26065
  *
26020
26066
  * @summary Create an agentic workflow
@@ -26025,13 +26071,13 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26025
26071
  */
26026
26072
  createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>>;
26027
26073
  /**
26028
- *
26074
+ * 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
26075
  * @summary Delete an agentic workflow
26030
26076
  * @param {string} agenticWorkflowId
26031
26077
  * @param {*} [options] Override http request option.
26032
26078
  * @throws {RequiredError}
26033
26079
  */
26034
- deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26080
+ deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
26035
26081
  /**
26036
26082
  *
26037
26083
  * @summary Edit an agentic workflow
@@ -26063,6 +26109,15 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26063
26109
  * @export
26064
26110
  */
26065
26111
  export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26112
+ /**
26113
+ * 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.
26114
+ * @summary Cancel agentic workflow deployment
26115
+ * @param {string} agenticWorkflowId
26116
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26117
+ * @param {*} [options] Override http request option.
26118
+ * @throws {RequiredError}
26119
+ */
26120
+ cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26066
26121
  /**
26067
26122
  *
26068
26123
  * @summary Create an agentic workflow
@@ -26073,13 +26128,13 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
26073
26128
  */
26074
26129
  createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse>;
26075
26130
  /**
26076
- *
26131
+ * 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
26132
  * @summary Delete an agentic workflow
26078
26133
  * @param {string} agenticWorkflowId
26079
26134
  * @param {*} [options] Override http request option.
26080
26135
  * @throws {RequiredError}
26081
26136
  */
26082
- deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26137
+ deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
26083
26138
  /**
26084
26139
  *
26085
26140
  * @summary Edit an agentic workflow
@@ -26113,6 +26168,16 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
26113
26168
  * @extends {BaseAPI}
26114
26169
  */
26115
26170
  export declare class AgenticWorkflowsApi extends BaseAPI {
26171
+ /**
26172
+ * 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.
26173
+ * @summary Cancel agentic workflow deployment
26174
+ * @param {string} agenticWorkflowId
26175
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
26176
+ * @param {*} [options] Override http request option.
26177
+ * @throws {RequiredError}
26178
+ * @memberof AgenticWorkflowsApi
26179
+ */
26180
+ cancelAgenticWorkflowDeployment(agenticWorkflowId: string, cancelAgenticWorkflowDeploymentRequest?: CancelAgenticWorkflowDeploymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
26116
26181
  /**
26117
26182
  *
26118
26183
  * @summary Create an agentic workflow
@@ -26124,14 +26189,14 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
26124
26189
  */
26125
26190
  createAgenticWorkflow(environmentId: string, agenticWorkflowRequest?: AgenticWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowResponse, any, {}>>;
26126
26191
  /**
26127
- *
26192
+ * 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
26193
  * @summary Delete an agentic workflow
26129
26194
  * @param {string} agenticWorkflowId
26130
26195
  * @param {*} [options] Override http request option.
26131
26196
  * @throws {RequiredError}
26132
26197
  * @memberof AgenticWorkflowsApi
26133
26198
  */
26134
- deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
26199
+ deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
26135
26200
  /**
26136
26201
  *
26137
26202
  * @summary Edit an agentic workflow
package/dist/esm/api.js CHANGED
@@ -1448,7 +1448,8 @@ export const ServiceTypeEnum = {
1448
1448
  JOB: 'JOB',
1449
1449
  HELM: 'HELM',
1450
1450
  TERRAFORM: 'TERRAFORM',
1451
- ARGOCD_APP: 'ARGOCD_APP'
1451
+ ARGOCD_APP: 'ARGOCD_APP',
1452
+ AGENTIC_WORKFLOW: 'AGENTIC_WORKFLOW'
1452
1453
  };
1453
1454
  /**
1454
1455
  * type of the service
@@ -1792,6 +1793,43 @@ export class AccountInfoApi extends BaseAPI {
1792
1793
  */
1793
1794
  export const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
1794
1795
  return {
1796
+ /**
1797
+ * 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.
1798
+ * @summary Cancel agentic workflow deployment
1799
+ * @param {string} agenticWorkflowId
1800
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
1801
+ * @param {*} [options] Override http request option.
1802
+ * @throws {RequiredError}
1803
+ */
1804
+ cancelAgenticWorkflowDeployment: (agenticWorkflowId_1, cancelAgenticWorkflowDeploymentRequest_1, ...args_1) => __awaiter(this, [agenticWorkflowId_1, cancelAgenticWorkflowDeploymentRequest_1, ...args_1], void 0, function* (agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options = {}) {
1805
+ // verify required parameter 'agenticWorkflowId' is not null or undefined
1806
+ assertParamExists('cancelAgenticWorkflowDeployment', 'agenticWorkflowId', agenticWorkflowId);
1807
+ const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/cancelDeployment`
1808
+ .replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
1809
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1810
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1811
+ let baseOptions;
1812
+ if (configuration) {
1813
+ baseOptions = configuration.baseOptions;
1814
+ }
1815
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1816
+ const localVarHeaderParameter = {};
1817
+ const localVarQueryParameter = {};
1818
+ // authentication ApiKeyAuth required
1819
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1820
+ // authentication bearerAuth required
1821
+ // http bearer authentication required
1822
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1823
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1824
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1825
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1826
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1827
+ localVarRequestOptions.data = serializeDataIfNeeded(cancelAgenticWorkflowDeploymentRequest, localVarRequestOptions, configuration);
1828
+ return {
1829
+ url: toPathString(localVarUrlObj),
1830
+ options: localVarRequestOptions,
1831
+ };
1832
+ }),
1795
1833
  /**
1796
1834
  *
1797
1835
  * @summary Create an agentic workflow
@@ -1830,7 +1868,7 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
1830
1868
  };
1831
1869
  }),
1832
1870
  /**
1833
- *
1871
+ * 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
1872
  * @summary Delete an agentic workflow
1835
1873
  * @param {string} agenticWorkflowId
1836
1874
  * @param {*} [options] Override http request option.
@@ -1977,6 +2015,23 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
1977
2015
  export const AgenticWorkflowsApiFp = function (configuration) {
1978
2016
  const localVarAxiosParamCreator = AgenticWorkflowsApiAxiosParamCreator(configuration);
1979
2017
  return {
2018
+ /**
2019
+ * 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.
2020
+ * @summary Cancel agentic workflow deployment
2021
+ * @param {string} agenticWorkflowId
2022
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
2023
+ * @param {*} [options] Override http request option.
2024
+ * @throws {RequiredError}
2025
+ */
2026
+ cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
2027
+ return __awaiter(this, void 0, void 0, function* () {
2028
+ var _a, _b, _c;
2029
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options);
2030
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2031
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AgenticWorkflowsApi.cancelAgenticWorkflowDeployment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2032
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2033
+ });
2034
+ },
1980
2035
  /**
1981
2036
  *
1982
2037
  * @summary Create an agentic workflow
@@ -1995,7 +2050,7 @@ export const AgenticWorkflowsApiFp = function (configuration) {
1995
2050
  });
1996
2051
  },
1997
2052
  /**
1998
- *
2053
+ * 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
2054
  * @summary Delete an agentic workflow
2000
2055
  * @param {string} agenticWorkflowId
2001
2056
  * @param {*} [options] Override http request option.
@@ -2068,6 +2123,17 @@ export const AgenticWorkflowsApiFp = function (configuration) {
2068
2123
  export const AgenticWorkflowsApiFactory = function (configuration, basePath, axios) {
2069
2124
  const localVarFp = AgenticWorkflowsApiFp(configuration);
2070
2125
  return {
2126
+ /**
2127
+ * 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.
2128
+ * @summary Cancel agentic workflow deployment
2129
+ * @param {string} agenticWorkflowId
2130
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
2131
+ * @param {*} [options] Override http request option.
2132
+ * @throws {RequiredError}
2133
+ */
2134
+ cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
2135
+ return localVarFp.cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(axios, basePath));
2136
+ },
2071
2137
  /**
2072
2138
  *
2073
2139
  * @summary Create an agentic workflow
@@ -2080,7 +2146,7 @@ export const AgenticWorkflowsApiFactory = function (configuration, basePath, axi
2080
2146
  return localVarFp.createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(axios, basePath));
2081
2147
  },
2082
2148
  /**
2083
- *
2149
+ * 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
2150
  * @summary Delete an agentic workflow
2085
2151
  * @param {string} agenticWorkflowId
2086
2152
  * @param {*} [options] Override http request option.
@@ -2129,6 +2195,18 @@ export const AgenticWorkflowsApiFactory = function (configuration, basePath, axi
2129
2195
  * @extends {BaseAPI}
2130
2196
  */
2131
2197
  export class AgenticWorkflowsApi extends BaseAPI {
2198
+ /**
2199
+ * 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.
2200
+ * @summary Cancel agentic workflow deployment
2201
+ * @param {string} agenticWorkflowId
2202
+ * @param {CancelAgenticWorkflowDeploymentRequest} [cancelAgenticWorkflowDeploymentRequest]
2203
+ * @param {*} [options] Override http request option.
2204
+ * @throws {RequiredError}
2205
+ * @memberof AgenticWorkflowsApi
2206
+ */
2207
+ cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options) {
2208
+ return AgenticWorkflowsApiFp(this.configuration).cancelAgenticWorkflowDeployment(agenticWorkflowId, cancelAgenticWorkflowDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
2209
+ }
2132
2210
  /**
2133
2211
  *
2134
2212
  * @summary Create an agentic workflow
@@ -2142,7 +2220,7 @@ export class AgenticWorkflowsApi extends BaseAPI {
2142
2220
  return AgenticWorkflowsApiFp(this.configuration).createAgenticWorkflow(environmentId, agenticWorkflowRequest, options).then((request) => request(this.axios, this.basePath));
2143
2221
  }
2144
2222
  /**
2145
- *
2223
+ * 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
2224
  * @summary Delete an agentic workflow
2147
2225
  * @param {string} agenticWorkflowId
2148
2226
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.935",
3
+ "version": "v1.1.937",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {