@wisemen/wise-crm-web 0.2.5 → 1.0.0

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.
Files changed (37) hide show
  1. package/dist/BusinessDetailSidebarProvider-Dm6Dd7Nq.js +2899 -0
  2. package/dist/{BusinessDetailView-BZpocob4.js → BusinessDetailView-BHVUfCpV.js} +5 -5
  3. package/dist/{CrmDetailHeaderCard-Jo2OteBb.js → CrmDetailHeaderCard-CiVLyIuw.js} +39 -39
  4. package/dist/{CrmDetailView-DKHX-JEl.js → CrmDetailView-DaAuWeiB.js} +14 -14
  5. package/dist/{DealCommunicationTabView-ClflVxHJ.js → DealCommunicationTabView-xq_zOAsr.js} +2 -2
  6. package/dist/{DealDetailView-ChAFvBBK.js → DealDetailView-C54XpYN1.js} +124 -124
  7. package/dist/{DealExternalAttachment-ClwtFzpQ.js → DealExternalAttachment-Dp44vkgt.js} +1 -1
  8. package/dist/{DealSendMailDialog-SWWyaxq8.js → DealSendMailDialog-D11Tgd_A.js} +50 -50
  9. package/dist/{Error-CX6APxDX.js → Error-X0deDY-N.js} +510 -8
  10. package/dist/{IndividualDetailSidebarProvider-BJgxw1Jd.js → IndividualDetailSidebarProvider-BvjhFng9.js} +218 -218
  11. package/dist/{IndividualDetailView-CvGUCWPY.js → IndividualDetailView-Cq8iAwQv.js} +5 -5
  12. package/dist/{client-CpsHjr8V.js → client-S6BLV3Ct.js} +7 -12
  13. package/dist/composables/crmConfig.composable.d.ts +1 -0
  14. package/dist/index.js +375 -375
  15. package/dist/kbo-client/client/client.gen.d.ts +2 -0
  16. package/dist/kbo-client/client/index.d.ts +8 -0
  17. package/dist/kbo-client/client/types.gen.d.ts +117 -0
  18. package/dist/kbo-client/client/utils.gen.d.ts +33 -0
  19. package/dist/kbo-client/client.gen.d.ts +12 -0
  20. package/dist/kbo-client/core/auth.gen.d.ts +18 -0
  21. package/dist/kbo-client/core/bodySerializer.gen.d.ts +25 -0
  22. package/dist/kbo-client/core/params.gen.d.ts +43 -0
  23. package/dist/kbo-client/core/pathSerializer.gen.d.ts +33 -0
  24. package/dist/kbo-client/core/queryKeySerializer.gen.d.ts +18 -0
  25. package/dist/kbo-client/core/serverSentEvents.gen.d.ts +71 -0
  26. package/dist/kbo-client/core/types.gen.d.ts +78 -0
  27. package/dist/kbo-client/core/utils.gen.d.ts +19 -0
  28. package/dist/kbo-client/index.d.ts +2 -0
  29. package/dist/kbo-client/sdk.gen.d.ts +72 -0
  30. package/dist/kbo-client/types.gen.d.ts +2089 -0
  31. package/dist/kbo-client/zod.gen.d.ts +5943 -0
  32. package/dist/libs/http.lib.d.ts +3 -1
  33. package/dist/libs/kboBaseUrl.lib.d.ts +1 -0
  34. package/dist/models/cbe/search/cbeEnterpriseSearchDto.model.d.ts +1 -1
  35. package/dist/testing.js +1 -1
  36. package/package.json +2 -1
  37. package/dist/BusinessDetailSidebarProvider-CXG99iHk.js +0 -2077
@@ -0,0 +1,2089 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'http://localhost:3000' | (string & {});
3
+ };
4
+ export declare enum Permission {
5
+ ALL_PERMISSIONS = "all_permissions",
6
+ CONTACT_CREATE = "contact.create",
7
+ CONTACT_READ = "contact.read",
8
+ CONTACT_UPDATE = "contact.update",
9
+ CONTACT_DELETE = "contact.delete",
10
+ EVENT_LOG_READ = "event-log.read",
11
+ FILE_READ = "file.read",
12
+ FILE_CREATE = "file.create",
13
+ FILE_DELETE = "file.delete",
14
+ JOBS_READ_INDEX = "jobs.read.index",
15
+ JOBS_READ_DETAIL = "jobs.read.detail",
16
+ NOTIFICATION_READ_OWN = "notification.read.own",
17
+ NOTIFICATION_READ_CONFIG = "notification.read.config",
18
+ NOTIFICATION_UPDATE_READ = "notification.update.read",
19
+ NOTIFICATION_UPDATE_UNREAD = "notification.update.unread",
20
+ NOTIFICATION_PREFERENCES_UPDATE_CHANNEL = "notification.preferences.update.channel",
21
+ NOTIFICATION_PREFERENCES_UPDATE_PRESET = "notification.preferences.update.preset",
22
+ NOTIFICATION_PREFERENCES_UPDATE_TYPES = "notification.preferences.update.types",
23
+ NOTIFICATION_PREFERENCES_READ_OWN = "notification.preferences.read.own",
24
+ NOTIFICATION_MIGRATE_TYPE = "notification.migrate-type",
25
+ NOTIFICATION_SEND_TEST = "notification.send-test",
26
+ ROLE_READ = "role.read",
27
+ ROLE_CREATE = "role.create",
28
+ ROLE_UPDATE = "role.update",
29
+ ROLE_DELETE = "role.delete",
30
+ ROLE_CACHE_CLEAR = "role.cache.clear",
31
+ SEND_PUSH_NOTIFICATION = "send_push_notification",
32
+ TYPESENSE = "typesense",
33
+ USER_READ = "user.read",
34
+ USER_CREATE = "user.create",
35
+ USER_UPDATE = "user.update",
36
+ USER_DELETE = "user.delete",
37
+ TENANT_CREATE = "tenant.create",
38
+ TENANT_READ_INDEX = "tenant.read_index",
39
+ TENANT_READ_DETAIL = "tenant.read_detail",
40
+ TENANT_UPDATE = "tenant.update",
41
+ CBE_SEARCH = "cbe.search"
42
+ }
43
+ export type ViewPermissionIndexPermissionResponse = {
44
+ name: string;
45
+ key: Permission;
46
+ description: string;
47
+ };
48
+ export type ViewPermissionIndexGroupResponse = {
49
+ name: string;
50
+ permissions: Array<ViewPermissionIndexPermissionResponse>;
51
+ };
52
+ export type ViewPermissionIndexResponse = {
53
+ groups: Array<ViewPermissionIndexGroupResponse>;
54
+ };
55
+ export type CreateTenantCommand = {
56
+ name: string;
57
+ slug: string;
58
+ domain: string;
59
+ oidcIssuer: string;
60
+ oidcClientId: string;
61
+ };
62
+ export type CreateTenantResponse = {
63
+ uuid: string;
64
+ name: string;
65
+ slug: string;
66
+ oidcIssuer: string;
67
+ oidcClientId: string;
68
+ };
69
+ export type UpdateTenantCommand = {
70
+ name: string;
71
+ slug: string;
72
+ domain: string | null;
73
+ oidcIssuer?: string;
74
+ oidcClientId?: string;
75
+ };
76
+ export type ViewTenantDetailResponse = {
77
+ uuid: string;
78
+ createdAt: string;
79
+ updatedAt: string;
80
+ name: string;
81
+ slug: string;
82
+ domain: string | null;
83
+ };
84
+ export type PaginatedOffsetQuery = {
85
+ limit: number;
86
+ offset: number;
87
+ };
88
+ export type TenantResponse = {
89
+ uuid: string;
90
+ createdAt: string;
91
+ updatedAt: string;
92
+ name: string;
93
+ slug: string;
94
+ domain: string | null;
95
+ };
96
+ export type PaginatedOffsetResponseMeta = {
97
+ /**
98
+ * the total amount of items that exist
99
+ */
100
+ total: number;
101
+ /**
102
+ * the amount of items skipped
103
+ */
104
+ offset: number;
105
+ /**
106
+ * the amount of items per response
107
+ */
108
+ limit: number;
109
+ };
110
+ export type ViewTenantIndexResponse = {
111
+ /**
112
+ * The items for the current page
113
+ */
114
+ items: Array<TenantResponse>;
115
+ meta: PaginatedOffsetResponseMeta;
116
+ };
117
+ export type GetApiInfoResponse = {
118
+ environment: string;
119
+ /**
120
+ * Commit SHA of the current build
121
+ */
122
+ commit: string;
123
+ /**
124
+ * Version of the current build
125
+ */
126
+ version: string;
127
+ /**
128
+ * Timestamp of the current build
129
+ */
130
+ timestamp: string;
131
+ };
132
+ export declare enum TypesenseCollectionName {
133
+ USER = "user",
134
+ CONTACT = "contact",
135
+ CBE_ENTERPRISE = "cbe_enterprise",
136
+ CBE_ESTABLISHMENT = "cbe_establishment"
137
+ }
138
+ export type ViewCollectionIndexResponse = {
139
+ collections: Array<'user' | 'contact' | 'cbe_enterprise' | 'cbe_establishment'>;
140
+ };
141
+ export type UserNotFoundError = {
142
+ /**
143
+ * a human-readable explanation specific to this occurrence of the problem
144
+ */
145
+ detail?: string;
146
+ status: '404';
147
+ code: 'user_not_found';
148
+ };
149
+ export type SetUserRolesCommand = {
150
+ roleUuids: Array<string>;
151
+ };
152
+ export type ViewRoleDetailResponse = {
153
+ uuid: string;
154
+ createdAt: string;
155
+ updatedAt: string;
156
+ name: string;
157
+ permissions: Array<Permission>;
158
+ isDefault: boolean;
159
+ isSystemAdmin: boolean;
160
+ };
161
+ export type ViewMeResponse = {
162
+ uuid: string;
163
+ email: string | null;
164
+ firstName: string | null;
165
+ lastName: string | null;
166
+ tenantUuid: string | null;
167
+ roles: Array<ViewRoleDetailResponse>;
168
+ };
169
+ export type ViewUserDetailResponse = {
170
+ uuid: string;
171
+ email: string | null;
172
+ firstName: string | null;
173
+ lastName: string | null;
174
+ tenantUuid: string | null;
175
+ roles: Array<ViewRoleDetailResponse>;
176
+ };
177
+ export type UserIndexRoleView = {
178
+ uuid: string;
179
+ name: string;
180
+ };
181
+ export type UserIndexView = {
182
+ uuid: string;
183
+ email: string | null;
184
+ firstName: string | null;
185
+ lastName: string | null;
186
+ roles: Array<UserIndexRoleView>;
187
+ };
188
+ export type ViewUserIndexResponse = {
189
+ /**
190
+ * The items for the current page
191
+ */
192
+ items: Array<UserIndexView>;
193
+ meta: PaginatedOffsetResponseMeta;
194
+ };
195
+ export type CreateRoleCommand = {
196
+ /**
197
+ * The name of the role
198
+ */
199
+ name: string;
200
+ };
201
+ export type CreateRoleResponse = {
202
+ uuid: string;
203
+ };
204
+ export type ClearRolePermissionsCacheCommand = {
205
+ /**
206
+ * clears the cache for all roles when omitted or null
207
+ */
208
+ roleUuids?: Array<string> | null;
209
+ };
210
+ export type RoleNotFoundError = {
211
+ /**
212
+ * a human-readable explanation specific to this occurrence of the problem
213
+ */
214
+ detail?: string;
215
+ status: '404';
216
+ code: 'role_not_found';
217
+ };
218
+ export type UpdateRoleCommand = {
219
+ /**
220
+ * The name of the role
221
+ */
222
+ name: string;
223
+ };
224
+ export type RoleResponse = {
225
+ uuid: string;
226
+ createdAt: string;
227
+ updatedAt: string;
228
+ name: string;
229
+ permissions: Array<Permission>;
230
+ isDefault: boolean;
231
+ isSystemAdmin: boolean;
232
+ };
233
+ export type ViewRoleIndexResponse = {
234
+ items: Array<RoleResponse>;
235
+ };
236
+ export type UpdateRolesPermissionsCommandItem = {
237
+ roleUuid: string;
238
+ permissions: Array<Permission>;
239
+ };
240
+ export type UpdateRolesPermissionsCommand = {
241
+ roles: Array<UpdateRolesPermissionsCommandItem>;
242
+ };
243
+ export declare enum MimeType {
244
+ APPLICATION_PDF = "application/pdf",
245
+ APPLICATION_MSWORD = "application/msword",
246
+ APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
247
+ APPLICATION_VND_MS_POWERPOINT = "application/vnd.ms-powerpoint",
248
+ APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
249
+ TEXT_PLAIN = "text/plain",
250
+ TEXT_HTML = "text/html",
251
+ TEXT_CSV = "text/csv",
252
+ IMAGE_JPEG = "image/jpeg",
253
+ IMAGE_PNG = "image/png",
254
+ IMAGE_TIFF = "image/tiff",
255
+ IMAGE_BMP = "image/bmp",
256
+ IMAGE_HEIC = "image/heic",
257
+ IMAGE_WEBP = "image/webp",
258
+ IMAGE_GIF = "image/gif",
259
+ APPLICATION_OCTET_STREAM = "application/octet-stream"
260
+ }
261
+ export type CreateFileCommand = {
262
+ name: string;
263
+ mimeType: MimeType;
264
+ isPublic?: boolean;
265
+ };
266
+ export type CreateFileResponse = {
267
+ uuid: string;
268
+ name: string;
269
+ mimeType: MimeType | null;
270
+ uploadUrl: string;
271
+ };
272
+ export type FileNotFoundError = {
273
+ /**
274
+ * a human-readable explanation specific to this occurrence of the problem
275
+ */
276
+ detail?: string;
277
+ status: '404';
278
+ code: 'file_not_found';
279
+ };
280
+ export type ConfirmFileUploadCommand = {
281
+ blurHash: string | null;
282
+ };
283
+ export type CoordinatesCommand = {
284
+ longitude: number;
285
+ latitude: number;
286
+ };
287
+ export type AddressCommand = {
288
+ placeName: string | null;
289
+ placeId: string | null;
290
+ country: string | null;
291
+ city: string | null;
292
+ postalCode: string | null;
293
+ streetName: string | null;
294
+ streetNumber: string | null;
295
+ unit: string | null;
296
+ coordinates: CoordinatesCommand | null;
297
+ };
298
+ /**
299
+ * a ISO 4217 currency code
300
+ */
301
+ export declare enum Currency {
302
+ AFN = "AFN",
303
+ EUR = "EUR",
304
+ ALL = "ALL",
305
+ DZD = "DZD",
306
+ USD = "USD",
307
+ AOA = "AOA",
308
+ XCD = "XCD",
309
+ ARS = "ARS",
310
+ AMD = "AMD",
311
+ AWG = "AWG",
312
+ AUD = "AUD",
313
+ AZN = "AZN",
314
+ BSD = "BSD",
315
+ BHD = "BHD",
316
+ BDT = "BDT",
317
+ BBD = "BBD",
318
+ BYN = "BYN",
319
+ BZD = "BZD",
320
+ XOF = "XOF",
321
+ BMD = "BMD",
322
+ INR = "INR",
323
+ BTN = "BTN",
324
+ BOB = "BOB",
325
+ BOV = "BOV",
326
+ BAM = "BAM",
327
+ BWP = "BWP",
328
+ NOK = "NOK",
329
+ BRL = "BRL",
330
+ BND = "BND",
331
+ BGN = "BGN",
332
+ BIF = "BIF",
333
+ CVE = "CVE",
334
+ KHR = "KHR",
335
+ XAF = "XAF",
336
+ CAD = "CAD",
337
+ KYD = "KYD",
338
+ CLP = "CLP",
339
+ CLF = "CLF",
340
+ CNY = "CNY",
341
+ COP = "COP",
342
+ COU = "COU",
343
+ KMF = "KMF",
344
+ CDF = "CDF",
345
+ NZD = "NZD",
346
+ CRC = "CRC",
347
+ CUP = "CUP",
348
+ ANG = "ANG",
349
+ CZK = "CZK",
350
+ DKK = "DKK",
351
+ DJF = "DJF",
352
+ DOP = "DOP",
353
+ EGP = "EGP",
354
+ SVC = "SVC",
355
+ ERN = "ERN",
356
+ SZL = "SZL",
357
+ ETB = "ETB",
358
+ FKP = "FKP",
359
+ FJD = "FJD",
360
+ XPF = "XPF",
361
+ GMD = "GMD",
362
+ GEL = "GEL",
363
+ GHS = "GHS",
364
+ GIP = "GIP",
365
+ GTQ = "GTQ",
366
+ GBP = "GBP",
367
+ GNF = "GNF",
368
+ GYD = "GYD",
369
+ HTG = "HTG",
370
+ HNL = "HNL",
371
+ HKD = "HKD",
372
+ HUF = "HUF",
373
+ ISK = "ISK",
374
+ IDR = "IDR",
375
+ XDR = "XDR",
376
+ IRR = "IRR",
377
+ IQD = "IQD",
378
+ ILS = "ILS",
379
+ JMD = "JMD",
380
+ JPY = "JPY",
381
+ JOD = "JOD",
382
+ KZT = "KZT",
383
+ KES = "KES",
384
+ KPW = "KPW",
385
+ KRW = "KRW",
386
+ KWD = "KWD",
387
+ KGS = "KGS",
388
+ LAK = "LAK",
389
+ LBP = "LBP",
390
+ LSL = "LSL",
391
+ ZAR = "ZAR",
392
+ LRD = "LRD",
393
+ LYD = "LYD",
394
+ CHF = "CHF",
395
+ MOP = "MOP",
396
+ MKD = "MKD",
397
+ MGA = "MGA",
398
+ MWK = "MWK",
399
+ MYR = "MYR",
400
+ MVR = "MVR",
401
+ MRU = "MRU",
402
+ MUR = "MUR",
403
+ XUA = "XUA",
404
+ MXN = "MXN",
405
+ MXV = "MXV",
406
+ MDL = "MDL",
407
+ MNT = "MNT",
408
+ MAD = "MAD",
409
+ MZN = "MZN",
410
+ MMK = "MMK",
411
+ NAD = "NAD",
412
+ NPR = "NPR",
413
+ NIO = "NIO",
414
+ NGN = "NGN",
415
+ OMR = "OMR",
416
+ PKR = "PKR",
417
+ PAB = "PAB",
418
+ PGK = "PGK",
419
+ PYG = "PYG",
420
+ PEN = "PEN",
421
+ PHP = "PHP",
422
+ PLN = "PLN",
423
+ QAR = "QAR",
424
+ RON = "RON",
425
+ RUB = "RUB",
426
+ RWF = "RWF",
427
+ SHP = "SHP",
428
+ WST = "WST",
429
+ STN = "STN",
430
+ SAR = "SAR",
431
+ RSD = "RSD",
432
+ SCR = "SCR",
433
+ SLE = "SLE",
434
+ SGD = "SGD",
435
+ XSU = "XSU",
436
+ SBD = "SBD",
437
+ SOS = "SOS",
438
+ SSP = "SSP",
439
+ LKR = "LKR",
440
+ SDG = "SDG",
441
+ SRD = "SRD",
442
+ SEK = "SEK",
443
+ CHE = "CHE",
444
+ CHW = "CHW",
445
+ SYP = "SYP",
446
+ TWD = "TWD",
447
+ TJS = "TJS",
448
+ TZS = "TZS",
449
+ THB = "THB",
450
+ TOP = "TOP",
451
+ TTD = "TTD",
452
+ TND = "TND",
453
+ TRY = "TRY",
454
+ TMT = "TMT",
455
+ UGX = "UGX",
456
+ UAH = "UAH",
457
+ AED = "AED",
458
+ USN = "USN",
459
+ UYU = "UYU",
460
+ UYI = "UYI",
461
+ UYW = "UYW",
462
+ UZS = "UZS",
463
+ VUV = "VUV",
464
+ VES = "VES",
465
+ VED = "VED",
466
+ VND = "VND",
467
+ YER = "YER",
468
+ ZMW = "ZMW",
469
+ ZWG = "ZWG",
470
+ XBA = "XBA",
471
+ XBB = "XBB",
472
+ XBC = "XBC",
473
+ XBD = "XBD",
474
+ XTS = "XTS",
475
+ XXX = "XXX",
476
+ XAU = "XAU",
477
+ XPD = "XPD",
478
+ XPT = "XPT",
479
+ XAG = "XAG"
480
+ }
481
+ export type MonetaryDto = {
482
+ amount: number;
483
+ /**
484
+ * a ISO 4217 currency code
485
+ */
486
+ currency: Currency;
487
+ precision: number;
488
+ };
489
+ export type CreateContactCommand = {
490
+ firstName: string | null;
491
+ lastName: string | null;
492
+ email: string | null;
493
+ phone: string | null;
494
+ address: AddressCommand | null;
495
+ fileUuid: string | null;
496
+ avatarUuid: string | null;
497
+ discount: MonetaryDto | null;
498
+ balance: MonetaryDto | null;
499
+ birthDate: string | null;
500
+ };
501
+ export type CreateContactResponse = {
502
+ uuid: string;
503
+ };
504
+ export type ContactNotFoundError = {
505
+ /**
506
+ * a human-readable explanation specific to this occurrence of the problem
507
+ */
508
+ detail?: string;
509
+ status: '404';
510
+ code: 'contact_not_found';
511
+ };
512
+ export type UpdateContactCommand = {
513
+ firstName: string | null;
514
+ lastName: string | null;
515
+ email: string | null;
516
+ phone: string | null;
517
+ isActive: boolean;
518
+ address: AddressCommand | null;
519
+ fileUuid: string | null;
520
+ avatarUuid: string | null;
521
+ discount: MonetaryDto | null;
522
+ balance: MonetaryDto | null;
523
+ birthDate: string | null;
524
+ };
525
+ export type CoordinatesResponse = {
526
+ longitude: number;
527
+ latitude: number;
528
+ };
529
+ export type AddressResponse = {
530
+ placeName: string | null;
531
+ placeId: string | null;
532
+ country: string | null;
533
+ city: string | null;
534
+ postalCode: string | null;
535
+ streetName: string | null;
536
+ streetNumber: string | null;
537
+ unit: string | null;
538
+ coordinates: CoordinatesResponse | null;
539
+ };
540
+ export type FileResponse = {
541
+ uuid: string;
542
+ name: string;
543
+ mimeType: MimeType;
544
+ blurHash: string | null;
545
+ };
546
+ export type PresignedFileVariantResponse = {
547
+ label: string;
548
+ url: string;
549
+ };
550
+ export type PresignedFileResponse = {
551
+ uuid: string;
552
+ name: string;
553
+ mimeType: MimeType | null;
554
+ url: string;
555
+ blurHash: string | null;
556
+ variants: Array<PresignedFileVariantResponse>;
557
+ };
558
+ export type ViewContactDetailResponse = {
559
+ uuid: string;
560
+ createdAt: string;
561
+ updatedAt: string;
562
+ isActive: boolean;
563
+ firstName: string | null;
564
+ lastName: string | null;
565
+ email: string | null;
566
+ phone: string | null;
567
+ address: AddressResponse | null;
568
+ file: FileResponse | null;
569
+ avatar: PresignedFileResponse | null;
570
+ discount: MonetaryDto | null;
571
+ balance: MonetaryDto | null;
572
+ birthDate: string | null;
573
+ };
574
+ export declare enum ViewContactIndexSortQueryKey {
575
+ NAME = "name"
576
+ }
577
+ export declare enum SortDirection {
578
+ ASC = "asc",
579
+ DESC = "desc"
580
+ }
581
+ export type ViewContactIndexSortQuery = {
582
+ key: ViewContactIndexSortQueryKey;
583
+ order: SortDirection;
584
+ };
585
+ export type ViewContactIndexFilterQuery = {
586
+ isActive?: string;
587
+ };
588
+ export type ContactResponse = {
589
+ uuid: string;
590
+ isActive: boolean;
591
+ name: string;
592
+ email: string | null;
593
+ phone: string | null;
594
+ address: AddressResponse | null;
595
+ };
596
+ export type ViewContactIndexResponse = {
597
+ /**
598
+ * The items for the current page
599
+ */
600
+ items: Array<ContactResponse>;
601
+ meta: PaginatedOffsetResponseMeta;
602
+ };
603
+ export declare enum UiTheme {
604
+ LIGHT = "light",
605
+ DARK = "dark",
606
+ SYSTEM = "system"
607
+ }
608
+ export declare enum Locale {
609
+ EN_US = "en-US",
610
+ NL_BE = "nl-BE",
611
+ FR_BE = "fr-BE"
612
+ }
613
+ export declare enum FontSize {
614
+ SMALLER = "smaller",
615
+ SMALL = "small",
616
+ DEFAULT = "default",
617
+ LARGE = "large",
618
+ LARGER = "larger"
619
+ }
620
+ export type UpdateUiPreferencesCommand = {
621
+ theme?: UiTheme;
622
+ language?: Locale;
623
+ fontSize?: FontSize;
624
+ showShortcuts?: boolean;
625
+ reduceMotion?: boolean;
626
+ highContrast?: boolean;
627
+ };
628
+ export type ViewUiPreferencesResponse = {
629
+ theme: UiTheme;
630
+ language: Locale;
631
+ fontSize: FontSize;
632
+ showShortcuts: boolean;
633
+ reduceMotion: boolean;
634
+ highContrast: boolean;
635
+ };
636
+ export type CreateOneSignalTokenResponse = {
637
+ token: string;
638
+ userUuid: string;
639
+ };
640
+ export type Translations = {
641
+ nl?: string;
642
+ en?: string;
643
+ };
644
+ export type SendPushNotificationCommand = {
645
+ name: string;
646
+ title: Translations;
647
+ description: Translations;
648
+ userUuids: Array<string>;
649
+ };
650
+ export declare enum SubjectType {
651
+ CONTACT = "contact",
652
+ FILE = "file",
653
+ ROLE = "role",
654
+ USER = "user",
655
+ TENANT = "tenant"
656
+ }
657
+ export type ViewDomainEventLogIndexFilterQuery = {
658
+ subjectType?: SubjectType;
659
+ subjectId?: string;
660
+ userUuid?: string;
661
+ };
662
+ export type ViewDomainEventLogIndexQueryKey = {
663
+ createdAt: string;
664
+ uuid: string;
665
+ };
666
+ export type ViewDomainEventLogIndexPaginationQuery = {
667
+ limit: number;
668
+ key?: ViewDomainEventLogIndexQueryKey | null;
669
+ };
670
+ export declare enum DomainEventType {
671
+ CONTACT_CREATED = "contact.created",
672
+ CONTACT_UPDATED = "contact.updated",
673
+ CONTACT_DELETED = "contact.deleted",
674
+ FILE_CREATED = "file.created",
675
+ FILE_UPLOADED = "file.uploaded",
676
+ NOTIFICATION_CREATED = "notification.created",
677
+ NOTIFICATION_READ = "notification.read",
678
+ NOTIFICATION_READ_ALL = "notification.read.all",
679
+ NOTIFICATION_UNREAD = "notification.unread",
680
+ NOTIFICATION_TYPES_MIGRATED = "notification.types.migrated",
681
+ NOTIFICATION_PREFERENCE_PRESET_UPDATED = "notification.preference.preset.updated",
682
+ ROLE_CREATED = "role.created",
683
+ ROLE_DELETED = "role.deleted",
684
+ ROLE_RENAMED = "role.renamed",
685
+ ROLE_PERMISSIONS_UPDATED = "role.permissions.updated",
686
+ ROLE_PERMISSIONS_CACHE_CLEARED = "role.permissions.cache.cleared",
687
+ TEST_NOTIFICATION_SENT = "test-notification.sent",
688
+ USER_CREATED = "user.created",
689
+ USER_UPDATED = "user.updated",
690
+ USER_ROLE_ASSIGNED = "user.role-assigned",
691
+ USER_ROLES_SET = "user.roles-set",
692
+ USER_NOTIFICATION_CREATED = "user.notification.created",
693
+ USER_DEFAULT_NOTIFICATION_PREFERENCES_ASSIGNED = "user.default-notification-preferences.assigned",
694
+ TENANT_CREATED = "tenant.created",
695
+ TENANT_UPDATED = "tenant.updated"
696
+ }
697
+ export type ViewDomainEventLogIndexItemResponse = {
698
+ uuid: string;
699
+ createdAt: string;
700
+ version: number;
701
+ source: string;
702
+ userUuid: string | null;
703
+ message: string;
704
+ type: DomainEventType;
705
+ subjectType: SubjectType | null;
706
+ subjectId: string | null;
707
+ content: {
708
+ [key: string]: unknown;
709
+ };
710
+ };
711
+ export type ViewDomainEventLogIndexResponseMeta = {
712
+ next: ViewDomainEventLogIndexQueryKey | null;
713
+ };
714
+ export type ViewDomainEventLogIndexResponse = {
715
+ items: Array<ViewDomainEventLogIndexItemResponse>;
716
+ meta: ViewDomainEventLogIndexResponseMeta;
717
+ };
718
+ export declare enum GlobalSearchCollectionName {
719
+ USER = "user",
720
+ CONTACT = "contact"
721
+ }
722
+ export type SearchCollectionsFilterContactQuery = {
723
+ isActive?: boolean;
724
+ };
725
+ export type SearchCollectionsFilterQuery = {
726
+ collections?: Array<GlobalSearchCollectionName>;
727
+ contact?: SearchCollectionsFilterContactQuery;
728
+ };
729
+ export type SearchCollectionsQueryKey = {
730
+ offset: number;
731
+ };
732
+ export type SearchCollectionPaginationQuery = {
733
+ key?: SearchCollectionsQueryKey;
734
+ };
735
+ export type SearchCollectionUserResponse = {
736
+ uuid: string;
737
+ name: string;
738
+ email: {
739
+ [key: string]: unknown;
740
+ } | null;
741
+ };
742
+ export type SearchCollectionContactResponse = {
743
+ uuid: string;
744
+ isActive: boolean;
745
+ name: string;
746
+ email: string | null;
747
+ phone: string | null;
748
+ address: AddressResponse | null;
749
+ };
750
+ export type SearchCollectionsResponseItem = {
751
+ collection: GlobalSearchCollectionName;
752
+ entity: SearchCollectionUserResponse | SearchCollectionContactResponse;
753
+ text_match: number;
754
+ };
755
+ export type SearchCollectionsMetaResponse = {
756
+ next: SearchCollectionsQueryKey | null;
757
+ };
758
+ export type SearchCollectionsResponse = {
759
+ items: Array<SearchCollectionsResponseItem>;
760
+ meta: SearchCollectionsMetaResponse;
761
+ };
762
+ export declare enum NotificationPreset {
763
+ ALL = "all",
764
+ DEFAULT = "default",
765
+ CUSTOM = "custom",
766
+ NONE = "none"
767
+ }
768
+ export declare enum NotificationType {
769
+ USER_CREATED = "user.created",
770
+ SYSTEM_TEST_NOTIFICATION = "system.test-notification"
771
+ }
772
+ export type PreferenceTypes = {
773
+ email: Array<NotificationType>;
774
+ sms: Array<NotificationType>;
775
+ app: Array<NotificationType>;
776
+ push: Array<NotificationType>;
777
+ };
778
+ export type GetMyNotificationPreferencesResponse = {
779
+ preset: NotificationPreset;
780
+ emailEnabled: boolean;
781
+ smsEnabled: boolean;
782
+ appEnabled: boolean;
783
+ pushEnabled: boolean;
784
+ preferences: PreferenceTypes;
785
+ };
786
+ export declare enum NotificationChannel {
787
+ EMAIL = "email",
788
+ SMS = "sms",
789
+ APP = "app",
790
+ PUSH = "push"
791
+ }
792
+ export type NotificationTypeChannelConfig = {
793
+ channel: NotificationChannel;
794
+ defaultValue: boolean;
795
+ isSupported: boolean;
796
+ };
797
+ export type ViewNotificationTypeConfigTypeResponse = {
798
+ key: NotificationType;
799
+ description: string;
800
+ channelConfigs: Array<NotificationTypeChannelConfig>;
801
+ };
802
+ export type ViewNotificationTypesConfigGroupResponse = {
803
+ name: string;
804
+ description: string;
805
+ types: Array<ViewNotificationTypeConfigTypeResponse>;
806
+ };
807
+ export type GetNotificationTypesConfigResponse = {
808
+ groups: Array<ViewNotificationTypesConfigGroupResponse>;
809
+ };
810
+ export type UpdateMyChannelNotificationPreferenceCommand = {
811
+ channel: NotificationChannel;
812
+ isEnabled: boolean;
813
+ };
814
+ export type SendTestNotificationCommand = {
815
+ message: string;
816
+ };
817
+ export type GetMyNotificationsFilterQuery = {
818
+ onlyUnread?: string;
819
+ };
820
+ export type GetMyNotificationsQueryKey = {
821
+ createdAt: string;
822
+ notificationUuid: string;
823
+ };
824
+ export type GetMyNotificationsPaginationQuery = {
825
+ limit: number;
826
+ key?: GetMyNotificationsQueryKey | null;
827
+ };
828
+ export type CreatedByUserResponse = {
829
+ uuid: string;
830
+ name: string;
831
+ };
832
+ export type TestNotificationContent = {
833
+ message: string;
834
+ };
835
+ export type SystemTestNotificationNotification = {
836
+ createdAt: string;
837
+ readAt: string | null;
838
+ notificationUuid: string;
839
+ createdByUser: CreatedByUserResponse | null;
840
+ message: string;
841
+ type: 'system.test-notification';
842
+ meta: TestNotificationContent;
843
+ };
844
+ export type GetMyNotificationsResponseMeta = {
845
+ next: GetMyNotificationsQueryKey | null;
846
+ };
847
+ export type GetMyNotificationsResponse = {
848
+ items: Array<SystemTestNotificationNotification>;
849
+ meta: GetMyNotificationsResponseMeta;
850
+ };
851
+ export type ViewUnreadNotificationsCountResponse = {
852
+ amount: number;
853
+ exceedsLimit: boolean;
854
+ };
855
+ export type UserNotificationNotFoundError = {
856
+ /**
857
+ * a human-readable explanation specific to this occurrence of the problem
858
+ */
859
+ detail?: string;
860
+ status: '404';
861
+ code: 'user_notification_not_found';
862
+ };
863
+ export type UpdateMyNotificationTypePreferenceCommand = {
864
+ channel: NotificationChannel;
865
+ isEnabled: boolean;
866
+ types: Array<NotificationType>;
867
+ };
868
+ export type UpdateMyNotificationPreferencePresetCommand = {
869
+ preset: NotificationPreset;
870
+ };
871
+ export type MigrationAlreadyPerformedErrorMeta = {
872
+ type: Array<NotificationType>;
873
+ };
874
+ export type MigrationAlreadyPerformedError = {
875
+ /**
876
+ * a human-readable explanation specific to this occurrence of the problem
877
+ */
878
+ detail?: string;
879
+ status: '400';
880
+ code: 'migration_already_performed';
881
+ /**
882
+ * a meta object containing non-standard meta-information about the error
883
+ */
884
+ meta: MigrationAlreadyPerformedErrorMeta;
885
+ };
886
+ export type MigrateNotificationTypesCommand = {
887
+ types: Array<NotificationType>;
888
+ };
889
+ export declare enum ViewJobsIndexSortQueryKey {
890
+ CREATED_AT = "createdAt"
891
+ }
892
+ export type ViewJobsIndexSortQuery = {
893
+ key: ViewJobsIndexSortQueryKey;
894
+ order: SortDirection;
895
+ };
896
+ export declare enum QueueName {
897
+ SYSTEM = "system"
898
+ }
899
+ export type ViewJobsIndexFilterQuery = {
900
+ queueNames?: Array<QueueName>;
901
+ };
902
+ export type ViewJobsIndexQueryKey = {
903
+ createdAt?: string;
904
+ id: string;
905
+ };
906
+ export type ViewJobsIndexPaginationQuery = {
907
+ limit: number;
908
+ key?: ViewJobsIndexQueryKey | null;
909
+ };
910
+ export declare enum JobStatus {
911
+ CREATED = "created",
912
+ ACTIVE = "active",
913
+ COMPLETED = "completed",
914
+ RETRY = "retry",
915
+ FAILED = "failed",
916
+ CANCELLED = "cancelled"
917
+ }
918
+ export type ViewJobsIndexItemResponse = {
919
+ queueName: QueueName;
920
+ id: string;
921
+ name: string;
922
+ status: JobStatus;
923
+ createdAt: string;
924
+ completedAt: string | null;
925
+ };
926
+ export type ViewJobsIndexResponseMeta = {
927
+ next: ViewJobsIndexQueryKey | null;
928
+ };
929
+ export type ViewJobsIndexResponse = {
930
+ items: Array<ViewJobsIndexItemResponse>;
931
+ meta: ViewJobsIndexResponseMeta;
932
+ };
933
+ export type JobNotFoundError = {
934
+ /**
935
+ * a human-readable explanation specific to this occurrence of the problem
936
+ */
937
+ detail?: string;
938
+ status: '404';
939
+ code: 'job_not_found';
940
+ };
941
+ export type ViewJobDetailResponse = {
942
+ id: string;
943
+ queueName: QueueName;
944
+ priority: number;
945
+ name: string;
946
+ data: {
947
+ [key: string]: unknown;
948
+ };
949
+ status: JobStatus;
950
+ retryLimit: number;
951
+ retryCount: number;
952
+ retryDelay: number;
953
+ retryBackoff: boolean;
954
+ startAfter: string;
955
+ startedAt: string | null;
956
+ singletonKey: string | null;
957
+ singletonOn: string | null;
958
+ expireIn: {
959
+ [key: string]: unknown;
960
+ };
961
+ createdAt: string;
962
+ completedAt: string | null;
963
+ keepUntil: string;
964
+ output: {
965
+ [key: string]: unknown;
966
+ } | null;
967
+ deadLetter: string | null;
968
+ policy: string | null;
969
+ };
970
+ export declare enum CbeEnterpriseStatus {
971
+ ACTIVE = "active",
972
+ INACTIVE = "inactive"
973
+ }
974
+ export type SearchCbeEnterprisesView = {
975
+ enterpriseNumber: string;
976
+ status: CbeEnterpriseStatus;
977
+ startDate: string | null;
978
+ name: string | null;
979
+ abbreviation: string | null;
980
+ phone: string | null;
981
+ fax: string | null;
982
+ email: string | null;
983
+ website: string | null;
984
+ address: AddressResponse | null;
985
+ };
986
+ export type SearchCbeEnterprisesResponse = {
987
+ /**
988
+ * The items for the current page
989
+ */
990
+ items: Array<SearchCbeEnterprisesView>;
991
+ meta: PaginatedOffsetResponseMeta;
992
+ };
993
+ export type SearchCbeEstablishmentsFilterQuery = {
994
+ enterpriseNumber?: string;
995
+ };
996
+ export type SearchCbeEstablishmentsView = {
997
+ establishmentNumber: string;
998
+ enterpriseNumber: string;
999
+ startDate: string | null;
1000
+ commercialName: string | null;
1001
+ address: AddressResponse | null;
1002
+ };
1003
+ export type SearchCbeEstablishmentResponse = {
1004
+ /**
1005
+ * The items for the current page
1006
+ */
1007
+ items: Array<Array<unknown>>;
1008
+ meta: PaginatedOffsetResponseMeta;
1009
+ results: Array<SearchCbeEstablishmentsView>;
1010
+ };
1011
+ export type InternalServerApiError = {
1012
+ /**
1013
+ * a human-readable explanation specific to this occurrence of the problem
1014
+ */
1015
+ detail?: string;
1016
+ status: '500';
1017
+ code: 'internal_server_error';
1018
+ };
1019
+ export type ViewPermissionIndexV1Data = {
1020
+ body?: never;
1021
+ path?: never;
1022
+ query?: never;
1023
+ url: '/api/v1/permissions';
1024
+ };
1025
+ export type ViewPermissionIndexV1Errors = {
1026
+ 500: {
1027
+ traceId?: string | null;
1028
+ errors?: Array<InternalServerApiError>;
1029
+ };
1030
+ };
1031
+ export type ViewPermissionIndexV1Error = ViewPermissionIndexV1Errors[keyof ViewPermissionIndexV1Errors];
1032
+ export type ViewPermissionIndexV1Responses = {
1033
+ 200: ViewPermissionIndexResponse;
1034
+ };
1035
+ export type ViewPermissionIndexV1Response = ViewPermissionIndexV1Responses[keyof ViewPermissionIndexV1Responses];
1036
+ export type ViewTenantIndexV1Data = {
1037
+ body?: never;
1038
+ path?: never;
1039
+ query?: {
1040
+ pagination?: PaginatedOffsetQuery;
1041
+ search?: string;
1042
+ };
1043
+ url: '/api/v1/tenants';
1044
+ };
1045
+ export type ViewTenantIndexV1Errors = {
1046
+ 500: {
1047
+ traceId?: string | null;
1048
+ errors?: Array<InternalServerApiError>;
1049
+ };
1050
+ };
1051
+ export type ViewTenantIndexV1Error = ViewTenantIndexV1Errors[keyof ViewTenantIndexV1Errors];
1052
+ export type ViewTenantIndexV1Responses = {
1053
+ 200: ViewTenantIndexResponse;
1054
+ };
1055
+ export type ViewTenantIndexV1Response = ViewTenantIndexV1Responses[keyof ViewTenantIndexV1Responses];
1056
+ export type CreateTenantV1Data = {
1057
+ body: CreateTenantCommand;
1058
+ path?: never;
1059
+ query?: never;
1060
+ url: '/api/v1/tenants';
1061
+ };
1062
+ export type CreateTenantV1Errors = {
1063
+ 500: {
1064
+ traceId?: string | null;
1065
+ errors?: Array<InternalServerApiError>;
1066
+ };
1067
+ };
1068
+ export type CreateTenantV1Error = CreateTenantV1Errors[keyof CreateTenantV1Errors];
1069
+ export type CreateTenantV1Responses = {
1070
+ 201: CreateTenantResponse;
1071
+ };
1072
+ export type CreateTenantV1Response = CreateTenantV1Responses[keyof CreateTenantV1Responses];
1073
+ export type ViewTenantDetailV1Data = {
1074
+ body?: never;
1075
+ path: {
1076
+ uuid: string;
1077
+ };
1078
+ query?: never;
1079
+ url: '/api/v1/tenants/{uuid}';
1080
+ };
1081
+ export type ViewTenantDetailV1Errors = {
1082
+ 500: {
1083
+ traceId?: string | null;
1084
+ errors?: Array<InternalServerApiError>;
1085
+ };
1086
+ };
1087
+ export type ViewTenantDetailV1Error = ViewTenantDetailV1Errors[keyof ViewTenantDetailV1Errors];
1088
+ export type ViewTenantDetailV1Responses = {
1089
+ 200: ViewTenantDetailResponse;
1090
+ };
1091
+ export type ViewTenantDetailV1Response = ViewTenantDetailV1Responses[keyof ViewTenantDetailV1Responses];
1092
+ export type UpdateTenantV1Data = {
1093
+ body: UpdateTenantCommand;
1094
+ path: {
1095
+ uuid: string;
1096
+ };
1097
+ query?: never;
1098
+ url: '/api/v1/tenants/{uuid}';
1099
+ };
1100
+ export type UpdateTenantV1Errors = {
1101
+ 404: {
1102
+ traceId?: string | null;
1103
+ errors?: Array<unknown>;
1104
+ };
1105
+ 500: {
1106
+ traceId?: string | null;
1107
+ errors?: Array<InternalServerApiError>;
1108
+ };
1109
+ };
1110
+ export type UpdateTenantV1Error = UpdateTenantV1Errors[keyof UpdateTenantV1Errors];
1111
+ export type UpdateTenantV1Responses = {
1112
+ 204: void;
1113
+ };
1114
+ export type UpdateTenantV1Response = UpdateTenantV1Responses[keyof UpdateTenantV1Responses];
1115
+ export type GetApiInfoData = {
1116
+ body?: never;
1117
+ path?: never;
1118
+ query?: never;
1119
+ url: '/api';
1120
+ };
1121
+ export type GetApiInfoErrors = {
1122
+ 500: {
1123
+ traceId?: string | null;
1124
+ errors?: Array<InternalServerApiError>;
1125
+ };
1126
+ };
1127
+ export type GetApiInfoError = GetApiInfoErrors[keyof GetApiInfoErrors];
1128
+ export type GetApiInfoResponses = {
1129
+ 200: GetApiInfoResponse;
1130
+ };
1131
+ export type GetApiInfoResponse2 = GetApiInfoResponses[keyof GetApiInfoResponses];
1132
+ export type MigrateCollectionsV1Data = {
1133
+ body?: never;
1134
+ path?: never;
1135
+ query: {
1136
+ fresh: boolean;
1137
+ collections?: Array<TypesenseCollectionName>;
1138
+ };
1139
+ url: '/api/v1/typesense/migrate';
1140
+ };
1141
+ export type MigrateCollectionsV1Errors = {
1142
+ 500: {
1143
+ traceId?: string | null;
1144
+ errors?: Array<InternalServerApiError>;
1145
+ };
1146
+ };
1147
+ export type MigrateCollectionsV1Error = MigrateCollectionsV1Errors[keyof MigrateCollectionsV1Errors];
1148
+ export type MigrateCollectionsV1Responses = {
1149
+ 200: unknown;
1150
+ };
1151
+ export type ImportCollectionsV1Data = {
1152
+ body?: never;
1153
+ path?: never;
1154
+ query?: {
1155
+ collections?: Array<TypesenseCollectionName>;
1156
+ };
1157
+ url: '/api/v1/typesense/import';
1158
+ };
1159
+ export type ImportCollectionsV1Errors = {
1160
+ 500: {
1161
+ traceId?: string | null;
1162
+ errors?: Array<InternalServerApiError>;
1163
+ };
1164
+ };
1165
+ export type ImportCollectionsV1Error = ImportCollectionsV1Errors[keyof ImportCollectionsV1Errors];
1166
+ export type ImportCollectionsV1Responses = {
1167
+ 200: unknown;
1168
+ };
1169
+ export type ViewCollectionsV1Data = {
1170
+ body?: never;
1171
+ path?: never;
1172
+ query?: never;
1173
+ url: '/api/v1/typesense/collections/details';
1174
+ };
1175
+ export type ViewCollectionsV1Errors = {
1176
+ 500: {
1177
+ traceId?: string | null;
1178
+ errors?: Array<InternalServerApiError>;
1179
+ };
1180
+ };
1181
+ export type ViewCollectionsV1Error = ViewCollectionsV1Errors[keyof ViewCollectionsV1Errors];
1182
+ export type ViewCollectionsV1Responses = {
1183
+ 200: unknown;
1184
+ };
1185
+ export type ViewCollectionIndexV1Data = {
1186
+ body?: never;
1187
+ path?: never;
1188
+ query?: never;
1189
+ url: '/api/v1/typesense/collections';
1190
+ };
1191
+ export type ViewCollectionIndexV1Errors = {
1192
+ 500: {
1193
+ traceId?: string | null;
1194
+ errors?: Array<InternalServerApiError>;
1195
+ };
1196
+ };
1197
+ export type ViewCollectionIndexV1Error = ViewCollectionIndexV1Errors[keyof ViewCollectionIndexV1Errors];
1198
+ export type ViewCollectionIndexV1Responses = {
1199
+ 200: ViewCollectionIndexResponse;
1200
+ };
1201
+ export type ViewCollectionIndexV1Response = ViewCollectionIndexV1Responses[keyof ViewCollectionIndexV1Responses];
1202
+ export type SetUserRolesV1Data = {
1203
+ body: SetUserRolesCommand;
1204
+ path: {
1205
+ user: string;
1206
+ };
1207
+ query?: never;
1208
+ url: '/api/v1/users/{user}/role';
1209
+ };
1210
+ export type SetUserRolesV1Errors = {
1211
+ 404: {
1212
+ traceId?: string | null;
1213
+ errors?: Array<UserNotFoundError>;
1214
+ };
1215
+ 500: {
1216
+ traceId?: string | null;
1217
+ errors?: Array<InternalServerApiError>;
1218
+ };
1219
+ };
1220
+ export type SetUserRolesV1Error = SetUserRolesV1Errors[keyof SetUserRolesV1Errors];
1221
+ export type ViewMeV1Data = {
1222
+ body?: never;
1223
+ path?: never;
1224
+ query?: never;
1225
+ url: '/api/v1/users/me';
1226
+ };
1227
+ export type ViewMeV1Errors = {
1228
+ 404: {
1229
+ traceId?: string | null;
1230
+ errors?: Array<UserNotFoundError>;
1231
+ };
1232
+ 500: {
1233
+ traceId?: string | null;
1234
+ errors?: Array<InternalServerApiError>;
1235
+ };
1236
+ };
1237
+ export type ViewMeV1Error = ViewMeV1Errors[keyof ViewMeV1Errors];
1238
+ export type ViewMeV1Responses = {
1239
+ /**
1240
+ * User details retrieved
1241
+ */
1242
+ 200: ViewMeResponse;
1243
+ };
1244
+ export type ViewMeV1Response = ViewMeV1Responses[keyof ViewMeV1Responses];
1245
+ export type ViewUserDetailV1Data = {
1246
+ body?: never;
1247
+ path: {
1248
+ uuid: string;
1249
+ };
1250
+ query?: never;
1251
+ url: '/api/v1/users/{uuid}';
1252
+ };
1253
+ export type ViewUserDetailV1Errors = {
1254
+ 404: {
1255
+ traceId?: string | null;
1256
+ errors?: Array<UserNotFoundError>;
1257
+ };
1258
+ 500: {
1259
+ traceId?: string | null;
1260
+ errors?: Array<InternalServerApiError>;
1261
+ };
1262
+ };
1263
+ export type ViewUserDetailV1Error = ViewUserDetailV1Errors[keyof ViewUserDetailV1Errors];
1264
+ export type ViewUserDetailV1Responses = {
1265
+ /**
1266
+ * User details retrieved
1267
+ */
1268
+ 200: ViewUserDetailResponse;
1269
+ };
1270
+ export type ViewUserDetailV1Response = ViewUserDetailV1Responses[keyof ViewUserDetailV1Responses];
1271
+ export type ViewUserIndexV1Data = {
1272
+ body?: never;
1273
+ path?: never;
1274
+ query?: {
1275
+ pagination?: PaginatedOffsetQuery;
1276
+ search?: string;
1277
+ };
1278
+ url: '/api/v1/users';
1279
+ };
1280
+ export type ViewUserIndexV1Errors = {
1281
+ 500: {
1282
+ traceId?: string | null;
1283
+ errors?: Array<InternalServerApiError>;
1284
+ };
1285
+ };
1286
+ export type ViewUserIndexV1Error = ViewUserIndexV1Errors[keyof ViewUserIndexV1Errors];
1287
+ export type ViewUserIndexV1Responses = {
1288
+ /**
1289
+ * Users retrieved
1290
+ */
1291
+ 200: ViewUserIndexResponse;
1292
+ };
1293
+ export type ViewUserIndexV1Response = ViewUserIndexV1Responses[keyof ViewUserIndexV1Responses];
1294
+ export type ViewRoleIndexV1Data = {
1295
+ body?: never;
1296
+ path?: never;
1297
+ query?: never;
1298
+ url: '/api/v1/roles';
1299
+ };
1300
+ export type ViewRoleIndexV1Errors = {
1301
+ 500: {
1302
+ traceId?: string | null;
1303
+ errors?: Array<InternalServerApiError>;
1304
+ };
1305
+ };
1306
+ export type ViewRoleIndexV1Error = ViewRoleIndexV1Errors[keyof ViewRoleIndexV1Errors];
1307
+ export type ViewRoleIndexV1Responses = {
1308
+ /**
1309
+ * The roles has been successfully received.
1310
+ */
1311
+ 200: ViewRoleIndexResponse;
1312
+ };
1313
+ export type ViewRoleIndexV1Response = ViewRoleIndexV1Responses[keyof ViewRoleIndexV1Responses];
1314
+ export type UpdateRolesPermissionsV1Data = {
1315
+ body: UpdateRolesPermissionsCommand;
1316
+ path?: never;
1317
+ query?: never;
1318
+ url: '/api/v1/roles';
1319
+ };
1320
+ export type UpdateRolesPermissionsV1Errors = {
1321
+ 404: {
1322
+ traceId?: string | null;
1323
+ errors?: Array<RoleNotFoundError>;
1324
+ };
1325
+ 500: {
1326
+ traceId?: string | null;
1327
+ errors?: Array<InternalServerApiError>;
1328
+ };
1329
+ };
1330
+ export type UpdateRolesPermissionsV1Error = UpdateRolesPermissionsV1Errors[keyof UpdateRolesPermissionsV1Errors];
1331
+ export type UpdateRolesPermissionsV1Responses = {
1332
+ 204: void;
1333
+ };
1334
+ export type UpdateRolesPermissionsV1Response = UpdateRolesPermissionsV1Responses[keyof UpdateRolesPermissionsV1Responses];
1335
+ export type CreateRoleV1Data = {
1336
+ body: CreateRoleCommand;
1337
+ path?: never;
1338
+ query?: never;
1339
+ url: '/api/v1/roles';
1340
+ };
1341
+ export type CreateRoleV1Errors = {
1342
+ 500: {
1343
+ traceId?: string | null;
1344
+ errors?: Array<InternalServerApiError>;
1345
+ };
1346
+ };
1347
+ export type CreateRoleV1Error = CreateRoleV1Errors[keyof CreateRoleV1Errors];
1348
+ export type CreateRoleV1Responses = {
1349
+ 201: CreateRoleResponse;
1350
+ };
1351
+ export type CreateRoleV1Response = CreateRoleV1Responses[keyof CreateRoleV1Responses];
1352
+ export type ClearRolePermissionsCacheV1Data = {
1353
+ body: ClearRolePermissionsCacheCommand;
1354
+ path?: never;
1355
+ query?: never;
1356
+ url: '/api/v1/roles/clear-cache';
1357
+ };
1358
+ export type ClearRolePermissionsCacheV1Errors = {
1359
+ 500: {
1360
+ traceId?: string | null;
1361
+ errors?: Array<InternalServerApiError>;
1362
+ };
1363
+ };
1364
+ export type ClearRolePermissionsCacheV1Error = ClearRolePermissionsCacheV1Errors[keyof ClearRolePermissionsCacheV1Errors];
1365
+ export type ClearRolePermissionsCacheV1Responses = {
1366
+ 204: void;
1367
+ };
1368
+ export type ClearRolePermissionsCacheV1Response = ClearRolePermissionsCacheV1Responses[keyof ClearRolePermissionsCacheV1Responses];
1369
+ export type DeleteRoleV1Data = {
1370
+ body?: never;
1371
+ path: {
1372
+ role: string;
1373
+ };
1374
+ query?: never;
1375
+ url: '/api/v1/roles/{role}';
1376
+ };
1377
+ export type DeleteRoleV1Errors = {
1378
+ 404: {
1379
+ traceId?: string | null;
1380
+ errors?: Array<RoleNotFoundError>;
1381
+ };
1382
+ 500: {
1383
+ traceId?: string | null;
1384
+ errors?: Array<InternalServerApiError>;
1385
+ };
1386
+ };
1387
+ export type DeleteRoleV1Error = DeleteRoleV1Errors[keyof DeleteRoleV1Errors];
1388
+ export type DeleteRoleV1Responses = {
1389
+ 204: void;
1390
+ };
1391
+ export type DeleteRoleV1Response = DeleteRoleV1Responses[keyof DeleteRoleV1Responses];
1392
+ export type ViewRoleDetailV1Data = {
1393
+ body?: never;
1394
+ path: {
1395
+ role: string;
1396
+ };
1397
+ query?: never;
1398
+ url: '/api/v1/roles/{role}';
1399
+ };
1400
+ export type ViewRoleDetailV1Errors = {
1401
+ 404: {
1402
+ traceId?: string | null;
1403
+ errors?: Array<RoleNotFoundError>;
1404
+ };
1405
+ 500: {
1406
+ traceId?: string | null;
1407
+ errors?: Array<InternalServerApiError>;
1408
+ };
1409
+ };
1410
+ export type ViewRoleDetailV1Error = ViewRoleDetailV1Errors[keyof ViewRoleDetailV1Errors];
1411
+ export type ViewRoleDetailV1Responses = {
1412
+ /**
1413
+ * The role has been successfully received.
1414
+ */
1415
+ 200: ViewRoleDetailResponse;
1416
+ };
1417
+ export type ViewRoleDetailV1Response = ViewRoleDetailV1Responses[keyof ViewRoleDetailV1Responses];
1418
+ export type UpdateRoleV1Data = {
1419
+ body: UpdateRoleCommand;
1420
+ path: {
1421
+ role: string;
1422
+ };
1423
+ query?: never;
1424
+ url: '/api/v1/roles/{role}';
1425
+ };
1426
+ export type UpdateRoleV1Errors = {
1427
+ 404: {
1428
+ traceId?: string | null;
1429
+ errors?: Array<RoleNotFoundError>;
1430
+ };
1431
+ 500: {
1432
+ traceId?: string | null;
1433
+ errors?: Array<InternalServerApiError>;
1434
+ };
1435
+ };
1436
+ export type UpdateRoleV1Error = UpdateRoleV1Errors[keyof UpdateRoleV1Errors];
1437
+ export type UpdateRoleV1Responses = {
1438
+ 204: void;
1439
+ };
1440
+ export type UpdateRoleV1Response = UpdateRoleV1Responses[keyof UpdateRoleV1Responses];
1441
+ export type CreateFileV1Data = {
1442
+ body: CreateFileCommand;
1443
+ path?: never;
1444
+ query?: never;
1445
+ url: '/api/v1/files';
1446
+ };
1447
+ export type CreateFileV1Errors = {
1448
+ 500: {
1449
+ traceId?: string | null;
1450
+ errors?: Array<InternalServerApiError>;
1451
+ };
1452
+ };
1453
+ export type CreateFileV1Error = CreateFileV1Errors[keyof CreateFileV1Errors];
1454
+ export type CreateFileV1Responses = {
1455
+ 201: CreateFileResponse;
1456
+ };
1457
+ export type CreateFileV1Response = CreateFileV1Responses[keyof CreateFileV1Responses];
1458
+ export type ConfirmFileUploadV1Data = {
1459
+ body?: never;
1460
+ path: {
1461
+ file: string;
1462
+ };
1463
+ query?: never;
1464
+ url: '/api/v1/files/{file}/confirm-upload';
1465
+ };
1466
+ export type ConfirmFileUploadV1Errors = {
1467
+ 404: {
1468
+ traceId?: string | null;
1469
+ errors?: Array<FileNotFoundError>;
1470
+ };
1471
+ 500: {
1472
+ traceId?: string | null;
1473
+ errors?: Array<InternalServerApiError>;
1474
+ };
1475
+ };
1476
+ export type ConfirmFileUploadV1Error = ConfirmFileUploadV1Errors[keyof ConfirmFileUploadV1Errors];
1477
+ export type ConfirmFileUploadV1Responses = {
1478
+ 204: void;
1479
+ };
1480
+ export type ConfirmFileUploadV1Response = ConfirmFileUploadV1Responses[keyof ConfirmFileUploadV1Responses];
1481
+ export type ConfirmFileUploadV2Data = {
1482
+ body: ConfirmFileUploadCommand;
1483
+ path: {
1484
+ file: string;
1485
+ };
1486
+ query?: never;
1487
+ url: '/api/v2/files/{file}/confirm-upload';
1488
+ };
1489
+ export type ConfirmFileUploadV2Errors = {
1490
+ 404: {
1491
+ traceId?: string | null;
1492
+ errors?: Array<FileNotFoundError>;
1493
+ };
1494
+ 500: {
1495
+ traceId?: string | null;
1496
+ errors?: Array<InternalServerApiError>;
1497
+ };
1498
+ };
1499
+ export type ConfirmFileUploadV2Error = ConfirmFileUploadV2Errors[keyof ConfirmFileUploadV2Errors];
1500
+ export type ConfirmFileUploadV2Responses = {
1501
+ 204: void;
1502
+ };
1503
+ export type ConfirmFileUploadV2Response = ConfirmFileUploadV2Responses[keyof ConfirmFileUploadV2Responses];
1504
+ export type DownloadFileV1Data = {
1505
+ body?: never;
1506
+ path: {
1507
+ file: string;
1508
+ };
1509
+ query?: never;
1510
+ url: '/api/v1/files/{file}/download';
1511
+ };
1512
+ export type DownloadFileV1Errors = {
1513
+ 404: {
1514
+ traceId?: string | null;
1515
+ errors?: Array<FileNotFoundError>;
1516
+ };
1517
+ 500: {
1518
+ traceId?: string | null;
1519
+ errors?: Array<InternalServerApiError>;
1520
+ };
1521
+ };
1522
+ export type DownloadFileV1Error = DownloadFileV1Errors[keyof DownloadFileV1Errors];
1523
+ export type DownloadPublicFileV1Data = {
1524
+ body?: never;
1525
+ path: {
1526
+ file: string;
1527
+ };
1528
+ query: {
1529
+ token: string;
1530
+ };
1531
+ url: '/api/v1/public/files/{file}/download';
1532
+ };
1533
+ export type DownloadPublicFileV1Errors = {
1534
+ 404: {
1535
+ traceId?: string | null;
1536
+ errors?: Array<FileNotFoundError>;
1537
+ };
1538
+ 500: {
1539
+ traceId?: string | null;
1540
+ errors?: Array<InternalServerApiError>;
1541
+ };
1542
+ };
1543
+ export type DownloadPublicFileV1Error = DownloadPublicFileV1Errors[keyof DownloadPublicFileV1Errors];
1544
+ export type ViewContactIndexV1Data = {
1545
+ body?: never;
1546
+ path?: never;
1547
+ query?: {
1548
+ pagination?: PaginatedOffsetQuery;
1549
+ sort?: Array<ViewContactIndexSortQuery>;
1550
+ filter?: ViewContactIndexFilterQuery;
1551
+ search?: string;
1552
+ };
1553
+ url: '/api/v1/contacts';
1554
+ };
1555
+ export type ViewContactIndexV1Errors = {
1556
+ 500: {
1557
+ traceId?: string | null;
1558
+ errors?: Array<InternalServerApiError>;
1559
+ };
1560
+ };
1561
+ export type ViewContactIndexV1Error = ViewContactIndexV1Errors[keyof ViewContactIndexV1Errors];
1562
+ export type ViewContactIndexV1Responses = {
1563
+ 200: ViewContactIndexResponse;
1564
+ };
1565
+ export type ViewContactIndexV1Response = ViewContactIndexV1Responses[keyof ViewContactIndexV1Responses];
1566
+ export type CreateContactV1Data = {
1567
+ body: CreateContactCommand;
1568
+ path?: never;
1569
+ query?: never;
1570
+ url: '/api/v1/contacts';
1571
+ };
1572
+ export type CreateContactV1Errors = {
1573
+ 404: {
1574
+ traceId?: string | null;
1575
+ errors?: Array<FileNotFoundError>;
1576
+ };
1577
+ 500: {
1578
+ traceId?: string | null;
1579
+ errors?: Array<InternalServerApiError>;
1580
+ };
1581
+ };
1582
+ export type CreateContactV1Error = CreateContactV1Errors[keyof CreateContactV1Errors];
1583
+ export type CreateContactV1Responses = {
1584
+ 201: CreateContactResponse;
1585
+ };
1586
+ export type CreateContactV1Response = CreateContactV1Responses[keyof CreateContactV1Responses];
1587
+ export type DeleteContactV1Data = {
1588
+ body?: never;
1589
+ path: {
1590
+ uuid: string;
1591
+ };
1592
+ query?: never;
1593
+ url: '/api/v1/contacts/{uuid}';
1594
+ };
1595
+ export type DeleteContactV1Errors = {
1596
+ 404: {
1597
+ traceId?: string | null;
1598
+ errors?: Array<ContactNotFoundError>;
1599
+ };
1600
+ 500: {
1601
+ traceId?: string | null;
1602
+ errors?: Array<InternalServerApiError>;
1603
+ };
1604
+ };
1605
+ export type DeleteContactV1Error = DeleteContactV1Errors[keyof DeleteContactV1Errors];
1606
+ export type DeleteContactV1Responses = {
1607
+ 204: void;
1608
+ };
1609
+ export type DeleteContactV1Response = DeleteContactV1Responses[keyof DeleteContactV1Responses];
1610
+ export type ViewContactDetailV1Data = {
1611
+ body?: never;
1612
+ path: {
1613
+ uuid: string;
1614
+ };
1615
+ query?: never;
1616
+ url: '/api/v1/contacts/{uuid}';
1617
+ };
1618
+ export type ViewContactDetailV1Errors = {
1619
+ 500: {
1620
+ traceId?: string | null;
1621
+ errors?: Array<InternalServerApiError>;
1622
+ };
1623
+ };
1624
+ export type ViewContactDetailV1Error = ViewContactDetailV1Errors[keyof ViewContactDetailV1Errors];
1625
+ export type ViewContactDetailV1Responses = {
1626
+ 200: ViewContactDetailResponse;
1627
+ };
1628
+ export type ViewContactDetailV1Response = ViewContactDetailV1Responses[keyof ViewContactDetailV1Responses];
1629
+ export type UpdateContactV1Data = {
1630
+ body: UpdateContactCommand;
1631
+ path: {
1632
+ uuid: string;
1633
+ };
1634
+ query?: never;
1635
+ url: '/api/v1/contacts/{uuid}';
1636
+ };
1637
+ export type UpdateContactV1Errors = {
1638
+ 404: {
1639
+ traceId?: string | null;
1640
+ errors?: Array<ContactNotFoundError | FileNotFoundError>;
1641
+ };
1642
+ 500: {
1643
+ traceId?: string | null;
1644
+ errors?: Array<InternalServerApiError>;
1645
+ };
1646
+ };
1647
+ export type UpdateContactV1Error = UpdateContactV1Errors[keyof UpdateContactV1Errors];
1648
+ export type UpdateContactV1Responses = {
1649
+ 204: void;
1650
+ };
1651
+ export type UpdateContactV1Response = UpdateContactV1Responses[keyof UpdateContactV1Responses];
1652
+ export type ViewUiPreferencesV1Data = {
1653
+ body?: never;
1654
+ path?: never;
1655
+ query?: never;
1656
+ url: '/api/v1/me/ui-preferences';
1657
+ };
1658
+ export type ViewUiPreferencesV1Errors = {
1659
+ 500: {
1660
+ traceId?: string | null;
1661
+ errors?: Array<InternalServerApiError>;
1662
+ };
1663
+ };
1664
+ export type ViewUiPreferencesV1Error = ViewUiPreferencesV1Errors[keyof ViewUiPreferencesV1Errors];
1665
+ export type ViewUiPreferencesV1Responses = {
1666
+ 200: ViewUiPreferencesResponse;
1667
+ };
1668
+ export type ViewUiPreferencesV1Response = ViewUiPreferencesV1Responses[keyof ViewUiPreferencesV1Responses];
1669
+ export type UpdateUiPreferencesV1Data = {
1670
+ body: UpdateUiPreferencesCommand;
1671
+ path?: never;
1672
+ query?: never;
1673
+ url: '/api/v1/me/ui-preferences';
1674
+ };
1675
+ export type UpdateUiPreferencesV1Errors = {
1676
+ 500: {
1677
+ traceId?: string | null;
1678
+ errors?: Array<InternalServerApiError>;
1679
+ };
1680
+ };
1681
+ export type UpdateUiPreferencesV1Error = UpdateUiPreferencesV1Errors[keyof UpdateUiPreferencesV1Errors];
1682
+ export type UpdateUiPreferencesV1Responses = {
1683
+ 200: unknown;
1684
+ };
1685
+ export type CreateOneSignalTokenV1Data = {
1686
+ body?: never;
1687
+ path?: never;
1688
+ query?: never;
1689
+ url: '/api/v1/onesignal/token';
1690
+ };
1691
+ export type CreateOneSignalTokenV1Errors = {
1692
+ 500: {
1693
+ traceId?: string | null;
1694
+ errors?: Array<InternalServerApiError>;
1695
+ };
1696
+ };
1697
+ export type CreateOneSignalTokenV1Error = CreateOneSignalTokenV1Errors[keyof CreateOneSignalTokenV1Errors];
1698
+ export type CreateOneSignalTokenV1Responses = {
1699
+ 201: CreateOneSignalTokenResponse;
1700
+ };
1701
+ export type CreateOneSignalTokenV1Response = CreateOneSignalTokenV1Responses[keyof CreateOneSignalTokenV1Responses];
1702
+ export type SendPushNotificationV1Data = {
1703
+ body: SendPushNotificationCommand;
1704
+ path?: never;
1705
+ query?: never;
1706
+ url: '/api/v1/onesignal/push-notification';
1707
+ };
1708
+ export type SendPushNotificationV1Errors = {
1709
+ 500: {
1710
+ traceId?: string | null;
1711
+ errors?: Array<InternalServerApiError>;
1712
+ };
1713
+ };
1714
+ export type SendPushNotificationV1Error = SendPushNotificationV1Errors[keyof SendPushNotificationV1Errors];
1715
+ export type SendPushNotificationV1Responses = {
1716
+ 201: unknown;
1717
+ };
1718
+ export type ViewDomainEventLogIndexV1Data = {
1719
+ body?: never;
1720
+ path?: never;
1721
+ query?: {
1722
+ filter?: ViewDomainEventLogIndexFilterQuery;
1723
+ pagination?: ViewDomainEventLogIndexPaginationQuery;
1724
+ };
1725
+ url: '/api/v1/event-logs';
1726
+ };
1727
+ export type ViewDomainEventLogIndexV1Errors = {
1728
+ 500: {
1729
+ traceId?: string | null;
1730
+ errors?: Array<InternalServerApiError>;
1731
+ };
1732
+ };
1733
+ export type ViewDomainEventLogIndexV1Error = ViewDomainEventLogIndexV1Errors[keyof ViewDomainEventLogIndexV1Errors];
1734
+ export type ViewDomainEventLogIndexV1Responses = {
1735
+ 200: ViewDomainEventLogIndexResponse;
1736
+ };
1737
+ export type ViewDomainEventLogIndexV1Response = ViewDomainEventLogIndexV1Responses[keyof ViewDomainEventLogIndexV1Responses];
1738
+ export type SearchCollectionsV1Data = {
1739
+ body?: never;
1740
+ path?: never;
1741
+ query: {
1742
+ filter?: SearchCollectionsFilterQuery;
1743
+ search: string;
1744
+ pagination?: SearchCollectionPaginationQuery;
1745
+ };
1746
+ url: '/api/v1/search';
1747
+ };
1748
+ export type SearchCollectionsV1Errors = {
1749
+ 500: {
1750
+ traceId?: string | null;
1751
+ errors?: Array<InternalServerApiError>;
1752
+ };
1753
+ };
1754
+ export type SearchCollectionsV1Error = SearchCollectionsV1Errors[keyof SearchCollectionsV1Errors];
1755
+ export type SearchCollectionsV1Responses = {
1756
+ 200: SearchCollectionsResponse;
1757
+ };
1758
+ export type SearchCollectionsV1Response = SearchCollectionsV1Responses[keyof SearchCollectionsV1Responses];
1759
+ export type GetMyNotificationPreferencesV1Data = {
1760
+ body?: never;
1761
+ path?: never;
1762
+ query?: never;
1763
+ url: '/api/v1/me/notification-preferences';
1764
+ };
1765
+ export type GetMyNotificationPreferencesV1Errors = {
1766
+ 500: {
1767
+ traceId?: string | null;
1768
+ errors?: Array<InternalServerApiError>;
1769
+ };
1770
+ };
1771
+ export type GetMyNotificationPreferencesV1Error = GetMyNotificationPreferencesV1Errors[keyof GetMyNotificationPreferencesV1Errors];
1772
+ export type GetMyNotificationPreferencesV1Responses = {
1773
+ 200: GetMyNotificationPreferencesResponse;
1774
+ };
1775
+ export type GetMyNotificationPreferencesV1Response = GetMyNotificationPreferencesV1Responses[keyof GetMyNotificationPreferencesV1Responses];
1776
+ export type GetNotificationTypesConfigV1Data = {
1777
+ body?: never;
1778
+ path?: never;
1779
+ query?: never;
1780
+ url: '/api/v1/notification-preferences/config';
1781
+ };
1782
+ export type GetNotificationTypesConfigV1Errors = {
1783
+ 500: {
1784
+ traceId?: string | null;
1785
+ errors?: Array<InternalServerApiError>;
1786
+ };
1787
+ };
1788
+ export type GetNotificationTypesConfigV1Error = GetNotificationTypesConfigV1Errors[keyof GetNotificationTypesConfigV1Errors];
1789
+ export type GetNotificationTypesConfigV1Responses = {
1790
+ 200: GetNotificationTypesConfigResponse;
1791
+ };
1792
+ export type GetNotificationTypesConfigV1Response = GetNotificationTypesConfigV1Responses[keyof GetNotificationTypesConfigV1Responses];
1793
+ export type UpdateMyChannelNotificationPreferenceV1Data = {
1794
+ body: UpdateMyChannelNotificationPreferenceCommand;
1795
+ path?: never;
1796
+ query?: never;
1797
+ url: '/api/v1/me/notification-preferences/channels';
1798
+ };
1799
+ export type UpdateMyChannelNotificationPreferenceV1Errors = {
1800
+ 500: {
1801
+ traceId?: string | null;
1802
+ errors?: Array<InternalServerApiError>;
1803
+ };
1804
+ };
1805
+ export type UpdateMyChannelNotificationPreferenceV1Error = UpdateMyChannelNotificationPreferenceV1Errors[keyof UpdateMyChannelNotificationPreferenceV1Errors];
1806
+ export type UpdateMyChannelNotificationPreferenceV1Responses = {
1807
+ 204: void;
1808
+ };
1809
+ export type UpdateMyChannelNotificationPreferenceV1Response = UpdateMyChannelNotificationPreferenceV1Responses[keyof UpdateMyChannelNotificationPreferenceV1Responses];
1810
+ export type SendTestNotificationV1Data = {
1811
+ body: SendTestNotificationCommand;
1812
+ path?: never;
1813
+ query?: never;
1814
+ url: '/api/v1/notifications/test-notification';
1815
+ };
1816
+ export type SendTestNotificationV1Errors = {
1817
+ 500: {
1818
+ traceId?: string | null;
1819
+ errors?: Array<InternalServerApiError>;
1820
+ };
1821
+ };
1822
+ export type SendTestNotificationV1Error = SendTestNotificationV1Errors[keyof SendTestNotificationV1Errors];
1823
+ export type SendTestNotificationV1Responses = {
1824
+ 204: void;
1825
+ };
1826
+ export type SendTestNotificationV1Response = SendTestNotificationV1Responses[keyof SendTestNotificationV1Responses];
1827
+ export type GetMyNotificationsV1Data = {
1828
+ body?: never;
1829
+ path?: never;
1830
+ query?: {
1831
+ filter?: GetMyNotificationsFilterQuery;
1832
+ pagination?: GetMyNotificationsPaginationQuery;
1833
+ };
1834
+ url: '/api/v1/me/notifications';
1835
+ };
1836
+ export type GetMyNotificationsV1Errors = {
1837
+ 500: {
1838
+ traceId?: string | null;
1839
+ errors?: Array<InternalServerApiError>;
1840
+ };
1841
+ };
1842
+ export type GetMyNotificationsV1Error = GetMyNotificationsV1Errors[keyof GetMyNotificationsV1Errors];
1843
+ export type GetMyNotificationsV1Responses = {
1844
+ 200: GetMyNotificationsResponse;
1845
+ };
1846
+ export type GetMyNotificationsV1Response = GetMyNotificationsV1Responses[keyof GetMyNotificationsV1Responses];
1847
+ export type ViewUnreadNotificationsCountV1Data = {
1848
+ body?: never;
1849
+ path?: never;
1850
+ query?: never;
1851
+ url: '/api/v1/me/notifications/unread-count';
1852
+ };
1853
+ export type ViewUnreadNotificationsCountV1Errors = {
1854
+ 500: {
1855
+ traceId?: string | null;
1856
+ errors?: Array<InternalServerApiError>;
1857
+ };
1858
+ };
1859
+ export type ViewUnreadNotificationsCountV1Error = ViewUnreadNotificationsCountV1Errors[keyof ViewUnreadNotificationsCountV1Errors];
1860
+ export type ViewUnreadNotificationsCountV1Responses = {
1861
+ 200: ViewUnreadNotificationsCountResponse;
1862
+ };
1863
+ export type ViewUnreadNotificationsCountV1Response = ViewUnreadNotificationsCountV1Responses[keyof ViewUnreadNotificationsCountV1Responses];
1864
+ export type ViewUserNotificationDetailV1Data = {
1865
+ body?: never;
1866
+ path: {
1867
+ notificationUuid: string;
1868
+ };
1869
+ query?: never;
1870
+ url: '/api/v1/me/notifications/{notificationUuid}';
1871
+ };
1872
+ export type ViewUserNotificationDetailV1Errors = {
1873
+ 404: {
1874
+ traceId?: string | null;
1875
+ errors?: Array<UserNotificationNotFoundError>;
1876
+ };
1877
+ 500: {
1878
+ traceId?: string | null;
1879
+ errors?: Array<InternalServerApiError>;
1880
+ };
1881
+ };
1882
+ export type ViewUserNotificationDetailV1Error = ViewUserNotificationDetailV1Errors[keyof ViewUserNotificationDetailV1Errors];
1883
+ export type ViewUserNotificationDetailV1Responses = {
1884
+ 200: SystemTestNotificationNotification;
1885
+ };
1886
+ export type ViewUserNotificationDetailV1Response = ViewUserNotificationDetailV1Responses[keyof ViewUserNotificationDetailV1Responses];
1887
+ export type MarkAllNotificationAsReadV1Data = {
1888
+ body?: never;
1889
+ path?: never;
1890
+ query?: never;
1891
+ url: '/api/v1/me/notifications/mark-as-read';
1892
+ };
1893
+ export type MarkAllNotificationAsReadV1Errors = {
1894
+ 500: {
1895
+ traceId?: string | null;
1896
+ errors?: Array<InternalServerApiError>;
1897
+ };
1898
+ };
1899
+ export type MarkAllNotificationAsReadV1Error = MarkAllNotificationAsReadV1Errors[keyof MarkAllNotificationAsReadV1Errors];
1900
+ export type MarkAllNotificationAsReadV1Responses = {
1901
+ 204: void;
1902
+ };
1903
+ export type MarkAllNotificationAsReadV1Response = MarkAllNotificationAsReadV1Responses[keyof MarkAllNotificationAsReadV1Responses];
1904
+ export type UpdateMyNotificationTypePreferenceV1Data = {
1905
+ body: UpdateMyNotificationTypePreferenceCommand;
1906
+ path?: never;
1907
+ query?: never;
1908
+ url: '/api/v1/me/notification-preferences/types';
1909
+ };
1910
+ export type UpdateMyNotificationTypePreferenceV1Errors = {
1911
+ 500: {
1912
+ traceId?: string | null;
1913
+ errors?: Array<InternalServerApiError>;
1914
+ };
1915
+ };
1916
+ export type UpdateMyNotificationTypePreferenceV1Error = UpdateMyNotificationTypePreferenceV1Errors[keyof UpdateMyNotificationTypePreferenceV1Errors];
1917
+ export type UpdateMyNotificationTypePreferenceV1Responses = {
1918
+ 204: void;
1919
+ };
1920
+ export type UpdateMyNotificationTypePreferenceV1Response = UpdateMyNotificationTypePreferenceV1Responses[keyof UpdateMyNotificationTypePreferenceV1Responses];
1921
+ export type MarkNotificationAsReadV1Data = {
1922
+ body?: never;
1923
+ path: {
1924
+ notificationUuid: string;
1925
+ };
1926
+ query?: never;
1927
+ url: '/api/v1/me/notifications/{notificationUuid}/mark-as-read';
1928
+ };
1929
+ export type MarkNotificationAsReadV1Errors = {
1930
+ 404: {
1931
+ traceId?: string | null;
1932
+ errors?: Array<UserNotificationNotFoundError>;
1933
+ };
1934
+ 500: {
1935
+ traceId?: string | null;
1936
+ errors?: Array<InternalServerApiError>;
1937
+ };
1938
+ };
1939
+ export type MarkNotificationAsReadV1Error = MarkNotificationAsReadV1Errors[keyof MarkNotificationAsReadV1Errors];
1940
+ export type MarkNotificationAsReadV1Responses = {
1941
+ 204: void;
1942
+ };
1943
+ export type MarkNotificationAsReadV1Response = MarkNotificationAsReadV1Responses[keyof MarkNotificationAsReadV1Responses];
1944
+ export type MarkNotificationAsUnreadV1Data = {
1945
+ body?: never;
1946
+ path: {
1947
+ notificationUuid: string;
1948
+ };
1949
+ query?: never;
1950
+ url: '/api/v1/me/notifications/{notificationUuid}/mark-as-unread';
1951
+ };
1952
+ export type MarkNotificationAsUnreadV1Errors = {
1953
+ 404: {
1954
+ traceId?: string | null;
1955
+ errors?: Array<UserNotificationNotFoundError>;
1956
+ };
1957
+ 500: {
1958
+ traceId?: string | null;
1959
+ errors?: Array<InternalServerApiError>;
1960
+ };
1961
+ };
1962
+ export type MarkNotificationAsUnreadV1Error = MarkNotificationAsUnreadV1Errors[keyof MarkNotificationAsUnreadV1Errors];
1963
+ export type MarkNotificationAsUnreadV1Responses = {
1964
+ 204: void;
1965
+ };
1966
+ export type MarkNotificationAsUnreadV1Response = MarkNotificationAsUnreadV1Responses[keyof MarkNotificationAsUnreadV1Responses];
1967
+ export type UpdateMyNotificationPreferencePresetV1Data = {
1968
+ body: UpdateMyNotificationPreferencePresetCommand;
1969
+ path?: never;
1970
+ query?: never;
1971
+ url: '/api/v1/me/notification-preferences/preset';
1972
+ };
1973
+ export type UpdateMyNotificationPreferencePresetV1Errors = {
1974
+ 500: {
1975
+ traceId?: string | null;
1976
+ errors?: Array<InternalServerApiError>;
1977
+ };
1978
+ };
1979
+ export type UpdateMyNotificationPreferencePresetV1Error = UpdateMyNotificationPreferencePresetV1Errors[keyof UpdateMyNotificationPreferencePresetV1Errors];
1980
+ export type UpdateMyNotificationPreferencePresetV1Responses = {
1981
+ 204: void;
1982
+ };
1983
+ export type UpdateMyNotificationPreferencePresetV1Response = UpdateMyNotificationPreferencePresetV1Responses[keyof UpdateMyNotificationPreferencePresetV1Responses];
1984
+ export type MigrateNotificationTypesV1Data = {
1985
+ body: MigrateNotificationTypesCommand;
1986
+ path?: never;
1987
+ query?: never;
1988
+ url: '/api/v1/notifications/migrate';
1989
+ };
1990
+ export type MigrateNotificationTypesV1Errors = {
1991
+ 400: {
1992
+ traceId?: string | null;
1993
+ errors?: Array<MigrationAlreadyPerformedError>;
1994
+ };
1995
+ 500: {
1996
+ traceId?: string | null;
1997
+ errors?: Array<InternalServerApiError>;
1998
+ };
1999
+ };
2000
+ export type MigrateNotificationTypesV1Error = MigrateNotificationTypesV1Errors[keyof MigrateNotificationTypesV1Errors];
2001
+ export type MigrateNotificationTypesV1Responses = {
2002
+ 204: void;
2003
+ };
2004
+ export type MigrateNotificationTypesV1Response = MigrateNotificationTypesV1Responses[keyof MigrateNotificationTypesV1Responses];
2005
+ export type ViewJobsIndexV1Data = {
2006
+ body?: never;
2007
+ path?: never;
2008
+ query?: {
2009
+ sort?: Array<ViewJobsIndexSortQuery>;
2010
+ filter?: ViewJobsIndexFilterQuery;
2011
+ pagination?: ViewJobsIndexPaginationQuery;
2012
+ };
2013
+ url: '/api/v1/jobs';
2014
+ };
2015
+ export type ViewJobsIndexV1Errors = {
2016
+ 500: {
2017
+ traceId?: string | null;
2018
+ errors?: Array<InternalServerApiError>;
2019
+ };
2020
+ };
2021
+ export type ViewJobsIndexV1Error = ViewJobsIndexV1Errors[keyof ViewJobsIndexV1Errors];
2022
+ export type ViewJobsIndexV1Responses = {
2023
+ 200: ViewJobsIndexResponse;
2024
+ };
2025
+ export type ViewJobsIndexV1Response = ViewJobsIndexV1Responses[keyof ViewJobsIndexV1Responses];
2026
+ export type ViewJobDetailV1Data = {
2027
+ body?: never;
2028
+ path: {
2029
+ jobId: string;
2030
+ };
2031
+ query?: never;
2032
+ url: '/api/v1/jobs/{jobId}';
2033
+ };
2034
+ export type ViewJobDetailV1Errors = {
2035
+ 404: {
2036
+ traceId?: string | null;
2037
+ errors?: Array<JobNotFoundError>;
2038
+ };
2039
+ 500: {
2040
+ traceId?: string | null;
2041
+ errors?: Array<InternalServerApiError>;
2042
+ };
2043
+ };
2044
+ export type ViewJobDetailV1Error = ViewJobDetailV1Errors[keyof ViewJobDetailV1Errors];
2045
+ export type ViewJobDetailV1Responses = {
2046
+ 200: ViewJobDetailResponse;
2047
+ };
2048
+ export type ViewJobDetailV1Response = ViewJobDetailV1Responses[keyof ViewJobDetailV1Responses];
2049
+ export type SearchCbeEnterprisesV1Data = {
2050
+ body?: never;
2051
+ path?: never;
2052
+ query: {
2053
+ pagination?: PaginatedOffsetQuery;
2054
+ search: string;
2055
+ };
2056
+ url: '/api/v1/cbe/enterprises';
2057
+ };
2058
+ export type SearchCbeEnterprisesV1Errors = {
2059
+ 500: {
2060
+ traceId?: string | null;
2061
+ errors?: Array<InternalServerApiError>;
2062
+ };
2063
+ };
2064
+ export type SearchCbeEnterprisesV1Error = SearchCbeEnterprisesV1Errors[keyof SearchCbeEnterprisesV1Errors];
2065
+ export type SearchCbeEnterprisesV1Responses = {
2066
+ 200: SearchCbeEnterprisesResponse;
2067
+ };
2068
+ export type SearchCbeEnterprisesV1Response = SearchCbeEnterprisesV1Responses[keyof SearchCbeEnterprisesV1Responses];
2069
+ export type SearchCbeEstablishmentsCbeV1Data = {
2070
+ body?: never;
2071
+ path?: never;
2072
+ query: {
2073
+ pagination?: PaginatedOffsetQuery;
2074
+ filter?: SearchCbeEstablishmentsFilterQuery;
2075
+ search: string;
2076
+ };
2077
+ url: '/api/v1/cbe/establishments';
2078
+ };
2079
+ export type SearchCbeEstablishmentsCbeV1Errors = {
2080
+ 500: {
2081
+ traceId?: string | null;
2082
+ errors?: Array<InternalServerApiError>;
2083
+ };
2084
+ };
2085
+ export type SearchCbeEstablishmentsCbeV1Error = SearchCbeEstablishmentsCbeV1Errors[keyof SearchCbeEstablishmentsCbeV1Errors];
2086
+ export type SearchCbeEstablishmentsCbeV1Responses = {
2087
+ 200: SearchCbeEstablishmentResponse;
2088
+ };
2089
+ export type SearchCbeEstablishmentsCbeV1Response = SearchCbeEstablishmentsCbeV1Responses[keyof SearchCbeEstablishmentsCbeV1Responses];