qovery-typescript-axios 1.1.947 → 1.1.948

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
@@ -27458,6 +27458,52 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Co
27458
27458
 
27459
27459
 
27460
27460
 
27461
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27462
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27463
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27464
+
27465
+ return {
27466
+ url: toPathString(localVarUrlObj),
27467
+ options: localVarRequestOptions,
27468
+ };
27469
+ },
27470
+ /**
27471
+ * Returns the 20 last agentic workflow deployments
27472
+ * @summary List agentic workflow deployments
27473
+ * @param {string} agenticWorkflowId
27474
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
27475
+ * @param {*} [options] Override http request option.
27476
+ * @throws {RequiredError}
27477
+ */
27478
+ listAgenticWorkflowDeploymentHistoryV2: async (agenticWorkflowId: string, pageSize?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27479
+ // verify required parameter 'agenticWorkflowId' is not null or undefined
27480
+ assertParamExists('listAgenticWorkflowDeploymentHistoryV2', 'agenticWorkflowId', agenticWorkflowId)
27481
+ const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/deploymentHistoryV2`
27482
+ .replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
27483
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27484
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27485
+ let baseOptions;
27486
+ if (configuration) {
27487
+ baseOptions = configuration.baseOptions;
27488
+ }
27489
+
27490
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
27491
+ const localVarHeaderParameter = {} as any;
27492
+ const localVarQueryParameter = {} as any;
27493
+
27494
+ // authentication ApiKeyAuth required
27495
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
27496
+
27497
+ // authentication bearerAuth required
27498
+ // http bearer authentication required
27499
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
27500
+
27501
+ if (pageSize !== undefined) {
27502
+ localVarQueryParameter['pageSize'] = pageSize;
27503
+ }
27504
+
27505
+
27506
+
27461
27507
  setSearchParams(localVarUrlObj, localVarQueryParameter);
27462
27508
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27463
27509
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -27586,6 +27632,20 @@ export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
27586
27632
  const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.getAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
27587
27633
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27588
27634
  },
27635
+ /**
27636
+ * Returns the 20 last agentic workflow deployments
27637
+ * @summary List agentic workflow deployments
27638
+ * @param {string} agenticWorkflowId
27639
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
27640
+ * @param {*} [options] Override http request option.
27641
+ * @throws {RequiredError}
27642
+ */
27643
+ async listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>> {
27644
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options);
27645
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27646
+ const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.listAgenticWorkflowDeploymentHistoryV2']?.[localVarOperationServerIndex]?.url;
27647
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27648
+ },
27589
27649
  /**
27590
27650
  *
27591
27651
  * @summary List agentic workflows
@@ -27662,6 +27722,17 @@ export const AgenticWorkflowsApiFactory = function (configuration?: Configuratio
27662
27722
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse> {
27663
27723
  return localVarFp.getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
27664
27724
  },
27725
+ /**
27726
+ * Returns the 20 last agentic workflow deployments
27727
+ * @summary List agentic workflow deployments
27728
+ * @param {string} agenticWorkflowId
27729
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
27730
+ * @param {*} [options] Override http request option.
27731
+ * @throws {RequiredError}
27732
+ */
27733
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2> {
27734
+ return localVarFp.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(axios, basePath));
27735
+ },
27665
27736
  /**
27666
27737
  *
27667
27738
  * @summary List agentic workflows
@@ -27745,6 +27816,19 @@ export class AgenticWorkflowsApi extends BaseAPI {
27745
27816
  return AgenticWorkflowsApiFp(this.configuration).getAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
27746
27817
  }
27747
27818
 
27819
+ /**
27820
+ * Returns the 20 last agentic workflow deployments
27821
+ * @summary List agentic workflow deployments
27822
+ * @param {string} agenticWorkflowId
27823
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
27824
+ * @param {*} [options] Override http request option.
27825
+ * @throws {RequiredError}
27826
+ * @memberof AgenticWorkflowsApi
27827
+ */
27828
+ public listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) {
27829
+ return AgenticWorkflowsApiFp(this.configuration).listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(this.axios, this.basePath));
27830
+ }
27831
+
27748
27832
  /**
27749
27833
  *
27750
27834
  * @summary List agentic workflows
package/dist/api.d.ts CHANGED
@@ -26363,6 +26363,15 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
26363
26363
  * @throws {RequiredError}
26364
26364
  */
26365
26365
  getAgenticWorkflow: (agenticWorkflowId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26366
+ /**
26367
+ * Returns the 20 last agentic workflow deployments
26368
+ * @summary List agentic workflow deployments
26369
+ * @param {string} agenticWorkflowId
26370
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26371
+ * @param {*} [options] Override http request option.
26372
+ * @throws {RequiredError}
26373
+ */
26374
+ listAgenticWorkflowDeploymentHistoryV2: (agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26366
26375
  /**
26367
26376
  *
26368
26377
  * @summary List agentic workflows
@@ -26420,6 +26429,15 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26420
26429
  * @throws {RequiredError}
26421
26430
  */
26422
26431
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>>;
26432
+ /**
26433
+ * Returns the 20 last agentic workflow deployments
26434
+ * @summary List agentic workflow deployments
26435
+ * @param {string} agenticWorkflowId
26436
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26437
+ * @param {*} [options] Override http request option.
26438
+ * @throws {RequiredError}
26439
+ */
26440
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>>;
26423
26441
  /**
26424
26442
  *
26425
26443
  * @summary List agentic workflows
@@ -26477,6 +26495,15 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
26477
26495
  * @throws {RequiredError}
26478
26496
  */
26479
26497
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse>;
26498
+ /**
26499
+ * Returns the 20 last agentic workflow deployments
26500
+ * @summary List agentic workflow deployments
26501
+ * @param {string} agenticWorkflowId
26502
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26503
+ * @param {*} [options] Override http request option.
26504
+ * @throws {RequiredError}
26505
+ */
26506
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>;
26480
26507
  /**
26481
26508
  *
26482
26509
  * @summary List agentic workflows
@@ -26541,6 +26568,16 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
26541
26568
  * @memberof AgenticWorkflowsApi
26542
26569
  */
26543
26570
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowResponse, any, {}>>;
26571
+ /**
26572
+ * Returns the 20 last agentic workflow deployments
26573
+ * @summary List agentic workflow deployments
26574
+ * @param {string} agenticWorkflowId
26575
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26576
+ * @param {*} [options] Override http request option.
26577
+ * @throws {RequiredError}
26578
+ * @memberof AgenticWorkflowsApi
26579
+ */
26580
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentHistoryServicePaginatedResponseListV2, any, {}>>;
26544
26581
  /**
26545
26582
  *
26546
26583
  * @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
@@ -26363,6 +26363,15 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
26363
26363
  * @throws {RequiredError}
26364
26364
  */
26365
26365
  getAgenticWorkflow: (agenticWorkflowId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26366
+ /**
26367
+ * Returns the 20 last agentic workflow deployments
26368
+ * @summary List agentic workflow deployments
26369
+ * @param {string} agenticWorkflowId
26370
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26371
+ * @param {*} [options] Override http request option.
26372
+ * @throws {RequiredError}
26373
+ */
26374
+ listAgenticWorkflowDeploymentHistoryV2: (agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26366
26375
  /**
26367
26376
  *
26368
26377
  * @summary List agentic workflows
@@ -26420,6 +26429,15 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
26420
26429
  * @throws {RequiredError}
26421
26430
  */
26422
26431
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowResponse>>;
26432
+ /**
26433
+ * Returns the 20 last agentic workflow deployments
26434
+ * @summary List agentic workflow deployments
26435
+ * @param {string} agenticWorkflowId
26436
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26437
+ * @param {*} [options] Override http request option.
26438
+ * @throws {RequiredError}
26439
+ */
26440
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>>;
26423
26441
  /**
26424
26442
  *
26425
26443
  * @summary List agentic workflows
@@ -26477,6 +26495,15 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
26477
26495
  * @throws {RequiredError}
26478
26496
  */
26479
26497
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowResponse>;
26498
+ /**
26499
+ * Returns the 20 last agentic workflow deployments
26500
+ * @summary List agentic workflow deployments
26501
+ * @param {string} agenticWorkflowId
26502
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26503
+ * @param {*} [options] Override http request option.
26504
+ * @throws {RequiredError}
26505
+ */
26506
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>;
26480
26507
  /**
26481
26508
  *
26482
26509
  * @summary List agentic workflows
@@ -26541,6 +26568,16 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
26541
26568
  * @memberof AgenticWorkflowsApi
26542
26569
  */
26543
26570
  getAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowResponse, any, {}>>;
26571
+ /**
26572
+ * Returns the 20 last agentic workflow deployments
26573
+ * @summary List agentic workflow deployments
26574
+ * @param {string} agenticWorkflowId
26575
+ * @param {number | null} [pageSize] The number of deployments to return in the current page
26576
+ * @param {*} [options] Override http request option.
26577
+ * @throws {RequiredError}
26578
+ * @memberof AgenticWorkflowsApi
26579
+ */
26580
+ listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentHistoryServicePaginatedResponseListV2, any, {}>>;
26544
26581
  /**
26545
26582
  *
26546
26583
  * @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.948",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {