qovery-typescript-axios 1.1.884 → 1.1.886

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
@@ -2264,6 +2264,38 @@ export interface ArgoCdUnlinkedClusterDetails {
2264
2264
  */
2265
2265
  'applications_count': number;
2266
2266
  }
2267
+ /**
2268
+ *
2269
+ * @export
2270
+ * @interface ArgocdAppManifestResponse
2271
+ */
2272
+ export interface ArgocdAppManifestResponse {
2273
+ /**
2274
+ * Git revision the app is currently synced to
2275
+ * @type {string}
2276
+ * @memberof ArgocdAppManifestResponse
2277
+ */
2278
+ 'manifest_revision'?: string | null;
2279
+ /**
2280
+ *
2281
+ * @type {ArgocdAppManifestResponseManifestMetadata}
2282
+ * @memberof ArgocdAppManifestResponse
2283
+ */
2284
+ 'manifest_metadata': ArgocdAppManifestResponseManifestMetadata;
2285
+ }
2286
+ /**
2287
+ * Raw enrichment data fetched from the ArgoCD managed-resources API
2288
+ * @export
2289
+ * @interface ArgocdAppManifestResponseManifestMetadata
2290
+ */
2291
+ export interface ArgocdAppManifestResponseManifestMetadata {
2292
+ /**
2293
+ *
2294
+ * @type {Array<ArgocdManagedResource>}
2295
+ * @memberof ArgocdAppManifestResponseManifestMetadata
2296
+ */
2297
+ 'managed_resources'?: Array<ArgocdManagedResource>;
2298
+ }
2267
2299
  /**
2268
2300
  * An ArgoCD service
2269
2301
  * @export
@@ -2357,6 +2389,43 @@ export interface ArgocdAppResponse {
2357
2389
  }
2358
2390
 
2359
2391
 
2392
+ /**
2393
+ *
2394
+ * @export
2395
+ * @interface ArgocdManagedResource
2396
+ */
2397
+ export interface ArgocdManagedResource {
2398
+ /**
2399
+ * Kubernetes resource kind (e.g. Deployment, Service)
2400
+ * @type {string}
2401
+ * @memberof ArgocdManagedResource
2402
+ */
2403
+ 'kind'?: string;
2404
+ /**
2405
+ *
2406
+ * @type {string}
2407
+ * @memberof ArgocdManagedResource
2408
+ */
2409
+ 'name'?: string;
2410
+ /**
2411
+ *
2412
+ * @type {string}
2413
+ * @memberof ArgocdManagedResource
2414
+ */
2415
+ 'namespace'?: string;
2416
+ /**
2417
+ * JSON-encoded desired Kubernetes manifest
2418
+ * @type {string}
2419
+ * @memberof ArgocdManagedResource
2420
+ */
2421
+ 'targetState'?: string;
2422
+ /**
2423
+ * JSON-encoded live Kubernetes manifest
2424
+ * @type {string}
2425
+ * @memberof ArgocdManagedResource
2426
+ */
2427
+ 'liveState'?: string;
2428
+ }
2360
2429
  /**
2361
2430
  *
2362
2431
  * @export
@@ -29161,6 +29230,47 @@ export const ArgoCDApiAxiosParamCreator = function (configuration?: Configuratio
29161
29230
 
29162
29231
 
29163
29232
 
29233
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29234
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29235
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29236
+
29237
+ return {
29238
+ url: toPathString(localVarUrlObj),
29239
+ options: localVarRequestOptions,
29240
+ };
29241
+ },
29242
+ /**
29243
+ *
29244
+ * @summary Get ArgoCD app manifest enrichment
29245
+ * @param {string} argocdAppId ArgoCD App ID
29246
+ * @param {*} [options] Override http request option.
29247
+ * @throws {RequiredError}
29248
+ */
29249
+ getArgoCdAppManifest: async (argocdAppId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29250
+ // verify required parameter 'argocdAppId' is not null or undefined
29251
+ assertParamExists('getArgoCdAppManifest', 'argocdAppId', argocdAppId)
29252
+ const localVarPath = `/argocdApp/{argocdAppId}/manifest`
29253
+ .replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
29254
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29255
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29256
+ let baseOptions;
29257
+ if (configuration) {
29258
+ baseOptions = configuration.baseOptions;
29259
+ }
29260
+
29261
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29262
+ const localVarHeaderParameter = {} as any;
29263
+ const localVarQueryParameter = {} as any;
29264
+
29265
+ // authentication ApiKeyAuth required
29266
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
29267
+
29268
+ // authentication bearerAuth required
29269
+ // http bearer authentication required
29270
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29271
+
29272
+
29273
+
29164
29274
  setSearchParams(localVarUrlObj, localVarQueryParameter);
29165
29275
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29166
29276
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -29396,6 +29506,19 @@ export const ArgoCDApiFp = function(configuration?: Configuration) {
29396
29506
  const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.getArgoCdApp']?.[localVarOperationServerIndex]?.url;
29397
29507
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29398
29508
  },
29509
+ /**
29510
+ *
29511
+ * @summary Get ArgoCD app manifest enrichment
29512
+ * @param {string} argocdAppId ArgoCD App ID
29513
+ * @param {*} [options] Override http request option.
29514
+ * @throws {RequiredError}
29515
+ */
29516
+ async getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppManifestResponse>> {
29517
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getArgoCdAppManifest(argocdAppId, options);
29518
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29519
+ const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.getArgoCdAppManifest']?.[localVarOperationServerIndex]?.url;
29520
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29521
+ },
29399
29522
  /**
29400
29523
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
29401
29524
  * @summary Get ArgoCD credentials for a cluster
@@ -29491,6 +29614,16 @@ export const ArgoCDApiFactory = function (configuration?: Configuration, basePat
29491
29614
  getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse> {
29492
29615
  return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
29493
29616
  },
29617
+ /**
29618
+ *
29619
+ * @summary Get ArgoCD app manifest enrichment
29620
+ * @param {string} argocdAppId ArgoCD App ID
29621
+ * @param {*} [options] Override http request option.
29622
+ * @throws {RequiredError}
29623
+ */
29624
+ getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppManifestResponse> {
29625
+ return localVarFp.getArgoCdAppManifest(argocdAppId, options).then((request) => request(axios, basePath));
29626
+ },
29494
29627
  /**
29495
29628
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
29496
29629
  * @summary Get ArgoCD credentials for a cluster
@@ -29580,6 +29713,18 @@ export class ArgoCDApi extends BaseAPI {
29580
29713
  return ArgoCDApiFp(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
29581
29714
  }
29582
29715
 
29716
+ /**
29717
+ *
29718
+ * @summary Get ArgoCD app manifest enrichment
29719
+ * @param {string} argocdAppId ArgoCD App ID
29720
+ * @param {*} [options] Override http request option.
29721
+ * @throws {RequiredError}
29722
+ * @memberof ArgoCDApi
29723
+ */
29724
+ public getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig) {
29725
+ return ArgoCDApiFp(this.configuration).getArgoCdAppManifest(argocdAppId, options).then((request) => request(this.axios, this.basePath));
29726
+ }
29727
+
29583
29728
  /**
29584
29729
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
29585
29730
  * @summary Get ArgoCD credentials for a cluster
@@ -66131,7 +66276,7 @@ export const SecretManagerAccessApiAxiosParamCreator = function (configuration?:
66131
66276
  listSecretManagerAccessExternalSecrets: async (secretManagerAccessId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66132
66277
  // verify required parameter 'secretManagerAccessId' is not null or undefined
66133
66278
  assertParamExists('listSecretManagerAccessExternalSecrets', 'secretManagerAccessId', secretManagerAccessId)
66134
- const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/associatedServices`
66279
+ const localVarPath = `/secretManagerAccess/{secretManagerAccessId}/associatedServices`
66135
66280
  .replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
66136
66281
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
66137
66282
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -66173,7 +66318,7 @@ export const SecretManagerAccessApiAxiosParamCreator = function (configuration?:
66173
66318
  listUpstreamSecretsFromSecretProvider: async (secretManagerAccessId: string, namePrefix?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66174
66319
  // verify required parameter 'secretManagerAccessId' is not null or undefined
66175
66320
  assertParamExists('listUpstreamSecretsFromSecretProvider', 'secretManagerAccessId', secretManagerAccessId)
66176
- const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/secrets`
66321
+ const localVarPath = `/secretManagerAccess/{secretManagerAccessId}/secrets`
66177
66322
  .replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
66178
66323
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
66179
66324
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
package/dist/api.d.ts CHANGED
@@ -2177,6 +2177,38 @@ export interface ArgoCdUnlinkedClusterDetails {
2177
2177
  */
