qovery-typescript-axios 1.1.869 → 1.1.871

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
@@ -2071,6 +2071,42 @@ export interface ArgocdAppResponse {
2071
2071
  * @memberof ArgocdAppResponse
2072
2072
  */
2073
2073
  'namespace': string;
2074
+ /**
2075
+ *
2076
+ * @type {string}
2077
+ * @memberof ArgocdAppResponse
2078
+ */
2079
+ 'environment_id': string;
2080
+ /**
2081
+ *
2082
+ * @type {string}
2083
+ * @memberof ArgocdAppResponse
2084
+ */
2085
+ 'cluster_id': string;
2086
+ /**
2087
+ *
2088
+ * @type {string}
2089
+ * @memberof ArgocdAppResponse
2090
+ */
2091
+ 'last_synced_at'?: string | null;
2092
+ /**
2093
+ *
2094
+ * @type {string}
2095
+ * @memberof ArgocdAppResponse
2096
+ */
2097
+ 'manifest_revision'?: string | null;
2098
+ /**
2099
+ *
2100
+ * @type {string}
2101
+ * @memberof ArgocdAppResponse
2102
+ */
2103
+ 'source_repo_url'?: string | null;
2104
+ /**
2105
+ *
2106
+ * @type {string}
2107
+ * @memberof ArgocdAppResponse
2108
+ */
2109
+ 'source_target_revision'?: string | null;
2074
2110
  }
2075
2111
 
2076
2112
 
@@ -22016,6 +22052,12 @@ export interface VariableEditRequest {
22016
22052
  * @memberof VariableEditRequest
22017
22053
  */
22018
22054
  'enable_interpolation_in_file'?: boolean | null;
22055
+ /**
22056
+ *
22057
+ * @type {string}
22058
+ * @memberof VariableEditRequest
22059
+ */
22060
+ 'secret_manager_access_id'?: string | null;
22019
22061
  }
22020
22062
  /**
22021
22063
  *
@@ -22259,6 +22301,12 @@ export interface VariableRequest {
22259
22301
  * @memberof VariableRequest
22260
22302
  */
22261
22303
  'enable_interpolation_in_file'?: boolean | null;
22304
+ /**
22305
+ *
22306
+ * @type {string}
22307
+ * @memberof VariableRequest
22308
+ */
22309
+ 'secret_manager_access_id'?: string | null;
22262
22310
  }
22263
22311
 
22264
22312
 
@@ -22370,6 +22418,12 @@ export interface VariableResponse {
22370
22418
  * @memberof VariableResponse
22371
22419
  */
22372
22420
  'enable_interpolation_in_file'?: boolean;
22421
+ /**
22422
+ *
22423
+ * @type {string}
22424
+ * @memberof VariableResponse
22425
+ */
22426
+ 'secret_manager_access_id'?: string | null;
22373
22427
  }
22374
22428
 
22375
22429
 
