qovery-typescript-axios 1.1.619 → 1.1.621
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 +76 -0
- package/dist/api.d.ts +33 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +33 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -57725,6 +57725,47 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
57725
57725
|
|
|
57726
57726
|
|
|
57727
57727
|
|
|
57728
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57729
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57730
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57731
|
+
|
|
57732
|
+
return {
|
|
57733
|
+
url: toPathString(localVarUrlObj),
|
|
57734
|
+
options: localVarRequestOptions,
|
|
57735
|
+
};
|
|
57736
|
+
},
|
|
57737
|
+
/**
|
|
57738
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
57739
|
+
* @summary List last commits
|
|
57740
|
+
* @param {string} terraformId Terraform ID
|
|
57741
|
+
* @param {*} [options] Override http request option.
|
|
57742
|
+
* @throws {RequiredError}
|
|
57743
|
+
*/
|
|
57744
|
+
listTerraformCommit: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57745
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
57746
|
+
assertParamExists('listTerraformCommit', 'terraformId', terraformId)
|
|
57747
|
+
const localVarPath = `/terraform/{terraformId}/commit`
|
|
57748
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
57749
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57750
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57751
|
+
let baseOptions;
|
|
57752
|
+
if (configuration) {
|
|
57753
|
+
baseOptions = configuration.baseOptions;
|
|
57754
|
+
}
|
|
57755
|
+
|
|
57756
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
57757
|
+
const localVarHeaderParameter = {} as any;
|
|
57758
|
+
const localVarQueryParameter = {} as any;
|
|
57759
|
+
|
|
57760
|
+
// authentication ApiKeyAuth required
|
|
57761
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57762
|
+
|
|
57763
|
+
// authentication bearerAuth required
|
|
57764
|
+
// http bearer authentication required
|
|
57765
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57766
|
+
|
|
57767
|
+
|
|
57768
|
+
|
|
57728
57769
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57729
57770
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57730
57771
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -57784,6 +57825,19 @@ export const TerraformMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
57784
57825
|
const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.getTerraform']?.[localVarOperationServerIndex]?.url;
|
|
57785
57826
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57786
57827
|
},
|
|
57828
|
+
/**
|
|
57829
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
57830
|
+
* @summary List last commits
|
|
57831
|
+
* @param {string} terraformId Terraform ID
|
|
57832
|
+
* @param {*} [options] Override http request option.
|
|
57833
|
+
* @throws {RequiredError}
|
|
57834
|
+
*/
|
|
57835
|
+
async listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>> {
|
|
57836
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTerraformCommit(terraformId, options);
|
|
57837
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57838
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.listTerraformCommit']?.[localVarOperationServerIndex]?.url;
|
|
57839
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57840
|
+
},
|
|
57787
57841
|
}
|
|
57788
57842
|
};
|
|
57789
57843
|
|
|
@@ -57825,6 +57879,16 @@ export const TerraformMainCallsApiFactory = function (configuration?: Configurat
|
|
|
57825
57879
|
getTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse> {
|
|
57826
57880
|
return localVarFp.getTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
57827
57881
|
},
|
|
57882
|
+
/**
|
|
57883
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
57884
|
+
* @summary List last commits
|
|
57885
|
+
* @param {string} terraformId Terraform ID
|
|
57886
|
+
* @param {*} [options] Override http request option.
|
|
57887
|
+
* @throws {RequiredError}
|
|
57888
|
+
*/
|
|
57889
|
+
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList> {
|
|
57890
|
+
return localVarFp.listTerraformCommit(terraformId, options).then((request) => request(axios, basePath));
|
|
57891
|
+
},
|
|
57828
57892
|
};
|
|
57829
57893
|
};
|
|
57830
57894
|
|
|
@@ -57871,6 +57935,18 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
57871
57935
|
public getTerraform(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
57872
57936
|
return TerraformMainCallsApiFp(this.configuration).getTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
57873
57937
|
}
|
|
57938
|
+
|
|
57939
|
+
/**
|
|
57940
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
57941
|
+
* @summary List last commits
|
|
57942
|
+
* @param {string} terraformId Terraform ID
|
|
57943
|
+
* @param {*} [options] Override http request option.
|
|
57944
|
+
* @throws {RequiredError}
|
|
57945
|
+
* @memberof TerraformMainCallsApi
|
|
57946
|
+
*/
|
|
57947
|
+
public listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
57948
|
+
return TerraformMainCallsApiFp(this.configuration).listTerraformCommit(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
57949
|
+
}
|
|
57874
57950
|
}
|
|
57875
57951
|
|
|
57876
57952
|
|
package/dist/api.d.ts
CHANGED
|
@@ -35809,6 +35809,14 @@ export declare const TerraformMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
35809
35809
|
* @throws {RequiredError}
|
|
35810
35810
|
*/
|
|
35811
35811
|
getTerraform: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35812
|
+
/**
|
|
35813
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
35814
|
+
* @summary List last commits
|
|
35815
|
+
* @param {string} terraformId Terraform ID
|
|
35816
|
+
* @param {*} [options] Override http request option.
|
|
35817
|
+
* @throws {RequiredError}
|
|
35818
|
+
*/
|
|
35819
|
+
listTerraformCommit: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35812
35820
|
};
|
|
35813
35821
|
/**
|
|
35814
35822
|
* TerraformMainCallsApi - functional programming interface
|
|
@@ -35840,6 +35848,14 @@ export declare const TerraformMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
35840
35848
|
* @throws {RequiredError}
|
|
35841
35849
|
*/
|
|
35842
35850
|
getTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>>;
|
|
35851
|
+
/**
|
|
35852
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
35853
|
+
* @summary List last commits
|
|
35854
|
+
* @param {string} terraformId Terraform ID
|
|
35855
|
+
* @param {*} [options] Override http request option.
|
|
35856
|
+
* @throws {RequiredError}
|
|
35857
|
+
*/
|
|
35858
|
+
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
|
|
35843
35859
|
};
|
|
35844
35860
|
/**
|
|
35845
35861
|
* TerraformMainCallsApi - factory interface
|
|
@@ -35871,6 +35887,14 @@ export declare const TerraformMainCallsApiFactory: (configuration?: Configuratio
|
|
|
35871
35887
|
* @throws {RequiredError}
|
|
35872
35888
|
*/
|
|
35873
35889
|
getTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse>;
|
|
35890
|
+
/**
|
|
35891
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
35892
|
+
* @summary List last commits
|
|
35893
|
+
* @param {string} terraformId Terraform ID
|
|
35894
|
+
* @param {*} [options] Override http request option.
|
|
35895
|
+
* @throws {RequiredError}
|
|
35896
|
+
*/
|
|
35897
|
+
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList>;
|
|
35874
35898
|
};
|
|
35875
35899
|
/**
|
|
35876
35900
|
* TerraformMainCallsApi - object-oriented interface
|
|
@@ -35907,6 +35931,15 @@ export declare class TerraformMainCallsApi extends BaseAPI {
|
|
|
35907
35931
|
* @memberof TerraformMainCallsApi
|
|
35908
35932
|
*/
|
|
35909
35933
|
getTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformResponse, any>>;
|
|
35934
|
+
/**
|
|
35935
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
35936
|
+
* @summary List last commits
|
|
35937
|
+
* @param {string} terraformId Terraform ID
|
|
35938
|
+
* @param {*} [options] Override http request option.
|
|
35939
|
+
* @throws {RequiredError}
|
|
35940
|
+
* @memberof TerraformMainCallsApi
|
|
35941
|
+
*/
|
|
35942
|
+
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList, any>>;
|
|
35910
35943
|
}
|
|
35911
35944
|
/**
|
|
35912
35945
|
* TerraformsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -38032,6 +38032,40 @@ const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
38032
38032
|
options: localVarRequestOptions,
|
|
38033
38033
|
};
|
|
38034
38034
|
}),
|
|
38035
|
+
/**
|
|
38036
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
38037
|
+
* @summary List last commits
|
|
38038
|
+
* @param {string} terraformId Terraform ID
|
|
38039
|
+
* @param {*} [options] Override http request option.
|
|
38040
|
+
* @throws {RequiredError}
|
|
38041
|
+
*/
|
|
38042
|
+
listTerraformCommit: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
38043
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
38044
|
+
(0, common_1.assertParamExists)('listTerraformCommit', 'terraformId', terraformId);
|
|
38045
|
+
const localVarPath = `/terraform/{terraformId}/commit`
|
|
38046
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
38047
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38048
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
38049
|
+
let baseOptions;
|
|
38050
|
+
if (configuration) {
|
|
38051
|
+
baseOptions = configuration.baseOptions;
|
|
38052
|
+
}
|
|
38053
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
38054
|
+
const localVarHeaderParameter = {};
|
|
38055
|
+
const localVarQueryParameter = {};
|
|
38056
|
+
// authentication ApiKeyAuth required
|
|
38057
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
38058
|
+
// authentication bearerAuth required
|
|
38059
|
+
// http bearer authentication required
|
|
38060
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
38061
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38062
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38063
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
38064
|
+
return {
|
|
38065
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
38066
|
+
options: localVarRequestOptions,
|
|
38067
|
+
};
|
|
38068
|
+
}),
|
|
38035
38069
|
};
|
|
38036
38070
|
};
|
|
38037
38071
|
exports.TerraformMainCallsApiAxiosParamCreator = TerraformMainCallsApiAxiosParamCreator;
|
|
@@ -38091,6 +38125,22 @@ const TerraformMainCallsApiFp = function (configuration) {
|
|
|
38091
38125
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38092
38126
|
});
|
|
38093
38127
|
},
|
|
38128
|
+
/**
|
|
38129
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
38130
|
+
* @summary List last commits
|
|
38131
|
+
* @param {string} terraformId Terraform ID
|
|
38132
|
+
* @param {*} [options] Override http request option.
|
|
38133
|
+
* @throws {RequiredError}
|
|
38134
|
+
*/
|
|
38135
|
+
listTerraformCommit(terraformId, options) {
|
|
38136
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38137
|
+
var _a, _b, _c;
|
|
38138
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTerraformCommit(terraformId, options);
|
|
38139
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
38140
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformMainCallsApi.listTerraformCommit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
38141
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38142
|
+
});
|
|
38143
|
+
},
|
|
38094
38144
|
};
|
|
38095
38145
|
};
|
|
38096
38146
|
exports.TerraformMainCallsApiFp = TerraformMainCallsApiFp;
|
|
@@ -38132,6 +38182,16 @@ const TerraformMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
38132
38182
|
getTerraform(terraformId, options) {
|
|
38133
38183
|
return localVarFp.getTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
38134
38184
|
},
|
|
38185
|
+
/**
|
|
38186
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
38187
|
+
* @summary List last commits
|
|
38188
|
+
* @param {string} terraformId Terraform ID
|
|
38189
|
+
* @param {*} [options] Override http request option.
|
|
38190
|
+
* @throws {RequiredError}
|
|
38191
|
+
*/
|
|
38192
|
+
listTerraformCommit(terraformId, options) {
|
|
38193
|
+
return localVarFp.listTerraformCommit(terraformId, options).then((request) => request(axios, basePath));
|
|
38194
|
+
},
|
|
38135
38195
|
};
|
|
38136
38196
|
};
|
|
38137
38197
|
exports.TerraformMainCallsApiFactory = TerraformMainCallsApiFactory;
|
|
@@ -38176,6 +38236,17 @@ class TerraformMainCallsApi extends base_1.BaseAPI {
|
|
|
38176
38236
|
getTerraform(terraformId, options) {
|
|
38177
38237
|
return (0, exports.TerraformMainCallsApiFp)(this.configuration).getTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
38178
38238
|
}
|
|
38239
|
+
/**
|
|
38240
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
38241
|
+
* @summary List last commits
|
|
38242
|
+
* @param {string} terraformId Terraform ID
|
|
38243
|
+
* @param {*} [options] Override http request option.
|
|
38244
|
+
* @throws {RequiredError}
|
|
38245
|
+
* @memberof TerraformMainCallsApi
|
|
38246
|
+
*/
|
|
38247
|
+
listTerraformCommit(terraformId, options) {
|
|
38248
|
+
return (0, exports.TerraformMainCallsApiFp)(this.configuration).listTerraformCommit(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
38249
|
+
}
|
|
38179
38250
|
}
|
|
38180
38251
|
exports.TerraformMainCallsApi = TerraformMainCallsApi;
|
|
38181
38252
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -35809,6 +35809,14 @@ export declare const TerraformMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
35809
35809
|
* @throws {RequiredError}
|
|
35810
35810
|
*/
|
|
35811
35811
|
getTerraform: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35812
|
+
/**
|
|
35813
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
35814
|
+
* @summary List last commits
|
|
35815
|
+
* @param {string} terraformId Terraform ID
|
|
35816
|
+
* @param {*} [options] Override http request option.
|
|
35817
|
+
* @throws {RequiredError}
|
|
35818
|
+
*/
|
|
35819
|
+
listTerraformCommit: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35812
35820
|
};
|
|
35813
35821
|
/**
|
|
35814
35822
|
* TerraformMainCallsApi - functional programming interface
|
|
@@ -35840,6 +35848,14 @@ export declare const TerraformMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
35840
35848
|
* @throws {RequiredError}
|
|
35841
35849
|
*/
|
|
35842
35850
|
getTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>>;
|
|
35851
|
+
/**
|
|
35852
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
35853
|
+
* @summary List last commits
|
|
35854
|
+
* @param {string} terraformId Terraform ID
|
|
35855
|
+
* @param {*} [options] Override http request option.
|
|
35856
|
+
* @throws {RequiredError}
|
|
35857
|
+
*/
|
|
35858
|
+
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
|
|
35843
35859
|
};
|
|
35844
35860
|
/**
|
|
35845
35861
|
* TerraformMainCallsApi - factory interface
|
|
@@ -35871,6 +35887,14 @@ export declare const TerraformMainCallsApiFactory: (configuration?: Configuratio
|
|
|
35871
35887
|
* @throws {RequiredError}
|
|
35872
35888
|
*/
|
|
35873
35889
|
getTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse>;
|
|
35890
|
+
/**
|
|
35891
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
35892
|
+
* @summary List last commits
|
|
35893
|
+
* @param {string} terraformId Terraform ID
|
|
35894
|
+
* @param {*} [options] Override http request option.
|
|
35895
|
+
* @throws {RequiredError}
|
|
35896
|
+
*/
|
|
35897
|
+
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList>;
|
|
35874
35898
|
};
|
|
35875
35899
|
/**
|
|
35876
35900
|
* TerraformMainCallsApi - object-oriented interface
|
|
@@ -35907,6 +35931,15 @@ export declare class TerraformMainCallsApi extends BaseAPI {
|
|
|
35907
35931
|
* @memberof TerraformMainCallsApi
|
|
35908
35932
|
*/
|
|
35909
35933
|
getTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformResponse, any>>;
|
|
35934
|
+
/**
|
|
35935
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
35936
|
+
* @summary List last commits
|
|
35937
|
+
* @param {string} terraformId Terraform ID
|
|
35938
|
+
* @param {*} [options] Override http request option.
|
|
35939
|
+
* @throws {RequiredError}
|
|
35940
|
+
* @memberof TerraformMainCallsApi
|
|
35941
|
+
*/
|
|
35942
|
+
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList, any>>;
|
|
35910
35943
|
}
|
|
35911
35944
|
/**
|
|
35912
35945
|
* TerraformsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -37685,6 +37685,40 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
37685
37685
|
options: localVarRequestOptions,
|
|
37686
37686
|
};
|
|
37687
37687
|
}),
|
|
37688
|
+
/**
|
|
37689
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
37690
|
+
* @summary List last commits
|
|
37691
|
+
* @param {string} terraformId Terraform ID
|
|
37692
|
+
* @param {*} [options] Override http request option.
|
|
37693
|
+
* @throws {RequiredError}
|
|
37694
|
+
*/
|
|
37695
|
+
listTerraformCommit: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
37696
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37697
|
+
assertParamExists('listTerraformCommit', 'terraformId', terraformId);
|
|
37698
|
+
const localVarPath = `/terraform/{terraformId}/commit`
|
|
37699
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
37700
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37701
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37702
|
+
let baseOptions;
|
|
37703
|
+
if (configuration) {
|
|
37704
|
+
baseOptions = configuration.baseOptions;
|
|
37705
|
+
}
|
|
37706
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
37707
|
+
const localVarHeaderParameter = {};
|
|
37708
|
+
const localVarQueryParameter = {};
|
|
37709
|
+
// authentication ApiKeyAuth required
|
|
37710
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
37711
|
+
// authentication bearerAuth required
|
|
37712
|
+
// http bearer authentication required
|
|
37713
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
37714
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37716
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37717
|
+
return {
|
|
37718
|
+
url: toPathString(localVarUrlObj),
|
|
37719
|
+
options: localVarRequestOptions,
|
|
37720
|
+
};
|
|
37721
|
+
}),
|
|
37688
37722
|
};
|
|
37689
37723
|
};
|
|
37690
37724
|
/**
|
|
@@ -37743,6 +37777,22 @@ export const TerraformMainCallsApiFp = function (configuration) {
|
|
|
37743
37777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37744
37778
|
});
|
|
37745
37779
|
},
|
|
37780
|
+
/**
|
|
37781
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
37782
|
+
* @summary List last commits
|
|
37783
|
+
* @param {string} terraformId Terraform ID
|
|
37784
|
+
* @param {*} [options] Override http request option.
|
|
37785
|
+
* @throws {RequiredError}
|
|
37786
|
+
*/
|
|
37787
|
+
listTerraformCommit(terraformId, options) {
|
|
37788
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37789
|
+
var _a, _b, _c;
|
|
37790
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTerraformCommit(terraformId, options);
|
|
37791
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37792
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformMainCallsApi.listTerraformCommit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37793
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37794
|
+
});
|
|
37795
|
+
},
|
|
37746
37796
|
};
|
|
37747
37797
|
};
|
|
37748
37798
|
/**
|
|
@@ -37783,6 +37833,16 @@ export const TerraformMainCallsApiFactory = function (configuration, basePath, a
|
|
|
37783
37833
|
getTerraform(terraformId, options) {
|
|
37784
37834
|
return localVarFp.getTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
37785
37835
|
},
|
|
37836
|
+
/**
|
|
37837
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
37838
|
+
* @summary List last commits
|
|
37839
|
+
* @param {string} terraformId Terraform ID
|
|
37840
|
+
* @param {*} [options] Override http request option.
|
|
37841
|
+
* @throws {RequiredError}
|
|
37842
|
+
*/
|
|
37843
|
+
listTerraformCommit(terraformId, options) {
|
|
37844
|
+
return localVarFp.listTerraformCommit(terraformId, options).then((request) => request(axios, basePath));
|
|
37845
|
+
},
|
|
37786
37846
|
};
|
|
37787
37847
|
};
|
|
37788
37848
|
/**
|
|
@@ -37826,6 +37886,17 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
37826
37886
|
getTerraform(terraformId, options) {
|
|
37827
37887
|
return TerraformMainCallsApiFp(this.configuration).getTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
37828
37888
|
}
|
|
37889
|
+
/**
|
|
37890
|
+
* Returns list of the last 100 commits made on the repository linked to the terraform service
|
|
37891
|
+
* @summary List last commits
|
|
37892
|
+
* @param {string} terraformId Terraform ID
|
|
37893
|
+
* @param {*} [options] Override http request option.
|
|
37894
|
+
* @throws {RequiredError}
|
|
37895
|
+
* @memberof TerraformMainCallsApi
|
|
37896
|
+
*/
|
|
37897
|
+
listTerraformCommit(terraformId, options) {
|
|
37898
|
+
return TerraformMainCallsApiFp(this.configuration).listTerraformCommit(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
37899
|
+
}
|
|
37829
37900
|
}
|
|
37830
37901
|
/**
|
|
37831
37902
|
* TerraformsApi - axios parameter creator
|