2178
2178
  'applications_count': number;
2179
2179
  }
2180
+ /**
2181
+ *
2182
+ * @export
2183
+ * @interface ArgocdAppManifestResponse
2184
+ */
2185
+ export interface ArgocdAppManifestResponse {
2186
+ /**
2187
+ * Git revision the app is currently synced to
2188
+ * @type {string}
2189
+ * @memberof ArgocdAppManifestResponse
2190
+ */
2191
+ 'manifest_revision'?: string | null;
2192
+ /**
2193
+ *
2194
+ * @type {ArgocdAppManifestResponseManifestMetadata}
2195
+ * @memberof ArgocdAppManifestResponse
2196
+ */
2197
+ 'manifest_metadata': ArgocdAppManifestResponseManifestMetadata;
2198
+ }
2199
+ /**
2200
+ * Raw enrichment data fetched from the ArgoCD managed-resources API
2201
+ * @export
2202
+ * @interface ArgocdAppManifestResponseManifestMetadata
2203
+ */
2204
+ export interface ArgocdAppManifestResponseManifestMetadata {
2205
+ /**
2206
+ *
2207
+ * @type {Array<ArgocdManagedResource>}
2208
+ * @memberof ArgocdAppManifestResponseManifestMetadata
2209
+ */
2210
+ 'managed_resources'?: Array<ArgocdManagedResource>;
2211
+ }
2180
2212
  /**
2181
2213
  * An ArgoCD service
2182
2214
  * @export
@@ -2268,6 +2300,43 @@ export interface ArgocdAppResponse {
2268
2300
  */
