qovery-typescript-axios 1.1.947 → 1.1.949

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
@@ -12931,6 +12931,12 @@ export interface Environment {
12931
12931
  * @memberof Environment
12932
12932
  */
12933
12933
  'cluster_name'?: string;
12934
+ /**
12935
+ * Date after which the environment is automatically deleted. Null when the environment never expires, which is the case for every environment except the throwaway ones created for a single agentic workflow run.
12936
+ * @type {string}
12937
+ * @memberof Environment
12938
+ */
12939
+ 'expires_at'?: string | null;
12934
12940
  }
12935
12941
 
12936
12942
 
@@ -27458,6 +27464,52 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Co
27458
27464
 
27459
27465
 
27460
27466
 
27467
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27468
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27469
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27470
+
27471
+ return {
27472
+ url: toPathString(localVarUrlObj),
27473
+ options: localVarRequestOptions,
27474
+ };
27475
+ },
27476
+ /**
27477
+ * Returns the 20 last agentic workflow deployments
27478
+ * @summary List agentic workflow deployments
27479
+ * @param {string} agenticWorkflowId
27480
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
27481
+ * @param {*} [options] Override http request option.
27482
+ * @throws {RequiredError}
27483
+ */
27484
+ listAgenticWorkflowDeploymentHistoryV2: async (agenticWorkflowId: string, pageSize?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27485
+ // verify required parameter 'agenticWorkflowId' is not null or undefined
27486
+ assertParamExists('listAgenticWorkflowDeploymentHistoryV2', 'agenticWorkflowId', agenticWorkflowId)
27487
+ const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/deploymentHistoryV2`
27488
+ .replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
27489
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27490
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27491
+ let baseOptions;
27492
+ if (configuration) {
27493
+ baseOptions = configuration.baseOptions;
27494
+ }
27495
+
27496
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
27497
+ const localVarHeaderParameter = {} as any;
27498
+ const localVarQueryParameter = {} as any;
27499
+
27500
+ // authentication ApiKeyAuth required
27501
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
27502
+
27503
+ // authentication bearerAuth required
27504
+ // http bearer authentication required
27505
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
27506
+
27507
+ if (pageSize !== undefined) {
27508
+ localVarQueryParameter['pageSize'] = pageSize;
27509
+ }
27510
+
27511
+
27512
+
27461
27513
  setSearchParams(localVarUrlObj, localVarQueryParameter);
27462
27514
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27463
27515
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -27586,6 +27638,20 @@ export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
27586
27638
  const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.getAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
27587
27639
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27588
27640
  },
27641
+ /**
27642
+ * Returns the 20 last agentic workflow deployments
27643
+ * @summary List agentic workflow deployments
27644
+ * @param {string} agenticWorkflowId
27645
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
27646
+ * @param {*} [options] Override http request option.
27647
+ * @throws {RequiredError}
27648
+ */
27649
+ async listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>> {
27650
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options);
27651
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27652
+ const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.listAgenticWorkflowDeploymentHistoryV2']?.[localVarOperationServerIndex]?.url;
27653
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27654
+ },
27589
27655
  /**
27590
27656
  *
27591
27657
  * @summary List agentic workflows
@@ -27662,6 +27728,17 @@ export const AgenticWorkflowsApiFactory = function (configuration?: Configuratio
27662
27728
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse> {
27663
27729
  return localVarFp.getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
27664
27730
  },
27731
+ /**
27732
+ * Returns the 20 last agentic workflow deployments
27733
+ * @summary List agentic workflow deployments
27734
+ * @param {string} agenticWorkflowId
27735
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
27736
+ * @param {*} [options] Override http request option.
27737
+ * @throws {RequiredError}
27738
+ */
27739
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2> {
27740
+ return localVarFp.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(axios, basePath));
27741
+ },
27665
27742
  /**
27666
27743
  *
27667
27744
  * @summary List agentic workflows
@@ -27745,6 +27822,19 @@ export class AgenticWorkflowsApi extends BaseAPI {
27745
27822
  return AgenticWorkflowsApiFp(this.configuration).getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
27746
27823
  }
27747
27824
 
27825
+ /**
27826
+ * Returns the 20 last agentic workflow deployments
27827
+ * @summary List agentic workflow deployments
27828
+ * @param {string} agenticWorkflowId
27829
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
27830
+ * @param {*} [options] Override http request option.
27831
+ * @throws {RequiredError}
27832
+ * @memberof AgenticWorkflowsApi
27833
+ */
27834
+ public listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) {
27835
+ return AgenticWorkflowsApiFp(this.configuration).listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(this.axios, this.basePath));
27836
+ }
27837
+
27748
27838
  /**
27749
27839
  *
27750
27840
  * @summary List agentic workflows
package/dist/api.d.ts CHANGED
@@ -12571,6 +12571,12 @@ export interface Environment {
12571
12571
  * @memberof Environment
12572
12572
  */
12573
12573
  'cluster_name'?: string;
12574
+ /**
12575
+ * Date after which the environment is automatically deleted. Null when the environment never expires, which is the case for every environment except the throwaway ones created for a single agentic workflow run.
12576
+ * @type {string}
12577
+ * @memberof Environment
12578
+ */
12579
+ 'expires_at'?: string | null;
12574
12580
  }
12575
12581
  /**
12576
12582
  *
@@ -26363,6 +26369,15 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
26363
26369
  * @throws {RequiredError}
26364
26370
  */
26365
26371
  getAgenticWorkflow: (agenticWorkflowId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26372
+ /**
26373
+ * Returns the 20 last agentic workflow deployments
26374
+ * @summary List agentic workflow deployments
26375
+ * @param {string} agenticWorkflowId
26376
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26377
+ * @param {*} [options] Override http request option.
26378
+ * @throws {RequiredError}
26379
+ */
26380
+ listAgenticWorkflowDeploymentHistoryV2: (agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26366
26381
  /**
26367
26382
  *
26368
26383
  * @summary List agentic workflows
@@ -26420,6 +26435,15 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26420
26435
  * @throws {RequiredError}
26421
26436
  */
26422
26437
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>>;
26438
+ /**
26439
+ * Returns the 20 last agentic workflow deployments
26440
+ * @summary List agentic workflow deployments
26441
+ * @param {string} agenticWorkflowId
26442
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26443
+ * @param {*} [options] Override http request option.
26444
+ * @throws {RequiredError}
26445
+ */
26446
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>>;
26423
26447
  /**
26424
26448
  *
26425
26449
  * @summary List agentic workflows
@@ -26477,6 +26501,15 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
26477
26501
  * @throws {RequiredError}
26478
26502
  */
26479
26503
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse>;
26504
+ /**
26505
+ * Returns the 20 last agentic workflow deployments
26506
+ * @summary List agentic workflow deployments
26507
+ * @param {string} agenticWorkflowId
26508
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26509
+ * @param {*} [options] Override http request option.
26510
+ * @throws {RequiredError}
26511
+ */
26512
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>;
26480
26513
  /**
26481
26514
  *
26482
26515
  * @summary List agentic workflows
@@ -26541,6 +26574,16 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
26541
26574
  * @memberof AgenticWorkflowsApi
26542
26575
  */
26543
26576
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowResponse, any, {}>>;
26577
+ /**
26578
+ * Returns the 20 last agentic workflow deployments
26579
+ * @summary List agentic workflow deployments
26580
+ * @param {string} agenticWorkflowId
26581
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26582
+ * @param {*} [options] Override http request option.
26583
+ * @throws {RequiredError}
26584
+ * @memberof AgenticWorkflowsApi
26585
+ */
26586
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentHistoryServicePaginatedResponseListV2, any, {}>>;
26544
26587
  /**
26545
26588
  *
26546
26589
  * @summary List agentic workflows
package/dist/api.js CHANGED
@@ -1993,6 +1993,44 @@ const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
1993
1993
  options: localVarRequestOptions,
1994
1994
  };
1995
1995
  }),
1996
+ /**
1997
+ * Returns the 20 last agentic workflow deployments
1998
+ * @summary List agentic workflow deployments
1999
+ * @param {string} agenticWorkflowId
2000
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
2001
+ * @param {*} [options] Override http request option.
2002
+ * @throws {RequiredError}
2003
+ */
2004
+ listAgenticWorkflowDeploymentHistoryV2: (agenticWorkflowId_1, pageSize_1, ...args_1) => __awaiter(this, [agenticWorkflowId_1, pageSize_1, ...args_1], void 0, function* (agenticWorkflowId, pageSize, options = {}) {
2005
+ // verify required parameter 'agenticWorkflowId' is not null or undefined
2006
+ (0, common_1.assertParamExists)('listAgenticWorkflowDeploymentHistoryV2', 'agenticWorkflowId', agenticWorkflowId);
2007
+ const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/deploymentHistoryV2`
2008
+ .replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
2009
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2010
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2011
+ let baseOptions;
2012
+ if (configuration) {
2013
+ baseOptions = configuration.baseOptions;
2014
+ }
2015
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2016
+ const localVarHeaderParameter = {};
2017
+ const localVarQueryParameter = {};
2018
+ // authentication ApiKeyAuth required
2019
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2020
+ // authentication bearerAuth required
2021
+ // http bearer authentication required
2022
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2023
+ if (pageSize !== undefined) {
2024
+ localVarQueryParameter['pageSize'] = pageSize;
2025
+ }
2026
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2027
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2028
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2029
+ return {
2030
+ url: (0, common_1.toPathString)(localVarUrlObj),
2031
+ options: localVarRequestOptions,
2032
+ };
2033
+ }),
1996
2034
  /**
1997
2035
  *
1998
2036
  * @summary List agentic workflows
@@ -2120,6 +2158,23 @@ const AgenticWorkflowsApiFp = function (configuration) {
2120
2158
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2121
2159
  });
2122
2160
  },
2161
+ /**
2162
+ * Returns the 20 last agentic workflow deployments
2163
+ * @summary List agentic workflow deployments
2164
+ * @param {string} agenticWorkflowId
2165
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
2166
+ * @param {*} [options] Override http request option.
2167
+ * @throws {RequiredError}
2168
+ */
2169
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options) {
2170
+ return __awaiter(this, void 0, void 0, function* () {
2171
+ var _a, _b, _c;
2172
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options);
2173
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2174
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AgenticWorkflowsApi.listAgenticWorkflowDeploymentHistoryV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2175
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2176
+ });
2177
+ },
2123
2178
  /**
2124
2179
  *
2125
2180
  * @summary List agentic workflows
@@ -2199,6 +2254,17 @@ const AgenticWorkflowsApiFactory = function (configuration, basePath, axios) {
2199
2254
  getAgenticWorkflow(agenticWorkflowId, options) {
2200
2255
  return localVarFp.getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
2201
2256
  },
2257
+ /**
2258
+ * Returns the 20 last agentic workflow deployments
2259
+ * @summary List agentic workflow deployments
2260
+ * @param {string} agenticWorkflowId
2261
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
2262
+ * @param {*} [options] Override http request option.
2263
+ * @throws {RequiredError}
2264
+ */
2265
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options) {
2266
+ return localVarFp.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(axios, basePath));
2267
+ },
2202
2268
  /**
2203
2269
  *
2204
2270
  * @summary List agentic workflows
@@ -2277,6 +2343,18 @@ class AgenticWorkflowsApi extends base_1.BaseAPI {
2277
2343
  getAgenticWorkflow(agenticWorkflowId, options) {
2278
2344
  return (0, exports.AgenticWorkflowsApiFp)(this.configuration).getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
2279
2345
  }
2346
+ /**
2347
+ * Returns the 20 last agentic workflow deployments
2348
+ * @summary List agentic workflow deployments
2349
+ * @param {string} agenticWorkflowId
2350
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
2351
+ * @param {*} [options] Override http request option.
2352
+ * @throws {RequiredError}
2353
+ * @memberof AgenticWorkflowsApi
2354
+ */
2355
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options) {
2356
+ return (0, exports.AgenticWorkflowsApiFp)(this.configuration).listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(this.axios, this.basePath));
2357
+ }
2280
2358
  /**
2281
2359
  *
2282
2360
  * @summary List agentic workflows
package/dist/esm/api.d.ts CHANGED
@@ -12571,6 +12571,12 @@ export interface Environment {
12571
12571
  * @memberof Environment
12572
12572
  */