@@ -28004,6 +28058,47 @@ export const ArgoCDApiAxiosParamCreator = function (configuration?: Configuratio
28004
28058
 
28005
28059
 
28006
28060
 
28061
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28062
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28063
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28064
+
28065
+ return {
28066
+ url: toPathString(localVarUrlObj),
28067
+ options: localVarRequestOptions,
28068
+ };
28069
+ },
28070
+ /**
28071
+ *
28072
+ * @summary Get ArgoCD app by ID
28073
+ * @param {string} argocdAppId ArgoCD App ID
28074
+ * @param {*} [options] Override http request option.
28075
+ * @throws {RequiredError}
28076
+ */
28077
+ getArgoCdApp: async (argocdAppId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28078
+ // verify required parameter 'argocdAppId' is not null or undefined
28079
+ assertParamExists('getArgoCdApp', 'argocdAppId', argocdAppId)
28080
+ const localVarPath = `/argocdApp/{argocdAppId}`
28081
+ .replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
28082
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28083
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28084
+ let baseOptions;
28085
+ if (configuration) {
28086
+ baseOptions = configuration.baseOptions;
28087
+ }
28088
+
28089
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28090
+ const localVarHeaderParameter = {} as any;
28091
+ const localVarQueryParameter = {} as any;
28092
+
28093
+ // authentication ApiKeyAuth required
28094
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
28095
+
28096
+ // authentication bearerAuth required
28097
+ // http bearer authentication required
28098
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28099
+
28100
+
28101
+
28007
28102
  setSearchParams(localVarUrlObj, localVarQueryParameter);
28008
28103
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28009
28104
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -28138,6 +28233,19 @@ export const ArgoCDApiFp = function(configuration?: Configuration) {
28138
28233
  const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.deleteArgoCdCredentials']?.[localVarOperationServerIndex]?.url;
28139
28234
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28140
28235
  },
28236
+ /**
28237
+ *
28238
+ * @summary Get ArgoCD app by ID
28239
+ * @param {string} argocdAppId ArgoCD App ID
28240
+ * @param {*} [options] Override http request option.
28241
+ * @throws {RequiredError}
28242
+ */
28243
+ async getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>> {
28244
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getArgoCdApp(argocdAppId, options);
28245
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28246
+ const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.getArgoCdApp']?.[localVarOperationServerIndex]?.url;
28247
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28248
+ },
28141
28249
  /**
28142
28250
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
28143
28251
  * @summary Get ArgoCD credentials for a cluster
@@ -28196,6 +28304,16 @@ export const ArgoCDApiFactory = function (configuration?: Configuration, basePat
28196
28304
  deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28197
28305
  return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
28198
28306
  },
28307
+ /**
28308
+ *
28309
+ * @summary Get ArgoCD app by ID
28310
+ * @param {string} argocdAppId ArgoCD App ID
28311
+ * @param {*} [options] Override http request option.
28312
+ * @throws {RequiredError}
28313
+ */
28314
+ getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse> {
28315
+ return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
28316
+ },
28199
28317
  /**
28200
28318
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
28201
28319
  * @summary Get ArgoCD credentials for a cluster
@@ -28252,6 +28370,18 @@ export class ArgoCDApi extends BaseAPI {
28252
28370
  return ArgoCDApiFp(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
28253
28371
  }
28254
28372
 
28373
+ /**
28374
+ *
28375
+ * @summary Get ArgoCD app by ID
28376
+ * @param {string} argocdAppId ArgoCD App ID
28377
+ * @param {*} [options] Override http request option.
28378
+ * @throws {RequiredError}
28379
+ * @memberof ArgoCDApi
28380
+ */
28381
+ public getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig) {
28382
+ return ArgoCDApiFp(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
28383
+ }
28384
+
28255
28385
  /**
28256
28386
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
28257
28387
  * @summary Get ArgoCD credentials for a cluster
package/dist/api.d.ts CHANGED
@@ -1991,6 +1991,42 @@ export interface ArgocdAppResponse {
1991
1991
  * @memberof ArgocdAppResponse
1992
1992
  */
1993
1993
  'namespace': string;
1994
+ /**
1995
+ *
1996
+ * @type {string}
1997
+ * @memberof ArgocdAppResponse
1998
+ */
1999
+ 'environment_id': string;
2000
+ /**
2001
+ *
2002
+ * @type {string}
2003
+ * @memberof ArgocdAppResponse
2004
+ */
2005
+ 'cluster_id': string;
2006
+ /**
2007
+ *
2008
+ * @type {string}
2009
+ * @memberof ArgocdAppResponse
2010
+ */
2011
+ 'last_synced_at'?: string | null;
2012
+ /**
2013
+ *
2014
+ * @type {string}
2015
+ * @memberof ArgocdAppResponse
2016
+ */
2017
+ 'manifest_revision'?: string | null;
2018
+ /**
2019
+ *
2020
+ * @type {string}
2021
+ * @memberof ArgocdAppResponse
2022
+ */
2023
+ 'source_repo_url'?: string | null;
2024
+ /**
2025
+ *
2026
+ * @type {string}
2027
+ * @memberof ArgocdAppResponse
2028
+ */
2029
+ 'source_target_revision'?: string | null;
1994
2030
  }
1995
2031
  /**
1996
2032
  *
@@ -21311,6 +21347,12 @@ export interface VariableEditRequest {
21311
21347
  * @memberof VariableEditRequest
21312
21348
  */
21313
21349
  'enable_interpolation_in_file'?: boolean | null;
21350
+ /**
21351
+ *
21352
+ * @type {string}
21353
+ * @memberof VariableEditRequest
21354
+ */
21355
+ 'secret_manager_access_id'?: string | null;
21314
21356
  }
