qovery-typescript-axios 1.1.410 → 1.1.412

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 CHANGED
@@ -2135,6 +2135,12 @@ export interface ClusterAdvancedSettings {
2135
2135
  * @memberof ClusterAdvancedSettings
2136
2136
  */
2137
2137
  'nginx.hpa.max_number_instances'?: number;
2138
+ /**
2139
+ * storage class name to use to provision pvc
2140
+ * @type {string}
2141
+ * @memberof ClusterAdvancedSettings
2142
+ */
2143
+ 'storageclass.fast_ssd'?: string;
2138
2144
  }
2139
2145
 
2140
2146
  export const ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = {
@@ -9334,6 +9340,50 @@ export const KubernetesEnum = {
9334
9340
  export type KubernetesEnum = typeof KubernetesEnum[keyof typeof KubernetesEnum];
9335
9341
 
9336
9342
 
9343
+ /**
9344
+ *
9345
+ * @export
9346
+ * @interface Label
9347
+ */
9348
+ export interface Label {
9349
+ /**
9350
+ *
9351
+ * @type {string}
9352
+ * @memberof Label
9353
+ */
9354
+ 'key': string;
9355
+ /**
9356
+ *
9357
+ * @type {string}
9358
+ * @memberof Label
9359
+ */
9360
+ 'value': string;
9361
+ /**
9362
+ *
9363
+ * @type {boolean}
9364
+ * @memberof Label
9365
+ */
9366
+ 'propagate_to_cloud_provider': boolean;
9367
+ }
9368
+ /**
9369
+ * Labels Group Associated Item Type
9370
+ * @export
9371
+ * @enum {string}
9372
+ */
9373
+
9374
+ export const LabelsGroupAssociatedItemType = {
9375
+ APPLICATION: 'APPLICATION',
9376
+ DATABASE: 'DATABASE',
9377
+ CONTAINER: 'CONTAINER',
9378
+ LIFECYCLE: 'LIFECYCLE',
9379
+ ENVIRONMENT: 'ENVIRONMENT',
9380
+ CLUSTER: 'CLUSTER',
9381
+ CRON: 'CRON'
9382
+ } as const;
9383
+
9384
+ export type LabelsGroupAssociatedItemType = typeof LabelsGroupAssociatedItemType[keyof typeof LabelsGroupAssociatedItemType];
9385
+
9386
+
9337
9387
  /**
9338
9388
  *
9339
9389
  * @export
@@ -9673,6 +9723,19 @@ export interface ListOrganizationAnnotationsGroup200Response {
9673
9723
  */
9674
9724
  'results'?: Array<OrganizationAnnotationsGroupEnrichedResponse>;
9675
9725
  }
9726
+ /**
9727
+ *
9728
+ * @export
9729
+ * @interface ListOrganizationLabelsGroup200Response
9730
+ */
9731
+ export interface ListOrganizationLabelsGroup200Response {
9732
+ /**
9733
+ *
9734
+ * @type {Array<OrganizationLabelsGroupEnrichedResponse>}
9735
+ * @memberof ListOrganizationLabelsGroup200Response
9736
+ */
9737
+ 'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
9738
+ }
9676
9739
  /**
9677
9740
  *
9678
9741
  * @export
@@ -11151,6 +11214,181 @@ export interface OrganizationJobAutoDeployRequest {
11151
11214
  */
11152
11215
  'tag'?: string;
11153
11216
  }
11217
+ /**
11218
+ *
11219
+ * @export
11220
+ * @interface OrganizationLabelsGroupAssociatedItemsResponseList
11221
+ */
11222
+ export interface OrganizationLabelsGroupAssociatedItemsResponseList {
11223
+ /**
11224
+ *
11225
+ * @type {Array<OrganizationLabelsGroupAssociatedItemsResponseListResultsInner>}
11226
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseList
11227
+ */
11228
+ 'results'?: Array<OrganizationLabelsGroupAssociatedItemsResponseListResultsInner>;
11229
+ }
11230
+ /**
11231
+ *
11232
+ * @export
11233
+ * @interface OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11234
+ */
11235
+ export interface OrganizationLabelsGroupAssociatedItemsResponseListResultsInner {
11236
+ /**
11237
+ *
11238
+ * @type {string}
11239
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11240
+ */
11241
+ 'cluster_id'?: string;
11242
+ /**
11243
+ *
11244
+ * @type {string}
11245
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11246
+ */
11247
+ 'cluster_name'?: string;
11248
+ /**
11249
+ *
11250
+ * @type {string}
11251
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11252
+ */
11253
+ 'project_id'?: string;
11254
+ /**
11255
+ *
11256
+ * @type {string}
11257
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11258
+ */
11259
+ 'project_name'?: string;
11260
+ /**
11261
+ *
11262
+ * @type {string}
11263
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11264
+ */
11265
+ 'environment_id'?: string;
11266
+ /**
11267
+ *
11268
+ * @type {string}
11269
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11270
+ */
11271
+ 'environment_name'?: string;
11272
+ /**
11273
+ *
11274
+ * @type {string}
11275
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11276
+ */
11277
+ 'item_id': string;
11278
+ /**
11279
+ *
11280
+ * @type {string}
11281
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11282
+ */
11283
+ 'item_name': string;
11284
+ /**
11285
+ *
11286
+ * @type {LabelsGroupAssociatedItemType}
11287
+ * @memberof OrganizationLabelsGroupAssociatedItemsResponseListResultsInner
11288
+ */
11289
+ 'item_type': LabelsGroupAssociatedItemType;
11290
+ }
11291
+
11292
+
11293
+ /**
11294
+ *
11295
+ * @export
11296
+ * @interface OrganizationLabelsGroupCreateRequest
11297
+ */
11298
+ export interface OrganizationLabelsGroupCreateRequest {
11299
+ /**
11300
+ * name of the labels group
11301
+ * @type {string}
11302
+ * @memberof OrganizationLabelsGroupCreateRequest
11303
+ */
11304
+ 'name': string;
11305
+ /**
11306
+ *
11307
+ * @type {Array<Label>}
11308
+ * @memberof OrganizationLabelsGroupCreateRequest
11309
+ */
11310
+ 'labels': Array<Label>;
11311
+ }
11312
+ /**
11313
+ *
11314
+ * @export
11315
+ * @interface OrganizationLabelsGroupEnrichedResponse
11316
+ */
11317
+ export interface OrganizationLabelsGroupEnrichedResponse {
11318
+ /**
11319
+ *
11320
+ * @type {string}
11321
+ * @memberof OrganizationLabelsGroupEnrichedResponse
11322
+ */
11323
+ 'id': string;
11324
+ /**
11325
+ *
11326
+ * @type {string}
11327
+ * @memberof OrganizationLabelsGroupEnrichedResponse
11328
+ */
11329
+ 'created_at': string;
11330
+ /**
11331
+ *
11332
+ * @type {string}
11333
+ * @memberof OrganizationLabelsGroupEnrichedResponse
11334
+ */
11335
+ 'updated_at'?: string;
11336
+ /**
11337
+ *
11338
+ * @type {string}
11339
+ * @memberof OrganizationLabelsGroupEnrichedResponse
11340
+ */
11341
+ 'name': string;
11342
+ /**
11343
+ *
11344
+ * @type {Array<Label>}
11345
+ * @memberof OrganizationLabelsGroupEnrichedResponse
11346
+ */
11347
+ 'labels': Array<Label>;
11348
+ /**
11349
+ *
11350
+ * @type {number}
11351
+ * @memberof OrganizationLabelsGroupEnrichedResponse
11352
+ */
11353
+ 'associated_items_count'?: number;
11354
+ }
11355
+ /**
11356
+ *
11357
+ * @export
11358
+ * @interface OrganizationLabelsGroupResponse
11359
+ */
11360
+ export interface OrganizationLabelsGroupResponse {
11361
+ /**
11362
+ *
11363
+ * @type {string}
11364
+ * @memberof OrganizationLabelsGroupResponse
11365
+ */
11366
+ 'id': string;
11367
+ /**
11368
+ *
11369
+ * @type {string}
11370
+ * @memberof OrganizationLabelsGroupResponse
11371
+ */
11372
+ 'created_at': string;
11373
+ /**
11374
+ *
11375
+ * @type {string}
11376
+ * @memberof OrganizationLabelsGroupResponse
11377
+ */
11378
+ 'updated_at'?: string;
11379
+ /**
11380
+ *
11381
+ * @type {string}
11382
+ * @memberof OrganizationLabelsGroupResponse
11383
+ */
11384
+ 'name': string;
11385
+ /**
11386
+ *
11387
+ * @type {Array<Label>}
11388
+ * @memberof OrganizationLabelsGroupResponse
11389
+ */
11390
+ 'labels': Array<Label>;
11391
+ }
11154
11392
  /**
11155
11393
  *
11156
11394
  * @export
@@ -43845,6 +44083,531 @@ export class OrganizationEventApi extends BaseAPI {
43845
44083
 
43846
44084
 
43847
44085
 
44086
+ /**
44087
+ * OrganizationLabelsGroupApi - axios parameter creator
44088
+ * @export
44089
+ */
44090
+ export const OrganizationLabelsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
44091
+ return {
44092
+ /**
44093
+ * Create an organization labels group
44094
+ * @summary Create an organization labels group
44095
+ * @param {string} organizationId Organization ID
44096
+ * @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
44097
+ * @param {*} [options] Override http request option.
44098
+ * @throws {RequiredError}
44099
+ */
44100
+ createOrganizationLabelsGroup: async (organizationId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44101
+ // verify required parameter 'organizationId' is not null or undefined
44102
+ assertParamExists('createOrganizationLabelsGroup', 'organizationId', organizationId)
44103
+ const localVarPath = `/organization/{organizationId}/labelsGroups`
44104
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
44105
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44107
+ let baseOptions;
44108
+ if (configuration) {
44109
+ baseOptions = configuration.baseOptions;
44110
+ }
44111
+
44112
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
44113
+ const localVarHeaderParameter = {} as any;
44114
+ const localVarQueryParameter = {} as any;
44115
+
44116
+ // authentication ApiKeyAuth required
44117
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44118
+
44119
+ // authentication bearerAuth required
44120
+ // http bearer authentication required
44121
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
44122
+
44123
+
44124
+
44125
+ localVarHeaderParameter['Content-Type'] = 'application/json';
44126
+
44127
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44128
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44129
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44130
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationLabelsGroupCreateRequest, localVarRequestOptions, configuration)
44131
+
44132
+ return {
44133
+ url: toPathString(localVarUrlObj),
44134
+ options: localVarRequestOptions,
44135
+ };
44136
+ },
44137
+ /**
44138
+ * Delete organization labels group
44139
+ * @summary Delete organization labels group
44140
+ * @param {string} organizationId Organization ID
44141
+ * @param {string} labelsGroupId Organization labels group ID
44142
+ * @param {*} [options] Override http request option.
44143
+ * @throws {RequiredError}
44144
+ */
44145
+ deleteOrganizationLabelsGroup: async (organizationId: string, labelsGroupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44146
+ // verify required parameter 'organizationId' is not null or undefined
44147
+ assertParamExists('deleteOrganizationLabelsGroup', 'organizationId', organizationId)
44148
+ // verify required parameter 'labelsGroupId' is not null or undefined
44149
+ assertParamExists('deleteOrganizationLabelsGroup', 'labelsGroupId', labelsGroupId)
44150
+ const localVarPath = `/organization/{organizationId}/labelsGroups/{labelsGroupId}`
44151
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
44152
+ .replace(`{${"labelsGroupId"}}`, encodeURIComponent(String(labelsGroupId)));
44153
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44154
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44155
+ let baseOptions;
44156
+ if (configuration) {
44157
+ baseOptions = configuration.baseOptions;
44158
+ }
44159
+
44160
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
44161
+ const localVarHeaderParameter = {} as any;
44162
+ const localVarQueryParameter = {} as any;
44163
+
44164
+ // authentication ApiKeyAuth required
44165
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44166
+
44167
+ // authentication bearerAuth required
44168
+ // http bearer authentication required
44169
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
44170
+
44171
+
44172
+
44173
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44175
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44176
+
44177
+ return {
44178
+ url: toPathString(localVarUrlObj),
44179
+ options: localVarRequestOptions,
44180
+ };
44181
+ },
44182
+ /**
44183
+ * Edit organization labels group
44184
+ * @summary Edit organization labels group
44185
+ * @param {string} organizationId Organization ID
44186
+ * @param {string} labelsGroupId Organization labels group ID
44187
+ * @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
44188
+ * @param {*} [options] Override http request option.
44189
+ * @throws {RequiredError}
44190
+ */
44191
+ editOrganizationLabelsGroup: async (organizationId: string, labelsGroupId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44192
+ // verify required parameter 'organizationId' is not null or undefined
44193
+ assertParamExists('editOrganizationLabelsGroup', 'organizationId', organizationId)
44194
+ // verify required parameter 'labelsGroupId' is not null or undefined
44195
+ assertParamExists('editOrganizationLabelsGroup', 'labelsGroupId', labelsGroupId)
44196
+ const localVarPath = `/organization/{organizationId}/labelsGroups/{labelsGroupId}`
44197
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
44198
+ .replace(`{${"labelsGroupId"}}`, encodeURIComponent(String(labelsGroupId)));
44199
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44200
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44201
+ let baseOptions;
44202
+ if (configuration) {
44203
+ baseOptions = configuration.baseOptions;
44204
+ }
44205
+
44206
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
44207
+ const localVarHeaderParameter = {} as any;
44208
+ const localVarQueryParameter = {} as any;
44209
+
44210
+ // authentication ApiKeyAuth required
44211
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44212
+
44213
+ // authentication bearerAuth required
44214
+ // http bearer authentication required
44215
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
44216
+
44217
+
44218
+
44219
+ localVarHeaderParameter['Content-Type'] = 'application/json';
44220
+
44221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44222
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44223
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44224
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationLabelsGroupCreateRequest, localVarRequestOptions, configuration)
44225
+
44226
+ return {
44227
+ url: toPathString(localVarUrlObj),
44228
+ options: localVarRequestOptions,
44229
+ };
44230
+ },
44231
+ /**
44232
+ * Get organization labels group associated items
44233
+ * @summary Get organization labels group associated items
44234
+ * @param {string} organizationId Organization ID
44235
+ * @param {string} labelsGroupId Organization labels group ID
44236
+ * @param {*} [options] Override http request option.
44237
+ * @throws {RequiredError}
44238
+ */
44239
+ getOrganizationLabelsGroupAssociatedItems: async (organizationId: string, labelsGroupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44240
+ // verify required parameter 'organizationId' is not null or undefined
44241
+ assertParamExists('getOrganizationLabelsGroupAssociatedItems', 'organizationId', organizationId)
44242
+ // verify required parameter 'labelsGroupId' is not null or undefined
44243
+ assertParamExists('getOrganizationLabelsGroupAssociatedItems', 'labelsGroupId', labelsGroupId)
44244
+ const localVarPath = `/organization/{organizationId}/labelsGroups/{labelsGroupId}/associatedItems`
44245
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
44246
+ .replace(`{${"labelsGroupId"}}`, encodeURIComponent(String(labelsGroupId)));
44247
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44248
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44249
+ let baseOptions;
44250
+ if (configuration) {
44251
+ baseOptions = configuration.baseOptions;
44252
+ }
44253
+
44254
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
44255
+ const localVarHeaderParameter = {} as any;
44256
+ const localVarQueryParameter = {} as any;
44257
+
44258
+ // authentication ApiKeyAuth required
44259
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44260
+
44261
+ // authentication bearerAuth required
44262
+ // http bearer authentication required
44263
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
44264
+
44265
+
44266
+
44267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44270
+
44271
+ return {
44272
+ url: toPathString(localVarUrlObj),
44273
+ options: localVarRequestOptions,
44274
+ };
44275
+ },
44276
+ /**
44277
+ * Get organization labels group
44278
+ * @summary Get organization labels group
44279
+ * @param {string} organizationId Organization ID
44280
+ * @param {string} labelsGroupId Organization labels group ID
44281
+ * @param {*} [options] Override http request option.
44282
+ * @throws {RequiredError}
44283
+ */
44284
+ getOrganizationLabelssGroup: async (organizationId: string, labelsGroupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44285
+ // verify required parameter 'organizationId' is not null or undefined
44286
+ assertParamExists('getOrganizationLabelssGroup', 'organizationId', organizationId)
44287
+ // verify required parameter 'labelsGroupId' is not null or undefined
44288
+ assertParamExists('getOrganizationLabelssGroup', 'labelsGroupId', labelsGroupId)
44289
+ const localVarPath = `/organization/{organizationId}/labelsGroups/{labelsGroupId}`
44290
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
44291
+ .replace(`{${"labelsGroupId"}}`, encodeURIComponent(String(labelsGroupId)));
44292
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44293
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44294
+ let baseOptions;
44295
+ if (configuration) {
44296
+ baseOptions = configuration.baseOptions;
44297
+ }
44298
+
44299
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
44300
+ const localVarHeaderParameter = {} as any;
44301
+ const localVarQueryParameter = {} as any;
44302
+
44303
+ // authentication ApiKeyAuth required
44304
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44305
+
44306
+ // authentication bearerAuth required
44307
+ // http bearer authentication required
44308
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
44309
+
44310
+
44311
+
44312
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44313
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44314
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44315
+
44316
+ return {
44317
+ url: toPathString(localVarUrlObj),
44318
+ options: localVarRequestOptions,
44319
+ };
44320
+ },
44321
+ /**
44322
+ * List organization labels group
44323
+ * @summary List organization labels group
44324
+ * @param {string} organizationId Organization ID
44325
+ * @param {*} [options] Override http request option.
44326
+ * @throws {RequiredError}
44327
+ */
44328
+ listOrganizationLabelsGroup: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44329
+ // verify required parameter 'organizationId' is not null or undefined
44330
+ assertParamExists('listOrganizationLabelsGroup', 'organizationId', organizationId)
44331
+ const localVarPath = `/organization/{organizationId}/labelsGroups`
44332
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
44333
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44334
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44335
+ let baseOptions;
44336
+ if (configuration) {
44337
+ baseOptions = configuration.baseOptions;
44338
+ }
44339
+
44340
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
44341
+ const localVarHeaderParameter = {} as any;
44342
+ const localVarQueryParameter = {} as any;
44343
+
44344
+ // authentication ApiKeyAuth required
44345
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44346
+
44347
+ // authentication bearerAuth required
44348
+ // http bearer authentication required
44349
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
44350
+
44351
+
44352
+
44353
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44354
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44355
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44356
+
44357
+ return {
44358
+ url: toPathString(localVarUrlObj),
44359
+ options: localVarRequestOptions,
44360
+ };
44361
+ },
44362
+ }
44363
+ };
44364
+
44365
+ /**
44366
+ * OrganizationLabelsGroupApi - functional programming interface
44367
+ * @export
44368
+ */
44369
+ export const OrganizationLabelsGroupApiFp = function(configuration?: Configuration) {
44370
+ const localVarAxiosParamCreator = OrganizationLabelsGroupApiAxiosParamCreator(configuration)
44371
+ return {
44372
+ /**
44373
+ * Create an organization labels group
44374
+ * @summary Create an organization labels group
44375
+ * @param {string} organizationId Organization ID
44376
+ * @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
44377
+ * @param {*} [options] Override http request option.
44378
+ * @throws {RequiredError}
44379
+ */
44380
+ async createOrganizationLabelsGroup(organizationId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationLabelsGroupResponse>> {
44381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationLabelsGroup(organizationId, organizationLabelsGroupCreateRequest, options);
44382
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
44383
+ },
44384
+ /**
44385
+ * Delete organization labels group
44386
+ * @summary Delete organization labels group
44387
+ * @param {string} organizationId Organization ID
44388
+ * @param {string} labelsGroupId Organization labels group ID
44389
+ * @param {*} [options] Override http request option.
44390
+ * @throws {RequiredError}
44391
+ */
44392
+ async deleteOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
44393
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationLabelsGroup(organizationId, labelsGroupId, options);
44394
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
44395
+ },
44396
+ /**
44397
+ * Edit organization labels group
44398
+ * @summary Edit organization labels group
44399
+ * @param {string} organizationId Organization ID
44400
+ * @param {string} labelsGroupId Organization labels group ID
44401
+ * @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
44402
+ * @param {*} [options] Override http request option.
44403
+ * @throws {RequiredError}
44404
+ */
44405
+ async editOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationLabelsGroupResponse>> {
44406
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationLabelsGroup(organizationId, labelsGroupId, organizationLabelsGroupCreateRequest, options);
44407
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
44408
+ },
44409
+ /**
44410
+ * Get organization labels group associated items
44411
+ * @summary Get organization labels group associated items
44412
+ * @param {string} organizationId Organization ID
44413
+ * @param {string} labelsGroupId Organization labels group ID
44414
+ * @param {*} [options] Override http request option.
44415
+ * @throws {RequiredError}
44416
+ */
44417
+ async getOrganizationLabelsGroupAssociatedItems(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationLabelsGroupAssociatedItemsResponseList>> {
44418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationLabelsGroupAssociatedItems(organizationId, labelsGroupId, options);
44419
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
44420
+ },
44421
+ /**
44422
+ * Get organization labels group
44423
+ * @summary Get organization labels group
44424
+ * @param {string} organizationId Organization ID
44425
+ * @param {string} labelsGroupId Organization labels group ID
44426
+ * @param {*} [options] Override http request option.
44427
+ * @throws {RequiredError}
44428
+ */
44429
+ async getOrganizationLabelssGroup(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationLabelsGroupResponse>> {
44430
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationLabelssGroup(organizationId, labelsGroupId, options);
44431
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
44432
+ },
44433
+ /**
44434
+ * List organization labels group
44435
+ * @summary List organization labels group
44436
+ * @param {string} organizationId Organization ID
44437
+ * @param {*} [options] Override http request option.
44438
+ * @throws {RequiredError}
44439
+ */
44440
+ async listOrganizationLabelsGroup(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationLabelsGroup200Response>> {
44441
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationLabelsGroup(organizationId, options);
44442
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
44443
+ },
44444
+ }
44445
+ };
44446
+
44447
+ /**
44448
+ * OrganizationLabelsGroupApi - factory interface
44449
+ * @export
44450
+ */
44451
+ export const OrganizationLabelsGroupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
44452
+ const localVarFp = OrganizationLabelsGroupApiFp(configuration)
44453
+ return {
44454
+ /**
44455
+ * Create an organization labels group
44456
+ * @summary Create an organization labels group
44457
+ * @param {string} organizationId Organization ID
44458
+ * @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
44459
+ * @param {*} [options] Override http request option.
44460
+ * @throws {RequiredError}
44461
+ */
44462
+ createOrganizationLabelsGroup(organizationId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: any): AxiosPromise<OrganizationLabelsGroupResponse> {
44463
+ return localVarFp.createOrganizationLabelsGroup(organizationId, organizationLabelsGroupCreateRequest, options).then((request) => request(axios, basePath));
44464
+ },
44465
+ /**
44466
+ * Delete organization labels group
44467
+ * @summary Delete organization labels group
44468
+ * @param {string} organizationId Organization ID
44469
+ * @param {string} labelsGroupId Organization labels group ID
44470
+ * @param {*} [options] Override http request option.
44471
+ * @throws {RequiredError}
44472
+ */
44473
+ deleteOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, options?: any): AxiosPromise<void> {
44474
+ return localVarFp.deleteOrganizationLabelsGroup(organizationId, labelsGroupId, options).then((request) => request(axios, basePath));
44475
+ },
44476
+ /**
44477
+ * Edit organization labels group
44478
+ * @summary Edit organization labels group
44479
+ * @param {string} organizationId Organization ID
44480
+ * @param {string} labelsGroupId Organization labels group ID
44481
+ * @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
44482
+ * @param {*} [options] Override http request option.
44483
+ * @throws {RequiredError}
44484
+ */
44485
+ editOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: any): AxiosPromise<OrganizationLabelsGroupResponse> {
44486
+ return localVarFp.editOrganizationLabelsGroup(organizationId, labelsGroupId, organizationLabelsGroupCreateRequest, options).then((request) => request(axios, basePath));
44487
+ },
44488
+ /**
44489
+ * Get organization labels group associated items
44490
+ * @summary Get organization labels group associated items
44491
+ * @param {string} organizationId Organization ID
44492
+ * @param {string} labelsGroupId Organization labels group ID
44493
+ * @param {*} [options] Override http request option.
44494
+ * @throws {RequiredError}
44495
+ */
44496
+ getOrganizationLabelsGroupAssociatedItems(organizationId: string, labelsGroupId: string, options?: any): AxiosPromise<OrganizationLabelsGroupAssociatedItemsResponseList> {
44497
+ return localVarFp.getOrganizationLabelsGroupAssociatedItems(organizationId, labelsGroupId, options).then((request) => request(axios, basePath));
44498
+ },
44499
+ /**
44500
+ * Get organization labels group
44501
+ * @summary Get organization labels group
44502
+ * @param {string} organizationId Organization ID
44503
+ * @param {string} labelsGroupId Organization labels group ID
44504
+ * @param {*} [options] Override http request option.
44505
+ * @throws {RequiredError}
44506
+ */
44507
+ getOrganizationLabelssGroup(organizationId: string, labelsGroupId: string, options?: any): AxiosPromise<OrganizationLabelsGroupResponse> {
44508
+ return localVarFp.getOrganizationLabelssGroup(organizationId, labelsGroupId, options).then((request) => request(axios, basePath));
44509
+ },
44510
+ /**
44511
+ * List organization labels group
44512
+ * @summary List organization labels group
44513
+ * @param {string} organizationId Organization ID
44514
+ * @param {*} [options] Override http request option.
44515
+ * @throws {RequiredError}
44516
+ */
44517
+ listOrganizationLabelsGroup(organizationId: string, options?: any): AxiosPromise<ListOrganizationLabelsGroup200Response> {
44518
+ return localVarFp.listOrganizationLabelsGroup(organizationId, options).then((request) => request(axios, basePath));
44519
+ },
44520
+ };
44521
+ };
44522
+
44523
+ /**
44524
+ * OrganizationLabelsGroupApi - object-oriented interface
44525
+ * @export
44526
+ * @class OrganizationLabelsGroupApi
44527
+ * @extends {BaseAPI}
44528
+ */
44529
+ export class OrganizationLabelsGroupApi extends BaseAPI {
44530
+ /**
44531
+ * Create an organization labels group
44532
+ * @summary Create an organization labels group
44533
+ * @param {string} organizationId Organization ID
44534
+ * @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
44535
+ * @param {*} [options] Override http request option.
44536
+ * @throws {RequiredError}
44537
+ * @memberof OrganizationLabelsGroupApi
44538
+ */
44539
+ public createOrganizationLabelsGroup(organizationId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: AxiosRequestConfig) {
44540
+ return OrganizationLabelsGroupApiFp(this.configuration).createOrganizationLabelsGroup(organizationId, organizationLabelsGroupCreateRequest, options).then((request) => request(this.axios, this.basePath));
44541
+ }
44542
+
44543
+ /**
44544
+ * Delete organization labels group
44545
+ * @summary Delete organization labels group
44546
+ * @param {string} organizationId Organization ID
44547
+ * @param {string} labelsGroupId Organization labels group ID
44548
+ * @param {*} [options] Override http request option.
44549
+ * @throws {RequiredError}
44550
+ * @memberof OrganizationLabelsGroupApi
44551
+ */
44552
+ public deleteOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig) {
44553
+ return OrganizationLabelsGroupApiFp(this.configuration).deleteOrganizationLabelsGroup(organizationId, labelsGroupId, options).then((request) => request(this.axios, this.basePath));
44554
+ }
44555
+
44556
+ /**
44557
+ * Edit organization labels group
44558
+ * @summary Edit organization labels group
44559
+ * @param {string} organizationId Organization ID
44560
+ * @param {string} labelsGroupId Organization labels group ID
44561
+ * @param {OrganizationLabelsGroupCreateRequest} [organizationLabelsGroupCreateRequest]
44562
+ * @param {*} [options] Override http request option.
44563
+ * @throws {RequiredError}
44564
+ * @memberof OrganizationLabelsGroupApi
44565
+ */
44566
+ public editOrganizationLabelsGroup(organizationId: string, labelsGroupId: string, organizationLabelsGroupCreateRequest?: OrganizationLabelsGroupCreateRequest, options?: AxiosRequestConfig) {
44567
+ return OrganizationLabelsGroupApiFp(this.configuration).editOrganizationLabelsGroup(organizationId, labelsGroupId, organizationLabelsGroupCreateRequest, options).then((request) => request(this.axios, this.basePath));
44568
+ }
44569
+
44570
+ /**
44571
+ * Get organization labels group associated items
44572
+ * @summary Get organization labels group associated items
44573
+ * @param {string} organizationId Organization ID
44574
+ * @param {string} labelsGroupId Organization labels group ID
44575
+ * @param {*} [options] Override http request option.
44576
+ * @throws {RequiredError}
44577
+ * @memberof OrganizationLabelsGroupApi
44578
+ */
44579
+ public getOrganizationLabelsGroupAssociatedItems(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig) {
44580
+ return OrganizationLabelsGroupApiFp(this.configuration).getOrganizationLabelsGroupAssociatedItems(organizationId, labelsGroupId, options).then((request) => request(this.axios, this.basePath));
44581
+ }
44582
+
44583
+ /**
44584
+ * Get organization labels group
44585
+ * @summary Get organization labels group
44586
+ * @param {string} organizationId Organization ID
44587
+ * @param {string} labelsGroupId Organization labels group ID
44588
+ * @param {*} [options] Override http request option.
44589
+ * @throws {RequiredError}
44590
+ * @memberof OrganizationLabelsGroupApi
44591
+ */
44592
+ public getOrganizationLabelssGroup(organizationId: string, labelsGroupId: string, options?: AxiosRequestConfig) {
44593
+ return OrganizationLabelsGroupApiFp(this.configuration).getOrganizationLabelssGroup(organizationId, labelsGroupId, options).then((request) => request(this.axios, this.basePath));
44594
+ }
44595
+
44596
+ /**
44597
+ * List organization labels group
44598
+ * @summary List organization labels group
44599
+ * @param {string} organizationId Organization ID
44600
+ * @param {*} [options] Override http request option.
44601
+ * @throws {RequiredError}
44602
+ * @memberof OrganizationLabelsGroupApi
44603
+ */
44604
+ public listOrganizationLabelsGroup(organizationId: string, options?: AxiosRequestConfig) {
44605
+ return OrganizationLabelsGroupApiFp(this.configuration).listOrganizationLabelsGroup(organizationId, options).then((request) => request(this.axios, this.basePath));
44606
+ }
44607
+ }
44608
+
44609
+
44610
+
43848
44611
  /**
43849
44612
  * OrganizationMainCallsApi - axios parameter creator
43850
44613
  * @export