12573
12573
  'cluster_name'?: string;
12574
+ /**
12575
+ * Date after which the environment is automatically deleted. Null when the environment never expires, which is the case for every environment except the throwaway ones created for a single agentic workflow run.
12576
+ * @type {string}
12577
+ * @memberof Environment
12578
+ */
12579
+ 'expires_at'?: string | null;
12574
12580
  }
12575
12581
  /**
12576
12582
  *
@@ -26363,6 +26369,15 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
26363
26369
  * @throws {RequiredError}
26364
26370
  */
26365
26371
  getAgenticWorkflow: (agenticWorkflowId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26372
+ /**
26373
+ * Returns the 20 last agentic workflow deployments
26374
+ * @summary List agentic workflow deployments
26375
+ * @param {string} agenticWorkflowId
26376
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26377
+ * @param {*} [options] Override http request option.
26378
+ * @throws {RequiredError}
26379
+ */
26380
+ listAgenticWorkflowDeploymentHistoryV2: (agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26366
26381
  /**
26367
26382
  *
26368
26383
  * @summary List agentic workflows
@@ -26420,6 +26435,15 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26420
26435
  * @throws {RequiredError}
26421
26436
  */
26422
26437
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>>;
26438
+ /**
26439
+ * Returns the 20 last agentic workflow deployments
26440
+ * @summary List agentic workflow deployments
26441
+ * @param {string} agenticWorkflowId
26442
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26443
+ * @param {*} [options] Override http request option.
26444
+ * @throws {RequiredError}
26445
+ */
26446
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>>;
26423
26447
  /**
26424
26448
  *
26425
26449
  * @summary List agentic workflows
@@ -26477,6 +26501,15 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
26477
26501
  * @throws {RequiredError}
26478
26502
  */
26479
26503
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse>;
26504
+ /**
26505
+ * Returns the 20 last agentic workflow deployments
26506
+ * @summary List agentic workflow deployments
26507
+ * @param {string} agenticWorkflowId
26508
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26509
+ * @param {*} [options] Override http request option.
26510
+ * @throws {RequiredError}
26511
+ */
26512
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>;
26480
26513
  /**
26481
26514
  *
26482
26515
  * @summary List agentic workflows
@@ -26541,6 +26574,16 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
26541
26574
  * @memberof AgenticWorkflowsApi
26542
26575
  */
26543
26576
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowResponse, any, {}>>;
26577
+ /**
26578
+ * Returns the 20 last agentic workflow deployments
26579
+ * @summary List agentic workflow deployments
26580
+ * @param {string} agenticWorkflowId
26581
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26582
+ * @param {*} [options] Override http request option.
26583
+ * @throws {RequiredError}
26584
+ * @memberof AgenticWorkflowsApi
26585
+ */
26586
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentHistoryServicePaginatedResponseListV2, any, {}>>;
26544
26587
  /**
26545
26588
  *
26546
26589
  * @summary List agentic workflows
package/dist/esm/api.js CHANGED
@@ -1975,6 +1975,44 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration) {
1975
1975
  options: localVarRequestOptions,
1976
1976
  };
1977
1977
  }),
1978
+ /**
1979
+ * Returns the 20 last agentic workflow deployments
1980
+ * @summary List agentic workflow deployments
1981
+ * @param {string} agenticWorkflowId
1982
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
1983
+ * @param {*} [options] Override http request option.
1984
+ * @throws {RequiredError}
1985
+ */
1986
+ listAgenticWorkflowDeploymentHistoryV2: (agenticWorkflowId_1, pageSize_1, ...args_1) => __awaiter(this, [agenticWorkflowId_1, pageSize_1, ...args_1], void 0, function* (agenticWorkflowId, pageSize, options = {}) {
1987
+ // verify required parameter 'agenticWorkflowId' is not null or undefined
1988
+ assertParamExists('listAgenticWorkflowDeploymentHistoryV2', 'agenticWorkflowId', agenticWorkflowId);
1989
+ const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/deploymentHistoryV2`
1990
+ .replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
1991
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1992
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1993
+ let baseOptions;
1994
+ if (configuration) {
1995
+ baseOptions = configuration.baseOptions;
1996
+ }
1997
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1998
+ const localVarHeaderParameter = {};
1999
+ const localVarQueryParameter = {};
2000
+ // authentication ApiKeyAuth required
2001
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2002
+ // authentication bearerAuth required
2003
+ // http bearer authentication required
2004
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2005
+ if (pageSize !== undefined) {
2006
+ localVarQueryParameter['pageSize'] = pageSize;
2007
+ }
2008
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2009
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2010
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2011
+ return {
2012
+ url: toPathString(localVarUrlObj),
2013
+ options: localVarRequestOptions,
2014
+ };
2015
+ }),
1978
2016
  /**
1979
2017
  *
1980
2018
  * @summary List agentic workflows
@@ -2101,6 +2139,23 @@ export const AgenticWorkflowsApiFp = function (configuration) {
2101
2139
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2102
2140
  });
2103
2141
  },
2142
+ /**
2143
+ * Returns the 20 last agentic workflow deployments
2144
+ * @summary List agentic workflow deployments
2145
+ * @param {string} agenticWorkflowId
2146
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
2147
+ * @param {*} [options] Override http request option.
2148
+ * @throws {RequiredError}
2149
+ */
2150
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options) {
2151
+ return __awaiter(this, void 0, void 0, function* () {
2152
+ var _a, _b, _c;
2153
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options);
2154
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2155
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AgenticWorkflowsApi.listAgenticWorkflowDeploymentHistoryV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2156
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2157
+ });
2158
+ },
2104
2159
  /**
2105
2160
  *
2106
2161
  * @summary List agentic workflows
@@ -2179,6 +2234,17 @@ export const AgenticWorkflowsApiFactory = function (configuration, basePath, axi
2179
2234
  getAgenticWorkflow(agenticWorkflowId, options) {
2180
2235
  return localVarFp.getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
2181
2236
  },
2237
+ /**
2238
+ * Returns the 20 last agentic workflow deployments
2239
+ * @summary List agentic workflow deployments
2240
+ * @param {string} agenticWorkflowId
2241
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
2242
+ * @param {*} [options] Override http request option.
2243
+ * @throws {RequiredError}
2244
+ */
2245
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options) {
2246
+ return localVarFp.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(axios, basePath));
2247
+ },
2182
2248
  /**
2183
2249
  *
2184
2250
  * @summary List agentic workflows
@@ -2256,6 +2322,18 @@ export class AgenticWorkflowsApi extends BaseAPI {
2256
2322
  getAgenticWorkflow(agenticWorkflowId, options) {
2257
2323
  return AgenticWorkflowsApiFp(this.configuration).getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
2258
2324
  }
2325
+ /**
2326
+ * Returns the 20 last agentic workflow deployments
2327
+ * @summary List agentic workflow deployments
2328
+ * @param {string} agenticWorkflowId
2329
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
2330
+ * @param {*} [options] Override http request option.
2331
+ * @throws {RequiredError}
2332
+ * @memberof AgenticWorkflowsApi
2333
+ */
2334
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options) {
2335
+ return AgenticWorkflowsApiFp(this.configuration).listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(this.axios, this.basePath));
2336
+ }
2259
2337
  /**
2260
2338
  *
2261
2339
  * @summary List agentic workflows
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.947",
3
+ "version": "v1.1.949",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {