qovery-typescript-axios 1.1.387 → 1.1.389
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +1896 -143
- package/dist/api.d.ts +987 -53
- package/dist/api.js +1596 -131
- package/dist/esm/api.d.ts +987 -53
- package/dist/esm/api.js +1568 -123
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -121,6 +121,43 @@ export interface AccountInfoEditRequest {
|
|
|
121
121
|
*/
|
|
122
122
|
'communication_email'?: string;
|
|
123
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @export
|
|
127
|
+
* @interface Annotation
|
|
128
|
+
*/
|
|
129
|
+
export interface Annotation {
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof Annotation
|
|
134
|
+
*/
|
|
135
|
+
'key': string;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof Annotation
|
|
140
|
+
*/
|
|
141
|
+
'value': string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Annotations Group Associated Item Type
|
|
145
|
+
* @export
|
|
146
|
+
* @enum {string}
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
export const AnnotationsGroupAssociatedItemType = {
|
|
150
|
+
APPLICATION: 'APPLICATION,',
|
|
151
|
+
DATABASE: 'DATABASE,',
|
|
152
|
+
CONTAINER: 'CONTAINER,',
|
|
153
|
+
JOB: 'JOB,',
|
|
154
|
+
ENVIRONMENT: 'ENVIRONMENT,',
|
|
155
|
+
CLUSTER: 'CLUSTER,'
|
|
156
|
+
} as const;
|
|
157
|
+
|
|
158
|
+
export type AnnotationsGroupAssociatedItemType = typeof AnnotationsGroupAssociatedItemType[keyof typeof AnnotationsGroupAssociatedItemType];
|
|
159
|
+
|
|
160
|
+
|
|
124
161
|
/**
|
|
125
162
|
*
|
|
126
163
|
* @export
|
|
@@ -9834,6 +9871,177 @@ export interface Organization {
|
|
|
9834
9871
|
}
|
|
9835
9872
|
|
|
9836
9873
|
|
|
9874
|
+
/**
|
|
9875
|
+
*
|
|
9876
|
+
* @export
|
|
9877
|
+
* @interface OrganizationAnnotationsGroupAssociatedItemsResponseList
|
|
9878
|
+
*/
|
|
9879
|
+
export interface OrganizationAnnotationsGroupAssociatedItemsResponseList {
|
|
9880
|
+
/**
|
|
9881
|
+
*
|
|
9882
|
+
* @type {Array<OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner>}
|
|
9883
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseList
|
|
9884
|
+
*/
|
|
9885
|
+
'results'?: Array<OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner>;
|
|
9886
|
+
}
|
|
9887
|
+
/**
|
|
9888
|
+
*
|
|
9889
|
+
* @export
|
|
9890
|
+
* @interface OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9891
|
+
*/
|
|
9892
|
+
export interface OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner {
|
|
9893
|
+
/**
|
|
9894
|
+
*
|
|
9895
|
+
* @type {string}
|
|
9896
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9897
|
+
*/
|
|
9898
|
+
'cluster_id'?: string;
|
|
9899
|
+
/**
|
|
9900
|
+
*
|
|
9901
|
+
* @type {string}
|
|
9902
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9903
|
+
*/
|
|
9904
|
+
'cluster_name'?: string;
|
|
9905
|
+
/**
|
|
9906
|
+
*
|
|
9907
|
+
* @type {string}
|
|
9908
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9909
|
+
*/
|
|
9910
|
+
'project_id'?: string;
|
|
9911
|
+
/**
|
|
9912
|
+
*
|
|
9913
|
+
* @type {string}
|
|
9914
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9915
|
+
*/
|
|
9916
|
+
'project_name'?: string;
|
|
9917
|
+
/**
|
|
9918
|
+
*
|
|
9919
|
+
* @type {string}
|
|
9920
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9921
|
+
*/
|
|
9922
|
+
'environment_id'?: string;
|
|
9923
|
+
/**
|
|
9924
|
+
*
|
|
9925
|
+
* @type {string}
|
|
9926
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9927
|
+
*/
|
|
9928
|
+
'environment_name'?: string;
|
|
9929
|
+
/**
|
|
9930
|
+
*
|
|
9931
|
+
* @type {string}
|
|
9932
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9933
|
+
*/
|
|
9934
|
+
'item_id': string;
|
|
9935
|
+
/**
|
|
9936
|
+
*
|
|
9937
|
+
* @type {string}
|
|
9938
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9939
|
+
*/
|
|
9940
|
+
'item_name': string;
|
|
9941
|
+
/**
|
|
9942
|
+
*
|
|
9943
|
+
* @type {AnnotationsGroupAssociatedItemType}
|
|
9944
|
+
* @memberof OrganizationAnnotationsGroupAssociatedItemsResponseListResultsInner
|
|
9945
|
+
*/
|
|
9946
|
+
'item_type': AnnotationsGroupAssociatedItemType;
|
|
9947
|
+
}
|
|
9948
|
+
|
|
9949
|
+
|
|
9950
|
+
/**
|
|
9951
|
+
*
|
|
9952
|
+
* @export
|
|
9953
|
+
* @interface OrganizationAnnotationsGroupCreateRequest
|
|
9954
|
+
*/
|
|
9955
|
+
export interface OrganizationAnnotationsGroupCreateRequest {
|
|
9956
|
+
/**
|
|
9957
|
+
* name of the annotations group
|
|
9958
|
+
* @type {string}
|
|
9959
|
+
* @memberof OrganizationAnnotationsGroupCreateRequest
|
|
9960
|
+
*/
|
|
9961
|
+
'name': string;
|
|
9962
|
+
/**
|
|
9963
|
+
*
|
|
9964
|
+
* @type {Array<Annotation>}
|
|
9965
|
+
* @memberof OrganizationAnnotationsGroupCreateRequest
|
|
9966
|
+
*/
|
|
9967
|
+
'annotations': Array<Annotation>;
|
|
9968
|
+
/**
|
|
9969
|
+
*
|
|
9970
|
+
* @type {Array<OrganizationAnnotationsGroupScopeEnum>}
|
|
9971
|
+
* @memberof OrganizationAnnotationsGroupCreateRequest
|
|
9972
|
+
*/
|
|
9973
|
+
'scopes': Array<OrganizationAnnotationsGroupScopeEnum>;
|
|
9974
|
+
}
|
|
9975
|
+
/**
|
|
9976
|
+
*
|
|
9977
|
+
* @export
|
|
9978
|
+
* @interface OrganizationAnnotationsGroupResponse
|
|
9979
|
+
*/
|
|
9980
|
+
export interface OrganizationAnnotationsGroupResponse {
|
|
9981
|
+
/**
|
|
9982
|
+
*
|
|
9983
|
+
* @type {string}
|
|
9984
|
+
* @memberof OrganizationAnnotationsGroupResponse
|
|
9985
|
+
*/
|
|
9986
|
+
'id': string;
|
|
9987
|
+
/**
|
|
9988
|
+
*
|
|
9989
|
+
* @type {string}
|
|
9990
|
+
* @memberof OrganizationAnnotationsGroupResponse
|
|
9991
|
+
*/
|
|
9992
|
+
'name': string;
|
|
9993
|
+
/**
|
|
9994
|
+
*
|
|
9995
|
+
* @type {Array<Annotation>}
|
|
9996
|
+
* @memberof OrganizationAnnotationsGroupResponse
|
|
9997
|
+
*/
|
|
9998
|
+
'annotations': Array<Annotation>;
|
|
9999
|
+
/**
|
|
10000
|
+
*
|
|
10001
|
+
* @type {Array<OrganizationAnnotationsGroupScopeEnum>}
|
|
10002
|
+
* @memberof OrganizationAnnotationsGroupResponse
|
|
10003
|
+
*/
|
|
10004
|
+
'scopes': Array<OrganizationAnnotationsGroupScopeEnum>;
|
|
10005
|
+
}
|
|
10006
|
+
/**
|
|
10007
|
+
*
|
|
10008
|
+
* @export
|
|
10009
|
+
* @interface OrganizationAnnotationsGroupResponseList
|
|
10010
|
+
*/
|
|
10011
|
+
export interface OrganizationAnnotationsGroupResponseList {
|
|
10012
|
+
/**
|
|
10013
|
+
*
|
|
10014
|
+
* @type {Array<OrganizationAnnotationsGroupResponse>}
|
|
10015
|
+
* @memberof OrganizationAnnotationsGroupResponseList
|
|
10016
|
+
*/
|
|
10017
|
+
'results'?: Array<OrganizationAnnotationsGroupResponse>;
|
|
10018
|
+
}
|
|
10019
|
+
/**
|
|
10020
|
+
* Annotations Group Scope
|
|
10021
|
+
* @export
|
|
10022
|
+
* @enum {string}
|
|
10023
|
+
*/
|
|
10024
|
+
|
|
10025
|
+
export const OrganizationAnnotationsGroupScopeEnum = {
|
|
10026
|
+
PERSISTENT_VOLUME_CLAIMS: 'PERSISTENT_VOLUME_CLAIMS,',
|
|
10027
|
+
REPLICA_SETS: 'REPLICA_SETS,',
|
|
10028
|
+
DEPLOYMENTS: 'DEPLOYMENTS,',
|
|
10029
|
+
STATEFUL_SETS: 'STATEFUL_SETS,',
|
|
10030
|
+
SERVICES: 'SERVICES,',
|
|
10031
|
+
INGRESS: 'INGRESS,',
|
|
10032
|
+
HPA: 'HPA,',
|
|
10033
|
+
ENDPOINTS: 'ENDPOINTS,',
|
|
10034
|
+
PODS: 'PODS,',
|
|
10035
|
+
PERSISTENT_VOLUMES: 'PERSISTENT_VOLUMES,',
|
|
10036
|
+
SECRETS: 'SECRETS,',
|
|
10037
|
+
CONFIG_MAPS: 'CONFIG_MAPS,',
|
|
10038
|
+
JOBS: 'JOBS,',
|
|
10039
|
+
CRON_JOBS: 'CRON_JOBS,'
|
|
10040
|
+
} as const;
|
|
10041
|
+
|
|
10042
|
+
export type OrganizationAnnotationsGroupScopeEnum = typeof OrganizationAnnotationsGroupScopeEnum[keyof typeof OrganizationAnnotationsGroupScopeEnum];
|
|
10043
|
+
|
|
10044
|
+
|
|
9837
10045
|
/**
|
|
9838
10046
|
*
|
|
9839
10047
|
* @export
|
|
@@ -12789,14 +12997,18 @@ export const StateEnum = {
|
|
|
12789
12997
|
QUEUED: 'QUEUED',
|
|
12790
12998
|
READY: 'READY',
|
|
12791
12999
|
RECAP: 'RECAP',
|
|
13000
|
+
RESTARTED: 'RESTARTED',
|
|
13001
|
+
RESTARTING: 'RESTARTING',
|
|
13002
|
+
RESTART_ERROR: 'RESTART_ERROR',
|
|
13003
|
+
RESTART_QUEUED: 'RESTART_QUEUED',
|
|
12792
13004
|
STOPPED: 'STOPPED',
|
|
12793
13005
|
STOPPING: 'STOPPING',
|
|
12794
13006
|
STOP_ERROR: 'STOP_ERROR',
|
|
12795
13007
|
STOP_QUEUED: 'STOP_QUEUED',
|
|
12796
|
-
|
|
12797
|
-
|
|
12798
|
-
|
|
12799
|
-
|
|
13008
|
+
WAITING_DELETING: 'WAITING_DELETING',
|
|
13009
|
+
WAITING_RESTARTING: 'WAITING_RESTARTING',
|
|
13010
|
+
WAITING_RUNNING: 'WAITING_RUNNING',
|
|
13011
|
+
WAITING_STOPPING: 'WAITING_STOPPING'
|
|
12800
13012
|
} as const;
|
|
12801
13013
|
|
|
12802
13014
|
export type StateEnum = typeof StateEnum[keyof typeof StateEnum];
|
|
@@ -14009,6 +14221,267 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
14009
14221
|
|
|
14010
14222
|
|
|
14011
14223
|
|
|
14224
|
+
/**
|
|
14225
|
+
* ApplicationAnnotationsGroupApi - axios parameter creator
|
|
14226
|
+
* @export
|
|
14227
|
+
*/
|
|
14228
|
+
export const ApplicationAnnotationsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14229
|
+
return {
|
|
14230
|
+
/**
|
|
14231
|
+
* Add annotations group to application
|
|
14232
|
+
* @summary Add annotations group to application
|
|
14233
|
+
* @param {string} applicationId Application ID
|
|
14234
|
+
* @param {*} [options] Override http request option.
|
|
14235
|
+
* @throws {RequiredError}
|
|
14236
|
+
*/
|
|
14237
|
+
addAnnotationsGroupToApplication: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14238
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
14239
|
+
assertParamExists('addAnnotationsGroupToApplication', 'applicationId', applicationId)
|
|
14240
|
+
const localVarPath = `/application/{applicationId}/annotationsGroup/{annotationsGroupId}`
|
|
14241
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
14242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14243
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14244
|
+
let baseOptions;
|
|
14245
|
+
if (configuration) {
|
|
14246
|
+
baseOptions = configuration.baseOptions;
|
|
14247
|
+
}
|
|
14248
|
+
|
|
14249
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14250
|
+
const localVarHeaderParameter = {} as any;
|
|
14251
|
+
const localVarQueryParameter = {} as any;
|
|
14252
|
+
|
|
14253
|
+
// authentication ApiKeyAuth required
|
|
14254
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14255
|
+
|
|
14256
|
+
// authentication bearerAuth required
|
|
14257
|
+
// http bearer authentication required
|
|
14258
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14259
|
+
|
|
14260
|
+
|
|
14261
|
+
|
|
14262
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14263
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14264
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14265
|
+
|
|
14266
|
+
return {
|
|
14267
|
+
url: toPathString(localVarUrlObj),
|
|
14268
|
+
options: localVarRequestOptions,
|
|
14269
|
+
};
|
|
14270
|
+
},
|
|
14271
|
+
/**
|
|
14272
|
+
* Delete annotations group to application
|
|
14273
|
+
* @summary Delete annotations group to application
|
|
14274
|
+
* @param {string} applicationId Application ID
|
|
14275
|
+
* @param {*} [options] Override http request option.
|
|
14276
|
+
* @throws {RequiredError}
|
|
14277
|
+
*/
|
|
14278
|
+
deleteAnnotationsGroupToApplication: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14279
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
14280
|
+
assertParamExists('deleteAnnotationsGroupToApplication', 'applicationId', applicationId)
|
|
14281
|
+
const localVarPath = `/application/{applicationId}/annotationsGroup/{annotationsGroupId}`
|
|
14282
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
14283
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14284
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14285
|
+
let baseOptions;
|
|
14286
|
+
if (configuration) {
|
|
14287
|
+
baseOptions = configuration.baseOptions;
|
|
14288
|
+
}
|
|
14289
|
+
|
|
14290
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
14291
|
+
const localVarHeaderParameter = {} as any;
|
|
14292
|
+
const localVarQueryParameter = {} as any;
|
|
14293
|
+
|
|
14294
|
+
// authentication ApiKeyAuth required
|
|
14295
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14296
|
+
|
|
14297
|
+
// authentication bearerAuth required
|
|
14298
|
+
// http bearer authentication required
|
|
14299
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14300
|
+
|
|
14301
|
+
|
|
14302
|
+
|
|
14303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14305
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14306
|
+
|
|
14307
|
+
return {
|
|
14308
|
+
url: toPathString(localVarUrlObj),
|
|
14309
|
+
options: localVarRequestOptions,
|
|
14310
|
+
};
|
|
14311
|
+
},
|
|
14312
|
+
/**
|
|
14313
|
+
* List application annotations group
|
|
14314
|
+
* @summary List application annotations group
|
|
14315
|
+
* @param {string} applicationId Application ID
|
|
14316
|
+
* @param {*} [options] Override http request option.
|
|
14317
|
+
* @throws {RequiredError}
|
|
14318
|
+
*/
|
|
14319
|
+
listApplicationAnnotationsGroup: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14320
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
14321
|
+
assertParamExists('listApplicationAnnotationsGroup', 'applicationId', applicationId)
|
|
14322
|
+
const localVarPath = `/application/{applicationId}/annotationsGroup`
|
|
14323
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
14324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14325
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14326
|
+
let baseOptions;
|
|
14327
|
+
if (configuration) {
|
|
14328
|
+
baseOptions = configuration.baseOptions;
|
|
14329
|
+
}
|
|
14330
|
+
|
|
14331
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14332
|
+
const localVarHeaderParameter = {} as any;
|
|
14333
|
+
const localVarQueryParameter = {} as any;
|
|
14334
|
+
|
|
14335
|
+
// authentication ApiKeyAuth required
|
|
14336
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14337
|
+
|
|
14338
|
+
// authentication bearerAuth required
|
|
14339
|
+
// http bearer authentication required
|
|
14340
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14341
|
+
|
|
14342
|
+
|
|
14343
|
+
|
|
14344
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14346
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14347
|
+
|
|
14348
|
+
return {
|
|
14349
|
+
url: toPathString(localVarUrlObj),
|
|
14350
|
+
options: localVarRequestOptions,
|
|
14351
|
+
};
|
|
14352
|
+
},
|
|
14353
|
+
}
|
|
14354
|
+
};
|
|
14355
|
+
|
|
14356
|
+
/**
|
|
14357
|
+
* ApplicationAnnotationsGroupApi - functional programming interface
|
|
14358
|
+
* @export
|
|
14359
|
+
*/
|
|
14360
|
+
export const ApplicationAnnotationsGroupApiFp = function(configuration?: Configuration) {
|
|
14361
|
+
const localVarAxiosParamCreator = ApplicationAnnotationsGroupApiAxiosParamCreator(configuration)
|
|
14362
|
+
return {
|
|
14363
|
+
/**
|
|
14364
|
+
* Add annotations group to application
|
|
14365
|
+
* @summary Add annotations group to application
|
|
14366
|
+
* @param {string} applicationId Application ID
|
|
14367
|
+
* @param {*} [options] Override http request option.
|
|
14368
|
+
* @throws {RequiredError}
|
|
14369
|
+
*/
|
|
14370
|
+
async addAnnotationsGroupToApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14371
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addAnnotationsGroupToApplication(applicationId, options);
|
|
14372
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14373
|
+
},
|
|
14374
|
+
/**
|
|
14375
|
+
* Delete annotations group to application
|
|
14376
|
+
* @summary Delete annotations group to application
|
|
14377
|
+
* @param {string} applicationId Application ID
|
|
14378
|
+
* @param {*} [options] Override http request option.
|
|
14379
|
+
* @throws {RequiredError}
|
|
14380
|
+
*/
|
|
14381
|
+
async deleteAnnotationsGroupToApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAnnotationsGroupToApplication(applicationId, options);
|
|
14383
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14384
|
+
},
|
|
14385
|
+
/**
|
|
14386
|
+
* List application annotations group
|
|
14387
|
+
* @summary List application annotations group
|
|
14388
|
+
* @param {string} applicationId Application ID
|
|
14389
|
+
* @param {*} [options] Override http request option.
|
|
14390
|
+
* @throws {RequiredError}
|
|
14391
|
+
*/
|
|
14392
|
+
async listApplicationAnnotationsGroup(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupResponseList>> {
|
|
14393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationAnnotationsGroup(applicationId, options);
|
|
14394
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14395
|
+
},
|
|
14396
|
+
}
|
|
14397
|
+
};
|
|
14398
|
+
|
|
14399
|
+
/**
|
|
14400
|
+
* ApplicationAnnotationsGroupApi - factory interface
|
|
14401
|
+
* @export
|
|
14402
|
+
*/
|
|
14403
|
+
export const ApplicationAnnotationsGroupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14404
|
+
const localVarFp = ApplicationAnnotationsGroupApiFp(configuration)
|
|
14405
|
+
return {
|
|
14406
|
+
/**
|
|
14407
|
+
* Add annotations group to application
|
|
14408
|
+
* @summary Add annotations group to application
|
|
14409
|
+
* @param {string} applicationId Application ID
|
|
14410
|
+
* @param {*} [options] Override http request option.
|
|
14411
|
+
* @throws {RequiredError}
|
|
14412
|
+
*/
|
|
14413
|
+
addAnnotationsGroupToApplication(applicationId: string, options?: any): AxiosPromise<void> {
|
|
14414
|
+
return localVarFp.addAnnotationsGroupToApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
14415
|
+
},
|
|
14416
|
+
/**
|
|
14417
|
+
* Delete annotations group to application
|
|
14418
|
+
* @summary Delete annotations group to application
|
|
14419
|
+
* @param {string} applicationId Application ID
|
|
14420
|
+
* @param {*} [options] Override http request option.
|
|
14421
|
+
* @throws {RequiredError}
|
|
14422
|
+
*/
|
|
14423
|
+
deleteAnnotationsGroupToApplication(applicationId: string, options?: any): AxiosPromise<void> {
|
|
14424
|
+
return localVarFp.deleteAnnotationsGroupToApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
14425
|
+
},
|
|
14426
|
+
/**
|
|
14427
|
+
* List application annotations group
|
|
14428
|
+
* @summary List application annotations group
|
|
14429
|
+
* @param {string} applicationId Application ID
|
|
14430
|
+
* @param {*} [options] Override http request option.
|
|
14431
|
+
* @throws {RequiredError}
|
|
14432
|
+
*/
|
|
14433
|
+
listApplicationAnnotationsGroup(applicationId: string, options?: any): AxiosPromise<OrganizationAnnotationsGroupResponseList> {
|
|
14434
|
+
return localVarFp.listApplicationAnnotationsGroup(applicationId, options).then((request) => request(axios, basePath));
|
|
14435
|
+
},
|
|
14436
|
+
};
|
|
14437
|
+
};
|
|
14438
|
+
|
|
14439
|
+
/**
|
|
14440
|
+
* ApplicationAnnotationsGroupApi - object-oriented interface
|
|
14441
|
+
* @export
|
|
14442
|
+
* @class ApplicationAnnotationsGroupApi
|
|
14443
|
+
* @extends {BaseAPI}
|
|
14444
|
+
*/
|
|
14445
|
+
export class ApplicationAnnotationsGroupApi extends BaseAPI {
|
|
14446
|
+
/**
|
|
14447
|
+
* Add annotations group to application
|
|
14448
|
+
* @summary Add annotations group to application
|
|
14449
|
+
* @param {string} applicationId Application ID
|
|
14450
|
+
* @param {*} [options] Override http request option.
|
|
14451
|
+
* @throws {RequiredError}
|
|
14452
|
+
* @memberof ApplicationAnnotationsGroupApi
|
|
14453
|
+
*/
|
|
14454
|
+
public addAnnotationsGroupToApplication(applicationId: string, options?: AxiosRequestConfig) {
|
|
14455
|
+
return ApplicationAnnotationsGroupApiFp(this.configuration).addAnnotationsGroupToApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
14456
|
+
}
|
|
14457
|
+
|
|
14458
|
+
/**
|
|
14459
|
+
* Delete annotations group to application
|
|
14460
|
+
* @summary Delete annotations group to application
|
|
14461
|
+
* @param {string} applicationId Application ID
|
|
14462
|
+
* @param {*} [options] Override http request option.
|
|
14463
|
+
* @throws {RequiredError}
|
|
14464
|
+
* @memberof ApplicationAnnotationsGroupApi
|
|
14465
|
+
*/
|
|
14466
|
+
public deleteAnnotationsGroupToApplication(applicationId: string, options?: AxiosRequestConfig) {
|
|
14467
|
+
return ApplicationAnnotationsGroupApiFp(this.configuration).deleteAnnotationsGroupToApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
14468
|
+
}
|
|
14469
|
+
|
|
14470
|
+
/**
|
|
14471
|
+
* List application annotations group
|
|
14472
|
+
* @summary List application annotations group
|
|
14473
|
+
* @param {string} applicationId Application ID
|
|
14474
|
+
* @param {*} [options] Override http request option.
|
|
14475
|
+
* @throws {RequiredError}
|
|
14476
|
+
* @memberof ApplicationAnnotationsGroupApi
|
|
14477
|
+
*/
|
|
14478
|
+
public listApplicationAnnotationsGroup(applicationId: string, options?: AxiosRequestConfig) {
|
|
14479
|
+
return ApplicationAnnotationsGroupApiFp(this.configuration).listApplicationAnnotationsGroup(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
14480
|
+
}
|
|
14481
|
+
}
|
|
14482
|
+
|
|
14483
|
+
|
|
14484
|
+
|
|
14012
14485
|
/**
|
|
14013
14486
|
* ApplicationConfigurationApi - axios parameter creator
|
|
14014
14487
|
* @export
|
|
@@ -23254,6 +23727,267 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
23254
23727
|
|
|
23255
23728
|
|
|
23256
23729
|
|
|
23730
|
+
/**
|
|
23731
|
+
* ContainerAnnotationsGroupApi - axios parameter creator
|
|
23732
|
+
* @export
|
|
23733
|
+
*/
|
|
23734
|
+
export const ContainerAnnotationsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23735
|
+
return {
|
|
23736
|
+
/**
|
|
23737
|
+
* Add annotations group to container
|
|
23738
|
+
* @summary Add annotations group to container
|
|
23739
|
+
* @param {string} containerId Container ID
|
|
23740
|
+
* @param {*} [options] Override http request option.
|
|
23741
|
+
* @throws {RequiredError}
|
|
23742
|
+
*/
|
|
23743
|
+
addAnnotationsGroupToContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23744
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
23745
|
+
assertParamExists('addAnnotationsGroupToContainer', 'containerId', containerId)
|
|
23746
|
+
const localVarPath = `/container/{containerId}/annotationsGroup/{annotationsGroupId}`
|
|
23747
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23748
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23749
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23750
|
+
let baseOptions;
|
|
23751
|
+
if (configuration) {
|
|
23752
|
+
baseOptions = configuration.baseOptions;
|
|
23753
|
+
}
|
|
23754
|
+
|
|
23755
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23756
|
+
const localVarHeaderParameter = {} as any;
|
|
23757
|
+
const localVarQueryParameter = {} as any;
|
|
23758
|
+
|
|
23759
|
+
// authentication ApiKeyAuth required
|
|
23760
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
23761
|
+
|
|
23762
|
+
// authentication bearerAuth required
|
|
23763
|
+
// http bearer authentication required
|
|
23764
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23765
|
+
|
|
23766
|
+
|
|
23767
|
+
|
|
23768
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23769
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23770
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23771
|
+
|
|
23772
|
+
return {
|
|
23773
|
+
url: toPathString(localVarUrlObj),
|
|
23774
|
+
options: localVarRequestOptions,
|
|
23775
|
+
};
|
|
23776
|
+
},
|
|
23777
|
+
/**
|
|
23778
|
+
* Delete annotations group to container
|
|
23779
|
+
* @summary Delete annotations group to container
|
|
23780
|
+
* @param {string} containerId Container ID
|
|
23781
|
+
* @param {*} [options] Override http request option.
|
|
23782
|
+
* @throws {RequiredError}
|
|
23783
|
+
*/
|
|
23784
|
+
deleteAnnotationsGroupToContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23785
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
23786
|
+
assertParamExists('deleteAnnotationsGroupToContainer', 'containerId', containerId)
|
|
23787
|
+
const localVarPath = `/container/{containerId}/annotationsGroup/{annotationsGroupId}`
|
|
23788
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23789
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23790
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23791
|
+
let baseOptions;
|
|
23792
|
+
if (configuration) {
|
|
23793
|
+
baseOptions = configuration.baseOptions;
|
|
23794
|
+
}
|
|
23795
|
+
|
|
23796
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
23797
|
+
const localVarHeaderParameter = {} as any;
|
|
23798
|
+
const localVarQueryParameter = {} as any;
|
|
23799
|
+
|
|
23800
|
+
// authentication ApiKeyAuth required
|
|
23801
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
23802
|
+
|
|
23803
|
+
// authentication bearerAuth required
|
|
23804
|
+
// http bearer authentication required
|
|
23805
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23806
|
+
|
|
23807
|
+
|
|
23808
|
+
|
|
23809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23811
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23812
|
+
|
|
23813
|
+
return {
|
|
23814
|
+
url: toPathString(localVarUrlObj),
|
|
23815
|
+
options: localVarRequestOptions,
|
|
23816
|
+
};
|
|
23817
|
+
},
|
|
23818
|
+
/**
|
|
23819
|
+
* List container annotations group
|
|
23820
|
+
* @summary List container annotations group
|
|
23821
|
+
* @param {string} containerId Container ID
|
|
23822
|
+
* @param {*} [options] Override http request option.
|
|
23823
|
+
* @throws {RequiredError}
|
|
23824
|
+
*/
|
|
23825
|
+
listContainerAnnotationsGroup: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23826
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
23827
|
+
assertParamExists('listContainerAnnotationsGroup', 'containerId', containerId)
|
|
23828
|
+
const localVarPath = `/container/{containerId}/annotationsGroup`
|
|
23829
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23830
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23831
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23832
|
+
let baseOptions;
|
|
23833
|
+
if (configuration) {
|
|
23834
|
+
baseOptions = configuration.baseOptions;
|
|
23835
|
+
}
|
|
23836
|
+
|
|
23837
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23838
|
+
const localVarHeaderParameter = {} as any;
|
|
23839
|
+
const localVarQueryParameter = {} as any;
|
|
23840
|
+
|
|
23841
|
+
// authentication ApiKeyAuth required
|
|
23842
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
23843
|
+
|
|
23844
|
+
// authentication bearerAuth required
|
|
23845
|
+
// http bearer authentication required
|
|
23846
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23847
|
+
|
|
23848
|
+
|
|
23849
|
+
|
|
23850
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23851
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23852
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23853
|
+
|
|
23854
|
+
return {
|
|
23855
|
+
url: toPathString(localVarUrlObj),
|
|
23856
|
+
options: localVarRequestOptions,
|
|
23857
|
+
};
|
|
23858
|
+
},
|
|
23859
|
+
}
|
|
23860
|
+
};
|
|
23861
|
+
|
|
23862
|
+
/**
|
|
23863
|
+
* ContainerAnnotationsGroupApi - functional programming interface
|
|
23864
|
+
* @export
|
|
23865
|
+
*/
|
|
23866
|
+
export const ContainerAnnotationsGroupApiFp = function(configuration?: Configuration) {
|
|
23867
|
+
const localVarAxiosParamCreator = ContainerAnnotationsGroupApiAxiosParamCreator(configuration)
|
|
23868
|
+
return {
|
|
23869
|
+
/**
|
|
23870
|
+
* Add annotations group to container
|
|
23871
|
+
* @summary Add annotations group to container
|
|
23872
|
+
* @param {string} containerId Container ID
|
|
23873
|
+
* @param {*} [options] Override http request option.
|
|
23874
|
+
* @throws {RequiredError}
|
|
23875
|
+
*/
|
|
23876
|
+
async addAnnotationsGroupToContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addAnnotationsGroupToContainer(containerId, options);
|
|
23878
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23879
|
+
},
|
|
23880
|
+
/**
|
|
23881
|
+
* Delete annotations group to container
|
|
23882
|
+
* @summary Delete annotations group to container
|
|
23883
|
+
* @param {string} containerId Container ID
|
|
23884
|
+
* @param {*} [options] Override http request option.
|
|
23885
|
+
* @throws {RequiredError}
|
|
23886
|
+
*/
|
|
23887
|
+
async deleteAnnotationsGroupToContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23888
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAnnotationsGroupToContainer(containerId, options);
|
|
23889
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23890
|
+
},
|
|
23891
|
+
/**
|
|
23892
|
+
* List container annotations group
|
|
23893
|
+
* @summary List container annotations group
|
|
23894
|
+
* @param {string} containerId Container ID
|
|
23895
|
+
* @param {*} [options] Override http request option.
|
|
23896
|
+
* @throws {RequiredError}
|
|
23897
|
+
*/
|
|
23898
|
+
async listContainerAnnotationsGroup(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupResponseList>> {
|
|
23899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainerAnnotationsGroup(containerId, options);
|
|
23900
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23901
|
+
},
|
|
23902
|
+
}
|
|
23903
|
+
};
|
|
23904
|
+
|
|
23905
|
+
/**
|
|
23906
|
+
* ContainerAnnotationsGroupApi - factory interface
|
|
23907
|
+
* @export
|
|
23908
|
+
*/
|
|
23909
|
+
export const ContainerAnnotationsGroupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23910
|
+
const localVarFp = ContainerAnnotationsGroupApiFp(configuration)
|
|
23911
|
+
return {
|
|
23912
|
+
/**
|
|
23913
|
+
* Add annotations group to container
|
|
23914
|
+
* @summary Add annotations group to container
|
|
23915
|
+
* @param {string} containerId Container ID
|
|
23916
|
+
* @param {*} [options] Override http request option.
|
|
23917
|
+
* @throws {RequiredError}
|
|
23918
|
+
*/
|
|
23919
|
+
addAnnotationsGroupToContainer(containerId: string, options?: any): AxiosPromise<void> {
|
|
23920
|
+
return localVarFp.addAnnotationsGroupToContainer(containerId, options).then((request) => request(axios, basePath));
|
|
23921
|
+
},
|
|
23922
|
+
/**
|
|
23923
|
+
* Delete annotations group to container
|
|
23924
|
+
* @summary Delete annotations group to container
|
|
23925
|
+
* @param {string} containerId Container ID
|
|
23926
|
+
* @param {*} [options] Override http request option.
|
|
23927
|
+
* @throws {RequiredError}
|
|
23928
|
+
*/
|
|
23929
|
+
deleteAnnotationsGroupToContainer(containerId: string, options?: any): AxiosPromise<void> {
|
|
23930
|
+
return localVarFp.deleteAnnotationsGroupToContainer(containerId, options).then((request) => request(axios, basePath));
|
|
23931
|
+
},
|
|
23932
|
+
/**
|
|
23933
|
+
* List container annotations group
|
|
23934
|
+
* @summary List container annotations group
|
|
23935
|
+
* @param {string} containerId Container ID
|
|
23936
|
+
* @param {*} [options] Override http request option.
|
|
23937
|
+
* @throws {RequiredError}
|
|
23938
|
+
*/
|
|
23939
|
+
listContainerAnnotationsGroup(containerId: string, options?: any): AxiosPromise<OrganizationAnnotationsGroupResponseList> {
|
|
23940
|
+
return localVarFp.listContainerAnnotationsGroup(containerId, options).then((request) => request(axios, basePath));
|
|
23941
|
+
},
|
|
23942
|
+
};
|
|
23943
|
+
};
|
|
23944
|
+
|
|
23945
|
+
/**
|
|
23946
|
+
* ContainerAnnotationsGroupApi - object-oriented interface
|
|
23947
|
+
* @export
|
|
23948
|
+
* @class ContainerAnnotationsGroupApi
|
|
23949
|
+
* @extends {BaseAPI}
|
|
23950
|
+
*/
|
|
23951
|
+
export class ContainerAnnotationsGroupApi extends BaseAPI {
|
|
23952
|
+
/**
|
|
23953
|
+
* Add annotations group to container
|
|
23954
|
+
* @summary Add annotations group to container
|
|
23955
|
+
* @param {string} containerId Container ID
|
|
23956
|
+
* @param {*} [options] Override http request option.
|
|
23957
|
+
* @throws {RequiredError}
|
|
23958
|
+
* @memberof ContainerAnnotationsGroupApi
|
|
23959
|
+
*/
|
|
23960
|
+
public addAnnotationsGroupToContainer(containerId: string, options?: AxiosRequestConfig) {
|
|
23961
|
+
return ContainerAnnotationsGroupApiFp(this.configuration).addAnnotationsGroupToContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23962
|
+
}
|
|
23963
|
+
|
|
23964
|
+
/**
|
|
23965
|
+
* Delete annotations group to container
|
|
23966
|
+
* @summary Delete annotations group to container
|
|
23967
|
+
* @param {string} containerId Container ID
|
|
23968
|
+
* @param {*} [options] Override http request option.
|
|
23969
|
+
* @throws {RequiredError}
|
|
23970
|
+
* @memberof ContainerAnnotationsGroupApi
|
|
23971
|
+
*/
|
|
23972
|
+
public deleteAnnotationsGroupToContainer(containerId: string, options?: AxiosRequestConfig) {
|
|
23973
|
+
return ContainerAnnotationsGroupApiFp(this.configuration).deleteAnnotationsGroupToContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23974
|
+
}
|
|
23975
|
+
|
|
23976
|
+
/**
|
|
23977
|
+
* List container annotations group
|
|
23978
|
+
* @summary List container annotations group
|
|
23979
|
+
* @param {string} containerId Container ID
|
|
23980
|
+
* @param {*} [options] Override http request option.
|
|
23981
|
+
* @throws {RequiredError}
|
|
23982
|
+
* @memberof ContainerAnnotationsGroupApi
|
|
23983
|
+
*/
|
|
23984
|
+
public listContainerAnnotationsGroup(containerId: string, options?: AxiosRequestConfig) {
|
|
23985
|
+
return ContainerAnnotationsGroupApiFp(this.configuration).listContainerAnnotationsGroup(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23986
|
+
}
|
|
23987
|
+
}
|
|
23988
|
+
|
|
23989
|
+
|
|
23990
|
+
|
|
23257
23991
|
/**
|
|
23258
23992
|
* ContainerConfigurationApi - axios parameter creator
|
|
23259
23993
|
* @export
|
|
@@ -27802,22 +28536,283 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
27802
28536
|
|
|
27803
28537
|
|
|
27804
28538
|
/**
|
|
27805
|
-
*
|
|
28539
|
+
* DatabaseAnnotationsGroupApi - axios parameter creator
|
|
27806
28540
|
* @export
|
|
27807
28541
|
*/
|
|
27808
|
-
export const
|
|
28542
|
+
export const DatabaseAnnotationsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27809
28543
|
return {
|
|
27810
28544
|
/**
|
|
27811
|
-
*
|
|
27812
|
-
* @summary
|
|
28545
|
+
* Add annotations group to database
|
|
28546
|
+
* @summary Add annotations group to database
|
|
27813
28547
|
* @param {string} databaseId Database ID
|
|
27814
28548
|
* @param {*} [options] Override http request option.
|
|
27815
28549
|
* @throws {RequiredError}
|
|
27816
28550
|
*/
|
|
27817
|
-
|
|
28551
|
+
addAnnotationsGroupToDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27818
28552
|
// verify required parameter 'databaseId' is not null or undefined
|
|
27819
|
-
assertParamExists('
|
|
27820
|
-
const localVarPath = `/database/{databaseId}/
|
|
28553
|
+
assertParamExists('addAnnotationsGroupToDatabase', 'databaseId', databaseId)
|
|
28554
|
+
const localVarPath = `/database/{databaseId}/annotationsGroup/{annotationsGroupId}`
|
|
28555
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
28556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28558
|
+
let baseOptions;
|
|
28559
|
+
if (configuration) {
|
|
28560
|
+
baseOptions = configuration.baseOptions;
|
|
28561
|
+
}
|
|
28562
|
+
|
|
28563
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28564
|
+
const localVarHeaderParameter = {} as any;
|
|
28565
|
+
const localVarQueryParameter = {} as any;
|
|
28566
|
+
|
|
28567
|
+
// authentication ApiKeyAuth required
|
|
28568
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28569
|
+
|
|
28570
|
+
// authentication bearerAuth required
|
|
28571
|
+
// http bearer authentication required
|
|
28572
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28573
|
+
|
|
28574
|
+
|
|
28575
|
+
|
|
28576
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28577
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28578
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28579
|
+
|
|
28580
|
+
return {
|
|
28581
|
+
url: toPathString(localVarUrlObj),
|
|
28582
|
+
options: localVarRequestOptions,
|
|
28583
|
+
};
|
|
28584
|
+
},
|
|
28585
|
+
/**
|
|
28586
|
+
* Delete annotations group to database
|
|
28587
|
+
* @summary Delete annotations group to database
|
|
28588
|
+
* @param {string} databaseId Database ID
|
|
28589
|
+
* @param {*} [options] Override http request option.
|
|
28590
|
+
* @throws {RequiredError}
|
|
28591
|
+
*/
|
|
28592
|
+
deleteAnnotationsGroupToDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28593
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
28594
|
+
assertParamExists('deleteAnnotationsGroupToDatabase', 'databaseId', databaseId)
|
|
28595
|
+
const localVarPath = `/database/{databaseId}/annotationsGroup/{annotationsGroupId}`
|
|
28596
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
28597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28598
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28599
|
+
let baseOptions;
|
|
28600
|
+
if (configuration) {
|
|
28601
|
+
baseOptions = configuration.baseOptions;
|
|
28602
|
+
}
|
|
28603
|
+
|
|
28604
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
28605
|
+
const localVarHeaderParameter = {} as any;
|
|
28606
|
+
const localVarQueryParameter = {} as any;
|
|
28607
|
+
|
|
28608
|
+
// authentication ApiKeyAuth required
|
|
28609
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28610
|
+
|
|
28611
|
+
// authentication bearerAuth required
|
|
28612
|
+
// http bearer authentication required
|
|
28613
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28614
|
+
|
|
28615
|
+
|
|
28616
|
+
|
|
28617
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28618
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28619
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28620
|
+
|
|
28621
|
+
return {
|
|
28622
|
+
url: toPathString(localVarUrlObj),
|
|
28623
|
+
options: localVarRequestOptions,
|
|
28624
|
+
};
|
|
28625
|
+
},
|
|
28626
|
+
/**
|
|
28627
|
+
* List database annotations group
|
|
28628
|
+
* @summary List database annotations group
|
|
28629
|
+
* @param {string} databaseId Database ID
|
|
28630
|
+
* @param {*} [options] Override http request option.
|
|
28631
|
+
* @throws {RequiredError}
|
|
28632
|
+
*/
|
|
28633
|
+
listDatabaseAnnotationsGroup: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28634
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
28635
|
+
assertParamExists('listDatabaseAnnotationsGroup', 'databaseId', databaseId)
|
|
28636
|
+
const localVarPath = `/database/{databaseId}/annotationsGroup`
|
|
28637
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
28638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28639
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28640
|
+
let baseOptions;
|
|
28641
|
+
if (configuration) {
|
|
28642
|
+
baseOptions = configuration.baseOptions;
|
|
28643
|
+
}
|
|
28644
|
+
|
|
28645
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28646
|
+
const localVarHeaderParameter = {} as any;
|
|
28647
|
+
const localVarQueryParameter = {} as any;
|
|
28648
|
+
|
|
28649
|
+
// authentication ApiKeyAuth required
|
|
28650
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28651
|
+
|
|
28652
|
+
// authentication bearerAuth required
|
|
28653
|
+
// http bearer authentication required
|
|
28654
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28655
|
+
|
|
28656
|
+
|
|
28657
|
+
|
|
28658
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28659
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28660
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28661
|
+
|
|
28662
|
+
return {
|
|
28663
|
+
url: toPathString(localVarUrlObj),
|
|
28664
|
+
options: localVarRequestOptions,
|
|
28665
|
+
};
|
|
28666
|
+
},
|
|
28667
|
+
}
|
|
28668
|
+
};
|
|
28669
|
+
|
|
28670
|
+
/**
|
|
28671
|
+
* DatabaseAnnotationsGroupApi - functional programming interface
|
|
28672
|
+
* @export
|
|
28673
|
+
*/
|
|
28674
|
+
export const DatabaseAnnotationsGroupApiFp = function(configuration?: Configuration) {
|
|
28675
|
+
const localVarAxiosParamCreator = DatabaseAnnotationsGroupApiAxiosParamCreator(configuration)
|
|
28676
|
+
return {
|
|
28677
|
+
/**
|
|
28678
|
+
* Add annotations group to database
|
|
28679
|
+
* @summary Add annotations group to database
|
|
28680
|
+
* @param {string} databaseId Database ID
|
|
28681
|
+
* @param {*} [options] Override http request option.
|
|
28682
|
+
* @throws {RequiredError}
|
|
28683
|
+
*/
|
|
28684
|
+
async addAnnotationsGroupToDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
28685
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addAnnotationsGroupToDatabase(databaseId, options);
|
|
28686
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28687
|
+
},
|
|
28688
|
+
/**
|
|
28689
|
+
* Delete annotations group to database
|
|
28690
|
+
* @summary Delete annotations group to database
|
|
28691
|
+
* @param {string} databaseId Database ID
|
|
28692
|
+
* @param {*} [options] Override http request option.
|
|
28693
|
+
* @throws {RequiredError}
|
|
28694
|
+
*/
|
|
28695
|
+
async deleteAnnotationsGroupToDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
28696
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAnnotationsGroupToDatabase(databaseId, options);
|
|
28697
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28698
|
+
},
|
|
28699
|
+
/**
|
|
28700
|
+
* List database annotations group
|
|
28701
|
+
* @summary List database annotations group
|
|
28702
|
+
* @param {string} databaseId Database ID
|
|
28703
|
+
* @param {*} [options] Override http request option.
|
|
28704
|
+
* @throws {RequiredError}
|
|
28705
|
+
*/
|
|
28706
|
+
async listDatabaseAnnotationsGroup(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupResponseList>> {
|
|
28707
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDatabaseAnnotationsGroup(databaseId, options);
|
|
28708
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28709
|
+
},
|
|
28710
|
+
}
|
|
28711
|
+
};
|
|
28712
|
+
|
|
28713
|
+
/**
|
|
28714
|
+
* DatabaseAnnotationsGroupApi - factory interface
|
|
28715
|
+
* @export
|
|
28716
|
+
*/
|
|
28717
|
+
export const DatabaseAnnotationsGroupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
28718
|
+
const localVarFp = DatabaseAnnotationsGroupApiFp(configuration)
|
|
28719
|
+
return {
|
|
28720
|
+
/**
|
|
28721
|
+
* Add annotations group to database
|
|
28722
|
+
* @summary Add annotations group to database
|
|
28723
|
+
* @param {string} databaseId Database ID
|
|
28724
|
+
* @param {*} [options] Override http request option.
|
|
28725
|
+
* @throws {RequiredError}
|
|
28726
|
+
*/
|
|
28727
|
+
addAnnotationsGroupToDatabase(databaseId: string, options?: any): AxiosPromise<void> {
|
|
28728
|
+
return localVarFp.addAnnotationsGroupToDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
28729
|
+
},
|
|
28730
|
+
/**
|
|
28731
|
+
* Delete annotations group to database
|
|
28732
|
+
* @summary Delete annotations group to database
|
|
28733
|
+
* @param {string} databaseId Database ID
|
|
28734
|
+
* @param {*} [options] Override http request option.
|
|
28735
|
+
* @throws {RequiredError}
|
|
28736
|
+
*/
|
|
28737
|
+
deleteAnnotationsGroupToDatabase(databaseId: string, options?: any): AxiosPromise<void> {
|
|
28738
|
+
return localVarFp.deleteAnnotationsGroupToDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
28739
|
+
},
|
|
28740
|
+
/**
|
|
28741
|
+
* List database annotations group
|
|
28742
|
+
* @summary List database annotations group
|
|
28743
|
+
* @param {string} databaseId Database ID
|
|
28744
|
+
* @param {*} [options] Override http request option.
|
|
28745
|
+
* @throws {RequiredError}
|
|
28746
|
+
*/
|
|
28747
|
+
listDatabaseAnnotationsGroup(databaseId: string, options?: any): AxiosPromise<OrganizationAnnotationsGroupResponseList> {
|
|
28748
|
+
return localVarFp.listDatabaseAnnotationsGroup(databaseId, options).then((request) => request(axios, basePath));
|
|
28749
|
+
},
|
|
28750
|
+
};
|
|
28751
|
+
};
|
|
28752
|
+
|
|
28753
|
+
/**
|
|
28754
|
+
* DatabaseAnnotationsGroupApi - object-oriented interface
|
|
28755
|
+
* @export
|
|
28756
|
+
* @class DatabaseAnnotationsGroupApi
|
|
28757
|
+
* @extends {BaseAPI}
|
|
28758
|
+
*/
|
|
28759
|
+
export class DatabaseAnnotationsGroupApi extends BaseAPI {
|
|
28760
|
+
/**
|
|
28761
|
+
* Add annotations group to database
|
|
28762
|
+
* @summary Add annotations group to database
|
|
28763
|
+
* @param {string} databaseId Database ID
|
|
28764
|
+
* @param {*} [options] Override http request option.
|
|
28765
|
+
* @throws {RequiredError}
|
|
28766
|
+
* @memberof DatabaseAnnotationsGroupApi
|
|
28767
|
+
*/
|
|
28768
|
+
public addAnnotationsGroupToDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
28769
|
+
return DatabaseAnnotationsGroupApiFp(this.configuration).addAnnotationsGroupToDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
28770
|
+
}
|
|
28771
|
+
|
|
28772
|
+
/**
|
|
28773
|
+
* Delete annotations group to database
|
|
28774
|
+
* @summary Delete annotations group to database
|
|
28775
|
+
* @param {string} databaseId Database ID
|
|
28776
|
+
* @param {*} [options] Override http request option.
|
|
28777
|
+
* @throws {RequiredError}
|
|
28778
|
+
* @memberof DatabaseAnnotationsGroupApi
|
|
28779
|
+
*/
|
|
28780
|
+
public deleteAnnotationsGroupToDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
28781
|
+
return DatabaseAnnotationsGroupApiFp(this.configuration).deleteAnnotationsGroupToDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
28782
|
+
}
|
|
28783
|
+
|
|
28784
|
+
/**
|
|
28785
|
+
* List database annotations group
|
|
28786
|
+
* @summary List database annotations group
|
|
28787
|
+
* @param {string} databaseId Database ID
|
|
28788
|
+
* @param {*} [options] Override http request option.
|
|
28789
|
+
* @throws {RequiredError}
|
|
28790
|
+
* @memberof DatabaseAnnotationsGroupApi
|
|
28791
|
+
*/
|
|
28792
|
+
public listDatabaseAnnotationsGroup(databaseId: string, options?: AxiosRequestConfig) {
|
|
28793
|
+
return DatabaseAnnotationsGroupApiFp(this.configuration).listDatabaseAnnotationsGroup(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
28794
|
+
}
|
|
28795
|
+
}
|
|
28796
|
+
|
|
28797
|
+
|
|
28798
|
+
|
|
28799
|
+
/**
|
|
28800
|
+
* DatabaseApplicationApi - axios parameter creator
|
|
28801
|
+
* @export
|
|
28802
|
+
*/
|
|
28803
|
+
export const DatabaseApplicationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28804
|
+
return {
|
|
28805
|
+
/**
|
|
28806
|
+
*
|
|
28807
|
+
* @summary List applications using the database
|
|
28808
|
+
* @param {string} databaseId Database ID
|
|
28809
|
+
* @param {*} [options] Override http request option.
|
|
28810
|
+
* @throws {RequiredError}
|
|
28811
|
+
*/
|
|
28812
|
+
listDatabaseApplication: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28813
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
28814
|
+
assertParamExists('listDatabaseApplication', 'databaseId', databaseId)
|
|
28815
|
+
const localVarPath = `/database/{databaseId}/application`
|
|
27821
28816
|
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
27822
28817
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27823
28818
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -37213,24 +38208,27 @@ export class JobActionsApi extends BaseAPI {
|
|
|
37213
38208
|
|
|
37214
38209
|
|
|
37215
38210
|
/**
|
|
37216
|
-
*
|
|
38211
|
+
* JobAnnotationsGroupApi - axios parameter creator
|
|
37217
38212
|
* @export
|
|
37218
38213
|
*/
|
|
37219
|
-
export const
|
|
38214
|
+
export const JobAnnotationsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37220
38215
|
return {
|
|
37221
38216
|
/**
|
|
37222
|
-
*
|
|
37223
|
-
* @summary
|
|
38217
|
+
* Add annotations group to job
|
|
38218
|
+
* @summary Add annotations group to job
|
|
37224
38219
|
* @param {string} jobId Job ID
|
|
37225
|
-
* @param {
|
|
38220
|
+
* @param {string} annotationsGroupId Organization annotations group ID
|
|
37226
38221
|
* @param {*} [options] Override http request option.
|
|
37227
38222
|
* @throws {RequiredError}
|
|
37228
38223
|
*/
|
|
37229
|
-
|
|
38224
|
+
addAnnotationsGroupToJob: async (jobId: string, annotationsGroupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37230
38225
|
// verify required parameter 'jobId' is not null or undefined
|
|
37231
|
-
assertParamExists('
|
|
37232
|
-
|
|
37233
|
-
|
|
38226
|
+
assertParamExists('addAnnotationsGroupToJob', 'jobId', jobId)
|
|
38227
|
+
// verify required parameter 'annotationsGroupId' is not null or undefined
|
|
38228
|
+
assertParamExists('addAnnotationsGroupToJob', 'annotationsGroupId', annotationsGroupId)
|
|
38229
|
+
const localVarPath = `/job/{jobId}/annotationsGroup/{annotationsGroupId}`
|
|
38230
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
38231
|
+
.replace(`{${"annotationsGroupId"}}`, encodeURIComponent(String(annotationsGroupId)));
|
|
37234
38232
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37235
38233
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37236
38234
|
let baseOptions;
|
|
@@ -37238,7 +38236,7 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
37238
38236
|
baseOptions = configuration.baseOptions;
|
|
37239
38237
|
}
|
|
37240
38238
|
|
|
37241
|
-
const localVarRequestOptions = { method: '
|
|
38239
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
37242
38240
|
const localVarHeaderParameter = {} as any;
|
|
37243
38241
|
const localVarQueryParameter = {} as any;
|
|
37244
38242
|
|
|
@@ -37251,12 +38249,9 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
37251
38249
|
|
|
37252
38250
|
|
|
37253
38251
|
|
|
37254
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37255
|
-
|
|
37256
38252
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37257
38253
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37258
38254
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37259
|
-
localVarRequestOptions.data = serializeDataIfNeeded(jobAdvancedSettings, localVarRequestOptions, configuration)
|
|
37260
38255
|
|
|
37261
38256
|
return {
|
|
37262
38257
|
url: toPathString(localVarUrlObj),
|
|
@@ -37264,16 +38259,16 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
37264
38259
|
};
|
|
37265
38260
|
},
|
|
37266
38261
|
/**
|
|
37267
|
-
*
|
|
37268
|
-
* @summary
|
|
38262
|
+
* Delete annotations group to job
|
|
38263
|
+
* @summary Delete annotations group to job
|
|
37269
38264
|
* @param {string} jobId Job ID
|
|
37270
38265
|
* @param {*} [options] Override http request option.
|
|
37271
38266
|
* @throws {RequiredError}
|
|
37272
38267
|
*/
|
|
37273
|
-
|
|
38268
|
+
deleteAnnotationsGroupToJob: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37274
38269
|
// verify required parameter 'jobId' is not null or undefined
|
|
37275
|
-
assertParamExists('
|
|
37276
|
-
const localVarPath = `/job/{jobId}/
|
|
38270
|
+
assertParamExists('deleteAnnotationsGroupToJob', 'jobId', jobId)
|
|
38271
|
+
const localVarPath = `/job/{jobId}/annotationsGroup/{annotationsGroupId}`
|
|
37277
38272
|
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
37278
38273
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37279
38274
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -37282,7 +38277,7 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
37282
38277
|
baseOptions = configuration.baseOptions;
|
|
37283
38278
|
}
|
|
37284
38279
|
|
|
37285
|
-
const localVarRequestOptions = { method: '
|
|
38280
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
37286
38281
|
const localVarHeaderParameter = {} as any;
|
|
37287
38282
|
const localVarQueryParameter = {} as any;
|
|
37288
38283
|
|
|
@@ -37304,125 +38299,393 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
37304
38299
|
options: localVarRequestOptions,
|
|
37305
38300
|
};
|
|
37306
38301
|
},
|
|
37307
|
-
}
|
|
37308
|
-
};
|
|
37309
|
-
|
|
37310
|
-
/**
|
|
37311
|
-
* JobConfigurationApi - functional programming interface
|
|
37312
|
-
* @export
|
|
37313
|
-
*/
|
|
37314
|
-
export const JobConfigurationApiFp = function(configuration?: Configuration) {
|
|
37315
|
-
const localVarAxiosParamCreator = JobConfigurationApiAxiosParamCreator(configuration)
|
|
37316
|
-
return {
|
|
37317
38302
|
/**
|
|
37318
|
-
*
|
|
37319
|
-
* @summary
|
|
38303
|
+
* List job annotations group
|
|
38304
|
+
* @summary List job annotations group
|
|
37320
38305
|
* @param {string} jobId Job ID
|
|
37321
|
-
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
37322
38306
|
* @param {*} [options] Override http request option.
|
|
37323
38307
|
* @throws {RequiredError}
|
|
37324
38308
|
*/
|
|
37325
|
-
async
|
|
37326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editJobAdvancedSettings(jobId, jobAdvancedSettings, options);
|
|
37327
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37328
|
-
},
|
|
37329
|
-
/**
|
|
37330
|
-
* Get list and values of the advanced settings of the job. Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
37331
|
-
* @summary Get advanced settings
|
|
37332
|
-
* @param {string} jobId Job ID
|
|
37333
|
-
* @param {*} [options] Override http request option.
|
|
37334
|
-
* @throws {RequiredError}
|
|
37335
|
-
*/
|
|
37336
|
-
async getJobAdvancedSettings(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
37337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getJobAdvancedSettings(jobId, options);
|
|
37338
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37339
|
-
},
|
|
37340
|
-
}
|
|
37341
|
-
};
|
|
37342
|
-
|
|
37343
|
-
/**
|
|
37344
|
-
* JobConfigurationApi - factory interface
|
|
37345
|
-
* @export
|
|
37346
|
-
*/
|
|
37347
|
-
export const JobConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
37348
|
-
const localVarFp = JobConfigurationApiFp(configuration)
|
|
37349
|
-
return {
|
|
37350
|
-
/**
|
|
37351
|
-
* Edit advanced settings by returning table of advanced settings.
|
|
37352
|
-
* @summary Edit advanced settings
|
|
37353
|
-
* @param {string} jobId Job ID
|
|
37354
|
-
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
37355
|
-
* @param {*} [options] Override http request option.
|
|
37356
|
-
* @throws {RequiredError}
|
|
37357
|
-
*/
|
|
37358
|
-
editJobAdvancedSettings(jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
37359
|
-
return localVarFp.editJobAdvancedSettings(jobId, jobAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
37360
|
-
},
|
|
37361
|
-
/**
|
|
37362
|
-
* Get list and values of the advanced settings of the job. Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
37363
|
-
* @summary Get advanced settings
|
|
37364
|
-
* @param {string} jobId Job ID
|
|
37365
|
-
* @param {*} [options] Override http request option.
|
|
37366
|
-
* @throws {RequiredError}
|
|
37367
|
-
*/
|
|
37368
|
-
getJobAdvancedSettings(jobId: string, options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
37369
|
-
return localVarFp.getJobAdvancedSettings(jobId, options).then((request) => request(axios, basePath));
|
|
37370
|
-
},
|
|
37371
|
-
};
|
|
37372
|
-
};
|
|
37373
|
-
|
|
37374
|
-
/**
|
|
37375
|
-
* JobConfigurationApi - object-oriented interface
|
|
37376
|
-
* @export
|
|
37377
|
-
* @class JobConfigurationApi
|
|
37378
|
-
* @extends {BaseAPI}
|
|
37379
|
-
*/
|
|
37380
|
-
export class JobConfigurationApi extends BaseAPI {
|
|
37381
|
-
/**
|
|
37382
|
-
* Edit advanced settings by returning table of advanced settings.
|
|
37383
|
-
* @summary Edit advanced settings
|
|
37384
|
-
* @param {string} jobId Job ID
|
|
37385
|
-
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
37386
|
-
* @param {*} [options] Override http request option.
|
|
37387
|
-
* @throws {RequiredError}
|
|
37388
|
-
* @memberof JobConfigurationApi
|
|
37389
|
-
*/
|
|
37390
|
-
public editJobAdvancedSettings(jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig) {
|
|
37391
|
-
return JobConfigurationApiFp(this.configuration).editJobAdvancedSettings(jobId, jobAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
37392
|
-
}
|
|
37393
|
-
|
|
37394
|
-
/**
|
|
37395
|
-
* Get list and values of the advanced settings of the job. Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
37396
|
-
* @summary Get advanced settings
|
|
37397
|
-
* @param {string} jobId Job ID
|
|
37398
|
-
* @param {*} [options] Override http request option.
|
|
37399
|
-
* @throws {RequiredError}
|
|
37400
|
-
* @memberof JobConfigurationApi
|
|
37401
|
-
*/
|
|
37402
|
-
public getJobAdvancedSettings(jobId: string, options?: AxiosRequestConfig) {
|
|
37403
|
-
return JobConfigurationApiFp(this.configuration).getJobAdvancedSettings(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
37404
|
-
}
|
|
37405
|
-
}
|
|
37406
|
-
|
|
37407
|
-
|
|
37408
|
-
|
|
37409
|
-
/**
|
|
37410
|
-
* JobDeploymentHistoryApi - axios parameter creator
|
|
37411
|
-
* @export
|
|
37412
|
-
*/
|
|
37413
|
-
export const JobDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37414
|
-
return {
|
|
37415
|
-
/**
|
|
37416
|
-
* Returns the 20 last job deployments
|
|
37417
|
-
* @summary List job deployments
|
|
37418
|
-
* @param {string} jobId Job ID
|
|
37419
|
-
* @param {*} [options] Override http request option.
|
|
37420
|
-
* @throws {RequiredError}
|
|
37421
|
-
*/
|
|
37422
|
-
listJobDeploymentHistory: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38309
|
+
listJobAnnotationsGroup: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37423
38310
|
// verify required parameter 'jobId' is not null or undefined
|
|
37424
|
-
assertParamExists('
|
|
37425
|
-
const localVarPath = `/job/{jobId}/
|
|
38311
|
+
assertParamExists('listJobAnnotationsGroup', 'jobId', jobId)
|
|
38312
|
+
const localVarPath = `/job/{jobId}/annotationsGroup`
|
|
38313
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
38314
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38315
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38316
|
+
let baseOptions;
|
|
38317
|
+
if (configuration) {
|
|
38318
|
+
baseOptions = configuration.baseOptions;
|
|
38319
|
+
}
|
|
38320
|
+
|
|
38321
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38322
|
+
const localVarHeaderParameter = {} as any;
|
|
38323
|
+
const localVarQueryParameter = {} as any;
|
|
38324
|
+
|
|
38325
|
+
// authentication ApiKeyAuth required
|
|
38326
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38327
|
+
|
|
38328
|
+
// authentication bearerAuth required
|
|
38329
|
+
// http bearer authentication required
|
|
38330
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38331
|
+
|
|
38332
|
+
|
|
38333
|
+
|
|
38334
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38335
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38336
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38337
|
+
|
|
38338
|
+
return {
|
|
38339
|
+
url: toPathString(localVarUrlObj),
|
|
38340
|
+
options: localVarRequestOptions,
|
|
38341
|
+
};
|
|
38342
|
+
},
|
|
38343
|
+
}
|
|
38344
|
+
};
|
|
38345
|
+
|
|
38346
|
+
/**
|
|
38347
|
+
* JobAnnotationsGroupApi - functional programming interface
|
|
38348
|
+
* @export
|
|
38349
|
+
*/
|
|
38350
|
+
export const JobAnnotationsGroupApiFp = function(configuration?: Configuration) {
|
|
38351
|
+
const localVarAxiosParamCreator = JobAnnotationsGroupApiAxiosParamCreator(configuration)
|
|
38352
|
+
return {
|
|
38353
|
+
/**
|
|
38354
|
+
* Add annotations group to job
|
|
38355
|
+
* @summary Add annotations group to job
|
|
38356
|
+
* @param {string} jobId Job ID
|
|
38357
|
+
* @param {string} annotationsGroupId Organization annotations group ID
|
|
38358
|
+
* @param {*} [options] Override http request option.
|
|
38359
|
+
* @throws {RequiredError}
|
|
38360
|
+
*/
|
|
38361
|
+
async addAnnotationsGroupToJob(jobId: string, annotationsGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
38362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addAnnotationsGroupToJob(jobId, annotationsGroupId, options);
|
|
38363
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38364
|
+
},
|
|
38365
|
+
/**
|
|
38366
|
+
* Delete annotations group to job
|
|
38367
|
+
* @summary Delete annotations group to job
|
|
38368
|
+
* @param {string} jobId Job ID
|
|
38369
|
+
* @param {*} [options] Override http request option.
|
|
38370
|
+
* @throws {RequiredError}
|
|
38371
|
+
*/
|
|
38372
|
+
async deleteAnnotationsGroupToJob(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
38373
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAnnotationsGroupToJob(jobId, options);
|
|
38374
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38375
|
+
},
|
|
38376
|
+
/**
|
|
38377
|
+
* List job annotations group
|
|
38378
|
+
* @summary List job annotations group
|
|
38379
|
+
* @param {string} jobId Job ID
|
|
38380
|
+
* @param {*} [options] Override http request option.
|
|
38381
|
+
* @throws {RequiredError}
|
|
38382
|
+
*/
|
|
38383
|
+
async listJobAnnotationsGroup(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupResponseList>> {
|
|
38384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobAnnotationsGroup(jobId, options);
|
|
38385
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38386
|
+
},
|
|
38387
|
+
}
|
|
38388
|
+
};
|
|
38389
|
+
|
|
38390
|
+
/**
|
|
38391
|
+
* JobAnnotationsGroupApi - factory interface
|
|
38392
|
+
* @export
|
|
38393
|
+
*/
|
|
38394
|
+
export const JobAnnotationsGroupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
38395
|
+
const localVarFp = JobAnnotationsGroupApiFp(configuration)
|
|
38396
|
+
return {
|
|
38397
|
+
/**
|
|
38398
|
+
* Add annotations group to job
|
|
38399
|
+
* @summary Add annotations group to job
|
|
38400
|
+
* @param {string} jobId Job ID
|
|
38401
|
+
* @param {string} annotationsGroupId Organization annotations group ID
|
|
38402
|
+
* @param {*} [options] Override http request option.
|
|
38403
|
+
* @throws {RequiredError}
|
|
38404
|
+
*/
|
|
38405
|
+
addAnnotationsGroupToJob(jobId: string, annotationsGroupId: string, options?: any): AxiosPromise<void> {
|
|
38406
|
+
return localVarFp.addAnnotationsGroupToJob(jobId, annotationsGroupId, options).then((request) => request(axios, basePath));
|
|
38407
|
+
},
|
|
38408
|
+
/**
|
|
38409
|
+
* Delete annotations group to job
|
|
38410
|
+
* @summary Delete annotations group to job
|
|
38411
|
+
* @param {string} jobId Job ID
|
|
38412
|
+
* @param {*} [options] Override http request option.
|
|
38413
|
+
* @throws {RequiredError}
|
|
38414
|
+
*/
|
|
38415
|
+
deleteAnnotationsGroupToJob(jobId: string, options?: any): AxiosPromise<void> {
|
|
38416
|
+
return localVarFp.deleteAnnotationsGroupToJob(jobId, options).then((request) => request(axios, basePath));
|
|
38417
|
+
},
|
|
38418
|
+
/**
|
|
38419
|
+
* List job annotations group
|
|
38420
|
+
* @summary List job annotations group
|
|
38421
|
+
* @param {string} jobId Job ID
|
|
38422
|
+
* @param {*} [options] Override http request option.
|
|
38423
|
+
* @throws {RequiredError}
|
|
38424
|
+
*/
|
|
38425
|
+
listJobAnnotationsGroup(jobId: string, options?: any): AxiosPromise<OrganizationAnnotationsGroupResponseList> {
|
|
38426
|
+
return localVarFp.listJobAnnotationsGroup(jobId, options).then((request) => request(axios, basePath));
|
|
38427
|
+
},
|
|
38428
|
+
};
|
|
38429
|
+
};
|
|
38430
|
+
|
|
38431
|
+
/**
|
|
38432
|
+
* JobAnnotationsGroupApi - object-oriented interface
|
|
38433
|
+
* @export
|
|
38434
|
+
* @class JobAnnotationsGroupApi
|
|
38435
|
+
* @extends {BaseAPI}
|
|
38436
|
+
*/
|
|
38437
|
+
export class JobAnnotationsGroupApi extends BaseAPI {
|
|
38438
|
+
/**
|
|
38439
|
+
* Add annotations group to job
|
|
38440
|
+
* @summary Add annotations group to job
|
|
38441
|
+
* @param {string} jobId Job ID
|
|
38442
|
+
* @param {string} annotationsGroupId Organization annotations group ID
|
|
38443
|
+
* @param {*} [options] Override http request option.
|
|
38444
|
+
* @throws {RequiredError}
|
|
38445
|
+
* @memberof JobAnnotationsGroupApi
|
|
38446
|
+
*/
|
|
38447
|
+
public addAnnotationsGroupToJob(jobId: string, annotationsGroupId: string, options?: AxiosRequestConfig) {
|
|
38448
|
+
return JobAnnotationsGroupApiFp(this.configuration).addAnnotationsGroupToJob(jobId, annotationsGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
38449
|
+
}
|
|
38450
|
+
|
|
38451
|
+
/**
|
|
38452
|
+
* Delete annotations group to job
|
|
38453
|
+
* @summary Delete annotations group to job
|
|
38454
|
+
* @param {string} jobId Job ID
|
|
38455
|
+
* @param {*} [options] Override http request option.
|
|
38456
|
+
* @throws {RequiredError}
|
|
38457
|
+
* @memberof JobAnnotationsGroupApi
|
|
38458
|
+
*/
|
|
38459
|
+
public deleteAnnotationsGroupToJob(jobId: string, options?: AxiosRequestConfig) {
|
|
38460
|
+
return JobAnnotationsGroupApiFp(this.configuration).deleteAnnotationsGroupToJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
38461
|
+
}
|
|
38462
|
+
|
|
38463
|
+
/**
|
|
38464
|
+
* List job annotations group
|
|
38465
|
+
* @summary List job annotations group
|
|
38466
|
+
* @param {string} jobId Job ID
|
|
38467
|
+
* @param {*} [options] Override http request option.
|
|
38468
|
+
* @throws {RequiredError}
|
|
38469
|
+
* @memberof JobAnnotationsGroupApi
|
|
38470
|
+
*/
|
|
38471
|
+
public listJobAnnotationsGroup(jobId: string, options?: AxiosRequestConfig) {
|
|
38472
|
+
return JobAnnotationsGroupApiFp(this.configuration).listJobAnnotationsGroup(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
38473
|
+
}
|
|
38474
|
+
}
|
|
38475
|
+
|
|
38476
|
+
|
|
38477
|
+
|
|
38478
|
+
/**
|
|
38479
|
+
* JobConfigurationApi - axios parameter creator
|
|
38480
|
+
* @export
|
|
38481
|
+
*/
|
|
38482
|
+
export const JobConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38483
|
+
return {
|
|
38484
|
+
/**
|
|
38485
|
+
* Edit advanced settings by returning table of advanced settings.
|
|
38486
|
+
* @summary Edit advanced settings
|
|
38487
|
+
* @param {string} jobId Job ID
|
|
38488
|
+
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
38489
|
+
* @param {*} [options] Override http request option.
|
|
38490
|
+
* @throws {RequiredError}
|
|
38491
|
+
*/
|
|
38492
|
+
editJobAdvancedSettings: async (jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38493
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
38494
|
+
assertParamExists('editJobAdvancedSettings', 'jobId', jobId)
|
|
38495
|
+
const localVarPath = `/job/{jobId}/advancedSettings`
|
|
38496
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
38497
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38498
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38499
|
+
let baseOptions;
|
|
38500
|
+
if (configuration) {
|
|
38501
|
+
baseOptions = configuration.baseOptions;
|
|
38502
|
+
}
|
|
38503
|
+
|
|
38504
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
38505
|
+
const localVarHeaderParameter = {} as any;
|
|
38506
|
+
const localVarQueryParameter = {} as any;
|
|
38507
|
+
|
|
38508
|
+
// authentication ApiKeyAuth required
|
|
38509
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38510
|
+
|
|
38511
|
+
// authentication bearerAuth required
|
|
38512
|
+
// http bearer authentication required
|
|
38513
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38514
|
+
|
|
38515
|
+
|
|
38516
|
+
|
|
38517
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38518
|
+
|
|
38519
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38520
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38521
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38522
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jobAdvancedSettings, localVarRequestOptions, configuration)
|
|
38523
|
+
|
|
38524
|
+
return {
|
|
38525
|
+
url: toPathString(localVarUrlObj),
|
|
38526
|
+
options: localVarRequestOptions,
|
|
38527
|
+
};
|
|
38528
|
+
},
|
|
38529
|
+
/**
|
|
38530
|
+
* Get list and values of the advanced settings of the job. Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
38531
|
+
* @summary Get advanced settings
|
|
38532
|
+
* @param {string} jobId Job ID
|
|
38533
|
+
* @param {*} [options] Override http request option.
|
|
38534
|
+
* @throws {RequiredError}
|
|
38535
|
+
*/
|
|
38536
|
+
getJobAdvancedSettings: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38537
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
38538
|
+
assertParamExists('getJobAdvancedSettings', 'jobId', jobId)
|
|
38539
|
+
const localVarPath = `/job/{jobId}/advancedSettings`
|
|
38540
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
38541
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38542
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38543
|
+
let baseOptions;
|
|
38544
|
+
if (configuration) {
|
|
38545
|
+
baseOptions = configuration.baseOptions;
|
|
38546
|
+
}
|
|
38547
|
+
|
|
38548
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38549
|
+
const localVarHeaderParameter = {} as any;
|
|
38550
|
+
const localVarQueryParameter = {} as any;
|
|
38551
|
+
|
|
38552
|
+
// authentication ApiKeyAuth required
|
|
38553
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38554
|
+
|
|
38555
|
+
// authentication bearerAuth required
|
|
38556
|
+
// http bearer authentication required
|
|
38557
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38558
|
+
|
|
38559
|
+
|
|
38560
|
+
|
|
38561
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38562
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38563
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38564
|
+
|
|
38565
|
+
return {
|
|
38566
|
+
url: toPathString(localVarUrlObj),
|
|
38567
|
+
options: localVarRequestOptions,
|
|
38568
|
+
};
|
|
38569
|
+
},
|
|
38570
|
+
}
|
|
38571
|
+
};
|
|
38572
|
+
|
|
38573
|
+
/**
|
|
38574
|
+
* JobConfigurationApi - functional programming interface
|
|
38575
|
+
* @export
|
|
38576
|
+
*/
|
|
38577
|
+
export const JobConfigurationApiFp = function(configuration?: Configuration) {
|
|
38578
|
+
const localVarAxiosParamCreator = JobConfigurationApiAxiosParamCreator(configuration)
|
|
38579
|
+
return {
|
|
38580
|
+
/**
|
|
38581
|
+
* Edit advanced settings by returning table of advanced settings.
|
|
38582
|
+
* @summary Edit advanced settings
|
|
38583
|
+
* @param {string} jobId Job ID
|
|
38584
|
+
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
38585
|
+
* @param {*} [options] Override http request option.
|
|
38586
|
+
* @throws {RequiredError}
|
|
38587
|
+
*/
|
|
38588
|
+
async editJobAdvancedSettings(jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
38589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editJobAdvancedSettings(jobId, jobAdvancedSettings, options);
|
|
38590
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38591
|
+
},
|
|
38592
|
+
/**
|
|
38593
|
+
* Get list and values of the advanced settings of the job. Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
38594
|
+
* @summary Get advanced settings
|
|
38595
|
+
* @param {string} jobId Job ID
|
|
38596
|
+
* @param {*} [options] Override http request option.
|
|
38597
|
+
* @throws {RequiredError}
|
|
38598
|
+
*/
|
|
38599
|
+
async getJobAdvancedSettings(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
38600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getJobAdvancedSettings(jobId, options);
|
|
38601
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38602
|
+
},
|
|
38603
|
+
}
|
|
38604
|
+
};
|
|
38605
|
+
|
|
38606
|
+
/**
|
|
38607
|
+
* JobConfigurationApi - factory interface
|
|
38608
|
+
* @export
|
|
38609
|
+
*/
|
|
38610
|
+
export const JobConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
38611
|
+
const localVarFp = JobConfigurationApiFp(configuration)
|
|
38612
|
+
return {
|
|
38613
|
+
/**
|
|
38614
|
+
* Edit advanced settings by returning table of advanced settings.
|
|
38615
|
+
* @summary Edit advanced settings
|
|
38616
|
+
* @param {string} jobId Job ID
|
|
38617
|
+
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
38618
|
+
* @param {*} [options] Override http request option.
|
|
38619
|
+
* @throws {RequiredError}
|
|
38620
|
+
*/
|
|
38621
|
+
editJobAdvancedSettings(jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
38622
|
+
return localVarFp.editJobAdvancedSettings(jobId, jobAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
38623
|
+
},
|
|
38624
|
+
/**
|
|
38625
|
+
* Get list and values of the advanced settings of the job. Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
38626
|
+
* @summary Get advanced settings
|
|
38627
|
+
* @param {string} jobId Job ID
|
|
38628
|
+
* @param {*} [options] Override http request option.
|
|
38629
|
+
* @throws {RequiredError}
|
|
38630
|
+
*/
|
|
38631
|
+
getJobAdvancedSettings(jobId: string, options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
38632
|
+
return localVarFp.getJobAdvancedSettings(jobId, options).then((request) => request(axios, basePath));
|
|
38633
|
+
},
|
|
38634
|
+
};
|
|
38635
|
+
};
|
|
38636
|
+
|
|
38637
|
+
/**
|
|
38638
|
+
* JobConfigurationApi - object-oriented interface
|
|
38639
|
+
* @export
|
|
38640
|
+
* @class JobConfigurationApi
|
|
38641
|
+
* @extends {BaseAPI}
|
|
38642
|
+
*/
|
|
38643
|
+
export class JobConfigurationApi extends BaseAPI {
|
|
38644
|
+
/**
|
|
38645
|
+
* Edit advanced settings by returning table of advanced settings.
|
|
38646
|
+
* @summary Edit advanced settings
|
|
38647
|
+
* @param {string} jobId Job ID
|
|
38648
|
+
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
38649
|
+
* @param {*} [options] Override http request option.
|
|
38650
|
+
* @throws {RequiredError}
|
|
38651
|
+
* @memberof JobConfigurationApi
|
|
38652
|
+
*/
|
|
38653
|
+
public editJobAdvancedSettings(jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig) {
|
|
38654
|
+
return JobConfigurationApiFp(this.configuration).editJobAdvancedSettings(jobId, jobAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
38655
|
+
}
|
|
38656
|
+
|
|
38657
|
+
/**
|
|
38658
|
+
* Get list and values of the advanced settings of the job. Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
38659
|
+
* @summary Get advanced settings
|
|
38660
|
+
* @param {string} jobId Job ID
|
|
38661
|
+
* @param {*} [options] Override http request option.
|
|
38662
|
+
* @throws {RequiredError}
|
|
38663
|
+
* @memberof JobConfigurationApi
|
|
38664
|
+
*/
|
|
38665
|
+
public getJobAdvancedSettings(jobId: string, options?: AxiosRequestConfig) {
|
|
38666
|
+
return JobConfigurationApiFp(this.configuration).getJobAdvancedSettings(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
38667
|
+
}
|
|
38668
|
+
}
|
|
38669
|
+
|
|
38670
|
+
|
|
38671
|
+
|
|
38672
|
+
/**
|
|
38673
|
+
* JobDeploymentHistoryApi - axios parameter creator
|
|
38674
|
+
* @export
|
|
38675
|
+
*/
|
|
38676
|
+
export const JobDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38677
|
+
return {
|
|
38678
|
+
/**
|
|
38679
|
+
* Returns the 20 last job deployments
|
|
38680
|
+
* @summary List job deployments
|
|
38681
|
+
* @param {string} jobId Job ID
|
|
38682
|
+
* @param {*} [options] Override http request option.
|
|
38683
|
+
* @throws {RequiredError}
|
|
38684
|
+
*/
|
|
38685
|
+
listJobDeploymentHistory: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38686
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
38687
|
+
assertParamExists('listJobDeploymentHistory', 'jobId', jobId)
|
|
38688
|
+
const localVarPath = `/job/{jobId}/deploymentHistory`
|
|
37426
38689
|
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
37427
38690
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37428
38691
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -41365,6 +42628,496 @@ export class OrganizationAccountGitRepositoriesApi extends BaseAPI {
|
|
|
41365
42628
|
|
|
41366
42629
|
|
|
41367
42630
|
|
|
42631
|
+
/**
|
|
42632
|
+
* OrganizationAnnotationsGroupApi - axios parameter creator
|
|
42633
|
+
* @export
|
|
42634
|
+
*/
|
|
42635
|
+
export const OrganizationAnnotationsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42636
|
+
return {
|
|
42637
|
+
/**
|
|
42638
|
+
* Create an organization annotations group
|
|
42639
|
+
* @summary Create an organization annotations group
|
|
42640
|
+
* @param {string} organizationId Organization ID
|
|
42641
|
+
* @param {OrganizationAnnotationsGroupCreateRequest} [organizationAnnotationsGroupCreateRequest]
|
|
42642
|
+
* @param {*} [options] Override http request option.
|
|
42643
|
+
* @throws {RequiredError}
|
|
42644
|
+
*/
|
|
42645
|
+
createOrganizationAnnotationsGroup: async (organizationId: string, organizationAnnotationsGroupCreateRequest?: OrganizationAnnotationsGroupCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42646
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
42647
|
+
assertParamExists('createOrganizationAnnotationsGroup', 'organizationId', organizationId)
|
|
42648
|
+
const localVarPath = `/organization/{organizationId}/annotationsGroups`
|
|
42649
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
42650
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42651
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42652
|
+
let baseOptions;
|
|
42653
|
+
if (configuration) {
|
|
42654
|
+
baseOptions = configuration.baseOptions;
|
|
42655
|
+
}
|
|
42656
|
+
|
|
42657
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
42658
|
+
const localVarHeaderParameter = {} as any;
|
|
42659
|
+
const localVarQueryParameter = {} as any;
|
|
42660
|
+
|
|
42661
|
+
// authentication ApiKeyAuth required
|
|
42662
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42663
|
+
|
|
42664
|
+
// authentication bearerAuth required
|
|
42665
|
+
// http bearer authentication required
|
|
42666
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42667
|
+
|
|
42668
|
+
|
|
42669
|
+
|
|
42670
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42671
|
+
|
|
42672
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42673
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42674
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42675
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationAnnotationsGroupCreateRequest, localVarRequestOptions, configuration)
|
|
42676
|
+
|
|
42677
|
+
return {
|
|
42678
|
+
url: toPathString(localVarUrlObj),
|
|
42679
|
+
options: localVarRequestOptions,
|
|
42680
|
+
};
|
|
42681
|
+
},
|
|
42682
|
+
/**
|
|
42683
|
+
* Delete organization annotations group
|
|
42684
|
+
* @summary Delete organization annotations group
|
|
42685
|
+
* @param {string} organizationId Organization ID
|
|
42686
|
+
* @param {*} [options] Override http request option.
|
|
42687
|
+
* @throws {RequiredError}
|
|
42688
|
+
*/
|
|
42689
|
+
deleteOrganizationAnnotationsGroup: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42690
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
42691
|
+
assertParamExists('deleteOrganizationAnnotationsGroup', 'organizationId', organizationId)
|
|
42692
|
+
const localVarPath = `/organization/{organizationId}/annotationsGroups/{annotationsGroupId}`
|
|
42693
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
42694
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42695
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42696
|
+
let baseOptions;
|
|
42697
|
+
if (configuration) {
|
|
42698
|
+
baseOptions = configuration.baseOptions;
|
|
42699
|
+
}
|
|
42700
|
+
|
|
42701
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
42702
|
+
const localVarHeaderParameter = {} as any;
|
|
42703
|
+
const localVarQueryParameter = {} as any;
|
|
42704
|
+
|
|
42705
|
+
// authentication ApiKeyAuth required
|
|
42706
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42707
|
+
|
|
42708
|
+
// authentication bearerAuth required
|
|
42709
|
+
// http bearer authentication required
|
|
42710
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42711
|
+
|
|
42712
|
+
|
|
42713
|
+
|
|
42714
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42716
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42717
|
+
|
|
42718
|
+
return {
|
|
42719
|
+
url: toPathString(localVarUrlObj),
|
|
42720
|
+
options: localVarRequestOptions,
|
|
42721
|
+
};
|
|
42722
|
+
},
|
|
42723
|
+
/**
|
|
42724
|
+
* Edit organization annotations group
|
|
42725
|
+
* @summary Edit organization annotations group
|
|
42726
|
+
* @param {string} organizationId Organization ID
|
|
42727
|
+
* @param {*} [options] Override http request option.
|
|
42728
|
+
* @throws {RequiredError}
|
|
42729
|
+
*/
|
|
42730
|
+
editOrganizationAnnotationsGroup: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42731
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
42732
|
+
assertParamExists('editOrganizationAnnotationsGroup', 'organizationId', organizationId)
|
|
42733
|
+
const localVarPath = `/organization/{organizationId}/annotationsGroups/{annotationsGroupId}`
|
|
42734
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
42735
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42736
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42737
|
+
let baseOptions;
|
|
42738
|
+
if (configuration) {
|
|
42739
|
+
baseOptions = configuration.baseOptions;
|
|
42740
|
+
}
|
|
42741
|
+
|
|
42742
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
42743
|
+
const localVarHeaderParameter = {} as any;
|
|
42744
|
+
const localVarQueryParameter = {} as any;
|
|
42745
|
+
|
|
42746
|
+
// authentication ApiKeyAuth required
|
|
42747
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42748
|
+
|
|
42749
|
+
// authentication bearerAuth required
|
|
42750
|
+
// http bearer authentication required
|
|
42751
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42752
|
+
|
|
42753
|
+
|
|
42754
|
+
|
|
42755
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42756
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42757
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42758
|
+
|
|
42759
|
+
return {
|
|
42760
|
+
url: toPathString(localVarUrlObj),
|
|
42761
|
+
options: localVarRequestOptions,
|
|
42762
|
+
};
|
|
42763
|
+
},
|
|
42764
|
+
/**
|
|
42765
|
+
* Get organization annotations group
|
|
42766
|
+
* @summary Get organization annotations group
|
|
42767
|
+
* @param {string} organizationId Organization ID
|
|
42768
|
+
* @param {*} [options] Override http request option.
|
|
42769
|
+
* @throws {RequiredError}
|
|
42770
|
+
*/
|
|
42771
|
+
getOrganizationAnnotationsGroup: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42772
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
42773
|
+
assertParamExists('getOrganizationAnnotationsGroup', 'organizationId', organizationId)
|
|
42774
|
+
const localVarPath = `/organization/{organizationId}/annotationsGroups/{annotationsGroupId}`
|
|
42775
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
42776
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42777
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42778
|
+
let baseOptions;
|
|
42779
|
+
if (configuration) {
|
|
42780
|
+
baseOptions = configuration.baseOptions;
|
|
42781
|
+
}
|
|
42782
|
+
|
|
42783
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
42784
|
+
const localVarHeaderParameter = {} as any;
|
|
42785
|
+
const localVarQueryParameter = {} as any;
|
|
42786
|
+
|
|
42787
|
+
// authentication ApiKeyAuth required
|
|
42788
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42789
|
+
|
|
42790
|
+
// authentication bearerAuth required
|
|
42791
|
+
// http bearer authentication required
|
|
42792
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42793
|
+
|
|
42794
|
+
|
|
42795
|
+
|
|
42796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42798
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42799
|
+
|
|
42800
|
+
return {
|
|
42801
|
+
url: toPathString(localVarUrlObj),
|
|
42802
|
+
options: localVarRequestOptions,
|
|
42803
|
+
};
|
|
42804
|
+
},
|
|
42805
|
+
/**
|
|
42806
|
+
* Get organization annotations group associated items
|
|
42807
|
+
* @summary Get organization annotations group associated items
|
|
42808
|
+
* @param {string} organizationId Organization ID
|
|
42809
|
+
* @param {*} [options] Override http request option.
|
|
42810
|
+
* @throws {RequiredError}
|
|
42811
|
+
*/
|
|
42812
|
+
getOrganizationAnnotationsGroupAssociatedItems: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42813
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
42814
|
+
assertParamExists('getOrganizationAnnotationsGroupAssociatedItems', 'organizationId', organizationId)
|
|
42815
|
+
const localVarPath = `/organization/{organizationId}/annotationsGroups/{annotationsGroupId}/associatedItems`
|
|
42816
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
42817
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42818
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42819
|
+
let baseOptions;
|
|
42820
|
+
if (configuration) {
|
|
42821
|
+
baseOptions = configuration.baseOptions;
|
|
42822
|
+
}
|
|
42823
|
+
|
|
42824
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
42825
|
+
const localVarHeaderParameter = {} as any;
|
|
42826
|
+
const localVarQueryParameter = {} as any;
|
|
42827
|
+
|
|
42828
|
+
// authentication ApiKeyAuth required
|
|
42829
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42830
|
+
|
|
42831
|
+
// authentication bearerAuth required
|
|
42832
|
+
// http bearer authentication required
|
|
42833
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42834
|
+
|
|
42835
|
+
|
|
42836
|
+
|
|
42837
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42838
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42839
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42840
|
+
|
|
42841
|
+
return {
|
|
42842
|
+
url: toPathString(localVarUrlObj),
|
|
42843
|
+
options: localVarRequestOptions,
|
|
42844
|
+
};
|
|
42845
|
+
},
|
|
42846
|
+
/**
|
|
42847
|
+
* List organization annotations group
|
|
42848
|
+
* @summary List organization annotations group
|
|
42849
|
+
* @param {string} organizationId Organization ID
|
|
42850
|
+
* @param {*} [options] Override http request option.
|
|
42851
|
+
* @throws {RequiredError}
|
|
42852
|
+
*/
|
|
42853
|
+
listOrganizationAnnotationsGroup: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42854
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
42855
|
+
assertParamExists('listOrganizationAnnotationsGroup', 'organizationId', organizationId)
|
|
42856
|
+
const localVarPath = `/organization/{organizationId}/annotationsGroups`
|
|
42857
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
42858
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42859
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42860
|
+
let baseOptions;
|
|
42861
|
+
if (configuration) {
|
|
42862
|
+
baseOptions = configuration.baseOptions;
|
|
42863
|
+
}
|
|
42864
|
+
|
|
42865
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
42866
|
+
const localVarHeaderParameter = {} as any;
|
|
42867
|
+
const localVarQueryParameter = {} as any;
|
|
42868
|
+
|
|
42869
|
+
// authentication ApiKeyAuth required
|
|
42870
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42871
|
+
|
|
42872
|
+
// authentication bearerAuth required
|
|
42873
|
+
// http bearer authentication required
|
|
42874
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42875
|
+
|
|
42876
|
+
|
|
42877
|
+
|
|
42878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42880
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42881
|
+
|
|
42882
|
+
return {
|
|
42883
|
+
url: toPathString(localVarUrlObj),
|
|
42884
|
+
options: localVarRequestOptions,
|
|
42885
|
+
};
|
|
42886
|
+
},
|
|
42887
|
+
}
|
|
42888
|
+
};
|
|
42889
|
+
|
|
42890
|
+
/**
|
|
42891
|
+
* OrganizationAnnotationsGroupApi - functional programming interface
|
|
42892
|
+
* @export
|
|
42893
|
+
*/
|
|
42894
|
+
export const OrganizationAnnotationsGroupApiFp = function(configuration?: Configuration) {
|
|
42895
|
+
const localVarAxiosParamCreator = OrganizationAnnotationsGroupApiAxiosParamCreator(configuration)
|
|
42896
|
+
return {
|
|
42897
|
+
/**
|
|
42898
|
+
* Create an organization annotations group
|
|
42899
|
+
* @summary Create an organization annotations group
|
|
42900
|
+
* @param {string} organizationId Organization ID
|
|
42901
|
+
* @param {OrganizationAnnotationsGroupCreateRequest} [organizationAnnotationsGroupCreateRequest]
|
|
42902
|
+
* @param {*} [options] Override http request option.
|
|
42903
|
+
* @throws {RequiredError}
|
|
42904
|
+
*/
|
|
42905
|
+
async createOrganizationAnnotationsGroup(organizationId: string, organizationAnnotationsGroupCreateRequest?: OrganizationAnnotationsGroupCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupResponse>> {
|
|
42906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationAnnotationsGroup(organizationId, organizationAnnotationsGroupCreateRequest, options);
|
|
42907
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
42908
|
+
},
|
|
42909
|
+
/**
|
|
42910
|
+
* Delete organization annotations group
|
|
42911
|
+
* @summary Delete organization annotations group
|
|
42912
|
+
* @param {string} organizationId Organization ID
|
|
42913
|
+
* @param {*} [options] Override http request option.
|
|
42914
|
+
* @throws {RequiredError}
|
|
42915
|
+
*/
|
|
42916
|
+
async deleteOrganizationAnnotationsGroup(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
42917
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationAnnotationsGroup(organizationId, options);
|
|
42918
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
42919
|
+
},
|
|
42920
|
+
/**
|
|
42921
|
+
* Edit organization annotations group
|
|
42922
|
+
* @summary Edit organization annotations group
|
|
42923
|
+
* @param {string} organizationId Organization ID
|
|
42924
|
+
* @param {*} [options] Override http request option.
|
|
42925
|
+
* @throws {RequiredError}
|
|
42926
|
+
*/
|
|
42927
|
+
async editOrganizationAnnotationsGroup(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupResponse>> {
|
|
42928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationAnnotationsGroup(organizationId, options);
|
|
42929
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
42930
|
+
},
|
|
42931
|
+
/**
|
|
42932
|
+
* Get organization annotations group
|
|
42933
|
+
* @summary Get organization annotations group
|
|
42934
|
+
* @param {string} organizationId Organization ID
|
|
42935
|
+
* @param {*} [options] Override http request option.
|
|
42936
|
+
* @throws {RequiredError}
|
|
42937
|
+
*/
|
|
42938
|
+
async getOrganizationAnnotationsGroup(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupResponse>> {
|
|
42939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationAnnotationsGroup(organizationId, options);
|
|
42940
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
42941
|
+
},
|
|
42942
|
+
/**
|
|
42943
|
+
* Get organization annotations group associated items
|
|
42944
|
+
* @summary Get organization annotations group associated items
|
|
42945
|
+
* @param {string} organizationId Organization ID
|
|
42946
|
+
* @param {*} [options] Override http request option.
|
|
42947
|
+
* @throws {RequiredError}
|
|
42948
|
+
*/
|
|
42949
|
+
async getOrganizationAnnotationsGroupAssociatedItems(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupAssociatedItemsResponseList>> {
|
|
42950
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationAnnotationsGroupAssociatedItems(organizationId, options);
|
|
42951
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
42952
|
+
},
|
|
42953
|
+
/**
|
|
42954
|
+
* List organization annotations group
|
|
42955
|
+
* @summary List organization annotations group
|
|
42956
|
+
* @param {string} organizationId Organization ID
|
|
42957
|
+
* @param {*} [options] Override http request option.
|
|
42958
|
+
* @throws {RequiredError}
|
|
42959
|
+
*/
|
|
42960
|
+
async listOrganizationAnnotationsGroup(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAnnotationsGroupResponseList>> {
|
|
42961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationAnnotationsGroup(organizationId, options);
|
|
42962
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
42963
|
+
},
|
|
42964
|
+
}
|
|
42965
|
+
};
|
|
42966
|
+
|
|
42967
|
+
/**
|
|
42968
|
+
* OrganizationAnnotationsGroupApi - factory interface
|
|
42969
|
+
* @export
|
|
42970
|
+
*/
|
|
42971
|
+
export const OrganizationAnnotationsGroupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
42972
|
+
const localVarFp = OrganizationAnnotationsGroupApiFp(configuration)
|
|
42973
|
+
return {
|
|
42974
|
+
/**
|
|
42975
|
+
* Create an organization annotations group
|
|
42976
|
+
* @summary Create an organization annotations group
|
|
42977
|
+
* @param {string} organizationId Organization ID
|
|
42978
|
+
* @param {OrganizationAnnotationsGroupCreateRequest} [organizationAnnotationsGroupCreateRequest]
|
|
42979
|
+
* @param {*} [options] Override http request option.
|
|
42980
|
+
* @throws {RequiredError}
|
|
42981
|
+
*/
|
|
42982
|
+
createOrganizationAnnotationsGroup(organizationId: string, organizationAnnotationsGroupCreateRequest?: OrganizationAnnotationsGroupCreateRequest, options?: any): AxiosPromise<OrganizationAnnotationsGroupResponse> {
|
|
42983
|
+
return localVarFp.createOrganizationAnnotationsGroup(organizationId, organizationAnnotationsGroupCreateRequest, options).then((request) => request(axios, basePath));
|
|
42984
|
+
},
|
|
42985
|
+
/**
|
|
42986
|
+
* Delete organization annotations group
|
|
42987
|
+
* @summary Delete organization annotations group
|
|
42988
|
+
* @param {string} organizationId Organization ID
|
|
42989
|
+
* @param {*} [options] Override http request option.
|
|
42990
|
+
* @throws {RequiredError}
|
|
42991
|
+
*/
|
|
42992
|
+
deleteOrganizationAnnotationsGroup(organizationId: string, options?: any): AxiosPromise<void> {
|
|
42993
|
+
return localVarFp.deleteOrganizationAnnotationsGroup(organizationId, options).then((request) => request(axios, basePath));
|
|
42994
|
+
},
|
|
42995
|
+
/**
|
|
42996
|
+
* Edit organization annotations group
|
|
42997
|
+
* @summary Edit organization annotations group
|
|
42998
|
+
* @param {string} organizationId Organization ID
|
|
42999
|
+
* @param {*} [options] Override http request option.
|
|
43000
|
+
* @throws {RequiredError}
|
|
43001
|
+
*/
|
|
43002
|
+
editOrganizationAnnotationsGroup(organizationId: string, options?: any): AxiosPromise<OrganizationAnnotationsGroupResponse> {
|
|
43003
|
+
return localVarFp.editOrganizationAnnotationsGroup(organizationId, options).then((request) => request(axios, basePath));
|
|
43004
|
+
},
|
|
43005
|
+
/**
|
|
43006
|
+
* Get organization annotations group
|
|
43007
|
+
* @summary Get organization annotations group
|
|
43008
|
+
* @param {string} organizationId Organization ID
|
|
43009
|
+
* @param {*} [options] Override http request option.
|
|
43010
|
+
* @throws {RequiredError}
|
|
43011
|
+
*/
|
|
43012
|
+
getOrganizationAnnotationsGroup(organizationId: string, options?: any): AxiosPromise<OrganizationAnnotationsGroupResponse> {
|
|
43013
|
+
return localVarFp.getOrganizationAnnotationsGroup(organizationId, options).then((request) => request(axios, basePath));
|
|
43014
|
+
},
|
|
43015
|
+
/**
|
|
43016
|
+
* Get organization annotations group associated items
|
|
43017
|
+
* @summary Get organization annotations group associated items
|
|
43018
|
+
* @param {string} organizationId Organization ID
|
|
43019
|
+
* @param {*} [options] Override http request option.
|
|
43020
|
+
* @throws {RequiredError}
|
|
43021
|
+
*/
|
|
43022
|
+
getOrganizationAnnotationsGroupAssociatedItems(organizationId: string, options?: any): AxiosPromise<OrganizationAnnotationsGroupAssociatedItemsResponseList> {
|
|
43023
|
+
return localVarFp.getOrganizationAnnotationsGroupAssociatedItems(organizationId, options).then((request) => request(axios, basePath));
|
|
43024
|
+
},
|
|
43025
|
+
/**
|
|
43026
|
+
* List organization annotations group
|
|
43027
|
+
* @summary List organization annotations group
|
|
43028
|
+
* @param {string} organizationId Organization ID
|
|
43029
|
+
* @param {*} [options] Override http request option.
|
|
43030
|
+
* @throws {RequiredError}
|
|
43031
|
+
*/
|
|
43032
|
+
listOrganizationAnnotationsGroup(organizationId: string, options?: any): AxiosPromise<OrganizationAnnotationsGroupResponseList> {
|
|
43033
|
+
return localVarFp.listOrganizationAnnotationsGroup(organizationId, options).then((request) => request(axios, basePath));
|
|
43034
|
+
},
|
|
43035
|
+
};
|
|
43036
|
+
};
|
|
43037
|
+
|
|
43038
|
+
/**
|
|
43039
|
+
* OrganizationAnnotationsGroupApi - object-oriented interface
|
|
43040
|
+
* @export
|
|
43041
|
+
* @class OrganizationAnnotationsGroupApi
|
|
43042
|
+
* @extends {BaseAPI}
|
|
43043
|
+
*/
|
|
43044
|
+
export class OrganizationAnnotationsGroupApi extends BaseAPI {
|
|
43045
|
+
/**
|
|
43046
|
+
* Create an organization annotations group
|
|
43047
|
+
* @summary Create an organization annotations group
|
|
43048
|
+
* @param {string} organizationId Organization ID
|
|
43049
|
+
* @param {OrganizationAnnotationsGroupCreateRequest} [organizationAnnotationsGroupCreateRequest]
|
|
43050
|
+
* @param {*} [options] Override http request option.
|
|
43051
|
+
* @throws {RequiredError}
|
|
43052
|
+
* @memberof OrganizationAnnotationsGroupApi
|
|
43053
|
+
*/
|
|
43054
|
+
public createOrganizationAnnotationsGroup(organizationId: string, organizationAnnotationsGroupCreateRequest?: OrganizationAnnotationsGroupCreateRequest, options?: AxiosRequestConfig) {
|
|
43055
|
+
return OrganizationAnnotationsGroupApiFp(this.configuration).createOrganizationAnnotationsGroup(organizationId, organizationAnnotationsGroupCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43056
|
+
}
|
|
43057
|
+
|
|
43058
|
+
/**
|
|
43059
|
+
* Delete organization annotations group
|
|
43060
|
+
* @summary Delete organization annotations group
|
|
43061
|
+
* @param {string} organizationId Organization ID
|
|
43062
|
+
* @param {*} [options] Override http request option.
|
|
43063
|
+
* @throws {RequiredError}
|
|
43064
|
+
* @memberof OrganizationAnnotationsGroupApi
|
|
43065
|
+
*/
|
|
43066
|
+
public deleteOrganizationAnnotationsGroup(organizationId: string, options?: AxiosRequestConfig) {
|
|
43067
|
+
return OrganizationAnnotationsGroupApiFp(this.configuration).deleteOrganizationAnnotationsGroup(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
43068
|
+
}
|
|
43069
|
+
|
|
43070
|
+
/**
|
|
43071
|
+
* Edit organization annotations group
|
|
43072
|
+
* @summary Edit organization annotations group
|
|
43073
|
+
* @param {string} organizationId Organization ID
|
|
43074
|
+
* @param {*} [options] Override http request option.
|
|
43075
|
+
* @throws {RequiredError}
|
|
43076
|
+
* @memberof OrganizationAnnotationsGroupApi
|
|
43077
|
+
*/
|
|
43078
|
+
public editOrganizationAnnotationsGroup(organizationId: string, options?: AxiosRequestConfig) {
|
|
43079
|
+
return OrganizationAnnotationsGroupApiFp(this.configuration).editOrganizationAnnotationsGroup(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
43080
|
+
}
|
|
43081
|
+
|
|
43082
|
+
/**
|
|
43083
|
+
* Get organization annotations group
|
|
43084
|
+
* @summary Get organization annotations group
|
|
43085
|
+
* @param {string} organizationId Organization ID
|
|
43086
|
+
* @param {*} [options] Override http request option.
|
|
43087
|
+
* @throws {RequiredError}
|
|
43088
|
+
* @memberof OrganizationAnnotationsGroupApi
|
|
43089
|
+
*/
|
|
43090
|
+
public getOrganizationAnnotationsGroup(organizationId: string, options?: AxiosRequestConfig) {
|
|
43091
|
+
return OrganizationAnnotationsGroupApiFp(this.configuration).getOrganizationAnnotationsGroup(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
43092
|
+
}
|
|
43093
|
+
|
|
43094
|
+
/**
|
|
43095
|
+
* Get organization annotations group associated items
|
|
43096
|
+
* @summary Get organization annotations group associated items
|
|
43097
|
+
* @param {string} organizationId Organization ID
|
|
43098
|
+
* @param {*} [options] Override http request option.
|
|
43099
|
+
* @throws {RequiredError}
|
|
43100
|
+
* @memberof OrganizationAnnotationsGroupApi
|
|
43101
|
+
*/
|
|
43102
|
+
public getOrganizationAnnotationsGroupAssociatedItems(organizationId: string, options?: AxiosRequestConfig) {
|
|
43103
|
+
return OrganizationAnnotationsGroupApiFp(this.configuration).getOrganizationAnnotationsGroupAssociatedItems(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
43104
|
+
}
|
|
43105
|
+
|
|
43106
|
+
/**
|
|
43107
|
+
* List organization annotations group
|
|
43108
|
+
* @summary List organization annotations group
|
|
43109
|
+
* @param {string} organizationId Organization ID
|
|
43110
|
+
* @param {*} [options] Override http request option.
|
|
43111
|
+
* @throws {RequiredError}
|
|
43112
|
+
* @memberof OrganizationAnnotationsGroupApi
|
|
43113
|
+
*/
|
|
43114
|
+
public listOrganizationAnnotationsGroup(organizationId: string, options?: AxiosRequestConfig) {
|
|
43115
|
+
return OrganizationAnnotationsGroupApiFp(this.configuration).listOrganizationAnnotationsGroup(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
43116
|
+
}
|
|
43117
|
+
}
|
|
43118
|
+
|
|
43119
|
+
|
|
43120
|
+
|
|
41368
43121
|
/**
|
|
41369
43122
|
* OrganizationApiTokenApi - axios parameter creator
|
|
41370
43123
|
* @export
|