21315
21357
  /**
21316
21358
  *
@@ -21546,6 +21588,12 @@ export interface VariableRequest {
21546
21588
  * @memberof VariableRequest
21547
21589
  */
21548
21590
  'enable_interpolation_in_file'?: boolean | null;
21591
+ /**
21592
+ *
21593
+ * @type {string}
21594
+ * @memberof VariableRequest
21595
+ */
21596
+ 'secret_manager_access_id'?: string | null;
21549
21597
  }
21550
21598
  /**
21551
21599
  *
@@ -21655,6 +21703,12 @@ export interface VariableResponse {
21655
21703
  * @memberof VariableResponse
21656
21704
  */
21657
21705
  'enable_interpolation_in_file'?: boolean;
21706
+ /**
21707
+ *
21708
+ * @type {string}
21709
+ * @memberof VariableResponse
21710
+ */
21711
+ 'secret_manager_access_id'?: string | null;
21658
21712
  }
21659
21713
  /**
21660
21714
  *
@@ -24305,6 +24359,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
24305
24359
  * @throws {RequiredError}
24306
24360
  */
24307
24361
  deleteArgoCdCredentials: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24362
+ /**
24363
+ *
24364
+ * @summary Get ArgoCD app by ID
24365
+ * @param {string} argocdAppId ArgoCD App ID
24366
+ * @param {*} [options] Override http request option.
24367
+ * @throws {RequiredError}
24368
+ */
24369
+ getArgoCdApp: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24308
24370
  /**
24309
24371
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
24310
24372
  * @summary Get ArgoCD credentials for a cluster
@@ -24345,6 +24407,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
24345
24407
  * @throws {RequiredError}
24346
24408
  */
24347
24409
  deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
24410
+ /**
24411
+ *
24412
+ * @summary Get ArgoCD app by ID
24413
+ * @param {string} argocdAppId ArgoCD App ID
24414
+ * @param {*} [options] Override http request option.
24415
+ * @throws {RequiredError}
24416
+ */
24417
+ getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>>;
24348
24418
  /**
24349
24419
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
24350
24420
  * @summary Get ArgoCD credentials for a cluster
@@ -24385,6 +24455,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
24385
24455
  * @throws {RequiredError}
24386
24456
  */
24387
24457
  deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
24458
+ /**
24459
+ *
24460
+ * @summary Get ArgoCD app by ID
24461
+ * @param {string} argocdAppId ArgoCD App ID
24462
+ * @param {*} [options] Override http request option.
24463
+ * @throws {RequiredError}
24464
+ */
24465
+ getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse>;
24388
24466
  /**
24389
24467
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
24390
24468
  * @summary Get ArgoCD credentials for a cluster
@@ -24429,6 +24507,15 @@ export declare class ArgoCDApi extends BaseAPI {
24429
24507
  * @memberof ArgoCDApi
24430
24508
  */
24431
24509
  deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24510
+ /**
24511
+ *
24512
+ * @summary Get ArgoCD app by ID
24513
+ * @param {string} argocdAppId ArgoCD App ID
24514
+ * @param {*} [options] Override http request option.
24515
+ * @throws {RequiredError}
24516
+ * @memberof ArgoCDApi
24517
+ */
24518
+ getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppResponse, any, {}>>;
24432
24519
  /**
24433
24520
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
24434
24521
  * @summary Get ArgoCD credentials for a cluster
package/dist/api.js CHANGED
@@ -6524,6 +6524,40 @@ const ArgoCDApiAxiosParamCreator = function (configuration) {
6524
6524
  options: localVarRequestOptions,
6525
6525
  };
6526
6526
  }),
6527
+ /**
6528
+ *
6529
+ * @summary Get ArgoCD app by ID
6530
+ * @param {string} argocdAppId ArgoCD App ID
6531
+ * @param {*} [options] Override http request option.
6532
+ * @throws {RequiredError}
6533
+ */
6534
+ getArgoCdApp: (argocdAppId_1, ...args_1) => __awaiter(this, [argocdAppId_1, ...args_1], void 0, function* (argocdAppId, options = {}) {
6535
+ // verify required parameter 'argocdAppId' is not null or undefined
6536
+ (0, common_1.assertParamExists)('getArgoCdApp', 'argocdAppId', argocdAppId);
6537
+ const localVarPath = `/argocdApp/{argocdAppId}`
6538
+ .replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
6539
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6540
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6541
+ let baseOptions;
6542
+ if (configuration) {
6543
+ baseOptions = configuration.baseOptions;
6544
+ }
6545
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6546
+ const localVarHeaderParameter = {};
6547
+ const localVarQueryParameter = {};
6548
+ // authentication ApiKeyAuth required
6549
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6550
+ // authentication bearerAuth required
6551
+ // http bearer authentication required
6552
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6553
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6554
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6555
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6556
+ return {
6557
+ url: (0, common_1.toPathString)(localVarUrlObj),
6558
+ options: localVarRequestOptions,
6559
+ };
6560
+ }),
6527
6561
  /**
6528
6562
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6529
6563
  * @summary Get ArgoCD credentials for a cluster
@@ -6640,6 +6674,22 @@ const ArgoCDApiFp = function (configuration) {
6640
6674
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6641
6675
  });
6642
6676
  },
6677
+ /**
6678
+ *
6679
+ * @summary Get ArgoCD app by ID
6680
+ * @param {string} argocdAppId ArgoCD App ID
6681
+ * @param {*} [options] Override http request option.
6682
+ * @throws {RequiredError}
6683
+ */
6684
+ getArgoCdApp(argocdAppId, options) {
6685
+ return __awaiter(this, void 0, void 0, function* () {
6686
+ var _a, _b, _c;
6687
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getArgoCdApp(argocdAppId, options);
6688
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6689
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ArgoCDApi.getArgoCdApp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6690
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6691
+ });
6692
+ },
6643
6693
  /**
6644
6694
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6645
6695
  * @summary Get ArgoCD credentials for a cluster
@@ -6704,6 +6754,16 @@ const ArgoCDApiFactory = function (configuration, basePath, axios) {
6704
6754
  deleteArgoCdCredentials(clusterId, options) {
6705
6755
  return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
6706
6756
  },
6757
+ /**
6758
+ *
6759
+ * @summary Get ArgoCD app by ID
6760
+ * @param {string} argocdAppId ArgoCD App ID
6761
+ * @param {*} [options] Override http request option.
6762
+ * @throws {RequiredError}
6763
+ */
6764
+ getArgoCdApp(argocdAppId, options) {
6765
+ return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
6766
+ },
6707
6767
  /**
6708
6768
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6709
6769
  * @summary Get ArgoCD credentials for a cluster
@@ -6758,6 +6818,17 @@ class ArgoCDApi extends base_1.BaseAPI {
6758
6818
  deleteArgoCdCredentials(clusterId, options) {
6759
6819
  return (0, exports.ArgoCDApiFp)(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
6760
6820
  }
6821
+ /**
6822
+ *
6823
+ * @summary Get ArgoCD app by ID
6824
+ * @param {string} argocdAppId ArgoCD App ID
6825
+ * @param {*} [options] Override http request option.
6826
+ * @throws {RequiredError}
6827
+ * @memberof ArgoCDApi
6828
+ */
6829
+ getArgoCdApp(argocdAppId, options) {
6830
+ return (0, exports.ArgoCDApiFp)(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
6831
+ }
6761
6832
  /**
6762
6833
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6763
6834
  * @summary Get ArgoCD credentials for a cluster
package/dist/esm/api.d.ts CHANGED
@@ -1991,6 +1991,42 @@ export interface ArgocdAppResponse {
1991
1991
  * @memberof ArgocdAppResponse
1992
1992
  */
1993
1993
  'namespace': string;
1994
+ /**
1995
+ *
1996
+ * @type {string}
1997
+ * @memberof ArgocdAppResponse
1998
+ */
1999
+ 'environment_id': string;
2000
+ /**
2001
+ *
2002
+ * @type {string}
2003
+ * @memberof ArgocdAppResponse
2004
+ */
2005
+ 'cluster_id': string;
2006
+ /**
2007
+ *
2008
+ * @type {string}
2009
+ * @memberof ArgocdAppResponse
2010
+ */
2011
+ 'last_synced_at'?: string | null;
2012
+ /**
2013
+ *
2014
+ * @type {string}
2015
+ * @memberof ArgocdAppResponse
2016
+ */
2017
+ 'manifest_revision'?: string | null;
2018
+ /**
2019
+ *
2020
+ * @type {string}
2021
+ * @memberof ArgocdAppResponse
2022
+ */
2023
+ 'source_repo_url'?: string | null;
2024
+ /**
2025
+ *
2026
+ * @type {string}
2027
+ * @memberof ArgocdAppResponse
2028
+ */
2029
+ 'source_target_revision'?: string | null;
1994
2030
  }
