@kl1/contracts 1.1.22-uat → 1.1.22
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.
- package/dist/index.js +195 -433
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +195 -432
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +2714 -5330
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +1 -71
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +528 -1969
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +1 -58
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +450 -1764
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +6 -316
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +0 -212
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/snippet/index.d.ts +97 -545
- package/dist/src/snippet/index.d.ts.map +1 -1
- package/dist/src/snippet/schema.d.ts +19 -220
- package/dist/src/snippet/schema.d.ts.map +1 -1
- package/dist/src/snippet/validation.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { SnippetSchema, SnippetGroupSchema, SnippetGroupListItemSchema, SnippetListItemSchema
|
|
2
|
+
import { SnippetSchema, SnippetGroupSchema, SnippetGroupListItemSchema, SnippetListItemSchema } from './schema';
|
|
3
3
|
import { CreateSnippetGroupSchema, CreateSnippetSchema, UpdateSnippetGroupSchema, UpdateSnippetSchema } from './validation';
|
|
4
|
-
export type
|
|
5
|
-
export type SnippetContent = z.infer<typeof SnippetContentSchema>;
|
|
4
|
+
export type Snippet = z.infer<typeof SnippetSchema>;
|
|
6
5
|
export type SnippetGroupBody = z.infer<typeof SnippetGroupSchema>;
|
|
7
6
|
export type SnippetGroupListItem = z.infer<typeof SnippetGroupListItemSchema>;
|
|
8
7
|
export type SnippetListItem = z.infer<typeof SnippetListItemSchema>;
|
|
@@ -263,7 +262,12 @@ export declare const snippetContract: {
|
|
|
263
262
|
createdAt: z.ZodDate;
|
|
264
263
|
updatedAt: z.ZodDate;
|
|
265
264
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
266
|
-
|
|
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;
|
|
267
271
|
snippetGroup: z.ZodObject<{
|
|
268
272
|
id: z.ZodString;
|
|
269
273
|
createdAt: z.ZodDate;
|
|
@@ -286,98 +290,16 @@ export declare const snippetContract: {
|
|
|
286
290
|
deletedAt: Date | null;
|
|
287
291
|
platformType: string;
|
|
288
292
|
}>;
|
|
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
|
-
}>;
|
|
375
293
|
}, "strip", z.ZodTypeAny, {
|
|
376
294
|
id: string;
|
|
377
|
-
name: string;
|
|
378
295
|
createdAt: Date;
|
|
379
296
|
updatedAt: Date;
|
|
380
297
|
deletedAt: Date | null;
|
|
298
|
+
contentType: string;
|
|
299
|
+
uploadId: string | null;
|
|
300
|
+
shortcutName: string;
|
|
301
|
+
contentValue: string | null;
|
|
302
|
+
snippetGroupId: string;
|
|
381
303
|
snippetGroup: {
|
|
382
304
|
id: string;
|
|
383
305
|
name: string;
|
|
@@ -386,34 +308,17 @@ export declare const snippetContract: {
|
|
|
386
308
|
deletedAt: Date | null;
|
|
387
309
|
platformType: string;
|
|
388
310
|
};
|
|
389
|
-
|
|
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
|
-
};
|
|
311
|
+
order?: number | undefined;
|
|
411
312
|
}, {
|
|
412
313
|
id: string;
|
|
413
|
-
name: string;
|
|
414
314
|
createdAt: Date;
|
|
415
315
|
updatedAt: Date;
|
|
416
316
|
deletedAt: Date | null;
|
|
317
|
+
contentType: string;
|
|
318
|
+
uploadId: string | null;
|
|
319
|
+
shortcutName: string;
|
|
320
|
+
contentValue: string | null;
|
|
321
|
+
snippetGroupId: string;
|
|
417
322
|
snippetGroup: {
|
|
418
323
|
id: string;
|
|
419
324
|
name: string;
|
|
@@ -422,37 +327,20 @@ export declare const snippetContract: {
|
|
|
422
327
|
deletedAt: Date | null;
|
|
423
328
|
platformType: string;
|
|
424
329
|
};
|
|
425
|
-
|
|
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
|
-
};
|
|
330
|
+
order?: number | undefined;
|
|
447
331
|
}>, "many">;
|
|
448
332
|
}, "strip", z.ZodTypeAny, {
|
|
449
333
|
requestId: string;
|
|
450
334
|
snippets: {
|
|
451
335
|
id: string;
|
|
452
|
-
name: string;
|
|
453
336
|
createdAt: Date;
|
|
454
337
|
updatedAt: Date;
|
|
455
338
|
deletedAt: Date | null;
|
|
339
|
+
contentType: string;
|
|
340
|
+
uploadId: string | null;
|
|
341
|
+
shortcutName: string;
|
|
342
|
+
contentValue: string | null;
|
|
343
|
+
snippetGroupId: string;
|
|
456
344
|
snippetGroup: {
|
|
457
345
|
id: string;
|
|
458
346
|
name: string;
|
|
@@ -461,37 +349,20 @@ export declare const snippetContract: {
|
|
|
461
349
|
deletedAt: Date | null;
|
|
462
350
|
platformType: string;
|
|
463
351
|
};
|
|
464
|
-
|
|
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
|
-
};
|
|
352
|
+
order?: number | undefined;
|
|
486
353
|
}[];
|
|
487
354
|
}, {
|
|
488
355
|
requestId: string;
|
|
489
356
|
snippets: {
|
|
490
357
|
id: string;
|
|
491
|
-
name: string;
|
|
492
358
|
createdAt: Date;
|
|
493
359
|
updatedAt: Date;
|
|
494
360
|
deletedAt: Date | null;
|
|
361
|
+
contentType: string;
|
|
362
|
+
uploadId: string | null;
|
|
363
|
+
shortcutName: string;
|
|
364
|
+
contentValue: string | null;
|
|
365
|
+
snippetGroupId: string;
|
|
495
366
|
snippetGroup: {
|
|
496
367
|
id: string;
|
|
497
368
|
name: string;
|
|
@@ -500,28 +371,7 @@ export declare const snippetContract: {
|
|
|
500
371
|
deletedAt: Date | null;
|
|
501
372
|
platformType: string;
|
|
502
373
|
};
|
|
503
|
-
|
|
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
|
-
};
|
|
374
|
+
order?: number | undefined;
|
|
525
375
|
}[];
|
|
526
376
|
}>;
|
|
527
377
|
500: z.ZodObject<{
|
|
@@ -547,14 +397,14 @@ export declare const snippetContract: {
|
|
|
547
397
|
}, "strip", z.ZodTypeAny, {
|
|
548
398
|
contentType: string;
|
|
549
399
|
platformType: string;
|
|
550
|
-
snippetGroupId: string;
|
|
551
400
|
shortcutName: string;
|
|
401
|
+
snippetGroupId: string;
|
|
552
402
|
contentValue?: string | undefined;
|
|
553
403
|
}, {
|
|
554
404
|
contentType: string;
|
|
555
405
|
platformType: string;
|
|
556
|
-
snippetGroupId: string;
|
|
557
406
|
shortcutName: string;
|
|
407
|
+
snippetGroupId: string;
|
|
558
408
|
contentValue?: string | undefined;
|
|
559
409
|
}>;
|
|
560
410
|
method: "POST";
|
|
@@ -566,7 +416,12 @@ export declare const snippetContract: {
|
|
|
566
416
|
createdAt: z.ZodDate;
|
|
567
417
|
updatedAt: z.ZodDate;
|
|
568
418
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
569
|
-
|
|
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;
|
|
570
425
|
snippetGroup: z.ZodObject<{
|
|
571
426
|
id: z.ZodString;
|
|
572
427
|
createdAt: z.ZodDate;
|
|
@@ -589,98 +444,16 @@ export declare const snippetContract: {
|
|
|
589
444
|
deletedAt: Date | null;
|
|
590
445
|
platformType: string;
|
|
591
446
|
}>;
|
|
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
|
-
}>;
|
|
678
447
|
}, "strip", z.ZodTypeAny, {
|
|
679
448
|
id: string;
|
|
680
|
-
name: string;
|
|
681
449
|
createdAt: Date;
|
|
682
450
|
updatedAt: Date;
|
|
683
451
|
deletedAt: Date | null;
|
|
452
|
+
contentType: string;
|
|
453
|
+
uploadId: string | null;
|
|
454
|
+
shortcutName: string;
|
|
455
|
+
contentValue: string | null;
|
|
456
|
+
snippetGroupId: string;
|
|
684
457
|
snippetGroup: {
|
|
685
458
|
id: string;
|
|
686
459
|
name: string;
|
|
@@ -689,34 +462,17 @@ export declare const snippetContract: {
|
|
|
689
462
|
deletedAt: Date | null;
|
|
690
463
|
platformType: string;
|
|
691
464
|
};
|
|
692
|
-
|
|
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
|
-
};
|
|
465
|
+
order?: number | undefined;
|
|
714
466
|
}, {
|
|
715
467
|
id: string;
|
|
716
|
-
name: string;
|
|
717
468
|
createdAt: Date;
|
|
718
469
|
updatedAt: Date;
|
|
719
470
|
deletedAt: Date | null;
|
|
471
|
+
contentType: string;
|
|
472
|
+
uploadId: string | null;
|
|
473
|
+
shortcutName: string;
|
|
474
|
+
contentValue: string | null;
|
|
475
|
+
snippetGroupId: string;
|
|
720
476
|
snippetGroup: {
|
|
721
477
|
id: string;
|
|
722
478
|
name: string;
|
|
@@ -725,37 +481,20 @@ export declare const snippetContract: {
|
|
|
725
481
|
deletedAt: Date | null;
|
|
726
482
|
platformType: string;
|
|
727
483
|
};
|
|
728
|
-
|
|
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
|
-
};
|
|
484
|
+
order?: number | undefined;
|
|
750
485
|
}>;
|
|
751
486
|
}, "strip", z.ZodTypeAny, {
|
|
752
487
|
requestId: string;
|
|
753
488
|
snippet: {
|
|
754
489
|
id: string;
|
|
755
|
-
name: string;
|
|
756
490
|
createdAt: Date;
|
|
757
491
|
updatedAt: Date;
|
|
758
492
|
deletedAt: Date | null;
|
|
493
|
+
contentType: string;
|
|
494
|
+
uploadId: string | null;
|
|
495
|
+
shortcutName: string;
|
|
496
|
+
contentValue: string | null;
|
|
497
|
+
snippetGroupId: string;
|
|
759
498
|
snippetGroup: {
|
|
760
499
|
id: string;
|
|
761
500
|
name: string;
|
|
@@ -764,37 +503,20 @@ export declare const snippetContract: {
|
|
|
764
503
|
deletedAt: Date | null;
|
|
765
504
|
platformType: string;
|
|
766
505
|
};
|
|
767
|
-
|
|
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
|
-
};
|
|
506
|
+
order?: number | undefined;
|
|
789
507
|
};
|
|
790
508
|
}, {
|
|
791
509
|
requestId: string;
|
|
792
510
|
snippet: {
|
|
793
511
|
id: string;
|
|
794
|
-
name: string;
|
|
795
512
|
createdAt: Date;
|
|
796
513
|
updatedAt: Date;
|
|
797
514
|
deletedAt: Date | null;
|
|
515
|
+
contentType: string;
|
|
516
|
+
uploadId: string | null;
|
|
517
|
+
shortcutName: string;
|
|
518
|
+
contentValue: string | null;
|
|
519
|
+
snippetGroupId: string;
|
|
798
520
|
snippetGroup: {
|
|
799
521
|
id: string;
|
|
800
522
|
name: string;
|
|
@@ -803,28 +525,7 @@ export declare const snippetContract: {
|
|
|
803
525
|
deletedAt: Date | null;
|
|
804
526
|
platformType: string;
|
|
805
527
|
};
|
|
806
|
-
|
|
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
|
-
};
|
|
528
|
+
order?: number | undefined;
|
|
828
529
|
};
|
|
829
530
|
}>;
|
|
830
531
|
500: z.ZodObject<{
|
|
@@ -844,22 +545,22 @@ export declare const snippetContract: {
|
|
|
844
545
|
body: z.ZodObject<{
|
|
845
546
|
contentType: z.ZodString;
|
|
846
547
|
platformType: z.ZodString;
|
|
548
|
+
shortcutName: z.ZodString;
|
|
847
549
|
contentValue: z.ZodOptional<z.ZodString>;
|
|
848
550
|
snippetGroupId: z.ZodString;
|
|
849
|
-
shortcutName: z.ZodString;
|
|
850
551
|
snippetContentId: z.ZodString;
|
|
851
552
|
}, "strip", z.ZodTypeAny, {
|
|
852
553
|
contentType: string;
|
|
853
554
|
platformType: string;
|
|
854
|
-
snippetGroupId: string;
|
|
855
555
|
shortcutName: string;
|
|
556
|
+
snippetGroupId: string;
|
|
856
557
|
snippetContentId: string;
|
|
857
558
|
contentValue?: string | undefined;
|
|
858
559
|
}, {
|
|
859
560
|
contentType: string;
|
|
860
561
|
platformType: string;
|
|
861
|
-
snippetGroupId: string;
|
|
862
562
|
shortcutName: string;
|
|
563
|
+
snippetGroupId: string;
|
|
863
564
|
snippetContentId: string;
|
|
864
565
|
contentValue?: string | undefined;
|
|
865
566
|
}>;
|
|
@@ -879,7 +580,12 @@ export declare const snippetContract: {
|
|
|
879
580
|
createdAt: z.ZodDate;
|
|
880
581
|
updatedAt: z.ZodDate;
|
|
881
582
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
882
|
-
|
|
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;
|
|
883
589
|
snippetGroup: z.ZodObject<{
|
|
884
590
|
id: z.ZodString;
|
|
885
591
|
createdAt: z.ZodDate;
|
|
@@ -902,98 +608,16 @@ export declare const snippetContract: {
|
|
|
902
608
|
deletedAt: Date | null;
|
|
903
609
|
platformType: string;
|
|
904
610
|
}>;
|
|
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
|
-
}>;
|
|
991
611
|
}, "strip", z.ZodTypeAny, {
|
|
992
612
|
id: string;
|
|
993
|
-
name: string;
|
|
994
613
|
createdAt: Date;
|
|
995
614
|
updatedAt: Date;
|
|
996
615
|
deletedAt: Date | null;
|
|
616
|
+
contentType: string;
|
|
617
|
+
uploadId: string | null;
|
|
618
|
+
shortcutName: string;
|
|
619
|
+
contentValue: string | null;
|
|
620
|
+
snippetGroupId: string;
|
|
997
621
|
snippetGroup: {
|
|
998
622
|
id: string;
|
|
999
623
|
name: string;
|
|
@@ -1002,34 +626,17 @@ export declare const snippetContract: {
|
|
|
1002
626
|
deletedAt: Date | null;
|
|
1003
627
|
platformType: string;
|
|
1004
628
|
};
|
|
1005
|
-
|
|
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
|
-
};
|
|
629
|
+
order?: number | undefined;
|
|
1027
630
|
}, {
|
|
1028
631
|
id: string;
|
|
1029
|
-
name: string;
|
|
1030
632
|
createdAt: Date;
|
|
1031
633
|
updatedAt: Date;
|
|
1032
634
|
deletedAt: Date | null;
|
|
635
|
+
contentType: string;
|
|
636
|
+
uploadId: string | null;
|
|
637
|
+
shortcutName: string;
|
|
638
|
+
contentValue: string | null;
|
|
639
|
+
snippetGroupId: string;
|
|
1033
640
|
snippetGroup: {
|
|
1034
641
|
id: string;
|
|
1035
642
|
name: string;
|
|
@@ -1038,37 +645,20 @@ export declare const snippetContract: {
|
|
|
1038
645
|
deletedAt: Date | null;
|
|
1039
646
|
platformType: string;
|
|
1040
647
|
};
|
|
1041
|
-
|
|
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
|
-
};
|
|
648
|
+
order?: number | undefined;
|
|
1063
649
|
}>;
|
|
1064
650
|
}, "strip", z.ZodTypeAny, {
|
|
1065
651
|
requestId: string;
|
|
1066
652
|
snippet: {
|
|
1067
653
|
id: string;
|
|
1068
|
-
name: string;
|
|
1069
654
|
createdAt: Date;
|
|
1070
655
|
updatedAt: Date;
|
|
1071
656
|
deletedAt: Date | null;
|
|
657
|
+
contentType: string;
|
|
658
|
+
uploadId: string | null;
|
|
659
|
+
shortcutName: string;
|
|
660
|
+
contentValue: string | null;
|
|
661
|
+
snippetGroupId: string;
|
|
1072
662
|
snippetGroup: {
|
|
1073
663
|
id: string;
|
|
1074
664
|
name: string;
|
|
@@ -1077,37 +667,20 @@ export declare const snippetContract: {
|
|
|
1077
667
|
deletedAt: Date | null;
|
|
1078
668
|
platformType: string;
|
|
1079
669
|
};
|
|
1080
|
-
|
|
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
|
-
};
|
|
670
|
+
order?: number | undefined;
|
|
1102
671
|
};
|
|
1103
672
|
}, {
|
|
1104
673
|
requestId: string;
|
|
1105
674
|
snippet: {
|
|
1106
675
|
id: string;
|
|
1107
|
-
name: string;
|
|
1108
676
|
createdAt: Date;
|
|
1109
677
|
updatedAt: Date;
|
|
1110
678
|
deletedAt: Date | null;
|
|
679
|
+
contentType: string;
|
|
680
|
+
uploadId: string | null;
|
|
681
|
+
shortcutName: string;
|
|
682
|
+
contentValue: string | null;
|
|
683
|
+
snippetGroupId: string;
|
|
1111
684
|
snippetGroup: {
|
|
1112
685
|
id: string;
|
|
1113
686
|
name: string;
|
|
@@ -1116,28 +689,7 @@ export declare const snippetContract: {
|
|
|
1116
689
|
deletedAt: Date | null;
|
|
1117
690
|
platformType: string;
|
|
1118
691
|
};
|
|
1119
|
-
|
|
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
|
-
};
|
|
692
|
+
order?: number | undefined;
|
|
1141
693
|
};
|
|
1142
694
|
}>;
|
|
1143
695
|
500: z.ZodObject<{
|