qovery-typescript-axios 1.1.410 → 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 CHANGED
@@ -9334,6 +9334,50 @@ export const KubernetesEnum = {
9334
9334
  export type KubernetesEnum = typeof KubernetesEnum[keyof typeof KubernetesEnum];
9335
9335
 
9336
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
+
9337
9381
  /**
9338
9382
  *
9339
9383
  * @export
@@ -9673,6 +9717,19 @@ export interface ListOrganizationAnnotationsGroup200Response {
9673
9717
  */
9674
9718
  'results'?: Array<OrganizationAnnotationsGroupEnrichedResponse>;
9675
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
+ }
9676
9733
  /**
9677
9734
  *
9678
9735
  * @export
@@ -11151,6 +11208,181 @@ export interface OrganizationJobAutoDeployRequest {
11151
11208
  */
11152
11209
  'tag'?: string;
11153
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
+ }
11154
11386
  /**
11155
11387
  *
11156
11388
  * @export
@@ -43845,6 +44077,531 @@ export class OrganizationEventApi extends BaseAPI {
43845
44077
 
43846
44078
 
43847
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
+
43848
44605
  /**
43849
44606
  * OrganizationMainCallsApi - axios parameter creator
43850
44607
  * @export