qovery-typescript-axios 1.1.167 → 1.1.169
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 +355 -0
- package/dist/api.d.ts +302 -0
- package/dist/api.js +111 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -13416,6 +13416,74 @@ export interface Value {
|
|
|
13416
13416
|
*/
|
|
13417
13417
|
'value'?: string;
|
|
13418
13418
|
}
|
|
13419
|
+
/**
|
|
13420
|
+
*
|
|
13421
|
+
* @export
|
|
13422
|
+
* @interface VariableAlias
|
|
13423
|
+
*/
|
|
13424
|
+
export interface VariableAlias {
|
|
13425
|
+
/**
|
|
13426
|
+
*
|
|
13427
|
+
* @type {string}
|
|
13428
|
+
* @memberof VariableAlias
|
|
13429
|
+
*/
|
|
13430
|
+
'id': string;
|
|
13431
|
+
/**
|
|
13432
|
+
*
|
|
13433
|
+
* @type {string}
|
|
13434
|
+
* @memberof VariableAlias
|
|
13435
|
+
*/
|
|
13436
|
+
'key': string;
|
|
13437
|
+
/**
|
|
13438
|
+
*
|
|
13439
|
+
* @type {string}
|
|
13440
|
+
* @memberof VariableAlias
|
|
13441
|
+
*/
|
|
13442
|
+
'value'?: string | null;
|
|
13443
|
+
/**
|
|
13444
|
+
*
|
|
13445
|
+
* @type {string}
|
|
13446
|
+
* @memberof VariableAlias
|
|
13447
|
+
*/
|
|
13448
|
+
'mount_path': string;
|
|
13449
|
+
/**
|
|
13450
|
+
*
|
|
13451
|
+
* @type {APIVariableScopeEnum}
|
|
13452
|
+
* @memberof VariableAlias
|
|
13453
|
+
*/
|
|
13454
|
+
'scope': APIVariableScopeEnum;
|
|
13455
|
+
/**
|
|
13456
|
+
*
|
|
13457
|
+
* @type {APIVariableTypeEnum}
|
|
13458
|
+
* @memberof VariableAlias
|
|
13459
|
+
*/
|
|
13460
|
+
'variable_type': APIVariableTypeEnum;
|
|
13461
|
+
}
|
|
13462
|
+
/**
|
|
13463
|
+
*
|
|
13464
|
+
* @export
|
|
13465
|
+
* @interface VariableAliasRequest
|
|
13466
|
+
*/
|
|
13467
|
+
export interface VariableAliasRequest {
|
|
13468
|
+
/**
|
|
13469
|
+
*
|
|
13470
|
+
* @type {string}
|
|
13471
|
+
* @memberof VariableAliasRequest
|
|
13472
|
+
*/
|
|
13473
|
+
'key': string;
|
|
13474
|
+
/**
|
|
13475
|
+
*
|
|
13476
|
+
* @type {APIVariableScopeEnum}
|
|
13477
|
+
* @memberof VariableAliasRequest
|
|
13478
|
+
*/
|
|
13479
|
+
'aliasScope': APIVariableScopeEnum;
|
|
13480
|
+
/**
|
|
13481
|
+
*
|
|
13482
|
+
* @type {string}
|
|
13483
|
+
* @memberof VariableAliasRequest
|
|
13484
|
+
*/
|
|
13485
|
+
'aliasParentId': string;
|
|
13486
|
+
}
|
|
13419
13487
|
/**
|
|
13420
13488
|
*
|
|
13421
13489
|
* @export
|
|
@@ -13516,6 +13584,177 @@ export interface VariableImportSuccessfulImportedVariables {
|
|
|
13516
13584
|
*/
|
|
13517
13585
|
'is_secret': boolean;
|
|
13518
13586
|
}
|
|
13587
|
+
/**
|
|
13588
|
+
*
|
|
13589
|
+
* @export
|
|
13590
|
+
* @interface VariableOverride
|
|
13591
|
+
*/
|
|
13592
|
+
export interface VariableOverride {
|
|
13593
|
+
/**
|
|
13594
|
+
*
|
|
13595
|
+
* @type {string}
|
|
13596
|
+
* @memberof VariableOverride
|
|
13597
|
+
*/
|
|
13598
|
+
'id': string;
|
|
13599
|
+
/**
|
|
13600
|
+
*
|
|
13601
|
+
* @type {string}
|
|
13602
|
+
* @memberof VariableOverride
|
|
13603
|
+
*/
|
|
13604
|
+
'key': string;
|
|
13605
|
+
/**
|
|
13606
|
+
*
|
|
13607
|
+
* @type {string}
|
|
13608
|
+
* @memberof VariableOverride
|
|
13609
|
+
*/
|
|
13610
|
+
'value'?: string | null;
|
|
13611
|
+
/**
|
|
13612
|
+
*
|
|
13613
|
+
* @type {string}
|
|
13614
|
+
* @memberof VariableOverride
|
|
13615
|
+
*/
|
|
13616
|
+
'mount_path': string;
|
|
13617
|
+
/**
|
|
13618
|
+
*
|
|
13619
|
+
* @type {APIVariableScopeEnum}
|
|
13620
|
+
* @memberof VariableOverride
|
|
13621
|
+
*/
|
|
13622
|
+
'scope': APIVariableScopeEnum;
|
|
13623
|
+
/**
|
|
13624
|
+
*
|
|
13625
|
+
* @type {APIVariableTypeEnum}
|
|
13626
|
+
* @memberof VariableOverride
|
|
13627
|
+
*/
|
|
13628
|
+
'variable_type': APIVariableTypeEnum;
|
|
13629
|
+
}
|
|
13630
|
+
/**
|
|
13631
|
+
*
|
|
13632
|
+
* @export
|
|
13633
|
+
* @interface VariableResponse
|
|
13634
|
+
*/
|
|
13635
|
+
export interface VariableResponse {
|
|
13636
|
+
/**
|
|
13637
|
+
*
|
|
13638
|
+
* @type {string}
|
|
13639
|
+
* @memberof VariableResponse
|
|
13640
|
+
*/
|
|
13641
|
+
'id': string;
|
|
13642
|
+
/**
|
|
13643
|
+
*
|
|
13644
|
+
* @type {string}
|
|
13645
|
+
* @memberof VariableResponse
|
|
13646
|
+
*/
|
|
13647
|
+
'created_at': string;
|
|
13648
|
+
/**
|
|
13649
|
+
*
|
|
13650
|
+
* @type {string}
|
|
13651
|
+
* @memberof VariableResponse
|
|
13652
|
+
*/
|
|
13653
|
+
'updated_at'?: string;
|
|
13654
|
+
/**
|
|
13655
|
+
*
|
|
13656
|
+
* @type {VariableOverride}
|
|
13657
|
+
* @memberof VariableResponse
|
|
13658
|
+
*/
|
|
13659
|
+
'overridden_variable'?: VariableOverride;
|
|
13660
|
+
/**
|
|
13661
|
+
*
|
|
13662
|
+
* @type {VariableAlias}
|
|
13663
|
+
* @memberof VariableResponse
|
|
13664
|
+
*/
|
|
13665
|
+
'aliased_variable'?: VariableAlias;
|
|
13666
|
+
/**
|
|
13667
|
+
*
|
|
13668
|
+
* @type {APIVariableScopeEnum}
|
|
13669
|
+
* @memberof VariableResponse
|
|
13670
|
+
*/
|
|
13671
|
+
'scope': APIVariableScopeEnum;
|
|
13672
|
+
/**
|
|
13673
|
+
*
|
|
13674
|
+
* @type {APIVariableTypeEnum}
|
|
13675
|
+
* @memberof VariableResponse
|
|
13676
|
+
*/
|
|
13677
|
+
'variable_type'?: APIVariableTypeEnum;
|
|
13678
|
+
/**
|
|
13679
|
+
* present only for `BUILT_IN` variable
|
|
13680
|
+
* @type {string}
|
|
13681
|
+
* @memberof VariableResponse
|
|
13682
|
+
*/
|
|
13683
|
+
'service_id'?: string;
|
|
13684
|
+
/**
|
|
13685
|
+
* present only for `BUILT_IN` variable
|
|
13686
|
+
* @type {string}
|
|
13687
|
+
* @memberof VariableResponse
|
|
13688
|
+
*/
|
|
13689
|
+
'service_name'?: string;
|
|
13690
|
+
/**
|
|
13691
|
+
*
|
|
13692
|
+
* @type {LinkedServiceTypeEnum}
|
|
13693
|
+
* @memberof VariableResponse
|
|
13694
|
+
*/
|
|
13695
|
+
'service_type'?: LinkedServiceTypeEnum;
|
|
13696
|
+
/**
|
|
13697
|
+
* Entity that created/own the variable (i.e: Qovery, Doppler)
|
|
13698
|
+
* @type {string}
|
|
13699
|
+
* @memberof VariableResponse
|
|
13700
|
+
*/
|
|
13701
|
+
'owned_by'?: string;
|
|
13702
|
+
}
|
|
13703
|
+
/**
|
|
13704
|
+
*
|
|
13705
|
+
* @export
|
|
13706
|
+
* @interface VariableResponseAllOf
|
|
13707
|
+
*/
|
|
13708
|
+
export interface VariableResponseAllOf {
|
|
13709
|
+
/**
|
|
13710
|
+
*
|
|
13711
|
+
* @type {VariableOverride}
|
|
13712
|
+
* @memberof VariableResponseAllOf
|
|
13713
|
+
*/
|
|
13714
|
+
'overridden_variable'?: VariableOverride;
|
|
13715
|
+
/**
|
|
13716
|
+
*
|
|
13717
|
+
* @type {VariableAlias}
|
|
13718
|
+
* @memberof VariableResponseAllOf
|
|
13719
|
+
*/
|
|
13720
|
+
'aliased_variable'?: VariableAlias;
|
|
13721
|
+
/**
|
|
13722
|
+
*
|
|
13723
|
+
* @type {APIVariableScopeEnum}
|
|
13724
|
+
* @memberof VariableResponseAllOf
|
|
13725
|
+
*/
|
|
13726
|
+
'scope': APIVariableScopeEnum;
|
|
13727
|
+
/**
|
|
13728
|
+
*
|
|
13729
|
+
* @type {APIVariableTypeEnum}
|
|
13730
|
+
* @memberof VariableResponseAllOf
|
|
13731
|
+
*/
|
|
13732
|
+
'variable_type'?: APIVariableTypeEnum;
|
|
13733
|
+
/**
|
|
13734
|
+
* present only for `BUILT_IN` variable
|
|
13735
|
+
* @type {string}
|
|
13736
|
+
* @memberof VariableResponseAllOf
|
|
13737
|
+
*/
|
|
13738
|
+
'service_id'?: string;
|
|
13739
|
+
/**
|
|
13740
|
+
* present only for `BUILT_IN` variable
|
|
13741
|
+
* @type {string}
|
|
13742
|
+
* @memberof VariableResponseAllOf
|
|
13743
|
+
*/
|
|
13744
|
+
'service_name'?: string;
|
|
13745
|
+
/**
|
|
13746
|
+
*
|
|
13747
|
+
* @type {LinkedServiceTypeEnum}
|
|
13748
|
+
* @memberof VariableResponseAllOf
|
|
13749
|
+
*/
|
|
13750
|
+
'service_type'?: LinkedServiceTypeEnum;
|
|
13751
|
+
/**
|
|
13752
|
+
* Entity that created/own the variable (i.e: Qovery, Doppler)
|
|
13753
|
+
* @type {string}
|
|
13754
|
+
* @memberof VariableResponseAllOf
|
|
13755
|
+
*/
|
|
13756
|
+
'owned_by'?: string;
|
|
13757
|
+
}
|
|
13519
13758
|
/**
|
|
13520
13759
|
*
|
|
13521
13760
|
* @export
|
|
@@ -43512,3 +43751,119 @@ export class UserSignUpApi extends BaseAPI {
|
|
|
43512
43751
|
}
|
|
43513
43752
|
|
|
43514
43753
|
|
|
43754
|
+
/**
|
|
43755
|
+
* VariableMainCallsApi - axios parameter creator
|
|
43756
|
+
* @export
|
|
43757
|
+
*/
|
|
43758
|
+
export const VariableMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43759
|
+
return {
|
|
43760
|
+
/**
|
|
43761
|
+
* - 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
|
|
43762
|
+
* @summary WIP: Create a variable alias
|
|
43763
|
+
* @param {string} variableId Variable ID
|
|
43764
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
43765
|
+
* @param {*} [options] Override http request option.
|
|
43766
|
+
* @throws {RequiredError}
|
|
43767
|
+
*/
|
|
43768
|
+
createVariableAlias: async (variableId: string, variableAliasRequest?: VariableAliasRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43769
|
+
// verify required parameter 'variableId' is not null or undefined
|
|
43770
|
+
assertParamExists('createVariableAlias', 'variableId', variableId)
|
|
43771
|
+
const localVarPath = `/variable/{variableId}/alias`
|
|
43772
|
+
.replace(`{${"variableId"}}`, encodeURIComponent(String(variableId)));
|
|
43773
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43774
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43775
|
+
let baseOptions;
|
|
43776
|
+
if (configuration) {
|
|
43777
|
+
baseOptions = configuration.baseOptions;
|
|
43778
|
+
}
|
|
43779
|
+
|
|
43780
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
43781
|
+
const localVarHeaderParameter = {} as any;
|
|
43782
|
+
const localVarQueryParameter = {} as any;
|
|
43783
|
+
|
|
43784
|
+
// authentication bearerAuth required
|
|
43785
|
+
// http bearer authentication required
|
|
43786
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
43787
|
+
|
|
43788
|
+
|
|
43789
|
+
|
|
43790
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43791
|
+
|
|
43792
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43793
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43794
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43795
|
+
localVarRequestOptions.data = serializeDataIfNeeded(variableAliasRequest, localVarRequestOptions, configuration)
|
|
43796
|
+
|
|
43797
|
+
return {
|
|
43798
|
+
url: toPathString(localVarUrlObj),
|
|
43799
|
+
options: localVarRequestOptions,
|
|
43800
|
+
};
|
|
43801
|
+
},
|
|
43802
|
+
}
|
|
43803
|
+
};
|
|
43804
|
+
|
|
43805
|
+
/**
|
|
43806
|
+
* VariableMainCallsApi - functional programming interface
|
|
43807
|
+
* @export
|
|
43808
|
+
*/
|
|
43809
|
+
export const VariableMainCallsApiFp = function(configuration?: Configuration) {
|
|
43810
|
+
const localVarAxiosParamCreator = VariableMainCallsApiAxiosParamCreator(configuration)
|
|
43811
|
+
return {
|
|
43812
|
+
/**
|
|
43813
|
+
* - 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
|
|
43814
|
+
* @summary WIP: Create a variable alias
|
|
43815
|
+
* @param {string} variableId Variable ID
|
|
43816
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
43817
|
+
* @param {*} [options] Override http request option.
|
|
43818
|
+
* @throws {RequiredError}
|
|
43819
|
+
*/
|
|
43820
|
+
async createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableResponse>> {
|
|
43821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createVariableAlias(variableId, variableAliasRequest, options);
|
|
43822
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
43823
|
+
},
|
|
43824
|
+
}
|
|
43825
|
+
};
|
|
43826
|
+
|
|
43827
|
+
/**
|
|
43828
|
+
* VariableMainCallsApi - factory interface
|
|
43829
|
+
* @export
|
|
43830
|
+
*/
|
|
43831
|
+
export const VariableMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43832
|
+
const localVarFp = VariableMainCallsApiFp(configuration)
|
|
43833
|
+
return {
|
|
43834
|
+
/**
|
|
43835
|
+
* - 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
|
|
43836
|
+
* @summary WIP: Create a variable alias
|
|
43837
|
+
* @param {string} variableId Variable ID
|
|
43838
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
43839
|
+
* @param {*} [options] Override http request option.
|
|
43840
|
+
* @throws {RequiredError}
|
|
43841
|
+
*/
|
|
43842
|
+
createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: any): AxiosPromise<VariableResponse> {
|
|
43843
|
+
return localVarFp.createVariableAlias(variableId, variableAliasRequest, options).then((request) => request(axios, basePath));
|
|
43844
|
+
},
|
|
43845
|
+
};
|
|
43846
|
+
};
|
|
43847
|
+
|
|
43848
|
+
/**
|
|
43849
|
+
* VariableMainCallsApi - object-oriented interface
|
|
43850
|
+
* @export
|
|
43851
|
+
* @class VariableMainCallsApi
|
|
43852
|
+
* @extends {BaseAPI}
|
|
43853
|
+
*/
|
|
43854
|
+
export class VariableMainCallsApi extends BaseAPI {
|
|
43855
|
+
/**
|
|
43856
|
+
* - 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
|
|
43857
|
+
* @summary WIP: Create a variable alias
|
|
43858
|
+
* @param {string} variableId Variable ID
|
|
43859
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
43860
|
+
* @param {*} [options] Override http request option.
|
|
43861
|
+
* @throws {RequiredError}
|
|
43862
|
+
* @memberof VariableMainCallsApi
|
|
43863
|
+
*/
|
|
43864
|
+
public createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig) {
|
|
43865
|
+
return VariableMainCallsApiFp(this.configuration).createVariableAlias(variableId, variableAliasRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43866
|
+
}
|
|
43867
|
+
}
|
|
43868
|
+
|
|
43869
|
+
|
package/dist/api.d.ts
CHANGED
|
@@ -13311,6 +13311,74 @@ export interface Value {
|
|
|
13311
13311
|
*/
|
|
13312
13312
|
'value'?: string;
|
|
13313
13313
|
}
|
|
13314
|
+
/**
|
|
13315
|
+
*
|
|
13316
|
+
* @export
|
|
13317
|
+
* @interface VariableAlias
|
|
13318
|
+
*/
|
|
13319
|
+
export interface VariableAlias {
|
|
13320
|
+
/**
|
|
13321
|
+
*
|
|
13322
|
+
* @type {string}
|
|
13323
|
+
* @memberof VariableAlias
|
|
13324
|
+
*/
|
|
13325
|
+
'id': string;
|
|
13326
|
+
/**
|
|
13327
|
+
*
|
|
13328
|
+
* @type {string}
|
|
13329
|
+
* @memberof VariableAlias
|
|
13330
|
+
*/
|
|
13331
|
+
'key': string;
|
|
13332
|
+
/**
|
|
13333
|
+
*
|
|
13334
|
+
* @type {string}
|
|
13335
|
+
* @memberof VariableAlias
|
|
13336
|
+
*/
|
|
13337
|
+
'value'?: string | null;
|
|
13338
|
+
/**
|
|
13339
|
+
*
|
|
13340
|
+
* @type {string}
|
|
13341
|
+
* @memberof VariableAlias
|
|
13342
|
+
*/
|
|
13343
|
+
'mount_path': string;
|
|
13344
|
+
/**
|
|
13345
|
+
*
|
|
13346
|
+
* @type {APIVariableScopeEnum}
|
|
13347
|
+
* @memberof VariableAlias
|
|
13348
|
+
*/
|
|
13349
|
+
'scope': APIVariableScopeEnum;
|
|
13350
|
+
/**
|
|
13351
|
+
*
|
|
13352
|
+
* @type {APIVariableTypeEnum}
|
|
13353
|
+
* @memberof VariableAlias
|
|
13354
|
+
*/
|
|
13355
|
+
'variable_type': APIVariableTypeEnum;
|
|
13356
|
+
}
|
|
13357
|
+
/**
|
|
13358
|
+
*
|
|
13359
|
+
* @export
|
|
13360
|
+
* @interface VariableAliasRequest
|
|
13361
|
+
*/
|
|
13362
|
+
export interface VariableAliasRequest {
|
|
13363
|
+
/**
|
|
13364
|
+
*
|
|
13365
|
+
* @type {string}
|
|
13366
|
+
* @memberof VariableAliasRequest
|
|
13367
|
+
*/
|
|
13368
|
+
'key': string;
|
|
13369
|
+
/**
|
|
13370
|
+
*
|
|
13371
|
+
* @type {APIVariableScopeEnum}
|
|
13372
|
+
* @memberof VariableAliasRequest
|
|
13373
|
+
*/
|
|
13374
|
+
'aliasScope': APIVariableScopeEnum;
|
|
13375
|
+
/**
|
|
13376
|
+
*
|
|
13377
|
+
* @type {string}
|
|
13378
|
+
* @memberof VariableAliasRequest
|
|
13379
|
+
*/
|
|
13380
|
+
'aliasParentId': string;
|
|
13381
|
+
}
|
|
13314
13382
|
/**
|
|
13315
13383
|
*
|
|
13316
13384
|
* @export
|
|
@@ -13411,6 +13479,177 @@ export interface VariableImportSuccessfulImportedVariables {
|
|
|
13411
13479
|
*/
|
|
13412
13480
|
'is_secret': boolean;
|
|
13413
13481
|
}
|
|
13482
|
+
/**
|
|
13483
|
+
*
|
|
13484
|
+
* @export
|
|
13485
|
+
* @interface VariableOverride
|
|
13486
|
+
*/
|
|
13487
|
+
export interface VariableOverride {
|
|
13488
|
+
/**
|
|
13489
|
+
*
|
|
13490
|
+
* @type {string}
|
|
13491
|
+
* @memberof VariableOverride
|
|
13492
|
+
*/
|
|
13493
|
+
'id': string;
|
|
13494
|
+
/**
|
|
13495
|
+
*
|
|
13496
|
+
* @type {string}
|
|
13497
|
+
* @memberof VariableOverride
|
|
13498
|
+
*/
|
|
13499
|
+
'key': string;
|
|
13500
|
+
/**
|
|
13501
|
+
*
|
|
13502
|
+
* @type {string}
|
|
13503
|
+
* @memberof VariableOverride
|
|
13504
|
+
*/
|
|
13505
|
+
'value'?: string | null;
|
|
13506
|
+
/**
|
|
13507
|
+
*
|
|
13508
|
+
* @type {string}
|
|
13509
|
+
* @memberof VariableOverride
|
|
13510
|
+
*/
|
|
13511
|
+
'mount_path': string;
|
|
13512
|
+
/**
|
|
13513
|
+
*
|
|
13514
|
+
* @type {APIVariableScopeEnum}
|
|
13515
|
+
* @memberof VariableOverride
|
|
13516
|
+
*/
|
|
13517
|
+
'scope': APIVariableScopeEnum;
|
|
13518
|
+
/**
|
|
13519
|
+
*
|
|
13520
|
+
* @type {APIVariableTypeEnum}
|
|
13521
|
+
* @memberof VariableOverride
|
|
13522
|
+
*/
|
|
13523
|
+
'variable_type': APIVariableTypeEnum;
|
|
13524
|
+
}
|
|
13525
|
+
/**
|
|
13526
|
+
*
|
|
13527
|
+
* @export
|
|
13528
|
+
* @interface VariableResponse
|
|
13529
|
+
*/
|
|
13530
|
+
export interface VariableResponse {
|
|
13531
|
+
/**
|
|
13532
|
+
*
|
|
13533
|
+
* @type {string}
|
|
13534
|
+
* @memberof VariableResponse
|
|
13535
|
+
*/
|
|
13536
|
+
'id': string;
|
|
13537
|
+
/**
|
|
13538
|
+
*
|
|
13539
|
+
* @type {string}
|
|
13540
|
+
* @memberof VariableResponse
|
|
13541
|
+
*/
|
|
13542
|
+
'created_at': string;
|
|
13543
|
+
/**
|
|
13544
|
+
*
|
|
13545
|
+
* @type {string}
|
|
13546
|
+
* @memberof VariableResponse
|
|
13547
|
+
*/
|
|
13548
|
+
'updated_at'?: string;
|
|
13549
|
+
/**
|
|
13550
|
+
*
|
|
13551
|
+
* @type {VariableOverride}
|
|
13552
|
+
* @memberof VariableResponse
|
|
13553
|
+
*/
|
|
13554
|
+
'overridden_variable'?: VariableOverride;
|
|
13555
|
+
/**
|
|
13556
|
+
*
|
|
13557
|
+
* @type {VariableAlias}
|
|
13558
|
+
* @memberof VariableResponse
|
|
13559
|
+
*/
|
|
13560
|
+
'aliased_variable'?: VariableAlias;
|
|
13561
|
+
/**
|
|
13562
|
+
*
|
|
13563
|
+
* @type {APIVariableScopeEnum}
|
|
13564
|
+
* @memberof VariableResponse
|
|
13565
|
+
*/
|
|
13566
|
+
'scope': APIVariableScopeEnum;
|
|
13567
|
+
/**
|
|
13568
|
+
*
|
|
13569
|
+
* @type {APIVariableTypeEnum}
|
|
13570
|
+
* @memberof VariableResponse
|
|
13571
|
+
*/
|
|
13572
|
+
'variable_type'?: APIVariableTypeEnum;
|
|
13573
|
+
/**
|
|
13574
|
+
* present only for `BUILT_IN` variable
|
|
13575
|
+
* @type {string}
|
|
13576
|
+
* @memberof VariableResponse
|
|
13577
|
+
*/
|
|
13578
|
+
'service_id'?: string;
|
|
13579
|
+
/**
|
|
13580
|
+
* present only for `BUILT_IN` variable
|
|
13581
|
+
* @type {string}
|
|
13582
|
+
* @memberof VariableResponse
|
|
13583
|
+
*/
|
|
13584
|
+
'service_name'?: string;
|
|
13585
|
+
/**
|
|
13586
|
+
*
|
|
13587
|
+
* @type {LinkedServiceTypeEnum}
|
|
13588
|
+
* @memberof VariableResponse
|
|
13589
|
+
*/
|
|
13590
|
+
'service_type'?: LinkedServiceTypeEnum;
|
|
13591
|
+
/**
|
|
13592
|
+
* Entity that created/own the variable (i.e: Qovery, Doppler)
|
|
13593
|
+
* @type {string}
|
|
13594
|
+
* @memberof VariableResponse
|
|
13595
|
+
*/
|
|
13596
|
+
'owned_by'?: string;
|
|
13597
|
+
}
|
|
13598
|
+
/**
|
|
13599
|
+
*
|
|
13600
|
+
* @export
|
|
13601
|
+
* @interface VariableResponseAllOf
|
|
13602
|
+
*/
|
|
13603
|
+
export interface VariableResponseAllOf {
|
|
13604
|
+
/**
|
|
13605
|
+
*
|
|
13606
|
+
* @type {VariableOverride}
|
|
13607
|
+
* @memberof VariableResponseAllOf
|
|
13608
|
+
*/
|
|
13609
|
+
'overridden_variable'?: VariableOverride;
|
|
13610
|
+
/**
|
|
13611
|
+
*
|
|
13612
|
+
* @type {VariableAlias}
|
|
13613
|
+
* @memberof VariableResponseAllOf
|
|
13614
|
+
*/
|
|
13615
|
+
'aliased_variable'?: VariableAlias;
|
|
13616
|
+
/**
|
|
13617
|
+
*
|
|
13618
|
+
* @type {APIVariableScopeEnum}
|
|
13619
|
+
* @memberof VariableResponseAllOf
|
|
13620
|
+
*/
|
|
13621
|
+
'scope': APIVariableScopeEnum;
|
|
13622
|
+
/**
|
|
13623
|
+
*
|
|
13624
|
+
* @type {APIVariableTypeEnum}
|
|
13625
|
+
* @memberof VariableResponseAllOf
|
|
13626
|
+
*/
|
|
13627
|
+
'variable_type'?: APIVariableTypeEnum;
|
|
13628
|
+
/**
|
|
13629
|
+
* present only for `BUILT_IN` variable
|
|
13630
|
+
* @type {string}
|
|
13631
|
+
* @memberof VariableResponseAllOf
|
|
13632
|
+
*/
|
|
13633
|
+
'service_id'?: string;
|
|
13634
|
+
/**
|
|
13635
|
+
* present only for `BUILT_IN` variable
|
|
13636
|
+
* @type {string}
|
|
13637
|
+
* @memberof VariableResponseAllOf
|
|
13638
|
+
*/
|
|
13639
|
+
'service_name'?: string;
|
|
13640
|
+
/**
|
|
13641
|
+
*
|
|
13642
|
+
* @type {LinkedServiceTypeEnum}
|
|
13643
|
+
* @memberof VariableResponseAllOf
|
|
13644
|
+
*/
|
|
13645
|
+
'service_type'?: LinkedServiceTypeEnum;
|
|
13646
|
+
/**
|
|
13647
|
+
* Entity that created/own the variable (i.e: Qovery, Doppler)
|
|
13648
|
+
* @type {string}
|
|
13649
|
+
* @memberof VariableResponseAllOf
|
|
13650
|
+
*/
|
|
13651
|
+
'owned_by'?: string;
|
|
13652
|
+
}
|
|
13414
13653
|
/**
|
|
13415
13654
|
*
|
|
13416
13655
|
* @export
|
|
@@ -28116,3 +28355,66 @@ export declare class UserSignUpApi extends BaseAPI {
|
|
|
28116
28355
|
*/
|
|
28117
28356
|
getUserSignUp(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SignUp>>;
|
|
28118
28357
|
}
|
|
28358
|
+
/**
|
|
28359
|
+
* VariableMainCallsApi - axios parameter creator
|
|
28360
|
+
* @export
|
|
28361
|
+
*/
|
|
28362
|
+
export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28363
|
+
/**
|
|
28364
|
+
* - 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
|
|
28366
|
+
* @param {string} variableId Variable ID
|
|
28367
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
28368
|
+
* @param {*} [options] Override http request option.
|
|
28369
|
+
* @throws {RequiredError}
|
|
28370
|
+
*/
|
|
28371
|
+
createVariableAlias: (variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28372
|
+
};
|
|
28373
|
+
/**
|
|
28374
|
+
* VariableMainCallsApi - functional programming interface
|
|
28375
|
+
* @export
|
|
28376
|
+
*/
|
|
28377
|
+
export declare const VariableMainCallsApiFp: (configuration?: Configuration) => {
|
|
28378
|
+
/**
|
|
28379
|
+
* - 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
|
|
28380
|
+
* @summary WIP: Create a variable alias
|
|
28381
|
+
* @param {string} variableId Variable ID
|
|
28382
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
28383
|
+
* @param {*} [options] Override http request option.
|
|
28384
|
+
* @throws {RequiredError}
|
|
28385
|
+
*/
|
|
28386
|
+
createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableResponse>>;
|
|
28387
|
+
};
|
|
28388
|
+
/**
|
|
28389
|
+
* VariableMainCallsApi - factory interface
|
|
28390
|
+
* @export
|
|
28391
|
+
*/
|
|
28392
|
+
export declare const VariableMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
28393
|
+
/**
|
|
28394
|
+
* - 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
|
|
28395
|
+
* @summary WIP: Create a variable alias
|
|
28396
|
+
* @param {string} variableId Variable ID
|
|
28397
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
28398
|
+
* @param {*} [options] Override http request option.
|
|
28399
|
+
* @throws {RequiredError}
|
|
28400
|
+
*/
|
|
28401
|
+
createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: any): AxiosPromise<VariableResponse>;
|
|
28402
|
+
};
|
|
28403
|
+
/**
|
|
28404
|
+
* VariableMainCallsApi - object-oriented interface
|
|
28405
|
+
* @export
|
|
28406
|
+
* @class VariableMainCallsApi
|
|
28407
|
+
* @extends {BaseAPI}
|
|
28408
|
+
*/
|
|
28409
|
+
export declare class VariableMainCallsApi extends BaseAPI {
|
|
28410
|
+
/**
|
|
28411
|
+
* - 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
|
|
28412
|
+
* @summary WIP: Create a variable alias
|
|
28413
|
+
* @param {string} variableId Variable ID
|
|
28414
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
28415
|
+
* @param {*} [options] Override http request option.
|
|
28416
|
+
* @throws {RequiredError}
|
|
28417
|
+
* @memberof VariableMainCallsApi
|
|
28418
|
+
*/
|
|
28419
|
+
createVariableAlias(variableId: string, variableAliasRequest?: VariableAliasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VariableResponse>>;
|
|
28420
|
+
}
|
package/dist/api.js
CHANGED
|
@@ -28,7 +28,7 @@ exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator
|
|
|
28
28
|
exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseEventApi = exports.DatabaseEventApiFactory = exports.DatabaseEventApiFp = exports.DatabaseEventApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = void 0;
|
|
29
29
|
exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = void 0;
|
|
30
30
|
exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMetricsApi = exports.JobMetricsApiFactory = exports.JobMetricsApiFp = exports.JobMetricsApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = void 0;
|
|
31
|
-
exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = void 0;
|
|
31
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -28717,3 +28717,113 @@ class UserSignUpApi extends base_1.BaseAPI {
|
|
|
28717
28717
|
}
|
|
28718
28718
|
}
|
|
28719
28719
|
exports.UserSignUpApi = UserSignUpApi;
|
|
28720
|
+
/**
|
|
28721
|
+
* VariableMainCallsApi - axios parameter creator
|
|
28722
|
+
* @export
|
|
28723
|
+
*/
|
|
28724
|
+
const VariableMainCallsApiAxiosParamCreator = function (configuration) {
|
|
28725
|
+
return {
|
|
28726
|
+
/**
|
|
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
|
|
28729
|
+
* @param {string} variableId Variable ID
|
|
28730
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
28731
|
+
* @param {*} [options] Override http request option.
|
|
28732
|
+
* @throws {RequiredError}
|
|
28733
|
+
*/
|
|
28734
|
+
createVariableAlias: (variableId, variableAliasRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
28735
|
+
// verify required parameter 'variableId' is not null or undefined
|
|
28736
|
+
(0, common_1.assertParamExists)('createVariableAlias', 'variableId', variableId);
|
|
28737
|
+
const localVarPath = `/variable/{variableId}/alias`
|
|
28738
|
+
.replace(`{${"variableId"}}`, encodeURIComponent(String(variableId)));
|
|
28739
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28740
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
28741
|
+
let baseOptions;
|
|
28742
|
+
if (configuration) {
|
|
28743
|
+
baseOptions = configuration.baseOptions;
|
|
28744
|
+
}
|
|
28745
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
28746
|
+
const localVarHeaderParameter = {};
|
|
28747
|
+
const localVarQueryParameter = {};
|
|
28748
|
+
// authentication bearerAuth required
|
|
28749
|
+
// http bearer authentication required
|
|
28750
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
28751
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28752
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
28753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28754
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
28755
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(variableAliasRequest, localVarRequestOptions, configuration);
|
|
28756
|
+
return {
|
|
28757
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
28758
|
+
options: localVarRequestOptions,
|
|
28759
|
+
};
|
|
28760
|
+
}),
|
|
28761
|
+
};
|
|
28762
|
+
};
|
|
28763
|
+
exports.VariableMainCallsApiAxiosParamCreator = VariableMainCallsApiAxiosParamCreator;
|
|
28764
|
+
/**
|
|
28765
|
+
* VariableMainCallsApi - functional programming interface
|
|
28766
|
+
* @export
|
|
28767
|
+
*/
|
|
28768
|
+
const VariableMainCallsApiFp = function (configuration) {
|
|
28769
|
+
const localVarAxiosParamCreator = (0, exports.VariableMainCallsApiAxiosParamCreator)(configuration);
|
|
28770
|
+
return {
|
|
28771
|
+
/**
|
|
28772
|
+
* - 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
|
|
28774
|
+
* @param {string} variableId Variable ID
|
|
28775
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
28776
|
+
* @param {*} [options] Override http request option.
|
|
28777
|
+
* @throws {RequiredError}
|
|
28778
|
+
*/
|
|
28779
|
+
createVariableAlias(variableId, variableAliasRequest, options) {
|
|
28780
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28781
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createVariableAlias(variableId, variableAliasRequest, options);
|
|
28782
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
28783
|
+
});
|
|
28784
|
+
},
|
|
28785
|
+
};
|
|
28786
|
+
};
|
|
28787
|
+
exports.VariableMainCallsApiFp = VariableMainCallsApiFp;
|
|
28788
|
+
/**
|
|
28789
|
+
* VariableMainCallsApi - factory interface
|
|
28790
|
+
* @export
|
|
28791
|
+
*/
|
|
28792
|
+
const VariableMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
28793
|
+
const localVarFp = (0, exports.VariableMainCallsApiFp)(configuration);
|
|
28794
|
+
return {
|
|
28795
|
+
/**
|
|
28796
|
+
* - 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
|
|
28798
|
+
* @param {string} variableId Variable ID
|
|
28799
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
28800
|
+
* @param {*} [options] Override http request option.
|
|
28801
|
+
* @throws {RequiredError}
|
|
28802
|
+
*/
|
|
28803
|
+
createVariableAlias(variableId, variableAliasRequest, options) {
|
|
28804
|
+
return localVarFp.createVariableAlias(variableId, variableAliasRequest, options).then((request) => request(axios, basePath));
|
|
28805
|
+
},
|
|
28806
|
+
};
|
|
28807
|
+
};
|
|
28808
|
+
exports.VariableMainCallsApiFactory = VariableMainCallsApiFactory;
|
|
28809
|
+
/**
|
|
28810
|
+
* VariableMainCallsApi - object-oriented interface
|
|
28811
|
+
* @export
|
|
28812
|
+
* @class VariableMainCallsApi
|
|
28813
|
+
* @extends {BaseAPI}
|
|
28814
|
+
*/
|
|
28815
|
+
class VariableMainCallsApi extends base_1.BaseAPI {
|
|
28816
|
+
/**
|
|
28817
|
+
* - 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
|
|
28819
|
+
* @param {string} variableId Variable ID
|
|
28820
|
+
* @param {VariableAliasRequest} [variableAliasRequest]
|
|
28821
|
+
* @param {*} [options] Override http request option.
|
|
28822
|
+
* @throws {RequiredError}
|
|
28823
|
+
* @memberof VariableMainCallsApi
|
|
28824
|
+
*/
|
|
28825
|
+
createVariableAlias(variableId, variableAliasRequest, options) {
|
|
28826
|
+
return (0, exports.VariableMainCallsApiFp)(this.configuration).createVariableAlias(variableId, variableAliasRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28827
|
+
}
|
|
28828
|
+
}
|
|
28829
|
+
exports.VariableMainCallsApi = VariableMainCallsApi;
|