2269
2301
  'source_target_revision'?: string | null;
2270
2302
  }
2303
+ /**
2304
+ *
2305
+ * @export
2306
+ * @interface ArgocdManagedResource
2307
+ */
2308
+ export interface ArgocdManagedResource {
2309
+ /**
2310
+ * Kubernetes resource kind (e.g. Deployment, Service)
2311
+ * @type {string}
2312
+ * @memberof ArgocdManagedResource
2313
+ */
2314
+ 'kind'?: string;
2315
+ /**
2316
+ *
2317
+ * @type {string}
2318
+ * @memberof ArgocdManagedResource
2319
+ */
2320
+ 'name'?: string;
2321
+ /**
2322
+ *
2323
+ * @type {string}
2324
+ * @memberof ArgocdManagedResource
2325
+ */
2326
+ 'namespace'?: string;
2327
+ /**
2328
+ * JSON-encoded desired Kubernetes manifest
2329
+ * @type {string}
2330
+ * @memberof ArgocdManagedResource
2331
+ */
2332
+ 'targetState'?: string;
2333
+ /**
2334
+ * JSON-encoded live Kubernetes manifest
2335
+ * @type {string}
2336
+ * @memberof ArgocdManagedResource
2337
+ */
2338
+ 'liveState'?: string;
2339
+ }
2271
2340
  /**
2272
2341
  *
2273
2342
  * @export
@@ -25401,6 +25470,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
25401
25470
  * @throws {RequiredError}
25402
25471
  */
25403
25472
  getArgoCdApp: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25473
+ /**
25474
+ *
25475
+ * @summary Get ArgoCD app manifest enrichment
25476
+ * @param {string} argocdAppId ArgoCD App ID
25477
+ * @param {*} [options] Override http request option.
25478
+ * @throws {RequiredError}
25479
+ */
25480
+ getArgoCdAppManifest: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25404
25481
  /**
25405
25482
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
25406
25483
  * @summary Get ArgoCD credentials for a cluster
@@ -25466,6 +25543,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
25466
25543
  * @throws {RequiredError}
25467
25544
  */
25468
25545
  getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>>;
25546
+ /**
25547
+ *
25548
+ * @summary Get ArgoCD app manifest enrichment
25549
+ * @param {string} argocdAppId ArgoCD App ID
25550
+ * @param {*} [options] Override http request option.
25551
+ * @throws {RequiredError}
25552
+ */
25553
+ getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppManifestResponse>>;
25469
25554
  /**
25470
25555
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
25471
25556
  * @summary Get ArgoCD credentials for a cluster
@@ -25531,6 +25616,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
25531
25616
  * @throws {RequiredError}
25532
25617
  */
25533
25618
  getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse>;
25619
+ /**
25620
+ *
25621
+ * @summary Get ArgoCD app manifest enrichment
25622
+ * @param {string} argocdAppId ArgoCD App ID
25623
+ * @param {*} [options] Override http request option.
25624
+ * @throws {RequiredError}
25625
+ */
25626
+ getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppManifestResponse>;
25534
25627
  /**
25535
25628
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
25536
25629
  * @summary Get ArgoCD credentials for a cluster
@@ -25601,6 +25694,15 @@ export declare class ArgoCDApi extends BaseAPI {
25601
25694
  * @memberof ArgoCDApi
25602
25695
  */
25603
25696
  getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppResponse, any, {}>>;
25697
+ /**
25698
+ *
25699
+ * @summary Get ArgoCD app manifest enrichment
25700
+ * @param {string} argocdAppId ArgoCD App ID
25701
+ * @param {*} [options] Override http request option.
25702
+ * @throws {RequiredError}
25703
+ * @memberof ArgoCDApi
25704
+ */
25705
+ getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppManifestResponse, any, {}>>;
25604
25706
  /**
25605
25707
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
25606
25708
  * @summary Get ArgoCD credentials for a cluster
package/dist/api.js CHANGED
@@ -6609,6 +6609,40 @@ const ArgoCDApiAxiosParamCreator = function (configuration) {
6609
6609
  options: localVarRequestOptions,
6610
6610
  };
6611
6611
  }),
6612
+ /**
6613
+ *
6614
+ * @summary Get ArgoCD app manifest enrichment
6615
+ * @param {string} argocdAppId ArgoCD App ID
6616
+ * @param {*} [options] Override http request option.
6617
+ * @throws {RequiredError}
6618
+ */
6619
+ getArgoCdAppManifest: (argocdAppId_1, ...args_1) => __awaiter(this, [argocdAppId_1, ...args_1], void 0, function* (argocdAppId, options = {}) {
6620
+ // verify required parameter 'argocdAppId' is not null or undefined
6621
+ (0, common_1.assertParamExists)('getArgoCdAppManifest', 'argocdAppId', argocdAppId);
6622
+ const localVarPath = `/argocdApp/{argocdAppId}/manifest`
6623
+ .replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
6624
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6625
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6626
+ let baseOptions;
6627
+ if (configuration) {
6628
+ baseOptions = configuration.baseOptions;
6629
+ }
6630
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6631
+ const localVarHeaderParameter = {};
6632
+ const localVarQueryParameter = {};
6633
+ // authentication ApiKeyAuth required
6634
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6635
+ // authentication bearerAuth required
6636
+ // http bearer authentication required
6637
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6638
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6639
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6640
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6641
+ return {
6642
+ url: (0, common_1.toPathString)(localVarUrlObj),
6643
+ options: localVarRequestOptions,
6644
+ };
6645
+ }),
6612
6646
  /**
6613
6647
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6614
6648
  * @summary Get ArgoCD credentials for a cluster
@@ -6814,6 +6848,22 @@ const ArgoCDApiFp = function (configuration) {
6814
6848
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6815
6849
  });
6816
6850
  },
6851
+ /**
6852
+ *
6853
+ * @summary Get ArgoCD app manifest enrichment
6854
+ * @param {string} argocdAppId ArgoCD App ID
6855
+ * @param {*} [options] Override http request option.
6856
+ * @throws {RequiredError}
6857
+ */
6858
+ getArgoCdAppManifest(argocdAppId, options) {
6859
+ return __awaiter(this, void 0, void 0, function* () {
6860
+ var _a, _b, _c;
6861
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getArgoCdAppManifest(argocdAppId, options);
6862
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6863
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ArgoCDApi.getArgoCdAppManifest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6864
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6865
+ });
6866
+ },
6817
6867
  /**
6818
6868
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6819
6869
  * @summary Get ArgoCD credentials for a cluster
@@ -6921,6 +6971,16 @@ const ArgoCDApiFactory = function (configuration, basePath, axios) {
6921
6971
  getArgoCdApp(argocdAppId, options) {
6922
6972
  return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
6923
6973
  },
6974
+ /**
6975
+ *
6976
+ * @summary Get ArgoCD app manifest enrichment
6977
+ * @param {string} argocdAppId ArgoCD App ID
6978
+ * @param {*} [options] Override http request option.
6979
+ * @throws {RequiredError}
6980
+ */
6981
+ getArgoCdAppManifest(argocdAppId, options) {
6982
+ return localVarFp.getArgoCdAppManifest(argocdAppId, options).then((request) => request(axios, basePath));
6983
+ },
6924
6984
  /**
6925
6985
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6926
6986
  * @summary Get ArgoCD credentials for a cluster
@@ -7007,6 +7067,17 @@ class ArgoCDApi extends base_1.BaseAPI {
7007
7067
  getArgoCdApp(argocdAppId, options) {
7008
7068
  return (0, exports.ArgoCDApiFp)(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
7009
7069
  }
7070
+ /**
7071
+ *
7072
+ * @summary Get ArgoCD app manifest enrichment
7073
+ * @param {string} argocdAppId ArgoCD App ID
7074
+ * @param {*} [options] Override http request option.
7075
+ * @throws {RequiredError}
7076
+ * @memberof ArgoCDApi
7077
+ */
7078
+ getArgoCdAppManifest(argocdAppId, options) {
7079
+ return (0, exports.ArgoCDApiFp)(this.configuration).getArgoCdAppManifest(argocdAppId, options).then((request) => request(this.axios, this.basePath));
7080
+ }
7010
7081
  /**
7011
7082
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
7012
7083
  * @summary Get ArgoCD credentials for a cluster
@@ -41180,7 +41251,7 @@ const SecretManagerAccessApiAxiosParamCreator = function (configuration) {
41180
41251
  listSecretManagerAccessExternalSecrets: (secretManagerAccessId_1, ...args_1) => __awaiter(this, [secretManagerAccessId_1, ...args_1], void 0, function* (secretManagerAccessId, options = {}) {
41181
41252
  // verify required parameter 'secretManagerAccessId' is not null or undefined
41182
41253
  (0, common_1.assertParamExists)('listSecretManagerAccessExternalSecrets', 'secretManagerAccessId', secretManagerAccessId);
41183
- const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/associatedServices`
41254
+ const localVarPath = `/secretManagerAccess/{secretManagerAccessId}/associatedServices`
41184
41255
  .replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
41185
41256
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41186
41257
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -41215,7 +41286,7 @@ const SecretManagerAccessApiAxiosParamCreator = function (configuration) {
41215
41286
  listUpstreamSecretsFromSecretProvider: (secretManagerAccessId_1, namePrefix_1, ...args_1) => __awaiter(this, [secretManagerAccessId_1, namePrefix_1, ...args_1], void 0, function* (secretManagerAccessId, namePrefix, options = {}) {
41216
41287
  // verify required parameter 'secretManagerAccessId' is not null or undefined
41217
41288
  (0, common_1.assertParamExists)('listUpstreamSecretsFromSecretProvider', 'secretManagerAccessId', secretManagerAccessId);
41218
- const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/secrets`
41289
+ const localVarPath = `/secretManagerAccess/{secretManagerAccessId}/secrets`
41219
41290
  .replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
41220
41291
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41221
41292
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
package/dist/esm/api.d.ts CHANGED
@@ -2177,6 +2177,38 @@ export interface ArgoCdUnlinkedClusterDetails {
2177
2177
  */
2178
2178
  'applications_count': number;
2179
2179
  }
2180
+ /**
2181
+ *
2182
+ * @export
2183
+ * @interface ArgocdAppManifestResponse
2184
+ */
2185
+ export interface ArgocdAppManifestResponse {
2186
+ /**
2187
+ * Git revision the app is currently synced to
2188
+ * @type {string}
2189
+ * @memberof ArgocdAppManifestResponse
2190
+ */
2191
+ 'manifest_revision'?: string | null;
2192
+ /**
2193
+ *
2194
+ * @type {ArgocdAppManifestResponseManifestMetadata}
2195
+ * @memberof ArgocdAppManifestResponse
2196
+ */
2197
+ 'manifest_metadata': ArgocdAppManifestResponseManifestMetadata;
2198
+ }
2199
+ /**
2200
+ * Raw enrichment data fetched from the ArgoCD managed-resources API
2201
+ * @export
2202
+ * @interface ArgocdAppManifestResponseManifestMetadata
2203
+ */
2204
+ export interface ArgocdAppManifestResponseManifestMetadata {
2205
+ /**
2206
+ *
2207
+ * @type {Array<ArgocdManagedResource>}
2208
+ * @memberof ArgocdAppManifestResponseManifestMetadata
2209
+ */
2210
+ 'managed_resources'?: Array<ArgocdManagedResource>;
2211
+ }
2180
2212
  /**
2181
2213
  * An ArgoCD service
2182
2214
  * @export
@@ -2268,6 +2300,43 @@ export interface ArgocdAppResponse {
2268
2300
  */
2269
2301
  'source_target_revision'?: string | null;
2270
2302
  }
2303
+ /**
2304
+ *
2305
+ * @export
2306
+ * @interface ArgocdManagedResource
2307
+ */
2308
+ export interface ArgocdManagedResource {
2309
+ /**
2310
+ * Kubernetes resource kind (e.g. Deployment, Service)
2311
+ * @type {string}
2312
+ * @memberof ArgocdManagedResource
2313
+ */
2314
+ 'kind'?: string;
2315
+ /**
2316
+ *
2317
+ * @type {string}
2318
+ * @memberof ArgocdManagedResource
2319
+ */
2320
+ 'name'?: string;
2321
+ /**
2322
+ *
2323
+ * @type {string}
2324
+ * @memberof ArgocdManagedResource
2325
+ */
2326
+ 'namespace'?: string;
2327
+ /**
2328
+ * JSON-encoded desired Kubernetes manifest
2329
+ * @type {string}
2330
+ * @memberof ArgocdManagedResource
2331
+ */
2332
+ 'targetState'?: string;
2333
+ /**
2334
+ * JSON-encoded live Kubernetes manifest
2335
+ * @type {string}
2336
+ * @memberof ArgocdManagedResource
2337
+ */
2338
+ 'liveState'?: string;
2339
+ }
2271
2340
  /**
2272
2341
  *
2273
2342
  * @export
@@ -25401,6 +25470,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
25401
25470
  * @throws {RequiredError}
25402
25471
  */
25403
25472
  getArgoCdApp: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25473
+ /**
25474
+ *
25475
+ * @summary Get ArgoCD app manifest enrichment
25476
+ * @param {string} argocdAppId ArgoCD App ID
25477
+ * @param {*} [options] Override http request option.
25478
+ * @throws {RequiredError}
25479
+ */
25480
+ getArgoCdAppManifest: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25404
25481
  /**
25405
25482
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
25406
25483
  * @summary Get ArgoCD credentials for a cluster
@@ -25466,6 +25543,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
25466
25543
  * @throws {RequiredError}
25467
25544
  */
