qovery-typescript-axios 1.1.170 → 1.1.172

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
@@ -7690,7 +7690,7 @@ export interface EnvironmentVariableEditRequest {
7690
7690
  * @type {string}
7691
7691
  * @memberof EnvironmentVariableEditRequest
7692
7692
  */
7693
- 'value': string;
7693
+ 'value'?: string;
7694
7694
  }
7695
7695
  /**
7696
7696
  *
@@ -12394,7 +12394,7 @@ export interface SecretEditRequest {
12394
12394
  * @type {string}
12395
12395
  * @memberof SecretEditRequest
12396
12396
  */
12397
- 'value': string;
12397
+ 'value'?: string;
12398
12398
  /**
12399
12399
  *
12400
12400
  * @type {string}
@@ -12456,7 +12456,7 @@ export interface SecretRequest {
12456
12456
  * @type {string}
12457
12457
  * @memberof SecretRequest
12458
12458
  */
12459
- 'value': string;
12459
+ 'value'?: string;
12460
12460
  /**
12461
12461
  * should be set for file only. variable mount path make secret a file (where file should be mounted).
12462
12462
  * @type {string}
@@ -13446,13 +13446,13 @@ export interface VariableAliasRequest {
13446
13446
  * @type {APIVariableScopeEnum}
13447
13447
  * @memberof VariableAliasRequest
13448
13448
  */
13449
- 'aliasScope': APIVariableScopeEnum;
13449
+ 'alias_scope': APIVariableScopeEnum;
13450
13450
  /**
13451
13451
  *
13452
13452
  * @type {string}
13453
13453
  * @memberof VariableAliasRequest
13454
13454
  */
13455
- 'aliasParentId': string;
13455
+ 'alias_parent_id': string;
13456
13456
  }
13457
13457
  /**
13458
13458
  *
@@ -13597,6 +13597,31 @@ export interface VariableOverride {
13597
13597
  */
13598
13598
  'variable_type': APIVariableTypeEnum;
13599
13599
  }
13600
+ /**
13601
+ *
13602
+ * @export
13603
+ * @interface VariableOverrideRequest
13604
+ */
13605
+ export interface VariableOverrideRequest {
13606
+ /**
13607
+ *
13608
+ * @type {string}
13609
+ * @memberof VariableOverrideRequest
13610
+ */
13611
+ 'value': string;
13612
+ /**
13613
+ *
13614
+ * @type {APIVariableScopeEnum}
13615
+ * @memberof VariableOverrideRequest
13616
+ */
13617
+ 'alias_scope': APIVariableScopeEnum;
13618
+ /**
13619
+ *
13620
+ * @type {string}
13621
+ * @memberof VariableOverrideRequest
13622
+ */
13623
+ 'alias_parent_id': string;
13624
+ }
13600
13625
  /**
13601
13626
  *
13602
13627
  * @export
@@ -43729,7 +43754,7 @@ export const VariableMainCallsApiAxiosParamCreator = function (configuration?: C
43729
43754
  return {
43730
43755
  /**
43731
43756
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
43732
- * @summary WIP: Create a variable alias
43757
+ * @summary Create a variable alias
43733
43758
  * @param {string} variableId Variable ID
43734
43759
  * @param {VariableAliasRequest} [variableAliasRequest]
43735
43760
  * @param {*} [options] Override http request option.
@@ -43764,6 +43789,48 @@ export const VariableMainCallsApiAxiosParamCreator = function (configuration?: C
43764
43789
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
43765
43790
  localVarRequestOptions.data = serializeDataIfNeeded(variableAliasRequest, localVarRequestOptions, configuration)
43766
43791
 
43792
+ return {
43793
+ url: toPathString(localVarUrlObj),
43794
+ options: localVarRequestOptions,
43795
+ };
43796
+ },
43797
+ /**
43798
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
43799
+ * @summary Create a variable override
43800
+ * @param {string} variableId Variable ID
43801
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
43802
+ * @param {*} [options] Override http request option.
43803
+ * @throws {RequiredError}
43804
+ */
43805
+ createVariableOverride: async (variableId: string, variableOverrideRequest?: VariableOverrideRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43806
+ // verify required parameter 'variableId' is not null or undefined
43807
+ assertParamExists('createVariableOverride', 'variableId', variableId)
43808
+ const localVarPath = `/variable/{variableId}/override`
43809
+ .replace(`{${"variableId"}}`, encodeURIComponent(String(variableId)));
43810
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43811
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43812
+ let baseOptions;
43813
+ if (configuration) {
43814
+ baseOptions = configuration.baseOptions;
43815
+ }
43816
+
43817
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
43818
+ const localVarHeaderParameter = {} as any;
43819
+ const localVarQueryParameter = {} as any;
43820
+
43821
+ // authentication bearerAuth required
43822
+ // http bearer authentication required
43823
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
43824
+
43825
+
43826
+
43827
+ localVarHeaderParameter['Content-Type'] = 'application/json';
43828
+
43829
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
43830
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43831
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
43832
+ localVarRequestOptions.data = serializeDataIfNeeded(variableOverrideRequest, localVarRequestOptions, configuration)
43833
+
43767
43834
  return {
43768
43835
  url: toPathString(localVarUrlObj),
43769
43836
  options: localVarRequestOptions,
@@ -43781,7 +43848,7 @@ export const VariableMainCallsApiFp = function(configuration?: Configuration) {
43781
43848
  return {
43782
43849
  /**
43783
43850
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
43784
- * @summary WIP: Create a variable alias
43851
+ * @summary Create a variable alias
43785
43852
  * @param {string} variableId Variable ID
43786
43853
  * @param {VariableAliasRequest} [variableAliasRequest]
43787
43854
  * @param {*} [options] Override http request option.
@@ -43791,6 +43858,18 @@ export const VariableMainCallsApiFp = function(configuration?: Configuration) {
43791
43858
  const localVarAxiosArgs = await localVarAxiosParamCreator.createVariableAlias(variableId, variableAliasRequest, options);
43792
43859
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
43793
43860
  },
43861
+ /**
43862
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
43863
+ * @summary Create a variable override
43864
+ * @param {string} variableId Variable ID
43865
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
43866
+ * @param {*} [options] Override http request option.
43867
+ * @throws {RequiredError}
43868
+ */
43869
+ async createVariableOverride(variableId: string, variableOverrideRequest?: VariableOverrideRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableResponse>> {
43870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createVariableOverride(variableId, variableOverrideRequest, options);
43871
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
43872
+ },
43794
43873
  }
43795
43874
  };
43796
43875
 
@@ -43803,7 +43882,7 @@ export const VariableMainCallsApiFactory = function (configuration?: Configurati
43803
43882
  return {
43804
43883
  /**
43805
43884
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
43806
- * @summary WIP: Create a variable alias
43885
+ * @summary Create a variable alias
43807
43886
  * @param {string} variableId Variable ID
43808
43887
  * @param {VariableAliasRequest} [variableAliasRequest]
43809
43888
  * @param {*} [options] Override http request option.
@@ -43812,6 +43891,17 @@ export const VariableMainCallsApiFactory = function (configuration?: Configurati
43812
43891
  createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: any): AxiosPromise<VariableResponse> {
43813
43892
  return localVarFp.createVariableAlias(variableId, variableAliasRequest, options).then((request) => request(axios, basePath));
43814
43893
  },
43894
+ /**
43895
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
43896
+ * @summary Create a variable override
43897
+ * @param {string} variableId Variable ID
43898
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
43899
+ * @param {*} [options] Override http request option.
43900
+ * @throws {RequiredError}
43901
+ */
43902
+ createVariableOverride(variableId: string, variableOverrideRequest?: VariableOverrideRequest, options?: any): AxiosPromise<VariableResponse> {
43903
+ return localVarFp.createVariableOverride(variableId, variableOverrideRequest, options).then((request) => request(axios, basePath));
43904
+ },
43815
43905
  };
43816
43906
  };
43817
43907
 
@@ -43824,7 +43914,7 @@ export const VariableMainCallsApiFactory = function (configuration?: Configurati
43824
43914
  export class VariableMainCallsApi extends BaseAPI {
43825
43915
  /**
43826
43916
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
43827
- * @summary WIP: Create a variable alias
43917
+ * @summary Create a variable alias
43828
43918
  * @param {string} variableId Variable ID
43829
43919
  * @param {VariableAliasRequest} [variableAliasRequest]
43830
43920
  * @param {*} [options] Override http request option.
@@ -43834,6 +43924,19 @@ export class VariableMainCallsApi extends BaseAPI {
43834
43924
  public createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig) {
43835
43925
  return VariableMainCallsApiFp(this.configuration).createVariableAlias(variableId, variableAliasRequest, options).then((request) => request(this.axios, this.basePath));
43836
43926
  }
43927
+
43928
+ /**
43929
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
43930
+ * @summary Create a variable override
43931
+ * @param {string} variableId Variable ID
43932
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
43933
+ * @param {*} [options] Override http request option.
43934
+ * @throws {RequiredError}
43935
+ * @memberof VariableMainCallsApi
43936
+ */
43937
+ public createVariableOverride(variableId: string, variableOverrideRequest?: VariableOverrideRequest, options?: AxiosRequestConfig) {
43938
+ return VariableMainCallsApiFp(this.configuration).createVariableOverride(variableId, variableOverrideRequest, options).then((request) => request(this.axios, this.basePath));
43939
+ }
43837
43940
  }
43838
43941
 
43839
43942
 
package/dist/api.d.ts CHANGED
@@ -7641,7 +7641,7 @@ export interface EnvironmentVariableEditRequest {
7641
7641
  * @type {string}
7642
7642
  * @memberof EnvironmentVariableEditRequest
7643
7643
  */
7644
- 'value': string;
7644
+ 'value'?: string;
7645
7645
  }
7646
7646
  /**
7647
7647
  *
@@ -12303,7 +12303,7 @@ export interface SecretEditRequest {
12303
12303
  * @type {string}
12304
12304
  * @memberof SecretEditRequest
12305
12305
  */
12306
- 'value': string;
12306
+ 'value'?: string;
12307
12307
  /**
12308
12308
  *
12309
12309
  * @type {string}
@@ -12365,7 +12365,7 @@ export interface SecretRequest {
12365
12365
  * @type {string}
12366
12366
  * @memberof SecretRequest
12367
12367
  */
12368
- 'value': string;
12368
+ 'value'?: string;
12369
12369
  /**
12370
12370
  * should be set for file only. variable mount path make secret a file (where file should be mounted).
12371
12371
  * @type {string}
@@ -13341,13 +13341,13 @@ export interface VariableAliasRequest {
13341
13341
  * @type {APIVariableScopeEnum}
13342
13342
  * @memberof VariableAliasRequest
13343
13343
  */
13344
- 'aliasScope': APIVariableScopeEnum;
13344
+ 'alias_scope': APIVariableScopeEnum;
13345
13345
  /**
13346
13346
  *
13347
13347
  * @type {string}
13348
13348
  * @memberof VariableAliasRequest
13349
13349
  */
13350
- 'aliasParentId': string;
13350
+ 'alias_parent_id': string;
13351
13351
  }
13352
13352
  /**
13353
13353
  *
@@ -13492,6 +13492,31 @@ export interface VariableOverride {
13492
13492
  */
13493
13493
  'variable_type': APIVariableTypeEnum;
13494
13494
  }
13495
+ /**
13496
+ *
13497
+ * @export
13498
+ * @interface VariableOverrideRequest
13499
+ */
13500
+ export interface VariableOverrideRequest {
13501
+ /**
13502
+ *
13503
+ * @type {string}
13504
+ * @memberof VariableOverrideRequest
13505
+ */
13506
+ 'value': string;
13507
+ /**
13508
+ *
13509
+ * @type {APIVariableScopeEnum}
13510
+ * @memberof VariableOverrideRequest
13511
+ */
13512
+ 'alias_scope': APIVariableScopeEnum;
13513
+ /**
13514
+ *
13515
+ * @type {string}
13516
+ * @memberof VariableOverrideRequest
13517
+ */
13518
+ 'alias_parent_id': string;
13519
+ }
13495
13520
  /**
13496
13521
  *
13497
13522
  * @export
@@ -28332,13 +28357,22 @@ export declare class UserSignUpApi extends BaseAPI {
28332
28357
  export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
28333
28358
  /**
28334
28359
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
28335
- * @summary WIP: Create a variable alias
28360
+ * @summary Create a variable alias
28336
28361
  * @param {string} variableId Variable ID
28337
28362
  * @param {VariableAliasRequest} [variableAliasRequest]
28338
28363
  * @param {*} [options] Override http request option.
28339
28364
  * @throws {RequiredError}
28340
28365
  */
28341
28366
  createVariableAlias: (variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28367
+ /**
28368
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
28369
+ * @summary Create a variable override
28370
+ * @param {string} variableId Variable ID
28371
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
28372
+ * @param {*} [options] Override http request option.
28373
+ * @throws {RequiredError}
28374
+ */
28375
+ createVariableOverride: (variableId: string, variableOverrideRequest?: VariableOverrideRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28342
28376
  };
28343
28377
  /**
28344
28378
  * VariableMainCallsApi - functional programming interface
@@ -28347,13 +28381,22 @@ export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Con
28347
28381
  export declare const VariableMainCallsApiFp: (configuration?: Configuration) => {
28348
28382
  /**
28349
28383
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
28350
- * @summary WIP: Create a variable alias
28384
+ * @summary Create a variable alias
28351
28385
  * @param {string} variableId Variable ID
28352
28386
  * @param {VariableAliasRequest} [variableAliasRequest]
28353
28387
  * @param {*} [options] Override http request option.
28354
28388
  * @throws {RequiredError}
28355
28389
  */
28356
28390
  createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableResponse>>;
28391
+ /**
28392
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
28393
+ * @summary Create a variable override
28394
+ * @param {string} variableId Variable ID
28395
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
28396
+ * @param {*} [options] Override http request option.
28397
+ * @throws {RequiredError}
28398
+ */
28399
+ createVariableOverride(variableId: string, variableOverrideRequest?: VariableOverrideRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableResponse>>;
28357
28400
  };
28358
28401
  /**
28359
28402
  * VariableMainCallsApi - factory interface
@@ -28362,13 +28405,22 @@ export declare const VariableMainCallsApiFp: (configuration?: Configuration) =>
28362
28405
  export declare const VariableMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
28363
28406
  /**
28364
28407
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
28365
- * @summary WIP: Create a variable alias
28408
+ * @summary Create a variable alias
28366
28409
  * @param {string} variableId Variable ID
28367
28410
  * @param {VariableAliasRequest} [variableAliasRequest]
28368
28411
  * @param {*} [options] Override http request option.
28369
28412
  * @throws {RequiredError}
28370
28413
  */
28371
28414
  createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: any): AxiosPromise<VariableResponse>;
28415
+ /**
28416
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
28417
+ * @summary Create a variable override
28418
+ * @param {string} variableId Variable ID
28419
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
28420
+ * @param {*} [options] Override http request option.
28421
+ * @throws {RequiredError}
28422
+ */
28423
+ createVariableOverride(variableId: string, variableOverrideRequest?: VariableOverrideRequest, options?: any): AxiosPromise<VariableResponse>;
28372
28424
  };
28373
28425
  /**
28374
28426
  * VariableMainCallsApi - object-oriented interface
@@ -28379,7 +28431,7 @@ export declare const VariableMainCallsApiFactory: (configuration?: Configuration
28379
28431
  export declare class VariableMainCallsApi extends BaseAPI {
28380
28432
  /**
28381
28433
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
28382
- * @summary WIP: Create a variable alias
28434
+ * @summary Create a variable alias
28383
28435
  * @param {string} variableId Variable ID
28384
28436
  * @param {VariableAliasRequest} [variableAliasRequest]
28385
28437
  * @param {*} [options] Override http request option.
@@ -28387,4 +28439,14 @@ export declare class VariableMainCallsApi extends BaseAPI {
28387
28439
  * @memberof VariableMainCallsApi
28388
28440
  */
28389
28441
  createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VariableResponse>>;
28442
+ /**
28443
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
28444
+ * @summary Create a variable override
28445
+ * @param {string} variableId Variable ID
28446
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
28447
+ * @param {*} [options] Override http request option.
28448
+ * @throws {RequiredError}
28449
+ * @memberof VariableMainCallsApi
28450
+ */
28451
+ createVariableOverride(variableId: string, variableOverrideRequest?: VariableOverrideRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VariableResponse>>;
28390
28452
  }
package/dist/api.js CHANGED
@@ -28725,7 +28725,7 @@ const VariableMainCallsApiAxiosParamCreator = function (configuration) {
28725
28725
  return {
28726
28726
  /**
28727
28727
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
28728
- * @summary WIP: Create a variable alias
28728
+ * @summary Create a variable alias
28729
28729
  * @param {string} variableId Variable ID
28730
28730
  * @param {VariableAliasRequest} [variableAliasRequest]
28731
28731
  * @param {*} [options] Override http request option.
@@ -28758,6 +28758,41 @@ const VariableMainCallsApiAxiosParamCreator = function (configuration) {
28758
28758
  options: localVarRequestOptions,
28759
28759
  };
28760
28760
  }),
28761
+ /**
28762
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
28763
+ * @summary Create a variable override
28764
+ * @param {string} variableId Variable ID
28765
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
28766
+ * @param {*} [options] Override http request option.
28767
+ * @throws {RequiredError}
28768
+ */
28769
+ createVariableOverride: (variableId, variableOverrideRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
28770
+ // verify required parameter 'variableId' is not null or undefined
28771
+ (0, common_1.assertParamExists)('createVariableOverride', 'variableId', variableId);
28772
+ const localVarPath = `/variable/{variableId}/override`
28773
+ .replace(`{${"variableId"}}`, encodeURIComponent(String(variableId)));
28774
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28775
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
28776
+ let baseOptions;
28777
+ if (configuration) {
28778
+ baseOptions = configuration.baseOptions;
28779
+ }
28780
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
28781
+ const localVarHeaderParameter = {};
28782
+ const localVarQueryParameter = {};
28783
+ // authentication bearerAuth required
28784
+ // http bearer authentication required
28785
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
28786
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28787
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
28788
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28789
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
28790
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(variableOverrideRequest, localVarRequestOptions, configuration);
28791
+ return {
28792
+ url: (0, common_1.toPathString)(localVarUrlObj),
28793
+ options: localVarRequestOptions,
28794
+ };
28795
+ }),
28761
28796
  };
28762
28797
  };
28763
28798
  exports.VariableMainCallsApiAxiosParamCreator = VariableMainCallsApiAxiosParamCreator;
@@ -28770,7 +28805,7 @@ const VariableMainCallsApiFp = function (configuration) {
28770
28805
  return {
28771
28806
  /**
28772
28807
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
28773
- * @summary WIP: Create a variable alias
28808
+ * @summary Create a variable alias
28774
28809
  * @param {string} variableId Variable ID
28775
28810
  * @param {VariableAliasRequest} [variableAliasRequest]
28776
28811
  * @param {*} [options] Override http request option.
@@ -28782,6 +28817,20 @@ const VariableMainCallsApiFp = function (configuration) {
28782
28817
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
28783
28818
  });
28784
28819
  },
28820
+ /**
28821
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
28822
+ * @summary Create a variable override
28823
+ * @param {string} variableId Variable ID
28824
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
28825
+ * @param {*} [options] Override http request option.
28826
+ * @throws {RequiredError}
28827
+ */
28828
+ createVariableOverride(variableId, variableOverrideRequest, options) {
28829
+ return __awaiter(this, void 0, void 0, function* () {
28830
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createVariableOverride(variableId, variableOverrideRequest, options);
28831
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
28832
+ });
28833
+ },
28785
28834
  };
28786
28835
  };
28787
28836
  exports.VariableMainCallsApiFp = VariableMainCallsApiFp;
@@ -28794,7 +28843,7 @@ const VariableMainCallsApiFactory = function (configuration, basePath, axios) {
28794
28843
  return {
28795
28844
  /**
28796
28845
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
28797
- * @summary WIP: Create a variable alias
28846
+ * @summary Create a variable alias
28798
28847
  * @param {string} variableId Variable ID
28799
28848
  * @param {VariableAliasRequest} [variableAliasRequest]
28800
28849
  * @param {*} [options] Override http request option.
@@ -28803,6 +28852,17 @@ const VariableMainCallsApiFactory = function (configuration, basePath, axios) {
28803
28852
  createVariableAlias(variableId, variableAliasRequest, options) {
28804
28853
  return localVarFp.createVariableAlias(variableId, variableAliasRequest, options).then((request) => request(axios, basePath));
28805
28854
  },
28855
+ /**
28856
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
28857
+ * @summary Create a variable override
28858
+ * @param {string} variableId Variable ID
28859
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
28860
+ * @param {*} [options] Override http request option.
28861
+ * @throws {RequiredError}
28862
+ */
28863
+ createVariableOverride(variableId, variableOverrideRequest, options) {
28864
+ return localVarFp.createVariableOverride(variableId, variableOverrideRequest, options).then((request) => request(axios, basePath));
28865
+ },
28806
28866
  };
28807
28867
  };
28808
28868
  exports.VariableMainCallsApiFactory = VariableMainCallsApiFactory;
@@ -28815,7 +28875,7 @@ exports.VariableMainCallsApiFactory = VariableMainCallsApiFactory;
28815
28875
  class VariableMainCallsApi extends base_1.BaseAPI {
28816
28876
  /**
28817
28877
  * - Allows you to add an alias at the level defined in the request body on an existing variable having a higher scope, in order to customize its key. - You have to specify a key in the request body and the scope and the parent id of the alias - The system will create a new variable at the requested level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" or in the \"aliased_secret\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
28818
- * @summary WIP: Create a variable alias
28878
+ * @summary Create a variable alias
28819
28879
  * @param {string} variableId Variable ID
28820
28880
  * @param {VariableAliasRequest} [variableAliasRequest]
28821
28881
  * @param {*} [options] Override http request option.
@@ -28825,5 +28885,17 @@ class VariableMainCallsApi extends base_1.BaseAPI {
28825
28885
  createVariableAlias(variableId, variableAliasRequest, options) {
28826
28886
  return (0, exports.VariableMainCallsApiFp)(this.configuration).createVariableAlias(variableId, variableAliasRequest, options).then((request) => request(this.axios, this.basePath));
28827
28887
  }
28888
+ /**
28889
+ * - Allows you to override a variable that has a higher scope. - You have to specify a value in the request body and the scope and the parent id of the variable to alias - The system will create a new environment variable at project level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" or in the \"overridden_secret\" field of the newly created variable
28890
+ * @summary Create a variable override
28891
+ * @param {string} variableId Variable ID
28892
+ * @param {VariableOverrideRequest} [variableOverrideRequest]
28893
+ * @param {*} [options] Override http request option.
28894
+ * @throws {RequiredError}
28895
+ * @memberof VariableMainCallsApi
28896
+ */
28897
+ createVariableOverride(variableId, variableOverrideRequest, options) {
28898
+ return (0, exports.VariableMainCallsApiFp)(this.configuration).createVariableOverride(variableId, variableOverrideRequest, options).then((request) => request(this.axios, this.basePath));
28899
+ }
28828
28900
  }
28829
28901
  exports.VariableMainCallsApi = VariableMainCallsApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.170",
3
+ "version": "v1.1.172",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [