qovery-typescript-axios 1.1.299 → 1.1.301

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
@@ -7360,99 +7360,6 @@ export interface EnvironmentVariableResponseList {
7360
7360
  */
7361
7361
  'results'?: Array<EnvironmentVariable>;
7362
7362
  }
7363
- /**
7364
- *
7365
- * @export
7366
- * @interface Event
7367
- */
7368
- export interface Event {
7369
- /**
7370
- *
7371
- * @type {string}
7372
- * @memberof Event
7373
- */
7374
- 'id': string;
7375
- /**
7376
- *
7377
- * @type {string}
7378
- * @memberof Event
7379
- */
7380
- 'created_at': string;
7381
- /**
7382
- *
7383
- * @type {string}
7384
- * @memberof Event
7385
- */
7386
- 'updated_at'?: string;
7387
- /**
7388
- *
7389
- * @type {User}
7390
- * @memberof Event
7391
- */
7392
- 'user'?: User;
7393
- /**
7394
- *
7395
- * @type {Commit}
7396
- * @memberof Event
7397
- */
7398
- 'commit'?: Commit | null;
7399
- /**
7400
- *
7401
- * @type {Status}
7402
- * @memberof Event
7403
- */
7404
- 'status'?: Status;
7405
- /**
7406
- * DRAFT - we have to specify here all the possible events
7407
- * @type {string}
7408
- * @memberof Event
7409
- */
7410
- 'type'?: string;
7411
- /**
7412
- *
7413
- * @type {ReferenceObject}
7414
- * @memberof Event
7415
- */
7416
- 'log'?: ReferenceObject;
7417
- }
7418
- /**
7419
- *
7420
- * @export
7421
- * @interface EventPaginatedResponseList
7422
- */
7423
- export interface EventPaginatedResponseList {
7424
- /**
7425
- *
7426
- * @type {number}
7427
- * @memberof EventPaginatedResponseList
7428
- */
7429
- 'page': number;
7430
- /**
7431
- *
7432
- * @type {number}
7433
- * @memberof EventPaginatedResponseList
7434
- */
7435
- 'page_size': number;
7436
- /**
7437
- *
7438
- * @type {Array<Event>}
7439
- * @memberof EventPaginatedResponseList
7440
- */
7441
- 'results'?: Array<Event>;
7442
- }
7443
- /**
7444
- *
7445
- * @export
7446
- * @interface EventResponseList
7447
- */
7448
- export interface EventResponseList {
7449
- /**
7450
- *
7451
- * @type {Array<Event>}
7452
- * @memberof EventResponseList
7453
- */
7454
- 'results'?: Array<Event>;
7455
- }
7456
7363
  /**
7457
7364
  *
7458
7365
  * @export
@@ -7832,6 +7739,19 @@ export interface Healthcheck {
7832
7739
  */
7833
7740
  'liveness_probe'?: Probe | null;
7834
7741
  }
