@kl1/contracts 1.0.27 → 1.0.29
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 +144 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +143 -56
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +38 -38
- package/dist/src/channel/schema.d.ts +9 -9
- package/dist/src/chat/index.d.ts +5335 -5335
- package/dist/src/chat/schema.d.ts +876 -876
- package/dist/src/chat/validation.d.ts +1008 -1008
- package/dist/src/comment/index.d.ts +363 -363
- package/dist/src/comment/schema.d.ts +105 -105
- package/dist/src/company/index.d.ts +288 -288
- package/dist/src/company/schema.d.ts +87 -87
- package/dist/src/company/validation.d.ts +162 -162
- package/dist/src/contact/index.d.ts +1212 -1212
- package/dist/src/contact/schema.d.ts +201 -201
- package/dist/src/contact/validation.d.ts +997 -997
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +9737 -9761
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +9 -9
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +621 -621
- package/dist/src/cx-log/schema.d.ts +564 -564
- package/dist/src/dashboard/index.d.ts +6 -6
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -2
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/index.d.ts +47 -0
- package/dist/src/evaluate-form/index.d.ts.map +1 -0
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/evaluate-form/validation.d.ts +28 -0
- package/dist/src/evaluate-form/validation.d.ts.map +1 -0
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/mail-contract.d.ts +63 -63
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/room-contract.d.ts +63 -63
- package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
- package/dist/src/mail/schemas/room.schema.d.ts +25 -25
- package/dist/src/messenger/index.d.ts +492 -492
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
- package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +774 -909
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +135 -135
- package/dist/src/ticket/validation.d.ts +168 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user-presence-status-log/index.d.ts +36 -36
- package/dist/src/user-presence-status-log/schema.d.ts +39 -39
- package/dist/src/widget/index.d.ts +150 -79
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/widget/validation.d.ts +10 -0
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +10 -4
@@ -28,9 +28,9 @@ export declare const categoryContract: {
|
|
28
28
|
requestId: z.ZodString;
|
29
29
|
category: z.ZodObject<{
|
30
30
|
id: z.ZodString;
|
31
|
-
createdAt: z.
|
32
|
-
updatedAt: z.
|
33
|
-
deletedAt: z.ZodNullable<z.
|
31
|
+
createdAt: z.ZodDate;
|
32
|
+
updatedAt: z.ZodDate;
|
33
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
34
34
|
value: z.ZodString;
|
35
35
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
36
36
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -86,9 +86,9 @@ export declare const categoryContract: {
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
87
87
|
id: string;
|
88
88
|
value: string;
|
89
|
-
createdAt:
|
90
|
-
updatedAt:
|
91
|
-
deletedAt:
|
89
|
+
createdAt: Date;
|
90
|
+
updatedAt: Date;
|
91
|
+
deletedAt: Date | null;
|
92
92
|
level: 2 | 1 | 3;
|
93
93
|
parentId: string | null;
|
94
94
|
childCategoryList: {
|
@@ -107,9 +107,9 @@ export declare const categoryContract: {
|
|
107
107
|
}, {
|
108
108
|
id: string;
|
109
109
|
value: string;
|
110
|
-
createdAt:
|
111
|
-
updatedAt:
|
112
|
-
deletedAt:
|
110
|
+
createdAt: Date;
|
111
|
+
updatedAt: Date;
|
112
|
+
deletedAt: Date | null;
|
113
113
|
level: 2 | 1 | 3;
|
114
114
|
parentId: string | null;
|
115
115
|
childCategoryList: {
|
@@ -131,9 +131,9 @@ export declare const categoryContract: {
|
|
131
131
|
category: {
|
132
132
|
id: string;
|
133
133
|
value: string;
|
134
|
-
createdAt:
|
135
|
-
updatedAt:
|
136
|
-
deletedAt:
|
134
|
+
createdAt: Date;
|
135
|
+
updatedAt: Date;
|
136
|
+
deletedAt: Date | null;
|
137
137
|
level: 2 | 1 | 3;
|
138
138
|
parentId: string | null;
|
139
139
|
childCategoryList: {
|
@@ -155,9 +155,9 @@ export declare const categoryContract: {
|
|
155
155
|
category: {
|
156
156
|
id: string;
|
157
157
|
value: string;
|
158
|
-
createdAt:
|
159
|
-
updatedAt:
|
160
|
-
deletedAt:
|
158
|
+
createdAt: Date;
|
159
|
+
updatedAt: Date;
|
160
|
+
deletedAt: Date | null;
|
161
161
|
level: 2 | 1 | 3;
|
162
162
|
parentId: string | null;
|
163
163
|
childCategoryList: {
|
@@ -225,9 +225,9 @@ export declare const categoryContract: {
|
|
225
225
|
data: z.ZodArray<z.ZodType<{
|
226
226
|
id: string;
|
227
227
|
value: string;
|
228
|
-
createdAt:
|
229
|
-
updatedAt:
|
230
|
-
deletedAt:
|
228
|
+
createdAt: Date;
|
229
|
+
updatedAt: Date;
|
230
|
+
deletedAt: Date | null;
|
231
231
|
level: 2 | 1 | 3;
|
232
232
|
parentId: string | null;
|
233
233
|
childCategoryList: {
|
@@ -246,9 +246,9 @@ export declare const categoryContract: {
|
|
246
246
|
}, z.ZodTypeDef, {
|
247
247
|
id: string;
|
248
248
|
value: string;
|
249
|
-
createdAt:
|
250
|
-
updatedAt:
|
251
|
-
deletedAt:
|
249
|
+
createdAt: Date;
|
250
|
+
updatedAt: Date;
|
251
|
+
deletedAt: Date | null;
|
252
252
|
level: 2 | 1 | 3;
|
253
253
|
parentId: string | null;
|
254
254
|
childCategoryList: {
|
@@ -269,9 +269,9 @@ export declare const categoryContract: {
|
|
269
269
|
data: {
|
270
270
|
id: string;
|
271
271
|
value: string;
|
272
|
-
createdAt:
|
273
|
-
updatedAt:
|
274
|
-
deletedAt:
|
272
|
+
createdAt: Date;
|
273
|
+
updatedAt: Date;
|
274
|
+
deletedAt: Date | null;
|
275
275
|
level: 2 | 1 | 3;
|
276
276
|
parentId: string | null;
|
277
277
|
childCategoryList: {
|
@@ -296,9 +296,9 @@ export declare const categoryContract: {
|
|
296
296
|
data: {
|
297
297
|
id: string;
|
298
298
|
value: string;
|
299
|
-
createdAt:
|
300
|
-
updatedAt:
|
301
|
-
deletedAt:
|
299
|
+
createdAt: Date;
|
300
|
+
updatedAt: Date;
|
301
|
+
deletedAt: Date | null;
|
302
302
|
level: 2 | 1 | 3;
|
303
303
|
parentId: string | null;
|
304
304
|
childCategoryList: {
|
@@ -370,9 +370,9 @@ export declare const categoryContract: {
|
|
370
370
|
requestId: z.ZodString;
|
371
371
|
category: z.ZodObject<{
|
372
372
|
id: z.ZodString;
|
373
|
-
createdAt: z.
|
374
|
-
updatedAt: z.
|
375
|
-
deletedAt: z.ZodNullable<z.
|
373
|
+
createdAt: z.ZodDate;
|
374
|
+
updatedAt: z.ZodDate;
|
375
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
376
376
|
value: z.ZodString;
|
377
377
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
378
378
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -428,9 +428,9 @@ export declare const categoryContract: {
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
429
429
|
id: string;
|
430
430
|
value: string;
|
431
|
-
createdAt:
|
432
|
-
updatedAt:
|
433
|
-
deletedAt:
|
431
|
+
createdAt: Date;
|
432
|
+
updatedAt: Date;
|
433
|
+
deletedAt: Date | null;
|
434
434
|
level: 2 | 1 | 3;
|
435
435
|
parentId: string | null;
|
436
436
|
childCategoryList: {
|
@@ -449,9 +449,9 @@ export declare const categoryContract: {
|
|
449
449
|
}, {
|
450
450
|
id: string;
|
451
451
|
value: string;
|
452
|
-
createdAt:
|
453
|
-
updatedAt:
|
454
|
-
deletedAt:
|
452
|
+
createdAt: Date;
|
453
|
+
updatedAt: Date;
|
454
|
+
deletedAt: Date | null;
|
455
455
|
level: 2 | 1 | 3;
|
456
456
|
parentId: string | null;
|
457
457
|
childCategoryList: {
|
@@ -473,9 +473,9 @@ export declare const categoryContract: {
|
|
473
473
|
category: {
|
474
474
|
id: string;
|
475
475
|
value: string;
|
476
|
-
createdAt:
|
477
|
-
updatedAt:
|
478
|
-
deletedAt:
|
476
|
+
createdAt: Date;
|
477
|
+
updatedAt: Date;
|
478
|
+
deletedAt: Date | null;
|
479
479
|
level: 2 | 1 | 3;
|
480
480
|
parentId: string | null;
|
481
481
|
childCategoryList: {
|
@@ -497,9 +497,9 @@ export declare const categoryContract: {
|
|
497
497
|
category: {
|
498
498
|
id: string;
|
499
499
|
value: string;
|
500
|
-
createdAt:
|
501
|
-
updatedAt:
|
502
|
-
deletedAt:
|
500
|
+
createdAt: Date;
|
501
|
+
updatedAt: Date;
|
502
|
+
deletedAt: Date | null;
|
503
503
|
level: 2 | 1 | 3;
|
504
504
|
parentId: string | null;
|
505
505
|
childCategoryList: {
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
2
2
|
export declare const CategoryLevelSchema: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
3
3
|
export declare const CategorySchema: z.ZodObject<{
|
4
4
|
id: z.ZodString;
|
5
|
-
createdAt: z.
|
6
|
-
updatedAt: z.
|
7
|
-
deletedAt: z.ZodNullable<z.
|
5
|
+
createdAt: z.ZodDate;
|
6
|
+
updatedAt: z.ZodDate;
|
7
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8
8
|
value: z.ZodString;
|
9
9
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
10
10
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -60,9 +60,9 @@ export declare const CategorySchema: z.ZodObject<{
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
61
61
|
id: string;
|
62
62
|
value: string;
|
63
|
-
createdAt:
|
64
|
-
updatedAt:
|
65
|
-
deletedAt:
|
63
|
+
createdAt: Date;
|
64
|
+
updatedAt: Date;
|
65
|
+
deletedAt: Date | null;
|
66
66
|
level: 2 | 1 | 3;
|
67
67
|
parentId: string | null;
|
68
68
|
childCategoryList: {
|
@@ -81,9 +81,9 @@ export declare const CategorySchema: z.ZodObject<{
|
|
81
81
|
}, {
|
82
82
|
id: string;
|
83
83
|
value: string;
|
84
|
-
createdAt:
|
85
|
-
updatedAt:
|
86
|
-
deletedAt:
|
84
|
+
createdAt: Date;
|
85
|
+
updatedAt: Date;
|
86
|
+
deletedAt: Date | null;
|
87
87
|
level: 2 | 1 | 3;
|
88
88
|
parentId: string | null;
|
89
89
|
childCategoryList: {
|
@@ -343,11 +343,11 @@ export declare const channelContract: {
|
|
343
343
|
responses: {
|
344
344
|
200: z.ZodObject<{
|
345
345
|
requestId: z.ZodString;
|
346
|
-
channel: z.ZodOptional<z.ZodObject<{
|
346
|
+
channel: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
347
347
|
id: z.ZodOptional<z.ZodString>;
|
348
|
-
createdAt: z.ZodOptional<z.
|
349
|
-
updatedAt: z.ZodOptional<z.
|
350
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
348
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
349
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
350
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
351
351
|
name: z.ZodOptional<z.ZodString>;
|
352
352
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
353
353
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -573,9 +573,9 @@ export declare const channelContract: {
|
|
573
573
|
}>>;
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
575
575
|
id?: string | undefined;
|
576
|
-
createdAt?:
|
577
|
-
updatedAt?:
|
578
|
-
deletedAt?:
|
576
|
+
createdAt?: Date | undefined;
|
577
|
+
updatedAt?: Date | undefined;
|
578
|
+
deletedAt?: Date | null | undefined;
|
579
579
|
name?: string | undefined;
|
580
580
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
581
581
|
metadata?: {
|
@@ -635,9 +635,9 @@ export declare const channelContract: {
|
|
635
635
|
} | undefined;
|
636
636
|
}, {
|
637
637
|
id?: string | undefined;
|
638
|
-
createdAt?:
|
639
|
-
updatedAt?:
|
640
|
-
deletedAt?:
|
638
|
+
createdAt?: Date | undefined;
|
639
|
+
updatedAt?: Date | undefined;
|
640
|
+
deletedAt?: Date | null | undefined;
|
641
641
|
name?: string | undefined;
|
642
642
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
643
643
|
metadata?: {
|
@@ -695,14 +695,13 @@ export declare const channelContract: {
|
|
695
695
|
telephonySignature: string | null;
|
696
696
|
} | undefined;
|
697
697
|
} | undefined;
|
698
|
-
}
|
698
|
+
}>>, "many">;
|
699
699
|
}, "strip", z.ZodTypeAny, {
|
700
|
-
|
701
|
-
channel?: {
|
700
|
+
channel: ({
|
702
701
|
id?: string | undefined;
|
703
|
-
createdAt?:
|
704
|
-
updatedAt?:
|
705
|
-
deletedAt?:
|
702
|
+
createdAt?: Date | undefined;
|
703
|
+
updatedAt?: Date | undefined;
|
704
|
+
deletedAt?: Date | null | undefined;
|
706
705
|
name?: string | undefined;
|
707
706
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
708
707
|
metadata?: {
|
@@ -760,14 +759,14 @@ export declare const channelContract: {
|
|
760
759
|
telephonySignature: string | null;
|
761
760
|
} | undefined;
|
762
761
|
} | undefined;
|
763
|
-
} | undefined;
|
764
|
-
}, {
|
762
|
+
} | undefined)[];
|
765
763
|
requestId: string;
|
766
|
-
|
764
|
+
}, {
|
765
|
+
channel: ({
|
767
766
|
id?: string | undefined;
|
768
|
-
createdAt?:
|
769
|
-
updatedAt?:
|
770
|
-
deletedAt?:
|
767
|
+
createdAt?: Date | undefined;
|
768
|
+
updatedAt?: Date | undefined;
|
769
|
+
deletedAt?: Date | null | undefined;
|
771
770
|
name?: string | undefined;
|
772
771
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
773
772
|
metadata?: {
|
@@ -825,7 +824,8 @@ export declare const channelContract: {
|
|
825
824
|
telephonySignature: string | null;
|
826
825
|
} | undefined;
|
827
826
|
} | undefined;
|
828
|
-
} | undefined;
|
827
|
+
} | undefined)[];
|
828
|
+
requestId: string;
|
829
829
|
}>;
|
830
830
|
408: z.ZodObject<{
|
831
831
|
message: z.ZodString;
|
@@ -864,9 +864,9 @@ export declare const channelContract: {
|
|
864
864
|
requestId: z.ZodString;
|
865
865
|
channels: z.ZodOptional<z.ZodObject<{
|
866
866
|
id: z.ZodOptional<z.ZodString>;
|
867
|
-
createdAt: z.ZodOptional<z.
|
868
|
-
updatedAt: z.ZodOptional<z.
|
869
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
867
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
868
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
869
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
870
870
|
name: z.ZodOptional<z.ZodString>;
|
871
871
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
872
872
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -1092,9 +1092,9 @@ export declare const channelContract: {
|
|
1092
1092
|
}>>;
|
1093
1093
|
}, "strip", z.ZodTypeAny, {
|
1094
1094
|
id?: string | undefined;
|
1095
|
-
createdAt?:
|
1096
|
-
updatedAt?:
|
1097
|
-
deletedAt?:
|
1095
|
+
createdAt?: Date | undefined;
|
1096
|
+
updatedAt?: Date | undefined;
|
1097
|
+
deletedAt?: Date | null | undefined;
|
1098
1098
|
name?: string | undefined;
|
1099
1099
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1100
1100
|
metadata?: {
|
@@ -1154,9 +1154,9 @@ export declare const channelContract: {
|
|
1154
1154
|
} | undefined;
|
1155
1155
|
}, {
|
1156
1156
|
id?: string | undefined;
|
1157
|
-
createdAt?:
|
1158
|
-
updatedAt?:
|
1159
|
-
deletedAt?:
|
1157
|
+
createdAt?: Date | undefined;
|
1158
|
+
updatedAt?: Date | undefined;
|
1159
|
+
deletedAt?: Date | null | undefined;
|
1160
1160
|
name?: string | undefined;
|
1161
1161
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1162
1162
|
metadata?: {
|
@@ -1219,9 +1219,9 @@ export declare const channelContract: {
|
|
1219
1219
|
requestId: string;
|
1220
1220
|
channels?: {
|
1221
1221
|
id?: string | undefined;
|
1222
|
-
createdAt?:
|
1223
|
-
updatedAt?:
|
1224
|
-
deletedAt?:
|
1222
|
+
createdAt?: Date | undefined;
|
1223
|
+
updatedAt?: Date | undefined;
|
1224
|
+
deletedAt?: Date | null | undefined;
|
1225
1225
|
name?: string | undefined;
|
1226
1226
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1227
1227
|
metadata?: {
|
@@ -1284,9 +1284,9 @@ export declare const channelContract: {
|
|
1284
1284
|
requestId: string;
|
1285
1285
|
channels?: {
|
1286
1286
|
id?: string | undefined;
|
1287
|
-
createdAt?:
|
1288
|
-
updatedAt?:
|
1289
|
-
deletedAt?:
|
1287
|
+
createdAt?: Date | undefined;
|
1288
|
+
updatedAt?: Date | undefined;
|
1289
|
+
deletedAt?: Date | null | undefined;
|
1290
1290
|
name?: string | undefined;
|
1291
1291
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1292
1292
|
metadata?: {
|
@@ -31,9 +31,9 @@ export declare const ChannelMetadataSchema: z.ZodObject<{
|
|
31
31
|
*/
|
32
32
|
export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
|
33
33
|
id: z.ZodOptional<z.ZodString>;
|
34
|
-
createdAt: z.ZodOptional<z.
|
35
|
-
updatedAt: z.ZodOptional<z.
|
36
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
34
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
35
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
36
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
37
37
|
name: z.ZodOptional<z.ZodString>;
|
38
38
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
39
39
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -262,9 +262,9 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
|
|
262
262
|
}>>;
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
264
264
|
id?: string | undefined;
|
265
|
-
createdAt?:
|
266
|
-
updatedAt?:
|
267
|
-
deletedAt?:
|
265
|
+
createdAt?: Date | undefined;
|
266
|
+
updatedAt?: Date | undefined;
|
267
|
+
deletedAt?: Date | null | undefined;
|
268
268
|
name?: string | undefined;
|
269
269
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
270
270
|
metadata?: {
|
@@ -324,9 +324,9 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
|
|
324
324
|
} | undefined;
|
325
325
|
}, {
|
326
326
|
id?: string | undefined;
|
327
|
-
createdAt?:
|
328
|
-
updatedAt?:
|
329
|
-
deletedAt?:
|
327
|
+
createdAt?: Date | undefined;
|
328
|
+
updatedAt?: Date | undefined;
|
329
|
+
deletedAt?: Date | null | undefined;
|
330
330
|
name?: string | undefined;
|
331
331
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
332
332
|
metadata?: {
|