1995
2031
  /**
1996
2032
  *
@@ -21311,6 +21347,12 @@ export interface VariableEditRequest {
21311
21347
  * @memberof VariableEditRequest
21312
21348
  */
21313
21349
  'enable_interpolation_in_file'?: boolean | null;
21350
+ /**
21351
+ *
21352
+ * @type {string}
21353
+ * @memberof VariableEditRequest
21354
+ */
21355
+ 'secret_manager_access_id'?: string | null;
21314
21356
  }
21315
21357
  /**
21316
21358
  *
@@ -21546,6 +21588,12 @@ export interface VariableRequest {
21546
21588
  * @memberof VariableRequest
21547
21589
  */
21548
21590
  'enable_interpolation_in_file'?: boolean | null;
21591
+ /**
21592
+ *
21593
+ * @type {string}
21594
+ * @memberof VariableRequest
21595
+ */
21596
+ 'secret_manager_access_id'?: string | null;
21549
21597
  }
21550
21598
  /**
21551
21599
  *
@@ -21655,6 +21703,12 @@ export interface VariableResponse {
21655
21703
  * @memberof VariableResponse
21656
21704
  */
21657
21705
  'enable_interpolation_in_file'?: boolean;
21706
+ /**
21707
+ *
21708
+ * @type {string}
21709
+ * @memberof VariableResponse
21710
+ */
21711
+ 'secret_manager_access_id'?: string | null;
21658
21712
  }
21659
21713
  /**
21660
21714
  *
@@ -24305,6 +24359,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
24305
24359
  * @throws {RequiredError}
24306
24360
  */
24307
24361
  deleteArgoCdCredentials: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24362
+ /**
24363
+ *
24364
+ * @summary Get ArgoCD app by ID
24365
+ * @param {string} argocdAppId ArgoCD App ID
24366
+ * @param {*} [options] Override http request option.
24367
+ * @throws {RequiredError}
24368
+ */
24369
+ getArgoCdApp: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24308
24370
  /**
24309
24371
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
24310
24372
  * @summary Get ArgoCD credentials for a cluster
@@ -24345,6 +24407,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
24345
24407
  * @throws {RequiredError}
24346
24408
  */
24347
24409
  deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
24410
+ /**
24411
+ *
24412
+ * @summary Get ArgoCD app by ID
24413
+ * @param {string} argocdAppId ArgoCD App ID
24414
+ * @param {*} [options] Override http request option.
24415
+ * @throws {RequiredError}
24416
+ */
24417
+ getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>>;
24348
24418
  /**
24349
24419
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
24350
24420
  * @summary Get ArgoCD credentials for a cluster
@@ -24385,6 +24455,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
24385
24455
  * @throws {RequiredError}
24386
24456
  */
24387
24457
  deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
24458
+ /**
24459
+ *
24460
+ * @summary Get ArgoCD app by ID
24461
+ * @param {string} argocdAppId ArgoCD App ID
24462
+ * @param {*} [options] Override http request option.
24463
+ * @throws {RequiredError}
24464
+ */
24465
+ getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse>;
24388
24466
  /**
24389
24467
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
24390
24468
  * @summary Get ArgoCD credentials for a cluster
@@ -24429,6 +24507,15 @@ export declare class ArgoCDApi extends BaseAPI {
24429
24507
  * @memberof ArgoCDApi
24430
24508
  */
24431
24509
  deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24510