7742
+ /**
7743
+ *
7744
+ * @export
7745
+ * @interface HelmDefaultValuesRequest
7746
+ */
7747
+ export interface HelmDefaultValuesRequest {
7748
+ /**
7749
+ *
7750
+ * @type {HelmRequestAllOfSource}
7751
+ * @memberof HelmDefaultValuesRequest
7752
+ */
7753
+ 'source': HelmRequestAllOfSource;
7754
+ }
7835
7755
  /**
7836
7756
  *
7837
7757
  * @export
@@ -37784,47 +37704,6 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Confi
37784
37704
  options: localVarRequestOptions,
37785
37705
  };
37786
37706
  },
37787
- /**
37788
- *
37789
- * @summary Display the contents of the values.yaml file
37790
- * @param {string} helmId Helm ID
37791
- * @param {*} [options] Override http request option.
37792
- * @throws {RequiredError}
37793
- */
37794
- getDefaultValues: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37795
- // verify required parameter 'helmId' is not null or undefined
37796
- assertParamExists('getDefaultValues', 'helmId', helmId)
37797
- const localVarPath = `/helm/{helmId}/defaultValues`
37798
- .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
37799
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
37800
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37801
- let baseOptions;
37802
- if (configuration) {
37803
- baseOptions = configuration.baseOptions;
37804
- }
37805
-
37806
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
37807
- const localVarHeaderParameter = {} as any;
37808
- const localVarQueryParameter = {} as any;
37809
-
37810
- // authentication ApiKeyAuth required
37811
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37812
-
37813
- // authentication bearerAuth required
37814
- // http bearer authentication required
37815
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
37816
-
37817
-
37818
-
37819
- setSearchParams(localVarUrlObj, localVarQueryParameter);
37820
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37821
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37822
-
37823
- return {
37824
- url: toPathString(localVarUrlObj),
37825
- options: localVarRequestOptions,
37826
- };
37827
- },
37828
37707
  /**
37829
37708
  *
37830
37709
  * @summary Get helm by ID
@@ -37940,17 +37819,6 @@ export const HelmMainCallsApiFp = function(configuration?: Configuration) {
37940
37819
  const localVarAxiosArgs = await localVarAxiosParamCreator.editHelm(helmId, helmRequest, options);
37941
37820
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37942
37821
  },
37943
- /**
37944
- *
37945
- * @summary Display the contents of the values.yaml file
37946
- * @param {string} helmId Helm ID
37947
- * @param {*} [options] Override http request option.
37948
- * @throws {RequiredError}
37949
- */
37950
- async getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
37951
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultValues(helmId, options);
37952
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37953
- },
37954
37822
  /**
37955
37823
  *
37956
37824
  * @summary Get helm by ID
@@ -38004,16 +37872,6 @@ export const HelmMainCallsApiFactory = function (configuration?: Configuration,
38004
37872
  editHelm(helmId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse> {
38005
37873
  return localVarFp.editHelm(helmId, helmRequest, options).then((request) => request(axios, basePath));
38006
37874
  },
38007
- /**
38008
- *
38009
- * @summary Display the contents of the values.yaml file
38010
- * @param {string} helmId Helm ID
38011
- * @param {*} [options] Override http request option.
38012
- * @throws {RequiredError}
38013
- */
38014
- getDefaultValues(helmId: string, options?: any): AxiosPromise<string> {
38015
- return localVarFp.getDefaultValues(helmId, options).then((request) => request(axios, basePath));
38016
- },
38017
37875
  /**
38018
37876
  *
38019
37877
  * @summary Get helm by ID
@@ -38069,18 +37927,6 @@ export class HelmMainCallsApi extends BaseAPI {
38069
37927
  return HelmMainCallsApiFp(this.configuration).editHelm(helmId, helmRequest, options).then((request) => request(this.axios, this.basePath));
38070
37928
  }
38071
37929
 
38072
- /**
38073
- *
38074
- * @summary Display the contents of the values.yaml file
38075
- * @param {string} helmId Helm ID
38076
- * @param {*} [options] Override http request option.
38077
- * @throws {RequiredError}
38078
- * @memberof HelmMainCallsApi
38079
- */
38080
- public getDefaultValues(helmId: string, options?: AxiosRequestConfig) {
38081
- return HelmMainCallsApiFp(this.configuration).getDefaultValues(helmId, options).then((request) => request(this.axios, this.basePath));
38082
- }
38083
-
38084
37930
  /**
38085
37931
  *
38086
37932
  * @summary Get helm by ID
@@ -38670,6 +38516,51 @@ export const HelmsApiAxiosParamCreator = function (configuration?: Configuration
38670
38516
  options: localVarRequestOptions,
38671
38517
  };
38672
38518
  },
38519
+ /**
38520
+ *
38521
+ * @summary Get helm default values
38522
+ * @param {string} environmentId Environment ID
38523
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
38524
+ * @param {*} [options] Override http request option.
38525
+ * @throws {RequiredError}
38526
+ */
38527
+ createHelmDefaultValues: async (environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38528
+ // verify required parameter 'environmentId' is not null or undefined
38529
+ assertParamExists('createHelmDefaultValues', 'environmentId', environmentId)
38530
+ const localVarPath = `/environment/{environmentId}/helmDefaultValues`
38531
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
38532
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38533
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38534
+ let baseOptions;
38535
+ if (configuration) {
38536
+ baseOptions = configuration.baseOptions;
38537
+ }
38538
+
38539
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
38540
+ const localVarHeaderParameter = {} as any;
38541
+ const localVarQueryParameter = {} as any;
38542
+
38543
+ // authentication ApiKeyAuth required
38544
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38545
+
38546
+ // authentication bearerAuth required
38547
+ // http bearer authentication required
38548
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38549
+
38550
+
38551
+
38552
+ localVarHeaderParameter['Content-Type'] = 'application/json';
38553
+
38554
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38555
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38556
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38557
+ localVarRequestOptions.data = serializeDataIfNeeded(helmDefaultValuesRequest, localVarRequestOptions, configuration)
38558
+
38559
+ return {
38560
+ url: toPathString(localVarUrlObj),
38561
+ options: localVarRequestOptions,
38562
+ };
38563
+ },
38673
38564
  /**
38674
38565
  * Returns a list of helms with only their id and status.
38675
38566
  * @summary List all environment helm statuses
@@ -38774,6 +38665,18 @@ export const HelmsApiFp = function(configuration?: Configuration) {
38774
38665
  const localVarAxiosArgs = await localVarAxiosParamCreator.createHelm(environmentId, helmRequest, options);
38775
38666
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38776
38667
  },
38668
+ /**
38669
+ *
38670
+ * @summary Get helm default values
38671
+ * @param {string} environmentId Environment ID
38672
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
38673
+ * @param {*} [options] Override http request option.
38674
+ * @throws {RequiredError}
38675
+ */
38676
+ async createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
38677
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options);
38678
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38679
+ },
38777
38680
  /**
38778
38681
  * Returns a list of helms with only their id and status.
38779
38682
  * @summary List all environment helm statuses
@@ -38817,6 +38720,17 @@ export const HelmsApiFactory = function (configuration?: Configuration, basePath
38817
38720
  createHelm(environmentId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse> {
38818
38721
  return localVarFp.createHelm(environmentId, helmRequest, options).then((request) => request(axios, basePath));
38819
38722
  },
38723
+ /**
38724
+ *
38725
+ * @summary Get helm default values
38726
+ * @param {string} environmentId Environment ID
38727
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
38728
+ * @param {*} [options] Override http request option.
38729
+ * @throws {RequiredError}
38730
+ */
38731
+ createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: any): AxiosPromise<string> {
38732
+ return localVarFp.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(axios, basePath));
38733
+ },
38820
38734
  /**
38821
38735
  * Returns a list of helms with only their id and status.
38822
38736
  * @summary List all environment helm statuses
@@ -38860,6 +38774,19 @@ export class HelmsApi extends BaseAPI {
38860
38774
  return HelmsApiFp(this.configuration).createHelm(environmentId, helmRequest, options).then((request) => request(this.axios, this.basePath));
38861
38775
  }
38862
38776
 
38777
+ /**
38778
+ *
38779
+ * @summary Get helm default values
38780
+ * @param {string} environmentId Environment ID
38781
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
38782
+ * @param {*} [options] Override http request option.
38783
+ * @throws {RequiredError}
38784
+ * @memberof HelmsApi
38785
+ */
38786
+ public createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig) {
38787
+ return HelmsApiFp(this.configuration).createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(this.axios, this.basePath));
38788
+ }
38789
+
38863
38790
  /**
38864
38791
  * Returns a list of helms with only their id and status.
38865
38792
  * @summary List all environment helm statuses
package/dist/api.d.ts CHANGED
@@ -7149,99 +7149,6 @@ export interface EnvironmentVariableResponseList {
7149
7149
  */
