@appconda/nextjs 1.0.207 → 1.0.208

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.
@@ -3,7 +3,7 @@
3
3
  import { z } from 'zod';
4
4
  import { AppcondaException } from '../../client';
5
5
  import { getSDKForCurrentUser } from '../../getSDKForCurrentUser';
6
- import { CreateListSchema, CreateProjectSchema, CreateSprintSchema, CreateTaskListSchema, CreateTaskSchema, CreateViewSchema, DeleteSprintSchema, DeleteTaskListSchema, GetProjectSchema, GetSprintSchema, GetTaskListSchema, ListProjectsSchema, ListTaskListsSchema, ListTasksInListSchema, ListTasksSchema, ListViewsSchema, MoveTaskSchema, UpdateSprintSchema, UpdateTaskListSchema } from './schema';
6
+ import { ChangePostCategorySchema, ChangePostStatusSchema, CreateBoardSchema, CreateChangelogSchema, CreateCommentSchema, CreateListSchema, CreatePostCategorySchema, CreatePostSchema, CreateProjectSchema, CreateRoadmapSchema, CreateSprintSchema, CreateStatusChangeSchema, CreateTagSchema, CreateTaskListSchema, CreateTaskSchema, CreateViewSchema, CreateVoteSchema, DeleteBoardSchema, DeleteCommentSchema, DeletePostCategorySchema, DeleteSprintSchema, DeleteTaskListSchema, DeleteVoteSchema, GetBoardSchema, GetChangeLogSchema, GetCommentSchema, GetPostCategorySchema, GetPostSchema, GetProjectSchema, GetRoadmapSchema, GetSprintSchema, GetTagSchema, GetTaskListSchema, GetVoteSchema, ListBoardsSchema, ListChangeLogsSchema, ListCommentsSchema, ListPostCategoriesSchema, ListPostsSchema, ListProjectsSchema, ListTagsSchema, ListTaskListsSchema, ListTasksInListSchema, ListTasksSchema, ListViewsSchema, ListVotesSchema, MoveTaskSchema, UpdateSprintSchema, UpdateTaskListSchema } from './schema';
7
7
 
8
8
  export const CreateProject = async (parsedInput: z.infer<typeof CreateProjectSchema>) => {
9
9
  try {
@@ -306,3 +306,387 @@ export const ListTasks = async (parsedInput: z.infer<typeof ListTasksSchema>) =>
306
306
  }
307
307
  };
308
308
 