+ /**
24511
+ *
24512
+ * @summary Get ArgoCD app by ID
24513
+ * @param {string} argocdAppId ArgoCD App ID
24514
+ * @param {*} [options] Override http request option.
24515
+ * @throws {RequiredError}
24516
+ * @memberof ArgoCDApi
24517
+ */
24518
+ getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppResponse, any, {}>>;
24432
24519
  /**
24433
24520
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
24434
24521
  * @summary Get ArgoCD credentials for a cluster
package/dist/esm/api.js CHANGED
@@ -6459,6 +6459,40 @@ export const ArgoCDApiAxiosParamCreator = function (configuration) {
6459
6459
  options: localVarRequestOptions,
6460
6460
  };
6461
6461
  }),
6462
+ /**
6463
+ *
6464
+ * @summary Get ArgoCD app by ID
6465
+ * @param {string} argocdAppId ArgoCD App ID
6466
+ * @param {*} [options] Override http request option.
6467
+ * @throws {RequiredError}
6468
+ */
6469
+ getArgoCdApp: (argocdAppId_1, ...args_1) => __awaiter(this, [argocdAppId_1, ...args_1], void 0, function* (argocdAppId, options = {}) {
6470
+ // verify required parameter 'argocdAppId' is not null or undefined
6471
+ assertParamExists('getArgoCdApp', 'argocdAppId', argocdAppId);
6472
+ const localVarPath = `/argocdApp/{argocdAppId}`
6473
+ .replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
6474
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6475
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6476
+ let baseOptions;
6477
+ if (configuration) {
6478
+ baseOptions = configuration.baseOptions;
6479
+ }
6480
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6481
+ const localVarHeaderParameter = {};
6482
+ const localVarQueryParameter = {};
6483
+ // authentication ApiKeyAuth required
6484
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
6485
+ // authentication bearerAuth required
6486
+ // http bearer authentication required
6487
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6488
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6489
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6490
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6491
+ return {
6492
+ url: toPathString(localVarUrlObj),
6493
+ options: localVarRequestOptions,
6494
+ };
6495
+ }),
6462
6496
  /**
6463
6497
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6464
6498
  * @summary Get ArgoCD credentials for a cluster
@@ -6574,6 +6608,22 @@ export const ArgoCDApiFp = function (configuration) {
6574
6608
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6575
6609
  });
6576
6610
  },
6611
+ /**
6612
+ *
6613
+ * @summary Get ArgoCD app by ID
6614
+ * @param {string} argocdAppId ArgoCD App ID
6615
+ * @param {*} [options] Override http request option.
6616
+ * @throws {RequiredError}
6617
+ */
6618
+ getArgoCdApp(argocdAppId, options) {
6619
+ return __awaiter(this, void 0, void 0, function* () {
6620
+ var _a, _b, _c;
6621
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getArgoCdApp(argocdAppId, options);
6622
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6623
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ArgoCDApi.getArgoCdApp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6624
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6625
+ });
6626
+ },
6577
6627
  /**
6578
6628
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6579
6629
  * @summary Get ArgoCD credentials for a cluster
@@ -6637,6 +6687,16 @@ export const ArgoCDApiFactory = function (configuration, basePath, axios) {
6637
6687
  deleteArgoCdCredentials(clusterId, options) {
6638
6688
  return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
6639
6689
  },
6690
+ /**
6691
+ *
6692
+ * @summary Get ArgoCD app by ID
6693
+ * @param {string} argocdAppId ArgoCD App ID
6694
+ * @param {*} [options] Override http request option.
6695
+ * @throws {RequiredError}
6696
+ */
6697
+ getArgoCdApp(argocdAppId, options) {
6698
+ return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
6699
+ },
6640
6700
  /**
6641
6701
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6642
6702
  * @summary Get ArgoCD credentials for a cluster
@@ -6690,6 +6750,17 @@ export class ArgoCDApi extends BaseAPI {
6690
6750
  deleteArgoCdCredentials(clusterId, options) {
6691
6751
  return ArgoCDApiFp(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
6692
6752
  }
6753
+ /**
6754
+ *
6755
+ * @summary Get ArgoCD app by ID
6756
+ * @param {string} argocdAppId ArgoCD App ID
6757
+ * @param {*} [options] Override http request option.
6758
+ * @throws {RequiredError}
6759
+ * @memberof ArgoCDApi
6760
+ */
6761
+ getArgoCdApp(argocdAppId, options) {
6762
+ return ArgoCDApiFp(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
6763
+ }
6693
6764
  /**
6694
6765
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6695
6766
  * @summary Get ArgoCD credentials for a cluster
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.869",
3
+ "version": "v1.1.871",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {