expo-backend-types 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +11 -201
  2. package/dist/src/account/dto/account.dto.js +4 -21
  3. package/dist/src/account/dto/create-account.dto.d.ts +9 -301
  4. package/dist/src/account/dto/create-account.dto.js +3 -4
  5. package/dist/src/account/dto/get-global-filter.dto.d.ts +24 -20
  6. package/dist/src/account/dto/get-global-filter.dto.js +10 -6
  7. package/dist/src/account/dto/get-me.dto.d.ts +214 -188
  8. package/dist/src/account/dto/get-me.dto.js +27 -4
  9. package/dist/src/account/dto/update-global-filter.dto.d.ts +136 -169
  10. package/dist/src/account/dto/update-global-filter.dto.js +7 -15
  11. package/dist/src/auth/dto/login.dto.d.ts +34 -414
  12. package/dist/src/auth/dto/login.dto.js +5 -4
  13. package/dist/src/auth/dto/refresh.dto.d.ts +30 -0
  14. package/dist/src/auth/dto/refresh.dto.js +17 -0
  15. package/dist/src/comment/dto/comment.dto.d.ts +21 -15
  16. package/dist/src/comment/dto/comment.dto.js +11 -6
  17. package/dist/src/comment/dto/create-comment.dto.d.ts +106 -0
  18. package/dist/src/comment/dto/create-comment.dto.js +18 -0
  19. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +177 -0
  20. package/dist/src/comment/dto/get-by-profile-comment.dto.js +21 -0
  21. package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +71 -0
  22. package/dist/src/comment/dto/toggle-solve-comment.dto.js +10 -0
  23. package/dist/src/comment/exports.d.ts +3 -0
  24. package/dist/src/comment/exports.js +3 -0
  25. package/dist/src/event/dto/event.dto.d.ts +10 -16
  26. package/dist/src/event/dto/event.dto.js +6 -10
  27. package/dist/src/event-folder/dto/event-folder.dto.d.ts +6 -0
  28. package/dist/src/event-folder/dto/event-folder.dto.js +2 -0
  29. package/dist/src/event-folder/exports.d.ts +1 -0
  30. package/dist/src/event-folder/exports.js +18 -0
  31. package/dist/src/exports.d.ts +5 -3
  32. package/dist/src/exports.js +5 -3
  33. package/dist/src/i18n/es.d.ts +210 -0
  34. package/dist/src/i18n/es.js +212 -0
  35. package/dist/src/i18n/es.js.map +1 -0
  36. package/dist/src/i18n/translate.d.ts +9 -2
  37. package/dist/src/i18n/translate.js +3 -3
  38. package/dist/src/i18n/translate.js.map +1 -1
  39. package/dist/src/profile/dto/profile.dto.d.ts +68 -0
  40. package/dist/src/profile/dto/profile.dto.js +59 -0
  41. package/dist/src/profile/exports.d.ts +1 -0
  42. package/dist/src/profile/exports.js +18 -0
  43. package/dist/src/shared/dto-modification/create-zod-dto-without-date.d.ts +4 -0
  44. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +10 -0
  45. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -0
  46. package/dist/src/shared/dto-modification/without-dates.d.ts +4 -0
  47. package/dist/src/shared/dto-modification/without-dates.js +6 -0
  48. package/dist/src/shared/dto-modification/without-dates.js.map +1 -0
  49. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +8 -0
  50. package/dist/src/shared/dto-modification/zod-without-dates.js +28 -0
  51. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -0
  52. package/dist/src/tag/dto/create-tag.dto.d.ts +5 -16
  53. package/dist/src/tag/dto/create-tag.dto.js +3 -3
  54. package/dist/src/tag/dto/delete-tag.dto.d.ts +7 -7
  55. package/dist/src/tag/dto/delete-tag.dto.js +2 -2
  56. package/dist/src/tag/dto/find-all-tag.dto.d.ts +34 -35
  57. package/dist/src/tag/dto/find-all-tag.dto.js +2 -2
  58. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +35 -36
  59. package/dist/src/tag/dto/find-by-group-tag.dto.js +5 -5
  60. package/dist/src/tag/dto/find-one-tag.dto.d.ts +23 -24
  61. package/dist/src/tag/dto/find-one-tag.dto.js +2 -2
  62. package/dist/src/tag/dto/massive-allocation.dto.d.ts +260 -0
  63. package/dist/src/tag/dto/massive-allocation.dto.js +24 -0
  64. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +260 -0
  65. package/dist/src/tag/dto/massive-deallocation.dto.js +24 -0
  66. package/dist/src/tag/dto/tag.dto.d.ts +7 -7
  67. package/dist/src/tag/dto/tag.dto.js +3 -3
  68. package/dist/src/tag/dto/update-tag.dto.d.ts +31 -22
  69. package/dist/src/tag/dto/update-tag.dto.js +5 -7
  70. package/dist/src/tag/exports.d.ts +2 -1
  71. package/dist/src/tag/exports.js +2 -1
  72. package/dist/src/tag-group/dto/create-tag-group.dto.d.ts +78 -0
  73. package/dist/src/tag-group/dto/create-tag-group.dto.js +18 -0
  74. package/dist/src/tag-group/dto/delete-tag-group.dto.d.ts +47 -0
  75. package/dist/src/tag-group/dto/delete-tag-group.dto.js +10 -0
  76. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +207 -0
  77. package/dist/src/tag-group/dto/find-all-tag-group.dto.js +19 -0
  78. package/dist/src/{tag/dto/find-all-grouped-tag.dto.d.ts → tag-group/dto/find-all-with-tags.dto.d.ts} +24 -28
  79. package/dist/src/{tag/dto/find-all-grouped-tag.dto.js → tag-group/dto/find-all-with-tags.dto.js} +8 -8
  80. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +135 -0
  81. package/dist/src/tag-group/dto/find-one-tag-group.dto.js +17 -0
  82. package/dist/src/tag-group/dto/tag-group.dto.d.ts +9 -9
  83. package/dist/src/tag-group/dto/tag-group.dto.js +5 -3
  84. package/dist/src/tag-group/dto/update-tag-group.dto.d.ts +78 -0
  85. package/dist/src/tag-group/dto/update-tag-group.dto.js +18 -0
  86. package/dist/src/tag-group/exports.d.ts +6 -0
  87. package/dist/src/tag-group/exports.js +6 -0
  88. package/dist/types/prisma-schema/edge.js +4 -4
  89. package/dist/types/prisma-schema/index-browser.js +1 -1
  90. package/dist/types/prisma-schema/index.d.ts +53 -53
  91. package/dist/types/prisma-schema/index.js +4 -4
  92. package/dist/types/prisma-schema/package.json +1 -1
  93. package/dist/types/prisma-schema/schema.prisma +1 -1
  94. package/dist/types/prisma-schema/wasm.js +1 -1
  95. package/dist/types/schema.d.ts +787 -184
  96. package/package.json +10 -6
  97. package/dist/src/i18n/es.json +0 -125
@@ -63,14 +63,14 @@ export interface paths {
63
63
  patch?: never;
64
64
  trace?: never;
65
65
  };
66
- "/tag/all-grouped": {
66
+ "/tag/find-by-group/{groupId}": {
67
67
  parameters: {
68
68
  query?: never;
69
69
  header?: never;
70
70
  path?: never;
71
71
  cookie?: never;
72
72
  };
73
- get: operations["TagController_findAllGrouped"];
73
+ get: operations["TagController_findByGroup"];
74
74
  put?: never;
75
75
  post?: never;
76
76
  delete?: never;
@@ -79,36 +79,52 @@ export interface paths {
79
79
  patch?: never;
80
80
  trace?: never;
81
81
  };
82
- "/tag/find-by-group/{groupId}": {
82
+ "/tag/{id}": {
83
83
  parameters: {
84
84
  query?: never;
85
85
  header?: never;
86
86
  path?: never;
87
87
  cookie?: never;
88
88
  };
89
- get: operations["TagController_findByGroup"];
89
+ get: operations["TagController_findById"];
90
90
  put?: never;
91
91
  post?: never;
92
+ delete: operations["TagController_remove"];
93
+ options?: never;
94
+ head?: never;
95
+ patch: operations["TagController_update"];
96
+ trace?: never;
97
+ };
98
+ "/tag/massive-allocation": {
99
+ parameters: {
100
+ query?: never;
101
+ header?: never;
102
+ path?: never;
103
+ cookie?: never;
104
+ };
105
+ get?: never;
106
+ put?: never;
107
+ post: operations["TagController_massiveAllocation"];
92
108
  delete?: never;
93
109
  options?: never;
94
110
  head?: never;
95
111
  patch?: never;
96
112
  trace?: never;
97
113
  };
98
- "/tag/{id}": {
114
+ "/tag/massive-deallocation": {
99
115
  parameters: {
100
116
  query?: never;
101
117
  header?: never;
102
118
  path?: never;
103
119
  cookie?: never;
104
120
  };
105
- get: operations["TagController_findById"];
121
+ get?: never;
106
122
  put?: never;
107
- post?: never;
108
- delete: operations["TagController_remove"];
123
+ post: operations["TagController_massiveDeallocation"];
124
+ delete?: never;
109
125
  options?: never;
110
126
  head?: never;
111
- patch: operations["TagController_update"];
127
+ patch?: never;
112
128
  trace?: never;
113
129
  };
114
130
  "/account/create": {
@@ -159,6 +175,118 @@ export interface paths {
159
175
  patch?: never;
160
176
  trace?: never;
161
177
  };
178
+ "/tag-group/create": {
179
+ parameters: {
180
+ query?: never;
181
+ header?: never;
182
+ path?: never;
183
+ cookie?: never;
184
+ };
185
+ get?: never;
186
+ put?: never;
187
+ post: operations["TagGroupController_create"];
188
+ delete?: never;
189
+ options?: never;
190
+ head?: never;
191
+ patch?: never;
192
+ trace?: never;
193
+ };
194
+ "/tag-group/all": {
195
+ parameters: {
196
+ query?: never;
197
+ header?: never;
198
+ path?: never;
199
+ cookie?: never;
200
+ };
201
+ get: operations["TagGroupController_findAll"];
202
+ put?: never;
203
+ post?: never;
204
+ delete?: never;
205
+ options?: never;
206
+ head?: never;
207
+ patch?: never;
208
+ trace?: never;
209
+ };
210
+ "/tag-group/all-with-tags": {
211
+ parameters: {
212
+ query?: never;
213
+ header?: never;
214
+ path?: never;
215
+ cookie?: never;
216
+ };
217
+ get: operations["TagGroupController_findAllWithTags"];
218
+ put?: never;
219
+ post?: never;
220
+ delete?: never;
221
+ options?: never;
222
+ head?: never;
223
+ patch?: never;
224
+ trace?: never;
225
+ };
226
+ "/tag-group/{id}": {
227
+ parameters: {
228
+ query?: never;
229
+ header?: never;
230
+ path?: never;
231
+ cookie?: never;
232
+ };
233
+ get: operations["TagGroupController_findById"];
234
+ put?: never;
235
+ post?: never;
236
+ delete: operations["TagGroupController_delete"];
237
+ options?: never;
238
+ head?: never;
239
+ patch: operations["TagGroupController_update"];
240
+ trace?: never;
241
+ };
242
+ "/comment/create": {
243
+ parameters: {
244
+ query?: never;
245
+ header?: never;
246
+ path?: never;
247
+ cookie?: never;
248
+ };
249
+ get?: never;
250
+ put?: never;
251
+ post: operations["CommentController_createComment"];
252
+ delete?: never;
253
+ options?: never;
254
+ head?: never;
255
+ patch?: never;
256
+ trace?: never;
257
+ };
258
+ "/comment/get-by-profile/{id}": {
259
+ parameters: {
260
+ query?: never;
261
+ header?: never;
262
+ path?: never;
263
+ cookie?: never;
264
+ };
265
+ get: operations["CommentController_getCommentsByProfileId"];
266
+ put?: never;
267
+ post?: never;
268
+ delete?: never;
269
+ options?: never;
270
+ head?: never;
271
+ patch?: never;
272
+ trace?: never;
273
+ };
274
+ "/comment/toggle-solve/{id}": {
275
+ parameters: {
276
+ query?: never;
277
+ header?: never;
278
+ path?: never;
279
+ cookie?: never;
280
+ };
281
+ get?: never;
282
+ put?: never;
283
+ post?: never;
284
+ delete?: never;
285
+ options?: never;
286
+ head?: never;
287
+ patch: operations["CommentController_toggleSolveComment"];
288
+ trace?: never;
289
+ };
162
290
  }
163
291
  export type webhooks = Record<string, never>;
164
292
  export interface components {
@@ -172,28 +300,27 @@ export interface components {
172
300
  id?: string;
173
301
  username?: string;
174
302
  role?: "USER" | "ADMIN";
175
- created_at?: string;
176
- updated_at?: string;
177
- globalFilter?: {
178
- tags: {
179
- id: string;
180
- name: string;
181
- group: {
182
- id: string;
183
- color: string;
184
- isExclusive: boolean;
185
- };
186
- };
187
- active: boolean;
188
- };
189
303
  isGlobalFilterActive: boolean;
190
304
  fcmToken: string[];
305
+ created_at?: string;
306
+ updated_at?: string;
191
307
  };
192
308
  backendTokens: {
193
309
  accessToken?: string;
194
310
  refreshToken?: string;
311
+ expiresIn?: number;
195
312
  };
196
313
  };
314
+ ErrorDto: {
315
+ message: string[];
316
+ statusCode: number;
317
+ error: string;
318
+ };
319
+ RefreshResponseDto: {
320
+ refreshToken: string;
321
+ accessToken: string;
322
+ expiresIn: number;
323
+ };
197
324
  CreateTagDto: {
198
325
  name: string;
199
326
  groupId: string;
@@ -222,7 +349,224 @@ export interface components {
222
349
  };
223
350
  }[];
224
351
  };
225
- FindAllGroupedTagResponseDto: {
352
+ FindByGroupTagResponseDto: {
353
+ tags: {
354
+ id: string;
355
+ name: string;
356
+ groupId: string;
357
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
358
+ created_at: string;
359
+ updated_at: string;
360
+ group: {
361
+ id: string;
362
+ name: string;
363
+ color: string;
364
+ isExclusive: boolean;
365
+ created_at: string;
366
+ updated_at: string;
367
+ };
368
+ }[];
369
+ };
370
+ FindOneTagResponseDto: {
371
+ id: string;
372
+ name: string;
373
+ groupId: string;
374
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
375
+ created_at: string;
376
+ updated_at: string;
377
+ group: {
378
+ id?: string;
379
+ name?: string;
380
+ color?: string;
381
+ isExclusive?: boolean;
382
+ created_at?: string;
383
+ updated_at?: string;
384
+ };
385
+ };
386
+ UpdateTagDto: {
387
+ name: string;
388
+ groupId: string;
389
+ };
390
+ UpdateTagResponseDto: {
391
+ id: string;
392
+ name: string;
393
+ groupId: string;
394
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
395
+ created_at: string;
396
+ updated_at: string;
397
+ };
398
+ DeleteTagResponseDto: {
399
+ id: string;
400
+ name: string;
401
+ groupId: string;
402
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
403
+ created_at: string;
404
+ updated_at: string;
405
+ };
406
+ MassiveAllocationDto: {
407
+ tagIds: string[];
408
+ profileIds: string[];
409
+ };
410
+ MassiveAllocationResponseDto: {
411
+ profiles: {
412
+ id: string;
413
+ shortId: number;
414
+ phoneNumber: string;
415
+ secondaryPhoneNumber: string | null;
416
+ fullName: string;
417
+ firstName: string | null;
418
+ gender: string | null;
419
+ birthDate: string | null;
420
+ profilePictureUrl: string | null;
421
+ instagram: string | null;
422
+ mail: string | null;
423
+ dni: string | null;
424
+ alternativeNames: string[] | null;
425
+ birthLongitude: number | null;
426
+ birthLatitude: number | null;
427
+ residenceLongitude: number | null;
428
+ residenceLatitude: number | null;
429
+ isInTrash: boolean;
430
+ movedToTrashDate: string | null;
431
+ created_at: string;
432
+ updated_at: string;
433
+ }[];
434
+ };
435
+ MassiveDeallocationDto: {
436
+ tagIds: string[];
437
+ profileIds: string[];
438
+ };
439
+ MassiveDeallocationResponseDto: {
440
+ profiles: {
441
+ id: string;
442
+ shortId: number;
443
+ phoneNumber: string;
444
+ secondaryPhoneNumber: string | null;
445
+ fullName: string;
446
+ firstName: string | null;
447
+ gender: string | null;
448
+ birthDate: string | null;
449
+ profilePictureUrl: string | null;
450
+ instagram: string | null;
451
+ mail: string | null;
452
+ dni: string | null;
453
+ alternativeNames: string[] | null;
454
+ birthLongitude: number | null;
455
+ birthLatitude: number | null;
456
+ residenceLongitude: number | null;
457
+ residenceLatitude: number | null;
458
+ isInTrash: boolean;
459
+ movedToTrashDate: string | null;
460
+ created_at: string;
461
+ updated_at: string;
462
+ }[];
463
+ };
464
+ CreateAccountDto: {
465
+ username: string;
466
+ password: string;
467
+ role: "USER" | "ADMIN";
468
+ };
469
+ CreateAccountResponseDto: {
470
+ id: string;
471
+ username: string;
472
+ role: "USER" | "ADMIN";
473
+ isGlobalFilterActive: boolean;
474
+ fcmToken: string[];
475
+ };
476
+ UpdateGlobalFilterDto: {
477
+ active: boolean;
478
+ tagsIds: string[];
479
+ };
480
+ UpdateGlobalFilterResponseDto: {
481
+ id: string;
482
+ username: string;
483
+ password: string;
484
+ role: "USER" | "ADMIN";
485
+ isGlobalFilterActive: boolean;
486
+ fcmToken: string[];
487
+ created_at: string;
488
+ updated_at: string;
489
+ globalFilter: {
490
+ id: string;
491
+ name: string;
492
+ groupId: string;
493
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
494
+ created_at: string;
495
+ updated_at: string;
496
+ }[];
497
+ };
498
+ GetGlobalFilterResponseDto: {
499
+ isGlobalFilterActive: boolean;
500
+ globalFilter: {
501
+ id: string;
502
+ name: string;
503
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
504
+ group: {
505
+ id: string;
506
+ color: string;
507
+ isExclusive: boolean;
508
+ };
509
+ }[];
510
+ };
511
+ GetMeResponseDto: {
512
+ id: string;
513
+ username: string;
514
+ role: "USER" | "ADMIN";
515
+ isGlobalFilterActive: boolean;
516
+ fcmToken: string[];
517
+ created_at: string;
518
+ updated_at: string;
519
+ globalFilter: {
520
+ id: string;
521
+ name: string;
522
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
523
+ group: {
524
+ id: string;
525
+ color: string;
526
+ isExclusive: boolean;
527
+ };
528
+ }[];
529
+ tags: {
530
+ id: string;
531
+ name: string;
532
+ groupId: string;
533
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
534
+ created_at: string;
535
+ updated_at: string;
536
+ }[];
537
+ };
538
+ CreateTagGroupDto: {
539
+ color: string;
540
+ name: string;
541
+ isExclusive: boolean;
542
+ };
543
+ CreateTagGroupResponseDto: {
544
+ id: string;
545
+ name: string;
546
+ color: string;
547
+ isExclusive: boolean;
548
+ created_at: string;
549
+ updated_at: string;
550
+ };
551
+ FindAllTagGroupResponseDto: {
552
+ tagGroups: {
553
+ id: string;
554
+ name: string;
555
+ color: string;
556
+ isExclusive: boolean;
557
+ created_at: string;
558
+ updated_at: string;
559
+ tags: {
560
+ id: string;
561
+ name: string;
562
+ groupId: string;
563
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
564
+ created_at: string;
565
+ updated_at: string;
566
+ }[];
567
+ }[];
568
+ };
569
+ FindAllWithTagsResponseDto: {
226
570
  groups: {
227
571
  id: string;
228
572
  name: string;
@@ -244,7 +588,13 @@ export interface components {
244
588
  };
245
589
  }[];
246
590
  };
247
- FindByGroupTagResponseDto: {
591
+ FindOneTagGroupResponseDto: {
592
+ id: string;
593
+ name: string;
594
+ color: string;
595
+ isExclusive: boolean;
596
+ created_at: string;
597
+ updated_at: string;
248
598
  tags: {
249
599
  id: string;
250
600
  name: string;
@@ -252,122 +602,343 @@ export interface components {
252
602
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
253
603
  created_at: string;
254
604
  updated_at: string;
255
- group: {
256
- id: string;
257
- name: string;
258
- color: string;
259
- isExclusive: boolean;
260
- created_at: string;
261
- updated_at: string;
605
+ }[];
606
+ };
607
+ UpdateTagGroupDto: {
608
+ name: string;
609
+ color: string;
610
+ isExclusive: boolean;
611
+ };
612
+ UpdateTagGroupResponseDto: {
613
+ id: string;
614
+ name: string;
615
+ color: string;
616
+ isExclusive: boolean;
617
+ created_at: string;
618
+ updated_at: string;
619
+ };
620
+ DeleteTagGroupResponseDto: {
621
+ id: string;
622
+ name: string;
623
+ color: string;
624
+ isExclusive: boolean;
625
+ created_at: string;
626
+ updated_at: string;
627
+ };
628
+ CreateCommentDto: {
629
+ content: string;
630
+ profileId: string;
631
+ isSolvable: boolean;
632
+ };
633
+ CreateCommentResponseDto: {
634
+ id: string;
635
+ content: string;
636
+ createdBy: string;
637
+ profileId: string;
638
+ isSolvable: boolean;
639
+ isSolved: boolean;
640
+ solvedAt: string | null;
641
+ solvedBy: string;
642
+ created_at: string;
643
+ updated_at: string;
644
+ };
645
+ GetByProfileCommentResponseDto: {
646
+ comments: {
647
+ id: string;
648
+ content: string;
649
+ createdBy: string;
650
+ profileId: string;
651
+ isSolvable: boolean;
652
+ isSolved: boolean;
653
+ solvedAt: string | null;
654
+ solvedBy?: string;
655
+ created_at: string;
656
+ updated_at: string;
657
+ account: {
658
+ username: string;
659
+ };
660
+ }[];
661
+ };
662
+ ToggleSolveCommentResponseDto: {
663
+ id: string;
664
+ content: string;
665
+ createdBy: string;
666
+ profileId: string;
667
+ isSolvable: boolean;
668
+ isSolved: boolean;
669
+ solvedAt: string | null;
670
+ solvedBy: string;
671
+ created_at: string;
672
+ updated_at: string;
673
+ };
674
+ };
675
+ responses: never;
676
+ parameters: never;
677
+ requestBodies: never;
678
+ headers: never;
679
+ pathItems: never;
680
+ }
681
+ export type $defs = Record<string, never>;
682
+ export interface operations {
683
+ AuthController_loginUser: {
684
+ parameters: {
685
+ query?: never;
686
+ header?: never;
687
+ path?: never;
688
+ cookie?: never;
689
+ };
690
+ requestBody: {
691
+ content: {
692
+ "application/json": components["schemas"]["LoginDto"];
693
+ };
694
+ };
695
+ responses: {
696
+ 200: {
697
+ headers: {
698
+ [name: string]: unknown;
699
+ };
700
+ content: {
701
+ "application/json": components["schemas"]["LoginResponseDto"];
702
+ };
703
+ };
704
+ 401: {
705
+ headers: {
706
+ [name: string]: unknown;
707
+ };
708
+ content: {
709
+ "application/json": components["schemas"]["ErrorDto"];
710
+ };
711
+ };
712
+ };
713
+ };
714
+ AuthController_refreshToken: {
715
+ parameters: {
716
+ query?: never;
717
+ header?: never;
718
+ path?: never;
719
+ cookie?: never;
720
+ };
721
+ requestBody?: never;
722
+ responses: {
723
+ 200: {
724
+ headers: {
725
+ [name: string]: unknown;
726
+ };
727
+ content: {
728
+ "application/json": components["schemas"]["RefreshResponseDto"];
729
+ };
730
+ };
731
+ };
732
+ };
733
+ TagController_create: {
734
+ parameters: {
735
+ query?: never;
736
+ header?: never;
737
+ path?: never;
738
+ cookie?: never;
739
+ };
740
+ requestBody: {
741
+ content: {
742
+ "application/json": components["schemas"]["CreateTagDto"];
743
+ };
744
+ };
745
+ responses: {
746
+ 201: {
747
+ headers: {
748
+ [name: string]: unknown;
749
+ };
750
+ content: {
751
+ "application/json": components["schemas"]["CreateTagResponseDto"];
752
+ };
753
+ };
754
+ };
755
+ };
756
+ TagController_findAll: {
757
+ parameters: {
758
+ query?: never;
759
+ header?: never;
760
+ path?: never;
761
+ cookie?: never;
762
+ };
763
+ requestBody?: never;
764
+ responses: {
765
+ 200: {
766
+ headers: {
767
+ [name: string]: unknown;
768
+ };
769
+ content: {
770
+ "application/json": components["schemas"]["FindAllTagResponseDto"];
771
+ };
772
+ };
773
+ };
774
+ };
775
+ TagController_findByGroup: {
776
+ parameters: {
777
+ query?: never;
778
+ header?: never;
779
+ path: {
780
+ groupId: string;
781
+ };
782
+ cookie?: never;
783
+ };
784
+ requestBody?: never;
785
+ responses: {
786
+ 200: {
787
+ headers: {
788
+ [name: string]: unknown;
789
+ };
790
+ content: {
791
+ "application/json": components["schemas"]["FindByGroupTagResponseDto"];
792
+ };
793
+ };
794
+ 404: {
795
+ headers: {
796
+ [name: string]: unknown;
797
+ };
798
+ content: {
799
+ "application/json": components["schemas"]["ErrorDto"];
800
+ };
801
+ };
802
+ };
803
+ };
804
+ TagController_findById: {
805
+ parameters: {
806
+ query?: never;
807
+ header?: never;
808
+ path: {
809
+ id: string;
810
+ };
811
+ cookie?: never;
812
+ };
813
+ requestBody?: never;
814
+ responses: {
815
+ 200: {
816
+ headers: {
817
+ [name: string]: unknown;
818
+ };
819
+ content: {
820
+ "application/json": components["schemas"]["FindOneTagResponseDto"];
821
+ };
822
+ };
823
+ 404: {
824
+ headers: {
825
+ [name: string]: unknown;
826
+ };
827
+ content: {
828
+ "application/json": components["schemas"]["ErrorDto"];
829
+ };
830
+ };
831
+ };
832
+ };
833
+ TagController_remove: {
834
+ parameters: {
835
+ query?: never;
836
+ header?: never;
837
+ path: {
838
+ id: string;
839
+ };
840
+ cookie?: never;
841
+ };
842
+ requestBody?: never;
843
+ responses: {
844
+ 404: {
845
+ headers: {
846
+ [name: string]: unknown;
847
+ };
848
+ content: {
849
+ "application/json": components["schemas"]["ErrorDto"];
850
+ };
851
+ };
852
+ 410: {
853
+ headers: {
854
+ [name: string]: unknown;
855
+ };
856
+ content: {
857
+ "application/json": components["schemas"]["DeleteTagResponseDto"];
262
858
  };
263
- }[];
859
+ };
264
860
  };
265
- FindOneTagResponseDto: {
266
- id: string;
267
- name: string;
268
- groupId: string;
269
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
270
- created_at: string;
271
- updated_at: string;
272
- group: {
273
- id?: string;
274
- name?: string;
275
- color?: string;
276
- isExclusive?: boolean;
277
- created_at?: string;
278
- updated_at?: string;
861
+ };
862
+ TagController_update: {
863
+ parameters: {
864
+ query?: never;
865
+ header?: never;
866
+ path: {
867
+ id: string;
279
868
  };
869
+ cookie?: never;
280
870
  };
281
- UpdateTagDto: {
282
- name: string;
283
- groupId: string;
871
+ requestBody: {
872
+ content: {
873
+ "application/json": components["schemas"]["UpdateTagDto"];
874
+ };
284
875
  };
285
- DeleteTagResponseDto: {
286
- id: string;
287
- name: string;
288
- groupId: string;
289
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
290
- created_at: string;
291
- updated_at: string;
876
+ responses: {
877
+ 200: {
878
+ headers: {
879
+ [name: string]: unknown;
880
+ };
881
+ content: {
882
+ "application/json": components["schemas"]["UpdateTagResponseDto"];
883
+ };
884
+ };
885
+ 404: {
886
+ headers: {
887
+ [name: string]: unknown;
888
+ };
889
+ content: {
890
+ "application/json": components["schemas"]["ErrorDto"];
891
+ };
892
+ };
292
893
  };
293
- CreateAccountDto: {
294
- username: string;
295
- password: string;
296
- role: "USER" | "ADMIN";
894
+ };
895
+ TagController_massiveAllocation: {
896
+ parameters: {
897
+ query?: never;
898
+ header?: never;
899
+ path?: never;
900
+ cookie?: never;
297
901
  };
298
- CreateAccountResponseDto: {
299
- id: string;
300
- username: string;
301
- role: "USER" | "ADMIN";
302
- isGlobalFilterActive: boolean;
303
- fcmToken: string[];
902
+ requestBody: {
903
+ content: {
904
+ "application/json": components["schemas"]["MassiveAllocationDto"];
905
+ };
304
906
  };
305
- UpdateGlobalFilterDto: {
306
- active: boolean;
307
- tagsIds: string[];
907
+ responses: {
908
+ 200: {
909
+ headers: {
910
+ [name: string]: unknown;
911
+ };
912
+ content: {
913
+ "application/json": components["schemas"]["MassiveAllocationResponseDto"];
914
+ };
915
+ };
308
916
  };
309
- UpdateGlobalFilterResponseDto: {
310
- id: string;
311
- nombreUsuario: string;
312
- esAdmin: boolean;
313
- fcmToken: string | null;
314
- filtroBaseActivo: boolean;
315
- filtroBase: {
316
- active?: boolean;
317
- etiquetas?: {
318
- id: string;
319
- name: string;
320
- groupId: string;
321
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
322
- created_at: string;
323
- updated_at: string;
324
- }[];
917
+ };
918
+ TagController_massiveDeallocation: {
919
+ parameters: {
920
+ query?: never;
921
+ header?: never;
922
+ path?: never;
923
+ cookie?: never;
924
+ };
925
+ requestBody: {
926
+ content: {
927
+ "application/json": components["schemas"]["MassiveDeallocationDto"];
325
928
  };
326
929
  };
327
- GetGlobalFilterResponseDto: {
328
- active: boolean;
329
- globalFilter: {
330
- id: string;
331
- name: string;
332
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
333
- group: {
334
- id: string;
335
- color: string;
336
- isExclusive: boolean;
930
+ responses: {
931
+ 200: {
932
+ headers: {
933
+ [name: string]: unknown;
337
934
  };
338
- }[];
339
- };
340
- GetMeResponseDto: {
341
- id: string;
342
- username: string;
343
- role: "USER" | "ADMIN";
344
- created_at: string;
345
- updated_at: string;
346
- globalFilter: {
347
- tags?: {
348
- id: string;
349
- name: string;
350
- group: {
351
- id: string;
352
- color: string;
353
- isExclusive: boolean;
354
- };
935
+ content: {
936
+ "application/json": components["schemas"]["MassiveDeallocationResponseDto"];
355
937
  };
356
- active?: boolean;
357
938
  };
358
- isGlobalFilterActive: boolean;
359
- fcmToken: string[];
360
939
  };
361
940
  };
362
- responses: never;
363
- parameters: never;
364
- requestBodies: never;
365
- headers: never;
366
- pathItems: never;
367
- }
368
- export type $defs = Record<string, never>;
369
- export interface operations {
370
- AuthController_loginUser: {
941
+ AccountController_create: {
371
942
  parameters: {
372
943
  query?: never;
373
944
  header?: never;
@@ -376,21 +947,21 @@ export interface operations {
376
947
  };
377
948
  requestBody: {
378
949
  content: {
379
- "application/json": components["schemas"]["LoginDto"];
950
+ "application/json": components["schemas"]["CreateAccountDto"];
380
951
  };
381
952
  };
382
953
  responses: {
383
- 200: {
954
+ 201: {
384
955
  headers: {
385
956
  [name: string]: unknown;
386
957
  };
387
958
  content: {
388
- "application/json": components["schemas"]["LoginResponseDto"];
959
+ "application/json": components["schemas"]["CreateAccountResponseDto"];
389
960
  };
390
961
  };
391
962
  };
392
963
  };
393
- AuthController_refreshToken: {
964
+ AccountController_getGlobalFilter: {
394
965
  parameters: {
395
966
  query?: never;
396
967
  header?: never;
@@ -399,15 +970,17 @@ export interface operations {
399
970
  };
400
971
  requestBody?: never;
401
972
  responses: {
402
- 201: {
973
+ 200: {
403
974
  headers: {
404
975
  [name: string]: unknown;
405
976
  };
406
- content?: never;
977
+ content: {
978
+ "application/json": components["schemas"]["GetGlobalFilterResponseDto"];
979
+ };
407
980
  };
408
981
  };
409
982
  };
410
- TagController_create: {
983
+ AccountController_updateGlobalFilter: {
411
984
  parameters: {
412
985
  query?: never;
413
986
  header?: never;
@@ -416,21 +989,21 @@ export interface operations {
416
989
  };
417
990
  requestBody: {
418
991
  content: {
419
- "application/json": components["schemas"]["CreateTagDto"];
992
+ "application/json": components["schemas"]["UpdateGlobalFilterDto"];
420
993
  };
421
994
  };
422
995
  responses: {
423
- 201: {
996
+ 200: {
424
997
  headers: {
425
998
  [name: string]: unknown;
426
999
  };
427
1000
  content: {
428
- "application/json": components["schemas"]["CreateTagResponseDto"];
1001
+ "application/json": components["schemas"]["UpdateGlobalFilterResponseDto"];
429
1002
  };
430
1003
  };
431
1004
  };
432
1005
  };
433
- TagController_findAll: {
1006
+ AccountController_getMe: {
434
1007
  parameters: {
435
1008
  query?: never;
436
1009
  header?: never;
@@ -444,37 +1017,39 @@ export interface operations {
444
1017
  [name: string]: unknown;
445
1018
  };
446
1019
  content: {
447
- "application/json": components["schemas"]["FindAllTagResponseDto"];
1020
+ "application/json": components["schemas"]["GetMeResponseDto"];
448
1021
  };
449
1022
  };
450
1023
  };
451
1024
  };
452
- TagController_findAllGrouped: {
1025
+ TagGroupController_create: {
453
1026
  parameters: {
454
1027
  query?: never;
455
1028
  header?: never;
456
1029
  path?: never;
457
1030
  cookie?: never;
458
1031
  };
459
- requestBody?: never;
1032
+ requestBody: {
1033
+ content: {
1034
+ "application/json": components["schemas"]["CreateTagGroupDto"];
1035
+ };
1036
+ };
460
1037
  responses: {
461
- 200: {
1038
+ 201: {
462
1039
  headers: {
463
1040
  [name: string]: unknown;
464
1041
  };
465
1042
  content: {
466
- "application/json": components["schemas"]["FindAllGroupedTagResponseDto"];
1043
+ "application/json": components["schemas"]["CreateTagGroupResponseDto"];
467
1044
  };
468
1045
  };
469
1046
  };
470
1047
  };
471
- TagController_findByGroup: {
1048
+ TagGroupController_findAll: {
472
1049
  parameters: {
473
1050
  query?: never;
474
1051
  header?: never;
475
- path: {
476
- groupId: string;
477
- };
1052
+ path?: never;
478
1053
  cookie?: never;
479
1054
  };
480
1055
  requestBody?: never;
@@ -484,18 +1059,31 @@ export interface operations {
484
1059
  [name: string]: unknown;
485
1060
  };
486
1061
  content: {
487
- "application/json": components["schemas"]["FindByGroupTagResponseDto"];
1062
+ "application/json": components["schemas"]["FindAllTagGroupResponseDto"];
488
1063
  };
489
1064
  };
490
- 404: {
1065
+ };
1066
+ };
1067
+ TagGroupController_findAllWithTags: {
1068
+ parameters: {
1069
+ query?: never;
1070
+ header?: never;
1071
+ path?: never;
1072
+ cookie?: never;
1073
+ };
1074
+ requestBody?: never;
1075
+ responses: {
1076
+ 200: {
491
1077
  headers: {
492
1078
  [name: string]: unknown;
493
1079
  };
494
- content?: never;
1080
+ content: {
1081
+ "application/json": components["schemas"]["FindAllWithTagsResponseDto"];
1082
+ };
495
1083
  };
496
1084
  };
497
1085
  };
498
- TagController_findById: {
1086
+ TagGroupController_findById: {
499
1087
  parameters: {
500
1088
  query?: never;
501
1089
  header?: never;
@@ -511,18 +1099,20 @@ export interface operations {
511
1099
  [name: string]: unknown;
512
1100
  };
513
1101
  content: {
514
- "application/json": components["schemas"]["FindOneTagResponseDto"];
1102
+ "application/json": components["schemas"]["FindOneTagGroupResponseDto"];
515
1103
  };
516
1104
  };
517
1105
  404: {
518
1106
  headers: {
519
1107
  [name: string]: unknown;
520
1108
  };
521
- content?: never;
1109
+ content: {
1110
+ "application/json": components["schemas"]["ErrorDto"];
1111
+ };
522
1112
  };
523
1113
  };
524
1114
  };
525
- TagController_remove: {
1115
+ TagGroupController_delete: {
526
1116
  parameters: {
527
1117
  query?: never;
528
1118
  header?: never;
@@ -533,23 +1123,25 @@ export interface operations {
533
1123
  };
534
1124
  requestBody?: never;
535
1125
  responses: {
536
- 404: {
1126
+ 200: {
537
1127
  headers: {
538
1128
  [name: string]: unknown;
539
1129
  };
540
- content?: never;
1130
+ content: {
1131
+ "application/json": components["schemas"]["DeleteTagGroupResponseDto"];
1132
+ };
541
1133
  };
542
- 410: {
1134
+ 404: {
543
1135
  headers: {
544
1136
  [name: string]: unknown;
545
1137
  };
546
1138
  content: {
547
- "application/json": components["schemas"]["DeleteTagResponseDto"];
1139
+ "application/json": components["schemas"]["ErrorDto"];
548
1140
  };
549
1141
  };
550
1142
  };
551
1143
  };
552
- TagController_update: {
1144
+ TagGroupController_update: {
553
1145
  parameters: {
554
1146
  query?: never;
555
1147
  header?: never;
@@ -560,7 +1152,7 @@ export interface operations {
560
1152
  };
561
1153
  requestBody: {
562
1154
  content: {
563
- "application/json": components["schemas"]["UpdateTagDto"];
1155
+ "application/json": components["schemas"]["UpdateTagGroupDto"];
564
1156
  };
565
1157
  };
566
1158
  responses: {
@@ -569,18 +1161,20 @@ export interface operations {
569
1161
  [name: string]: unknown;
570
1162
  };
571
1163
  content: {
572
- "application/json": components["schemas"]["FindOneTagResponseDto"];
1164
+ "application/json": components["schemas"]["UpdateTagGroupResponseDto"];
573
1165
  };
574
1166
  };
575
1167
  404: {
576
1168
  headers: {
577
1169
  [name: string]: unknown;
578
1170
  };
579
- content?: never;
1171
+ content: {
1172
+ "application/json": components["schemas"]["ErrorDto"];
1173
+ };
580
1174
  };
581
1175
  };
582
1176
  };
583
- AccountController_create: {
1177
+ CommentController_createComment: {
584
1178
  parameters: {
585
1179
  query?: never;
586
1180
  header?: never;
@@ -589,7 +1183,7 @@ export interface operations {
589
1183
  };
590
1184
  requestBody: {
591
1185
  content: {
592
- "application/json": components["schemas"]["CreateAccountDto"];
1186
+ "application/json": components["schemas"]["CreateCommentDto"];
593
1187
  };
594
1188
  };
595
1189
  responses: {
@@ -598,12 +1192,20 @@ export interface operations {
598
1192
  [name: string]: unknown;
599
1193
  };
600
1194
  content: {
601
- "application/json": components["schemas"]["CreateAccountResponseDto"];
1195
+ "application/json": components["schemas"]["CreateCommentResponseDto"];
1196
+ };
1197
+ };
1198
+ 404: {
1199
+ headers: {
1200
+ [name: string]: unknown;
1201
+ };
1202
+ content: {
1203
+ "application/json": components["schemas"]["ErrorDto"];
602
1204
  };
603
1205
  };
604
1206
  };
605
1207
  };
606
- AccountController_getGlobalFilter: {
1208
+ CommentController_getCommentsByProfileId: {
607
1209
  parameters: {
608
1210
  query?: never;
609
1211
  header?: never;
@@ -617,35 +1219,20 @@ export interface operations {
617
1219
  [name: string]: unknown;
618
1220
  };
619
1221
  content: {
620
- "application/json": components["schemas"]["GetGlobalFilterResponseDto"];
1222
+ "application/json": components["schemas"]["GetByProfileCommentResponseDto"];
621
1223
  };
622
1224
  };
623
- };
624
- };
625
- AccountController_updateGlobalFilter: {
626
- parameters: {
627
- query?: never;
628
- header?: never;
629
- path?: never;
630
- cookie?: never;
631
- };
632
- requestBody: {
633
- content: {
634
- "application/json": components["schemas"]["UpdateGlobalFilterDto"];
635
- };
636
- };
637
- responses: {
638
- 200: {
1225
+ 404: {
639
1226
  headers: {
640
1227
  [name: string]: unknown;
641
1228
  };
642
1229
  content: {
643
- "application/json": components["schemas"]["UpdateGlobalFilterResponseDto"];
1230
+ "application/json": components["schemas"]["ErrorDto"];
644
1231
  };
645
1232
  };
646
1233
  };
647
1234
  };
648
- AccountController_getMe: {
1235
+ CommentController_toggleSolveComment: {
649
1236
  parameters: {
650
1237
  query?: never;
651
1238
  header?: never;
@@ -659,7 +1246,23 @@ export interface operations {
659
1246
  [name: string]: unknown;
660
1247
  };
661
1248
  content: {
662
- "application/json": components["schemas"]["GetMeResponseDto"];
1249
+ "application/json": components["schemas"]["ToggleSolveCommentResponseDto"];
1250
+ };
1251
+ };
1252
+ 404: {
1253
+ headers: {
1254
+ [name: string]: unknown;
1255
+ };
1256
+ content: {
1257
+ "application/json": components["schemas"]["ErrorDto"];
1258
+ };
1259
+ };
1260
+ 409: {
1261
+ headers: {
1262
+ [name: string]: unknown;
1263
+ };
1264
+ content: {
1265
+ "application/json": components["schemas"]["ErrorDto"];
663
1266
  };
664
1267
  };
665
1268
  };