-
Notifications
You must be signed in to change notification settings - Fork 3
/
brands.d.ts
670 lines (668 loc) · 21.8 KB
/
brands.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
import { A as ApiCallOptions, D as DownloadableBlob } from './invoke-fetch-types-0Dw3a71T.js';
import './auth-types-PkN9CAF_.js';
/**
* A brand is a collection of assets for applying custom branding. Only a single brand can be active in a tenant.
*/
type Brand = {
readonly active?: boolean;
/** The UTC timestamp when the brand was created. */
readonly createdAt?: string;
/** ID of a user that created the brand. */
readonly createdBy?: string;
description: string;
/** Collection of resources that make up the brand. */
files: BrandFile[];
readonly id: string;
name: string;
/** The UTC timestamp when the brand was last updated. */
readonly updatedAt?: string;
/** ID of a user that last updated the brand. */
readonly updatedBy?: string;
};
/**
* Represents one of the assets used as part of the brand. These include logos, favicons, and some styles.
*/
type BrandFile = {
contentType?: string;
eTag?: string;
id?: "logo" | "favIcon" | "styles";
path?: string;
};
/**
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
*/
type BrandPatch = {
/** The operation to be performed. */
op: "add" | "remove" | "replace";
/** The path for the given resource field to patch. */
path: "/name" | "/description";
/** The value to be used for this operation. */
value?: string;
};
/**
* A collection of brands.
*/
type BrandsList = {
data?: Brand[];
links?: {
next?: Link;
prev?: Link;
self?: Link;
};
};
type ErrorResponse400 = {
errors?: {
code?: string;
detail?: string;
title?: string;
}[];
traceId?: string;
};
type ErrorResponse401 = {
errors?: {
code?: string;
detail?: string;
title?: string;
}[];
traceId?: string;
};
type ErrorResponse403 = {
errors?: {
code?: string;
detail?: string;
title?: string;
}[];
traceId?: string;
};
type ErrorResponse404 = {
errors?: {
code?: string;
detail?: string;
title?: string;
}[];
traceId?: string;
};
type ErrorResponse500 = {
errors?: {
code?: string;
detail?: string;
title?: string;
}[];
traceId?: string;
};
type Link = {
/** URL of a resource request. */
href: string;
};
/**
* Empty object inferring lack of active branding.
*/
type NoActiveBrand = unknown;
/**
* Lists all brand entries for a tenant.
*
* @param query an object with query parameters
* @throws GetBrandsHttpError
*/
declare const getBrands: (query: {
/** Cursor to previous. */
endingBefore?: string;
/** Maximum number of brands to retrieve. */
limit?: number;
/** Field to sort by, prefixed with -/+ to indicate the order. */
sort?: "id" | "+id" | "-id" | "createdAt" | "+createdAt" | "-createdAt" | "updatedAt" | "+updatedAt" | "-updatedAt";
/** Cursor to the next page. */
startingAfter?: string;
}, options?: ApiCallOptions) => Promise<GetBrandsHttpResponse>;
type GetBrandsHttpResponse = {
data: BrandsList;
headers: Headers;
status: number;
prev?: (options?: ApiCallOptions) => Promise<GetBrandsHttpResponse>;
next?: (options?: ApiCallOptions) => Promise<GetBrandsHttpResponse>;
};
type GetBrands400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type GetBrands401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type GetBrands403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type GetBrands500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type GetBrandsHttpError = GetBrands400HttpError | GetBrands401HttpError | GetBrands403HttpError | GetBrands500HttpError;
/**
* Creates a new brand.
*
* @param body an object with the body content
* @throws CreateBrandHttpError
*/
declare const createBrand: (body: {
/** Description of the brand. */
description?: string;
/** The path and name of a properly formatted ICO file. Maximum size is 100 KB. */
favIcon?: BodyInit;
/** The path and name of a JPG or PNG file that will be adjusted to fit in a 'box' measuring 109px in width and 62 px in height while maintaining aspect ratio. Maximum size of 300 KB, but smaller is recommended. */
logo?: BodyInit;
/** Name of the brand. */
name: string;
/** The path and name of a JSON file to define brand style settings. Maximum size is 100 KB. This property is not currently operational. */
styles?: BodyInit;
}, options?: ApiCallOptions) => Promise<CreateBrandHttpResponse>;
type CreateBrandHttpResponse = {
data: Brand;
headers: Headers;
status: number;
};
type CreateBrand400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type CreateBrand401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type CreateBrand403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type CreateBrand500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError | CreateBrand403HttpError | CreateBrand500HttpError;
/**
* Returns the current active brand. If using the Qlik default brand, no value is returned.
*
* @throws GetActiveBrandHttpError
*/
declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
type GetActiveBrandHttpResponse = {
data: Brand | NoActiveBrand;
headers: Headers;
status: number;
};
type GetActiveBrandHttpError = {
data: unknown;
headers: Headers;
status: number;
};
/**
* Deletes a specific brand. If the active brand is deleted, the tenant will return to the Qlik default.
*
* @param brandId The brand's unique identifier.
* @throws DeleteBrandHttpError
*/
declare const deleteBrand: (brandId: string, options?: ApiCallOptions) => Promise<DeleteBrandHttpResponse>;
type DeleteBrandHttpResponse = {
data: void;
headers: Headers;
status: number;
};
type DeleteBrand400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type DeleteBrand401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type DeleteBrand403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type DeleteBrand404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type DeleteBrand500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type DeleteBrandHttpError = DeleteBrand400HttpError | DeleteBrand401HttpError | DeleteBrand403HttpError | DeleteBrand404HttpError | DeleteBrand500HttpError;
/**
* Returns a specific brand.
*
* @param brandId The brand's unique identifier.
* @throws GetBrandHttpError
*/
declare const getBrand: (brandId: string, options?: ApiCallOptions) => Promise<GetBrandHttpResponse>;
type GetBrandHttpResponse = {
data: Brand;
headers: Headers;
status: number;
};
type GetBrand400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type GetBrand401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type GetBrand403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type GetBrand404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type GetBrand500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type GetBrandHttpError = GetBrand400HttpError | GetBrand401HttpError | GetBrand403HttpError | GetBrand404HttpError | GetBrand500HttpError;
/**
* Patches a brand.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
* @throws PatchBrandHttpError
*/
declare const patchBrand: (brandId: string, body: BrandPatch[], options?: ApiCallOptions) => Promise<PatchBrandHttpResponse>;
type PatchBrandHttpResponse = {
data: void;
headers: Headers;
status: number;
};
type PatchBrand400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type PatchBrand401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type PatchBrand403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type PatchBrand404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type PatchBrand500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type PatchBrandHttpError = PatchBrand400HttpError | PatchBrand401HttpError | PatchBrand403HttpError | PatchBrand404HttpError | PatchBrand500HttpError;
/**
* Sets the brand active and de-activates any other active brand. If the brand is already active, no action is taken.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
* @throws ActivateBrandHttpError
*/
declare const activateBrand: (brandId: string, body: unknown, options?: ApiCallOptions) => Promise<ActivateBrandHttpResponse>;
type ActivateBrandHttpResponse = {
data: Brand;
headers: Headers;
status: number;
};
type ActivateBrand400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type ActivateBrand401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type ActivateBrand403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type ActivateBrand404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type ActivateBrand500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type ActivateBrandHttpError = ActivateBrand400HttpError | ActivateBrand401HttpError | ActivateBrand403HttpError | ActivateBrand404HttpError | ActivateBrand500HttpError;
/**
* Sets the brand so it is no longer active, returning the tenant the Qlik default brand. If the brand is already inactive, no action is taken.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
* @throws DeactivateBrandHttpError
*/
declare const deactivateBrand: (brandId: string, body: unknown, options?: ApiCallOptions) => Promise<DeactivateBrandHttpResponse>;
type DeactivateBrandHttpResponse = {
data: Brand;
headers: Headers;
status: number;
};
type DeactivateBrand400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type DeactivateBrand401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type DeactivateBrand403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type DeactivateBrand404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type DeactivateBrand500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type DeactivateBrandHttpError = DeactivateBrand400HttpError | DeactivateBrand401HttpError | DeactivateBrand403HttpError | DeactivateBrand404HttpError | DeactivateBrand500HttpError;
/**
* Deletes the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @throws DeleteBrandFileHttpError
*/
declare const deleteBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<DeleteBrandFileHttpResponse>;
type DeleteBrandFileHttpResponse = {
data: void;
headers: Headers;
status: number;
};
type DeleteBrandFile400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type DeleteBrandFile401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type DeleteBrandFile403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type DeleteBrandFile404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type DeleteBrandFile500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401HttpError | DeleteBrandFile403HttpError | DeleteBrandFile404HttpError | DeleteBrandFile500HttpError;
/**
* Downloads the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @throws GetBrandFileHttpError
*/
declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
type GetBrandFileHttpResponse = {
data: DownloadableBlob;
headers: Headers;
status: number;
};
type GetBrandFile400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type GetBrandFile401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type GetBrandFile403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type GetBrandFile404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type GetBrandFile500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type GetBrandFileHttpError = GetBrandFile400HttpError | GetBrandFile401HttpError | GetBrandFile403HttpError | GetBrandFile404HttpError | GetBrandFile500HttpError;
/**
* Creates a brand file for the specified identifier.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @param body an object with the body content
* @throws CreateBrandFileHttpError
*/
declare const createBrandFile: (brandId: string, brandFileId: string, body: {
/** The path and name of a file to upload. */
file?: BodyInit;
}, options?: ApiCallOptions) => Promise<CreateBrandFileHttpResponse>;
type CreateBrandFileHttpResponse = {
data: BrandFile;
headers: Headers;
status: number;
};
type CreateBrandFile400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type CreateBrandFile401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type CreateBrandFile403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type CreateBrandFile404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type CreateBrandFile500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type CreateBrandFileHttpError = CreateBrandFile400HttpError | CreateBrandFile401HttpError | CreateBrandFile403HttpError | CreateBrandFile404HttpError | CreateBrandFile500HttpError;
/**
* Updates the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @param body an object with the body content
* @throws UpdateBrandFileHttpError
*/
declare const updateBrandFile: (brandId: string, brandFileId: string, body: {
/** A file to upload. */
file?: BodyInit;
}, options?: ApiCallOptions) => Promise<UpdateBrandFileHttpResponse>;
type UpdateBrandFileHttpResponse = {
data: BrandFile;
headers: Headers;
status: number;
};
type UpdateBrandFile400HttpError = {
data: ErrorResponse400;
headers: Headers;
status: 400;
};
type UpdateBrandFile401HttpError = {
data: ErrorResponse401;
headers: Headers;
status: 401;
};
type UpdateBrandFile403HttpError = {
data: ErrorResponse403;
headers: Headers;
status: 403;
};
type UpdateBrandFile404HttpError = {
data: ErrorResponse404;
headers: Headers;
status: 404;
};
type UpdateBrandFile500HttpError = {
data: ErrorResponse500;
headers: Headers;
status: 500;
};
type UpdateBrandFileHttpError = UpdateBrandFile400HttpError | UpdateBrandFile401HttpError | UpdateBrandFile403HttpError | UpdateBrandFile404HttpError | UpdateBrandFile500HttpError;
/**
* Clears the cache for brands api requests.
*/
declare function clearCache(): void;
interface BrandsAPI {
/**
* Lists all brand entries for a tenant.
*
* @param query an object with query parameters
* @throws GetBrandsHttpError
*/
getBrands: typeof getBrands;
/**
* Creates a new brand.
*
* @param body an object with the body content
* @throws CreateBrandHttpError
*/
createBrand: typeof createBrand;
/**
* Returns the current active brand. If using the Qlik default brand, no value is returned.
*
* @throws GetActiveBrandHttpError
*/
getActiveBrand: typeof getActiveBrand;
/**
* Deletes a specific brand. If the active brand is deleted, the tenant will return to the Qlik default.
*
* @param brandId The brand's unique identifier.
* @throws DeleteBrandHttpError
*/
deleteBrand: typeof deleteBrand;
/**
* Returns a specific brand.
*
* @param brandId The brand's unique identifier.
* @throws GetBrandHttpError
*/
getBrand: typeof getBrand;
/**
* Patches a brand.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
* @throws PatchBrandHttpError
*/
patchBrand: typeof patchBrand;
/**
* Sets the brand active and de-activates any other active brand. If the brand is already active, no action is taken.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
* @throws ActivateBrandHttpError
*/
activateBrand: typeof activateBrand;
/**
* Sets the brand so it is no longer active, returning the tenant the Qlik default brand. If the brand is already inactive, no action is taken.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
* @throws DeactivateBrandHttpError
*/
deactivateBrand: typeof deactivateBrand;
/**
* Deletes the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @throws DeleteBrandFileHttpError
*/
deleteBrandFile: typeof deleteBrandFile;
/**
* Downloads the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @throws GetBrandFileHttpError
*/
getBrandFile: typeof getBrandFile;
/**
* Creates a brand file for the specified identifier.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @param body an object with the body content
* @throws CreateBrandFileHttpError
*/
createBrandFile: typeof createBrandFile;
/**
* Updates the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @param body an object with the body content
* @throws UpdateBrandFileHttpError
*/
updateBrandFile: typeof updateBrandFile;
/**
* Clears the cache for brands api requests.
*/
clearCache: typeof clearCache;
}
/**
* Functions for the brands api
*/
declare const brandsExport: BrandsAPI;
export { type ActivateBrand400HttpError, type ActivateBrand401HttpError, type ActivateBrand403HttpError, type ActivateBrand404HttpError, type ActivateBrand500HttpError, type ActivateBrandHttpError, type ActivateBrandHttpResponse, type Brand, type BrandFile, type BrandPatch, type BrandsAPI, type BrandsList, type CreateBrand400HttpError, type CreateBrand401HttpError, type CreateBrand403HttpError, type CreateBrand500HttpError, type CreateBrandFile400HttpError, type CreateBrandFile401HttpError, type CreateBrandFile403HttpError, type CreateBrandFile404HttpError, type CreateBrandFile500HttpError, type CreateBrandFileHttpError, type CreateBrandFileHttpResponse, type CreateBrandHttpError, type CreateBrandHttpResponse, type DeactivateBrand400HttpError, type DeactivateBrand401HttpError, type DeactivateBrand403HttpError, type DeactivateBrand404HttpError, type DeactivateBrand500HttpError, type DeactivateBrandHttpError, type DeactivateBrandHttpResponse, type DeleteBrand400HttpError, type DeleteBrand401HttpError, type DeleteBrand403HttpError, type DeleteBrand404HttpError, type DeleteBrand500HttpError, type DeleteBrandFile400HttpError, type DeleteBrandFile401HttpError, type DeleteBrandFile403HttpError, type DeleteBrandFile404HttpError, type DeleteBrandFile500HttpError, type DeleteBrandFileHttpError, type DeleteBrandFileHttpResponse, type DeleteBrandHttpError, type DeleteBrandHttpResponse, type ErrorResponse400, type ErrorResponse401, type ErrorResponse403, type ErrorResponse404, type ErrorResponse500, type GetActiveBrandHttpError, type GetActiveBrandHttpResponse, type GetBrand400HttpError, type GetBrand401HttpError, type GetBrand403HttpError, type GetBrand404HttpError, type GetBrand500HttpError, type GetBrandFile400HttpError, type GetBrandFile401HttpError, type GetBrandFile403HttpError, type GetBrandFile404HttpError, type GetBrandFile500HttpError, type GetBrandFileHttpError, type GetBrandFileHttpResponse, type GetBrandHttpError, type GetBrandHttpResponse, type GetBrands400HttpError, type GetBrands401HttpError, type GetBrands403HttpError, type GetBrands500HttpError, type GetBrandsHttpError, type GetBrandsHttpResponse, type Link, type NoActiveBrand, type PatchBrand400HttpError, type PatchBrand401HttpError, type PatchBrand403HttpError, type PatchBrand404HttpError, type PatchBrand500HttpError, type PatchBrandHttpError, type PatchBrandHttpResponse, type UpdateBrandFile400HttpError, type UpdateBrandFile401HttpError, type UpdateBrandFile403HttpError, type UpdateBrandFile404HttpError, type UpdateBrandFile500HttpError, type UpdateBrandFileHttpError, type UpdateBrandFileHttpResponse, activateBrand, clearCache, createBrand, createBrandFile, deactivateBrand, brandsExport as default, deleteBrand, deleteBrandFile, getActiveBrand, getBrand, getBrandFile, getBrands, patchBrand, updateBrandFile };