7150
7150
  'results'?: Array<EnvironmentVariable>;
7151
7151
  }
7152
- /**
7153
- *
7154
- * @export
7155
- * @interface Event
7156
- */
7157
- export interface Event {
7158
- /**
7159
- *
7160
- * @type {string}
7161
- * @memberof Event
7162
- */
7163
- 'id': string;
7164
- /**
7165
- *
7166
- * @type {string}
7167
- * @memberof Event
7168
- */
7169
- 'created_at': string;
7170
- /**
7171
- *
7172
- * @type {string}
7173
- * @memberof Event
7174
- */
7175
- 'updated_at'?: string;
7176
- /**
7177
- *
7178
- * @type {User}
7179
- * @memberof Event
7180
- */
7181
- 'user'?: User;
7182
- /**
7183
- *
7184
- * @type {Commit}
7185
- * @memberof Event
7186
- */
7187
- 'commit'?: Commit | null;
7188
- /**
7189
- *
7190
- * @type {Status}
7191
- * @memberof Event
7192
- */
7193
- 'status'?: Status;
7194
- /**
7195
- * DRAFT - we have to specify here all the possible events
7196
- * @type {string}
7197
- * @memberof Event
7198
- */
7199
- 'type'?: string;
7200
- /**
7201
- *
7202
- * @type {ReferenceObject}
7203
- * @memberof Event
7204
- */
7205
- 'log'?: ReferenceObject;
7206
- }
7207
- /**
7208
- *
7209
- * @export
7210
- * @interface EventPaginatedResponseList
7211
- */
7212
- export interface EventPaginatedResponseList {
7213
- /**
7214
- *
7215
- * @type {number}
7216
- * @memberof EventPaginatedResponseList
7217
- */
7218
- 'page': number;
7219
- /**
7220
- *
7221
- * @type {number}
7222
- * @memberof EventPaginatedResponseList
7223
- */
7224
- 'page_size': number;
7225
- /**
7226
- *
7227
- * @type {Array<Event>}
7228
- * @memberof EventPaginatedResponseList
7229
- */
7230
- 'results'?: Array<Event>;
7231
- }
7232
- /**
7233
- *
7234
- * @export
7235
- * @interface EventResponseList
7236
- */
7237
- export interface EventResponseList {
7238
- /**
7239
- *
7240
- * @type {Array<Event>}
7241
- * @memberof EventResponseList
7242
- */
7243
- 'results'?: Array<Event>;
7244
- }
7245
7152
  /**
7246
7153
  *
7247
7154
  * @export
@@ -7607,6 +7514,19 @@ export interface Healthcheck {
7607
7514
  */
7608
7515
  'liveness_probe'?: Probe | null;
7609
7516
  }
7517
+ /**
7518
+ *
7519
+ * @export
7520
+ * @interface HelmDefaultValuesRequest
7521
+ */
7522
+ export interface HelmDefaultValuesRequest {
7523
+ /**
7524
+ *
7525
+ * @type {HelmRequestAllOfSource}
7526
+ * @memberof HelmDefaultValuesRequest
7527
+ */
7528
+ 'source': HelmRequestAllOfSource;
7529
+ }
7610
7530
  /**
7611
7531
  *
7612
7532
  * @export
@@ -24822,14 +24742,6 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
24822
24742
  * @throws {RequiredError}
24823
24743
  */