25468
25545
  getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>>;
25546
+ /**
25547
+ *
25548
+ * @summary Get ArgoCD app manifest enrichment
25549
+ * @param {string} argocdAppId ArgoCD App ID
25550
+ * @param {*} [options] Override http request option.
25551
+ * @throws {RequiredError}
25552
+ */
25553
+ getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppManifestResponse>>;
25469
25554
  /**
25470
25555
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
25471
25556
  * @summary Get ArgoCD credentials for a cluster
@@ -25531,6 +25616,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
25531
25616
  * @throws {RequiredError}
25532
25617
  */
25533
25618
  getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse>;
25619
+ /**
25620
+ *
25621
+ * @summary Get ArgoCD app manifest enrichment
25622
+ * @param {string} argocdAppId ArgoCD App ID
25623
+ * @param {*} [options] Override http request option.
25624
+ * @throws {RequiredError}
25625
+ */
25626
+ getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppManifestResponse>;
25534
25627
  /**
25535
25628
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
25536
25629
  * @summary Get ArgoCD credentials for a cluster
@@ -25601,6 +25694,15 @@ export declare class ArgoCDApi extends BaseAPI {
25601
25694
  * @memberof ArgoCDApi
25602
25695
  */
25603
25696
  getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppResponse, any, {}>>;
