qovery-typescript-axios 1.1.409 → 1.1.411
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 +966 -84
- package/dist/api.d.ts +555 -0
- package/dist/api.js +582 -8
- package/dist/esm/api.d.ts +555 -0
- package/dist/esm/api.js +570 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5934,6 +5934,50 @@ export interface DoCredentialsRequest {
|
|
|
5934
5934
|
*/
|
|
5935
5935
|
'spaces_secret_key'?: string;
|
|
5936
5936
|
}
|
|
5937
|
+
/**
|
|
5938
|
+
*
|
|
5939
|
+
* @export
|
|
5940
|
+
* @interface DockerfileCheckRequest
|
|
5941
|
+
*/
|
|
5942
|
+
export interface DockerfileCheckRequest {
|
|
5943
|
+
/**
|
|
5944
|
+
*
|
|
5945
|
+
* @type {GitRepository}
|
|
5946
|
+
* @memberof DockerfileCheckRequest
|
|
5947
|
+
*/
|
|
5948
|
+
'git_repository': GitRepository;
|
|
5949
|
+
/**
|
|
5950
|
+
* path of the dockerfile with root_path as base path
|
|
5951
|
+
* @type {string}
|
|
5952
|
+
* @memberof DockerfileCheckRequest
|
|
5953
|
+
*/
|
|
5954
|
+
'dockerfile_path': string;
|
|
5955
|
+
}
|
|
5956
|
+
/**
|
|
5957
|
+
*
|
|
5958
|
+
* @export
|
|
5959
|
+
* @interface DockerfileCheckResponse
|
|
5960
|
+
*/
|
|
5961
|
+
export interface DockerfileCheckResponse {
|
|
5962
|
+
/**
|
|
5963
|
+
*
|
|
5964
|
+
* @type {string}
|
|
5965
|
+
* @memberof DockerfileCheckResponse
|
|
5966
|
+
*/
|
|
5967
|
+
'dockerfile_path': string;
|
|
5968
|
+
/**
|
|
5969
|
+
* All ARG variable declared in the Dockerfile
|
|
5970
|
+
* @type {Array<string>}
|
|
5971
|
+
* @memberof DockerfileCheckResponse
|
|
5972
|
+
*/
|
|
5973
|
+
'arg'?: Array<string>;
|
|
5974
|
+
/**
|
|
5975
|
+
* All image repositories we found declared in the Dockerfile
|
|
5976
|
+
* @type {Array<string>}
|
|
5977
|
+
* @memberof DockerfileCheckResponse
|
|
5978
|
+
*/
|
|
5979
|
+
'repositories'?: Array<string>;
|
|
5980
|
+
}
|
|
5937
5981
|
/**
|
|
5938
5982
|
*
|
|
5939
5983
|
* @export
|
|
@@ -9290,6 +9334,50 @@ export const KubernetesEnum = {
|
|
|
9290
9334
|
export type KubernetesEnum = typeof KubernetesEnum[keyof typeof KubernetesEnum];
|
|
9291
9335
|
|
|
9292
9336
|
|
|
9337
|
+
/**
|
|
9338
|
+
*
|
|
9339
|
+
* @export
|
|
9340
|
+
* @interface Label
|
|
9341
|
+
*/
|
|
9342
|
+
export interface Label {
|
|
9343
|
+
/**
|
|
9344
|
+
*
|
|
9345
|
+
* @type {string}
|
|
9346
|
+
* @memberof Label
|
|
9347
|
+
*/
|
|
9348
|
+
'key': string;
|
|
9349
|
+
/**
|
|
9350
|
+
*
|
|
9351
|
+
* @type {string}
|
|
9352
|
+
* @memberof Label
|
|
9353
|
+
*/
|
|
9354
|
+
'value': string;
|
|
9355
|
+
/**
|
|
9356
|
+
*
|
|
9357
|
+
* @type {boolean}
|
|
9358
|
+
* @memberof Label
|
|
9359
|
+
*/
|
|
9360
|
+
'propagate_to_cloud_provider': boolean;
|
|
9361
|
+
}
|
|
9362
|
+
/**
|
|
9363
|
+
* Labels Group Associated Item Type
|
|
9364
|
+
* @export
|
|
9365
|
+
* @enum {string}
|
|
9366
|
+
*/
|
|
9367
|
+
|
|
9368
|
+
export const LabelsGroupAssociatedItemType = {
|
|
9369
|
+
APPLICATION: 'APPLICATION',
|
|
9370
|
+
DATABASE: 'DATABASE',
|
|
9371
|
+
CONTAINER: 'CONTAINER',
|
|
9372
|
+
LIFECYCLE: 'LIFECYCLE',
|
|
9373
|
+
ENVIRONMENT: 'ENVIRONMENT',
|
|
9374
|
+
CLUSTER: 'CLUSTER',
|
|
9375
|
+
CRON: 'CRON'
|
|
9376
|
+
} as const;
|
|
9377
|
+
|
|
9378
|
+
export type LabelsGroupAssociatedItemType = typeof LabelsGroupAssociatedItemType[keyof typeof LabelsGroupAssociatedItemType];
|
|
9379
|
+
|
|
9380
|
+
|
|
9293
9381
|
/**
|
|
9294
9382
|
*
|
|
9295
9383
|
* @export
|
|
@@ -9629,6 +9717,19 @@ export interface ListOrganizationAnnotationsGroup200Response {
|
|
|
9629
9717
|
*/
|
|
9630
9718
|
'results'?: Array<OrganizationAnnotationsGroupEnrichedResponse>;
|
|
9631
9719
|
}
|
|
9720
|
+
/**
|
|
9721
|
+
*
|
|
9722
|
+
* @export
|
|
9723
|
+
* @interface ListOrganizationLabelsGroup200Response
|
|
9724
|
+
*/
|
|
9725
|
+
export interface ListOrganizationLabelsGroup200Response {
|
|
9726
|
+
/**
|
|
9727
|
+
*
|
|
9728
|
+
* @type {Array<OrganizationLabelsGroupEnrichedResponse>}
|
|
9729
|
+
* @memberof ListOrganizationLabelsGroup200Response
|
|
9730
|
+
*/
|
|
9731
|
+
'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
|
|
9732
|
+
}
|
|
9632
9733
|
/**
|
|
9633
9734
|
*
|
|
9634
9735
|
* @export
|
|
@@ -11107,6 +11208,181 @@ export interface OrganizationJobAutoDeployRequest {
|
|
|
11107
11208
|
*/
|
|
11108
11209
|
'tag'?: string;
|
|
11109
11210
|
}
|
|
11211
|
+
/**
|
|
11212
|
+
*
|
|
11213
|
+
* @export
|
|
11214
|
+
* @interface OrganizationLabelsGroupAssociatedItemsResponseList
|
|
11215
|
+
*/
|
|
11216
|
+
export interface OrganizationLabelsGroupAssociatedItemsResponseList {
|
|
11217
|
+
/**
|
|
11218
|
+
*
|
|
11219
|
+
* @type {Array<OrganizationLabelsGroupAssociatedItemsResponseListResultsInner>}
|
|
11220
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseList
|
|
11221
|
+
*/
|
|
11222
|
+
'results'?: Array<OrganizationLabelsGroupAssociatedItemsResponseListResultsInner>;
|
|
11223
|
+
}
|
|
11224
|
+
/**
|
|
11225
|
+
*
|
|
11226
|
+
* @export
|
|
11227
|
+
* @interface OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11228
|
+
*/
|
|
11229
|
+
export interface OrganizationLabelsGroupAssociatedItemsResponseListResultsInner {
|
|
11230
|
+
/**
|
|
11231
|
+
*
|
|
11232
|
+
* @type {string}
|
|
11233
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11234
|
+
*/
|
|
11235
|
+
'cluster_id'?: string;
|
|
11236
|
+
/**
|
|
11237
|
+
*
|
|
11238
|
+
* @type {string}
|
|
11239
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11240
|
+
*/
|
|
11241
|
+
'cluster_name'?: string;
|
|
11242
|
+
/**
|
|
11243
|
+
*
|
|
11244
|
+
* @type {string}
|
|
11245
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11246
|
+
*/
|
|
11247
|
+
'project_id'?: string;
|
|
11248
|
+
/**
|
|
11249
|
+
*
|
|
11250
|
+
* @type {string}
|
|
11251
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11252
|
+
*/
|
|
11253
|
+
'project_name'?: string;
|
|
11254
|
+
/**
|
|
11255
|
+
*
|
|
11256
|
+
* @type {string}
|
|
11257
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11258
|
+
*/
|
|
11259
|
+
'environment_id'?: string;
|
|
11260
|
+
/**
|
|
11261
|
+
*
|
|
11262
|
+
* @type {string}
|
|
11263
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11264
|
+
*/
|
|
11265
|
+
'environment_name'?: string;
|
|
11266
|
+
/**
|
|
11267
|
+
*
|
|
11268
|
+
* @type {string}
|
|
11269
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11270
|
+
*/
|
|
11271
|
+
'item_id': string;
|
|
11272
|
+
/**
|
|
11273
|
+
*
|
|
11274
|
+
* @type {string}
|
|
11275
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11276
|
+
*/
|
|
11277
|
+
'item_name': string;
|
|
11278
|
+
/**
|
|
11279
|
+
*
|
|
11280
|
+
* @type {LabelsGroupAssociatedItemType}
|
|
11281
|
+
* @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
|
|
11282
|
+
*/
|
|
11283
|
+
'item_type': LabelsGroupAssociatedItemType;
|
|
11284
|
+
}
|
|
11285
|
+
|
|
11286
|
+
|
|
11287
|
+
/**
|
|
11288
|
+
*
|
|
11289
|
+
* @export
|
|
11290
|
+
* @interface OrganizationLabelsGroupCreateRequest
|
|
11291
|
+
*/
|
|
11292
|
+
export interface OrganizationLabelsGroupCreateRequest {
|
|
11293
|
+
/**
|
|
11294
|
+
* name of the labels group
|
|
11295
|
+
* @type {string}
|
|
11296
|
+
* @memberof OrganizationLabelsGroupCreateRequest
|
|
11297
|
+
*/
|
|
11298
|
+
'name': string;
|
|
11299
|
+
/**
|
|
11300
|
+
*
|
|
11301
|
+
* @type {Array<Label>}
|
|
11302
|
+
* @memberof OrganizationLabelsGroupCreateRequest
|
|
11303
|
+
*/
|
|
11304
|
+
'labels': Array<Label>;
|
|
11305
|
+
}
|
|
11306
|
+
/**
|
|
11307
|
+
*
|
|
11308
|
+
* @export
|
|
11309
|
+
* @interface OrganizationLabelsGroupEnrichedResponse
|
|
11310
|
+
*/
|
|
11311
|
+
export interface OrganizationLabelsGroupEnrichedResponse {
|
|
11312
|
+
/**
|
|
11313
|
+
*
|
|
11314
|
+
* @type {string}
|
|
11315
|
+
* @memberof OrganizationLabelsGroupEnrichedResponse
|
|
11316
|
+
*/
|
|
11317
|
+
'id': string;
|
|
11318
|
+
/**
|
|
11319
|
+
*
|
|
11320
|
+
* @type {string}
|
|
11321
|
+
* @memberof OrganizationLabelsGroupEnrichedResponse
|
|
11322
|
+
*/
|
|
11323
|
+
'created_at': string;
|
|
11324
|
+
/**
|
|
11325
|
+
*
|
|
11326
|
+
* @type {string}
|
|
11327
|
+
* @memberof OrganizationLabelsGroupEnrichedResponse
|
|
11328
|
+
*/
|
|
11329
|
+
'updated_at'?: string;
|
|
11330
|
+
/**
|
|
11331
|
+
*
|
|
11332
|
+
* @type {string}
|
|
11333
|
+
* @memberof OrganizationLabelsGroupEnrichedResponse
|
|
11334
|
+
*/
|
|
11335
|
+
'name': string;
|
|
11336
|
+
/**
|
|
11337
|
+
*
|
|
11338
|
+
* @type {Array<Label>}
|
|
11339
|
+
* @memberof OrganizationLabelsGroupEnrichedResponse
|
|
11340
|
+
*/
|
|
11341
|
+
'labels': Array<Label>;
|
|
11342
|
+
/**
|
|
11343
|
+
*
|
|
11344
|
+
* @type {number}
|
|
11345
|
+
* @memberof OrganizationLabelsGroupEnrichedResponse
|
|
11346
|
+
*/
|
|
11347
|
+
'associated_items_count'?: number;
|
|
11348
|
+
}
|
|
11349
|
+
/**
|
|
11350
|
+
*
|
|
11351
|
+
* @export
|
|
11352
|
+
* @interface OrganizationLabelsGroupResponse
|
|
11353
|
+
*/
|
|
11354
|
+
export interface OrganizationLabelsGroupResponse {
|
|
11355
|
+
/**
|
|
11356
|
+
*
|
|
11357
|
+
* @type {string}
|
|
11358
|
+
* @memberof OrganizationLabelsGroupResponse
|
|
11359
|
+
*/
|
|
11360
|
+
'id': string;
|
|
11361
|
+
/**
|
|
11362
|
+
*
|
|
11363
|
+
* @type {string}
|
|
11364
|
+
* @memberof OrganizationLabelsGroupResponse
|
|
11365
|
+
*/
|
|
11366
|
+
'created_at': string;
|
|
11367
|
+
/**
|
|
11368
|
+
*
|
|
11369
|
+
* @type {string}
|
|
11370
|
+
* @memberof OrganizationLabelsGroupResponse
|
|
11371
|
+
*/
|
|
11372
|
+
'updated_at'?: string;
|
|
11373
|
+
/**
|
|
11374
|
+
*
|
|
11375
|
+
* @type {string}
|
|
11376
|
+
* @memberof OrganizationLabelsGroupResponse
|
|
11377
|
+
*/
|
|
11378
|
+
'name': string;
|
|
11379
|
+
/**
|
|
11380
|
+
*
|
|
11381
|
+
* @type {Array<Label>}
|
|
11382
|
+
* @memberof OrganizationLabelsGroupResponse
|
|
11383
|
+
*/
|
|
11384
|
+
'labels': Array<Label>;
|
|
11385
|
+
}
|
|
11110
11386
|
/**
|
|
11111
11387
|
*
|
|
11112
11388
|
* @export
|
|
@@ -30629,17 +30905,17 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
|
30629
30905
|
export const EnvironmentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30630
30906
|
return {
|
|
30631
30907
|
/**
|
|
30632
|
-
*
|
|
30633
|
-
* @summary
|
|
30908
|
+
*
|
|
30909
|
+
* @summary Check dockerfile configuration is correct
|
|
30634
30910
|
* @param {string} environmentId Environment ID
|
|
30635
|
-
* @param {
|
|
30911
|
+
* @param {DockerfileCheckRequest} [dockerfileCheckRequest]
|
|
30636
30912
|
* @param {*} [options] Override http request option.
|
|
30637
30913
|
* @throws {RequiredError}
|
|
30638
30914
|
*/
|
|
30639
|
-
|
|
30915
|
+
checkDockerfile: async (environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30640
30916
|
// verify required parameter 'environmentId' is not null or undefined
|
|
30641
|
-
assertParamExists('
|
|
30642
|
-
const localVarPath = `/environment/{environmentId}/
|
|
30917
|
+
assertParamExists('checkDockerfile', 'environmentId', environmentId)
|
|
30918
|
+
const localVarPath = `/environment/{environmentId}/checkDockerfile`
|
|
30643
30919
|
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30644
30920
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30645
30921
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -30666,45 +30942,13 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
30666
30942
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30667
30943
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30668
30944
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30669
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
30945
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dockerfileCheckRequest, localVarRequestOptions, configuration)
|
|
30670
30946
|
|
|
30671
30947
|
return {
|
|
30672
30948
|
url: toPathString(localVarUrlObj),
|
|
30673
30949
|
options: localVarRequestOptions,
|
|
30674
30950
|
};
|
|
30675
30951
|
},
|
|
30676
|
-
}
|
|
30677
|
-
};
|
|
30678
|
-
|
|
30679
|
-
/**
|
|
30680
|
-
* EnvironmentApi - functional programming interface
|
|
30681
|
-
* @export
|
|
30682
|
-
*/
|
|
30683
|
-
export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
30684
|
-
const localVarAxiosParamCreator = EnvironmentApiAxiosParamCreator(configuration)
|
|
30685
|
-
return {
|
|
30686
|
-
/**
|
|
30687
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
30688
|
-
* @summary Deploy applications
|
|
30689
|
-
* @param {string} environmentId Environment ID
|
|
30690
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
30691
|
-
* @param {*} [options] Override http request option.
|
|
30692
|
-
* @throws {RequiredError}
|
|
30693
|
-
*/
|
|
30694
|
-
async deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
30695
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
30696
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30697
|
-
},
|
|
30698
|
-
}
|
|
30699
|
-
};
|
|
30700
|
-
|
|
30701
|
-
/**
|
|
30702
|
-
* EnvironmentApi - factory interface
|
|
30703
|
-
* @export
|
|
30704
|
-
*/
|
|
30705
|
-
export const EnvironmentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30706
|
-
const localVarFp = EnvironmentApiFp(configuration)
|
|
30707
|
-
return {
|
|
30708
30952
|
/**
|
|
30709
30953
|
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
30710
30954
|
* @summary Deploy applications
|
|
@@ -30713,52 +30957,165 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
30713
30957
|
* @param {*} [options] Override http request option.
|
|
30714
30958
|
* @throws {RequiredError}
|
|
30715
30959
|
*/
|
|
30716
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options
|
|
30717
|
-
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
30718
|
-
},
|
|
30719
|
-
};
|
|
30720
|
-
};
|
|
30721
|
-
|
|
30722
|
-
/**
|
|
30723
|
-
* EnvironmentApi - object-oriented interface
|
|
30724
|
-
* @export
|
|
30725
|
-
* @class EnvironmentApi
|
|
30726
|
-
* @extends {BaseAPI}
|
|
30727
|
-
*/
|
|
30728
|
-
export class EnvironmentApi extends BaseAPI {
|
|
30729
|
-
/**
|
|
30730
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
30731
|
-
* @summary Deploy applications
|
|
30732
|
-
* @param {string} environmentId Environment ID
|
|
30733
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
30734
|
-
* @param {*} [options] Override http request option.
|
|
30735
|
-
* @throws {RequiredError}
|
|
30736
|
-
* @memberof EnvironmentApi
|
|
30737
|
-
*/
|
|
30738
|
-
public deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
|
|
30739
|
-
return EnvironmentApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30740
|
-
}
|
|
30741
|
-
}
|
|
30742
|
-
|
|
30743
|
-
|
|
30744
|
-
|
|
30745
|
-
/**
|
|
30746
|
-
* EnvironmentActionsApi - axios parameter creator
|
|
30747
|
-
* @export
|
|
30748
|
-
*/
|
|
30749
|
-
export const EnvironmentActionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30750
|
-
return {
|
|
30751
|
-
/**
|
|
30752
|
-
* Cancel the current deployment of your environment.
|
|
30753
|
-
* @summary Cancel environment deployment
|
|
30754
|
-
* @param {string} environmentId Environment ID
|
|
30755
|
-
* @param {*} [options] Override http request option.
|
|
30756
|
-
* @throws {RequiredError}
|
|
30757
|
-
*/
|
|
30758
|
-
cancelEnvironmentDeployment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30960
|
+
deployAllApplications: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30759
30961
|
// verify required parameter 'environmentId' is not null or undefined
|
|
30760
|
-
assertParamExists('
|
|
30761
|
-
const localVarPath = `/environment/{environmentId}/
|
|
30962
|
+
assertParamExists('deployAllApplications', 'environmentId', environmentId)
|
|
30963
|
+
const localVarPath = `/environment/{environmentId}/application/deploy`
|
|
30964
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30965
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30966
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30967
|
+
let baseOptions;
|
|
30968
|
+
if (configuration) {
|
|
30969
|
+
baseOptions = configuration.baseOptions;
|
|
30970
|
+
}
|
|
30971
|
+
|
|
30972
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30973
|
+
const localVarHeaderParameter = {} as any;
|
|
30974
|
+
const localVarQueryParameter = {} as any;
|
|
30975
|
+
|
|
30976
|
+
// authentication ApiKeyAuth required
|
|
30977
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
30978
|
+
|
|
30979
|
+
// authentication bearerAuth required
|
|
30980
|
+
// http bearer authentication required
|
|
30981
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30982
|
+
|
|
30983
|
+
|
|
30984
|
+
|
|
30985
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30986
|
+
|
|
30987
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30988
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30989
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30990
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
|
|
30991
|
+
|
|
30992
|
+
return {
|
|
30993
|
+
url: toPathString(localVarUrlObj),
|
|
30994
|
+
options: localVarRequestOptions,
|
|
30995
|
+
};
|
|
30996
|
+
},
|
|
30997
|
+
}
|
|
30998
|
+
};
|
|
30999
|
+
|
|
31000
|
+
/**
|
|
31001
|
+
* EnvironmentApi - functional programming interface
|
|
31002
|
+
* @export
|
|
31003
|
+
*/
|
|
31004
|
+
export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
31005
|
+
const localVarAxiosParamCreator = EnvironmentApiAxiosParamCreator(configuration)
|
|
31006
|
+
return {
|
|
31007
|
+
/**
|
|
31008
|
+
*
|
|
31009
|
+
* @summary Check dockerfile configuration is correct
|
|
31010
|
+
* @param {string} environmentId Environment ID
|
|
31011
|
+
* @param {DockerfileCheckRequest} [dockerfileCheckRequest]
|
|
31012
|
+
* @param {*} [options] Override http request option.
|
|
31013
|
+
* @throws {RequiredError}
|
|
31014
|
+
*/
|
|
31015
|
+
async checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DockerfileCheckResponse>> {
|
|
31016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkDockerfile(environmentId, dockerfileCheckRequest, options);
|
|
31017
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31018
|
+
},
|
|
31019
|
+
/**
|
|
31020
|
+
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
31021
|
+
* @summary Deploy applications
|
|
31022
|
+
* @param {string} environmentId Environment ID
|
|
31023
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
31024
|
+
* @param {*} [options] Override http request option.
|
|
31025
|
+
* @throws {RequiredError}
|
|
31026
|
+
*/
|
|
31027
|
+
async deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
31028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
31029
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31030
|
+
},
|
|
31031
|
+
}
|
|
31032
|
+
};
|
|
31033
|
+
|
|
31034
|
+
/**
|
|
31035
|
+
* EnvironmentApi - factory interface
|
|
31036
|
+
* @export
|
|
31037
|
+
*/
|
|
31038
|
+
export const EnvironmentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
31039
|
+
const localVarFp = EnvironmentApiFp(configuration)
|
|
31040
|
+
return {
|
|
31041
|
+
/**
|
|
31042
|
+
*
|
|
31043
|
+
* @summary Check dockerfile configuration is correct
|
|
31044
|
+
* @param {string} environmentId Environment ID
|
|
31045
|
+
* @param {DockerfileCheckRequest} [dockerfileCheckRequest]
|
|
31046
|
+
* @param {*} [options] Override http request option.
|
|
31047
|
+
* @throws {RequiredError}
|
|
31048
|
+
*/
|
|
31049
|
+
checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: any): AxiosPromise<DockerfileCheckResponse> {
|
|
31050
|
+
return localVarFp.checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(axios, basePath));
|
|
31051
|
+
},
|
|
31052
|
+
/**
|
|
31053
|
+
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
31054
|
+
* @summary Deploy applications
|
|
31055
|
+
* @param {string} environmentId Environment ID
|
|
31056
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
31057
|
+
* @param {*} [options] Override http request option.
|
|
31058
|
+
* @throws {RequiredError}
|
|
31059
|
+
*/
|
|
31060
|
+
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
|
|
31061
|
+
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
31062
|
+
},
|
|
31063
|
+
};
|
|
31064
|
+
};
|
|
31065
|
+
|
|
31066
|
+
/**
|
|
31067
|
+
* EnvironmentApi - object-oriented interface
|
|
31068
|
+
* @export
|
|
31069
|
+
* @class EnvironmentApi
|
|
31070
|
+
* @extends {BaseAPI}
|
|
31071
|
+
*/
|
|
31072
|
+
export class EnvironmentApi extends BaseAPI {
|
|
31073
|
+
/**
|
|
31074
|
+
*
|
|
31075
|
+
* @summary Check dockerfile configuration is correct
|
|
31076
|
+
* @param {string} environmentId Environment ID
|
|
31077
|
+
* @param {DockerfileCheckRequest} [dockerfileCheckRequest]
|
|
31078
|
+
* @param {*} [options] Override http request option.
|
|
31079
|
+
* @throws {RequiredError}
|
|
31080
|
+
* @memberof EnvironmentApi
|
|
31081
|
+
*/
|
|
31082
|
+
public checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: AxiosRequestConfig) {
|
|
31083
|
+
return EnvironmentApiFp(this.configuration).checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31084
|
+
}
|
|
31085
|
+
|
|
31086
|
+
/**
|
|
31087
|
+
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
31088
|
+
* @summary Deploy applications
|
|
31089
|
+
* @param {string} environmentId Environment ID
|
|
31090
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
31091
|
+
* @param {*} [options] Override http request option.
|
|
31092
|
+
* @throws {RequiredError}
|
|
31093
|
+
* @memberof EnvironmentApi
|
|
31094
|
+
*/
|
|
31095
|
+
public deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
|
|
31096
|
+
return EnvironmentApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31097
|
+
}
|
|
31098
|
+
}
|
|
31099
|
+
|
|
31100
|
+
|
|
31101
|
+
|
|
31102
|
+
/**
|
|
31103
|
+
* EnvironmentActionsApi - axios parameter creator
|
|
31104
|
+
* @export
|
|
31105
|
+
*/
|
|
31106
|
+
export const EnvironmentActionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31107
|
+
return {
|
|
31108
|
+
/**
|
|
31109
|
+
* Cancel the current deployment of your environment.
|
|
31110
|
+
* @summary Cancel environment deployment
|
|
31111
|
+
* @param {string} environmentId Environment ID
|
|
31112
|
+
* @param {*} [options] Override http request option.
|
|
31113
|
+
* @throws {RequiredError}
|
|
31114
|
+
*/
|
|
31115
|
+
cancelEnvironmentDeployment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31116
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31117
|
+
assertParamExists('cancelEnvironmentDeployment', 'environmentId', environmentId)
|
|
31118
|
+
const localVarPath = `/environment/{environmentId}/cancelDeployment`
|
|
30762
31119
|
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30763
31120
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30764
31121
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -43720,6 +44077,531 @@ export class OrganizationEventApi extends BaseAPI {
|
|
|
43720
44077
|
|
|
43721
44078
|
|
|
43722
44079
|
|
|
44080
|
+
/**
|
|
44081
|
+
* OrganizationLabelsGroupApi - axios parameter creator
|
|
44082
|
+
* @export
|
|
44083
|
+
*/
|
|
44084
|
+
export const OrganizationLabelsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44085
|
+
return {
|
|
44086
|
+
/**
|
|
44087
|
+
* Create an organization labels group
|
|
44088
|
+
* @summary Create an organization labels group
|
|
44089
|
+
* @param {string} organizationId Organization ID
|
|
44090
|
+
* @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
|
|
44091
|
+
* @param {*} [options] Override http request option.
|
|
44092
|
+
* @throws {RequiredError}
|
|
44093
|
+
*/
|
|
44094
|
+
createOrganizationLabelsGroup: async (organizationId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44095
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
44096
|
+
assertParamExists('createOrganizationLabelsGroup', 'organizationId', organizationId)
|
|
44097
|
+
const localVarPath = `/organization/{organizationId}/labelsGroups`
|
|
44098
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
44099
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44100
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44101
|
+
let baseOptions;
|
|
44102
|
+
if (configuration) {
|
|
44103
|
+
baseOptions = configuration.baseOptions;
|
|
44104
|
+
}
|
|
44105
|
+
|
|
44106
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
44107
|
+
const localVarHeaderParameter = {} as any;
|
|
44108
|
+
const localVarQueryParameter = {} as any;
|
|
44109
|
+
|
|
44110
|
+
// authentication ApiKeyAuth required
|
|
44111
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44112
|
+
|
|
44113
|
+
// authentication bearerAuth required
|
|
44114
|
+
// http bearer authentication required
|
|
44115
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44116
|
+
|
|
44117
|
+
|
|
44118
|
+
|
|
44119
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
44120
|
+
|
|
44121
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44122
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44123
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44124
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationLabelsGroupCreateRequest, localVarRequestOptions, configuration)
|
|
44125
|
+
|
|
44126
|
+
return {
|
|
44127
|
+
url: toPathString(localVarUrlObj),
|
|
44128
|
+
options: localVarRequestOptions,
|
|
44129
|
+
};
|
|
44130
|
+
},
|
|
44131
|
+
/**
|
|
44132
|
+
* Delete organization labels group
|
|
44133
|
+
* @summary Delete organization labels group
|
|
44134
|
+
* @param {string} organizationId Organization ID
|
|
44135
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44136
|
+
* @param {*} [options] Override http request option.
|
|
44137
|
+
* @throws {RequiredError}
|
|
44138
|
+
*/
|
|
44139
|
+
deleteOrganizationLabelsGroup: async (organizationId: string, labelsGroupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44140
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
44141
|
+
assertParamExists('deleteOrganizationLabelsGroup', 'organizationId', organizationId)
|
|
44142
|
+
// verify required parameter 'labelsGroupId' is not null or undefined
|
|
44143
|
+
assertParamExists('deleteOrganizationLabelsGroup', 'labelsGroupId', labelsGroupId)
|
|
44144
|
+
const localVarPath = `/organization/{organizationId}/labelsGroups/{labelsGroupId}`
|
|
44145
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
44146
|
+
.replace(`{${"labelsGroupId"}}`, encodeURIComponent(String(labelsGroupId)));
|
|
44147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44149
|
+
let baseOptions;
|
|
44150
|
+
if (configuration) {
|
|
44151
|
+
baseOptions = configuration.baseOptions;
|
|
44152
|
+
}
|
|
44153
|
+
|
|
44154
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
44155
|
+
const localVarHeaderParameter = {} as any;
|
|
44156
|
+
const localVarQueryParameter = {} as any;
|
|
44157
|
+
|
|
44158
|
+
// authentication ApiKeyAuth required
|
|
44159
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44160
|
+
|
|
44161
|
+
// authentication bearerAuth required
|
|
44162
|
+
// http bearer authentication required
|
|
44163
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44164
|
+
|
|
44165
|
+
|
|
44166
|
+
|
|
44167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44169
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44170
|
+
|
|
44171
|
+
return {
|
|
44172
|
+
url: toPathString(localVarUrlObj),
|
|
44173
|
+
options: localVarRequestOptions,
|
|
44174
|
+
};
|
|
44175
|
+
},
|
|
44176
|
+
/**
|
|
44177
|
+
* Edit organization labels group
|
|
44178
|
+
* @summary Edit organization labels group
|
|
44179
|
+
* @param {string} organizationId Organization ID
|
|
44180
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44181
|
+
* @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
|
|
44182
|
+
* @param {*} [options] Override http request option.
|
|
44183
|
+
* @throws {RequiredError}
|
|
44184
|
+
*/
|
|
44185
|
+
editOrganizationLabelsGroup: async (organizationId: string, labelsGroupId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44186
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
44187
|
+
assertParamExists('editOrganizationLabelsGroup', 'organizationId', organizationId)
|
|
44188
|
+
// verify required parameter 'labelsGroupId' is not null or undefined
|
|
44189
|
+
assertParamExists('editOrganizationLabelsGroup', 'labelsGroupId', labelsGroupId)
|
|
44190
|
+
const localVarPath = `/organization/{organizationId}/labelsGroups/{labelsGroupId}`
|
|
44191
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
44192
|
+
.replace(`{${"labelsGroupId"}}`, encodeURIComponent(String(labelsGroupId)));
|
|
44193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44195
|
+
let baseOptions;
|
|
44196
|
+
if (configuration) {
|
|
44197
|
+
baseOptions = configuration.baseOptions;
|
|
44198
|
+
}
|
|
44199
|
+
|
|
44200
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
44201
|
+
const localVarHeaderParameter = {} as any;
|
|
44202
|
+
const localVarQueryParameter = {} as any;
|
|
44203
|
+
|
|
44204
|
+
// authentication ApiKeyAuth required
|
|
44205
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44206
|
+
|
|
44207
|
+
// authentication bearerAuth required
|
|
44208
|
+
// http bearer authentication required
|
|
44209
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44210
|
+
|
|
44211
|
+
|
|
44212
|
+
|
|
44213
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
44214
|
+
|
|
44215
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44216
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44217
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44218
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationLabelsGroupCreateRequest, localVarRequestOptions, configuration)
|
|
44219
|
+
|
|
44220
|
+
return {
|
|
44221
|
+
url: toPathString(localVarUrlObj),
|
|
44222
|
+
options: localVarRequestOptions,
|
|
44223
|
+
};
|
|
44224
|
+
},
|
|
44225
|
+
/**
|
|
44226
|
+
* Get organization labels group associated items
|
|
44227
|
+
* @summary Get organization labels group associated items
|
|
44228
|
+
* @param {string} organizationId Organization ID
|
|
44229
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44230
|
+
* @param {*} [options] Override http request option.
|
|
44231
|
+
* @throws {RequiredError}
|
|
44232
|
+
*/
|
|
44233
|
+
getOrganizationLabelsGroupAssociatedItems: async (organizationId: string, labelsGroupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44234
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
44235
|
+
assertParamExists('getOrganizationLabelsGroupAssociatedItems', 'organizationId', organizationId)
|
|
44236
|
+
// verify required parameter 'labelsGroupId' is not null or undefined
|
|
44237
|
+
assertParamExists('getOrganizationLabelsGroupAssociatedItems', 'labelsGroupId', labelsGroupId)
|
|
44238
|
+
const localVarPath = `/organization/{organizationId}/labelsGroups/{labelsGroupId}/associatedItems`
|
|
44239
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
44240
|
+
.replace(`{${"labelsGroupId"}}`, encodeURIComponent(String(labelsGroupId)));
|
|
44241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44242
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44243
|
+
let baseOptions;
|
|
44244
|
+
if (configuration) {
|
|
44245
|
+
baseOptions = configuration.baseOptions;
|
|
44246
|
+
}
|
|
44247
|
+
|
|
44248
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
44249
|
+
const localVarHeaderParameter = {} as any;
|
|
44250
|
+
const localVarQueryParameter = {} as any;
|
|
44251
|
+
|
|
44252
|
+
// authentication ApiKeyAuth required
|
|
44253
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44254
|
+
|
|
44255
|
+
// authentication bearerAuth required
|
|
44256
|
+
// http bearer authentication required
|
|
44257
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44258
|
+
|
|
44259
|
+
|
|
44260
|
+
|
|
44261
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44263
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44264
|
+
|
|
44265
|
+
return {
|
|
44266
|
+
url: toPathString(localVarUrlObj),
|
|
44267
|
+
options: localVarRequestOptions,
|
|
44268
|
+
};
|
|
44269
|
+
},
|
|
44270
|
+
/**
|
|
44271
|
+
* Get organization labels group
|
|
44272
|
+
* @summary Get organization labels group
|
|
44273
|
+
* @param {string} organizationId Organization ID
|
|
44274
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44275
|
+
* @param {*} [options] Override http request option.
|
|
44276
|
+
* @throws {RequiredError}
|
|
44277
|
+
*/
|
|
44278
|
+
getOrganizationLabelssGroup: async (organizationId: string, labelsGroupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44279
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
44280
|
+
assertParamExists('getOrganizationLabelssGroup', 'organizationId', organizationId)
|
|
44281
|
+
// verify required parameter 'labelsGroupId' is not null or undefined
|
|
44282
|
+
assertParamExists('getOrganizationLabelssGroup', 'labelsGroupId', labelsGroupId)
|
|
44283
|
+
const localVarPath = `/organization/{organizationId}/labelsGroups/{labelsGroupId}`
|
|
44284
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
44285
|
+
.replace(`{${"labelsGroupId"}}`, encodeURIComponent(String(labelsGroupId)));
|
|
44286
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44287
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44288
|
+
let baseOptions;
|
|
44289
|
+
if (configuration) {
|
|
44290
|
+
baseOptions = configuration.baseOptions;
|
|
44291
|
+
}
|
|
44292
|
+
|
|
44293
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
44294
|
+
const localVarHeaderParameter = {} as any;
|
|
44295
|
+
const localVarQueryParameter = {} as any;
|
|
44296
|
+
|
|
44297
|
+
// authentication ApiKeyAuth required
|
|
44298
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44299
|
+
|
|
44300
|
+
// authentication bearerAuth required
|
|
44301
|
+
// http bearer authentication required
|
|
44302
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44303
|
+
|
|
44304
|
+
|
|
44305
|
+
|
|
44306
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44308
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44309
|
+
|
|
44310
|
+
return {
|
|
44311
|
+
url: toPathString(localVarUrlObj),
|
|
44312
|
+
options: localVarRequestOptions,
|
|
44313
|
+
};
|
|
44314
|
+
},
|
|
44315
|
+
/**
|
|
44316
|
+
* List organization labels group
|
|
44317
|
+
* @summary List organization labels group
|
|
44318
|
+
* @param {string} organizationId Organization ID
|
|
44319
|
+
* @param {*} [options] Override http request option.
|
|
44320
|
+
* @throws {RequiredError}
|
|
44321
|
+
*/
|
|
44322
|
+
listOrganizationLabelsGroup: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44323
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
44324
|
+
assertParamExists('listOrganizationLabelsGroup', 'organizationId', organizationId)
|
|
44325
|
+
const localVarPath = `/organization/{organizationId}/labelsGroups`
|
|
44326
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
44327
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44328
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44329
|
+
let baseOptions;
|
|
44330
|
+
if (configuration) {
|
|
44331
|
+
baseOptions = configuration.baseOptions;
|
|
44332
|
+
}
|
|
44333
|
+
|
|
44334
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
44335
|
+
const localVarHeaderParameter = {} as any;
|
|
44336
|
+
const localVarQueryParameter = {} as any;
|
|
44337
|
+
|
|
44338
|
+
// authentication ApiKeyAuth required
|
|
44339
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44340
|
+
|
|
44341
|
+
// authentication bearerAuth required
|
|
44342
|
+
// http bearer authentication required
|
|
44343
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44344
|
+
|
|
44345
|
+
|
|
44346
|
+
|
|
44347
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44349
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44350
|
+
|
|
44351
|
+
return {
|
|
44352
|
+
url: toPathString(localVarUrlObj),
|
|
44353
|
+
options: localVarRequestOptions,
|
|
44354
|
+
};
|
|
44355
|
+
},
|
|
44356
|
+
}
|
|
44357
|
+
};
|
|
44358
|
+
|
|
44359
|
+
/**
|
|
44360
|
+
* OrganizationLabelsGroupApi - functional programming interface
|
|
44361
|
+
* @export
|
|
44362
|
+
*/
|
|
44363
|
+
export const OrganizationLabelsGroupApiFp = function(configuration?: Configuration) {
|
|
44364
|
+
const localVarAxiosParamCreator = OrganizationLabelsGroupApiAxiosParamCreator(configuration)
|
|
44365
|
+
return {
|
|
44366
|
+
/**
|
|
44367
|
+
* Create an organization labels group
|
|
44368
|
+
* @summary Create an organization labels group
|
|
44369
|
+
* @param {string} organizationId Organization ID
|
|
44370
|
+
* @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
|
|
44371
|
+
* @param {*} [options] Override http request option.
|
|
44372
|
+
* @throws {RequiredError}
|
|
44373
|
+
*/
|
|
44374
|
+
async createOrganizationLabelsGroup(organizationId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationLabelsGroupResponse>> {
|
|
44375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationLabelsGroup(organizationId, organizationLabelsGroupCreateRequest, options);
|
|
44376
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44377
|
+
},
|
|
44378
|
+
/**
|
|
44379
|
+
* Delete organization labels group
|
|
44380
|
+
* @summary Delete organization labels group
|
|
44381
|
+
* @param {string} organizationId Organization ID
|
|
44382
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44383
|
+
* @param {*} [options] Override http request option.
|
|
44384
|
+
* @throws {RequiredError}
|
|
44385
|
+
*/
|
|
44386
|
+
async deleteOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
44387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationLabelsGroup(organizationId, labelsGroupId, options);
|
|
44388
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44389
|
+
},
|
|
44390
|
+
/**
|
|
44391
|
+
* Edit organization labels group
|
|
44392
|
+
* @summary Edit organization labels group
|
|
44393
|
+
* @param {string} organizationId Organization ID
|
|
44394
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44395
|
+
* @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
|
|
44396
|
+
* @param {*} [options] Override http request option.
|
|
44397
|
+
* @throws {RequiredError}
|
|
44398
|
+
*/
|
|
44399
|
+
async editOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationLabelsGroupResponse>> {
|
|
44400
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationLabelsGroup(organizationId, labelsGroupId, organizationLabelsGroupCreateRequest, options);
|
|
44401
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44402
|
+
},
|
|
44403
|
+
/**
|
|
44404
|
+
* Get organization labels group associated items
|
|
44405
|
+
* @summary Get organization labels group associated items
|
|
44406
|
+
* @param {string} organizationId Organization ID
|
|
44407
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44408
|
+
* @param {*} [options] Override http request option.
|
|
44409
|
+
* @throws {RequiredError}
|
|
44410
|
+
*/
|
|
44411
|
+
async getOrganizationLabelsGroupAssociatedItems(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationLabelsGroupAssociatedItemsResponseList>> {
|
|
44412
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationLabelsGroupAssociatedItems(organizationId, labelsGroupId, options);
|
|
44413
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44414
|
+
},
|
|
44415
|
+
/**
|
|
44416
|
+
* Get organization labels group
|
|
44417
|
+
* @summary Get organization labels group
|
|
44418
|
+
* @param {string} organizationId Organization ID
|
|
44419
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44420
|
+
* @param {*} [options] Override http request option.
|
|
44421
|
+
* @throws {RequiredError}
|
|
44422
|
+
*/
|
|
44423
|
+
async getOrganizationLabelssGroup(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationLabelsGroupResponse>> {
|
|
44424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationLabelssGroup(organizationId, labelsGroupId, options);
|
|
44425
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44426
|
+
},
|
|
44427
|
+
/**
|
|
44428
|
+
* List organization labels group
|
|
44429
|
+
* @summary List organization labels group
|
|
44430
|
+
* @param {string} organizationId Organization ID
|
|
44431
|
+
* @param {*} [options] Override http request option.
|
|
44432
|
+
* @throws {RequiredError}
|
|
44433
|
+
*/
|
|
44434
|
+
async listOrganizationLabelsGroup(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationLabelsGroup200Response>> {
|
|
44435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationLabelsGroup(organizationId, options);
|
|
44436
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44437
|
+
},
|
|
44438
|
+
}
|
|
44439
|
+
};
|
|
44440
|
+
|
|
44441
|
+
/**
|
|
44442
|
+
* OrganizationLabelsGroupApi - factory interface
|
|
44443
|
+
* @export
|
|
44444
|
+
*/
|
|
44445
|
+
export const OrganizationLabelsGroupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
44446
|
+
const localVarFp = OrganizationLabelsGroupApiFp(configuration)
|
|
44447
|
+
return {
|
|
44448
|
+
/**
|
|
44449
|
+
* Create an organization labels group
|
|
44450
|
+
* @summary Create an organization labels group
|
|
44451
|
+
* @param {string} organizationId Organization ID
|
|
44452
|
+
* @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
|
|
44453
|
+
* @param {*} [options] Override http request option.
|
|
44454
|
+
* @throws {RequiredError}
|
|
44455
|
+
*/
|
|
44456
|
+
createOrganizationLabelsGroup(organizationId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: any): AxiosPromise<OrganizationLabelsGroupResponse> {
|
|
44457
|
+
return localVarFp.createOrganizationLabelsGroup(organizationId, organizationLabelsGroupCreateRequest, options).then((request) => request(axios, basePath));
|
|
44458
|
+
},
|
|
44459
|
+
/**
|
|
44460
|
+
* Delete organization labels group
|
|
44461
|
+
* @summary Delete organization labels group
|
|
44462
|
+
* @param {string} organizationId Organization ID
|
|
44463
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44464
|
+
* @param {*} [options] Override http request option.
|
|
44465
|
+
* @throws {RequiredError}
|
|
44466
|
+
*/
|
|
44467
|
+
deleteOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, options?: any): AxiosPromise<void> {
|
|
44468
|
+
return localVarFp.deleteOrganizationLabelsGroup(organizationId, labelsGroupId, options).then((request) => request(axios, basePath));
|
|
44469
|
+
},
|
|
44470
|
+
/**
|
|
44471
|
+
* Edit organization labels group
|
|
44472
|
+
* @summary Edit organization labels group
|
|
44473
|
+
* @param {string} organizationId Organization ID
|
|
44474
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44475
|
+
* @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
|
|
44476
|
+
* @param {*} [options] Override http request option.
|
|
44477
|
+
* @throws {RequiredError}
|
|
44478
|
+
*/
|
|
44479
|
+
editOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: any): AxiosPromise<OrganizationLabelsGroupResponse> {
|
|
44480
|
+
return localVarFp.editOrganizationLabelsGroup(organizationId, labelsGroupId, organizationLabelsGroupCreateRequest, options).then((request) => request(axios, basePath));
|
|
44481
|
+
},
|
|
44482
|
+
/**
|
|
44483
|
+
* Get organization labels group associated items
|
|
44484
|
+
* @summary Get organization labels group associated items
|
|
44485
|
+
* @param {string} organizationId Organization ID
|
|
44486
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44487
|
+
* @param {*} [options] Override http request option.
|
|
44488
|
+
* @throws {RequiredError}
|
|
44489
|
+
*/
|
|
44490
|
+
getOrganizationLabelsGroupAssociatedItems(organizationId: string, labelsGroupId: string, options?: any): AxiosPromise<OrganizationLabelsGroupAssociatedItemsResponseList> {
|
|
44491
|
+
return localVarFp.getOrganizationLabelsGroupAssociatedItems(organizationId, labelsGroupId, options).then((request) => request(axios, basePath));
|
|
44492
|
+
},
|
|
44493
|
+
/**
|
|
44494
|
+
* Get organization labels group
|
|
44495
|
+
* @summary Get organization labels group
|
|
44496
|
+
* @param {string} organizationId Organization ID
|
|
44497
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44498
|
+
* @param {*} [options] Override http request option.
|
|
44499
|
+
* @throws {RequiredError}
|
|
44500
|
+
*/
|
|
44501
|
+
getOrganizationLabelssGroup(organizationId: string, labelsGroupId: string, options?: any): AxiosPromise<OrganizationLabelsGroupResponse> {
|
|
44502
|
+
return localVarFp.getOrganizationLabelssGroup(organizationId, labelsGroupId, options).then((request) => request(axios, basePath));
|
|
44503
|
+
},
|
|
44504
|
+
/**
|
|
44505
|
+
* List organization labels group
|
|
44506
|
+
* @summary List organization labels group
|
|
44507
|
+
* @param {string} organizationId Organization ID
|
|
44508
|
+
* @param {*} [options] Override http request option.
|
|
44509
|
+
* @throws {RequiredError}
|
|
44510
|
+
*/
|
|
44511
|
+
listOrganizationLabelsGroup(organizationId: string, options?: any): AxiosPromise<ListOrganizationLabelsGroup200Response> {
|
|
44512
|
+
return localVarFp.listOrganizationLabelsGroup(organizationId, options).then((request) => request(axios, basePath));
|
|
44513
|
+
},
|
|
44514
|
+
};
|
|
44515
|
+
};
|
|
44516
|
+
|
|
44517
|
+
/**
|
|
44518
|
+
* OrganizationLabelsGroupApi - object-oriented interface
|
|
44519
|
+
* @export
|
|
44520
|
+
* @class OrganizationLabelsGroupApi
|
|
44521
|
+
* @extends {BaseAPI}
|
|
44522
|
+
*/
|
|
44523
|
+
export class OrganizationLabelsGroupApi extends BaseAPI {
|
|
44524
|
+
/**
|
|
44525
|
+
* Create an organization labels group
|
|
44526
|
+
* @summary Create an organization labels group
|
|
44527
|
+
* @param {string} organizationId Organization ID
|
|
44528
|
+
* @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
|
|
44529
|
+
* @param {*} [options] Override http request option.
|
|
44530
|
+
* @throws {RequiredError}
|
|
44531
|
+
* @memberof OrganizationLabelsGroupApi
|
|
44532
|
+
*/
|
|
44533
|
+
public createOrganizationLabelsGroup(organizationId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: AxiosRequestConfig) {
|
|
44534
|
+
return OrganizationLabelsGroupApiFp(this.configuration).createOrganizationLabelsGroup(organizationId, organizationLabelsGroupCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
44535
|
+
}
|
|
44536
|
+
|
|
44537
|
+
/**
|
|
44538
|
+
* Delete organization labels group
|
|
44539
|
+
* @summary Delete organization labels group
|
|
44540
|
+
* @param {string} organizationId Organization ID
|
|
44541
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44542
|
+
* @param {*} [options] Override http request option.
|
|
44543
|
+
* @throws {RequiredError}
|
|
44544
|
+
* @memberof OrganizationLabelsGroupApi
|
|
44545
|
+
*/
|
|
44546
|
+
public deleteOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig) {
|
|
44547
|
+
return OrganizationLabelsGroupApiFp(this.configuration).deleteOrganizationLabelsGroup(organizationId, labelsGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
44548
|
+
}
|
|
44549
|
+
|
|
44550
|
+
/**
|
|
44551
|
+
* Edit organization labels group
|
|
44552
|
+
* @summary Edit organization labels group
|
|
44553
|
+
* @param {string} organizationId Organization ID
|
|
44554
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44555
|
+
* @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
|
|
44556
|
+
* @param {*} [options] Override http request option.
|
|
44557
|
+
* @throws {RequiredError}
|
|
44558
|
+
* @memberof OrganizationLabelsGroupApi
|
|
44559
|
+
*/
|
|
44560
|
+
public editOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: AxiosRequestConfig) {
|
|
44561
|
+
return OrganizationLabelsGroupApiFp(this.configuration).editOrganizationLabelsGroup(organizationId, labelsGroupId, organizationLabelsGroupCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
44562
|
+
}
|
|
44563
|
+
|
|
44564
|
+
/**
|
|
44565
|
+
* Get organization labels group associated items
|
|
44566
|
+
* @summary Get organization labels group associated items
|
|
44567
|
+
* @param {string} organizationId Organization ID
|
|
44568
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44569
|
+
* @param {*} [options] Override http request option.
|
|
44570
|
+
* @throws {RequiredError}
|
|
44571
|
+
* @memberof OrganizationLabelsGroupApi
|
|
44572
|
+
*/
|
|
44573
|
+
public getOrganizationLabelsGroupAssociatedItems(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig) {
|
|
44574
|
+
return OrganizationLabelsGroupApiFp(this.configuration).getOrganizationLabelsGroupAssociatedItems(organizationId, labelsGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
44575
|
+
}
|
|
44576
|
+
|
|
44577
|
+
/**
|
|
44578
|
+
* Get organization labels group
|
|
44579
|
+
* @summary Get organization labels group
|
|
44580
|
+
* @param {string} organizationId Organization ID
|
|
44581
|
+
* @param {string} labelsGroupId Organization labels group ID
|
|
44582
|
+
* @param {*} [options] Override http request option.
|
|
44583
|
+
* @throws {RequiredError}
|
|
44584
|
+
* @memberof OrganizationLabelsGroupApi
|
|
44585
|
+
*/
|
|
44586
|
+
public getOrganizationLabelssGroup(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig) {
|
|
44587
|
+
return OrganizationLabelsGroupApiFp(this.configuration).getOrganizationLabelssGroup(organizationId, labelsGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
44588
|
+
}
|
|
44589
|
+
|
|
44590
|
+
/**
|
|
44591
|
+
* List organization labels group
|
|
44592
|
+
* @summary List organization labels group
|
|
44593
|
+
* @param {string} organizationId Organization ID
|
|
44594
|
+
* @param {*} [options] Override http request option.
|
|
44595
|
+
* @throws {RequiredError}
|
|
44596
|
+
* @memberof OrganizationLabelsGroupApi
|
|
44597
|
+
*/
|
|
44598
|
+
public listOrganizationLabelsGroup(organizationId: string, options?: AxiosRequestConfig) {
|
|
44599
|
+
return OrganizationLabelsGroupApiFp(this.configuration).listOrganizationLabelsGroup(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
44600
|
+
}
|
|
44601
|
+
}
|
|
44602
|
+
|
|
44603
|
+
|
|
44604
|
+
|
|
43723
44605
|
/**
|
|
43724
44606
|
* OrganizationMainCallsApi - axios parameter creator
|
|
43725
44607
|
* @export
|