@kl1/contracts 1.1.22 → 1.1.23

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 (76) hide show
  1. package/dist/index.js +579 -211
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +578 -211
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +799 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +172 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +210 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/channel/index.d.ts +725 -611
  12. package/dist/src/channel/index.d.ts.map +1 -1
  13. package/dist/src/channel/schema.d.ts +12 -12
  14. package/dist/src/channel/schema.d.ts.map +1 -1
  15. package/dist/src/channel/validation.d.ts +71 -8
  16. package/dist/src/channel/validation.d.ts.map +1 -1
  17. package/dist/src/chat/index.d.ts +5144 -299
  18. package/dist/src/chat/index.d.ts.map +1 -1
  19. package/dist/src/chat/schema.d.ts +807 -47
  20. package/dist/src/chat/schema.d.ts.map +1 -1
  21. package/dist/src/chat/validation.d.ts +1093 -118
  22. package/dist/src/chat/validation.d.ts.map +1 -1
  23. package/dist/src/contract.d.ts +26553 -6263
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +376 -31
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +577 -27
  28. package/dist/src/cx-log/schema.d.ts.map +1 -1
  29. package/dist/src/index.d.ts +1 -0
  30. package/dist/src/index.d.ts.map +1 -1
  31. package/dist/src/instagram/index.d.ts +628 -138
  32. package/dist/src/instagram/index.d.ts.map +1 -1
  33. package/dist/src/line/index.d.ts +623 -133
  34. package/dist/src/line/index.d.ts.map +1 -1
  35. package/dist/src/line/schema.d.ts.map +1 -1
  36. package/dist/src/line/validation.d.ts +23 -23
  37. package/dist/src/line/validation.d.ts.map +1 -1
  38. package/dist/src/mail/account-contract.d.ts +230 -4
  39. package/dist/src/mail/account-contract.d.ts.map +1 -1
  40. package/dist/src/mail/mail-contract.d.ts +3277 -435
  41. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  42. package/dist/src/mail/message-contract.d.ts +58 -1
  43. package/dist/src/mail/message-contract.d.ts.map +1 -1
  44. package/dist/src/mail/room-contract.d.ts +3009 -450
  45. package/dist/src/mail/room-contract.d.ts.map +1 -1
  46. package/dist/src/mail/schemas/room-validation.schema.d.ts +731 -6
  47. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  48. package/dist/src/mail/schemas/room.schema.d.ts +557 -0
  49. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  50. package/dist/src/messenger/index.d.ts +628 -138
  51. package/dist/src/messenger/index.d.ts.map +1 -1
  52. package/dist/src/messenger/validation.d.ts +13 -13
  53. package/dist/src/snippet/index.d.ts +545 -97
  54. package/dist/src/snippet/index.d.ts.map +1 -1
  55. package/dist/src/snippet/schema.d.ts +220 -19
  56. package/dist/src/snippet/schema.d.ts.map +1 -1
  57. package/dist/src/snippet/validation.d.ts +5 -5
  58. package/dist/src/viber/index.d.ts +592 -102
  59. package/dist/src/viber/index.d.ts.map +1 -1
  60. package/dist/src/webchat/index.d.ts +8506 -0
  61. package/dist/src/webchat/index.d.ts.map +1 -0
  62. package/dist/src/webchat/schema.d.ts +95 -0
  63. package/dist/src/webchat/schema.d.ts.map +1 -0
  64. package/dist/src/webchat/validation.d.ts +36 -0
  65. package/dist/src/webchat/validation.d.ts.map +1 -0
  66. package/dist/src/workflow-rule/index.d.ts +7295 -0
  67. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  68. package/dist/src/workflow-rule/schema.d.ts +27 -0
  69. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  70. package/dist/src/wrap-up-form/index.d.ts +1000 -6
  71. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  72. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  73. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  74. package/dist/src/wrap-up-form/validation.d.ts +29 -0
  75. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  76. package/package.json +1 -1
@@ -1,7 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { SnippetSchema, SnippetGroupSchema, SnippetGroupListItemSchema, SnippetListItemSchema } from './schema';
2
+ import { SnippetSchema, SnippetGroupSchema, SnippetGroupListItemSchema, SnippetListItemSchema, SnippetContentSchema } from './schema';
3
3
  import { CreateSnippetGroupSchema, CreateSnippetSchema, UpdateSnippetGroupSchema, UpdateSnippetSchema } from './validation';
4
- export type Snippet = z.infer<typeof SnippetSchema>;
4
+ export type SnippetBody = z.infer<typeof SnippetSchema>;
5
+ export type SnippetContent = z.infer<typeof SnippetContentSchema>;
5
6
  export type SnippetGroupBody = z.infer<typeof SnippetGroupSchema>;
6
7
  export type SnippetGroupListItem = z.infer<typeof SnippetGroupListItemSchema>;
7
8
  export type SnippetListItem = z.infer<typeof SnippetListItemSchema>;
@@ -262,12 +263,7 @@ export declare const snippetContract: {
262
263
  createdAt: z.ZodDate;
263
264
  updatedAt: z.ZodDate;
264
265
  deletedAt: z.ZodNullable<z.ZodDate>;
265
- shortcutName: z.ZodString;
266
- contentType: z.ZodString;
267
- contentValue: z.ZodNullable<z.ZodString>;
268
- uploadId: z.ZodNullable<z.ZodString>;
269
- order: z.ZodOptional<z.ZodNumber>;
270
- snippetGroupId: z.ZodString;
266
+ name: z.ZodString;
271
267
  snippetGroup: z.ZodObject<{
272
268
  id: z.ZodString;
273
269
  createdAt: z.ZodDate;
@@ -290,16 +286,98 @@ export declare const snippetContract: {
290
286
  deletedAt: Date | null;
291
287
  platformType: string;
292
288
  }>;
289
+ snippetContent: z.ZodObject<{
290
+ id: z.ZodString;
291
+ createdAt: z.ZodDate;
292
+ updatedAt: z.ZodDate;
293
+ deletedAt: z.ZodNullable<z.ZodDate>;
294
+ contentType: z.ZodString;
295
+ contentValue: z.ZodNullable<z.ZodString>;
296
+ contentTemplate: z.ZodNullable<z.ZodAny>;
297
+ order: z.ZodNumber;
298
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
299
+ id: z.ZodString;
300
+ createdAt: z.ZodDate;
301
+ updatedAt: z.ZodDate;
302
+ deletedAt: z.ZodNullable<z.ZodDate>;
303
+ bucketName: z.ZodString;
304
+ fileName: z.ZodString;
305
+ fileSize: z.ZodNumber;
306
+ fileKey: z.ZodString;
307
+ fileUrl: z.ZodNullable<z.ZodString>;
308
+ status: z.ZodOptional<z.ZodString>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ id: string;
311
+ createdAt: Date;
312
+ updatedAt: Date;
313
+ deletedAt: Date | null;
314
+ fileName: string;
315
+ fileKey: string;
316
+ bucketName: string;
317
+ fileSize: number;
318
+ fileUrl: string | null;
319
+ status?: string | undefined;
320
+ }, {
321
+ id: string;
322
+ createdAt: Date;
323
+ updatedAt: Date;
324
+ deletedAt: Date | null;
325
+ fileName: string;
326
+ fileKey: string;
327
+ bucketName: string;
328
+ fileSize: number;
329
+ fileUrl: string | null;
330
+ status?: string | undefined;
331
+ }>>>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ id: string;
334
+ order: number;
335
+ createdAt: Date;
336
+ updatedAt: Date;
337
+ deletedAt: Date | null;
338
+ contentType: string;
339
+ contentValue: string | null;
340
+ contentTemplate?: any;
341
+ upload?: {
342
+ id: string;
343
+ createdAt: Date;
344
+ updatedAt: Date;
345
+ deletedAt: Date | null;
346
+ fileName: string;
347
+ fileKey: string;
348
+ bucketName: string;
349
+ fileSize: number;
350
+ fileUrl: string | null;
351
+ status?: string | undefined;
352
+ } | null | undefined;
353
+ }, {
354
+ id: string;
355
+ order: number;
356
+ createdAt: Date;
357
+ updatedAt: Date;
358
+ deletedAt: Date | null;
359
+ contentType: string;
360
+ contentValue: string | null;
361
+ contentTemplate?: any;
362
+ upload?: {
363
+ id: string;
364
+ createdAt: Date;
365
+ updatedAt: Date;
366
+ deletedAt: Date | null;
367
+ fileName: string;
368
+ fileKey: string;
369
+ bucketName: string;
370
+ fileSize: number;
371
+ fileUrl: string | null;
372
+ status?: string | undefined;
373
+ } | null | undefined;
374
+ }>;
293
375
  }, "strip", z.ZodTypeAny, {
294
376
  id: string;
377
+ name: string;
295
378
  createdAt: Date;
296
379
  updatedAt: Date;
297
380
  deletedAt: Date | null;
298
- contentType: string;
299
- uploadId: string | null;
300
- shortcutName: string;
301
- contentValue: string | null;
302
- snippetGroupId: string;
303
381
  snippetGroup: {
304
382
  id: string;
305
383
  name: string;
@@ -308,17 +386,34 @@ export declare const snippetContract: {
308
386
  deletedAt: Date | null;
309
387
  platformType: string;
310
388
  };
311
- order?: number | undefined;
389
+ snippetContent: {
390
+ id: string;
391
+ order: number;
392
+ createdAt: Date;
393
+ updatedAt: Date;
394
+ deletedAt: Date | null;
395
+ contentType: string;
396
+ contentValue: string | null;
397
+ contentTemplate?: any;
398
+ upload?: {
399
+ id: string;
400
+ createdAt: Date;
401
+ updatedAt: Date;
402
+ deletedAt: Date | null;
403
+ fileName: string;
404
+ fileKey: string;
405
+ bucketName: string;
406
+ fileSize: number;
407
+ fileUrl: string | null;
408
+ status?: string | undefined;
409
+ } | null | undefined;
410
+ };
312
411
  }, {
313
412
  id: string;
413
+ name: string;
314
414
  createdAt: Date;
315
415
  updatedAt: Date;
316
416
  deletedAt: Date | null;
317
- contentType: string;
318
- uploadId: string | null;
319
- shortcutName: string;
320
- contentValue: string | null;
321
- snippetGroupId: string;
322
417
  snippetGroup: {
323
418
  id: string;
324
419
  name: string;
@@ -327,20 +422,37 @@ export declare const snippetContract: {
327
422
  deletedAt: Date | null;
328
423
  platformType: string;
329
424
  };
330
- order?: number | undefined;
425
+ snippetContent: {
426
+ id: string;
427
+ order: number;
428
+ createdAt: Date;
429
+ updatedAt: Date;
430
+ deletedAt: Date | null;
431
+ contentType: string;
432
+ contentValue: string | null;
433
+ contentTemplate?: any;
434
+ upload?: {
435
+ id: string;
436
+ createdAt: Date;
437
+ updatedAt: Date;
438
+ deletedAt: Date | null;
439
+ fileName: string;
440
+ fileKey: string;
441
+ bucketName: string;
442
+ fileSize: number;
443
+ fileUrl: string | null;
444
+ status?: string | undefined;
445
+ } | null | undefined;
446
+ };
331
447
  }>, "many">;
332
448
  }, "strip", z.ZodTypeAny, {
333
449
  requestId: string;
334
450
  snippets: {
335
451
  id: string;
452
+ name: string;
336
453
  createdAt: Date;
337
454
  updatedAt: Date;
338
455
  deletedAt: Date | null;
339
- contentType: string;
340
- uploadId: string | null;
341
- shortcutName: string;
342
- contentValue: string | null;
343
- snippetGroupId: string;
344
456
  snippetGroup: {
345
457
  id: string;
346
458
  name: string;
@@ -349,20 +461,37 @@ export declare const snippetContract: {
349
461
  deletedAt: Date | null;
350
462
  platformType: string;
351
463
  };
352
- order?: number | undefined;
464
+ snippetContent: {
465
+ id: string;
466
+ order: number;
467
+ createdAt: Date;
468
+ updatedAt: Date;
469
+ deletedAt: Date | null;
470
+ contentType: string;
471
+ contentValue: string | null;
472
+ contentTemplate?: any;
473
+ upload?: {
474
+ id: string;
475
+ createdAt: Date;
476
+ updatedAt: Date;
477
+ deletedAt: Date | null;
478
+ fileName: string;
479
+ fileKey: string;
480
+ bucketName: string;
481
+ fileSize: number;
482
+ fileUrl: string | null;
483
+ status?: string | undefined;
484
+ } | null | undefined;
485
+ };
353
486
  }[];
354
487
  }, {
355
488
  requestId: string;
356
489
  snippets: {
357
490
  id: string;
491
+ name: string;
358
492
  createdAt: Date;
359
493
  updatedAt: Date;
360
494
  deletedAt: Date | null;
361
- contentType: string;
362
- uploadId: string | null;
363
- shortcutName: string;
364
- contentValue: string | null;
365
- snippetGroupId: string;
366
495
  snippetGroup: {
367
496
  id: string;
368
497
  name: string;
@@ -371,7 +500,28 @@ export declare const snippetContract: {
371
500
  deletedAt: Date | null;
372
501
  platformType: string;
373
502
  };
374
- order?: number | undefined;
503
+ snippetContent: {
504
+ id: string;
505
+ order: number;
506
+ createdAt: Date;
507
+ updatedAt: Date;
508
+ deletedAt: Date | null;
509
+ contentType: string;
510
+ contentValue: string | null;
511
+ contentTemplate?: any;
512
+ upload?: {
513
+ id: string;
514
+ createdAt: Date;
515
+ updatedAt: Date;
516
+ deletedAt: Date | null;
517
+ fileName: string;
518
+ fileKey: string;
519
+ bucketName: string;
520
+ fileSize: number;
521
+ fileUrl: string | null;
522
+ status?: string | undefined;
523
+ } | null | undefined;
524
+ };
375
525
  }[];
376
526
  }>;
377
527
  500: z.ZodObject<{
@@ -397,14 +547,14 @@ export declare const snippetContract: {
397
547
  }, "strip", z.ZodTypeAny, {
398
548
  contentType: string;
399
549
  platformType: string;
400
- shortcutName: string;
401
550
  snippetGroupId: string;
551
+ shortcutName: string;
402
552
  contentValue?: string | undefined;
403
553
  }, {
404
554
  contentType: string;
405
555
  platformType: string;
406
- shortcutName: string;
407
556
  snippetGroupId: string;
557
+ shortcutName: string;
408
558
  contentValue?: string | undefined;
409
559
  }>;
410
560
  method: "POST";
@@ -416,12 +566,7 @@ export declare const snippetContract: {
416
566
  createdAt: z.ZodDate;
417
567
  updatedAt: z.ZodDate;
418
568
  deletedAt: z.ZodNullable<z.ZodDate>;
419
- shortcutName: z.ZodString;
420
- contentType: z.ZodString;
421
- contentValue: z.ZodNullable<z.ZodString>;
422
- uploadId: z.ZodNullable<z.ZodString>;
423
- order: z.ZodOptional<z.ZodNumber>;
424
- snippetGroupId: z.ZodString;
569
+ name: z.ZodString;
425
570
  snippetGroup: z.ZodObject<{
426
571
  id: z.ZodString;
427
572
  createdAt: z.ZodDate;
@@ -444,16 +589,98 @@ export declare const snippetContract: {
444
589
  deletedAt: Date | null;
445
590
  platformType: string;
446
591
  }>;
592
+ snippetContent: z.ZodObject<{
593
+ id: z.ZodString;
594
+ createdAt: z.ZodDate;
595
+ updatedAt: z.ZodDate;
596
+ deletedAt: z.ZodNullable<z.ZodDate>;
597
+ contentType: z.ZodString;
598
+ contentValue: z.ZodNullable<z.ZodString>;
599
+ contentTemplate: z.ZodNullable<z.ZodAny>;
600
+ order: z.ZodNumber;
601
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
602
+ id: z.ZodString;
603
+ createdAt: z.ZodDate;
604
+ updatedAt: z.ZodDate;
605
+ deletedAt: z.ZodNullable<z.ZodDate>;
606
+ bucketName: z.ZodString;
607
+ fileName: z.ZodString;
608
+ fileSize: z.ZodNumber;
609
+ fileKey: z.ZodString;
610
+ fileUrl: z.ZodNullable<z.ZodString>;
611
+ status: z.ZodOptional<z.ZodString>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ id: string;
614
+ createdAt: Date;
615
+ updatedAt: Date;
616
+ deletedAt: Date | null;
617
+ fileName: string;
618
+ fileKey: string;
619
+ bucketName: string;
620
+ fileSize: number;
621
+ fileUrl: string | null;
622
+ status?: string | undefined;
623
+ }, {
624
+ id: string;
625
+ createdAt: Date;
626
+ updatedAt: Date;
627
+ deletedAt: Date | null;
628
+ fileName: string;
629
+ fileKey: string;
630
+ bucketName: string;
631
+ fileSize: number;
632
+ fileUrl: string | null;
633
+ status?: string | undefined;
634
+ }>>>;
635
+ }, "strip", z.ZodTypeAny, {
636
+ id: string;
637
+ order: number;
638
+ createdAt: Date;
639
+ updatedAt: Date;
640
+ deletedAt: Date | null;
641
+ contentType: string;
642
+ contentValue: string | null;
643
+ contentTemplate?: any;
644
+ upload?: {
645
+ id: string;
646
+ createdAt: Date;
647
+ updatedAt: Date;
648
+ deletedAt: Date | null;
649
+ fileName: string;
650
+ fileKey: string;
651
+ bucketName: string;
652
+ fileSize: number;
653
+ fileUrl: string | null;
654
+ status?: string | undefined;
655
+ } | null | undefined;
656
+ }, {
657
+ id: string;
658
+ order: number;
659
+ createdAt: Date;
660
+ updatedAt: Date;
661
+ deletedAt: Date | null;
662
+ contentType: string;
663
+ contentValue: string | null;
664
+ contentTemplate?: any;
665
+ upload?: {
666
+ id: string;
667
+ createdAt: Date;
668
+ updatedAt: Date;
669
+ deletedAt: Date | null;
670
+ fileName: string;
671
+ fileKey: string;
672
+ bucketName: string;
673
+ fileSize: number;
674
+ fileUrl: string | null;
675
+ status?: string | undefined;
676
+ } | null | undefined;
677
+ }>;
447
678
  }, "strip", z.ZodTypeAny, {
448
679
  id: string;
680
+ name: string;
449
681
  createdAt: Date;
450
682
  updatedAt: Date;
451
683
  deletedAt: Date | null;
452
- contentType: string;
453
- uploadId: string | null;
454
- shortcutName: string;
455
- contentValue: string | null;
456
- snippetGroupId: string;
457
684
  snippetGroup: {
458
685
  id: string;
459
686
  name: string;
@@ -462,17 +689,34 @@ export declare const snippetContract: {
462
689
  deletedAt: Date | null;
463
690
  platformType: string;
464
691
  };
465
- order?: number | undefined;
692
+ snippetContent: {
693
+ id: string;
694
+ order: number;
695
+ createdAt: Date;
696
+ updatedAt: Date;
697
+ deletedAt: Date | null;
698
+ contentType: string;
699
+ contentValue: string | null;
700
+ contentTemplate?: any;
701
+ upload?: {
702
+ id: string;
703
+ createdAt: Date;
704
+ updatedAt: Date;
705
+ deletedAt: Date | null;
706
+ fileName: string;
707
+ fileKey: string;
708
+ bucketName: string;
709
+ fileSize: number;
710
+ fileUrl: string | null;
711
+ status?: string | undefined;
712
+ } | null | undefined;
713
+ };
466
714
  }, {
467
715
  id: string;
716
+ name: string;
468
717
  createdAt: Date;
469
718
  updatedAt: Date;
470
719
  deletedAt: Date | null;
471
- contentType: string;
472
- uploadId: string | null;
473
- shortcutName: string;
474
- contentValue: string | null;
475
- snippetGroupId: string;
476
720
  snippetGroup: {
477
721
  id: string;
478
722
  name: string;
@@ -481,20 +725,37 @@ export declare const snippetContract: {
481
725
  deletedAt: Date | null;
482
726
  platformType: string;
483
727
  };
484
- order?: number | undefined;
728
+ snippetContent: {
729
+ id: string;
730
+ order: number;
731
+ createdAt: Date;
732
+ updatedAt: Date;
733
+ deletedAt: Date | null;
734
+ contentType: string;
735
+ contentValue: string | null;
736
+ contentTemplate?: any;
737
+ upload?: {
738
+ id: string;
739
+ createdAt: Date;
740
+ updatedAt: Date;
741
+ deletedAt: Date | null;
742
+ fileName: string;
743
+ fileKey: string;
744
+ bucketName: string;
745
+ fileSize: number;
746
+ fileUrl: string | null;
747
+ status?: string | undefined;
748
+ } | null | undefined;
749
+ };
485
750
  }>;
486
751
  }, "strip", z.ZodTypeAny, {
487
752
  requestId: string;
488
753
  snippet: {
489
754
  id: string;
755
+ name: string;
490
756
  createdAt: Date;
491
757
  updatedAt: Date;
492
758
  deletedAt: Date | null;
493
- contentType: string;
494
- uploadId: string | null;
495
- shortcutName: string;
496
- contentValue: string | null;
497
- snippetGroupId: string;
498
759
  snippetGroup: {
499
760
  id: string;
500
761
  name: string;
@@ -503,20 +764,37 @@ export declare const snippetContract: {
503
764
  deletedAt: Date | null;
504
765
  platformType: string;
505
766
  };
506
- order?: number | undefined;
767
+ snippetContent: {
768
+ id: string;
769
+ order: number;
770
+ createdAt: Date;
771
+ updatedAt: Date;
772
+ deletedAt: Date | null;
773
+ contentType: string;
774
+ contentValue: string | null;
775
+ contentTemplate?: any;
776
+ upload?: {
777
+ id: string;
778
+ createdAt: Date;
779
+ updatedAt: Date;
780
+ deletedAt: Date | null;
781
+ fileName: string;
782
+ fileKey: string;
783
+ bucketName: string;
784
+ fileSize: number;
785
+ fileUrl: string | null;
786
+ status?: string | undefined;
787
+ } | null | undefined;
788
+ };
507
789
  };
508
790
  }, {
509
791
  requestId: string;
510
792
  snippet: {
511
793
  id: string;
794
+ name: string;
512
795
  createdAt: Date;
513
796
  updatedAt: Date;
514
797
  deletedAt: Date | null;
515
- contentType: string;
516
- uploadId: string | null;
517
- shortcutName: string;
518
- contentValue: string | null;
519
- snippetGroupId: string;
520
798
  snippetGroup: {
521
799
  id: string;
522
800
  name: string;
@@ -525,7 +803,28 @@ export declare const snippetContract: {
525
803
  deletedAt: Date | null;
526
804
  platformType: string;
527
805
  };
528
- order?: number | undefined;
806
+ snippetContent: {
807
+ id: string;
808
+ order: number;
809
+ createdAt: Date;
810
+ updatedAt: Date;
811
+ deletedAt: Date | null;
812
+ contentType: string;
813
+ contentValue: string | null;
814
+ contentTemplate?: any;
815
+ upload?: {
816
+ id: string;
817
+ createdAt: Date;
818
+ updatedAt: Date;
819
+ deletedAt: Date | null;
820
+ fileName: string;
821
+ fileKey: string;
822
+ bucketName: string;
823
+ fileSize: number;
824
+ fileUrl: string | null;
825
+ status?: string | undefined;
826
+ } | null | undefined;
827
+ };
529
828
  };
530
829
  }>;
531
830
  500: z.ZodObject<{
@@ -545,22 +844,22 @@ export declare const snippetContract: {
545
844
  body: z.ZodObject<{
546
845
  contentType: z.ZodString;
547
846
  platformType: z.ZodString;
548
- shortcutName: z.ZodString;
549
847
  contentValue: z.ZodOptional<z.ZodString>;
550
848
  snippetGroupId: z.ZodString;
849
+ shortcutName: z.ZodString;
551
850
  snippetContentId: z.ZodString;
552
851
  }, "strip", z.ZodTypeAny, {
553
852
  contentType: string;
554
853
  platformType: string;
555
- shortcutName: string;
556
854
  snippetGroupId: string;
855
+ shortcutName: string;
557
856
  snippetContentId: string;
558
857
  contentValue?: string | undefined;
559
858
  }, {
560
859
  contentType: string;
561
860
  platformType: string;
562
- shortcutName: string;
563
861
  snippetGroupId: string;
862
+ shortcutName: string;
564
863
  snippetContentId: string;
565
864
  contentValue?: string | undefined;
566
865
  }>;
@@ -580,12 +879,7 @@ export declare const snippetContract: {
580
879
  createdAt: z.ZodDate;
581
880
  updatedAt: z.ZodDate;
582
881
  deletedAt: z.ZodNullable<z.ZodDate>;
583
- shortcutName: z.ZodString;
584
- contentType: z.ZodString;
585
- contentValue: z.ZodNullable<z.ZodString>;
586
- uploadId: z.ZodNullable<z.ZodString>;
587
- order: z.ZodOptional<z.ZodNumber>;
588
- snippetGroupId: z.ZodString;
882
+ name: z.ZodString;
589
883
  snippetGroup: z.ZodObject<{
590
884
  id: z.ZodString;
591
885
  createdAt: z.ZodDate;
@@ -608,16 +902,98 @@ export declare const snippetContract: {
608
902
  deletedAt: Date | null;
609
903
  platformType: string;
610
904
  }>;
905
+ snippetContent: z.ZodObject<{
906
+ id: z.ZodString;
907
+ createdAt: z.ZodDate;
908
+ updatedAt: z.ZodDate;
909
+ deletedAt: z.ZodNullable<z.ZodDate>;
910
+ contentType: z.ZodString;
911
+ contentValue: z.ZodNullable<z.ZodString>;
912
+ contentTemplate: z.ZodNullable<z.ZodAny>;
913
+ order: z.ZodNumber;
914
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
915
+ id: z.ZodString;
916
+ createdAt: z.ZodDate;
917
+ updatedAt: z.ZodDate;
918
+ deletedAt: z.ZodNullable<z.ZodDate>;
919
+ bucketName: z.ZodString;
920
+ fileName: z.ZodString;
921
+ fileSize: z.ZodNumber;
922
+ fileKey: z.ZodString;
923
+ fileUrl: z.ZodNullable<z.ZodString>;
924
+ status: z.ZodOptional<z.ZodString>;
925
+ }, "strip", z.ZodTypeAny, {
926
+ id: string;
927
+ createdAt: Date;
928
+ updatedAt: Date;
929
+ deletedAt: Date | null;
930
+ fileName: string;
931
+ fileKey: string;
932
+ bucketName: string;
933
+ fileSize: number;
934
+ fileUrl: string | null;
935
+ status?: string | undefined;
936
+ }, {
937
+ id: string;
938
+ createdAt: Date;
939
+ updatedAt: Date;
940
+ deletedAt: Date | null;
941
+ fileName: string;
942
+ fileKey: string;
943
+ bucketName: string;
944
+ fileSize: number;
945
+ fileUrl: string | null;
946
+ status?: string | undefined;
947
+ }>>>;
948
+ }, "strip", z.ZodTypeAny, {
949
+ id: string;
950
+ order: number;
951
+ createdAt: Date;
952
+ updatedAt: Date;
953
+ deletedAt: Date | null;
954
+ contentType: string;
955
+ contentValue: string | null;
956
+ contentTemplate?: any;
957
+ upload?: {
958
+ id: string;
959
+ createdAt: Date;
960
+ updatedAt: Date;
961
+ deletedAt: Date | null;
962
+ fileName: string;
963
+ fileKey: string;
964
+ bucketName: string;
965
+ fileSize: number;
966
+ fileUrl: string | null;
967
+ status?: string | undefined;
968
+ } | null | undefined;
969
+ }, {
970
+ id: string;
971
+ order: number;
972
+ createdAt: Date;
973
+ updatedAt: Date;
974
+ deletedAt: Date | null;
975
+ contentType: string;
976
+ contentValue: string | null;
977
+ contentTemplate?: any;
978
+ upload?: {
979
+ id: string;
980
+ createdAt: Date;
981
+ updatedAt: Date;
982
+ deletedAt: Date | null;
983
+ fileName: string;
984
+ fileKey: string;
985
+ bucketName: string;
986
+ fileSize: number;
987
+ fileUrl: string | null;
988
+ status?: string | undefined;
989
+ } | null | undefined;
990
+ }>;
611
991
  }, "strip", z.ZodTypeAny, {
612
992
  id: string;
993
+ name: string;
613
994
  createdAt: Date;
614
995
  updatedAt: Date;
615
996
  deletedAt: Date | null;
616
- contentType: string;
617
- uploadId: string | null;
618
- shortcutName: string;
619
- contentValue: string | null;
620
- snippetGroupId: string;
621
997
  snippetGroup: {
622
998
  id: string;
623
999
  name: string;
@@ -626,17 +1002,34 @@ export declare const snippetContract: {
626
1002
  deletedAt: Date | null;
627
1003
  platformType: string;
628
1004
  };
629
- order?: number | undefined;
1005
+ snippetContent: {
1006
+ id: string;
1007
+ order: number;
1008
+ createdAt: Date;
1009
+ updatedAt: Date;
1010
+ deletedAt: Date | null;
1011
+ contentType: string;
1012
+ contentValue: string | null;
1013
+ contentTemplate?: any;
1014
+ upload?: {
1015
+ id: string;
1016
+ createdAt: Date;
1017
+ updatedAt: Date;
1018
+ deletedAt: Date | null;
1019
+ fileName: string;
1020
+ fileKey: string;
1021
+ bucketName: string;
1022
+ fileSize: number;
1023
+ fileUrl: string | null;
1024
+ status?: string | undefined;
1025
+ } | null | undefined;
1026
+ };
630
1027
  }, {
631
1028
  id: string;
1029
+ name: string;
632
1030
  createdAt: Date;
633
1031
  updatedAt: Date;
634
1032
  deletedAt: Date | null;
635
- contentType: string;
636
- uploadId: string | null;
637
- shortcutName: string;
638
- contentValue: string | null;
639
- snippetGroupId: string;
640
1033
  snippetGroup: {
641
1034
  id: string;
642
1035
  name: string;
@@ -645,20 +1038,37 @@ export declare const snippetContract: {
645
1038
  deletedAt: Date | null;
646
1039
  platformType: string;
647
1040
  };
648
- order?: number | undefined;
1041
+ snippetContent: {
1042
+ id: string;
1043
+ order: number;
1044
+ createdAt: Date;
1045
+ updatedAt: Date;
1046
+ deletedAt: Date | null;
1047
+ contentType: string;
1048
+ contentValue: string | null;
1049
+ contentTemplate?: any;
1050
+ upload?: {
1051
+ id: string;
1052
+ createdAt: Date;
1053
+ updatedAt: Date;
1054
+ deletedAt: Date | null;
1055
+ fileName: string;
1056
+ fileKey: string;
1057
+ bucketName: string;
1058
+ fileSize: number;
1059
+ fileUrl: string | null;
1060
+ status?: string | undefined;
1061
+ } | null | undefined;
1062
+ };
649
1063
  }>;
650
1064
  }, "strip", z.ZodTypeAny, {
651
1065
  requestId: string;
652
1066
  snippet: {
653
1067
  id: string;
1068
+ name: string;
654
1069
  createdAt: Date;
655
1070
  updatedAt: Date;
656
1071
  deletedAt: Date | null;
657
- contentType: string;
658
- uploadId: string | null;
659
- shortcutName: string;
660
- contentValue: string | null;
661
- snippetGroupId: string;
662
1072
  snippetGroup: {
663
1073
  id: string;
664
1074
  name: string;
@@ -667,20 +1077,37 @@ export declare const snippetContract: {
667
1077
  deletedAt: Date | null;
668
1078
  platformType: string;
669
1079
  };
670
- order?: number | undefined;
1080
+ snippetContent: {
1081
+ id: string;
1082
+ order: number;
1083
+ createdAt: Date;
1084
+ updatedAt: Date;
1085
+ deletedAt: Date | null;
1086
+ contentType: string;
1087
+ contentValue: string | null;
1088
+ contentTemplate?: any;
1089
+ upload?: {
1090
+ id: string;
1091
+ createdAt: Date;
1092
+ updatedAt: Date;
1093
+ deletedAt: Date | null;
1094
+ fileName: string;
1095
+ fileKey: string;
1096
+ bucketName: string;
1097
+ fileSize: number;
1098
+ fileUrl: string | null;
1099
+ status?: string | undefined;
1100
+ } | null | undefined;
1101
+ };
671
1102
  };
672
1103
  }, {
673
1104
  requestId: string;
674
1105
  snippet: {
675
1106
  id: string;
1107
+ name: string;
676
1108
  createdAt: Date;
677
1109
  updatedAt: Date;
678
1110
  deletedAt: Date | null;
679
- contentType: string;
680
- uploadId: string | null;
681
- shortcutName: string;
682
- contentValue: string | null;
683
- snippetGroupId: string;
684
1111
  snippetGroup: {
685
1112
  id: string;
686
1113
  name: string;
@@ -689,7 +1116,28 @@ export declare const snippetContract: {
689
1116
  deletedAt: Date | null;
690
1117
  platformType: string;
691
1118
  };
692
- order?: number | undefined;
1119
+ snippetContent: {
1120
+ id: string;
1121
+ order: number;
1122
+ createdAt: Date;
1123
+ updatedAt: Date;
1124
+ deletedAt: Date | null;
1125
+ contentType: string;
1126
+ contentValue: string | null;
1127
+ contentTemplate?: any;
1128
+ upload?: {
1129
+ id: string;
1130
+ createdAt: Date;
1131
+ updatedAt: Date;
1132
+ deletedAt: Date | null;
1133
+ fileName: string;
1134
+ fileKey: string;
1135
+ bucketName: string;
1136
+ fileSize: number;
1137
+ fileUrl: string | null;
1138
+ status?: string | undefined;
1139
+ } | null | undefined;
1140
+ };
693
1141
  };
694
1142
  }>;
695
1143
  500: z.ZodObject<{