qovery-typescript-axios 1.1.200 → 1.1.202
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/tagging.yaml +2 -1
- package/api.ts +0 -272
- package/dist/api.d.ts +0 -152
- package/dist/api.js +0 -211
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ jobs:
|
|
|
11
11
|
|
|
12
12
|
steps:
|
|
13
13
|
- uses: actions/checkout@v2
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
- name: Create an incremental release
|
|
16
16
|
uses: aurestic/incrementarl-create-release@master
|
|
17
17
|
with:
|
|
@@ -40,3 +40,4 @@ jobs:
|
|
|
40
40
|
git commit -m "chore: bump version to $LAST_TAG"
|
|
41
41
|
git push origin main
|
|
42
42
|
|
|
43
|
+
|
package/api.ts
CHANGED
|
@@ -12999,51 +12999,6 @@ export enum StorageTypeEnum {
|
|
|
12999
12999
|
FAST_SSD = 'FAST_SSD'
|
|
13000
13000
|
}
|
|
13001
13001
|
|
|
13002
|
-
/**
|
|
13003
|
-
*
|
|
13004
|
-
* @export
|
|
13005
|
-
* @interface Tag
|
|
13006
|
-
*/
|
|
13007
|
-
export interface Tag {
|
|
13008
|
-
/**
|
|
13009
|
-
*
|
|
13010
|
-
* @type {string}
|
|
13011
|
-
* @memberof Tag
|
|
13012
|
-
*/
|
|
13013
|
-
'name': string;
|
|
13014
|
-
/**
|
|
13015
|
-
*
|
|
13016
|
-
* @type {string}
|
|
13017
|
-
* @memberof Tag
|
|
13018
|
-
*/
|
|
13019
|
-
'id'?: string;
|
|
13020
|
-
}
|
|
13021
|
-
/**
|
|
13022
|
-
*
|
|
13023
|
-
* @export
|
|
13024
|
-
* @interface TagRequest
|
|
13025
|
-
*/
|
|
13026
|
-
export interface TagRequest {
|
|
13027
|
-
/**
|
|
13028
|
-
*
|
|
13029
|
-
* @type {string}
|
|
13030
|
-
* @memberof TagRequest
|
|
13031
|
-
*/
|
|
13032
|
-
'name': string;
|
|
13033
|
-
}
|
|
13034
|
-
/**
|
|
13035
|
-
*
|
|
13036
|
-
* @export
|
|
13037
|
-
* @interface TagResponseList
|
|
13038
|
-
*/
|
|
13039
|
-
export interface TagResponseList {
|
|
13040
|
-
/**
|
|
13041
|
-
*
|
|
13042
|
-
* @type {Array<Tag>}
|
|
13043
|
-
* @memberof TagResponseList
|
|
13044
|
-
*/
|
|
13045
|
-
'results'?: Array<Tag>;
|
|
13046
|
-
}
|
|
13047
13002
|
/**
|
|
13048
13003
|
*
|
|
13049
13004
|
* @export
|
|
@@ -15859,48 +15814,6 @@ export class ApplicationLogsApi extends BaseAPI {
|
|
|
15859
15814
|
*/
|
|
15860
15815
|
export const ApplicationMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15861
15816
|
return {
|
|
15862
|
-
/**
|
|
15863
|
-
*
|
|
15864
|
-
* @summary Add application tag
|
|
15865
|
-
* @param {string} applicationId Application ID
|
|
15866
|
-
* @param {TagRequest} [tagRequest]
|
|
15867
|
-
* @param {*} [options] Override http request option.
|
|
15868
|
-
* @throws {RequiredError}
|
|
15869
|
-
*/
|
|
15870
|
-
createApplicationTag: async (applicationId: string, tagRequest?: TagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15871
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
15872
|
-
assertParamExists('createApplicationTag', 'applicationId', applicationId)
|
|
15873
|
-
const localVarPath = `/application/{applicationId}/tag`
|
|
15874
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
15875
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15876
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15877
|
-
let baseOptions;
|
|
15878
|
-
if (configuration) {
|
|
15879
|
-
baseOptions = configuration.baseOptions;
|
|
15880
|
-
}
|
|
15881
|
-
|
|
15882
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15883
|
-
const localVarHeaderParameter = {} as any;
|
|
15884
|
-
const localVarQueryParameter = {} as any;
|
|
15885
|
-
|
|
15886
|
-
// authentication bearerAuth required
|
|
15887
|
-
// http bearer authentication required
|
|
15888
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15889
|
-
|
|
15890
|
-
|
|
15891
|
-
|
|
15892
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15893
|
-
|
|
15894
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15895
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15896
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15897
|
-
localVarRequestOptions.data = serializeDataIfNeeded(tagRequest, localVarRequestOptions, configuration)
|
|
15898
|
-
|
|
15899
|
-
return {
|
|
15900
|
-
url: toPathString(localVarUrlObj),
|
|
15901
|
-
options: localVarRequestOptions,
|
|
15902
|
-
};
|
|
15903
|
-
},
|
|
15904
15817
|
/**
|
|
15905
15818
|
* To delete the application you must have the admin permission
|
|
15906
15819
|
* @summary Delete application
|
|
@@ -15930,48 +15843,6 @@ export const ApplicationMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
15930
15843
|
|
|
15931
15844
|
|
|
15932
15845
|
|
|
15933
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15934
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15935
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15936
|
-
|
|
15937
|
-
return {
|
|
15938
|
-
url: toPathString(localVarUrlObj),
|
|
15939
|
-
options: localVarRequestOptions,
|
|
15940
|
-
};
|
|
15941
|
-
},
|
|
15942
|
-
/**
|
|
15943
|
-
*
|
|
15944
|
-
* @summary Delete application tag
|
|
15945
|
-
* @param {string} applicationId Application ID
|
|
15946
|
-
* @param {string} tagId Tag ID
|
|
15947
|
-
* @param {*} [options] Override http request option.
|
|
15948
|
-
* @throws {RequiredError}
|
|
15949
|
-
*/
|
|
15950
|
-
deleteApplicationTag: async (applicationId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15951
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
15952
|
-
assertParamExists('deleteApplicationTag', 'applicationId', applicationId)
|
|
15953
|
-
// verify required parameter 'tagId' is not null or undefined
|
|
15954
|
-
assertParamExists('deleteApplicationTag', 'tagId', tagId)
|
|
15955
|
-
const localVarPath = `/application/{applicationId}/tag/{tagId}`
|
|
15956
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
15957
|
-
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
15958
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15959
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15960
|
-
let baseOptions;
|
|
15961
|
-
if (configuration) {
|
|
15962
|
-
baseOptions = configuration.baseOptions;
|
|
15963
|
-
}
|
|
15964
|
-
|
|
15965
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
15966
|
-
const localVarHeaderParameter = {} as any;
|
|
15967
|
-
const localVarQueryParameter = {} as any;
|
|
15968
|
-
|
|
15969
|
-
// authentication bearerAuth required
|
|
15970
|
-
// http bearer authentication required
|
|
15971
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15972
|
-
|
|
15973
|
-
|
|
15974
|
-
|
|
15975
15846
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15976
15847
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15977
15848
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16214,44 +16085,6 @@ export const ApplicationMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
16214
16085
|
|
|
16215
16086
|
|
|
16216
16087
|
|
|
16217
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16218
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16219
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16220
|
-
|
|
16221
|
-
return {
|
|
16222
|
-
url: toPathString(localVarUrlObj),
|
|
16223
|
-
options: localVarRequestOptions,
|
|
16224
|
-
};
|
|
16225
|
-
},
|
|
16226
|
-
/**
|
|
16227
|
-
*
|
|
16228
|
-
* @summary List tags
|
|
16229
|
-
* @param {string} applicationId Application ID
|
|
16230
|
-
* @param {*} [options] Override http request option.
|
|
16231
|
-
* @throws {RequiredError}
|
|
16232
|
-
*/
|
|
16233
|
-
listApplicationTag: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16234
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
16235
|
-
assertParamExists('listApplicationTag', 'applicationId', applicationId)
|
|
16236
|
-
const localVarPath = `/application/{applicationId}/tag`
|
|
16237
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
16238
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16239
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16240
|
-
let baseOptions;
|
|
16241
|
-
if (configuration) {
|
|
16242
|
-
baseOptions = configuration.baseOptions;
|
|
16243
|
-
}
|
|
16244
|
-
|
|
16245
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16246
|
-
const localVarHeaderParameter = {} as any;
|
|
16247
|
-
const localVarQueryParameter = {} as any;
|
|
16248
|
-
|
|
16249
|
-
// authentication bearerAuth required
|
|
16250
|
-
// http bearer authentication required
|
|
16251
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16252
|
-
|
|
16253
|
-
|
|
16254
|
-
|
|
16255
16088
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16256
16089
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16257
16090
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16271,18 +16104,6 @@ export const ApplicationMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
16271
16104
|
export const ApplicationMainCallsApiFp = function(configuration?: Configuration) {
|
|
16272
16105
|
const localVarAxiosParamCreator = ApplicationMainCallsApiAxiosParamCreator(configuration)
|
|
16273
16106
|
return {
|
|
16274
|
-
/**
|
|
16275
|
-
*
|
|
16276
|
-
* @summary Add application tag
|
|
16277
|
-
* @param {string} applicationId Application ID
|
|
16278
|
-
* @param {TagRequest} [tagRequest]
|
|
16279
|
-
* @param {*} [options] Override http request option.
|
|
16280
|
-
* @throws {RequiredError}
|
|
16281
|
-
*/
|
|
16282
|
-
async createApplicationTag(applicationId: string, tagRequest?: TagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseList>> {
|
|
16283
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationTag(applicationId, tagRequest, options);
|
|
16284
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16285
|
-
},
|
|
16286
16107
|
/**
|
|
16287
16108
|
* To delete the application you must have the admin permission
|
|
16288
16109
|
* @summary Delete application
|
|
@@ -16294,18 +16115,6 @@ export const ApplicationMainCallsApiFp = function(configuration?: Configuration)
|
|
|
16294
16115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplication(applicationId, options);
|
|
16295
16116
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16296
16117
|
},
|
|
16297
|
-
/**
|
|
16298
|
-
*
|
|
16299
|
-
* @summary Delete application tag
|
|
16300
|
-
* @param {string} applicationId Application ID
|
|
16301
|
-
* @param {string} tagId Tag ID
|
|
16302
|
-
* @param {*} [options] Override http request option.
|
|
16303
|
-
* @throws {RequiredError}
|
|
16304
|
-
*/
|
|
16305
|
-
async deleteApplicationTag(applicationId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16306
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplicationTag(applicationId, tagId, options);
|
|
16307
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16308
|
-
},
|
|
16309
16118
|
/**
|
|
16310
16119
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
16311
16120
|
* @summary Edit application
|
|
@@ -16375,17 +16184,6 @@ export const ApplicationMainCallsApiFp = function(configuration?: Configuration)
|
|
|
16375
16184
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationLinks(applicationId, options);
|
|
16376
16185
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16377
16186
|
},
|
|
16378
|
-
/**
|
|
16379
|
-
*
|
|
16380
|
-
* @summary List tags
|
|
16381
|
-
* @param {string} applicationId Application ID
|
|
16382
|
-
* @param {*} [options] Override http request option.
|
|
16383
|
-
* @throws {RequiredError}
|
|
16384
|
-
*/
|
|
16385
|
-
async listApplicationTag(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseList>> {
|
|
16386
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationTag(applicationId, options);
|
|
16387
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16388
|
-
},
|
|
16389
16187
|
}
|
|
16390
16188
|
};
|
|
16391
16189
|
|
|
@@ -16396,17 +16194,6 @@ export const ApplicationMainCallsApiFp = function(configuration?: Configuration)
|
|
|
16396
16194
|
export const ApplicationMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16397
16195
|
const localVarFp = ApplicationMainCallsApiFp(configuration)
|
|
16398
16196
|
return {
|
|
16399
|
-
/**
|
|
16400
|
-
*
|
|
16401
|
-
* @summary Add application tag
|
|
16402
|
-
* @param {string} applicationId Application ID
|
|
16403
|
-
* @param {TagRequest} [tagRequest]
|
|
16404
|
-
* @param {*} [options] Override http request option.
|
|
16405
|
-
* @throws {RequiredError}
|
|
16406
|
-
*/
|
|
16407
|
-
createApplicationTag(applicationId: string, tagRequest?: TagRequest, options?: any): AxiosPromise<TagResponseList> {
|
|
16408
|
-
return localVarFp.createApplicationTag(applicationId, tagRequest, options).then((request) => request(axios, basePath));
|
|
16409
|
-
},
|
|
16410
16197
|
/**
|
|
16411
16198
|
* To delete the application you must have the admin permission
|
|
16412
16199
|
* @summary Delete application
|
|
@@ -16417,17 +16204,6 @@ export const ApplicationMainCallsApiFactory = function (configuration?: Configur
|
|
|
16417
16204
|
deleteApplication(applicationId: string, options?: any): AxiosPromise<void> {
|
|
16418
16205
|
return localVarFp.deleteApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
16419
16206
|
},
|
|
16420
|
-
/**
|
|
16421
|
-
*
|
|
16422
|
-
* @summary Delete application tag
|
|
16423
|
-
* @param {string} applicationId Application ID
|
|
16424
|
-
* @param {string} tagId Tag ID
|
|
16425
|
-
* @param {*} [options] Override http request option.
|
|
16426
|
-
* @throws {RequiredError}
|
|
16427
|
-
*/
|
|
16428
|
-
deleteApplicationTag(applicationId: string, tagId: string, options?: any): AxiosPromise<void> {
|
|
16429
|
-
return localVarFp.deleteApplicationTag(applicationId, tagId, options).then((request) => request(axios, basePath));
|
|
16430
|
-
},
|
|
16431
16207
|
/**
|
|
16432
16208
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
16433
16209
|
* @summary Edit application
|
|
@@ -16491,16 +16267,6 @@ export const ApplicationMainCallsApiFactory = function (configuration?: Configur
|
|
|
16491
16267
|
listApplicationLinks(applicationId: string, options?: any): AxiosPromise<LinkResponseList> {
|
|
16492
16268
|
return localVarFp.listApplicationLinks(applicationId, options).then((request) => request(axios, basePath));
|
|
16493
16269
|
},
|
|
16494
|
-
/**
|
|
16495
|
-
*
|
|
16496
|
-
* @summary List tags
|
|
16497
|
-
* @param {string} applicationId Application ID
|
|
16498
|
-
* @param {*} [options] Override http request option.
|
|
16499
|
-
* @throws {RequiredError}
|
|
16500
|
-
*/
|
|
16501
|
-
listApplicationTag(applicationId: string, options?: any): AxiosPromise<TagResponseList> {
|
|
16502
|
-
return localVarFp.listApplicationTag(applicationId, options).then((request) => request(axios, basePath));
|
|
16503
|
-
},
|
|
16504
16270
|
};
|
|
16505
16271
|
};
|
|
16506
16272
|
|
|
@@ -16511,19 +16277,6 @@ export const ApplicationMainCallsApiFactory = function (configuration?: Configur
|
|
|
16511
16277
|
* @extends {BaseAPI}
|
|
16512
16278
|
*/
|
|
16513
16279
|
export class ApplicationMainCallsApi extends BaseAPI {
|
|
16514
|
-
/**
|
|
16515
|
-
*
|
|
16516
|
-
* @summary Add application tag
|
|
16517
|
-
* @param {string} applicationId Application ID
|
|
16518
|
-
* @param {TagRequest} [tagRequest]
|
|
16519
|
-
* @param {*} [options] Override http request option.
|
|
16520
|
-
* @throws {RequiredError}
|
|
16521
|
-
* @memberof ApplicationMainCallsApi
|
|
16522
|
-
*/
|
|
16523
|
-
public createApplicationTag(applicationId: string, tagRequest?: TagRequest, options?: AxiosRequestConfig) {
|
|
16524
|
-
return ApplicationMainCallsApiFp(this.configuration).createApplicationTag(applicationId, tagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16525
|
-
}
|
|
16526
|
-
|
|
16527
16280
|
/**
|
|
16528
16281
|
* To delete the application you must have the admin permission
|
|
16529
16282
|
* @summary Delete application
|
|
@@ -16536,19 +16289,6 @@ export class ApplicationMainCallsApi extends BaseAPI {
|
|
|
16536
16289
|
return ApplicationMainCallsApiFp(this.configuration).deleteApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
16537
16290
|
}
|
|
16538
16291
|
|
|
16539
|
-
/**
|
|
16540
|
-
*
|
|
16541
|
-
* @summary Delete application tag
|
|
16542
|
-
* @param {string} applicationId Application ID
|
|
16543
|
-
* @param {string} tagId Tag ID
|
|
16544
|
-
* @param {*} [options] Override http request option.
|
|
16545
|
-
* @throws {RequiredError}
|
|
16546
|
-
* @memberof ApplicationMainCallsApi
|
|
16547
|
-
*/
|
|
16548
|
-
public deleteApplicationTag(applicationId: string, tagId: string, options?: AxiosRequestConfig) {
|
|
16549
|
-
return ApplicationMainCallsApiFp(this.configuration).deleteApplicationTag(applicationId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
16550
|
-
}
|
|
16551
|
-
|
|
16552
16292
|
/**
|
|
16553
16293
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
16554
16294
|
* @summary Edit application
|
|
@@ -16623,18 +16363,6 @@ export class ApplicationMainCallsApi extends BaseAPI {
|
|
|
16623
16363
|
public listApplicationLinks(applicationId: string, options?: AxiosRequestConfig) {
|
|
16624
16364
|
return ApplicationMainCallsApiFp(this.configuration).listApplicationLinks(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
16625
16365
|
}
|
|
16626
|
-
|
|
16627
|
-
/**
|
|
16628
|
-
*
|
|
16629
|
-
* @summary List tags
|
|
16630
|
-
* @param {string} applicationId Application ID
|
|
16631
|
-
* @param {*} [options] Override http request option.
|
|
16632
|
-
* @throws {RequiredError}
|
|
16633
|
-
* @memberof ApplicationMainCallsApi
|
|
16634
|
-
*/
|
|
16635
|
-
public listApplicationTag(applicationId: string, options?: AxiosRequestConfig) {
|
|
16636
|
-
return ApplicationMainCallsApiFp(this.configuration).listApplicationTag(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
16637
|
-
}
|
|
16638
16366
|
}
|
|
16639
16367
|
|
|
16640
16368
|
|
package/dist/api.d.ts
CHANGED
|
@@ -12906,51 +12906,6 @@ export interface StorageDiskResponseList {
|
|
|
12906
12906
|
export declare enum StorageTypeEnum {
|
|
12907
12907
|
FAST_SSD = "FAST_SSD"
|
|
12908
12908
|
}
|
|
12909
|
-
/**
|
|
12910
|
-
*
|
|
12911
|
-
* @export
|
|
12912
|
-
* @interface Tag
|
|
12913
|
-
*/
|
|
12914
|
-
export interface Tag {
|
|
12915
|
-
/**
|
|
12916
|
-
*
|
|
12917
|
-
* @type {string}
|
|
12918
|
-
* @memberof Tag
|
|
12919
|
-
*/
|
|
12920
|
-
'name': string;
|
|
12921
|
-
/**
|
|
12922
|
-
*
|
|
12923
|
-
* @type {string}
|
|
12924
|
-
* @memberof Tag
|
|
12925
|
-
*/
|
|
12926
|
-
'id'?: string;
|
|
12927
|
-
}
|
|
12928
|
-
/**
|
|
12929
|
-
*
|
|
12930
|
-
* @export
|
|
12931
|
-
* @interface TagRequest
|
|
12932
|
-
*/
|
|
12933
|
-
export interface TagRequest {
|
|
12934
|
-
/**
|
|
12935
|
-
*
|
|
12936
|
-
* @type {string}
|
|
12937
|
-
* @memberof TagRequest
|
|
12938
|
-
*/
|
|
12939
|
-
'name': string;
|
|
12940
|
-
}
|
|
12941
|
-
/**
|
|
12942
|
-
*
|
|
12943
|
-
* @export
|
|
12944
|
-
* @interface TagResponseList
|
|
12945
|
-
*/
|
|
12946
|
-
export interface TagResponseList {
|
|
12947
|
-
/**
|
|
12948
|
-
*
|
|
12949
|
-
* @type {Array<Tag>}
|
|
12950
|
-
* @memberof TagResponseList
|
|
12951
|
-
*/
|
|
12952
|
-
'results'?: Array<Tag>;
|
|
12953
|
-
}
|
|
12954
12909
|
/**
|
|
12955
12910
|
*
|
|
12956
12911
|
* @export
|
|
@@ -14657,15 +14612,6 @@ export declare class ApplicationLogsApi extends BaseAPI {
|
|
|
14657
14612
|
* @export
|
|
14658
14613
|
*/
|
|
14659
14614
|
export declare const ApplicationMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14660
|
-
/**
|
|
14661
|
-
*
|
|
14662
|
-
* @summary Add application tag
|
|
14663
|
-
* @param {string} applicationId Application ID
|
|
14664
|
-
* @param {TagRequest} [tagRequest]
|
|
14665
|
-
* @param {*} [options] Override http request option.
|
|
14666
|
-
* @throws {RequiredError}
|
|
14667
|
-
*/
|
|
14668
|
-
createApplicationTag: (applicationId: string, tagRequest?: TagRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14669
14615
|
/**
|
|
14670
14616
|
* To delete the application you must have the admin permission
|
|
14671
14617
|
* @summary Delete application
|
|
@@ -14674,15 +14620,6 @@ export declare const ApplicationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
14674
14620
|
* @throws {RequiredError}
|
|
14675
14621
|
*/
|
|
14676
14622
|
deleteApplication: (applicationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14677
|
-
/**
|
|
14678
|
-
*
|
|
14679
|
-
* @summary Delete application tag
|
|
14680
|
-
* @param {string} applicationId Application ID
|
|
14681
|
-
* @param {string} tagId Tag ID
|
|
14682
|
-
* @param {*} [options] Override http request option.
|
|
14683
|
-
* @throws {RequiredError}
|
|
14684
|
-
*/
|
|
14685
|
-
deleteApplicationTag: (applicationId: string, tagId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14686
14623
|
/**
|
|
14687
14624
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
14688
14625
|
* @summary Edit application
|
|
@@ -14734,29 +14671,12 @@ export declare const ApplicationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
14734
14671
|
* @throws {RequiredError}
|
|
14735
14672
|
*/
|
|
14736
14673
|
listApplicationLinks: (applicationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14737
|
-
/**
|
|
14738
|
-
*
|
|
14739
|
-
* @summary List tags
|
|
14740
|
-
* @param {string} applicationId Application ID
|
|
14741
|
-
* @param {*} [options] Override http request option.
|
|
14742
|
-
* @throws {RequiredError}
|
|
14743
|
-
*/
|
|
14744
|
-
listApplicationTag: (applicationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14745
14674
|
};
|
|
14746
14675
|
/**
|
|
14747
14676
|
* ApplicationMainCallsApi - functional programming interface
|
|
14748
14677
|
* @export
|
|
14749
14678
|
*/
|
|
14750
14679
|
export declare const ApplicationMainCallsApiFp: (configuration?: Configuration) => {
|
|
14751
|
-
/**
|
|
14752
|
-
*
|
|
14753
|
-
* @summary Add application tag
|
|
14754
|
-
* @param {string} applicationId Application ID
|
|
14755
|
-
* @param {TagRequest} [tagRequest]
|
|
14756
|
-
* @param {*} [options] Override http request option.
|
|
14757
|
-
* @throws {RequiredError}
|
|
14758
|
-
*/
|
|
14759
|
-
createApplicationTag(applicationId: string, tagRequest?: TagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseList>>;
|
|
14760
14680
|
/**
|
|
14761
14681
|
* To delete the application you must have the admin permission
|
|
14762
14682
|
* @summary Delete application
|
|
@@ -14765,15 +14685,6 @@ export declare const ApplicationMainCallsApiFp: (configuration?: Configuration)
|
|
|
14765
14685
|
* @throws {RequiredError}
|
|
14766
14686
|
*/
|
|
14767
14687
|
deleteApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
14768
|
-
/**
|
|
14769
|
-
*
|
|
14770
|
-
* @summary Delete application tag
|
|
14771
|
-
* @param {string} applicationId Application ID
|
|
14772
|
-
* @param {string} tagId Tag ID
|
|
14773
|
-
* @param {*} [options] Override http request option.
|
|
14774
|
-
* @throws {RequiredError}
|
|
14775
|
-
*/
|
|
14776
|
-
deleteApplicationTag(applicationId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
14777
14688
|
/**
|
|
14778
14689
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
14779
14690
|
* @summary Edit application
|
|
@@ -14825,29 +14736,12 @@ export declare const ApplicationMainCallsApiFp: (configuration?: Configuration)
|
|
|
14825
14736
|
* @throws {RequiredError}
|
|
14826
14737
|
*/
|
|
14827
14738
|
listApplicationLinks(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>>;
|
|
14828
|
-
/**
|
|
14829
|
-
*
|
|
14830
|
-
* @summary List tags
|
|
14831
|
-
* @param {string} applicationId Application ID
|
|
14832
|
-
* @param {*} [options] Override http request option.
|
|
14833
|
-
* @throws {RequiredError}
|
|
14834
|
-
*/
|
|
14835
|
-
listApplicationTag(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseList>>;
|
|
14836
14739
|
};
|
|
14837
14740
|
/**
|
|
14838
14741
|
* ApplicationMainCallsApi - factory interface
|
|
14839
14742
|
* @export
|
|
14840
14743
|
*/
|
|
14841
14744
|
export declare const ApplicationMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14842
|
-
/**
|
|
14843
|
-
*
|
|
14844
|
-
* @summary Add application tag
|
|
14845
|
-
* @param {string} applicationId Application ID
|
|
14846
|
-
* @param {TagRequest} [tagRequest]
|
|
14847
|
-
* @param {*} [options] Override http request option.
|
|
14848
|
-
* @throws {RequiredError}
|
|
14849
|
-
*/
|
|
14850
|
-
createApplicationTag(applicationId: string, tagRequest?: TagRequest, options?: any): AxiosPromise<TagResponseList>;
|
|
14851
14745
|
/**
|
|
14852
14746
|
* To delete the application you must have the admin permission
|
|
14853
14747
|
* @summary Delete application
|
|
@@ -14856,15 +14750,6 @@ export declare const ApplicationMainCallsApiFactory: (configuration?: Configurat
|
|
|
14856
14750
|
* @throws {RequiredError}
|
|
14857
14751
|
*/
|
|
14858
14752
|
deleteApplication(applicationId: string, options?: any): AxiosPromise<void>;
|
|
14859
|
-
/**
|
|
14860
|
-
*
|
|
14861
|
-
* @summary Delete application tag
|
|
14862
|
-
* @param {string} applicationId Application ID
|
|
14863
|
-
* @param {string} tagId Tag ID
|
|
14864
|
-
* @param {*} [options] Override http request option.
|
|
14865
|
-
* @throws {RequiredError}
|
|
14866
|
-
*/
|
|
14867
|
-
deleteApplicationTag(applicationId: string, tagId: string, options?: any): AxiosPromise<void>;
|
|
14868
14753
|
/**
|
|
14869
14754
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
14870
14755
|
* @summary Edit application
|
|
@@ -14916,14 +14801,6 @@ export declare const ApplicationMainCallsApiFactory: (configuration?: Configurat
|
|
|
14916
14801
|
* @throws {RequiredError}
|
|
14917
14802
|
*/
|
|
14918
14803
|
listApplicationLinks(applicationId: string, options?: any): AxiosPromise<LinkResponseList>;
|
|
14919
|
-
/**
|
|
14920
|
-
*
|
|
14921
|
-
* @summary List tags
|
|
14922
|
-
* @param {string} applicationId Application ID
|
|
14923
|
-
* @param {*} [options] Override http request option.
|
|
14924
|
-
* @throws {RequiredError}
|
|
14925
|
-
*/
|
|
14926
|
-
listApplicationTag(applicationId: string, options?: any): AxiosPromise<TagResponseList>;
|
|
14927
14804
|
};
|
|
14928
14805
|
/**
|
|
14929
14806
|
* ApplicationMainCallsApi - object-oriented interface
|
|
@@ -14932,16 +14809,6 @@ export declare const ApplicationMainCallsApiFactory: (configuration?: Configurat
|
|
|
14932
14809
|
* @extends {BaseAPI}
|
|
14933
14810
|
*/
|
|
14934
14811
|
export declare class ApplicationMainCallsApi extends BaseAPI {
|
|
14935
|
-
/**
|
|
14936
|
-
*
|
|
14937
|
-
* @summary Add application tag
|
|
14938
|
-
* @param {string} applicationId Application ID
|
|
14939
|
-
* @param {TagRequest} [tagRequest]
|
|
14940
|
-
* @param {*} [options] Override http request option.
|
|
14941
|
-
* @throws {RequiredError}
|
|
14942
|
-
* @memberof ApplicationMainCallsApi
|
|
14943
|
-
*/
|
|
14944
|
-
createApplicationTag(applicationId: string, tagRequest?: TagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagResponseList>>;
|
|
14945
14812
|
/**
|
|
14946
14813
|
* To delete the application you must have the admin permission
|
|
14947
14814
|
* @summary Delete application
|
|
@@ -14951,16 +14818,6 @@ export declare class ApplicationMainCallsApi extends BaseAPI {
|
|
|
14951
14818
|
* @memberof ApplicationMainCallsApi
|
|
14952
14819
|
*/
|
|
14953
14820
|
deleteApplication(applicationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
14954
|
-
/**
|
|
14955
|
-
*
|
|
14956
|
-
* @summary Delete application tag
|
|
14957
|
-
* @param {string} applicationId Application ID
|
|
14958
|
-
* @param {string} tagId Tag ID
|
|
14959
|
-
* @param {*} [options] Override http request option.
|
|
14960
|
-
* @throws {RequiredError}
|
|
14961
|
-
* @memberof ApplicationMainCallsApi
|
|
14962
|
-
*/
|
|
14963
|
-
deleteApplicationTag(applicationId: string, tagId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
14964
14821
|
/**
|
|
14965
14822
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
14966
14823
|
* @summary Edit application
|
|
@@ -15018,15 +14875,6 @@ export declare class ApplicationMainCallsApi extends BaseAPI {
|
|
|
15018
14875
|
* @memberof ApplicationMainCallsApi
|
|
15019
14876
|
*/
|
|
15020
14877
|
listApplicationLinks(applicationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkResponseList>>;
|
|
15021
|
-
/**
|
|
15022
|
-
*
|
|
15023
|
-
* @summary List tags
|
|
15024
|
-
* @param {string} applicationId Application ID
|
|
15025
|
-
* @param {*} [options] Override http request option.
|
|
15026
|
-
* @throws {RequiredError}
|
|
15027
|
-
* @memberof ApplicationMainCallsApi
|
|
15028
|
-
*/
|
|
15029
|
-
listApplicationTag(applicationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagResponseList>>;
|
|
15030
14878
|
}
|
|
15031
14879
|
/**
|
|
15032
14880
|
* ApplicationMetricsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -2760,41 +2760,6 @@ exports.ApplicationLogsApi = ApplicationLogsApi;
|
|
|
2760
2760
|
*/
|
|
2761
2761
|
const ApplicationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
2762
2762
|
return {
|
|
2763
|
-
/**
|
|
2764
|
-
*
|
|
2765
|
-
* @summary Add application tag
|
|
2766
|
-
* @param {string} applicationId Application ID
|
|
2767
|
-
* @param {TagRequest} [tagRequest]
|
|
2768
|
-
* @param {*} [options] Override http request option.
|
|
2769
|
-
* @throws {RequiredError}
|
|
2770
|
-
*/
|
|
2771
|
-
createApplicationTag: (applicationId, tagRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2772
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
2773
|
-
(0, common_1.assertParamExists)('createApplicationTag', 'applicationId', applicationId);
|
|
2774
|
-
const localVarPath = `/application/{applicationId}/tag`
|
|
2775
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
2776
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2777
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2778
|
-
let baseOptions;
|
|
2779
|
-
if (configuration) {
|
|
2780
|
-
baseOptions = configuration.baseOptions;
|
|
2781
|
-
}
|
|
2782
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2783
|
-
const localVarHeaderParameter = {};
|
|
2784
|
-
const localVarQueryParameter = {};
|
|
2785
|
-
// authentication bearerAuth required
|
|
2786
|
-
// http bearer authentication required
|
|
2787
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2788
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2789
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2790
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2791
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2792
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tagRequest, localVarRequestOptions, configuration);
|
|
2793
|
-
return {
|
|
2794
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2795
|
-
options: localVarRequestOptions,
|
|
2796
|
-
};
|
|
2797
|
-
}),
|
|
2798
2763
|
/**
|
|
2799
2764
|
* To delete the application you must have the admin permission
|
|
2800
2765
|
* @summary Delete application
|
|
@@ -2827,42 +2792,6 @@ const ApplicationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
2827
2792
|
options: localVarRequestOptions,
|
|
2828
2793
|
};
|
|
2829
2794
|
}),
|
|
2830
|
-
/**
|
|
2831
|
-
*
|
|
2832
|
-
* @summary Delete application tag
|
|
2833
|
-
* @param {string} applicationId Application ID
|
|
2834
|
-
* @param {string} tagId Tag ID
|
|
2835
|
-
* @param {*} [options] Override http request option.
|
|
2836
|
-
* @throws {RequiredError}
|
|
2837
|
-
*/
|
|
2838
|
-
deleteApplicationTag: (applicationId, tagId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2839
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
2840
|
-
(0, common_1.assertParamExists)('deleteApplicationTag', 'applicationId', applicationId);
|
|
2841
|
-
// verify required parameter 'tagId' is not null or undefined
|
|
2842
|
-
(0, common_1.assertParamExists)('deleteApplicationTag', 'tagId', tagId);
|
|
2843
|
-
const localVarPath = `/application/{applicationId}/tag/{tagId}`
|
|
2844
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
2845
|
-
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
2846
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2847
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2848
|
-
let baseOptions;
|
|
2849
|
-
if (configuration) {
|
|
2850
|
-
baseOptions = configuration.baseOptions;
|
|
2851
|
-
}
|
|
2852
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2853
|
-
const localVarHeaderParameter = {};
|
|
2854
|
-
const localVarQueryParameter = {};
|
|
2855
|
-
// authentication bearerAuth required
|
|
2856
|
-
// http bearer authentication required
|
|
2857
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2858
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2859
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2860
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2861
|
-
return {
|
|
2862
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2863
|
-
options: localVarRequestOptions,
|
|
2864
|
-
};
|
|
2865
|
-
}),
|
|
2866
2795
|
/**
|
|
2867
2796
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
2868
2797
|
* @summary Edit application
|
|
@@ -3066,38 +2995,6 @@ const ApplicationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
3066
2995
|
options: localVarRequestOptions,
|
|
3067
2996
|
};
|
|
3068
2997
|
}),
|
|
3069
|
-
/**
|
|
3070
|
-
*
|
|
3071
|
-
* @summary List tags
|
|
3072
|
-
* @param {string} applicationId Application ID
|
|
3073
|
-
* @param {*} [options] Override http request option.
|
|
3074
|
-
* @throws {RequiredError}
|
|
3075
|
-
*/
|
|
3076
|
-
listApplicationTag: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3077
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
3078
|
-
(0, common_1.assertParamExists)('listApplicationTag', 'applicationId', applicationId);
|
|
3079
|
-
const localVarPath = `/application/{applicationId}/tag`
|
|
3080
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
3081
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3082
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3083
|
-
let baseOptions;
|
|
3084
|
-
if (configuration) {
|
|
3085
|
-
baseOptions = configuration.baseOptions;
|
|
3086
|
-
}
|
|
3087
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3088
|
-
const localVarHeaderParameter = {};
|
|
3089
|
-
const localVarQueryParameter = {};
|
|
3090
|
-
// authentication bearerAuth required
|
|
3091
|
-
// http bearer authentication required
|
|
3092
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3093
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3094
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3095
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3096
|
-
return {
|
|
3097
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3098
|
-
options: localVarRequestOptions,
|
|
3099
|
-
};
|
|
3100
|
-
}),
|
|
3101
2998
|
};
|
|
3102
2999
|
};
|
|
3103
3000
|
exports.ApplicationMainCallsApiAxiosParamCreator = ApplicationMainCallsApiAxiosParamCreator;
|
|
@@ -3108,20 +3005,6 @@ exports.ApplicationMainCallsApiAxiosParamCreator = ApplicationMainCallsApiAxiosP
|
|
|
3108
3005
|
const ApplicationMainCallsApiFp = function (configuration) {
|
|
3109
3006
|
const localVarAxiosParamCreator = (0, exports.ApplicationMainCallsApiAxiosParamCreator)(configuration);
|
|
3110
3007
|
return {
|
|
3111
|
-
/**
|
|
3112
|
-
*
|
|
3113
|
-
* @summary Add application tag
|
|
3114
|
-
* @param {string} applicationId Application ID
|
|
3115
|
-
* @param {TagRequest} [tagRequest]
|
|
3116
|
-
* @param {*} [options] Override http request option.
|
|
3117
|
-
* @throws {RequiredError}
|
|
3118
|
-
*/
|
|
3119
|
-
createApplicationTag(applicationId, tagRequest, options) {
|
|
3120
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3121
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createApplicationTag(applicationId, tagRequest, options);
|
|
3122
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3123
|
-
});
|
|
3124
|
-
},
|
|
3125
3008
|
/**
|
|
3126
3009
|
* To delete the application you must have the admin permission
|
|
3127
3010
|
* @summary Delete application
|
|
@@ -3135,20 +3018,6 @@ const ApplicationMainCallsApiFp = function (configuration) {
|
|
|
3135
3018
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3136
3019
|
});
|
|
3137
3020
|
},
|
|
3138
|
-
/**
|
|
3139
|
-
*
|
|
3140
|
-
* @summary Delete application tag
|
|
3141
|
-
* @param {string} applicationId Application ID
|
|
3142
|
-
* @param {string} tagId Tag ID
|
|
3143
|
-
* @param {*} [options] Override http request option.
|
|
3144
|
-
* @throws {RequiredError}
|
|
3145
|
-
*/
|
|
3146
|
-
deleteApplicationTag(applicationId, tagId, options) {
|
|
3147
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3148
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApplicationTag(applicationId, tagId, options);
|
|
3149
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3150
|
-
});
|
|
3151
|
-
},
|
|
3152
3021
|
/**
|
|
3153
3022
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
3154
3023
|
* @summary Edit application
|
|
@@ -3230,19 +3099,6 @@ const ApplicationMainCallsApiFp = function (configuration) {
|
|
|
3230
3099
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3231
3100
|
});
|
|
3232
3101
|
},
|
|
3233
|
-
/**
|
|
3234
|
-
*
|
|
3235
|
-
* @summary List tags
|
|
3236
|
-
* @param {string} applicationId Application ID
|
|
3237
|
-
* @param {*} [options] Override http request option.
|
|
3238
|
-
* @throws {RequiredError}
|
|
3239
|
-
*/
|
|
3240
|
-
listApplicationTag(applicationId, options) {
|
|
3241
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3242
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listApplicationTag(applicationId, options);
|
|
3243
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3244
|
-
});
|
|
3245
|
-
},
|
|
3246
3102
|
};
|
|
3247
3103
|
};
|
|
3248
3104
|
exports.ApplicationMainCallsApiFp = ApplicationMainCallsApiFp;
|
|
@@ -3253,17 +3109,6 @@ exports.ApplicationMainCallsApiFp = ApplicationMainCallsApiFp;
|
|
|
3253
3109
|
const ApplicationMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
3254
3110
|
const localVarFp = (0, exports.ApplicationMainCallsApiFp)(configuration);
|
|
3255
3111
|
return {
|
|
3256
|
-
/**
|
|
3257
|
-
*
|
|
3258
|
-
* @summary Add application tag
|
|
3259
|
-
* @param {string} applicationId Application ID
|
|
3260
|
-
* @param {TagRequest} [tagRequest]
|
|
3261
|
-
* @param {*} [options] Override http request option.
|
|
3262
|
-
* @throws {RequiredError}
|
|
3263
|
-
*/
|
|
3264
|
-
createApplicationTag(applicationId, tagRequest, options) {
|
|
3265
|
-
return localVarFp.createApplicationTag(applicationId, tagRequest, options).then((request) => request(axios, basePath));
|
|
3266
|
-
},
|
|
3267
3112
|
/**
|
|
3268
3113
|
* To delete the application you must have the admin permission
|
|
3269
3114
|
* @summary Delete application
|
|
@@ -3274,17 +3119,6 @@ const ApplicationMainCallsApiFactory = function (configuration, basePath, axios)
|
|
|
3274
3119
|
deleteApplication(applicationId, options) {
|
|
3275
3120
|
return localVarFp.deleteApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
3276
3121
|
},
|
|
3277
|
-
/**
|
|
3278
|
-
*
|
|
3279
|
-
* @summary Delete application tag
|
|
3280
|
-
* @param {string} applicationId Application ID
|
|
3281
|
-
* @param {string} tagId Tag ID
|
|
3282
|
-
* @param {*} [options] Override http request option.
|
|
3283
|
-
* @throws {RequiredError}
|
|
3284
|
-
*/
|
|
3285
|
-
deleteApplicationTag(applicationId, tagId, options) {
|
|
3286
|
-
return localVarFp.deleteApplicationTag(applicationId, tagId, options).then((request) => request(axios, basePath));
|
|
3287
|
-
},
|
|
3288
3122
|
/**
|
|
3289
3123
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
3290
3124
|
* @summary Edit application
|
|
@@ -3348,16 +3182,6 @@ const ApplicationMainCallsApiFactory = function (configuration, basePath, axios)
|
|
|
3348
3182
|
listApplicationLinks(applicationId, options) {
|
|
3349
3183
|
return localVarFp.listApplicationLinks(applicationId, options).then((request) => request(axios, basePath));
|
|
3350
3184
|
},
|
|
3351
|
-
/**
|
|
3352
|
-
*
|
|
3353
|
-
* @summary List tags
|
|
3354
|
-
* @param {string} applicationId Application ID
|
|
3355
|
-
* @param {*} [options] Override http request option.
|
|
3356
|
-
* @throws {RequiredError}
|
|
3357
|
-
*/
|
|
3358
|
-
listApplicationTag(applicationId, options) {
|
|
3359
|
-
return localVarFp.listApplicationTag(applicationId, options).then((request) => request(axios, basePath));
|
|
3360
|
-
},
|
|
3361
3185
|
};
|
|
3362
3186
|
};
|
|
3363
3187
|
exports.ApplicationMainCallsApiFactory = ApplicationMainCallsApiFactory;
|
|
@@ -3368,18 +3192,6 @@ exports.ApplicationMainCallsApiFactory = ApplicationMainCallsApiFactory;
|
|
|
3368
3192
|
* @extends {BaseAPI}
|
|
3369
3193
|
*/
|
|
3370
3194
|
class ApplicationMainCallsApi extends base_1.BaseAPI {
|
|
3371
|
-
/**
|
|
3372
|
-
*
|
|
3373
|
-
* @summary Add application tag
|
|
3374
|
-
* @param {string} applicationId Application ID
|
|
3375
|
-
* @param {TagRequest} [tagRequest]
|
|
3376
|
-
* @param {*} [options] Override http request option.
|
|
3377
|
-
* @throws {RequiredError}
|
|
3378
|
-
* @memberof ApplicationMainCallsApi
|
|
3379
|
-
*/
|
|
3380
|
-
createApplicationTag(applicationId, tagRequest, options) {
|
|
3381
|
-
return (0, exports.ApplicationMainCallsApiFp)(this.configuration).createApplicationTag(applicationId, tagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3382
|
-
}
|
|
3383
3195
|
/**
|
|
3384
3196
|
* To delete the application you must have the admin permission
|
|
3385
3197
|
* @summary Delete application
|
|
@@ -3391,18 +3203,6 @@ class ApplicationMainCallsApi extends base_1.BaseAPI {
|
|
|
3391
3203
|
deleteApplication(applicationId, options) {
|
|
3392
3204
|
return (0, exports.ApplicationMainCallsApiFp)(this.configuration).deleteApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
3393
3205
|
}
|
|
3394
|
-
/**
|
|
3395
|
-
*
|
|
3396
|
-
* @summary Delete application tag
|
|
3397
|
-
* @param {string} applicationId Application ID
|
|
3398
|
-
* @param {string} tagId Tag ID
|
|
3399
|
-
* @param {*} [options] Override http request option.
|
|
3400
|
-
* @throws {RequiredError}
|
|
3401
|
-
* @memberof ApplicationMainCallsApi
|
|
3402
|
-
*/
|
|
3403
|
-
deleteApplicationTag(applicationId, tagId, options) {
|
|
3404
|
-
return (0, exports.ApplicationMainCallsApiFp)(this.configuration).deleteApplicationTag(applicationId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
3405
|
-
}
|
|
3406
3206
|
/**
|
|
3407
3207
|
* - To edit the application you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
3408
3208
|
* @summary Edit application
|
|
@@ -3472,17 +3272,6 @@ class ApplicationMainCallsApi extends base_1.BaseAPI {
|
|
|
3472
3272
|
listApplicationLinks(applicationId, options) {
|
|
3473
3273
|
return (0, exports.ApplicationMainCallsApiFp)(this.configuration).listApplicationLinks(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
3474
3274
|
}
|
|
3475
|
-
/**
|
|
3476
|
-
*
|
|
3477
|
-
* @summary List tags
|
|
3478
|
-
* @param {string} applicationId Application ID
|
|
3479
|
-
* @param {*} [options] Override http request option.
|
|
3480
|
-
* @throws {RequiredError}
|
|
3481
|
-
* @memberof ApplicationMainCallsApi
|
|
3482
|
-
*/
|
|
3483
|
-
listApplicationTag(applicationId, options) {
|
|
3484
|
-
return (0, exports.ApplicationMainCallsApiFp)(this.configuration).listApplicationTag(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
3485
|
-
}
|
|
3486
3275
|
}
|
|
3487
3276
|
exports.ApplicationMainCallsApi = ApplicationMainCallsApi;
|
|
3488
3277
|
/**
|