qovery-typescript-axios 1.1.286 → 1.1.288
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 +169 -17
- package/dist/api.d.ts +148 -8
- package/dist/api.js +45 -24
- package/dist/esm/api.d.ts +148 -8
- package/dist/esm/api.js +37 -16
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7642,6 +7642,78 @@ export const HelmForceEvent = {
|
|
|
7642
7642
|
export type HelmForceEvent = typeof HelmForceEvent[keyof typeof HelmForceEvent];
|
|
7643
7643
|
|
|
7644
7644
|
|
|
7645
|
+
/**
|
|
7646
|
+
*
|
|
7647
|
+
* @export
|
|
7648
|
+
* @enum {string}
|
|
7649
|
+
*/
|
|
7650
|
+
|
|
7651
|
+
export const HelmPortProtocolEnum = {
|
|
7652
|
+
HTTP: 'HTTP',
|
|
7653
|
+
GRPC: 'GRPC'
|
|
7654
|
+
} as const;
|
|
7655
|
+
|
|
7656
|
+
export type HelmPortProtocolEnum = typeof HelmPortProtocolEnum[keyof typeof HelmPortProtocolEnum];
|
|
7657
|
+
|
|
7658
|
+
|
|
7659
|
+
/**
|
|
7660
|
+
*
|
|
7661
|
+
* @export
|
|
7662
|
+
* @interface HelmPortRequest
|
|
7663
|
+
*/
|
|
7664
|
+
export interface HelmPortRequest {
|
|
7665
|
+
/**
|
|
7666
|
+
*
|
|
7667
|
+
* @type {Array<HelmPortRequestPortsInner>}
|
|
7668
|
+
* @memberof HelmPortRequest
|
|
7669
|
+
*/
|
|
7670
|
+
'ports'?: Array<HelmPortRequestPortsInner>;
|
|
7671
|
+
}
|
|
7672
|
+
/**
|
|
7673
|
+
*
|
|
7674
|
+
* @export
|
|
7675
|
+
* @interface HelmPortRequestPortsInner
|
|
7676
|
+
*/
|
|
7677
|
+
export interface HelmPortRequestPortsInner {
|
|
7678
|
+
/**
|
|
7679
|
+
*
|
|
7680
|
+
* @type {string}
|
|
7681
|
+
* @memberof HelmPortRequestPortsInner
|
|
7682
|
+
*/
|
|
7683
|
+
'name'?: string;
|
|
7684
|
+
/**
|
|
7685
|
+
* The listening port of your service.
|
|
7686
|
+
* @type {number}
|
|
7687
|
+
* @memberof HelmPortRequestPortsInner
|
|
7688
|
+
*/
|
|
7689
|
+
'internal_port': number;
|
|
7690
|
+
/**
|
|
7691
|
+
* The exposed port for your service. This is optional. If not set a default port will be used.
|
|
7692
|
+
* @type {number}
|
|
7693
|
+
* @memberof HelmPortRequestPortsInner
|
|
7694
|
+
*/
|
|
7695
|
+
'external_port'?: number;
|
|
7696
|
+
/**
|
|
7697
|
+
*
|
|
7698
|
+
* @type {string}
|
|
7699
|
+
* @memberof HelmPortRequestPortsInner
|
|
7700
|
+
*/
|
|
7701
|
+
'service_name': string;
|
|
7702
|
+
/**
|
|
7703
|
+
*
|
|
7704
|
+
* @type {string}
|
|
7705
|
+
* @memberof HelmPortRequestPortsInner
|
|
7706
|
+
*/
|
|
7707
|
+
'namespace'?: string;
|
|
7708
|
+
/**
|
|
7709
|
+
*
|
|
7710
|
+
* @type {HelmPortProtocolEnum}
|
|
7711
|
+
* @memberof HelmPortRequestPortsInner
|
|
7712
|
+
*/
|
|
7713
|
+
'protocol'?: HelmPortProtocolEnum;
|
|
7714
|
+
}
|
|
7715
|
+
|
|
7716
|
+
|
|
7645
7717
|
/**
|
|
7646
7718
|
* The type of your helm repository
|
|
7647
7719
|
* @export
|
|
@@ -7790,6 +7862,12 @@ export interface HelmRepositoryResponseList {
|
|
|
7790
7862
|
* @interface HelmRequest
|
|
7791
7863
|
*/
|
|
7792
7864
|
export interface HelmRequest {
|
|
7865
|
+
/**
|
|
7866
|
+
*
|
|
7867
|
+
* @type {Array<HelmPortRequestPortsInner>}
|
|
7868
|
+
* @memberof HelmRequest
|
|
7869
|
+
*/
|
|
7870
|
+
'ports'?: Array<HelmPortRequestPortsInner>;
|
|
7793
7871
|
/**
|
|
7794
7872
|
* name is case insensitive
|
|
7795
7873
|
* @type {string}
|
|
@@ -8052,11 +8130,17 @@ export interface HelmResponse {
|
|
|
8052
8130
|
*/
|
|
8053
8131
|
'auto_preview': boolean;
|
|
8054
8132
|
/**
|
|
8055
|
-
* Specify if the service will be automatically updated after receiving a new image tag or a new commit according to the source type.
|
|
8133
|
+
* Specify if the service will be automatically updated after receiving a new image tag or a new commit according to the source type.
|
|
8056
8134
|
* @type {boolean}
|
|
8057
8135
|
* @memberof HelmResponse
|
|
8058
8136
|
*/
|
|
8059
8137
|
'auto_deploy': boolean;
|
|
8138
|
+
/**
|
|
8139
|
+
*
|
|
8140
|
+
* @type {Array<HelmResponseAllOfPorts>}
|
|
8141
|
+
* @memberof HelmResponse
|
|
8142
|
+
*/
|
|
8143
|
+
'ports'?: Array<HelmResponseAllOfPorts>;
|
|
8060
8144
|
/**
|
|
8061
8145
|
*
|
|
8062
8146
|
* @type {HelmResponseAllOfSource}
|
|
@@ -8082,6 +8166,57 @@ export interface HelmResponse {
|
|
|
8082
8166
|
*/
|
|
8083
8167
|
'values_override': HelmRequestAllOfValuesOverride;
|
|
8084
8168
|
}
|
|
8169
|
+
/**
|
|
8170
|
+
*
|
|
8171
|
+
* @export
|
|
8172
|
+
* @interface HelmResponseAllOfPorts
|
|
8173
|
+
*/
|
|
8174
|
+
export interface HelmResponseAllOfPorts {
|
|
8175
|
+
/**
|
|
8176
|
+
*
|
|
8177
|
+
* @type {string}
|
|
8178
|
+
* @memberof HelmResponseAllOfPorts
|
|
8179
|
+
*/
|
|
8180
|
+
'id': string;
|
|
8181
|
+
/**
|
|
8182
|
+
*
|
|
8183
|
+
* @type {string}
|
|
8184
|
+
* @memberof HelmResponseAllOfPorts
|
|
8185
|
+
*/
|
|
8186
|
+
'name'?: string;
|
|
8187
|
+
/**
|
|
8188
|
+
* The listening port of your service.
|
|
8189
|
+
* @type {number}
|
|
8190
|
+
* @memberof HelmResponseAllOfPorts
|
|
8191
|
+
*/
|
|
8192
|
+
'internal_port': number;
|
|
8193
|
+
/**
|
|
8194
|
+
* The exposed port for your service. This is optional. If not set a default port will be used.
|
|
8195
|
+
* @type {number}
|
|
8196
|
+
* @memberof HelmResponseAllOfPorts
|
|
8197
|
+
*/
|
|
8198
|
+
'external_port'?: number;
|
|
8199
|
+
/**
|
|
8200
|
+
*
|
|
8201
|
+
* @type {string}
|
|
8202
|
+
* @memberof HelmResponseAllOfPorts
|
|
8203
|
+
*/
|
|
8204
|
+
'service_name': string;
|
|
8205
|
+
/**
|
|
8206
|
+
*
|
|
8207
|
+
* @type {string}
|
|
8208
|
+
* @memberof HelmResponseAllOfPorts
|
|
8209
|
+
*/
|
|
8210
|
+
'namespace'?: string;
|
|
8211
|
+
/**
|
|
8212
|
+
*
|
|
8213
|
+
* @type {HelmPortProtocolEnum}
|
|
8214
|
+
* @memberof HelmResponseAllOfPorts
|
|
8215
|
+
*/
|
|
8216
|
+
'protocol': HelmPortProtocolEnum;
|
|
8217
|
+
}
|
|
8218
|
+
|
|
8219
|
+
|
|
8085
8220
|
/**
|
|
8086
8221
|
* @type HelmResponseAllOfSource
|
|
8087
8222
|
* @export
|
|
@@ -9255,7 +9390,8 @@ export const LinkedServiceTypeEnum = {
|
|
|
9255
9390
|
APPLICATION: 'APPLICATION',
|
|
9256
9391
|
CONTAINER: 'CONTAINER',
|
|
9257
9392
|
DATABASE: 'DATABASE',
|
|
9258
|
-
JOB: 'JOB'
|
|
9393
|
+
JOB: 'JOB',
|
|
9394
|
+
HELM: 'HELM'
|
|
9259
9395
|
} as const;
|
|
9260
9396
|
|
|
9261
9397
|
export type LinkedServiceTypeEnum = typeof LinkedServiceTypeEnum[keyof typeof LinkedServiceTypeEnum];
|
|
@@ -12671,6 +12807,22 @@ export const ServiceTypeEnum = {
|
|
|
12671
12807
|
export type ServiceTypeEnum = typeof ServiceTypeEnum[keyof typeof ServiceTypeEnum];
|
|
12672
12808
|
|
|
12673
12809
|
|
|
12810
|
+
/**
|
|
12811
|
+
* type of the service
|
|
12812
|
+
* @export
|
|
12813
|
+
* @enum {string}
|
|
12814
|
+
*/
|
|
12815
|
+
|
|
12816
|
+
export const ServiceTypeForVariableEnum = {
|
|
12817
|
+
APPLICATION: 'APPLICATION',
|
|
12818
|
+
CONTAINER: 'CONTAINER',
|
|
12819
|
+
JOB: 'JOB',
|
|
12820
|
+
HELM: 'HELM'
|
|
12821
|
+
} as const;
|
|
12822
|
+
|
|
12823
|
+
export type ServiceTypeForVariableEnum = typeof ServiceTypeForVariableEnum[keyof typeof ServiceTypeForVariableEnum];
|
|
12824
|
+
|
|
12825
|
+
|
|
12674
12826
|
/**
|
|
12675
12827
|
*
|
|
12676
12828
|
* @export
|
|
@@ -48138,16 +48290,16 @@ export const VariableMainCallsApiAxiosParamCreator = function (configuration?: C
|
|
|
48138
48290
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
48139
48291
|
* @summary Import variables
|
|
48140
48292
|
* @param {string} serviceId service id
|
|
48141
|
-
* @param {
|
|
48293
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
48142
48294
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
48143
48295
|
* @param {*} [options] Override http request option.
|
|
48144
48296
|
* @throws {RequiredError}
|
|
48145
48297
|
*/
|
|
48146
|
-
importEnvironmentVariables: async (serviceId: string,
|
|
48298
|
+
importEnvironmentVariables: async (serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48147
48299
|
// verify required parameter 'serviceId' is not null or undefined
|
|
48148
48300
|
assertParamExists('importEnvironmentVariables', 'serviceId', serviceId)
|
|
48149
|
-
// verify required parameter '
|
|
48150
|
-
assertParamExists('importEnvironmentVariables', '
|
|
48301
|
+
// verify required parameter 'serviceType' is not null or undefined
|
|
48302
|
+
assertParamExists('importEnvironmentVariables', 'serviceType', serviceType)
|
|
48151
48303
|
const localVarPath = `/variable/import`;
|
|
48152
48304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48153
48305
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -48171,8 +48323,8 @@ export const VariableMainCallsApiAxiosParamCreator = function (configuration?: C
|
|
|
48171
48323
|
localVarQueryParameter['service_id'] = serviceId;
|
|
48172
48324
|
}
|
|
48173
48325
|
|
|
48174
|
-
if (
|
|
48175
|
-
localVarQueryParameter['
|
|
48326
|
+
if (serviceType !== undefined) {
|
|
48327
|
+
localVarQueryParameter['service_type'] = serviceType;
|
|
48176
48328
|
}
|
|
48177
48329
|
|
|
48178
48330
|
|
|
@@ -48317,13 +48469,13 @@ export const VariableMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
48317
48469
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
48318
48470
|
* @summary Import variables
|
|
48319
48471
|
* @param {string} serviceId service id
|
|
48320
|
-
* @param {
|
|
48472
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
48321
48473
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
48322
48474
|
* @param {*} [options] Override http request option.
|
|
48323
48475
|
* @throws {RequiredError}
|
|
48324
48476
|
*/
|
|
48325
|
-
async importEnvironmentVariables(serviceId: string,
|
|
48326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importEnvironmentVariables(serviceId,
|
|
48477
|
+
async importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableImport>> {
|
|
48478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options);
|
|
48327
48479
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
48328
48480
|
},
|
|
48329
48481
|
/**
|
|
@@ -48406,13 +48558,13 @@ export const VariableMainCallsApiFactory = function (configuration?: Configurati
|
|
|
48406
48558
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
48407
48559
|
* @summary Import variables
|
|
48408
48560
|
* @param {string} serviceId service id
|
|
48409
|
-
* @param {
|
|
48561
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
48410
48562
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
48411
48563
|
* @param {*} [options] Override http request option.
|
|
48412
48564
|
* @throws {RequiredError}
|
|
48413
48565
|
*/
|
|
48414
|
-
importEnvironmentVariables(serviceId: string,
|
|
48415
|
-
return localVarFp.importEnvironmentVariables(serviceId,
|
|
48566
|
+
importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: any): AxiosPromise<VariableImport> {
|
|
48567
|
+
return localVarFp.importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options).then((request) => request(axios, basePath));
|
|
48416
48568
|
},
|
|
48417
48569
|
/**
|
|
48418
48570
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
@@ -48503,14 +48655,14 @@ export class VariableMainCallsApi extends BaseAPI {
|
|
|
48503
48655
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
48504
48656
|
* @summary Import variables
|
|
48505
48657
|
* @param {string} serviceId service id
|
|
48506
|
-
* @param {
|
|
48658
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
48507
48659
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
48508
48660
|
* @param {*} [options] Override http request option.
|
|
48509
48661
|
* @throws {RequiredError}
|
|
48510
48662
|
* @memberof VariableMainCallsApi
|
|
48511
48663
|
*/
|
|
48512
|
-
public importEnvironmentVariables(serviceId: string,
|
|
48513
|
-
return VariableMainCallsApiFp(this.configuration).importEnvironmentVariables(serviceId,
|
|
48664
|
+
public importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig) {
|
|
48665
|
+
return VariableMainCallsApiFp(this.configuration).importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
48514
48666
|
}
|
|
48515
48667
|
|
|
48516
48668
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -7417,6 +7417,72 @@ export declare const HelmForceEvent: {
|
|
|
7417
7417
|
readonly DIFF: "DIFF";
|
|
7418
7418
|
};
|
|
7419
7419
|
export type HelmForceEvent = typeof HelmForceEvent[keyof typeof HelmForceEvent];
|
|
7420
|
+
/**
|
|
7421
|
+
*
|
|
7422
|
+
* @export
|
|
7423
|
+
* @enum {string}
|
|
7424
|
+
*/
|
|
7425
|
+
export declare const HelmPortProtocolEnum: {
|
|
7426
|
+
readonly HTTP: "HTTP";
|
|
7427
|
+
readonly GRPC: "GRPC";
|
|
7428
|
+
};
|
|
7429
|
+
export type HelmPortProtocolEnum = typeof HelmPortProtocolEnum[keyof typeof HelmPortProtocolEnum];
|
|
7430
|
+
/**
|
|
7431
|
+
*
|
|
7432
|
+
* @export
|
|
7433
|
+
* @interface HelmPortRequest
|
|
7434
|
+
*/
|
|
7435
|
+
export interface HelmPortRequest {
|
|
7436
|
+
/**
|
|
7437
|
+
*
|
|
7438
|
+
* @type {Array<HelmPortRequestPortsInner>}
|
|
7439
|
+
* @memberof HelmPortRequest
|
|
7440
|
+
*/
|
|
7441
|
+
'ports'?: Array<HelmPortRequestPortsInner>;
|
|
7442
|
+
}
|
|
7443
|
+
/**
|
|
7444
|
+
*
|
|
7445
|
+
* @export
|
|
7446
|
+
* @interface HelmPortRequestPortsInner
|
|
7447
|
+
*/
|
|
7448
|
+
export interface HelmPortRequestPortsInner {
|
|
7449
|
+
/**
|
|
7450
|
+
*
|
|
7451
|
+
* @type {string}
|
|
7452
|
+
* @memberof HelmPortRequestPortsInner
|
|
7453
|
+
*/
|
|
7454
|
+
'name'?: string;
|
|
7455
|
+
/**
|
|
7456
|
+
* The listening port of your service.
|
|
7457
|
+
* @type {number}
|
|
7458
|
+
* @memberof HelmPortRequestPortsInner
|
|
7459
|
+
*/
|
|
7460
|
+
'internal_port': number;
|
|
7461
|
+
/**
|
|
7462
|
+
* The exposed port for your service. This is optional. If not set a default port will be used.
|
|
7463
|
+
* @type {number}
|
|
7464
|
+
* @memberof HelmPortRequestPortsInner
|
|
7465
|
+
*/
|
|
7466
|
+
'external_port'?: number;
|
|
7467
|
+
/**
|
|
7468
|
+
*
|
|
7469
|
+
* @type {string}
|
|
7470
|
+
* @memberof HelmPortRequestPortsInner
|
|
7471
|
+
*/
|
|
7472
|
+
'service_name': string;
|
|
7473
|
+
/**
|
|
7474
|
+
*
|
|
7475
|
+
* @type {string}
|
|
7476
|
+
* @memberof HelmPortRequestPortsInner
|
|
7477
|
+
*/
|
|
7478
|
+
'namespace'?: string;
|
|
7479
|
+
/**
|
|
7480
|
+
*
|
|
7481
|
+
* @type {HelmPortProtocolEnum}
|
|
7482
|
+
* @memberof HelmPortRequestPortsInner
|
|
7483
|
+
*/
|
|
7484
|
+
'protocol'?: HelmPortProtocolEnum;
|
|
7485
|
+
}
|
|
7420
7486
|
/**
|
|
7421
7487
|
* The type of your helm repository
|
|
7422
7488
|
* @export
|
|
@@ -7557,6 +7623,12 @@ export interface HelmRepositoryResponseList {
|
|
|
7557
7623
|
* @interface HelmRequest
|
|
7558
7624
|
*/
|
|
7559
7625
|
export interface HelmRequest {
|
|
7626
|
+
/**
|
|
7627
|
+
*
|
|
7628
|
+
* @type {Array<HelmPortRequestPortsInner>}
|
|
7629
|
+
* @memberof HelmRequest
|
|
7630
|
+
*/
|
|
7631
|
+
'ports'?: Array<HelmPortRequestPortsInner>;
|
|
7560
7632
|
/**
|
|
7561
7633
|
* name is case insensitive
|
|
7562
7634
|
* @type {string}
|
|
@@ -7824,6 +7896,12 @@ export interface HelmResponse {
|
|
|
7824
7896
|
* @memberof HelmResponse
|
|
7825
7897
|
*/
|
|
7826
7898
|
'auto_deploy': boolean;
|
|
7899
|
+
/**
|
|
7900
|
+
*
|
|
7901
|
+
* @type {Array<HelmResponseAllOfPorts>}
|
|
7902
|
+
* @memberof HelmResponse
|
|
7903
|
+
*/
|
|
7904
|
+
'ports'?: Array<HelmResponseAllOfPorts>;
|
|
7827
7905
|
/**
|
|
7828
7906
|
*
|
|
7829
7907
|
* @type {HelmResponseAllOfSource}
|
|
@@ -7849,6 +7927,55 @@ export interface HelmResponse {
|
|
|
7849
7927
|
*/
|
|
7850
7928
|
'values_override': HelmRequestAllOfValuesOverride;
|
|
7851
7929
|
}
|
|
7930
|
+
/**
|
|
7931
|
+
*
|
|
7932
|
+
* @export
|
|
7933
|
+
* @interface HelmResponseAllOfPorts
|
|
7934
|
+
*/
|
|
7935
|
+
export interface HelmResponseAllOfPorts {
|
|
7936
|
+
/**
|
|
7937
|
+
*
|
|
7938
|
+
* @type {string}
|
|
7939
|
+
* @memberof HelmResponseAllOfPorts
|
|
7940
|
+
*/
|
|
7941
|
+
'id': string;
|
|
7942
|
+
/**
|
|
7943
|
+
*
|
|
7944
|
+
* @type {string}
|
|
7945
|
+
* @memberof HelmResponseAllOfPorts
|
|
7946
|
+
*/
|
|
7947
|
+
'name'?: string;
|
|
7948
|
+
/**
|
|
7949
|
+
* The listening port of your service.
|
|
7950
|
+
* @type {number}
|
|
7951
|
+
* @memberof HelmResponseAllOfPorts
|
|
7952
|
+
*/
|
|
7953
|
+
'internal_port': number;
|
|
7954
|
+
/**
|
|
7955
|
+
* The exposed port for your service. This is optional. If not set a default port will be used.
|
|
7956
|
+
* @type {number}
|
|
7957
|
+
* @memberof HelmResponseAllOfPorts
|
|
7958
|
+
*/
|
|
7959
|
+
'external_port'?: number;
|
|
7960
|
+
/**
|
|
7961
|
+
*
|
|
7962
|
+
* @type {string}
|
|
7963
|
+
* @memberof HelmResponseAllOfPorts
|
|
7964
|
+
*/
|
|
7965
|
+
'service_name': string;
|
|
7966
|
+
/**
|
|
7967
|
+
*
|
|
7968
|
+
* @type {string}
|
|
7969
|
+
* @memberof HelmResponseAllOfPorts
|
|
7970
|
+
*/
|
|
7971
|
+
'namespace'?: string;
|
|
7972
|
+
/**
|
|
7973
|
+
*
|
|
7974
|
+
* @type {HelmPortProtocolEnum}
|
|
7975
|
+
* @memberof HelmResponseAllOfPorts
|
|
7976
|
+
*/
|
|
7977
|
+
'protocol': HelmPortProtocolEnum;
|
|
7978
|
+
}
|
|
7852
7979
|
/**
|
|
7853
7980
|
* @type HelmResponseAllOfSource
|
|
7854
7981
|
* @export
|
|
@@ -8986,6 +9113,7 @@ export declare const LinkedServiceTypeEnum: {
|
|
|
8986
9113
|
readonly CONTAINER: "CONTAINER";
|
|
8987
9114
|
readonly DATABASE: "DATABASE";
|
|
8988
9115
|
readonly JOB: "JOB";
|
|
9116
|
+
readonly HELM: "HELM";
|
|
8989
9117
|
};
|
|
8990
9118
|
export type LinkedServiceTypeEnum = typeof LinkedServiceTypeEnum[keyof typeof LinkedServiceTypeEnum];
|
|
8991
9119
|
/**
|
|
@@ -12285,6 +12413,18 @@ export declare const ServiceTypeEnum: {
|
|
|
12285
12413
|
readonly DATABASE: "DATABASE";
|
|
12286
12414
|
};
|
|
12287
12415
|
export type ServiceTypeEnum = typeof ServiceTypeEnum[keyof typeof ServiceTypeEnum];
|
|
12416
|
+
/**
|
|
12417
|
+
* type of the service
|
|
12418
|
+
* @export
|
|
12419
|
+
* @enum {string}
|
|
12420
|
+
*/
|
|
12421
|
+
export declare const ServiceTypeForVariableEnum: {
|
|
12422
|
+
readonly APPLICATION: "APPLICATION";
|
|
12423
|
+
readonly CONTAINER: "CONTAINER";
|
|
12424
|
+
readonly JOB: "JOB";
|
|
12425
|
+
readonly HELM: "HELM";
|
|
12426
|
+
};
|
|
12427
|
+
export type ServiceTypeForVariableEnum = typeof ServiceTypeForVariableEnum[keyof typeof ServiceTypeForVariableEnum];
|
|
12288
12428
|
/**
|
|
12289
12429
|
*
|
|
12290
12430
|
* @export
|
|
@@ -29459,12 +29599,12 @@ export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Con
|
|
|
29459
29599
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
29460
29600
|
* @summary Import variables
|
|
29461
29601
|
* @param {string} serviceId service id
|
|
29462
|
-
* @param {
|
|
29602
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
29463
29603
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
29464
29604
|
* @param {*} [options] Override http request option.
|
|
29465
29605
|
* @throws {RequiredError}
|
|
29466
29606
|
*/
|
|
29467
|
-
importEnvironmentVariables: (serviceId: string,
|
|
29607
|
+
importEnvironmentVariables: (serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29468
29608
|
/**
|
|
29469
29609
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
29470
29610
|
* @summary List variables
|
|
@@ -29528,12 +29668,12 @@ export declare const VariableMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
29528
29668
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
29529
29669
|
* @summary Import variables
|
|
29530
29670
|
* @param {string} serviceId service id
|
|
29531
|
-
* @param {
|
|
29671
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
29532
29672
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
29533
29673
|
* @param {*} [options] Override http request option.
|
|
29534
29674
|
* @throws {RequiredError}
|
|
29535
29675
|
*/
|
|
29536
|
-
importEnvironmentVariables(serviceId: string,
|
|
29676
|
+
importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableImport>>;
|
|
29537
29677
|
/**
|
|
29538
29678
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
29539
29679
|
* @summary List variables
|
|
@@ -29597,12 +29737,12 @@ export declare const VariableMainCallsApiFactory: (configuration?: Configuration
|
|
|
29597
29737
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
29598
29738
|
* @summary Import variables
|
|
29599
29739
|
* @param {string} serviceId service id
|
|
29600
|
-
* @param {
|
|
29740
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
29601
29741
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
29602
29742
|
* @param {*} [options] Override http request option.
|
|
29603
29743
|
* @throws {RequiredError}
|
|
29604
29744
|
*/
|
|
29605
|
-
importEnvironmentVariables(serviceId: string,
|
|
29745
|
+
importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: any): AxiosPromise<VariableImport>;
|
|
29606
29746
|
/**
|
|
29607
29747
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
29608
29748
|
* @summary List variables
|
|
@@ -29673,13 +29813,13 @@ export declare class VariableMainCallsApi extends BaseAPI {
|
|
|
29673
29813
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
29674
29814
|
* @summary Import variables
|
|
29675
29815
|
* @param {string} serviceId service id
|
|
29676
|
-
* @param {
|
|
29816
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
29677
29817
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
29678
29818
|
* @param {*} [options] Override http request option.
|
|
29679
29819
|
* @throws {RequiredError}
|
|
29680
29820
|
* @memberof VariableMainCallsApi
|
|
29681
29821
|
*/
|
|
29682
|
-
importEnvironmentVariables(serviceId: string,
|
|
29822
|
+
importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VariableImport, any>>;
|
|
29683
29823
|
/**
|
|
29684
29824
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
29685
29825
|
* @summary List variables
|
package/dist/api.js
CHANGED
|
@@ -22,14 +22,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
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 = void 0;
|
|
25
|
+
exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.LinkedServiceTypeEnum = exports.KubernetesEnum = exports.JobScheduleEvent = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceStepMetricNameEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = void 0;
|
|
27
|
+
exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = void 0;
|
|
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.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 = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = void 0;
|
|
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
|
+
exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = 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.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.HelmApi = exports.HelmApiFactory = exports.HelmApiFp = exports.HelmApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = void 0;
|
|
31
|
+
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 = 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 = void 0;
|
|
32
|
+
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 = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -338,6 +338,15 @@ exports.GitTokenAssociatedServiceType = {
|
|
|
338
338
|
exports.HelmForceEvent = {
|
|
339
339
|
DIFF: 'DIFF'
|
|
340
340
|
};
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @export
|
|
344
|
+
* @enum {string}
|
|
345
|
+
*/
|
|
346
|
+
exports.HelmPortProtocolEnum = {
|
|
347
|
+
HTTP: 'HTTP',
|
|
348
|
+
GRPC: 'GRPC'
|
|
349
|
+
};
|
|
341
350
|
/**
|
|
342
351
|
* The type of your helm repository
|
|
343
352
|
* @export
|
|
@@ -421,7 +430,8 @@ exports.LinkedServiceTypeEnum = {
|
|
|
421
430
|
APPLICATION: 'APPLICATION',
|
|
422
431
|
CONTAINER: 'CONTAINER',
|
|
423
432
|
DATABASE: 'DATABASE',
|
|
424
|
-
JOB: 'JOB'
|
|
433
|
+
JOB: 'JOB',
|
|
434
|
+
HELM: 'HELM'
|
|
425
435
|
};
|
|
426
436
|
/**
|
|
427
437
|
* deprecated
|
|
@@ -623,6 +633,17 @@ exports.ServiceTypeEnum = {
|
|
|
623
633
|
APPLICATION: 'APPLICATION',
|
|
624
634
|
DATABASE: 'DATABASE'
|
|
625
635
|
};
|
|
636
|
+
/**
|
|
637
|
+
* type of the service
|
|
638
|
+
* @export
|
|
639
|
+
* @enum {string}
|
|
640
|
+
*/
|
|
641
|
+
exports.ServiceTypeForVariableEnum = {
|
|
642
|
+
APPLICATION: 'APPLICATION',
|
|
643
|
+
CONTAINER: 'CONTAINER',
|
|
644
|
+
JOB: 'JOB',
|
|
645
|
+
HELM: 'HELM'
|
|
646
|
+
};
|
|
626
647
|
/**
|
|
627
648
|
* The name of the deployment step at the stage level: - QUEUEING: The step preceding the actual stage deployment step. - PROVISION_BUILDER: The step to provision builders before the actual build.
|
|
628
649
|
* @export
|
|
@@ -32465,16 +32486,16 @@ const VariableMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
32465
32486
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32466
32487
|
* @summary Import variables
|
|
32467
32488
|
* @param {string} serviceId service id
|
|
32468
|
-
* @param {
|
|
32489
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
32469
32490
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32470
32491
|
* @param {*} [options] Override http request option.
|
|
32471
32492
|
* @throws {RequiredError}
|
|
32472
32493
|
*/
|
|
32473
|
-
importEnvironmentVariables: (serviceId,
|
|
32494
|
+
importEnvironmentVariables: (serviceId, serviceType, variableImportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
32474
32495
|
// verify required parameter 'serviceId' is not null or undefined
|
|
32475
32496
|
(0, common_1.assertParamExists)('importEnvironmentVariables', 'serviceId', serviceId);
|
|
32476
|
-
// verify required parameter '
|
|
32477
|
-
(0, common_1.assertParamExists)('importEnvironmentVariables', '
|
|
32497
|
+
// verify required parameter 'serviceType' is not null or undefined
|
|
32498
|
+
(0, common_1.assertParamExists)('importEnvironmentVariables', 'serviceType', serviceType);
|
|
32478
32499
|
const localVarPath = `/variable/import`;
|
|
32479
32500
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32480
32501
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -32493,8 +32514,8 @@ const VariableMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
32493
32514
|
if (serviceId !== undefined) {
|
|
32494
32515
|
localVarQueryParameter['service_id'] = serviceId;
|
|
32495
32516
|
}
|
|
32496
|
-
if (
|
|
32497
|
-
localVarQueryParameter['
|
|
32517
|
+
if (serviceType !== undefined) {
|
|
32518
|
+
localVarQueryParameter['service_type'] = serviceType;
|
|
32498
32519
|
}
|
|
32499
32520
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32500
32521
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -32634,14 +32655,14 @@ const VariableMainCallsApiFp = function (configuration) {
|
|
|
32634
32655
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32635
32656
|
* @summary Import variables
|
|
32636
32657
|
* @param {string} serviceId service id
|
|
32637
|
-
* @param {
|
|
32658
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
32638
32659
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32639
32660
|
* @param {*} [options] Override http request option.
|
|
32640
32661
|
* @throws {RequiredError}
|
|
32641
32662
|
*/
|
|
32642
|
-
importEnvironmentVariables(serviceId,
|
|
32663
|
+
importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options) {
|
|
32643
32664
|
return __awaiter(this, void 0, void 0, function* () {
|
|
32644
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.importEnvironmentVariables(serviceId,
|
|
32665
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options);
|
|
32645
32666
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
32646
32667
|
});
|
|
32647
32668
|
},
|
|
@@ -32727,13 +32748,13 @@ const VariableMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
32727
32748
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32728
32749
|
* @summary Import variables
|
|
32729
32750
|
* @param {string} serviceId service id
|
|
32730
|
-
* @param {
|
|
32751
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
32731
32752
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32732
32753
|
* @param {*} [options] Override http request option.
|
|
32733
32754
|
* @throws {RequiredError}
|
|
32734
32755
|
*/
|
|
32735
|
-
importEnvironmentVariables(serviceId,
|
|
32736
|
-
return localVarFp.importEnvironmentVariables(serviceId,
|
|
32756
|
+
importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options) {
|
|
32757
|
+
return localVarFp.importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options).then((request) => request(axios, basePath));
|
|
32737
32758
|
},
|
|
32738
32759
|
/**
|
|
32739
32760
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
@@ -32819,14 +32840,14 @@ class VariableMainCallsApi extends base_1.BaseAPI {
|
|
|
32819
32840
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32820
32841
|
* @summary Import variables
|
|
32821
32842
|
* @param {string} serviceId service id
|
|
32822
|
-
* @param {
|
|
32843
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
32823
32844
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32824
32845
|
* @param {*} [options] Override http request option.
|
|
32825
32846
|
* @throws {RequiredError}
|
|
32826
32847
|
* @memberof VariableMainCallsApi
|
|
32827
32848
|
*/
|
|
32828
|
-
importEnvironmentVariables(serviceId,
|
|
32829
|
-
return (0, exports.VariableMainCallsApiFp)(this.configuration).importEnvironmentVariables(serviceId,
|
|
32849
|
+
importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options) {
|
|
32850
|
+
return (0, exports.VariableMainCallsApiFp)(this.configuration).importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32830
32851
|
}
|
|
32831
32852
|
/**
|
|
32832
32853
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -7417,6 +7417,72 @@ export declare const HelmForceEvent: {
|
|
|
7417
7417
|
readonly DIFF: "DIFF";
|
|
7418
7418
|
};
|
|
7419
7419
|
export type HelmForceEvent = typeof HelmForceEvent[keyof typeof HelmForceEvent];
|
|
7420
|
+
/**
|
|
7421
|
+
*
|
|
7422
|
+
* @export
|
|
7423
|
+
* @enum {string}
|
|
7424
|
+
*/
|
|
7425
|
+
export declare const HelmPortProtocolEnum: {
|
|
7426
|
+
readonly HTTP: "HTTP";
|
|
7427
|
+
readonly GRPC: "GRPC";
|
|
7428
|
+
};
|
|
7429
|
+
export type HelmPortProtocolEnum = typeof HelmPortProtocolEnum[keyof typeof HelmPortProtocolEnum];
|
|
7430
|
+
/**
|
|
7431
|
+
*
|
|
7432
|
+
* @export
|
|
7433
|
+
* @interface HelmPortRequest
|
|
7434
|
+
*/
|
|
7435
|
+
export interface HelmPortRequest {
|
|
7436
|
+
/**
|
|
7437
|
+
*
|
|
7438
|
+
* @type {Array<HelmPortRequestPortsInner>}
|
|
7439
|
+
* @memberof HelmPortRequest
|
|
7440
|
+
*/
|
|
7441
|
+
'ports'?: Array<HelmPortRequestPortsInner>;
|
|
7442
|
+
}
|
|
7443
|
+
/**
|
|
7444
|
+
*
|
|
7445
|
+
* @export
|
|
7446
|
+
* @interface HelmPortRequestPortsInner
|
|
7447
|
+
*/
|
|
7448
|
+
export interface HelmPortRequestPortsInner {
|
|
7449
|
+
/**
|
|
7450
|
+
*
|
|
7451
|
+
* @type {string}
|
|
7452
|
+
* @memberof HelmPortRequestPortsInner
|
|
7453
|
+
*/
|
|
7454
|
+
'name'?: string;
|
|
7455
|
+
/**
|
|
7456
|
+
* The listening port of your service.
|
|
7457
|
+
* @type {number}
|
|
7458
|
+
* @memberof HelmPortRequestPortsInner
|
|
7459
|
+
*/
|
|
7460
|
+
'internal_port': number;
|
|
7461
|
+
/**
|
|
7462
|
+
* The exposed port for your service. This is optional. If not set a default port will be used.
|
|
7463
|
+
* @type {number}
|
|
7464
|
+
* @memberof HelmPortRequestPortsInner
|
|
7465
|
+
*/
|
|
7466
|
+
'external_port'?: number;
|
|
7467
|
+
/**
|
|
7468
|
+
*
|
|
7469
|
+
* @type {string}
|
|
7470
|
+
* @memberof HelmPortRequestPortsInner
|
|
7471
|
+
*/
|
|
7472
|
+
'service_name': string;
|
|
7473
|
+
/**
|
|
7474
|
+
*
|
|
7475
|
+
* @type {string}
|
|
7476
|
+
* @memberof HelmPortRequestPortsInner
|
|
7477
|
+
*/
|
|
7478
|
+
'namespace'?: string;
|
|
7479
|
+
/**
|
|
7480
|
+
*
|
|
7481
|
+
* @type {HelmPortProtocolEnum}
|
|
7482
|
+
* @memberof HelmPortRequestPortsInner
|
|
7483
|
+
*/
|
|
7484
|
+
'protocol'?: HelmPortProtocolEnum;
|
|
7485
|
+
}
|
|
7420
7486
|
/**
|
|
7421
7487
|
* The type of your helm repository
|
|
7422
7488
|
* @export
|
|
@@ -7557,6 +7623,12 @@ export interface HelmRepositoryResponseList {
|
|
|
7557
7623
|
* @interface HelmRequest
|
|
7558
7624
|
*/
|
|
7559
7625
|
export interface HelmRequest {
|
|
7626
|
+
/**
|
|
7627
|
+
*
|
|
7628
|
+
* @type {Array<HelmPortRequestPortsInner>}
|
|
7629
|
+
* @memberof HelmRequest
|
|
7630
|
+
*/
|
|
7631
|
+
'ports'?: Array<HelmPortRequestPortsInner>;
|
|
7560
7632
|
/**
|
|
7561
7633
|
* name is case insensitive
|
|
7562
7634
|
* @type {string}
|
|
@@ -7824,6 +7896,12 @@ export interface HelmResponse {
|
|
|
7824
7896
|
* @memberof HelmResponse
|
|
7825
7897
|
*/
|
|
7826
7898
|
'auto_deploy': boolean;
|
|
7899
|
+
/**
|
|
7900
|
+
*
|
|
7901
|
+
* @type {Array<HelmResponseAllOfPorts>}
|
|
7902
|
+
* @memberof HelmResponse
|
|
7903
|
+
*/
|
|
7904
|
+
'ports'?: Array<HelmResponseAllOfPorts>;
|
|
7827
7905
|
/**
|
|
7828
7906
|
*
|
|
7829
7907
|
* @type {HelmResponseAllOfSource}
|
|
@@ -7849,6 +7927,55 @@ export interface HelmResponse {
|
|
|
7849
7927
|
*/
|
|
7850
7928
|
'values_override': HelmRequestAllOfValuesOverride;
|
|
7851
7929
|
}
|
|
7930
|
+
/**
|
|
7931
|
+
*
|
|
7932
|
+
* @export
|
|
7933
|
+
* @interface HelmResponseAllOfPorts
|
|
7934
|
+
*/
|
|
7935
|
+
export interface HelmResponseAllOfPorts {
|
|
7936
|
+
/**
|
|
7937
|
+
*
|
|
7938
|
+
* @type {string}
|
|
7939
|
+
* @memberof HelmResponseAllOfPorts
|
|
7940
|
+
*/
|
|
7941
|
+
'id': string;
|
|
7942
|
+
/**
|
|
7943
|
+
*
|
|
7944
|
+
* @type {string}
|
|
7945
|
+
* @memberof HelmResponseAllOfPorts
|
|
7946
|
+
*/
|
|
7947
|
+
'name'?: string;
|
|
7948
|
+
/**
|
|
7949
|
+
* The listening port of your service.
|
|
7950
|
+
* @type {number}
|
|
7951
|
+
* @memberof HelmResponseAllOfPorts
|
|
7952
|
+
*/
|
|
7953
|
+
'internal_port': number;
|
|
7954
|
+
/**
|
|
7955
|
+
* The exposed port for your service. This is optional. If not set a default port will be used.
|
|
7956
|
+
* @type {number}
|
|
7957
|
+
* @memberof HelmResponseAllOfPorts
|
|
7958
|
+
*/
|
|
7959
|
+
'external_port'?: number;
|
|
7960
|
+
/**
|
|
7961
|
+
*
|
|
7962
|
+
* @type {string}
|
|
7963
|
+
* @memberof HelmResponseAllOfPorts
|
|
7964
|
+
*/
|
|
7965
|
+
'service_name': string;
|
|
7966
|
+
/**
|
|
7967
|
+
*
|
|
7968
|
+
* @type {string}
|
|
7969
|
+
* @memberof HelmResponseAllOfPorts
|
|
7970
|
+
*/
|
|
7971
|
+
'namespace'?: string;
|
|
7972
|
+
/**
|
|
7973
|
+
*
|
|
7974
|
+
* @type {HelmPortProtocolEnum}
|
|
7975
|
+
* @memberof HelmResponseAllOfPorts
|
|
7976
|
+
*/
|
|
7977
|
+
'protocol': HelmPortProtocolEnum;
|
|
7978
|
+
}
|
|
7852
7979
|
/**
|
|
7853
7980
|
* @type HelmResponseAllOfSource
|
|
7854
7981
|
* @export
|
|
@@ -8986,6 +9113,7 @@ export declare const LinkedServiceTypeEnum: {
|
|
|
8986
9113
|
readonly CONTAINER: "CONTAINER";
|
|
8987
9114
|
readonly DATABASE: "DATABASE";
|
|
8988
9115
|
readonly JOB: "JOB";
|
|
9116
|
+
readonly HELM: "HELM";
|
|
8989
9117
|
};
|
|
8990
9118
|
export type LinkedServiceTypeEnum = typeof LinkedServiceTypeEnum[keyof typeof LinkedServiceTypeEnum];
|
|
8991
9119
|
/**
|
|
@@ -12285,6 +12413,18 @@ export declare const ServiceTypeEnum: {
|
|
|
12285
12413
|
readonly DATABASE: "DATABASE";
|
|
12286
12414
|
};
|
|
12287
12415
|
export type ServiceTypeEnum = typeof ServiceTypeEnum[keyof typeof ServiceTypeEnum];
|
|
12416
|
+
/**
|
|
12417
|
+
* type of the service
|
|
12418
|
+
* @export
|
|
12419
|
+
* @enum {string}
|
|
12420
|
+
*/
|
|
12421
|
+
export declare const ServiceTypeForVariableEnum: {
|
|
12422
|
+
readonly APPLICATION: "APPLICATION";
|
|
12423
|
+
readonly CONTAINER: "CONTAINER";
|
|
12424
|
+
readonly JOB: "JOB";
|
|
12425
|
+
readonly HELM: "HELM";
|
|
12426
|
+
};
|
|
12427
|
+
export type ServiceTypeForVariableEnum = typeof ServiceTypeForVariableEnum[keyof typeof ServiceTypeForVariableEnum];
|
|
12288
12428
|
/**
|
|
12289
12429
|
*
|
|
12290
12430
|
* @export
|
|
@@ -29459,12 +29599,12 @@ export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Con
|
|
|
29459
29599
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
29460
29600
|
* @summary Import variables
|
|
29461
29601
|
* @param {string} serviceId service id
|
|
29462
|
-
* @param {
|
|
29602
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
29463
29603
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
29464
29604
|
* @param {*} [options] Override http request option.
|
|
29465
29605
|
* @throws {RequiredError}
|
|
29466
29606
|
*/
|
|
29467
|
-
importEnvironmentVariables: (serviceId: string,
|
|
29607
|
+
importEnvironmentVariables: (serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29468
29608
|
/**
|
|
29469
29609
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
29470
29610
|
* @summary List variables
|
|
@@ -29528,12 +29668,12 @@ export declare const VariableMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
29528
29668
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
29529
29669
|
* @summary Import variables
|
|
29530
29670
|
* @param {string} serviceId service id
|
|
29531
|
-
* @param {
|
|
29671
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
29532
29672
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
29533
29673
|
* @param {*} [options] Override http request option.
|
|
29534
29674
|
* @throws {RequiredError}
|
|
29535
29675
|
*/
|
|
29536
|
-
importEnvironmentVariables(serviceId: string,
|
|
29676
|
+
importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableImport>>;
|
|
29537
29677
|
/**
|
|
29538
29678
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
29539
29679
|
* @summary List variables
|
|
@@ -29597,12 +29737,12 @@ export declare const VariableMainCallsApiFactory: (configuration?: Configuration
|
|
|
29597
29737
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
29598
29738
|
* @summary Import variables
|
|
29599
29739
|
* @param {string} serviceId service id
|
|
29600
|
-
* @param {
|
|
29740
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
29601
29741
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
29602
29742
|
* @param {*} [options] Override http request option.
|
|
29603
29743
|
* @throws {RequiredError}
|
|
29604
29744
|
*/
|
|
29605
|
-
importEnvironmentVariables(serviceId: string,
|
|
29745
|
+
importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: any): AxiosPromise<VariableImport>;
|
|
29606
29746
|
/**
|
|
29607
29747
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
29608
29748
|
* @summary List variables
|
|
@@ -29673,13 +29813,13 @@ export declare class VariableMainCallsApi extends BaseAPI {
|
|
|
29673
29813
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
29674
29814
|
* @summary Import variables
|
|
29675
29815
|
* @param {string} serviceId service id
|
|
29676
|
-
* @param {
|
|
29816
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
29677
29817
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
29678
29818
|
* @param {*} [options] Override http request option.
|
|
29679
29819
|
* @throws {RequiredError}
|
|
29680
29820
|
* @memberof VariableMainCallsApi
|
|
29681
29821
|
*/
|
|
29682
|
-
importEnvironmentVariables(serviceId: string,
|
|
29822
|
+
importEnvironmentVariables(serviceId: string, serviceType: ServiceTypeForVariableEnum, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VariableImport, any>>;
|
|
29683
29823
|
/**
|
|
29684
29824
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
29685
29825
|
* @summary List variables
|
package/dist/esm/api.js
CHANGED
|
@@ -328,6 +328,15 @@ export const GitTokenAssociatedServiceType = {
|
|
|
328
328
|
export const HelmForceEvent = {
|
|
329
329
|
DIFF: 'DIFF'
|
|
330
330
|
};
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @export
|
|
334
|
+
* @enum {string}
|
|
335
|
+
*/
|
|
336
|
+
export const HelmPortProtocolEnum = {
|
|
337
|
+
HTTP: 'HTTP',
|
|
338
|
+
GRPC: 'GRPC'
|
|
339
|
+
};
|
|
331
340
|
/**
|
|
332
341
|
* The type of your helm repository
|
|
333
342
|
* @export
|
|
@@ -411,7 +420,8 @@ export const LinkedServiceTypeEnum = {
|
|
|
411
420
|
APPLICATION: 'APPLICATION',
|
|
412
421
|
CONTAINER: 'CONTAINER',
|
|
413
422
|
DATABASE: 'DATABASE',
|
|
414
|
-
JOB: 'JOB'
|
|
423
|
+
JOB: 'JOB',
|
|
424
|
+
HELM: 'HELM'
|
|
415
425
|
};
|
|
416
426
|
/**
|
|
417
427
|
* deprecated
|
|
@@ -613,6 +623,17 @@ export const ServiceTypeEnum = {
|
|
|
613
623
|
APPLICATION: 'APPLICATION',
|
|
614
624
|
DATABASE: 'DATABASE'
|
|
615
625
|
};
|
|
626
|
+
/**
|
|
627
|
+
* type of the service
|
|
628
|
+
* @export
|
|
629
|
+
* @enum {string}
|
|
630
|
+
*/
|
|
631
|
+
export const ServiceTypeForVariableEnum = {
|
|
632
|
+
APPLICATION: 'APPLICATION',
|
|
633
|
+
CONTAINER: 'CONTAINER',
|
|
634
|
+
JOB: 'JOB',
|
|
635
|
+
HELM: 'HELM'
|
|
636
|
+
};
|
|
616
637
|
/**
|
|
617
638
|
* The name of the deployment step at the stage level: - QUEUEING: The step preceding the actual stage deployment step. - PROVISION_BUILDER: The step to provision builders before the actual build.
|
|
618
639
|
* @export
|
|
@@ -32143,16 +32164,16 @@ export const VariableMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
32143
32164
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32144
32165
|
* @summary Import variables
|
|
32145
32166
|
* @param {string} serviceId service id
|
|
32146
|
-
* @param {
|
|
32167
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
32147
32168
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32148
32169
|
* @param {*} [options] Override http request option.
|
|
32149
32170
|
* @throws {RequiredError}
|
|
32150
32171
|
*/
|
|
32151
|
-
importEnvironmentVariables: (serviceId,
|
|
32172
|
+
importEnvironmentVariables: (serviceId, serviceType, variableImportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
32152
32173
|
// verify required parameter 'serviceId' is not null or undefined
|
|
32153
32174
|
assertParamExists('importEnvironmentVariables', 'serviceId', serviceId);
|
|
32154
|
-
// verify required parameter '
|
|
32155
|
-
assertParamExists('importEnvironmentVariables', '
|
|
32175
|
+
// verify required parameter 'serviceType' is not null or undefined
|
|
32176
|
+
assertParamExists('importEnvironmentVariables', 'serviceType', serviceType);
|
|
32156
32177
|
const localVarPath = `/variable/import`;
|
|
32157
32178
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32158
32179
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32171,8 +32192,8 @@ export const VariableMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
32171
32192
|
if (serviceId !== undefined) {
|
|
32172
32193
|
localVarQueryParameter['service_id'] = serviceId;
|
|
32173
32194
|
}
|
|
32174
|
-
if (
|
|
32175
|
-
localVarQueryParameter['
|
|
32195
|
+
if (serviceType !== undefined) {
|
|
32196
|
+
localVarQueryParameter['service_type'] = serviceType;
|
|
32176
32197
|
}
|
|
32177
32198
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32178
32199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -32311,14 +32332,14 @@ export const VariableMainCallsApiFp = function (configuration) {
|
|
|
32311
32332
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32312
32333
|
* @summary Import variables
|
|
32313
32334
|
* @param {string} serviceId service id
|
|
32314
|
-
* @param {
|
|
32335
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
32315
32336
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32316
32337
|
* @param {*} [options] Override http request option.
|
|
32317
32338
|
* @throws {RequiredError}
|
|
32318
32339
|
*/
|
|
32319
|
-
importEnvironmentVariables(serviceId,
|
|
32340
|
+
importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options) {
|
|
32320
32341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
32321
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.importEnvironmentVariables(serviceId,
|
|
32342
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options);
|
|
32322
32343
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32323
32344
|
});
|
|
32324
32345
|
},
|
|
@@ -32403,13 +32424,13 @@ export const VariableMainCallsApiFactory = function (configuration, basePath, ax
|
|
|
32403
32424
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32404
32425
|
* @summary Import variables
|
|
32405
32426
|
* @param {string} serviceId service id
|
|
32406
|
-
* @param {
|
|
32427
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
32407
32428
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32408
32429
|
* @param {*} [options] Override http request option.
|
|
32409
32430
|
* @throws {RequiredError}
|
|
32410
32431
|
*/
|
|
32411
|
-
importEnvironmentVariables(serviceId,
|
|
32412
|
-
return localVarFp.importEnvironmentVariables(serviceId,
|
|
32432
|
+
importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options) {
|
|
32433
|
+
return localVarFp.importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options).then((request) => request(axios, basePath));
|
|
32413
32434
|
},
|
|
32414
32435
|
/**
|
|
32415
32436
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|
|
@@ -32494,14 +32515,14 @@ export class VariableMainCallsApi extends BaseAPI {
|
|
|
32494
32515
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32495
32516
|
* @summary Import variables
|
|
32496
32517
|
* @param {string} serviceId service id
|
|
32497
|
-
* @param {
|
|
32518
|
+
* @param {ServiceTypeForVariableEnum} serviceType service type
|
|
32498
32519
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32499
32520
|
* @param {*} [options] Override http request option.
|
|
32500
32521
|
* @throws {RequiredError}
|
|
32501
32522
|
* @memberof VariableMainCallsApi
|
|
32502
32523
|
*/
|
|
32503
|
-
importEnvironmentVariables(serviceId,
|
|
32504
|
-
return VariableMainCallsApiFp(this.configuration).importEnvironmentVariables(serviceId,
|
|
32524
|
+
importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options) {
|
|
32525
|
+
return VariableMainCallsApiFp(this.configuration).importEnvironmentVariables(serviceId, serviceType, variableImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32505
32526
|
}
|
|
32506
32527
|
/**
|
|
32507
32528
|
* Returns a list of variables. The result can be filtered by using the query parameters.
|