309
+ // Feedback modülü action fonksiyonları
310
+ export const ChangePostCategory = async (parsedInput: z.infer<typeof ChangePostCategorySchema>) => {
311
+ try {
312
+ const { task } = await getSDKForCurrentUser();
313
+ return await task.ChangePostCategory(parsedInput);
314
+ } catch (error) {
315
+ if (error instanceof AppcondaException) {
316
+ throw new Error(error.message);
317
+ }
318
+ throw error;
319
+ }
320
+ };
321
+
322
+ export const ChangePostStatus = async (parsedInput: z.infer<typeof ChangePostStatusSchema>) => {
323
+ try {
324
+ const { task } = await getSDKForCurrentUser();
325
+ return await task.ChangePostStatus(parsedInput);
326
+ } catch (error) {
327
+ if (error instanceof AppcondaException) {
328
+ throw new Error(error.message);
329
+ }
330
+ throw error;
331
+ }
332
+ };
333
+
334
+ export const CreateBoard = async (parsedInput: z.infer<typeof CreateBoardSchema>) => {
335
+ try {
336
+ const { task } = await getSDKForCurrentUser();
337
+ return await task.CreateBoard(parsedInput);
338
+ } catch (error) {
339
+ if (error instanceof AppcondaException) {
340
+ throw new Error(error.message);
341
+ }
342
+ throw error;
343
+ }
344
+ };
345
+
346
+ export const GetBoard = async (parsedInput: z.infer<typeof GetBoardSchema>) => {
347
+ try {
348
+ const { task } = await getSDKForCurrentUser();
349
+ return await task.GetBoard(parsedInput);
350
+ } catch (error) {
351
+ if (error instanceof AppcondaException) {
352
+ throw new Error(error.message);
353
+ }
354
+ throw error;
355
+ }
356
+ };
357
+
358
+ export const ListBoards = async (parsedInput: z.infer<typeof ListBoardsSchema>) => {
359
+ try {
360
+ const { task } = await getSDKForCurrentUser();
361
+ return await task.ListBoards(parsedInput);
362
+ } catch (error) {
363
+ if (error instanceof AppcondaException) {
364
+ throw new Error(error.message);
365
+ }
366
+ throw error;
367
+ }
368
+ };
369
+
370
+ export const DeleteBoard = async (parsedInput: z.infer<typeof DeleteBoardSchema>) => {
371
+ try {
372
+ const { task } = await getSDKForCurrentUser();
373
+ return await task.DeleteBoard(parsedInput);
374
+ } catch (error) {
375
+ if (error instanceof AppcondaException) {
376
+ throw new Error(error.message);
377
+ }
378
+ throw error;
379
+ }
380
+ };
381
+
382
+ export const CreateChangelog = async (parsedInput: z.infer<typeof CreateChangelogSchema>) => {
383
+ try {
384
+ const { task } = await getSDKForCurrentUser();
385
+ return await task.CreateChangelog(parsedInput);
386
+ } catch (error) {
387
+ if (error instanceof AppcondaException) {
388
+ throw new Error(error.message);
389
+ }
390
+ throw error;
391
+ }
392
+ };
393
+
394
+ export const CreateComment = async (parsedInput: z.infer<typeof CreateCommentSchema>) => {
395
+ try {
396
+ const { task } = await getSDKForCurrentUser();
397
+ return await task.CreateComment(parsedInput);
398
+ } catch (error) {
399
+ if (error instanceof AppcondaException) {
400
+ throw new Error(error.message);
401
+ }
402
+ throw error;
403
+ }
404
+ };
405
+
406
+ export const CreatePost = async (parsedInput: z.infer<typeof CreatePostSchema>) => {
407
+ try {
408
+ const { task } = await getSDKForCurrentUser();
409
+ return await task.CreatePost(parsedInput);
410
+ } catch (error) {
411
+ if (error instanceof AppcondaException) {
412
+ throw new Error(error.message);
413
+ }
414
+ throw error;
415
+ }
416
+ };
417
+
418
+ export const CreatePostCategory = async (parsedInput: z.infer<typeof CreatePostCategorySchema>) => {
419
+ try {
420
+ const { task } = await getSDKForCurrentUser();
421
+ return await task.CreatePostCategory(parsedInput);
422
+ } catch (error) {
423
+ if (error instanceof AppcondaException) {
424
+ throw new Error(error.message);
425
+ }
426
+ throw error;
427
+ }
428
+ };
429
+
430
+ export const CreateRoadmap = async (parsedInput: z.infer<typeof CreateRoadmapSchema>) => {
431
+ try {
432
+ const { task } = await getSDKForCurrentUser();
433
+ return await task.CreateRoadmap(parsedInput);
434
+ } catch (error) {
435
+ if (error instanceof AppcondaException) {
436
+ throw new Error(error.message);
437
+ }
438
+ throw error;
439
+ }
440
+ };
441
+
442
+ export const CreateStatusChange = async (parsedInput: z.infer<typeof CreateStatusChangeSchema>) => {
443
+ try {
444
+ const { task } = await getSDKForCurrentUser();
445
+ return await task.CreateStatusChange(parsedInput);
446
+ } catch (error) {
447
+ if (error instanceof AppcondaException) {
448
+ throw new Error(error.message);
449
+ }
450
+ throw error;
451
+ }
452
+ };
453
+
454
+ export const CreateTag = async (parsedInput: z.infer<typeof CreateTagSchema>) => {
455
+ try {
456
+ const { task } = await getSDKForCurrentUser();
457
+ return await task.CreateTag(parsedInput);
458
+ } catch (error) {
459
+ if (error instanceof AppcondaException) {
460
+ throw new Error(error.message);
461
+ }
462
+ throw error;
463
+ }
464
+ };
465
+
466
+ export const CreateVote = async (parsedInput: z.infer<typeof CreateVoteSchema>) => {
467
+ try {
468
+ const { task } = await getSDKForCurrentUser();
469
+ return await task.CreateVote(parsedInput);
470
+ } catch (error) {
471
+ if (error instanceof AppcondaException) {
472
+ throw new Error(error.message);
473
+ }
474
+ throw error;
475
+ }
476
+ };
477
+
478
+ export const DeleteComment = async (parsedInput: z.infer<typeof DeleteCommentSchema>) => {
479
+ try {
480
+ const { task } = await getSDKForCurrentUser();
481
+ return await task.DeleteComment(parsedInput);
482
+ } catch (error) {
483
+ if (error instanceof AppcondaException) {
484
+ throw new Error(error.message);
485
+ }
486
+ throw error;
487
+ }
488
+ };
489
+
490
+ export const DeletePostCategory = async (parsedInput: z.infer<typeof DeletePostCategorySchema>) => {
491
+ try {
492
+ const { task } = await getSDKForCurrentUser();
493
+ return await task.DeletePostCategory(parsedInput);
494
+ } catch (error) {
495
+ if (error instanceof AppcondaException) {
496
+ throw new Error(error.message);
497
+ }
498
+ throw error;
499
+ }
500
+ };
501
+
502
+ export const DeleteVote = async (parsedInput: z.infer<typeof DeleteVoteSchema>) => {
503
+ try {
504
+ const { task } = await getSDKForCurrentUser();
505
+ return await task.DeleteVote(parsedInput);
506
+ } catch (error) {
507
+ if (error instanceof AppcondaException) {
508
+ throw new Error(error.message);
509
+ }
510
+ throw error;
511
+ }
512
+ };
513
+
514
+ export const GetChangeLog = async (parsedInput: z.infer<typeof GetChangeLogSchema>) => {
515
+ try {
516
+ const { task } = await getSDKForCurrentUser();
517
+ return await task.GetChangeLog(parsedInput);
518
+ } catch (error) {
519
+ if (error instanceof AppcondaException) {
520
+ throw new Error(error.message);
521
+ }
522
+ throw error;
523
+ }
524
+ };
525
+
526
+ export const GetComment = async (parsedInput: z.infer<typeof GetCommentSchema>) => {
527
+ try {
528
+ const { task } = await getSDKForCurrentUser();
529
+ return await task.GetComment(parsedInput);
530
+ } catch (error) {
531
+ if (error instanceof AppcondaException) {
532
+ throw new Error(error.message);
533
+ }
534
+ throw error;
535
+ }
536
+ };
537
+
538
+ export const GetPost = async (parsedInput: z.infer<typeof GetPostSchema>) => {
539
+ try {
540
+ const { task } = await getSDKForCurrentUser();
541
+ return await task.GetPost(parsedInput);
542
+ } catch (error) {
543
+ if (error instanceof AppcondaException) {
544
+ throw new Error(error.message);
545
+ }
546
+ throw error;
547
+ }
548
+ };
549
+
550
+ export const GetPostCategory = async (parsedInput: z.infer<typeof GetPostCategorySchema>) => {
551
+ try {
552
+ const { task } = await getSDKForCurrentUser();
553
+ return await task.GetPostCategory(parsedInput);
554
+ } catch (error) {
555
+ if (error instanceof AppcondaException) {
556
+ throw new Error(error.message);
557
+ }
558
+ throw error;
559
+ }
560
+ };
561
+
562
+ export const GetRoadmap = async (parsedInput: z.infer<typeof GetRoadmapSchema>) => {
563
+ try {
564
+ const { task } = await getSDKForCurrentUser();
565
+ return await task.GetRoadmap(parsedInput);
566
+ } catch (error) {
567
+ if (error instanceof AppcondaException) {
568
+ throw new Error(error.message);
569
+ }
570
+ throw error;
571
+ }
572
+ };
573
+
574
+ export const GetTag = async (parsedInput: z.infer<typeof GetTagSchema>) => {
575
+ try {
576
+ const { task } = await getSDKForCurrentUser();
577
+ return await task.GetTag(parsedInput);
578
+ } catch (error) {
579
+ if (error instanceof AppcondaException) {
580
+ throw new Error(error.message);
581
+ }
582
+ throw error;
583
+ }
584
+ };
585
+
586
+ export const GetVote = async (parsedInput: z.infer<typeof GetVoteSchema>) => {
587
+ try {
588
+ const { task } = await getSDKForCurrentUser();
589
+ return await task.GetVote(parsedInput);
590
+ } catch (error) {
591
+ if (error instanceof AppcondaException) {
592
+ throw new Error(error.message);
593
+ }
594
+ throw error;
595
+ }
596
+ };
597
+
598
+ export const ListChangeLogs = async (parsedInput: z.infer<typeof ListChangeLogsSchema>) => {
599
+ try {
600
+ const { task } = await getSDKForCurrentUser();
601
+ return await task.ListChangeLogs(parsedInput);
602
+ } catch (error) {
603
+ if (error instanceof AppcondaException) {
604
+ throw new Error(error.message);
605
+ }
606
+ throw error;
607
+ }
608
+ };
609
+
610
+ export const ListComments = async (parsedInput: z.infer<typeof ListCommentsSchema>) => {
611
+ try {
612
+ const { task } = await getSDKForCurrentUser();
613
+ return await task.ListComments(parsedInput);
614
+ } catch (error) {
615
+ if (error instanceof AppcondaException) {
616
+ throw new Error(error.message);
617
+ }
618
+ throw error;
619
+ }
620
+ };
621
+
622
+ export const ListPostCategories = async (parsedInput: z.infer<typeof ListPostCategoriesSchema>) => {
623
+ try {
624
+ const { task } = await getSDKForCurrentUser();
625
+ return await task.ListPostCategories(parsedInput);
626
+ } catch (error) {
627
+ if (error instanceof AppcondaException) {
628
+ throw new Error(error.message);
629
+ }
630
+ throw error;
631
+ }
632
+ };
633
+
634
+ export const ListPosts = async (parsedInput: z.infer<typeof ListPostsSchema>) => {
635
+ try {
636
+ const { task } = await getSDKForCurrentUser();
637
+ return await task.ListPosts(parsedInput);
638
+ } catch (error) {
639
+ if (error instanceof AppcondaException) {
640
+ throw new Error(error.message);
641
+ }
642
+ throw error;
643
+ }
644
+ };
645
+
646
+ export const ListRoadmaps = async () => {
647
+ try {
648
+ const { task } = await getSDKForCurrentUser();
649
+ return await task.ListRoadmaps();
650
+ } catch (error) {
651
+ if (error instanceof AppcondaException) {
652
+ throw new Error(error.message);
653
+ }
654
+ throw error;
655
+ }
656
+ };
657
+
658
+ export const ListStatusChanges = async () => {
659
+ try {
660
+ const { task } = await getSDKForCurrentUser();
661
+ return await task.ListStatusChanges();
662
+ } catch (error) {
663
+ if (error instanceof AppcondaException) {
664
+ throw new Error(error.message);
665
+ }
666
+ throw error;
667
+ }
668
+ };
669
+
670
+ export const ListTags = async (parsedInput: z.infer<typeof ListTagsSchema>) => {
671
+ try {
672
+ const { task } = await getSDKForCurrentUser();
673
+ return await task.ListTags(parsedInput);
674
+ } catch (error) {
675
+ if (error instanceof AppcondaException) {
676
+ throw new Error(error.message);
677
+ }
678
+ throw error;
679
+ }
680
+ };
681
+
682
+ export const ListVotes = async (parsedInput: z.infer<typeof ListVotesSchema>) => {
683
+ try {
684
+ const { task } = await getSDKForCurrentUser();
685
+ return await task.ListVotes(parsedInput);
686
+ } catch (error) {
687
+ if (error instanceof AppcondaException) {
688
+ throw new Error(error.message);
689
+ }
690
+ throw error;
691
+ }
692
+ };
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import { PostStatus } from "./types";
2
3
 
3
4
  export const CreateProjectSchema = z.object({
4
5
  id: z.string().optional(),
@@ -102,4 +103,293 @@ export const CreateViewSchema = z.object({
102
103
 
103
104
  export const ListTasksSchema = z.object({
104
105
  projectId: z.string()
106
+ });
107
+
108
+ // Roadmap Şemaları
109
+ export const CreateRoadmapSchema = z.object({
110
+ id: z.string().optional(),
111
+ title: z.string()
112
+ });
113
+
114
+ export const GetRoadmapSchema = z.object({
115
+ id: z.string()
116
+ });
117
+
118
+ export const ListRoadmapsSchema = z.object({});
119
+
120
+ // RoadmapPost Şemaları
121
+ export const CreateRoadmapPostSchema = z.object({
122
+ id: z.string().optional(),
123
+ roadmapId: z.string(),
124
+ postId: z.string()
125
+ });
126
+
127
+ export const GetRoadmapPostSchema = z.object({
128
+ id: z.string()
129
+ });
130
+
131
+ export const ListRoadmapPostsSchema = z.object({
132
+ roadmapId: z.string().optional(),
133
+ postId: z.string().optional()
134
+ });
135
+
136
+ // Post Şemaları
137
+ export const CreatePostSchema = z.object({
138
+ id: z.string().optional(),
139
+ authorId: z.string(),
140
+ by: z.string().optional(),
141
+ boardId: z.string(),
142
+ postCategoryId: z.string().optional(),
143
+ details: z.string().optional(),
144
+ eta: z.string().optional(),
145
+ owner: z.string().optional(),
146
+ status: z.nativeEnum(PostStatus).default(PostStatus.OPEN),
147
+ title: z.string(),
148
+ url: z.string().optional()
149
+ });
150
+
151
+ export const GetPostSchema = z.object({
152
+ id: z.string()
153
+ });
154
+
155
+ export const ListPostsSchema = z.object({
156
+ boardId: z.string().optional(),
157
+ postCategoryId: z.string().optional(),
158
+ status: z.nativeEnum(PostStatus).optional()
159
+ });
160
+
161
+ // PostImages Şemaları
162
+ export const CreatePostImagesSchema = z.object({
163
+ id: z.string().optional(),
164
+ postId: z.string(),
165
+ url: z.string()
166
+ });
167
+
168
+ export const GetPostImagesSchema = z.object({
169
+ id: z.string()
170
+ });
171
+
172
+ export const ListPostImagesSchema = z.object({
173
+ postId: z.string()
174
+ });
175
+
176
+ // Board Şemaları
177
+ export const CreateBoardSchema = z.object({
178
+ id: z.string().optional(),
179
+ name: z.string()
180
+ });
181
+
182
+ export const GetBoardSchema = z.object({
183
+ id: z.string()
184
+ });
185
+
186
+ export const ListBoardsSchema = z.object({});
187
+
188
+ export const DeleteBoardSchema = z.object({
189
+ id: z.string()
190
+ });
191
+
192
+ // PostCategory Şemaları
193
+ export const CreatePostCategorySchema = z.object({
194
+ id: z.string().optional(),
195
+ name: z.string(),
196
+ boardId: z.string(),
197
+ parentID: z.string().optional(),
198
+ subscribeAdmins: z.boolean().default(false)
199
+ });
200
+
201
+ export const GetPostCategorySchema = z.object({
202
+ id: z.string()
203
+ });
204
+
205
+ export const ListPostCategoriesSchema = z.object({
206
+ boardId: z.string().optional(),
207
+ parentID: z.string().optional()
208
+ });
209
+
210
+ // Comment Şemaları
211
+ export const CreateCommentSchema = z.object({
212
+ id: z.string().optional(),
213
+ author: z.string(),
214
+ boardId: z.string(),
215
+ postId: z.string().optional(),
216
+ internal: z.boolean().default(false),
217
+ parentID: z.string().optional(),
218
+ private: z.boolean().default(false),
219
+ value: z.string()
220
+ });
221
+
222
+ export const GetCommentSchema = z.object({
223
+ id: z.string()
224
+ });
225
+
226
+ export const ListCommentsSchema = z.object({
227
+ boardId: z.string().optional(),
228
+ postId: z.string().optional(),
229
+ parentID: z.string().optional()
230
+ });
231
+
232
+ // CommentImage Şemaları
233
+ export const CreateCommentImageSchema = z.object({
234
+ id: z.string().optional(),
235
+ commentId: z.string(),
236
+ url: z.string()
237
+ });
238
+
239
+ export const GetCommentImageSchema = z.object({
240
+ id: z.string()
241
+ });
242
+
243
+ export const ListCommentImagesSchema = z.object({
244
+ commentId: z.string()
245
+ });
246
+
247
+ // CommentMention Şemaları
248
+ export const CreateCommentMentionSchema = z.object({
249
+ id: z.string().optional(),
250
+ commentId: z.string(),
251
+ userId: z.string()
252
+ });
253
+
254
+ export const GetCommentMentionSchema = z.object({
255
+ id: z.string()
256
+ });
257
+
258
+ export const ListCommentMentionsSchema = z.object({
259
+ commentId: z.string()
260
+ });
261
+
262
+ // Vote Şemaları
263
+ export const CreateVoteSchema = z.object({
264
+ id: z.string().optional(),
265
+ voterId: z.string(),
266
+ by: z.string().optional(),
267
+ boardId: z.string(),
268
+ postId: z.string()
269
+ });
270
+
271
+ export const GetVoteSchema = z.object({
272
+ id: z.string()
273
+ });
274
+
275
+ export const ListVotesSchema = z.object({
276
+ boardId: z.string().optional(),
277
+ postId: z.string().optional(),
278
+ voterId: z.string().optional()
279
+ });
280
+
281
+ // Tag Şemaları
282
+ export const CreateTagSchema = z.object({
283
+ id: z.string().optional(),
284
+ boardId: z.string(),
285
+ name: z.string()
286
+ });
287
+
288
+ export const GetTagSchema = z.object({
289
+ id: z.string()
290
+ });
291
+
292
+ export const ListTagsSchema = z.object({
293
+ boardId: z.string().optional()
294
+ });
295
+
296
+ // PostTag Şemaları
297
+ export const CreatePostTagSchema = z.object({
298
+ id: z.string().optional(),
299
+ postId: z.string(),
300
+ tagId: z.string()
301
+ });
302
+
303
+ export const GetPostTagSchema = z.object({
304
+ id: z.string()
305
+ });
306
+
307
+ export const ListPostTagsSchema = z.object({
308
+ postId: z.string().optional(),
309
+ tagId: z.string().optional()
310
+ });
311
+
312
+ // Changelog Şemaları
313
+ export const CreateChangelogSchema = z.object({
314
+ id: z.string().optional(),
315
+ title: z.string(),
316
+ details: z.string().optional(),
317
+ lastSaved: z.date().optional(),
318
+ publishedAt: z.date().optional(),
319
+ scheduledFor: z.date().optional(),
320
+ status: z.string().default("draft"),
321
+ url: z.string().optional(),
322
+ type: z.string().default("new")
323
+ });
324
+
325
+ export const GetChangelogSchema = z.object({
326
+ id: z.string()
327
+ });
328
+
329
+ export const ListChangelogsSchema = z.object({
330
+ status: z.string().optional()
331
+ });
332
+
333
+ // ChangeLogPost Şemaları
334
+ export const CreateChangeLogPostSchema = z.object({
335
+ id: z.string().optional(),
336
+ postId: z.string(),
337
+ changelogId: z.string()
338
+ });
339
+
340
+ export const GetChangeLogPostSchema = z.object({
341
+ id: z.string()
342
+ });
343
+
344
+ export const ListChangeLogPostsSchema = z.object({
345
+ postId: z.string().optional(),
346
+ changelogId: z.string().optional()
347
+ });
348
+
349
+ // StatusChange Şemaları
350
+ export const CreateStatusChangeSchema = z.object({
351
+ id: z.string().optional(),
352
+ changerId: z.string(),
353
+ changeComment: z.string().optional(),
354
+ postId: z.string(),
355
+ status: z.nativeEnum(PostStatus)
356
+ });
357
+
358
+ export const GetStatusChangeSchema = z.object({
359
+ id: z.string()
360
+ });
361
+
362
+ export const ListStatusChangesSchema = z.object({
363
+ postId: z.string().optional(),
364
+ status: z.nativeEnum(PostStatus).optional()
365
+ });
366
+
367
+ export const ChangePostCategorySchema = z.object({
368
+ postId: z.string(),
369
+ postCategoryId: z.string()
370
+ });
371
+
372
+ export const ChangePostStatusSchema = z.object({
373
+ postId: z.string(),
374
+ status: z.nativeEnum(PostStatus)
375
+ });
376
+
377
+ export const DeleteCommentSchema = z.object({
378
+ id: z.string()
379
+ });
380
+
381
+ export const DeletePostCategorySchema = z.object({
382
+ id: z.string()
383
+ });
384
+
385
+ export const DeleteVoteSchema = z.object({
386
+ id: z.string()
387
+ });
388
+
389
+ export const GetChangeLogSchema = z.object({
390
+ id: z.string()
391
+ });
392
+
393
+ export const ListChangeLogsSchema = z.object({
394
+
105
395
  });