25697
+ /**
25698
+ *
25699
+ * @summary Get ArgoCD app manifest enrichment
25700
+ * @param {string} argocdAppId ArgoCD App ID
25701
+ * @param {*} [options] Override http request option.
25702
+ * @throws {RequiredError}
25703
+ * @memberof ArgoCDApi
25704
+ */
25705
+ getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppManifestResponse, any, {}>>;
25604
25706
  /**
25605
25707
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
25606
25708
  * @summary Get ArgoCD credentials for a cluster
package/dist/esm/api.js CHANGED
@@ -6544,6 +6544,40 @@ export const ArgoCDApiAxiosParamCreator = function (configuration) {
6544
6544
  options: localVarRequestOptions,
6545
6545
  };
6546
6546
  }),
6547
+ /**
6548
+ *
6549
+ * @summary Get ArgoCD app manifest enrichment
6550
+ * @param {string} argocdAppId ArgoCD App ID
6551
+ * @param {*} [options] Override http request option.
6552
+ * @throws {RequiredError}
6553
+ */
6554
+ getArgoCdAppManifest: (argocdAppId_1, ...args_1) => __awaiter(this, [argocdAppId_1, ...args_1], void 0, function* (argocdAppId, options = {}) {
6555
+ // verify required parameter 'argocdAppId' is not null or undefined
6556
+ assertParamExists('getArgoCdAppManifest', 'argocdAppId', argocdAppId);
6557
+ const localVarPath = `/argocdApp/{argocdAppId}/manifest`
6558
+ .replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
6559
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6560
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6561
+ let baseOptions;
6562
+ if (configuration) {
6563
+ baseOptions = configuration.baseOptions;
6564
+ }
6565
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6566
+ const localVarHeaderParameter = {};
6567
+ const localVarQueryParameter = {};
6568
+ // authentication ApiKeyAuth required
6569
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
6570
+ // authentication bearerAuth required
6571
+ // http bearer authentication required
6572
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6573
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6574
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6575
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6576
+ return {
6577
+ url: toPathString(localVarUrlObj),
6578
+ options: localVarRequestOptions,
6579
+ };
6580
+ }),
6547
6581
  /**
6548
6582
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6549
6583
  * @summary Get ArgoCD credentials for a cluster
@@ -6748,6 +6782,22 @@ export const ArgoCDApiFp = function (configuration) {
6748
6782
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6749
6783
  });
6750
6784
  },
6785
+ /**
6786
+ *
6787
+ * @summary Get ArgoCD app manifest enrichment
6788
+ * @param {string} argocdAppId ArgoCD App ID
6789
+ * @param {*} [options] Override http request option.
6790
+ * @throws {RequiredError}
6791
+ */
6792
+ getArgoCdAppManifest(argocdAppId, options) {
6793
+ return __awaiter(this, void 0, void 0, function* () {
6794
+ var _a, _b, _c;
6795
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getArgoCdAppManifest(argocdAppId, options);
6796
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6797
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ArgoCDApi.getArgoCdAppManifest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6798
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6799
+ });
6800
+ },
6751
6801
  /**
6752
6802
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6753
6803
  * @summary Get ArgoCD credentials for a cluster
@@ -6854,6 +6904,16 @@ export const ArgoCDApiFactory = function (configuration, basePath, axios) {
6854
6904
  getArgoCdApp(argocdAppId, options) {
6855
6905
  return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
6856
6906
  },
6907
+ /**
6908
+ *
6909
+ * @summary Get ArgoCD app manifest enrichment
6910
+ * @param {string} argocdAppId ArgoCD App ID
6911
+ * @param {*} [options] Override http request option.
6912
+ * @throws {RequiredError}
6913
+ */
6914
+ getArgoCdAppManifest(argocdAppId, options) {
6915
+ return localVarFp.getArgoCdAppManifest(argocdAppId, options).then((request) => request(axios, basePath));
6916
+ },
6857
6917
  /**
6858
6918
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6859
6919
  * @summary Get ArgoCD credentials for a cluster
@@ -6939,6 +6999,17 @@ export class ArgoCDApi extends BaseAPI {
6939
6999
  getArgoCdApp(argocdAppId, options) {
6940
7000
  return ArgoCDApiFp(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
6941
7001
  }
7002
+ /**
7003
+ *
7004
+ * @summary Get ArgoCD app manifest enrichment
7005
+ * @param {string} argocdAppId ArgoCD App ID
7006
+ * @param {*} [options] Override http request option.
7007
+ * @throws {RequiredError}
7008
+ * @memberof ArgoCDApi
7009
+ */
7010
+ getArgoCdAppManifest(argocdAppId, options) {
7011
+ return ArgoCDApiFp(this.configuration).getArgoCdAppManifest(argocdAppId, options).then((request) => request(this.axios, this.basePath));
7012
+ }
6942
7013
  /**
6943
7014
  * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
6944
7015
  * @summary Get ArgoCD credentials for a cluster
@@ -40835,7 +40906,7 @@ export const SecretManagerAccessApiAxiosParamCreator = function (configuration)
40835
40906
  listSecretManagerAccessExternalSecrets: (secretManagerAccessId_1, ...args_1) => __awaiter(this, [secretManagerAccessId_1, ...args_1], void 0, function* (secretManagerAccessId, options = {}) {
40836
40907
  // verify required parameter 'secretManagerAccessId' is not null or undefined
40837
40908
  assertParamExists('listSecretManagerAccessExternalSecrets', 'secretManagerAccessId', secretManagerAccessId);
40838
- const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/associatedServices`
40909
+ const localVarPath = `/secretManagerAccess/{secretManagerAccessId}/associatedServices`
40839
40910
  .replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
40840
40911
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
40841
40912
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -40870,7 +40941,7 @@ export const SecretManagerAccessApiAxiosParamCreator = function (configuration)
40870
40941
  listUpstreamSecretsFromSecretProvider: (secretManagerAccessId_1, namePrefix_1, ...args_1) => __awaiter(this, [secretManagerAccessId_1, namePrefix_1, ...args_1], void 0, function* (secretManagerAccessId, namePrefix, options = {}) {
40871
40942
  // verify required parameter 'secretManagerAccessId' is not null or undefined
40872
40943
  assertParamExists('listUpstreamSecretsFromSecretProvider', 'secretManagerAccessId', secretManagerAccessId);
40873
- const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/secrets`
40944
+ const localVarPath = `/secretManagerAccess/{secretManagerAccessId}/secrets`
40874
40945
  .replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
40875
40946
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
40876
40947
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.884",
3
+ "version": "v1.1.886",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {