qovery-typescript-axios 1.1.727 → 1.1.728
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 +195 -0
- package/dist/api.d.ts +146 -0
- package/dist/api.js +94 -10
- package/dist/esm/api.d.ts +146 -0
- package/dist/esm/api.js +84 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -9706,6 +9706,34 @@ export interface GitFileCheckRequest {
|
|
|
9706
9706
|
*/
|
|
9707
9707
|
'files': Array<string>;
|
|
9708
9708
|
}
|
|
9709
|
+
/**
|
|
9710
|
+
* Git provider information
|
|
9711
|
+
* @export
|
|
9712
|
+
* @interface GitProvider
|
|
9713
|
+
*/
|
|
9714
|
+
export interface GitProvider {
|
|
9715
|
+
/**
|
|
9716
|
+
* The type of git provider
|
|
9717
|
+
* @type {string}
|
|
9718
|
+
* @memberof GitProvider
|
|
9719
|
+
*/
|
|
9720
|
+
'kind': GitProviderKindEnum;
|
|
9721
|
+
/**
|
|
9722
|
+
* Custom git provider URL (for self-hosted instances)
|
|
9723
|
+
* @type {string}
|
|
9724
|
+
* @memberof GitProvider
|
|
9725
|
+
*/
|
|
9726
|
+
'url'?: string | null;
|
|
9727
|
+
}
|
|
9728
|
+
|
|
9729
|
+
export const GitProviderKindEnum = {
|
|
9730
|
+
GITHUB: 'GITHUB',
|
|
9731
|
+
GITLAB: 'GITLAB',
|
|
9732
|
+
BITBUCKET: 'BITBUCKET'
|
|
9733
|
+
} as const;
|
|
9734
|
+
|
|
9735
|
+
export type GitProviderKindEnum = typeof GitProviderKindEnum[keyof typeof GitProviderKindEnum];
|
|
9736
|
+
|
|
9709
9737
|
/**
|
|
9710
9738
|
*
|
|
9711
9739
|
* @export
|
|
@@ -9784,6 +9812,43 @@ export interface GitRepositoryBranchResponseList {
|
|
|
9784
9812
|
*/
|
|
9785
9813
|
'results'?: Array<GitRepositoryBranch>;
|
|
9786
9814
|
}
|
|
9815
|
+
/**
|
|
9816
|
+
* Git repository information for Terraform operations
|
|
9817
|
+
* @export
|
|
9818
|
+
* @interface GitRepositoryRequest
|
|
9819
|
+
*/
|
|
9820
|
+
export interface GitRepositoryRequest {
|
|
9821
|
+
/**
|
|
9822
|
+
* Git repository URL
|
|
9823
|
+
* @type {string}
|
|
9824
|
+
* @memberof GitRepositoryRequest
|
|
9825
|
+
*/
|
|
9826
|
+
'url': string;
|
|
9827
|
+
/**
|
|
9828
|
+
* Name of the branch to use (optional)
|
|
9829
|
+
* @type {string}
|
|
9830
|
+
* @memberof GitRepositoryRequest
|
|
9831
|
+
*/
|
|
9832
|
+
'branch'?: string | null;
|
|
9833
|
+
/**
|
|
9834
|
+
* Root path within the repository
|
|
9835
|
+
* @type {string}
|
|
9836
|
+
* @memberof GitRepositoryRequest
|
|
9837
|
+
*/
|
|
9838
|
+
'root_path'?: string;
|
|
9839
|
+
/**
|
|
9840
|
+
* The git token id on Qovery side
|
|
9841
|
+
* @type {string}
|
|
9842
|
+
* @memberof GitRepositoryRequest
|
|
9843
|
+
*/
|
|
9844
|
+
'git_token_id'?: string | null;
|
|
9845
|
+
/**
|
|
9846
|
+
*
|
|
9847
|
+
* @type {GitProvider}
|
|
9848
|
+
* @memberof GitRepositoryRequest
|
|
9849
|
+
*/
|
|
9850
|
+
'provider': GitProvider;
|
|
9851
|
+
}
|
|
9787
9852
|
/**
|
|
9788
9853
|
*
|
|
9789
9854
|
* @export
|
|
@@ -13571,6 +13636,19 @@ export interface ListServicesByOrganizationId200Response {
|
|
|
13571
13636
|
*/
|
|
13572
13637
|
'results'?: Array<ServiceLightResponse>;
|
|
13573
13638
|
}
|
|
13639
|
+
/**
|
|
13640
|
+
*
|
|
13641
|
+
* @export
|
|
13642
|
+
* @interface ListTfVarsFilesFromGitRepo200Response
|
|
13643
|
+
*/
|
|
13644
|
+
export interface ListTfVarsFilesFromGitRepo200Response {
|
|
13645
|
+
/**
|
|
13646
|
+
*
|
|
13647
|
+
* @type {Array<TfVarsFileResponse>}
|
|
13648
|
+
* @memberof ListTfVarsFilesFromGitRepo200Response
|
|
13649
|
+
*/
|
|
13650
|
+
'results'?: Array<TfVarsFileResponse>;
|
|
13651
|
+
}
|
|
13574
13652
|
/**
|
|
13575
13653
|
*
|
|
13576
13654
|
* @export
|
|
@@ -18941,6 +19019,38 @@ export interface TerraformVersionResponseList {
|
|
|
18941
19019
|
*/
|
|
18942
19020
|
'results'?: Array<TerraformVersionResponse>;
|
|
18943
19021
|
}
|
|
19022
|
+
/**
|
|
19023
|
+
* Represents a Terraform tfvars file with its variables
|
|
19024
|
+
* @export
|
|
19025
|
+
* @interface TfVarsFileResponse
|
|
19026
|
+
*/
|
|
19027
|
+
export interface TfVarsFileResponse {
|
|
19028
|
+
/**
|
|
19029
|
+
* The path to the tfvars file within the Git repository
|
|
19030
|
+
* @type {string}
|
|
19031
|
+
* @memberof TfVarsFileResponse
|
|
19032
|
+
*/
|
|
19033
|
+
'source': string;
|
|
19034
|
+
/**
|
|
19035
|
+
* Map of variable names to their values from the tfvars file
|
|
19036
|
+
* @type {{ [key: string]: string; }}
|
|
19037
|
+
* @memberof TfVarsFileResponse
|
|
19038
|
+
*/
|
|
19039
|
+
'variables': { [key: string]: string; };
|
|
19040
|
+
}
|
|
19041
|
+
/**
|
|
19042
|
+
* Request to list Terraform tfvars files from a Git repository
|
|
19043
|
+
* @export
|
|
19044
|
+
* @interface TfVarsListRequest
|
|
19045
|
+
*/
|
|
19046
|
+
export interface TfVarsListRequest {
|
|
19047
|
+
/**
|
|
19048
|
+
*
|
|
19049
|
+
* @type {GitRepositoryRequest}
|
|
19050
|
+
* @memberof TfVarsListRequest
|
|
19051
|
+
*/
|
|
19052
|
+
'git_repository': GitRepositoryRequest;
|
|
19053
|
+
}
|
|
18944
19054
|
/**
|
|
18945
19055
|
*
|
|
18946
19056
|
* @export
|
|
@@ -56742,6 +56852,53 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
56742
56852
|
options: localVarRequestOptions,
|
|
56743
56853
|
};
|
|
56744
56854
|
},
|
|
56855
|
+
/**
|
|
56856
|
+
*
|
|
56857
|
+
* @summary List Terraform tfvars files from Git repository
|
|
56858
|
+
* @param {string} organizationId Organization ID
|
|
56859
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
56860
|
+
* @param {*} [options] Override http request option.
|
|
56861
|
+
* @throws {RequiredError}
|
|
56862
|
+
*/
|
|
56863
|
+
listTfVarsFilesFromGitRepo: async (organizationId: string, tfVarsListRequest: TfVarsListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56864
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
56865
|
+
assertParamExists('listTfVarsFilesFromGitRepo', 'organizationId', organizationId)
|
|
56866
|
+
// verify required parameter 'tfVarsListRequest' is not null or undefined
|
|
56867
|
+
assertParamExists('listTfVarsFilesFromGitRepo', 'tfVarsListRequest', tfVarsListRequest)
|
|
56868
|
+
const localVarPath = `/organization/{organizationId}/listTfVarsFilesFromGitRepo`
|
|
56869
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
56870
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56871
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56872
|
+
let baseOptions;
|
|
56873
|
+
if (configuration) {
|
|
56874
|
+
baseOptions = configuration.baseOptions;
|
|
56875
|
+
}
|
|
56876
|
+
|
|
56877
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
56878
|
+
const localVarHeaderParameter = {} as any;
|
|
56879
|
+
const localVarQueryParameter = {} as any;
|
|
56880
|
+
|
|
56881
|
+
// authentication ApiKeyAuth required
|
|
56882
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
56883
|
+
|
|
56884
|
+
// authentication bearerAuth required
|
|
56885
|
+
// http bearer authentication required
|
|
56886
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
56887
|
+
|
|
56888
|
+
|
|
56889
|
+
|
|
56890
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
56891
|
+
|
|
56892
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56893
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56894
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56895
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tfVarsListRequest, localVarRequestOptions, configuration)
|
|
56896
|
+
|
|
56897
|
+
return {
|
|
56898
|
+
url: toPathString(localVarUrlObj),
|
|
56899
|
+
options: localVarRequestOptions,
|
|
56900
|
+
};
|
|
56901
|
+
},
|
|
56745
56902
|
/**
|
|
56746
56903
|
*
|
|
56747
56904
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -57018,6 +57175,20 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
57018
57175
|
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.listServicesByOrganizationId']?.[localVarOperationServerIndex]?.url;
|
|
57019
57176
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57020
57177
|
},
|
|
57178
|
+
/**
|
|
57179
|
+
*
|
|
57180
|
+
* @summary List Terraform tfvars files from Git repository
|
|
57181
|
+
* @param {string} organizationId Organization ID
|
|
57182
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
57183
|
+
* @param {*} [options] Override http request option.
|
|
57184
|
+
* @throws {RequiredError}
|
|
57185
|
+
*/
|
|
57186
|
+
async listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTfVarsFilesFromGitRepo200Response>> {
|
|
57187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options);
|
|
57188
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57189
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.listTfVarsFilesFromGitRepo']?.[localVarOperationServerIndex]?.url;
|
|
57190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57191
|
+
},
|
|
57021
57192
|
/**
|
|
57022
57193
|
*
|
|
57023
57194
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -57213,6 +57384,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
57213
57384
|
listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListServicesByOrganizationId200Response> {
|
|
57214
57385
|
return localVarFp.listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options).then((request) => request(axios, basePath));
|
|
57215
57386
|
},
|
|
57387
|
+
/**
|
|
57388
|
+
*
|
|
57389
|
+
* @summary List Terraform tfvars files from Git repository
|
|
57390
|
+
* @param {string} organizationId Organization ID
|
|
57391
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
57392
|
+
* @param {*} [options] Override http request option.
|
|
57393
|
+
* @throws {RequiredError}
|
|
57394
|
+
*/
|
|
57395
|
+
listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTfVarsFilesFromGitRepo200Response> {
|
|
57396
|
+
return localVarFp.listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options).then((request) => request(axios, basePath));
|
|
57397
|
+
},
|
|
57216
57398
|
/**
|
|
57217
57399
|
*
|
|
57218
57400
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -57437,6 +57619,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
57437
57619
|
return OrganizationMainCallsApiFp(this.configuration).listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
57438
57620
|
}
|
|
57439
57621
|
|
|
57622
|
+
/**
|
|
57623
|
+
*
|
|
57624
|
+
* @summary List Terraform tfvars files from Git repository
|
|
57625
|
+
* @param {string} organizationId Organization ID
|
|
57626
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
57627
|
+
* @param {*} [options] Override http request option.
|
|
57628
|
+
* @throws {RequiredError}
|
|
57629
|
+
* @memberof OrganizationMainCallsApi
|
|
57630
|
+
*/
|
|
57631
|
+
public listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig) {
|
|
57632
|
+
return OrganizationMainCallsApiFp(this.configuration).listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
57633
|
+
}
|
|
57634
|
+
|
|
57440
57635
|
/**
|
|
57441
57636
|
*
|
|
57442
57637
|
* @summary Parse Terraform variables from Git repository
|
package/dist/api.d.ts
CHANGED
|
@@ -9408,6 +9408,31 @@ export interface GitFileCheckRequest {
|
|
|
9408
9408
|
*/
|
|
9409
9409
|
'files': Array<string>;
|
|
9410
9410
|
}
|
|
9411
|
+
/**
|
|
9412
|
+
* Git provider information
|
|
9413
|
+
* @export
|
|
9414
|
+
* @interface GitProvider
|
|
9415
|
+
*/
|
|
9416
|
+
export interface GitProvider {
|
|
9417
|
+
/**
|
|
9418
|
+
* The type of git provider
|
|
9419
|
+
* @type {string}
|
|
9420
|
+
* @memberof GitProvider
|
|
9421
|
+
*/
|
|
9422
|
+
'kind': GitProviderKindEnum;
|
|
9423
|
+
/**
|
|
9424
|
+
* Custom git provider URL (for self-hosted instances)
|
|
9425
|
+
* @type {string}
|
|
9426
|
+
* @memberof GitProvider
|
|
9427
|
+
*/
|
|
9428
|
+
'url'?: string | null;
|
|
9429
|
+
}
|
|
9430
|
+
export declare const GitProviderKindEnum: {
|
|
9431
|
+
readonly GITHUB: "GITHUB";
|
|
9432
|
+
readonly GITLAB: "GITLAB";
|
|
9433
|
+
readonly BITBUCKET: "BITBUCKET";
|
|
9434
|
+
};
|
|
9435
|
+
export type GitProviderKindEnum = typeof GitProviderKindEnum[keyof typeof GitProviderKindEnum];
|
|
9411
9436
|
/**
|
|
9412
9437
|
*
|
|
9413
9438
|
* @export
|
|
@@ -9482,6 +9507,43 @@ export interface GitRepositoryBranchResponseList {
|
|
|
9482
9507
|
*/
|
|
9483
9508
|
'results'?: Array<GitRepositoryBranch>;
|
|
9484
9509
|
}
|
|
9510
|
+
/**
|
|
9511
|
+
* Git repository information for Terraform operations
|
|
9512
|
+
* @export
|
|
9513
|
+
* @interface GitRepositoryRequest
|
|
9514
|
+
*/
|
|
9515
|
+
export interface GitRepositoryRequest {
|
|
9516
|
+
/**
|
|
9517
|
+
* Git repository URL
|
|
9518
|
+
* @type {string}
|
|
9519
|
+
* @memberof GitRepositoryRequest
|
|
9520
|
+
*/
|
|
9521
|
+
'url': string;
|
|
9522
|
+
/**
|
|
9523
|
+
* Name of the branch to use (optional)
|
|
9524
|
+
* @type {string}
|
|
9525
|
+
* @memberof GitRepositoryRequest
|
|
9526
|
+
*/
|
|
9527
|
+
'branch'?: string | null;
|
|
9528
|
+
/**
|
|
9529
|
+
* Root path within the repository
|
|
9530
|
+
* @type {string}
|
|
9531
|
+
* @memberof GitRepositoryRequest
|
|
9532
|
+
*/
|
|
9533
|
+
'root_path'?: string;
|
|
9534
|
+
/**
|
|
9535
|
+
* The git token id on Qovery side
|
|
9536
|
+
* @type {string}
|
|
9537
|
+
* @memberof GitRepositoryRequest
|
|
9538
|
+
*/
|
|
9539
|
+
'git_token_id'?: string | null;
|
|
9540
|
+
/**
|
|
9541
|
+
*
|
|
9542
|
+
* @type {GitProvider}
|
|
9543
|
+
* @memberof GitRepositoryRequest
|
|
9544
|
+
*/
|
|
9545
|
+
'provider': GitProvider;
|
|
9546
|
+
}
|
|
9485
9547
|
/**
|
|
9486
9548
|
*
|
|
9487
9549
|
* @export
|
|
@@ -13168,6 +13230,19 @@ export interface ListServicesByOrganizationId200Response {
|
|
|
13168
13230
|
*/
|
|
13169
13231
|
'results'?: Array<ServiceLightResponse>;
|
|
13170
13232
|
}
|
|
13233
|
+
/**
|
|
13234
|
+
*
|
|
13235
|
+
* @export
|
|
13236
|
+
* @interface ListTfVarsFilesFromGitRepo200Response
|
|
13237
|
+
*/
|
|
13238
|
+
export interface ListTfVarsFilesFromGitRepo200Response {
|
|
13239
|
+
/**
|
|
13240
|
+
*
|
|
13241
|
+
* @type {Array<TfVarsFileResponse>}
|
|
13242
|
+
* @memberof ListTfVarsFilesFromGitRepo200Response
|
|
13243
|
+
*/
|
|
13244
|
+
'results'?: Array<TfVarsFileResponse>;
|
|
13245
|
+
}
|
|
13171
13246
|
/**
|
|
13172
13247
|
*
|
|
13173
13248
|
* @export
|
|
@@ -18322,6 +18397,40 @@ export interface TerraformVersionResponseList {
|
|
|
18322
18397
|
*/
|
|
18323
18398
|
'results'?: Array<TerraformVersionResponse>;
|
|
18324
18399
|
}
|
|
18400
|
+
/**
|
|
18401
|
+
* Represents a Terraform tfvars file with its variables
|
|
18402
|
+
* @export
|
|
18403
|
+
* @interface TfVarsFileResponse
|
|
18404
|
+
*/
|
|
18405
|
+
export interface TfVarsFileResponse {
|
|
18406
|
+
/**
|
|
18407
|
+
* The path to the tfvars file within the Git repository
|
|
18408
|
+
* @type {string}
|
|
18409
|
+
* @memberof TfVarsFileResponse
|
|
18410
|
+
*/
|
|
18411
|
+
'source': string;
|
|
18412
|
+
/**
|
|
18413
|
+
* Map of variable names to their values from the tfvars file
|
|
18414
|
+
* @type {{ [key: string]: string; }}
|
|
18415
|
+
* @memberof TfVarsFileResponse
|
|
18416
|
+
*/
|
|
18417
|
+
'variables': {
|
|
18418
|
+
[key: string]: string;
|
|
18419
|
+
};
|
|
18420
|
+
}
|
|
18421
|
+
/**
|
|
18422
|
+
* Request to list Terraform tfvars files from a Git repository
|
|
18423
|
+
* @export
|
|
18424
|
+
* @interface TfVarsListRequest
|
|
18425
|
+
*/
|
|
18426
|
+
export interface TfVarsListRequest {
|
|
18427
|
+
/**
|
|
18428
|
+
*
|
|
18429
|
+
* @type {GitRepositoryRequest}
|
|
18430
|
+
* @memberof TfVarsListRequest
|
|
18431
|
+
*/
|
|
18432
|
+
'git_repository': GitRepositoryRequest;
|
|
18433
|
+
}
|
|
18325
18434
|
/**
|
|
18326
18435
|
*
|
|
18327
18436
|
* @export
|
|
@@ -35869,6 +35978,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
35869
35978
|
* @throws {RequiredError}
|
|
35870
35979
|
*/
|
|
35871
35980
|
listServicesByOrganizationId: (organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35981
|
+
/**
|
|
35982
|
+
*
|
|
35983
|
+
* @summary List Terraform tfvars files from Git repository
|
|
35984
|
+
* @param {string} organizationId Organization ID
|
|
35985
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
35986
|
+
* @param {*} [options] Override http request option.
|
|
35987
|
+
* @throws {RequiredError}
|
|
35988
|
+
*/
|
|
35989
|
+
listTfVarsFilesFromGitRepo: (organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35872
35990
|
/**
|
|
35873
35991
|
*
|
|
35874
35992
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36023,6 +36141,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
36023
36141
|
* @throws {RequiredError}
|
|
36024
36142
|
*/
|
|
36025
36143
|
listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByOrganizationId200Response>>;
|
|
36144
|
+
/**
|
|
36145
|
+
*
|
|
36146
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36147
|
+
* @param {string} organizationId Organization ID
|
|
36148
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36149
|
+
* @param {*} [options] Override http request option.
|
|
36150
|
+
* @throws {RequiredError}
|
|
36151
|
+
*/
|
|
36152
|
+
listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTfVarsFilesFromGitRepo200Response>>;
|
|
36026
36153
|
/**
|
|
36027
36154
|
*
|
|
36028
36155
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36177,6 +36304,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
36177
36304
|
* @throws {RequiredError}
|
|
36178
36305
|
*/
|
|
36179
36306
|
listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListServicesByOrganizationId200Response>;
|
|
36307
|
+
/**
|
|
36308
|
+
*
|
|
36309
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36310
|
+
* @param {string} organizationId Organization ID
|
|
36311
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36312
|
+
* @param {*} [options] Override http request option.
|
|
36313
|
+
* @throws {RequiredError}
|
|
36314
|
+
*/
|
|
36315
|
+
listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTfVarsFilesFromGitRepo200Response>;
|
|
36180
36316
|
/**
|
|
36181
36317
|
*
|
|
36182
36318
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36349,6 +36485,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
36349
36485
|
* @memberof OrganizationMainCallsApi
|
|
36350
36486
|
*/
|
|
36351
36487
|
listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByOrganizationId200Response, any, {}>>;
|
|
36488
|
+
/**
|
|
36489
|
+
*
|
|
36490
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36491
|
+
* @param {string} organizationId Organization ID
|
|
36492
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36493
|
+
* @param {*} [options] Override http request option.
|
|
36494
|
+
* @throws {RequiredError}
|
|
36495
|
+
* @memberof OrganizationMainCallsApi
|
|
36496
|
+
*/
|
|
36497
|
+
listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTfVarsFilesFromGitRepo200Response, any, {}>>;
|
|
36352
36498
|
/**
|
|
36353
36499
|
*
|
|
36354
36500
|
* @summary Parse Terraform variables from Git repository
|
package/dist/api.js
CHANGED
|
@@ -22,16 +22,16 @@ 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.
|
|
33
|
-
exports.
|
|
34
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = void 0;
|
|
25
|
+
exports.GitProviderKindEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.EksInfrastructureOutputsKindEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AlertTargetType = exports.AlertSeverity = exports.AlertRuleState = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = exports.ServiceStepMetricNameEnum = exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GkeInfrastructureOutputsKindEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = void 0;
|
|
27
|
+
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.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AlertRulesApi = exports.AlertRulesApiFactory = exports.AlertRulesApiFp = exports.AlertRulesApiAxiosParamCreator = exports.AlertReceiversApi = exports.AlertReceiversApiFactory = exports.AlertReceiversApiFp = exports.AlertReceiversApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.TerraformVersionResponseEngineEnum = exports.TerraformResponseProviderEnum = exports.TerraformRequestProviderEnum = exports.TerraformDeployRequestActionEnum = exports.StorageTypeEnum = void 0;
|
|
28
|
+
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.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = 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 = exports.ApplicationMainCallsApi = void 0;
|
|
29
|
+
exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = 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.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = void 0;
|
|
30
|
+
exports.GithubAppApiFactory = 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 = void 0;
|
|
31
|
+
exports.JobEnvironmentVariableApiAxiosParamCreator = 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.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = void 0;
|
|
32
|
+
exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = void 0;
|
|
33
|
+
exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = 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.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = void 0;
|
|
34
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -504,6 +504,11 @@ exports.GcpStaticClusterCredentialsObjectTypeEnum = {
|
|
|
504
504
|
exports.GenericClusterCredentialsObjectTypeEnum = {
|
|
505
505
|
OTHER: 'OTHER'
|
|
506
506
|
};
|
|
507
|
+
exports.GitProviderKindEnum = {
|
|
508
|
+
GITHUB: 'GITHUB',
|
|
509
|
+
GITLAB: 'GITLAB',
|
|
510
|
+
BITBUCKET: 'BITBUCKET'
|
|
511
|
+
};
|
|
507
512
|
/**
|
|
508
513
|
*
|
|
509
514
|
* @export
|
|
@@ -35845,6 +35850,45 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
35845
35850
|
options: localVarRequestOptions,
|
|
35846
35851
|
};
|
|
35847
35852
|
}),
|
|
35853
|
+
/**
|
|
35854
|
+
*
|
|
35855
|
+
* @summary List Terraform tfvars files from Git repository
|
|
35856
|
+
* @param {string} organizationId Organization ID
|
|
35857
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
35858
|
+
* @param {*} [options] Override http request option.
|
|
35859
|
+
* @throws {RequiredError}
|
|
35860
|
+
*/
|
|
35861
|
+
listTfVarsFilesFromGitRepo: (organizationId_1, tfVarsListRequest_1, ...args_1) => __awaiter(this, [organizationId_1, tfVarsListRequest_1, ...args_1], void 0, function* (organizationId, tfVarsListRequest, options = {}) {
|
|
35862
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
35863
|
+
(0, common_1.assertParamExists)('listTfVarsFilesFromGitRepo', 'organizationId', organizationId);
|
|
35864
|
+
// verify required parameter 'tfVarsListRequest' is not null or undefined
|
|
35865
|
+
(0, common_1.assertParamExists)('listTfVarsFilesFromGitRepo', 'tfVarsListRequest', tfVarsListRequest);
|
|
35866
|
+
const localVarPath = `/organization/{organizationId}/listTfVarsFilesFromGitRepo`
|
|
35867
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
35868
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35869
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35870
|
+
let baseOptions;
|
|
35871
|
+
if (configuration) {
|
|
35872
|
+
baseOptions = configuration.baseOptions;
|
|
35873
|
+
}
|
|
35874
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35875
|
+
const localVarHeaderParameter = {};
|
|
35876
|
+
const localVarQueryParameter = {};
|
|
35877
|
+
// authentication ApiKeyAuth required
|
|
35878
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
35879
|
+
// authentication bearerAuth required
|
|
35880
|
+
// http bearer authentication required
|
|
35881
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
35882
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35883
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35884
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35885
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35886
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tfVarsListRequest, localVarRequestOptions, configuration);
|
|
35887
|
+
return {
|
|
35888
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35889
|
+
options: localVarRequestOptions,
|
|
35890
|
+
};
|
|
35891
|
+
}),
|
|
35848
35892
|
/**
|
|
35849
35893
|
*
|
|
35850
35894
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36161,6 +36205,23 @@ const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
36161
36205
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36162
36206
|
});
|
|
36163
36207
|
},
|
|
36208
|
+
/**
|
|
36209
|
+
*
|
|
36210
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36211
|
+
* @param {string} organizationId Organization ID
|
|
36212
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36213
|
+
* @param {*} [options] Override http request option.
|
|
36214
|
+
* @throws {RequiredError}
|
|
36215
|
+
*/
|
|
36216
|
+
listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options) {
|
|
36217
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36218
|
+
var _a, _b, _c;
|
|
36219
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options);
|
|
36220
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36221
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationMainCallsApi.listTfVarsFilesFromGitRepo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36222
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36223
|
+
});
|
|
36224
|
+
},
|
|
36164
36225
|
/**
|
|
36165
36226
|
*
|
|
36166
36227
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36359,6 +36420,17 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
|
|
|
36359
36420
|
listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options) {
|
|
36360
36421
|
return localVarFp.listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options).then((request) => request(axios, basePath));
|
|
36361
36422
|
},
|
|
36423
|
+
/**
|
|
36424
|
+
*
|
|
36425
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36426
|
+
* @param {string} organizationId Organization ID
|
|
36427
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36428
|
+
* @param {*} [options] Override http request option.
|
|
36429
|
+
* @throws {RequiredError}
|
|
36430
|
+
*/
|
|
36431
|
+
listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options) {
|
|
36432
|
+
return localVarFp.listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options).then((request) => request(axios, basePath));
|
|
36433
|
+
},
|
|
36362
36434
|
/**
|
|
36363
36435
|
*
|
|
36364
36436
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36567,6 +36639,18 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
|
|
|
36567
36639
|
listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options) {
|
|
36568
36640
|
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
36569
36641
|
}
|
|
36642
|
+
/**
|
|
36643
|
+
*
|
|
36644
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36645
|
+
* @param {string} organizationId Organization ID
|
|
36646
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36647
|
+
* @param {*} [options] Override http request option.
|
|
36648
|
+
* @throws {RequiredError}
|
|
36649
|
+
* @memberof OrganizationMainCallsApi
|
|
36650
|
+
*/
|
|
36651
|
+
listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options) {
|
|
36652
|
+
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36653
|
+
}
|
|
36570
36654
|
/**
|
|
36571
36655
|
*
|
|
36572
36656
|
* @summary Parse Terraform variables from Git repository
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -9408,6 +9408,31 @@ export interface GitFileCheckRequest {
|
|
|
9408
9408
|
*/
|
|
9409
9409
|
'files': Array<string>;
|
|
9410
9410
|
}
|
|
9411
|
+
/**
|
|
9412
|
+
* Git provider information
|
|
9413
|
+
* @export
|
|
9414
|
+
* @interface GitProvider
|
|
9415
|
+
*/
|
|
9416
|
+
export interface GitProvider {
|
|
9417
|
+
/**
|
|
9418
|
+
* The type of git provider
|
|
9419
|
+
* @type {string}
|
|
9420
|
+
* @memberof GitProvider
|
|
9421
|
+
*/
|
|
9422
|
+
'kind': GitProviderKindEnum;
|
|
9423
|
+
/**
|
|
9424
|
+
* Custom git provider URL (for self-hosted instances)
|
|
9425
|
+
* @type {string}
|
|
9426
|
+
* @memberof GitProvider
|
|
9427
|
+
*/
|
|
9428
|
+
'url'?: string | null;
|
|
9429
|
+
}
|
|
9430
|
+
export declare const GitProviderKindEnum: {
|
|
9431
|
+
readonly GITHUB: "GITHUB";
|
|
9432
|
+
readonly GITLAB: "GITLAB";
|
|
9433
|
+
readonly BITBUCKET: "BITBUCKET";
|
|
9434
|
+
};
|
|
9435
|
+
export type GitProviderKindEnum = typeof GitProviderKindEnum[keyof typeof GitProviderKindEnum];
|
|
9411
9436
|
/**
|
|
9412
9437
|
*
|
|
9413
9438
|
* @export
|
|
@@ -9482,6 +9507,43 @@ export interface GitRepositoryBranchResponseList {
|
|
|
9482
9507
|
*/
|
|
9483
9508
|
'results'?: Array<GitRepositoryBranch>;
|
|
9484
9509
|
}
|
|
9510
|
+
/**
|
|
9511
|
+
* Git repository information for Terraform operations
|
|
9512
|
+
* @export
|
|
9513
|
+
* @interface GitRepositoryRequest
|
|
9514
|
+
*/
|
|
9515
|
+
export interface GitRepositoryRequest {
|
|
9516
|
+
/**
|
|
9517
|
+
* Git repository URL
|
|
9518
|
+
* @type {string}
|
|
9519
|
+
* @memberof GitRepositoryRequest
|
|
9520
|
+
*/
|
|
9521
|
+
'url': string;
|
|
9522
|
+
/**
|
|
9523
|
+
* Name of the branch to use (optional)
|
|
9524
|
+
* @type {string}
|
|
9525
|
+
* @memberof GitRepositoryRequest
|
|
9526
|
+
*/
|
|
9527
|
+
'branch'?: string | null;
|
|
9528
|
+
/**
|
|
9529
|
+
* Root path within the repository
|
|
9530
|
+
* @type {string}
|
|
9531
|
+
* @memberof GitRepositoryRequest
|
|
9532
|
+
*/
|
|
9533
|
+
'root_path'?: string;
|
|
9534
|
+
/**
|
|
9535
|
+
* The git token id on Qovery side
|
|
9536
|
+
* @type {string}
|
|
9537
|
+
* @memberof GitRepositoryRequest
|
|
9538
|
+
*/
|
|
9539
|
+
'git_token_id'?: string | null;
|
|
9540
|
+
/**
|
|
9541
|
+
*
|
|
9542
|
+
* @type {GitProvider}
|
|
9543
|
+
* @memberof GitRepositoryRequest
|
|
9544
|
+
*/
|
|
9545
|
+
'provider': GitProvider;
|
|
9546
|
+
}
|
|
9485
9547
|
/**
|
|
9486
9548
|
*
|
|
9487
9549
|
* @export
|
|
@@ -13168,6 +13230,19 @@ export interface ListServicesByOrganizationId200Response {
|
|
|
13168
13230
|
*/
|
|
13169
13231
|
'results'?: Array<ServiceLightResponse>;
|
|
13170
13232
|
}
|
|
13233
|
+
/**
|
|
13234
|
+
*
|
|
13235
|
+
* @export
|
|
13236
|
+
* @interface ListTfVarsFilesFromGitRepo200Response
|
|
13237
|
+
*/
|
|
13238
|
+
export interface ListTfVarsFilesFromGitRepo200Response {
|
|
13239
|
+
/**
|
|
13240
|
+
*
|
|
13241
|
+
* @type {Array<TfVarsFileResponse>}
|
|
13242
|
+
* @memberof ListTfVarsFilesFromGitRepo200Response
|
|
13243
|
+
*/
|
|
13244
|
+
'results'?: Array<TfVarsFileResponse>;
|
|
13245
|
+
}
|
|
13171
13246
|
/**
|
|
13172
13247
|
*
|
|
13173
13248
|
* @export
|
|
@@ -18322,6 +18397,40 @@ export interface TerraformVersionResponseList {
|
|
|
18322
18397
|
*/
|
|
18323
18398
|
'results'?: Array<TerraformVersionResponse>;
|
|
18324
18399
|
}
|
|
18400
|
+
/**
|
|
18401
|
+
* Represents a Terraform tfvars file with its variables
|
|
18402
|
+
* @export
|
|
18403
|
+
* @interface TfVarsFileResponse
|
|
18404
|
+
*/
|
|
18405
|
+
export interface TfVarsFileResponse {
|
|
18406
|
+
/**
|
|
18407
|
+
* The path to the tfvars file within the Git repository
|
|
18408
|
+
* @type {string}
|
|
18409
|
+
* @memberof TfVarsFileResponse
|
|
18410
|
+
*/
|
|
18411
|
+
'source': string;
|
|
18412
|
+
/**
|
|
18413
|
+
* Map of variable names to their values from the tfvars file
|
|
18414
|
+
* @type {{ [key: string]: string; }}
|
|
18415
|
+
* @memberof TfVarsFileResponse
|
|
18416
|
+
*/
|
|
18417
|
+
'variables': {
|
|
18418
|
+
[key: string]: string;
|
|
18419
|
+
};
|
|
18420
|
+
}
|
|
18421
|
+
/**
|
|
18422
|
+
* Request to list Terraform tfvars files from a Git repository
|
|
18423
|
+
* @export
|
|
18424
|
+
* @interface TfVarsListRequest
|
|
18425
|
+
*/
|
|
18426
|
+
export interface TfVarsListRequest {
|
|
18427
|
+
/**
|
|
18428
|
+
*
|
|
18429
|
+
* @type {GitRepositoryRequest}
|
|
18430
|
+
* @memberof TfVarsListRequest
|
|
18431
|
+
*/
|
|
18432
|
+
'git_repository': GitRepositoryRequest;
|
|
18433
|
+
}
|
|
18325
18434
|
/**
|
|
18326
18435
|
*
|
|
18327
18436
|
* @export
|
|
@@ -35869,6 +35978,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
35869
35978
|
* @throws {RequiredError}
|
|
35870
35979
|
*/
|
|
35871
35980
|
listServicesByOrganizationId: (organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35981
|
+
/**
|
|
35982
|
+
*
|
|
35983
|
+
* @summary List Terraform tfvars files from Git repository
|
|
35984
|
+
* @param {string} organizationId Organization ID
|
|
35985
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
35986
|
+
* @param {*} [options] Override http request option.
|
|
35987
|
+
* @throws {RequiredError}
|
|
35988
|
+
*/
|
|
35989
|
+
listTfVarsFilesFromGitRepo: (organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35872
35990
|
/**
|
|
35873
35991
|
*
|
|
35874
35992
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36023,6 +36141,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
36023
36141
|
* @throws {RequiredError}
|
|
36024
36142
|
*/
|
|
36025
36143
|
listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByOrganizationId200Response>>;
|
|
36144
|
+
/**
|
|
36145
|
+
*
|
|
36146
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36147
|
+
* @param {string} organizationId Organization ID
|
|
36148
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36149
|
+
* @param {*} [options] Override http request option.
|
|
36150
|
+
* @throws {RequiredError}
|
|
36151
|
+
*/
|
|
36152
|
+
listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTfVarsFilesFromGitRepo200Response>>;
|
|
36026
36153
|
/**
|
|
36027
36154
|
*
|
|
36028
36155
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36177,6 +36304,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
36177
36304
|
* @throws {RequiredError}
|
|
36178
36305
|
*/
|
|
36179
36306
|
listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListServicesByOrganizationId200Response>;
|
|
36307
|
+
/**
|
|
36308
|
+
*
|
|
36309
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36310
|
+
* @param {string} organizationId Organization ID
|
|
36311
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36312
|
+
* @param {*} [options] Override http request option.
|
|
36313
|
+
* @throws {RequiredError}
|
|
36314
|
+
*/
|
|
36315
|
+
listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTfVarsFilesFromGitRepo200Response>;
|
|
36180
36316
|
/**
|
|
36181
36317
|
*
|
|
36182
36318
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36349,6 +36485,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
36349
36485
|
* @memberof OrganizationMainCallsApi
|
|
36350
36486
|
*/
|
|
36351
36487
|
listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, clusterId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByOrganizationId200Response, any, {}>>;
|
|
36488
|
+
/**
|
|
36489
|
+
*
|
|
36490
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36491
|
+
* @param {string} organizationId Organization ID
|
|
36492
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36493
|
+
* @param {*} [options] Override http request option.
|
|
36494
|
+
* @throws {RequiredError}
|
|
36495
|
+
* @memberof OrganizationMainCallsApi
|
|
36496
|
+
*/
|
|
36497
|
+
listTfVarsFilesFromGitRepo(organizationId: string, tfVarsListRequest: TfVarsListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTfVarsFilesFromGitRepo200Response, any, {}>>;
|
|
36352
36498
|
/**
|
|
36353
36499
|
*
|
|
36354
36500
|
* @summary Parse Terraform variables from Git repository
|
package/dist/esm/api.js
CHANGED
|
@@ -492,6 +492,11 @@ export const GcpStaticClusterCredentialsObjectTypeEnum = {
|
|
|
492
492
|
export const GenericClusterCredentialsObjectTypeEnum = {
|
|
493
493
|
OTHER: 'OTHER'
|
|
494
494
|
};
|
|
495
|
+
export const GitProviderKindEnum = {
|
|
496
|
+
GITHUB: 'GITHUB',
|
|
497
|
+
GITLAB: 'GITLAB',
|
|
498
|
+
BITBUCKET: 'BITBUCKET'
|
|
499
|
+
};
|
|
495
500
|
/**
|
|
496
501
|
*
|
|
497
502
|
* @export
|
|
@@ -35537,6 +35542,45 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
35537
35542
|
options: localVarRequestOptions,
|
|
35538
35543
|
};
|
|
35539
35544
|
}),
|
|
35545
|
+
/**
|
|
35546
|
+
*
|
|
35547
|
+
* @summary List Terraform tfvars files from Git repository
|
|
35548
|
+
* @param {string} organizationId Organization ID
|
|
35549
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
35550
|
+
* @param {*} [options] Override http request option.
|
|
35551
|
+
* @throws {RequiredError}
|
|
35552
|
+
*/
|
|
35553
|
+
listTfVarsFilesFromGitRepo: (organizationId_1, tfVarsListRequest_1, ...args_1) => __awaiter(this, [organizationId_1, tfVarsListRequest_1, ...args_1], void 0, function* (organizationId, tfVarsListRequest, options = {}) {
|
|
35554
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
35555
|
+
assertParamExists('listTfVarsFilesFromGitRepo', 'organizationId', organizationId);
|
|
35556
|
+
// verify required parameter 'tfVarsListRequest' is not null or undefined
|
|
35557
|
+
assertParamExists('listTfVarsFilesFromGitRepo', 'tfVarsListRequest', tfVarsListRequest);
|
|
35558
|
+
const localVarPath = `/organization/{organizationId}/listTfVarsFilesFromGitRepo`
|
|
35559
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
35560
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35561
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35562
|
+
let baseOptions;
|
|
35563
|
+
if (configuration) {
|
|
35564
|
+
baseOptions = configuration.baseOptions;
|
|
35565
|
+
}
|
|
35566
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35567
|
+
const localVarHeaderParameter = {};
|
|
35568
|
+
const localVarQueryParameter = {};
|
|
35569
|
+
// authentication ApiKeyAuth required
|
|
35570
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
35571
|
+
// authentication bearerAuth required
|
|
35572
|
+
// http bearer authentication required
|
|
35573
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
35574
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35575
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35577
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35578
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tfVarsListRequest, localVarRequestOptions, configuration);
|
|
35579
|
+
return {
|
|
35580
|
+
url: toPathString(localVarUrlObj),
|
|
35581
|
+
options: localVarRequestOptions,
|
|
35582
|
+
};
|
|
35583
|
+
}),
|
|
35540
35584
|
/**
|
|
35541
35585
|
*
|
|
35542
35586
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -35852,6 +35896,23 @@ export const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
35852
35896
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35853
35897
|
});
|
|
35854
35898
|
},
|
|
35899
|
+
/**
|
|
35900
|
+
*
|
|
35901
|
+
* @summary List Terraform tfvars files from Git repository
|
|
35902
|
+
* @param {string} organizationId Organization ID
|
|
35903
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
35904
|
+
* @param {*} [options] Override http request option.
|
|
35905
|
+
* @throws {RequiredError}
|
|
35906
|
+
*/
|
|
35907
|
+
listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options) {
|
|
35908
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35909
|
+
var _a, _b, _c;
|
|
35910
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options);
|
|
35911
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
35912
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationMainCallsApi.listTfVarsFilesFromGitRepo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
35913
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35914
|
+
});
|
|
35915
|
+
},
|
|
35855
35916
|
/**
|
|
35856
35917
|
*
|
|
35857
35918
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36049,6 +36110,17 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
|
|
|
36049
36110
|
listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options) {
|
|
36050
36111
|
return localVarFp.listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options).then((request) => request(axios, basePath));
|
|
36051
36112
|
},
|
|
36113
|
+
/**
|
|
36114
|
+
*
|
|
36115
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36116
|
+
* @param {string} organizationId Organization ID
|
|
36117
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36118
|
+
* @param {*} [options] Override http request option.
|
|
36119
|
+
* @throws {RequiredError}
|
|
36120
|
+
*/
|
|
36121
|
+
listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options) {
|
|
36122
|
+
return localVarFp.listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options).then((request) => request(axios, basePath));
|
|
36123
|
+
},
|
|
36052
36124
|
/**
|
|
36053
36125
|
*
|
|
36054
36126
|
* @summary Parse Terraform variables from Git repository
|
|
@@ -36256,6 +36328,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
36256
36328
|
listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options) {
|
|
36257
36329
|
return OrganizationMainCallsApiFp(this.configuration).listServicesByOrganizationId(organizationId, projectId, environmentId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
36258
36330
|
}
|
|
36331
|
+
/**
|
|
36332
|
+
*
|
|
36333
|
+
* @summary List Terraform tfvars files from Git repository
|
|
36334
|
+
* @param {string} organizationId Organization ID
|
|
36335
|
+
* @param {TfVarsListRequest} tfVarsListRequest
|
|
36336
|
+
* @param {*} [options] Override http request option.
|
|
36337
|
+
* @throws {RequiredError}
|
|
36338
|
+
* @memberof OrganizationMainCallsApi
|
|
36339
|
+
*/
|
|
36340
|
+
listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options) {
|
|
36341
|
+
return OrganizationMainCallsApiFp(this.configuration).listTfVarsFilesFromGitRepo(organizationId, tfVarsListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36342
|
+
}
|
|
36259
36343
|
/**
|
|
36260
36344
|
*
|
|
36261
36345
|
* @summary Parse Terraform variables from Git repository
|