qovery-typescript-axios 1.1.25 → 1.1.36
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/.github/workflows/npm-published.yaml +5 -4
- package/.github/workflows/tagging.yaml +43 -0
- package/api.ts +176 -934
- package/dist/api.d.ts +0 -373
- package/dist/api.js +5 -718
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import { Configuration } from './configuration';
|
|
17
16
|
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
18
17
|
// Some imports not used depending on template conditions
|
|
@@ -11783,27 +11782,24 @@ export class ApplicationConfigurationApi extends BaseAPI {
|
|
|
11783
11782
|
|
|
11784
11783
|
|
|
11785
11784
|
/**
|
|
11786
|
-
*
|
|
11785
|
+
* ApplicationDeploymentHistoryApi - axios parameter creator
|
|
11787
11786
|
* @export
|
|
11788
11787
|
*/
|
|
11789
|
-
export const
|
|
11788
|
+
export const ApplicationDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11790
11789
|
return {
|
|
11791
11790
|
/**
|
|
11792
|
-
*
|
|
11793
|
-
* @summary
|
|
11791
|
+
* By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
|
|
11792
|
+
* @summary List application deploys
|
|
11794
11793
|
* @param {string} applicationId Application ID
|
|
11795
|
-
* @param {string}
|
|
11794
|
+
* @param {string} [startId] Starting point after which to return results
|
|
11796
11795
|
* @param {*} [options] Override http request option.
|
|
11797
11796
|
* @throws {RequiredError}
|
|
11798
11797
|
*/
|
|
11799
|
-
|
|
11798
|
+
listApplicationDeploymentHistory: async (applicationId: string, startId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11800
11799
|
// verify required parameter 'applicationId' is not null or undefined
|
|
11801
|
-
assertParamExists('
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
const localVarPath = `/application/{applicationId}/database/{targetDatabaseId}`
|
|
11805
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
11806
|
-
.replace(`{${"targetDatabaseId"}}`, encodeURIComponent(String(targetDatabaseId)));
|
|
11800
|
+
assertParamExists('listApplicationDeploymentHistory', 'applicationId', applicationId)
|
|
11801
|
+
const localVarPath = `/application/{applicationId}/deploymentHistory`
|
|
11802
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
11807
11803
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11808
11804
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11809
11805
|
let baseOptions;
|
|
@@ -11811,7 +11807,7 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11811
11807
|
baseOptions = configuration.baseOptions;
|
|
11812
11808
|
}
|
|
11813
11809
|
|
|
11814
|
-
const localVarRequestOptions = { method: '
|
|
11810
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11815
11811
|
const localVarHeaderParameter = {} as any;
|
|
11816
11812
|
const localVarQueryParameter = {} as any;
|
|
11817
11813
|
|
|
@@ -11819,6 +11815,10 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11819
11815
|
// http bearer authentication required
|
|
11820
11816
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11821
11817
|
|
|
11818
|
+
if (startId !== undefined) {
|
|
11819
|
+
localVarQueryParameter['startId'] = startId;
|
|
11820
|
+
}
|
|
11821
|
+
|
|
11822
11822
|
|
|
11823
11823
|
|
|
11824
11824
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11830,59 +11830,92 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11830
11830
|
options: localVarRequestOptions,
|
|
11831
11831
|
};
|
|
11832
11832
|
},
|
|
11833
|
+
}
|
|
11834
|
+
};
|
|
11835
|
+
|
|
11836
|
+
/**
|
|
11837
|
+
* ApplicationDeploymentHistoryApi - functional programming interface
|
|
11838
|
+
* @export
|
|
11839
|
+
*/
|
|
11840
|
+
export const ApplicationDeploymentHistoryApiFp = function(configuration?: Configuration) {
|
|
11841
|
+
const localVarAxiosParamCreator = ApplicationDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
11842
|
+
return {
|
|
11833
11843
|
/**
|
|
11834
|
-
*
|
|
11835
|
-
* @summary
|
|
11844
|
+
* By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
|
|
11845
|
+
* @summary List application deploys
|
|
11836
11846
|
* @param {string} applicationId Application ID
|
|
11837
|
-
* @param {string}
|
|
11847
|
+
* @param {string} [startId] Starting point after which to return results
|
|
11838
11848
|
* @param {*} [options] Override http request option.
|
|
11839
11849
|
* @throws {RequiredError}
|
|
11840
11850
|
*/
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
11848
|
-
.replace(`{${"targetLogicalDatabaseId"}}`, encodeURIComponent(String(targetLogicalDatabaseId)));
|
|
11849
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11850
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11851
|
-
let baseOptions;
|
|
11852
|
-
if (configuration) {
|
|
11853
|
-
baseOptions = configuration.baseOptions;
|
|
11854
|
-
}
|
|
11855
|
-
|
|
11856
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11857
|
-
const localVarHeaderParameter = {} as any;
|
|
11858
|
-
const localVarQueryParameter = {} as any;
|
|
11851
|
+
async listApplicationDeploymentHistory(applicationId: string, startId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryPaginatedResponseList>> {
|
|
11852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationDeploymentHistory(applicationId, startId, options);
|
|
11853
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11854
|
+
},
|
|
11855
|
+
}
|
|
11856
|
+
};
|
|
11859
11857
|
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
|
|
11858
|
+
/**
|
|
11859
|
+
* ApplicationDeploymentHistoryApi - factory interface
|
|
11860
|
+
* @export
|
|
11861
|
+
*/
|
|
11862
|
+
export const ApplicationDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
11863
|
+
const localVarFp = ApplicationDeploymentHistoryApiFp(configuration)
|
|
11864
|
+
return {
|
|
11865
|
+
/**
|
|
11866
|
+
* By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
|
|
11867
|
+
* @summary List application deploys
|
|
11868
|
+
* @param {string} applicationId Application ID
|
|
11869
|
+
* @param {string} [startId] Starting point after which to return results
|
|
11870
|
+
* @param {*} [options] Override http request option.
|
|
11871
|
+
* @throws {RequiredError}
|
|
11872
|
+
*/
|
|
11873
|
+
listApplicationDeploymentHistory(applicationId: string, startId?: string, options?: any): AxiosPromise<DeploymentHistoryPaginatedResponseList> {
|
|
11874
|
+
return localVarFp.listApplicationDeploymentHistory(applicationId, startId, options).then((request) => request(axios, basePath));
|
|
11875
|
+
},
|
|
11876
|
+
};
|
|
11877
|
+
};
|
|
11863
11878
|
|
|
11879
|
+
/**
|
|
11880
|
+
* ApplicationDeploymentHistoryApi - object-oriented interface
|
|
11881
|
+
* @export
|
|
11882
|
+
* @class ApplicationDeploymentHistoryApi
|
|
11883
|
+
* @extends {BaseAPI}
|
|
11884
|
+
*/
|
|
11885
|
+
export class ApplicationDeploymentHistoryApi extends BaseAPI {
|
|
11886
|
+
/**
|
|
11887
|
+
* By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
|
|
11888
|
+
* @summary List application deploys
|
|
11889
|
+
* @param {string} applicationId Application ID
|
|
11890
|
+
* @param {string} [startId] Starting point after which to return results
|
|
11891
|
+
* @param {*} [options] Override http request option.
|
|
11892
|
+
* @throws {RequiredError}
|
|
11893
|
+
* @memberof ApplicationDeploymentHistoryApi
|
|
11894
|
+
*/
|
|
11895
|
+
public listApplicationDeploymentHistory(applicationId: string, startId?: string, options?: AxiosRequestConfig) {
|
|
11896
|
+
return ApplicationDeploymentHistoryApiFp(this.configuration).listApplicationDeploymentHistory(applicationId, startId, options).then((request) => request(this.axios, this.basePath));
|
|
11897
|
+
}
|
|
11898
|
+
}
|
|
11864
11899
|
|
|
11865
|
-
|
|
11866
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11867
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11868
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11869
11900
|
|
|
11870
|
-
|
|
11871
|
-
|
|
11872
|
-
|
|
11873
|
-
|
|
11874
|
-
|
|
11901
|
+
/**
|
|
11902
|
+
* ApplicationDeploymentRestrictionApi - axios parameter creator
|
|
11903
|
+
* @export
|
|
11904
|
+
*/
|
|
11905
|
+
export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11906
|
+
return {
|
|
11875
11907
|
/**
|
|
11876
|
-
*
|
|
11877
|
-
* @summary
|
|
11908
|
+
* Create an application deployment restriction
|
|
11909
|
+
* @summary Create an application deployment restriction
|
|
11878
11910
|
* @param {string} applicationId Application ID
|
|
11911
|
+
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
11879
11912
|
* @param {*} [options] Override http request option.
|
|
11880
11913
|
* @throws {RequiredError}
|
|
11881
11914
|
*/
|
|
11882
|
-
|
|
11915
|
+
createApplicationDeploymentRestriction: async (applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11883
11916
|
// verify required parameter 'applicationId' is not null or undefined
|
|
11884
|
-
assertParamExists('
|
|
11885
|
-
const localVarPath = `/application/{applicationId}/
|
|
11917
|
+
assertParamExists('createApplicationDeploymentRestriction', 'applicationId', applicationId)
|
|
11918
|
+
const localVarPath = `/application/{applicationId}/deploymentRestriction`
|
|
11886
11919
|
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
11887
11920
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11888
11921
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11891,7 +11924,7 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11891
11924
|
baseOptions = configuration.baseOptions;
|
|
11892
11925
|
}
|
|
11893
11926
|
|
|
11894
|
-
const localVarRequestOptions = { method: '
|
|
11927
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11895
11928
|
const localVarHeaderParameter = {} as any;
|
|
11896
11929
|
const localVarQueryParameter = {} as any;
|
|
11897
11930
|
|
|
@@ -11901,9 +11934,12 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11901
11934
|
|
|
11902
11935
|
|
|
11903
11936
|
|
|
11937
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11938
|
+
|
|
11904
11939
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11905
11940
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11906
11941
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11942
|
+
localVarRequestOptions.data = serializeDataIfNeeded(applicationDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
11907
11943
|
|
|
11908
11944
|
return {
|
|
11909
11945
|
url: toPathString(localVarUrlObj),
|
|
@@ -11911,16 +11947,16 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11911
11947
|
};
|
|
11912
11948
|
},
|
|
11913
11949
|
/**
|
|
11914
|
-
*
|
|
11915
|
-
* @summary
|
|
11950
|
+
* Delete an application deployment restriction
|
|
11951
|
+
* @summary Delete an application deployment restriction
|
|
11916
11952
|
* @param {string} applicationId Application ID
|
|
11917
11953
|
* @param {*} [options] Override http request option.
|
|
11918
11954
|
* @throws {RequiredError}
|
|
11919
11955
|
*/
|
|
11920
|
-
|
|
11956
|
+
deleteApplicationDeploymentRestriction: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11921
11957
|
// verify required parameter 'applicationId' is not null or undefined
|
|
11922
|
-
assertParamExists('
|
|
11923
|
-
const localVarPath = `/application/{applicationId}/
|
|
11958
|
+
assertParamExists('deleteApplicationDeploymentRestriction', 'applicationId', applicationId)
|
|
11959
|
+
const localVarPath = `/application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
11924
11960
|
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
11925
11961
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11926
11962
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11929,7 +11965,7 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11929
11965
|
baseOptions = configuration.baseOptions;
|
|
11930
11966
|
}
|
|
11931
11967
|
|
|
11932
|
-
const localVarRequestOptions = { method: '
|
|
11968
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
11933
11969
|
const localVarHeaderParameter = {} as any;
|
|
11934
11970
|
const localVarQueryParameter = {} as any;
|
|
11935
11971
|
|
|
@@ -11949,21 +11985,22 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11949
11985
|
};
|
|
11950
11986
|
},
|
|
11951
11987
|
/**
|
|
11952
|
-
*
|
|
11953
|
-
* @summary
|
|
11988
|
+
* Edit an application deployment restriction
|
|
11989
|
+
* @summary Edit an application deployment restriction
|
|
11954
11990
|
* @param {string} applicationId Application ID
|
|
11955
|
-
* @param {string}
|
|
11991
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
11992
|
+
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
11956
11993
|
* @param {*} [options] Override http request option.
|
|
11957
11994
|
* @throws {RequiredError}
|
|
11958
11995
|
*/
|
|
11959
|
-
|
|
11996
|
+
editApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11960
11997
|
// verify required parameter 'applicationId' is not null or undefined
|
|
11961
|
-
assertParamExists('
|
|
11962
|
-
// verify required parameter '
|
|
11963
|
-
assertParamExists('
|
|
11964
|
-
const localVarPath = `/application/{applicationId}/
|
|
11998
|
+
assertParamExists('editApplicationDeploymentRestriction', 'applicationId', applicationId)
|
|
11999
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
12000
|
+
assertParamExists('editApplicationDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
12001
|
+
const localVarPath = `/application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
11965
12002
|
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
11966
|
-
.replace(`{${"
|
|
12003
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
11967
12004
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11968
12005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11969
12006
|
let baseOptions;
|
|
@@ -11971,7 +12008,7 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11971
12008
|
baseOptions = configuration.baseOptions;
|
|
11972
12009
|
}
|
|
11973
12010
|
|
|
11974
|
-
const localVarRequestOptions = { method: '
|
|
12011
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11975
12012
|
const localVarHeaderParameter = {} as any;
|
|
11976
12013
|
const localVarQueryParameter = {} as any;
|
|
11977
12014
|
|
|
@@ -11981,9 +12018,12 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11981
12018
|
|
|
11982
12019
|
|
|
11983
12020
|
|
|
12021
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12022
|
+
|
|
11984
12023
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11985
12024
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11986
12025
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12026
|
+
localVarRequestOptions.data = serializeDataIfNeeded(applicationDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
11987
12027
|
|
|
11988
12028
|
return {
|
|
11989
12029
|
url: toPathString(localVarUrlObj),
|
|
@@ -11991,21 +12031,17 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
11991
12031
|
};
|
|
11992
12032
|
},
|
|
11993
12033
|
/**
|
|
11994
|
-
*
|
|
11995
|
-
* @summary
|
|
12034
|
+
* Get application deployment restrictions
|
|
12035
|
+
* @summary Get application deployment restrictions
|
|
11996
12036
|
* @param {string} applicationId Application ID
|
|
11997
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
11998
12037
|
* @param {*} [options] Override http request option.
|
|
11999
12038
|
* @throws {RequiredError}
|
|
12000
12039
|
*/
|
|
12001
|
-
|
|
12040
|
+
getApplicationDeploymentRestrictions: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12002
12041
|
// verify required parameter 'applicationId' is not null or undefined
|
|
12003
|
-
assertParamExists('
|
|
12004
|
-
|
|
12005
|
-
|
|
12006
|
-
const localVarPath = `/application/{applicationId}/logicalDatabase/{targetLogicalDatabaseId}`
|
|
12007
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
12008
|
-
.replace(`{${"targetLogicalDatabaseId"}}`, encodeURIComponent(String(targetLogicalDatabaseId)));
|
|
12042
|
+
assertParamExists('getApplicationDeploymentRestrictions', 'applicationId', applicationId)
|
|
12043
|
+
const localVarPath = `/application/{applicationId}/deploymentRestriction`
|
|
12044
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
12009
12045
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12010
12046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12011
12047
|
let baseOptions;
|
|
@@ -12013,7 +12049,7 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
12013
12049
|
baseOptions = configuration.baseOptions;
|
|
12014
12050
|
}
|
|
12015
12051
|
|
|
12016
|
-
const localVarRequestOptions = { method: '
|
|
12052
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12017
12053
|
const localVarHeaderParameter = {} as any;
|
|
12018
12054
|
const localVarQueryParameter = {} as any;
|
|
12019
12055
|
|
|
@@ -12036,679 +12072,150 @@ export const ApplicationDatabaseApiAxiosParamCreator = function (configuration?:
|
|
|
12036
12072
|
};
|
|
12037
12073
|
|
|
12038
12074
|
/**
|
|
12039
|
-
*
|
|
12075
|
+
* ApplicationDeploymentRestrictionApi - functional programming interface
|
|
12040
12076
|
* @export
|
|
12041
12077
|
*/
|
|
12042
|
-
export const
|
|
12043
|
-
const localVarAxiosParamCreator =
|
|
12078
|
+
export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Configuration) {
|
|
12079
|
+
const localVarAxiosParamCreator = ApplicationDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
12044
12080
|
return {
|
|
12045
12081
|
/**
|
|
12046
|
-
*
|
|
12047
|
-
* @summary
|
|
12048
|
-
* @param {string} applicationId Application ID
|
|
12049
|
-
* @param {string} targetDatabaseId Target database ID
|
|
12050
|
-
* @param {*} [options] Override http request option.
|
|
12051
|
-
* @throws {RequiredError}
|
|
12052
|
-
*/
|
|
12053
|
-
async attachDatabasetoApplication(applicationId: string, targetDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Database>> {
|
|
12054
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.attachDatabasetoApplication(applicationId, targetDatabaseId, options);
|
|
12055
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12056
|
-
},
|
|
12057
|
-
/**
|
|
12058
|
-
*
|
|
12059
|
-
* @summary Link a logical database to the application
|
|
12060
|
-
* @param {string} applicationId Application ID
|
|
12061
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
12062
|
-
* @param {*} [options] Override http request option.
|
|
12063
|
-
* @throws {RequiredError}
|
|
12064
|
-
*/
|
|
12065
|
-
async attachLogicalDatabasetoApplication(applicationId: string, targetLogicalDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogicalDatabase>> {
|
|
12066
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.attachLogicalDatabasetoApplication(applicationId, targetLogicalDatabaseId, options);
|
|
12067
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12068
|
-
},
|
|
12069
|
-
/**
|
|
12070
|
-
*
|
|
12071
|
-
* @summary List linked databases
|
|
12082
|
+
* Create an application deployment restriction
|
|
12083
|
+
* @summary Create an application deployment restriction
|
|
12072
12084
|
* @param {string} applicationId Application ID
|
|
12085
|
+
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12073
12086
|
* @param {*} [options] Override http request option.
|
|
12074
12087
|
* @throws {RequiredError}
|
|
12075
12088
|
*/
|
|
12076
|
-
async
|
|
12077
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12089
|
+
async createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
|
|
12090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options);
|
|
12078
12091
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12079
12092
|
},
|
|
12080
12093
|
/**
|
|
12081
|
-
*
|
|
12082
|
-
* @summary
|
|
12094
|
+
* Delete an application deployment restriction
|
|
12095
|
+
* @summary Delete an application deployment restriction
|
|
12083
12096
|
* @param {string} applicationId Application ID
|
|
12084
12097
|
* @param {*} [options] Override http request option.
|
|
12085
12098
|
* @throws {RequiredError}
|
|
12086
12099
|
*/
|
|
12087
|
-
async
|
|
12088
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12100
|
+
async deleteApplicationDeploymentRestriction(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
12101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplicationDeploymentRestriction(applicationId, options);
|
|
12089
12102
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12090
12103
|
},
|
|
12091
12104
|
/**
|
|
12092
|
-
*
|
|
12093
|
-
* @summary
|
|
12105
|
+
* Edit an application deployment restriction
|
|
12106
|
+
* @summary Edit an application deployment restriction
|
|
12094
12107
|
* @param {string} applicationId Application ID
|
|
12095
|
-
* @param {string}
|
|
12108
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
12109
|
+
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12096
12110
|
* @param {*} [options] Override http request option.
|
|
12097
12111
|
* @throws {RequiredError}
|
|
12098
12112
|
*/
|
|
12099
|
-
async
|
|
12100
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12113
|
+
async editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
|
|
12114
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, applicationDeploymentRestrictionRequest, options);
|
|
12101
12115
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12102
12116
|
},
|
|
12103
12117
|
/**
|
|
12104
|
-
*
|
|
12105
|
-
* @summary
|
|
12118
|
+
* Get application deployment restrictions
|
|
12119
|
+
* @summary Get application deployment restrictions
|
|
12106
12120
|
* @param {string} applicationId Application ID
|
|
12107
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
12108
12121
|
* @param {*} [options] Override http request option.
|
|
12109
12122
|
* @throws {RequiredError}
|
|
12110
12123
|
*/
|
|
12111
|
-
async
|
|
12112
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12124
|
+
async getApplicationDeploymentRestrictions(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestrictionResponseList>> {
|
|
12125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationDeploymentRestrictions(applicationId, options);
|
|
12113
12126
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12114
12127
|
},
|
|
12115
12128
|
}
|
|
12116
12129
|
};
|
|
12117
12130
|
|
|
12118
12131
|
/**
|
|
12119
|
-
*
|
|
12132
|
+
* ApplicationDeploymentRestrictionApi - factory interface
|
|
12120
12133
|
* @export
|
|
12121
12134
|
*/
|
|
12122
|
-
export const
|
|
12123
|
-
const localVarFp =
|
|
12135
|
+
export const ApplicationDeploymentRestrictionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12136
|
+
const localVarFp = ApplicationDeploymentRestrictionApiFp(configuration)
|
|
12124
12137
|
return {
|
|
12125
12138
|
/**
|
|
12126
|
-
*
|
|
12127
|
-
* @summary
|
|
12128
|
-
* @param {string} applicationId Application ID
|
|
12129
|
-
* @param {string} targetDatabaseId Target database ID
|
|
12130
|
-
* @param {*} [options] Override http request option.
|
|
12131
|
-
* @throws {RequiredError}
|
|
12132
|
-
*/
|
|
12133
|
-
attachDatabasetoApplication(applicationId: string, targetDatabaseId: string, options?: any): AxiosPromise<Database> {
|
|
12134
|
-
return localVarFp.attachDatabasetoApplication(applicationId, targetDatabaseId, options).then((request) => request(axios, basePath));
|
|
12135
|
-
},
|
|
12136
|
-
/**
|
|
12137
|
-
*
|
|
12138
|
-
* @summary Link a logical database to the application
|
|
12139
|
-
* @param {string} applicationId Application ID
|
|
12140
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
12141
|
-
* @param {*} [options] Override http request option.
|
|
12142
|
-
* @throws {RequiredError}
|
|
12143
|
-
*/
|
|
12144
|
-
attachLogicalDatabasetoApplication(applicationId: string, targetLogicalDatabaseId: string, options?: any): AxiosPromise<LogicalDatabase> {
|
|
12145
|
-
return localVarFp.attachLogicalDatabasetoApplication(applicationId, targetLogicalDatabaseId, options).then((request) => request(axios, basePath));
|
|
12146
|
-
},
|
|
12147
|
-
/**
|
|
12148
|
-
*
|
|
12149
|
-
* @summary List linked databases
|
|
12139
|
+
* Create an application deployment restriction
|
|
12140
|
+
* @summary Create an application deployment restriction
|
|
12150
12141
|
* @param {string} applicationId Application ID
|
|
12142
|
+
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12151
12143
|
* @param {*} [options] Override http request option.
|
|
12152
12144
|
* @throws {RequiredError}
|
|
12153
12145
|
*/
|
|
12154
|
-
|
|
12155
|
-
return localVarFp.
|
|
12146
|
+
createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: any): AxiosPromise<ApplicationDeploymentRestriction> {
|
|
12147
|
+
return localVarFp.createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
12156
12148
|
},
|
|
12157
12149
|
/**
|
|
12158
|
-
*
|
|
12159
|
-
* @summary
|
|
12150
|
+
* Delete an application deployment restriction
|
|
12151
|
+
* @summary Delete an application deployment restriction
|
|
12160
12152
|
* @param {string} applicationId Application ID
|
|
12161
12153
|
* @param {*} [options] Override http request option.
|
|
12162
12154
|
* @throws {RequiredError}
|
|
12163
12155
|
*/
|
|
12164
|
-
|
|
12165
|
-
return localVarFp.
|
|
12156
|
+
deleteApplicationDeploymentRestriction(applicationId: string, options?: any): AxiosPromise<void> {
|
|
12157
|
+
return localVarFp.deleteApplicationDeploymentRestriction(applicationId, options).then((request) => request(axios, basePath));
|
|
12166
12158
|
},
|
|
12167
12159
|
/**
|
|
12168
|
-
*
|
|
12169
|
-
* @summary
|
|
12160
|
+
* Edit an application deployment restriction
|
|
12161
|
+
* @summary Edit an application deployment restriction
|
|
12170
12162
|
* @param {string} applicationId Application ID
|
|
12171
|
-
* @param {string}
|
|
12163
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
12164
|
+
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12172
12165
|
* @param {*} [options] Override http request option.
|
|
12173
12166
|
* @throws {RequiredError}
|
|
12174
12167
|
*/
|
|
12175
|
-
|
|
12176
|
-
return localVarFp.
|
|
12168
|
+
editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: any): AxiosPromise<ApplicationDeploymentRestriction> {
|
|
12169
|
+
return localVarFp.editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
12177
12170
|
},
|
|
12178
12171
|
/**
|
|
12179
|
-
*
|
|
12180
|
-
* @summary
|
|
12172
|
+
* Get application deployment restrictions
|
|
12173
|
+
* @summary Get application deployment restrictions
|
|
12181
12174
|
* @param {string} applicationId Application ID
|
|
12182
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
12183
12175
|
* @param {*} [options] Override http request option.
|
|
12184
12176
|
* @throws {RequiredError}
|
|
12185
12177
|
*/
|
|
12186
|
-
|
|
12187
|
-
return localVarFp.
|
|
12178
|
+
getApplicationDeploymentRestrictions(applicationId: string, options?: any): AxiosPromise<ApplicationDeploymentRestrictionResponseList> {
|
|
12179
|
+
return localVarFp.getApplicationDeploymentRestrictions(applicationId, options).then((request) => request(axios, basePath));
|
|
12188
12180
|
},
|
|
12189
12181
|
};
|
|
12190
12182
|
};
|
|
12191
12183
|
|
|
12192
12184
|
/**
|
|
12193
|
-
*
|
|
12185
|
+
* ApplicationDeploymentRestrictionApi - object-oriented interface
|
|
12194
12186
|
* @export
|
|
12195
|
-
* @class
|
|
12187
|
+
* @class ApplicationDeploymentRestrictionApi
|
|
12196
12188
|
* @extends {BaseAPI}
|
|
12197
12189
|
*/
|
|
12198
|
-
export class
|
|
12190
|
+
export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
12199
12191
|
/**
|
|
12200
|
-
*
|
|
12201
|
-
* @summary
|
|
12192
|
+
* Create an application deployment restriction
|
|
12193
|
+
* @summary Create an application deployment restriction
|
|
12202
12194
|
* @param {string} applicationId Application ID
|
|
12203
|
-
* @param {
|
|
12195
|
+
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12204
12196
|
* @param {*} [options] Override http request option.
|
|
12205
12197
|
* @throws {RequiredError}
|
|
12206
|
-
* @memberof
|
|
12198
|
+
* @memberof ApplicationDeploymentRestrictionApi
|
|
12207
12199
|
*/
|
|
12208
|
-
public
|
|
12209
|
-
return
|
|
12200
|
+
public createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: AxiosRequestConfig) {
|
|
12201
|
+
return ApplicationDeploymentRestrictionApiFp(this.configuration).createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12210
12202
|
}
|
|
12211
12203
|
|
|
12212
12204
|
/**
|
|
12213
|
-
*
|
|
12214
|
-
* @summary
|
|
12205
|
+
* Delete an application deployment restriction
|
|
12206
|
+
* @summary Delete an application deployment restriction
|
|
12215
12207
|
* @param {string} applicationId Application ID
|
|
12216
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
12217
12208
|
* @param {*} [options] Override http request option.
|
|
12218
12209
|
* @throws {RequiredError}
|
|
12219
|
-
* @memberof
|
|
12210
|
+
* @memberof ApplicationDeploymentRestrictionApi
|
|
12220
12211
|
*/
|
|
12221
|
-
public
|
|
12222
|
-
return
|
|
12212
|
+
public deleteApplicationDeploymentRestriction(applicationId: string, options?: AxiosRequestConfig) {
|
|
12213
|
+
return ApplicationDeploymentRestrictionApiFp(this.configuration).deleteApplicationDeploymentRestriction(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
12223
12214
|
}
|
|
12224
12215
|
|
|
12225
12216
|
/**
|
|
12226
|
-
*
|
|
12227
|
-
* @summary
|
|
12228
|
-
* @param {string} applicationId Application ID
|
|
12229
|
-
* @param {*} [options] Override http request option.
|
|
12230
|
-
* @throws {RequiredError}
|
|
12231
|
-
* @memberof ApplicationDatabaseApi
|
|
12232
|
-
*/
|
|
12233
|
-
public listApplicationDatabase(applicationId: string, options?: AxiosRequestConfig) {
|
|
12234
|
-
return ApplicationDatabaseApiFp(this.configuration).listApplicationDatabase(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
12235
|
-
}
|
|
12236
|
-
|
|
12237
|
-
/**
|
|
12238
|
-
*
|
|
12239
|
-
* @summary List linked logical databases
|
|
12240
|
-
* @param {string} applicationId Application ID
|
|
12241
|
-
* @param {*} [options] Override http request option.
|
|
12242
|
-
* @throws {RequiredError}
|
|
12243
|
-
* @memberof ApplicationDatabaseApi
|
|
12244
|
-
*/
|
|
12245
|
-
public listApplicationLogicalDatabase(applicationId: string, options?: AxiosRequestConfig) {
|
|
12246
|
-
return ApplicationDatabaseApiFp(this.configuration).listApplicationLogicalDatabase(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
12247
|
-
}
|
|
12248
|
-
|
|
12249
|
-
/**
|
|
12250
|
-
*
|
|
12251
|
-
* @summary Remove database link to this application.
|
|
12252
|
-
* @param {string} applicationId Application ID
|
|
12253
|
-
* @param {string} targetDatabaseId Target database ID
|
|
12254
|
-
* @param {*} [options] Override http request option.
|
|
12255
|
-
* @throws {RequiredError}
|
|
12256
|
-
* @memberof ApplicationDatabaseApi
|
|
12257
|
-
*/
|
|
12258
|
-
public removeDatabaseFromApplication(applicationId: string, targetDatabaseId: string, options?: AxiosRequestConfig) {
|
|
12259
|
-
return ApplicationDatabaseApiFp(this.configuration).removeDatabaseFromApplication(applicationId, targetDatabaseId, options).then((request) => request(this.axios, this.basePath));
|
|
12260
|
-
}
|
|
12261
|
-
|
|
12262
|
-
/**
|
|
12263
|
-
*
|
|
12264
|
-
* @summary Remove logical database link to this application.
|
|
12265
|
-
* @param {string} applicationId Application ID
|
|
12266
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
12267
|
-
* @param {*} [options] Override http request option.
|
|
12268
|
-
* @throws {RequiredError}
|
|
12269
|
-
* @memberof ApplicationDatabaseApi
|
|
12270
|
-
*/
|
|
12271
|
-
public removeLogicalDatabaseFromApplication(applicationId: string, targetLogicalDatabaseId: string, options?: AxiosRequestConfig) {
|
|
12272
|
-
return ApplicationDatabaseApiFp(this.configuration).removeLogicalDatabaseFromApplication(applicationId, targetLogicalDatabaseId, options).then((request) => request(this.axios, this.basePath));
|
|
12273
|
-
}
|
|
12274
|
-
}
|
|
12275
|
-
|
|
12276
|
-
|
|
12277
|
-
/**
|
|
12278
|
-
* ApplicationDeploymentHistoryApi - axios parameter creator
|
|
12279
|
-
* @export
|
|
12280
|
-
*/
|
|
12281
|
-
export const ApplicationDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12282
|
-
return {
|
|
12283
|
-
/**
|
|
12284
|
-
* By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
|
|
12285
|
-
* @summary List application deploys
|
|
12286
|
-
* @param {string} applicationId Application ID
|
|
12287
|
-
* @param {string} [startId] Starting point after which to return results
|
|
12288
|
-
* @param {*} [options] Override http request option.
|
|
12289
|
-
* @throws {RequiredError}
|
|
12290
|
-
*/
|
|
12291
|
-
listApplicationDeploymentHistory: async (applicationId: string, startId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12292
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
12293
|
-
assertParamExists('listApplicationDeploymentHistory', 'applicationId', applicationId)
|
|
12294
|
-
const localVarPath = `/application/{applicationId}/deploymentHistory`
|
|
12295
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
12296
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12297
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12298
|
-
let baseOptions;
|
|
12299
|
-
if (configuration) {
|
|
12300
|
-
baseOptions = configuration.baseOptions;
|
|
12301
|
-
}
|
|
12302
|
-
|
|
12303
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12304
|
-
const localVarHeaderParameter = {} as any;
|
|
12305
|
-
const localVarQueryParameter = {} as any;
|
|
12306
|
-
|
|
12307
|
-
// authentication bearerAuth required
|
|
12308
|
-
// http bearer authentication required
|
|
12309
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12310
|
-
|
|
12311
|
-
if (startId !== undefined) {
|
|
12312
|
-
localVarQueryParameter['startId'] = startId;
|
|
12313
|
-
}
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12318
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12319
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12320
|
-
|
|
12321
|
-
return {
|
|
12322
|
-
url: toPathString(localVarUrlObj),
|
|
12323
|
-
options: localVarRequestOptions,
|
|
12324
|
-
};
|
|
12325
|
-
},
|
|
12326
|
-
}
|
|
12327
|
-
};
|
|
12328
|
-
|
|
12329
|
-
/**
|
|
12330
|
-
* ApplicationDeploymentHistoryApi - functional programming interface
|
|
12331
|
-
* @export
|
|
12332
|
-
*/
|
|
12333
|
-
export const ApplicationDeploymentHistoryApiFp = function(configuration?: Configuration) {
|
|
12334
|
-
const localVarAxiosParamCreator = ApplicationDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
12335
|
-
return {
|
|
12336
|
-
/**
|
|
12337
|
-
* By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
|
|
12338
|
-
* @summary List application deploys
|
|
12339
|
-
* @param {string} applicationId Application ID
|
|
12340
|
-
* @param {string} [startId] Starting point after which to return results
|
|
12341
|
-
* @param {*} [options] Override http request option.
|
|
12342
|
-
* @throws {RequiredError}
|
|
12343
|
-
*/
|
|
12344
|
-
async listApplicationDeploymentHistory(applicationId: string, startId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryPaginatedResponseList>> {
|
|
12345
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationDeploymentHistory(applicationId, startId, options);
|
|
12346
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12347
|
-
},
|
|
12348
|
-
}
|
|
12349
|
-
};
|
|
12350
|
-
|
|
12351
|
-
/**
|
|
12352
|
-
* ApplicationDeploymentHistoryApi - factory interface
|
|
12353
|
-
* @export
|
|
12354
|
-
*/
|
|
12355
|
-
export const ApplicationDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12356
|
-
const localVarFp = ApplicationDeploymentHistoryApiFp(configuration)
|
|
12357
|
-
return {
|
|
12358
|
-
/**
|
|
12359
|
-
* By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
|
|
12360
|
-
* @summary List application deploys
|
|
12361
|
-
* @param {string} applicationId Application ID
|
|
12362
|
-
* @param {string} [startId] Starting point after which to return results
|
|
12363
|
-
* @param {*} [options] Override http request option.
|
|
12364
|
-
* @throws {RequiredError}
|
|
12365
|
-
*/
|
|
12366
|
-
listApplicationDeploymentHistory(applicationId: string, startId?: string, options?: any): AxiosPromise<DeploymentHistoryPaginatedResponseList> {
|
|
12367
|
-
return localVarFp.listApplicationDeploymentHistory(applicationId, startId, options).then((request) => request(axios, basePath));
|
|
12368
|
-
},
|
|
12369
|
-
};
|
|
12370
|
-
};
|
|
12371
|
-
|
|
12372
|
-
/**
|
|
12373
|
-
* ApplicationDeploymentHistoryApi - object-oriented interface
|
|
12374
|
-
* @export
|
|
12375
|
-
* @class ApplicationDeploymentHistoryApi
|
|
12376
|
-
* @extends {BaseAPI}
|
|
12377
|
-
*/
|
|
12378
|
-
export class ApplicationDeploymentHistoryApi extends BaseAPI {
|
|
12379
|
-
/**
|
|
12380
|
-
* By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
|
|
12381
|
-
* @summary List application deploys
|
|
12382
|
-
* @param {string} applicationId Application ID
|
|
12383
|
-
* @param {string} [startId] Starting point after which to return results
|
|
12384
|
-
* @param {*} [options] Override http request option.
|
|
12385
|
-
* @throws {RequiredError}
|
|
12386
|
-
* @memberof ApplicationDeploymentHistoryApi
|
|
12387
|
-
*/
|
|
12388
|
-
public listApplicationDeploymentHistory(applicationId: string, startId?: string, options?: AxiosRequestConfig) {
|
|
12389
|
-
return ApplicationDeploymentHistoryApiFp(this.configuration).listApplicationDeploymentHistory(applicationId, startId, options).then((request) => request(this.axios, this.basePath));
|
|
12390
|
-
}
|
|
12391
|
-
}
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
/**
|
|
12395
|
-
* ApplicationDeploymentRestrictionApi - axios parameter creator
|
|
12396
|
-
* @export
|
|
12397
|
-
*/
|
|
12398
|
-
export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12399
|
-
return {
|
|
12400
|
-
/**
|
|
12401
|
-
* Create an application deployment restriction
|
|
12402
|
-
* @summary Create an application deployment restriction
|
|
12403
|
-
* @param {string} applicationId Application ID
|
|
12404
|
-
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12405
|
-
* @param {*} [options] Override http request option.
|
|
12406
|
-
* @throws {RequiredError}
|
|
12407
|
-
*/
|
|
12408
|
-
createApplicationDeploymentRestriction: async (applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12409
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
12410
|
-
assertParamExists('createApplicationDeploymentRestriction', 'applicationId', applicationId)
|
|
12411
|
-
const localVarPath = `/application/{applicationId}/deploymentRestriction`
|
|
12412
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
12413
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12414
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12415
|
-
let baseOptions;
|
|
12416
|
-
if (configuration) {
|
|
12417
|
-
baseOptions = configuration.baseOptions;
|
|
12418
|
-
}
|
|
12419
|
-
|
|
12420
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12421
|
-
const localVarHeaderParameter = {} as any;
|
|
12422
|
-
const localVarQueryParameter = {} as any;
|
|
12423
|
-
|
|
12424
|
-
// authentication bearerAuth required
|
|
12425
|
-
// http bearer authentication required
|
|
12426
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12431
|
-
|
|
12432
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12433
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12434
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12435
|
-
localVarRequestOptions.data = serializeDataIfNeeded(applicationDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
12436
|
-
|
|
12437
|
-
return {
|
|
12438
|
-
url: toPathString(localVarUrlObj),
|
|
12439
|
-
options: localVarRequestOptions,
|
|
12440
|
-
};
|
|
12441
|
-
},
|
|
12442
|
-
/**
|
|
12443
|
-
* Delete an application deployment restriction
|
|
12444
|
-
* @summary Delete an application deployment restriction
|
|
12445
|
-
* @param {string} applicationId Application ID
|
|
12446
|
-
* @param {*} [options] Override http request option.
|
|
12447
|
-
* @throws {RequiredError}
|
|
12448
|
-
*/
|
|
12449
|
-
deleteApplicationDeploymentRestriction: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12450
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
12451
|
-
assertParamExists('deleteApplicationDeploymentRestriction', 'applicationId', applicationId)
|
|
12452
|
-
const localVarPath = `/application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
12453
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
12454
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12455
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12456
|
-
let baseOptions;
|
|
12457
|
-
if (configuration) {
|
|
12458
|
-
baseOptions = configuration.baseOptions;
|
|
12459
|
-
}
|
|
12460
|
-
|
|
12461
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
12462
|
-
const localVarHeaderParameter = {} as any;
|
|
12463
|
-
const localVarQueryParameter = {} as any;
|
|
12464
|
-
|
|
12465
|
-
// authentication bearerAuth required
|
|
12466
|
-
// http bearer authentication required
|
|
12467
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12472
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12473
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12474
|
-
|
|
12475
|
-
return {
|
|
12476
|
-
url: toPathString(localVarUrlObj),
|
|
12477
|
-
options: localVarRequestOptions,
|
|
12478
|
-
};
|
|
12479
|
-
},
|
|
12480
|
-
/**
|
|
12481
|
-
* Edit an application deployment restriction
|
|
12482
|
-
* @summary Edit an application deployment restriction
|
|
12483
|
-
* @param {string} applicationId Application ID
|
|
12484
|
-
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
12485
|
-
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12486
|
-
* @param {*} [options] Override http request option.
|
|
12487
|
-
* @throws {RequiredError}
|
|
12488
|
-
*/
|
|
12489
|
-
editApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12490
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
12491
|
-
assertParamExists('editApplicationDeploymentRestriction', 'applicationId', applicationId)
|
|
12492
|
-
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
12493
|
-
assertParamExists('editApplicationDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
12494
|
-
const localVarPath = `/application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
12495
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
12496
|
-
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
12497
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12498
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12499
|
-
let baseOptions;
|
|
12500
|
-
if (configuration) {
|
|
12501
|
-
baseOptions = configuration.baseOptions;
|
|
12502
|
-
}
|
|
12503
|
-
|
|
12504
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12505
|
-
const localVarHeaderParameter = {} as any;
|
|
12506
|
-
const localVarQueryParameter = {} as any;
|
|
12507
|
-
|
|
12508
|
-
// authentication bearerAuth required
|
|
12509
|
-
// http bearer authentication required
|
|
12510
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12515
|
-
|
|
12516
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12517
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12518
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12519
|
-
localVarRequestOptions.data = serializeDataIfNeeded(applicationDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
12520
|
-
|
|
12521
|
-
return {
|
|
12522
|
-
url: toPathString(localVarUrlObj),
|
|
12523
|
-
options: localVarRequestOptions,
|
|
12524
|
-
};
|
|
12525
|
-
},
|
|
12526
|
-
/**
|
|
12527
|
-
* Get application deployment restrictions
|
|
12528
|
-
* @summary Get application deployment restrictions
|
|
12529
|
-
* @param {string} applicationId Application ID
|
|
12530
|
-
* @param {*} [options] Override http request option.
|
|
12531
|
-
* @throws {RequiredError}
|
|
12532
|
-
*/
|
|
12533
|
-
getApplicationDeploymentRestrictions: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12534
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
12535
|
-
assertParamExists('getApplicationDeploymentRestrictions', 'applicationId', applicationId)
|
|
12536
|
-
const localVarPath = `/application/{applicationId}/deploymentRestriction`
|
|
12537
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
12538
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12539
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12540
|
-
let baseOptions;
|
|
12541
|
-
if (configuration) {
|
|
12542
|
-
baseOptions = configuration.baseOptions;
|
|
12543
|
-
}
|
|
12544
|
-
|
|
12545
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12546
|
-
const localVarHeaderParameter = {} as any;
|
|
12547
|
-
const localVarQueryParameter = {} as any;
|
|
12548
|
-
|
|
12549
|
-
// authentication bearerAuth required
|
|
12550
|
-
// http bearer authentication required
|
|
12551
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12552
|
-
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12556
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12557
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12558
|
-
|
|
12559
|
-
return {
|
|
12560
|
-
url: toPathString(localVarUrlObj),
|
|
12561
|
-
options: localVarRequestOptions,
|
|
12562
|
-
};
|
|
12563
|
-
},
|
|
12564
|
-
}
|
|
12565
|
-
};
|
|
12566
|
-
|
|
12567
|
-
/**
|
|
12568
|
-
* ApplicationDeploymentRestrictionApi - functional programming interface
|
|
12569
|
-
* @export
|
|
12570
|
-
*/
|
|
12571
|
-
export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Configuration) {
|
|
12572
|
-
const localVarAxiosParamCreator = ApplicationDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
12573
|
-
return {
|
|
12574
|
-
/**
|
|
12575
|
-
* Create an application deployment restriction
|
|
12576
|
-
* @summary Create an application deployment restriction
|
|
12577
|
-
* @param {string} applicationId Application ID
|
|
12578
|
-
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12579
|
-
* @param {*} [options] Override http request option.
|
|
12580
|
-
* @throws {RequiredError}
|
|
12581
|
-
*/
|
|
12582
|
-
async createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
|
|
12583
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options);
|
|
12584
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12585
|
-
},
|
|
12586
|
-
/**
|
|
12587
|
-
* Delete an application deployment restriction
|
|
12588
|
-
* @summary Delete an application deployment restriction
|
|
12589
|
-
* @param {string} applicationId Application ID
|
|
12590
|
-
* @param {*} [options] Override http request option.
|
|
12591
|
-
* @throws {RequiredError}
|
|
12592
|
-
*/
|
|
12593
|
-
async deleteApplicationDeploymentRestriction(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
12594
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplicationDeploymentRestriction(applicationId, options);
|
|
12595
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12596
|
-
},
|
|
12597
|
-
/**
|
|
12598
|
-
* Edit an application deployment restriction
|
|
12599
|
-
* @summary Edit an application deployment restriction
|
|
12600
|
-
* @param {string} applicationId Application ID
|
|
12601
|
-
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
12602
|
-
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12603
|
-
* @param {*} [options] Override http request option.
|
|
12604
|
-
* @throws {RequiredError}
|
|
12605
|
-
*/
|
|
12606
|
-
async editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
|
|
12607
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, applicationDeploymentRestrictionRequest, options);
|
|
12608
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12609
|
-
},
|
|
12610
|
-
/**
|
|
12611
|
-
* Get application deployment restrictions
|
|
12612
|
-
* @summary Get application deployment restrictions
|
|
12613
|
-
* @param {string} applicationId Application ID
|
|
12614
|
-
* @param {*} [options] Override http request option.
|
|
12615
|
-
* @throws {RequiredError}
|
|
12616
|
-
*/
|
|
12617
|
-
async getApplicationDeploymentRestrictions(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestrictionResponseList>> {
|
|
12618
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationDeploymentRestrictions(applicationId, options);
|
|
12619
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12620
|
-
},
|
|
12621
|
-
}
|
|
12622
|
-
};
|
|
12623
|
-
|
|
12624
|
-
/**
|
|
12625
|
-
* ApplicationDeploymentRestrictionApi - factory interface
|
|
12626
|
-
* @export
|
|
12627
|
-
*/
|
|
12628
|
-
export const ApplicationDeploymentRestrictionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12629
|
-
const localVarFp = ApplicationDeploymentRestrictionApiFp(configuration)
|
|
12630
|
-
return {
|
|
12631
|
-
/**
|
|
12632
|
-
* Create an application deployment restriction
|
|
12633
|
-
* @summary Create an application deployment restriction
|
|
12634
|
-
* @param {string} applicationId Application ID
|
|
12635
|
-
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12636
|
-
* @param {*} [options] Override http request option.
|
|
12637
|
-
* @throws {RequiredError}
|
|
12638
|
-
*/
|
|
12639
|
-
createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: any): AxiosPromise<ApplicationDeploymentRestriction> {
|
|
12640
|
-
return localVarFp.createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
12641
|
-
},
|
|
12642
|
-
/**
|
|
12643
|
-
* Delete an application deployment restriction
|
|
12644
|
-
* @summary Delete an application deployment restriction
|
|
12645
|
-
* @param {string} applicationId Application ID
|
|
12646
|
-
* @param {*} [options] Override http request option.
|
|
12647
|
-
* @throws {RequiredError}
|
|
12648
|
-
*/
|
|
12649
|
-
deleteApplicationDeploymentRestriction(applicationId: string, options?: any): AxiosPromise<void> {
|
|
12650
|
-
return localVarFp.deleteApplicationDeploymentRestriction(applicationId, options).then((request) => request(axios, basePath));
|
|
12651
|
-
},
|
|
12652
|
-
/**
|
|
12653
|
-
* Edit an application deployment restriction
|
|
12654
|
-
* @summary Edit an application deployment restriction
|
|
12655
|
-
* @param {string} applicationId Application ID
|
|
12656
|
-
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
12657
|
-
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12658
|
-
* @param {*} [options] Override http request option.
|
|
12659
|
-
* @throws {RequiredError}
|
|
12660
|
-
*/
|
|
12661
|
-
editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: any): AxiosPromise<ApplicationDeploymentRestriction> {
|
|
12662
|
-
return localVarFp.editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
12663
|
-
},
|
|
12664
|
-
/**
|
|
12665
|
-
* Get application deployment restrictions
|
|
12666
|
-
* @summary Get application deployment restrictions
|
|
12667
|
-
* @param {string} applicationId Application ID
|
|
12668
|
-
* @param {*} [options] Override http request option.
|
|
12669
|
-
* @throws {RequiredError}
|
|
12670
|
-
*/
|
|
12671
|
-
getApplicationDeploymentRestrictions(applicationId: string, options?: any): AxiosPromise<ApplicationDeploymentRestrictionResponseList> {
|
|
12672
|
-
return localVarFp.getApplicationDeploymentRestrictions(applicationId, options).then((request) => request(axios, basePath));
|
|
12673
|
-
},
|
|
12674
|
-
};
|
|
12675
|
-
};
|
|
12676
|
-
|
|
12677
|
-
/**
|
|
12678
|
-
* ApplicationDeploymentRestrictionApi - object-oriented interface
|
|
12679
|
-
* @export
|
|
12680
|
-
* @class ApplicationDeploymentRestrictionApi
|
|
12681
|
-
* @extends {BaseAPI}
|
|
12682
|
-
*/
|
|
12683
|
-
export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
12684
|
-
/**
|
|
12685
|
-
* Create an application deployment restriction
|
|
12686
|
-
* @summary Create an application deployment restriction
|
|
12687
|
-
* @param {string} applicationId Application ID
|
|
12688
|
-
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
12689
|
-
* @param {*} [options] Override http request option.
|
|
12690
|
-
* @throws {RequiredError}
|
|
12691
|
-
* @memberof ApplicationDeploymentRestrictionApi
|
|
12692
|
-
*/
|
|
12693
|
-
public createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: AxiosRequestConfig) {
|
|
12694
|
-
return ApplicationDeploymentRestrictionApiFp(this.configuration).createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12695
|
-
}
|
|
12696
|
-
|
|
12697
|
-
/**
|
|
12698
|
-
* Delete an application deployment restriction
|
|
12699
|
-
* @summary Delete an application deployment restriction
|
|
12700
|
-
* @param {string} applicationId Application ID
|
|
12701
|
-
* @param {*} [options] Override http request option.
|
|
12702
|
-
* @throws {RequiredError}
|
|
12703
|
-
* @memberof ApplicationDeploymentRestrictionApi
|
|
12704
|
-
*/
|
|
12705
|
-
public deleteApplicationDeploymentRestriction(applicationId: string, options?: AxiosRequestConfig) {
|
|
12706
|
-
return ApplicationDeploymentRestrictionApiFp(this.configuration).deleteApplicationDeploymentRestriction(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
12707
|
-
}
|
|
12708
|
-
|
|
12709
|
-
/**
|
|
12710
|
-
* Edit an application deployment restriction
|
|
12711
|
-
* @summary Edit an application deployment restriction
|
|
12217
|
+
* Edit an application deployment restriction
|
|
12218
|
+
* @summary Edit an application deployment restriction
|
|
12712
12219
|
* @param {string} applicationId Application ID
|
|
12713
12220
|
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
12714
12221
|
* @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
|
|
@@ -21911,271 +21418,6 @@ export class ContainerCustomDomainApi extends BaseAPI {
|
|
|
21911
21418
|
}
|
|
21912
21419
|
|
|
21913
21420
|
|
|
21914
|
-
/**
|
|
21915
|
-
* ContainerDatabaseApi - axios parameter creator
|
|
21916
|
-
* @export
|
|
21917
|
-
*/
|
|
21918
|
-
export const ContainerDatabaseApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
21919
|
-
return {
|
|
21920
|
-
/**
|
|
21921
|
-
*
|
|
21922
|
-
* @summary Link a logical database to the container
|
|
21923
|
-
* @param {string} containerId Container ID
|
|
21924
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
21925
|
-
* @param {*} [options] Override http request option.
|
|
21926
|
-
* @throws {RequiredError}
|
|
21927
|
-
*/
|
|
21928
|
-
attachLogicalDatabaseToContainer: async (containerId: string, targetLogicalDatabaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21929
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
21930
|
-
assertParamExists('attachLogicalDatabaseToContainer', 'containerId', containerId)
|
|
21931
|
-
// verify required parameter 'targetLogicalDatabaseId' is not null or undefined
|
|
21932
|
-
assertParamExists('attachLogicalDatabaseToContainer', 'targetLogicalDatabaseId', targetLogicalDatabaseId)
|
|
21933
|
-
const localVarPath = `/container/{containerId}/logicalDatabase/{targetLogicalDatabaseId}`
|
|
21934
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
21935
|
-
.replace(`{${"targetLogicalDatabaseId"}}`, encodeURIComponent(String(targetLogicalDatabaseId)));
|
|
21936
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21937
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21938
|
-
let baseOptions;
|
|
21939
|
-
if (configuration) {
|
|
21940
|
-
baseOptions = configuration.baseOptions;
|
|
21941
|
-
}
|
|
21942
|
-
|
|
21943
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21944
|
-
const localVarHeaderParameter = {} as any;
|
|
21945
|
-
const localVarQueryParameter = {} as any;
|
|
21946
|
-
|
|
21947
|
-
// authentication bearerAuth required
|
|
21948
|
-
// http bearer authentication required
|
|
21949
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21950
|
-
|
|
21951
|
-
|
|
21952
|
-
|
|
21953
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21954
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21955
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21956
|
-
|
|
21957
|
-
return {
|
|
21958
|
-
url: toPathString(localVarUrlObj),
|
|
21959
|
-
options: localVarRequestOptions,
|
|
21960
|
-
};
|
|
21961
|
-
},
|
|
21962
|
-
/**
|
|
21963
|
-
*
|
|
21964
|
-
* @summary List linked logical databases
|
|
21965
|
-
* @param {string} containerId Container ID
|
|
21966
|
-
* @param {*} [options] Override http request option.
|
|
21967
|
-
* @throws {RequiredError}
|
|
21968
|
-
*/
|
|
21969
|
-
listContainerLogicalDatabase: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21970
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
21971
|
-
assertParamExists('listContainerLogicalDatabase', 'containerId', containerId)
|
|
21972
|
-
const localVarPath = `/container/{containerId}/logicalDatabase`
|
|
21973
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
21974
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21975
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21976
|
-
let baseOptions;
|
|
21977
|
-
if (configuration) {
|
|
21978
|
-
baseOptions = configuration.baseOptions;
|
|
21979
|
-
}
|
|
21980
|
-
|
|
21981
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21982
|
-
const localVarHeaderParameter = {} as any;
|
|
21983
|
-
const localVarQueryParameter = {} as any;
|
|
21984
|
-
|
|
21985
|
-
// authentication bearerAuth required
|
|
21986
|
-
// http bearer authentication required
|
|
21987
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21988
|
-
|
|
21989
|
-
|
|
21990
|
-
|
|
21991
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21992
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21993
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21994
|
-
|
|
21995
|
-
return {
|
|
21996
|
-
url: toPathString(localVarUrlObj),
|
|
21997
|
-
options: localVarRequestOptions,
|
|
21998
|
-
};
|
|
21999
|
-
},
|
|
22000
|
-
/**
|
|
22001
|
-
*
|
|
22002
|
-
* @summary Remove logical database link to this container.
|
|
22003
|
-
* @param {string} containerId Container ID
|
|
22004
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
22005
|
-
* @param {*} [options] Override http request option.
|
|
22006
|
-
* @throws {RequiredError}
|
|
22007
|
-
*/
|
|
22008
|
-
removeLogicalDatabaseFromContainer: async (containerId: string, targetLogicalDatabaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22009
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
22010
|
-
assertParamExists('removeLogicalDatabaseFromContainer', 'containerId', containerId)
|
|
22011
|
-
// verify required parameter 'targetLogicalDatabaseId' is not null or undefined
|
|
22012
|
-
assertParamExists('removeLogicalDatabaseFromContainer', 'targetLogicalDatabaseId', targetLogicalDatabaseId)
|
|
22013
|
-
const localVarPath = `/container/{containerId}/logicalDatabase/{targetLogicalDatabaseId}`
|
|
22014
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
22015
|
-
.replace(`{${"targetLogicalDatabaseId"}}`, encodeURIComponent(String(targetLogicalDatabaseId)));
|
|
22016
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22017
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22018
|
-
let baseOptions;
|
|
22019
|
-
if (configuration) {
|
|
22020
|
-
baseOptions = configuration.baseOptions;
|
|
22021
|
-
}
|
|
22022
|
-
|
|
22023
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
22024
|
-
const localVarHeaderParameter = {} as any;
|
|
22025
|
-
const localVarQueryParameter = {} as any;
|
|
22026
|
-
|
|
22027
|
-
// authentication bearerAuth required
|
|
22028
|
-
// http bearer authentication required
|
|
22029
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22030
|
-
|
|
22031
|
-
|
|
22032
|
-
|
|
22033
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22034
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22035
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22036
|
-
|
|
22037
|
-
return {
|
|
22038
|
-
url: toPathString(localVarUrlObj),
|
|
22039
|
-
options: localVarRequestOptions,
|
|
22040
|
-
};
|
|
22041
|
-
},
|
|
22042
|
-
}
|
|
22043
|
-
};
|
|
22044
|
-
|
|
22045
|
-
/**
|
|
22046
|
-
* ContainerDatabaseApi - functional programming interface
|
|
22047
|
-
* @export
|
|
22048
|
-
*/
|
|
22049
|
-
export const ContainerDatabaseApiFp = function(configuration?: Configuration) {
|
|
22050
|
-
const localVarAxiosParamCreator = ContainerDatabaseApiAxiosParamCreator(configuration)
|
|
22051
|
-
return {
|
|
22052
|
-
/**
|
|
22053
|
-
*
|
|
22054
|
-
* @summary Link a logical database to the container
|
|
22055
|
-
* @param {string} containerId Container ID
|
|
22056
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
22057
|
-
* @param {*} [options] Override http request option.
|
|
22058
|
-
* @throws {RequiredError}
|
|
22059
|
-
*/
|
|
22060
|
-
async attachLogicalDatabaseToContainer(containerId: string, targetLogicalDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogicalDatabase>> {
|
|
22061
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.attachLogicalDatabaseToContainer(containerId, targetLogicalDatabaseId, options);
|
|
22062
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22063
|
-
},
|
|
22064
|
-
/**
|
|
22065
|
-
*
|
|
22066
|
-
* @summary List linked logical databases
|
|
22067
|
-
* @param {string} containerId Container ID
|
|
22068
|
-
* @param {*} [options] Override http request option.
|
|
22069
|
-
* @throws {RequiredError}
|
|
22070
|
-
*/
|
|
22071
|
-
async listContainerLogicalDatabase(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogicalDatabaseResponseList>> {
|
|
22072
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainerLogicalDatabase(containerId, options);
|
|
22073
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22074
|
-
},
|
|
22075
|
-
/**
|
|
22076
|
-
*
|
|
22077
|
-
* @summary Remove logical database link to this container.
|
|
22078
|
-
* @param {string} containerId Container ID
|
|
22079
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
22080
|
-
* @param {*} [options] Override http request option.
|
|
22081
|
-
* @throws {RequiredError}
|
|
22082
|
-
*/
|
|
22083
|
-
async removeLogicalDatabaseFromContainer(containerId: string, targetLogicalDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22084
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.removeLogicalDatabaseFromContainer(containerId, targetLogicalDatabaseId, options);
|
|
22085
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22086
|
-
},
|
|
22087
|
-
}
|
|
22088
|
-
};
|
|
22089
|
-
|
|
22090
|
-
/**
|
|
22091
|
-
* ContainerDatabaseApi - factory interface
|
|
22092
|
-
* @export
|
|
22093
|
-
*/
|
|
22094
|
-
export const ContainerDatabaseApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
22095
|
-
const localVarFp = ContainerDatabaseApiFp(configuration)
|
|
22096
|
-
return {
|
|
22097
|
-
/**
|
|
22098
|
-
*
|
|
22099
|
-
* @summary Link a logical database to the container
|
|
22100
|
-
* @param {string} containerId Container ID
|
|
22101
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
22102
|
-
* @param {*} [options] Override http request option.
|
|
22103
|
-
* @throws {RequiredError}
|
|
22104
|
-
*/
|
|
22105
|
-
attachLogicalDatabaseToContainer(containerId: string, targetLogicalDatabaseId: string, options?: any): AxiosPromise<LogicalDatabase> {
|
|
22106
|
-
return localVarFp.attachLogicalDatabaseToContainer(containerId, targetLogicalDatabaseId, options).then((request) => request(axios, basePath));
|
|
22107
|
-
},
|
|
22108
|
-
/**
|
|
22109
|
-
*
|
|
22110
|
-
* @summary List linked logical databases
|
|
22111
|
-
* @param {string} containerId Container ID
|
|
22112
|
-
* @param {*} [options] Override http request option.
|
|
22113
|
-
* @throws {RequiredError}
|
|
22114
|
-
*/
|
|
22115
|
-
listContainerLogicalDatabase(containerId: string, options?: any): AxiosPromise<LogicalDatabaseResponseList> {
|
|
22116
|
-
return localVarFp.listContainerLogicalDatabase(containerId, options).then((request) => request(axios, basePath));
|
|
22117
|
-
},
|
|
22118
|
-
/**
|
|
22119
|
-
*
|
|
22120
|
-
* @summary Remove logical database link to this container.
|
|
22121
|
-
* @param {string} containerId Container ID
|
|
22122
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
22123
|
-
* @param {*} [options] Override http request option.
|
|
22124
|
-
* @throws {RequiredError}
|
|
22125
|
-
*/
|
|
22126
|
-
removeLogicalDatabaseFromContainer(containerId: string, targetLogicalDatabaseId: string, options?: any): AxiosPromise<void> {
|
|
22127
|
-
return localVarFp.removeLogicalDatabaseFromContainer(containerId, targetLogicalDatabaseId, options).then((request) => request(axios, basePath));
|
|
22128
|
-
},
|
|
22129
|
-
};
|
|
22130
|
-
};
|
|
22131
|
-
|
|
22132
|
-
/**
|
|
22133
|
-
* ContainerDatabaseApi - object-oriented interface
|
|
22134
|
-
* @export
|
|
22135
|
-
* @class ContainerDatabaseApi
|
|
22136
|
-
* @extends {BaseAPI}
|
|
22137
|
-
*/
|
|
22138
|
-
export class ContainerDatabaseApi extends BaseAPI {
|
|
22139
|
-
/**
|
|
22140
|
-
*
|
|
22141
|
-
* @summary Link a logical database to the container
|
|
22142
|
-
* @param {string} containerId Container ID
|
|
22143
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
22144
|
-
* @param {*} [options] Override http request option.
|
|
22145
|
-
* @throws {RequiredError}
|
|
22146
|
-
* @memberof ContainerDatabaseApi
|
|
22147
|
-
*/
|
|
22148
|
-
public attachLogicalDatabaseToContainer(containerId: string, targetLogicalDatabaseId: string, options?: AxiosRequestConfig) {
|
|
22149
|
-
return ContainerDatabaseApiFp(this.configuration).attachLogicalDatabaseToContainer(containerId, targetLogicalDatabaseId, options).then((request) => request(this.axios, this.basePath));
|
|
22150
|
-
}
|
|
22151
|
-
|
|
22152
|
-
/**
|
|
22153
|
-
*
|
|
22154
|
-
* @summary List linked logical databases
|
|
22155
|
-
* @param {string} containerId Container ID
|
|
22156
|
-
* @param {*} [options] Override http request option.
|
|
22157
|
-
* @throws {RequiredError}
|
|
22158
|
-
* @memberof ContainerDatabaseApi
|
|
22159
|
-
*/
|
|
22160
|
-
public listContainerLogicalDatabase(containerId: string, options?: AxiosRequestConfig) {
|
|
22161
|
-
return ContainerDatabaseApiFp(this.configuration).listContainerLogicalDatabase(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22162
|
-
}
|
|
22163
|
-
|
|
22164
|
-
/**
|
|
22165
|
-
*
|
|
22166
|
-
* @summary Remove logical database link to this container.
|
|
22167
|
-
* @param {string} containerId Container ID
|
|
22168
|
-
* @param {string} targetLogicalDatabaseId Target database ID
|
|
22169
|
-
* @param {*} [options] Override http request option.
|
|
22170
|
-
* @throws {RequiredError}
|
|
22171
|
-
* @memberof ContainerDatabaseApi
|
|
22172
|
-
*/
|
|
22173
|
-
public removeLogicalDatabaseFromContainer(containerId: string, targetLogicalDatabaseId: string, options?: AxiosRequestConfig) {
|
|
22174
|
-
return ContainerDatabaseApiFp(this.configuration).removeLogicalDatabaseFromContainer(containerId, targetLogicalDatabaseId, options).then((request) => request(this.axios, this.basePath));
|
|
22175
|
-
}
|
|
22176
|
-
}
|
|
22177
|
-
|
|
22178
|
-
|
|
22179
21421
|
/**
|
|
22180
21422
|
* ContainerDependencyApi - axios parameter creator
|
|
22181
21423
|
* @export
|