24824
24744
  editHelm: (helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24825
- /**
24826
- *
24827
- * @summary Display the contents of the values.yaml file
24828
- * @param {string} helmId Helm ID
24829
- * @param {*} [options] Override http request option.
24830
- * @throws {RequiredError}
24831
- */
24832
- getDefaultValues: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24833
24745
  /**
24834
24746
  *
24835
24747
  * @summary Get helm by ID
@@ -24869,14 +24781,6 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
24869
24781
  * @throws {RequiredError}
24870
24782
  */
24871
24783
  editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
24872
- /**
24873
- *
24874
- * @summary Display the contents of the values.yaml file
24875
- * @param {string} helmId Helm ID
24876
- * @param {*} [options] Override http request option.
24877
- * @throws {RequiredError}
24878
- */
24879
- getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
24880
24784
  /**
24881
24785
  *
24882
24786
  * @summary Get helm by ID
@@ -24916,14 +24820,6 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
24916
24820
  * @throws {RequiredError}
24917
24821
  */
24918
24822
  editHelm(helmId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse>;
24919
- /**
24920
- *
24921
- * @summary Display the contents of the values.yaml file
24922
- * @param {string} helmId Helm ID
24923
- * @param {*} [options] Override http request option.
24924
- * @throws {RequiredError}
24925
- */
24926
- getDefaultValues(helmId: string, options?: any): AxiosPromise<string>;
24927
24823
  /**
24928
24824
  *
24929
24825
  * @summary Get helm by ID
@@ -24967,15 +24863,6 @@ export declare class HelmMainCallsApi extends BaseAPI {
24967
24863
  * @memberof HelmMainCallsApi
24968
24864
  */
24969
24865
  editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
24970
- /**
24971
- *
24972
- * @summary Display the contents of the values.yaml file
24973
- * @param {string} helmId Helm ID
24974
- * @param {*} [options] Override http request option.
24975
- * @throws {RequiredError}
24976
- * @memberof HelmMainCallsApi
24977
- */
24978
- getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
24979
24866
  /**
24980
24867
  *
24981
24868
  * @summary Get helm by ID
@@ -25249,6 +25136,15 @@ export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration)
25249
25136
  * @throws {RequiredError}
25250
25137
  */
25251
25138
  createHelm: (environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25139
+ /**
25140
+ *
25141
+ * @summary Get helm default values
25142
+ * @param {string} environmentId Environment ID
25143
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
25144
+ * @param {*} [options] Override http request option.
25145
+ * @throws {RequiredError}
25146
+ */
25147
+ createHelmDefaultValues: (environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25252
25148
  /**
25253
25149
  * Returns a list of helms with only their id and status.
25254
25150
  * @summary List all environment helm statuses
@@ -25280,6 +25176,15 @@ export declare const HelmsApiFp: (configuration?: Configuration) => {
25280
25176
  * @throws {RequiredError}
25281
25177
  */
25282
25178
  createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
25179
+ /**
25180
+ *
25181
+ * @summary Get helm default values
25182
+ * @param {string} environmentId Environment ID
25183
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
25184
+ * @param {*} [options] Override http request option.
25185
+ * @throws {RequiredError}
25186
+ */
25187
+ createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
25283
25188
  /**
25284
25189
  * Returns a list of helms with only their id and status.
25285
25190
  * @summary List all environment helm statuses
@@ -25311,6 +25216,15 @@ export declare const HelmsApiFactory: (configuration?: Configuration, basePath?:
25311
25216
  * @throws {RequiredError}
25312
25217
  */
25313
25218
  createHelm(environmentId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse>;
25219
+ /**
25220
+ *
25221
+ * @summary Get helm default values
25222
+ * @param {string} environmentId Environment ID
25223
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
25224
+ * @param {*} [options] Override http request option.
25225
+ * @throws {RequiredError}
25226
+ */
25227
+ createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: any): AxiosPromise<string>;
25314
25228
  /**
25315
25229
  * Returns a list of helms with only their id and status.
25316
25230
  * @summary List all environment helm statuses
@@ -25345,6 +25259,16 @@ export declare class HelmsApi extends BaseAPI {
25345
25259
  * @memberof HelmsApi
25346
25260
  */
25347
25261
  createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
25262
+ /**
25263
+ *
25264
+ * @summary Get helm default values
25265
+ * @param {string} environmentId Environment ID
25266
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
25267
+ * @param {*} [options] Override http request option.
25268
+ * @throws {RequiredError}
25269
+ * @memberof HelmsApi
25270
+ */
25271
+ createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
25348
25272
  /**
25349
25273
  * Returns a list of helms with only their id and status.
25350
25274
  * @summary List all environment helm statuses
package/dist/api.js CHANGED
@@ -22515,40 +22515,6 @@ const HelmMainCallsApiAxiosParamCreator = function (configuration) {
22515
22515
  options: localVarRequestOptions,
22516
22516
  };
22517
22517
  }),
22518
- /**
22519
- *
22520
- * @summary Display the contents of the values.yaml file
22521
- * @param {string} helmId Helm ID
22522
- * @param {*} [options] Override http request option.
22523
- * @throws {RequiredError}
22524
- */
22525
- getDefaultValues: (helmId, options = {}) => __awaiter(this, void 0, void 0, function* () {
22526
- // verify required parameter 'helmId' is not null or undefined
22527
- (0, common_1.assertParamExists)('getDefaultValues', 'helmId', helmId);
22528
- const localVarPath = `/helm/{helmId}/defaultValues`
22529
- .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
22530
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
22531
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
22532
- let baseOptions;
22533
- if (configuration) {
22534
- baseOptions = configuration.baseOptions;
22535
- }
22536
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
22537
- const localVarHeaderParameter = {};
22538
- const localVarQueryParameter = {};
22539
- // authentication ApiKeyAuth required
22540
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
22541
- // authentication bearerAuth required
22542
- // http bearer authentication required
22543
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
22544
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
22545
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22546
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
22547
- return {
22548
- url: (0, common_1.toPathString)(localVarUrlObj),
22549
- options: localVarRequestOptions,
22550
- };
22551
- }),
22552
22518
  /**
22553
22519
  *
22554
22520
  * @summary Get helm by ID
@@ -22654,19 +22620,6 @@ const HelmMainCallsApiFp = function (configuration) {
22654
22620
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22655
22621
  });
22656
22622
  },
22657
- /**
22658
- *
22659
- * @summary Display the contents of the values.yaml file
22660
- * @param {string} helmId Helm ID
22661
- * @param {*} [options] Override http request option.
22662
- * @throws {RequiredError}
22663
- */
22664
- getDefaultValues(helmId, options) {
22665
- return __awaiter(this, void 0, void 0, function* () {
22666
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultValues(helmId, options);
22667
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22668
- });
22669
- },
22670
22623
  /**
22671
22624
  *
22672
22625
  * @summary Get helm by ID
@@ -22724,16 +22677,6 @@ const HelmMainCallsApiFactory = function (configuration, basePath, axios) {
22724
22677
  editHelm(helmId, helmRequest, options) {
22725
22678
  return localVarFp.editHelm(helmId, helmRequest, options).then((request) => request(axios, basePath));
22726
22679
  },
22727
- /**
22728
- *
22729
- * @summary Display the contents of the values.yaml file
22730
- * @param {string} helmId Helm ID
22731
- * @param {*} [options] Override http request option.
22732
- * @throws {RequiredError}
22733
- */
22734
- getDefaultValues(helmId, options) {
22735
- return localVarFp.getDefaultValues(helmId, options).then((request) => request(axios, basePath));
22736
- },
22737
22680
  /**
22738
22681
  *
22739
22682
  * @summary Get helm by ID
@@ -22787,17 +22730,6 @@ class HelmMainCallsApi extends base_1.BaseAPI {
22787
22730
  editHelm(helmId, helmRequest, options) {
22788
22731
  return (0, exports.HelmMainCallsApiFp)(this.configuration).editHelm(helmId, helmRequest, options).then((request) => request(this.axios, this.basePath));
22789
22732
  }
22790
- /**
22791
- *
22792
- * @summary Display the contents of the values.yaml file
22793
- * @param {string} helmId Helm ID
22794
- * @param {*} [options] Override http request option.
22795
- * @throws {RequiredError}
22796
- * @memberof HelmMainCallsApi
22797
- */
22798
- getDefaultValues(helmId, options) {
22799
- return (0, exports.HelmMainCallsApiFp)(this.configuration).getDefaultValues(helmId, options).then((request) => request(this.axios, this.basePath));
22800
- }
22801
22733
  /**
22802
22734
  *
22803
22735
  * @summary Get helm by ID
@@ -23337,6 +23269,43 @@ const HelmsApiAxiosParamCreator = function (configuration) {
23337
23269
  options: localVarRequestOptions,
23338
23270
  };
23339
23271
  }),
23272
+ /**
23273
+ *
23274
+ * @summary Get helm default values
23275
+ * @param {string} environmentId Environment ID
23276
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
23277
+ * @param {*} [options] Override http request option.
23278
+ * @throws {RequiredError}
23279
+ */
23280
+ createHelmDefaultValues: (environmentId, helmDefaultValuesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
23281
+ // verify required parameter 'environmentId' is not null or undefined
23282
+ (0, common_1.assertParamExists)('createHelmDefaultValues', 'environmentId', environmentId);
23283
+ const localVarPath = `/environment/{environmentId}/helmDefaultValues`
23284
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
23285
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23286
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
23287
+ let baseOptions;
23288
+ if (configuration) {
23289
+ baseOptions = configuration.baseOptions;
23290
+ }
23291
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
23292
+ const localVarHeaderParameter = {};
23293
+ const localVarQueryParameter = {};
23294
+ // authentication ApiKeyAuth required
23295
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
23296
+ // authentication bearerAuth required
23297
+ // http bearer authentication required
23298
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
23299
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23300
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
23301
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23302
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23303
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(helmDefaultValuesRequest, localVarRequestOptions, configuration);
23304
+ return {
23305
+ url: (0, common_1.toPathString)(localVarUrlObj),
23306
+ options: localVarRequestOptions,
23307
+ };
23308
+ }),
23340
23309
  /**
23341
23310
  * Returns a list of helms with only their id and status.
23342
23311
  * @summary List all environment helm statuses
@@ -23429,6 +23398,20 @@ const HelmsApiFp = function (configuration) {
23429
23398
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
23430
23399
  });
23431
23400
  },
23401
+ /**
23402
+ *
23403
+ * @summary Get helm default values
23404
+ * @param {string} environmentId Environment ID
23405
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
23406
+ * @param {*} [options] Override http request option.
23407
+ * @throws {RequiredError}
23408
+ */
23409
+ createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
23410
+ return __awaiter(this, void 0, void 0, function* () {
23411
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options);
23412
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
23413
+ });
23414
+ },
23432
23415
  /**
23433
23416
  * Returns a list of helms with only their id and status.
23434
23417
  * @summary List all environment helm statuses
@@ -23476,6 +23459,17 @@ const HelmsApiFactory = function (configuration, basePath, axios) {
23476
23459
  createHelm(environmentId, helmRequest, options) {
23477
23460
  return localVarFp.createHelm(environmentId, helmRequest, options).then((request) => request(axios, basePath));
23478
23461
  },
23462
+ /**
23463
+ *
23464
+ * @summary Get helm default values
23465
+ * @param {string} environmentId Environment ID
23466
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
23467
+ * @param {*} [options] Override http request option.
23468
+ * @throws {RequiredError}
23469
+ */
23470
+ createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
23471
+ return localVarFp.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(axios, basePath));
23472
+ },
23479
23473
  /**
23480
23474
  * Returns a list of helms with only their id and status.
23481
23475
  * @summary List all environment helm statuses
@@ -23518,6 +23512,18 @@ class HelmsApi extends base_1.BaseAPI {
23518
23512
  createHelm(environmentId, helmRequest, options) {
23519
23513
  return (0, exports.HelmsApiFp)(this.configuration).createHelm(environmentId, helmRequest, options).then((request) => request(this.axios, this.basePath));
23520
23514
  }
23515
+ /**
23516
+ *
23517
+ * @summary Get helm default values
23518
+ * @param {string} environmentId Environment ID
23519
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
23520
+ * @param {*} [options] Override http request option.
23521
+ * @throws {RequiredError}
23522
+ * @memberof HelmsApi
23523
+ */
23524
+ createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
23525
+ return (0, exports.HelmsApiFp)(this.configuration).createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(this.axios, this.basePath));
23526
+ }
23521
23527
  /**
23522
23528
  * Returns a list of helms with only their id and status.
23523
23529
  * @summary List all environment helm statuses
package/dist/esm/api.d.ts CHANGED
@@ -7149,99 +7149,6 @@ export interface EnvironmentVariableResponseList {
7149
7149
  */
7150
7150
  'results'?: Array<EnvironmentVariable>;
7151
7151
  }
7152
- /**
7153
- *
7154
- * @export
7155
- * @interface Event
7156
- */
7157
- export interface Event {
7158
- /**
7159
- *
7160
- * @type {string}
7161
- * @memberof Event
7162
- */
7163
- 'id': string;
7164
- /**
7165
- *
7166
- * @type {string}
7167
- * @memberof Event
7168
- */
7169
- 'created_at': string;
7170
- /**
7171
- *
7172
- * @type {string}
7173
- * @memberof Event
7174
- */
7175
- 'updated_at'?: string;
7176
- /**
7177
- *
7178
- * @type {User}
7179
- * @memberof Event
7180
- */
7181
- 'user'?: User;
7182
- /**
7183
- *
7184
- * @type {Commit}
7185
- * @memberof Event
7186
- */
7187
- 'commit'?: Commit | null;
7188
- /**
7189
- *
7190
- * @type {Status}
7191
- * @memberof Event
7192
- */
7193
- 'status'?: Status;
7194
- /**
7195
- * DRAFT - we have to specify here all the possible events
7196
- * @type {string}
7197
- * @memberof Event
7198
- */
7199
- 'type'?: string;
7200
- /**
7201
- *
7202
- * @type {ReferenceObject}
7203
- * @memberof Event
7204
- */
7205
- 'log'?: ReferenceObject;
7206
- }
7207
- /**
7208
- *
7209
- * @export
7210
- * @interface EventPaginatedResponseList
7211
- */
7212
- export interface EventPaginatedResponseList {
7213
- /**
7214
- *
7215
- * @type {number}
7216
- * @memberof EventPaginatedResponseList
7217
- */
7218
- 'page': number;
7219
- /**
7220
- *
7221
- * @type {number}
7222
- * @memberof EventPaginatedResponseList
7223
- */
7224
- 'page_size': number;
7225
- /**
7226
- *
7227
- * @type {Array<Event>}
7228
- * @memberof EventPaginatedResponseList
7229
- */
7230
- 'results'?: Array<Event>;
7231
- }
7232
- /**
7233
- *
7234
- * @export
7235
- * @interface EventResponseList
7236
- */
7237
- export interface EventResponseList {
7238
- /**
7239
- *
7240
- * @type {Array<Event>}
7241
- * @memberof EventResponseList
7242
- */
7243
- 'results'?: Array<Event>;
7244
- }
7245
7152
  /**
7246
7153
  *
7247
7154
  * @export
@@ -7607,6 +7514,19 @@ export interface Healthcheck {
7607
7514
  */
7608
7515
  'liveness_probe'?: Probe | null;
7609
7516
  }
7517
+ /**
7518
+ *
7519
+ * @export
7520
+ * @interface HelmDefaultValuesRequest
7521
+ */
7522
+ export interface HelmDefaultValuesRequest {
7523
+ /**
7524
+ *
7525
+ * @type {HelmRequestAllOfSource}
7526
+ * @memberof HelmDefaultValuesRequest
7527
+ */
7528
+ 'source': HelmRequestAllOfSource;
7529
+ }
7610
7530
  /**
7611
7531
  *
7612
7532
  * @export
@@ -24822,14 +24742,6 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
24822
24742
  * @throws {RequiredError}
24823
24743
  */
24824
24744
  editHelm: (helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24825
- /**
24826
- *
24827
- * @summary Display the contents of the values.yaml file
24828
- * @param {string} helmId Helm ID
24829
- * @param {*} [options] Override http request option.
24830
- * @throws {RequiredError}
24831
- */
24832
- getDefaultValues: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24833
24745
  /**
24834
24746
  *
24835
24747
  * @summary Get helm by ID
@@ -24869,14 +24781,6 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
24869
24781
  * @throws {RequiredError}
24870
24782
  */
24871
24783
  editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
24872
- /**
24873
- *
24874
- * @summary Display the contents of the values.yaml file
24875
- * @param {string} helmId Helm ID
24876
- * @param {*} [options] Override http request option.
24877
- * @throws {RequiredError}
24878
- */
24879
- getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
24880
24784
  /**
24881
24785
  *
24882
24786
  * @summary Get helm by ID
@@ -24916,14 +24820,6 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
24916
24820
  * @throws {RequiredError}
24917
24821
  */
24918
24822
  editHelm(helmId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse>;
24919
- /**
24920
- *
24921
- * @summary Display the contents of the values.yaml file
24922
- * @param {string} helmId Helm ID
24923
- * @param {*} [options] Override http request option.
24924
- * @throws {RequiredError}
24925
- */
24926
- getDefaultValues(helmId: string, options?: any): AxiosPromise<string>;
24927
24823
  /**
24928
24824
  *
24929
24825
  * @summary Get helm by ID
@@ -24967,15 +24863,6 @@ export declare class HelmMainCallsApi extends BaseAPI {
24967
24863
  * @memberof HelmMainCallsApi
24968
24864
  */
24969
24865
  editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
24970
- /**
24971
- *
24972
- * @summary Display the contents of the values.yaml file
24973
- * @param {string} helmId Helm ID
24974
- * @param {*} [options] Override http request option.
24975
- * @throws {RequiredError}
24976
- * @memberof HelmMainCallsApi
24977
- */
24978
- getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
24979
24866
  /**
24980
24867
  *
24981
24868
  * @summary Get helm by ID
@@ -25249,6 +25136,15 @@ export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration)
25249
25136
  * @throws {RequiredError}
25250
25137
  */
25251
25138
  createHelm: (environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25139
+ /**
25140
+ *
25141
+ * @summary Get helm default values
25142
+ * @param {string} environmentId Environment ID
25143
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
25144
+ * @param {*} [options] Override http request option.
25145
+ * @throws {RequiredError}
25146
+ */
25147
+ createHelmDefaultValues: (environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25252
25148
  /**
25253
25149
  * Returns a list of helms with only their id and status.
25254
25150
  * @summary List all environment helm statuses
@@ -25280,6 +25176,15 @@ export declare const HelmsApiFp: (configuration?: Configuration) => {
25280
25176
  * @throws {RequiredError}
25281
25177
  */
25282
25178
  createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
25179
+ /**
25180
+ *
25181
+ * @summary Get helm default values
25182
+ * @param {string} environmentId Environment ID
25183
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
25184
+ * @param {*} [options] Override http request option.
25185
+ * @throws {RequiredError}
25186
+ */
25187
+ createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
25283
25188
  /**
25284
25189
  * Returns a list of helms with only their id and status.
25285
25190
  * @summary List all environment helm statuses
@@ -25311,6 +25216,15 @@ export declare const HelmsApiFactory: (configuration?: Configuration, basePath?:
25311
25216
  * @throws {RequiredError}
25312
25217
  */
25313
25218
  createHelm(environmentId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse>;
25219
+ /**
25220
+ *
25221
+ * @summary Get helm default values
25222
+ * @param {string} environmentId Environment ID
25223
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
25224
+ * @param {*} [options] Override http request option.
25225
+ * @throws {RequiredError}
25226
+ */
25227
+ createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: any): AxiosPromise<string>;
25314
25228
  /**
25315
25229
  * Returns a list of helms with only their id and status.
25316
25230
  * @summary List all environment helm statuses
@@ -25345,6 +25259,16 @@ export declare class HelmsApi extends BaseAPI {
25345
25259
  * @memberof HelmsApi
25346
25260
  */
25347
25261
  createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
25262
+ /**
25263
+ *
25264
+ * @summary Get helm default values
25265
+ * @param {string} environmentId Environment ID
25266
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
25267
+ * @param {*} [options] Override http request option.
25268
+ * @throws {RequiredError}
25269
+ * @memberof HelmsApi
25270
+ */
25271
+ createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
25348
25272
  /**
25349
25273
  * Returns a list of helms with only their id and status.
25350
25274
  * @summary List all environment helm statuses
package/dist/esm/api.js CHANGED
@@ -22297,40 +22297,6 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration) {
22297
22297
  options: localVarRequestOptions,
22298
22298
  };
22299
22299
  }),
22300
- /**
22301
- *
22302
- * @summary Display the contents of the values.yaml file
22303
- * @param {string} helmId Helm ID
22304
- * @param {*} [options] Override http request option.
22305
- * @throws {RequiredError}
22306
- */
22307
- getDefaultValues: (helmId, options = {}) => __awaiter(this, void 0, void 0, function* () {
22308
- // verify required parameter 'helmId' is not null or undefined
22309
- assertParamExists('getDefaultValues', 'helmId', helmId);
22310
- const localVarPath = `/helm/{helmId}/defaultValues`
22311
- .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
22312
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
22313
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22314
- let baseOptions;
22315
- if (configuration) {
22316
- baseOptions = configuration.baseOptions;
22317
- }
22318
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
22319
- const localVarHeaderParameter = {};
22320
- const localVarQueryParameter = {};
22321
- // authentication ApiKeyAuth required
22322
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
22323
- // authentication bearerAuth required
22324
- // http bearer authentication required
22325
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
22326
- setSearchParams(localVarUrlObj, localVarQueryParameter);
22327
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22328
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
22329
- return {
22330
- url: toPathString(localVarUrlObj),
22331
- options: localVarRequestOptions,
22332
- };
22333
- }),
22334
22300
  /**
22335
22301
  *
22336
22302
  * @summary Get helm by ID
@@ -22435,19 +22401,6 @@ export const HelmMainCallsApiFp = function (configuration) {
22435
22401
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22436
22402
  });
22437
22403
  },
22438
- /**
22439
- *
22440
- * @summary Display the contents of the values.yaml file
22441
- * @param {string} helmId Helm ID
22442
- * @param {*} [options] Override http request option.
22443
- * @throws {RequiredError}
22444
- */
22445
- getDefaultValues(helmId, options) {
22446
- return __awaiter(this, void 0, void 0, function* () {
22447
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultValues(helmId, options);
22448
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22449
- });
22450
- },
22451
22404
  /**
22452
22405
  *
22453
22406
  * @summary Get helm by ID
@@ -22504,16 +22457,6 @@ export const HelmMainCallsApiFactory = function (configuration, basePath, axios)
22504
22457
  editHelm(helmId, helmRequest, options) {
22505
22458
  return localVarFp.editHelm(helmId, helmRequest, options).then((request) => request(axios, basePath));
22506
22459
  },
22507
- /**
22508
- *
22509
- * @summary Display the contents of the values.yaml file
22510
- * @param {string} helmId Helm ID
22511
- * @param {*} [options] Override http request option.
22512
- * @throws {RequiredError}
22513
- */
22514
- getDefaultValues(helmId, options) {
22515
- return localVarFp.getDefaultValues(helmId, options).then((request) => request(axios, basePath));
22516
- },
22517
22460
  /**
22518
22461
  *
22519
22462
  * @summary Get helm by ID
@@ -22566,17 +22509,6 @@ export class HelmMainCallsApi extends BaseAPI {
22566
22509
  editHelm(helmId, helmRequest, options) {
22567
22510
  return HelmMainCallsApiFp(this.configuration).editHelm(helmId, helmRequest, options).then((request) => request(this.axios, this.basePath));
22568
22511
  }
22569
- /**
22570
- *
22571
- * @summary Display the contents of the values.yaml file
22572
- * @param {string} helmId Helm ID
22573
- * @param {*} [options] Override http request option.
22574
- * @throws {RequiredError}
22575
- * @memberof HelmMainCallsApi
22576
- */
22577
- getDefaultValues(helmId, options) {
22578
- return HelmMainCallsApiFp(this.configuration).getDefaultValues(helmId, options).then((request) => request(this.axios, this.basePath));
22579
- }
22580
22512
  /**
22581
22513
  *
22582
22514
  * @summary Get helm by ID
@@ -23111,6 +23043,43 @@ export const HelmsApiAxiosParamCreator = function (configuration) {
23111
23043
  options: localVarRequestOptions,
23112
23044
  };
23113
23045
  }),
23046
+ /**
23047
+ *
23048
+ * @summary Get helm default values
23049
+ * @param {string} environmentId Environment ID
23050
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
23051
+ * @param {*} [options] Override http request option.
23052
+ * @throws {RequiredError}
23053
+ */
23054
+ createHelmDefaultValues: (environmentId, helmDefaultValuesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
23055
+ // verify required parameter 'environmentId' is not null or undefined
23056
+ assertParamExists('createHelmDefaultValues', 'environmentId', environmentId);
23057
+ const localVarPath = `/environment/{environmentId}/helmDefaultValues`
23058
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
23059
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23060
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23061
+ let baseOptions;
23062
+ if (configuration) {
23063
+ baseOptions = configuration.baseOptions;
23064
+ }
23065
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
23066
+ const localVarHeaderParameter = {};
23067
+ const localVarQueryParameter = {};
23068
+ // authentication ApiKeyAuth required
23069
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
23070
+ // authentication bearerAuth required
23071
+ // http bearer authentication required
23072
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
23073
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23074
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23075
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23076
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23077
+ localVarRequestOptions.data = serializeDataIfNeeded(helmDefaultValuesRequest, localVarRequestOptions, configuration);
23078
+ return {
23079
+ url: toPathString(localVarUrlObj),
23080
+ options: localVarRequestOptions,
23081
+ };
23082
+ }),
23114
23083
  /**
23115
23084
  * Returns a list of helms with only their id and status.
23116
23085
  * @summary List all environment helm statuses
@@ -23202,6 +23171,20 @@ export const HelmsApiFp = function (configuration) {
23202
23171
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23203
23172
  });
23204
23173
  },
23174
+ /**
23175
+ *
23176
+ * @summary Get helm default values
23177
+ * @param {string} environmentId Environment ID
23178
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
23179
+ * @param {*} [options] Override http request option.
23180
+ * @throws {RequiredError}
23181
+ */
23182
+ createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
23183
+ return __awaiter(this, void 0, void 0, function* () {
23184
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options);
23185
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23186
+ });
23187
+ },
23205
23188
  /**
23206
23189
  * Returns a list of helms with only their id and status.
23207
23190
  * @summary List all environment helm statuses
@@ -23248,6 +23231,17 @@ export const HelmsApiFactory = function (configuration, basePath, axios) {
23248
23231
  createHelm(environmentId, helmRequest, options) {
23249
23232
  return localVarFp.createHelm(environmentId, helmRequest, options).then((request) => request(axios, basePath));
23250
23233
  },
23234
+ /**
23235
+ *
23236
+ * @summary Get helm default values
23237
+ * @param {string} environmentId Environment ID
23238
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
23239
+ * @param {*} [options] Override http request option.
23240
+ * @throws {RequiredError}
23241
+ */
23242
+ createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
23243
+ return localVarFp.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(axios, basePath));
23244
+ },
23251
23245
  /**
23252
23246
  * Returns a list of helms with only their id and status.
23253
23247
  * @summary List all environment helm statuses
@@ -23289,6 +23283,18 @@ export class HelmsApi extends BaseAPI {
23289
23283
  createHelm(environmentId, helmRequest, options) {
23290
23284
  return HelmsApiFp(this.configuration).createHelm(environmentId, helmRequest, options).then((request) => request(this.axios, this.basePath));
23291
23285
  }
23286
+ /**
23287
+ *
23288
+ * @summary Get helm default values
23289
+ * @param {string} environmentId Environment ID
23290
+ * @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
23291
+ * @param {*} [options] Override http request option.
23292
+ * @throws {RequiredError}
23293
+ * @memberof HelmsApi
23294
+ */
23295
+ createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
23296
+ return HelmsApiFp(this.configuration).createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(this.axios, this.basePath));
23297
+ }
23292
23298
  /**
23293
23299
  * Returns a list of helms with only their id and status.
23294
23300
  * @summary List all environment helm statuses
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.299",
3
+ "version": "v1.1.301",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {