@kl1/contracts 1.0.99 → 1.1.0-uat
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 +895 -827
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +894 -827
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +111 -0
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +16 -0
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +69 -0
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1987 -1152
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +66 -0
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +66 -0
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +132 -132
- package/dist/src/mail/index.d.ts +10 -0
- package/dist/src/mail/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +1612 -1152
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server-contract.d.ts +477 -18
- package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +54 -54
- package/dist/src/mail/room-contract.d.ts +951 -948
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
- package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/account.schema.d.ts +32 -32
- package/dist/src/mail/schemas/message.schema.d.ts +42 -42
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +319 -316
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +683 -259
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +66 -0
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +66 -0
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
@@ -14,6 +14,7 @@ export declare const instagramContract: {
|
|
14
14
|
createdAt: z.ZodString;
|
15
15
|
updatedAt: z.ZodString;
|
16
16
|
platformContact: z.ZodObject<{
|
17
|
+
id: z.ZodString;
|
17
18
|
channelId: z.ZodString;
|
18
19
|
socialPlatformId: z.ZodNullable<z.ZodString>;
|
19
20
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
@@ -57,6 +58,7 @@ export declare const instagramContract: {
|
|
57
58
|
}>;
|
58
59
|
}, "strip", z.ZodTypeAny, {
|
59
60
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
61
|
+
id: string;
|
60
62
|
metadata: {
|
61
63
|
id: string;
|
62
64
|
name: string;
|
@@ -75,6 +77,7 @@ export declare const instagramContract: {
|
|
75
77
|
socialPlatformId: string | null;
|
76
78
|
}, {
|
77
79
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
80
|
+
id: string;
|
78
81
|
metadata: {
|
79
82
|
id: string;
|
80
83
|
name: string;
|
@@ -93,21 +96,37 @@ export declare const instagramContract: {
|
|
93
96
|
socialPlatformId: string | null;
|
94
97
|
}>;
|
95
98
|
actor: z.ZodNullable<z.ZodObject<{
|
99
|
+
id: z.ZodString;
|
96
100
|
name: z.ZodString;
|
97
101
|
email: z.ZodString;
|
98
102
|
address: z.ZodNullable<z.ZodString>;
|
99
103
|
phone: z.ZodNullable<z.ZodString>;
|
100
104
|
}, "strip", z.ZodTypeAny, {
|
105
|
+
id: string;
|
101
106
|
address: string | null;
|
102
107
|
name: string;
|
103
108
|
email: string;
|
104
109
|
phone: string | null;
|
105
110
|
}, {
|
111
|
+
id: string;
|
106
112
|
address: string | null;
|
107
113
|
name: string;
|
108
114
|
email: string;
|
109
115
|
phone: string | null;
|
110
116
|
}>>;
|
117
|
+
assignee: z.ZodNullable<z.ZodObject<{
|
118
|
+
id: z.ZodString;
|
119
|
+
name: z.ZodString;
|
120
|
+
email: z.ZodString;
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
122
|
+
id: string;
|
123
|
+
name: string;
|
124
|
+
email: string;
|
125
|
+
}, {
|
126
|
+
id: string;
|
127
|
+
name: string;
|
128
|
+
email: string;
|
129
|
+
}>>;
|
111
130
|
channel: z.ZodObject<{
|
112
131
|
id: z.ZodString;
|
113
132
|
name: z.ZodString;
|
@@ -202,6 +221,7 @@ export declare const instagramContract: {
|
|
202
221
|
phone: string | null;
|
203
222
|
} | undefined;
|
204
223
|
}>;
|
224
|
+
status: z.ZodNumber;
|
205
225
|
}, "strip", z.ZodTypeAny, {
|
206
226
|
id: string;
|
207
227
|
channel: {
|
@@ -229,9 +249,11 @@ export declare const instagramContract: {
|
|
229
249
|
} | undefined;
|
230
250
|
};
|
231
251
|
direction: "incoming" | "outgoing" | "system";
|
252
|
+
status: number;
|
232
253
|
createdAt: string;
|
233
254
|
updatedAt: string;
|
234
255
|
actor: {
|
256
|
+
id: string;
|
235
257
|
address: string | null;
|
236
258
|
name: string;
|
237
259
|
email: string;
|
@@ -240,6 +262,7 @@ export declare const instagramContract: {
|
|
240
262
|
isLatest: boolean;
|
241
263
|
platformContact: {
|
242
264
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
265
|
+
id: string;
|
243
266
|
metadata: {
|
244
267
|
id: string;
|
245
268
|
name: string;
|
@@ -257,6 +280,11 @@ export declare const instagramContract: {
|
|
257
280
|
channelId: string;
|
258
281
|
socialPlatformId: string | null;
|
259
282
|
};
|
283
|
+
assignee: {
|
284
|
+
id: string;
|
285
|
+
name: string;
|
286
|
+
email: string;
|
287
|
+
} | null;
|
260
288
|
lastMessage?: string | undefined;
|
261
289
|
handleTime?: number | undefined;
|
262
290
|
}, {
|
@@ -286,9 +314,11 @@ export declare const instagramContract: {
|
|
286
314
|
} | undefined;
|
287
315
|
};
|
288
316
|
direction: "incoming" | "outgoing" | "system";
|
317
|
+
status: number;
|
289
318
|
createdAt: string;
|
290
319
|
updatedAt: string;
|
291
320
|
actor: {
|
321
|
+
id: string;
|
292
322
|
address: string | null;
|
293
323
|
name: string;
|
294
324
|
email: string;
|
@@ -297,6 +327,7 @@ export declare const instagramContract: {
|
|
297
327
|
isLatest: boolean;
|
298
328
|
platformContact: {
|
299
329
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
330
|
+
id: string;
|
300
331
|
metadata: {
|
301
332
|
id: string;
|
302
333
|
name: string;
|
@@ -314,6 +345,11 @@ export declare const instagramContract: {
|
|
314
345
|
channelId: string;
|
315
346
|
socialPlatformId: string | null;
|
316
347
|
};
|
348
|
+
assignee: {
|
349
|
+
id: string;
|
350
|
+
name: string;
|
351
|
+
email: string;
|
352
|
+
} | null;
|
317
353
|
lastMessage?: string | undefined;
|
318
354
|
handleTime?: number | undefined;
|
319
355
|
}>;
|
@@ -477,9 +513,11 @@ export declare const instagramContract: {
|
|
477
513
|
} | undefined;
|
478
514
|
};
|
479
515
|
direction: "incoming" | "outgoing" | "system";
|
516
|
+
status: number;
|
480
517
|
createdAt: string;
|
481
518
|
updatedAt: string;
|
482
519
|
actor: {
|
520
|
+
id: string;
|
483
521
|
address: string | null;
|
484
522
|
name: string;
|
485
523
|
email: string;
|
@@ -488,6 +526,7 @@ export declare const instagramContract: {
|
|
488
526
|
isLatest: boolean;
|
489
527
|
platformContact: {
|
490
528
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
529
|
+
id: string;
|
491
530
|
metadata: {
|
492
531
|
id: string;
|
493
532
|
name: string;
|
@@ -505,6 +544,11 @@ export declare const instagramContract: {
|
|
505
544
|
channelId: string;
|
506
545
|
socialPlatformId: string | null;
|
507
546
|
};
|
547
|
+
assignee: {
|
548
|
+
id: string;
|
549
|
+
name: string;
|
550
|
+
email: string;
|
551
|
+
} | null;
|
508
552
|
lastMessage?: string | undefined;
|
509
553
|
handleTime?: number | undefined;
|
510
554
|
};
|
@@ -564,9 +608,11 @@ export declare const instagramContract: {
|
|
564
608
|
} | undefined;
|
565
609
|
};
|
566
610
|
direction: "incoming" | "outgoing" | "system";
|
611
|
+
status: number;
|
567
612
|
createdAt: string;
|
568
613
|
updatedAt: string;
|
569
614
|
actor: {
|
615
|
+
id: string;
|
570
616
|
address: string | null;
|
571
617
|
name: string;
|
572
618
|
email: string;
|
@@ -575,6 +621,7 @@ export declare const instagramContract: {
|
|
575
621
|
isLatest: boolean;
|
576
622
|
platformContact: {
|
577
623
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
624
|
+
id: string;
|
578
625
|
metadata: {
|
579
626
|
id: string;
|
580
627
|
name: string;
|
@@ -592,6 +639,11 @@ export declare const instagramContract: {
|
|
592
639
|
channelId: string;
|
593
640
|
socialPlatformId: string | null;
|
594
641
|
};
|
642
|
+
assignee: {
|
643
|
+
id: string;
|
644
|
+
name: string;
|
645
|
+
email: string;
|
646
|
+
} | null;
|
595
647
|
lastMessage?: string | undefined;
|
596
648
|
handleTime?: number | undefined;
|
597
649
|
};
|
@@ -626,6 +678,8 @@ export declare const instagramContract: {
|
|
626
678
|
lastMessage: z.ZodString;
|
627
679
|
handleTime: z.ZodNumber;
|
628
680
|
closeAt: z.ZodDate;
|
681
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
682
|
+
status: z.ZodNumber;
|
629
683
|
unreadCount: z.ZodNumber;
|
630
684
|
firstResponseAt: z.ZodDate;
|
631
685
|
firstResponseTime: z.ZodNumber;
|
@@ -2550,6 +2604,7 @@ export declare const instagramContract: {
|
|
2550
2604
|
connectedUserId: string;
|
2551
2605
|
};
|
2552
2606
|
direction: "incoming" | "outgoing" | "system";
|
2607
|
+
status: number;
|
2553
2608
|
createdAt: Date;
|
2554
2609
|
updatedAt: Date;
|
2555
2610
|
deletedAt: Date | null;
|
@@ -2760,6 +2815,7 @@ export declare const instagramContract: {
|
|
2760
2815
|
telephonySignature: string | null;
|
2761
2816
|
};
|
2762
2817
|
};
|
2818
|
+
lastMessageAt: Date | null;
|
2763
2819
|
cxlog: {
|
2764
2820
|
id: string;
|
2765
2821
|
channel: string | null;
|
@@ -2862,6 +2918,7 @@ export declare const instagramContract: {
|
|
2862
2918
|
connectedUserId: string;
|
2863
2919
|
};
|
2864
2920
|
direction: "incoming" | "outgoing" | "system";
|
2921
|
+
status: number;
|
2865
2922
|
createdAt: Date;
|
2866
2923
|
updatedAt: Date;
|
2867
2924
|
deletedAt: Date | null;
|
@@ -3072,6 +3129,7 @@ export declare const instagramContract: {
|
|
3072
3129
|
telephonySignature: string | null;
|
3073
3130
|
};
|
3074
3131
|
};
|
3132
|
+
lastMessageAt: Date | null;
|
3075
3133
|
cxlog: {
|
3076
3134
|
id: string;
|
3077
3135
|
channel: string | null;
|
@@ -4920,6 +4978,7 @@ export declare const instagramContract: {
|
|
4920
4978
|
connectedUserId: string;
|
4921
4979
|
};
|
4922
4980
|
direction: "incoming" | "outgoing" | "system";
|
4981
|
+
status: number;
|
4923
4982
|
createdAt: Date;
|
4924
4983
|
updatedAt: Date;
|
4925
4984
|
deletedAt: Date | null;
|
@@ -5130,6 +5189,7 @@ export declare const instagramContract: {
|
|
5130
5189
|
telephonySignature: string | null;
|
5131
5190
|
};
|
5132
5191
|
};
|
5192
|
+
lastMessageAt: Date | null;
|
5133
5193
|
cxlog: {
|
5134
5194
|
id: string;
|
5135
5195
|
channel: string | null;
|
@@ -5558,6 +5618,7 @@ export declare const instagramContract: {
|
|
5558
5618
|
connectedUserId: string;
|
5559
5619
|
};
|
5560
5620
|
direction: "incoming" | "outgoing" | "system";
|
5621
|
+
status: number;
|
5561
5622
|
createdAt: Date;
|
5562
5623
|
updatedAt: Date;
|
5563
5624
|
deletedAt: Date | null;
|
@@ -5768,6 +5829,7 @@ export declare const instagramContract: {
|
|
5768
5829
|
telephonySignature: string | null;
|
5769
5830
|
};
|
5770
5831
|
};
|
5832
|
+
lastMessageAt: Date | null;
|
5771
5833
|
cxlog: {
|
5772
5834
|
id: string;
|
5773
5835
|
channel: string | null;
|
@@ -6198,6 +6260,7 @@ export declare const instagramContract: {
|
|
6198
6260
|
connectedUserId: string;
|
6199
6261
|
};
|
6200
6262
|
direction: "incoming" | "outgoing" | "system";
|
6263
|
+
status: number;
|
6201
6264
|
createdAt: Date;
|
6202
6265
|
updatedAt: Date;
|
6203
6266
|
deletedAt: Date | null;
|
@@ -6408,6 +6471,7 @@ export declare const instagramContract: {
|
|
6408
6471
|
telephonySignature: string | null;
|
6409
6472
|
};
|
6410
6473
|
};
|
6474
|
+
lastMessageAt: Date | null;
|
6411
6475
|
cxlog: {
|
6412
6476
|
id: string;
|
6413
6477
|
channel: string | null;
|
@@ -6839,6 +6903,7 @@ export declare const instagramContract: {
|
|
6839
6903
|
connectedUserId: string;
|
6840
6904
|
};
|
6841
6905
|
direction: "incoming" | "outgoing" | "system";
|
6906
|
+
status: number;
|
6842
6907
|
createdAt: Date;
|
6843
6908
|
updatedAt: Date;
|
6844
6909
|
deletedAt: Date | null;
|
@@ -7049,6 +7114,7 @@ export declare const instagramContract: {
|
|
7049
7114
|
telephonySignature: string | null;
|
7050
7115
|
};
|
7051
7116
|
};
|
7117
|
+
lastMessageAt: Date | null;
|
7052
7118
|
cxlog: {
|
7053
7119
|
id: string;
|
7054
7120
|
channel: string | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/instagram/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAChF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/instagram/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAChF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiF5B,CAAC"}
|
package/dist/src/line/index.d.ts
CHANGED
@@ -849,6 +849,7 @@ export declare const lineContract: {
|
|
849
849
|
createdAt: z.ZodString;
|
850
850
|
updatedAt: z.ZodString;
|
851
851
|
platformContact: z.ZodObject<{
|
852
|
+
id: z.ZodString;
|
852
853
|
channelId: z.ZodString;
|
853
854
|
socialPlatformId: z.ZodNullable<z.ZodString>;
|
854
855
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
@@ -892,6 +893,7 @@ export declare const lineContract: {
|
|
892
893
|
}>;
|
893
894
|
}, "strip", z.ZodTypeAny, {
|
894
895
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
896
|
+
id: string;
|
895
897
|
metadata: {
|
896
898
|
id: string;
|
897
899
|
name: string;
|
@@ -910,6 +912,7 @@ export declare const lineContract: {
|
|
910
912
|
socialPlatformId: string | null;
|
911
913
|
}, {
|
912
914
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
915
|
+
id: string;
|
913
916
|
metadata: {
|
914
917
|
id: string;
|
915
918
|
name: string;
|
@@ -928,21 +931,37 @@ export declare const lineContract: {
|
|
928
931
|
socialPlatformId: string | null;
|
929
932
|
}>;
|
930
933
|
actor: z.ZodNullable<z.ZodObject<{
|
934
|
+
id: z.ZodString;
|
931
935
|
name: z.ZodString;
|
932
936
|
email: z.ZodString;
|
933
937
|
address: z.ZodNullable<z.ZodString>;
|
934
938
|
phone: z.ZodNullable<z.ZodString>;
|
935
939
|
}, "strip", z.ZodTypeAny, {
|
940
|
+
id: string;
|
936
941
|
address: string | null;
|
937
942
|
name: string;
|
938
943
|
email: string;
|
939
944
|
phone: string | null;
|
940
945
|
}, {
|
946
|
+
id: string;
|
941
947
|
address: string | null;
|
942
948
|
name: string;
|
943
949
|
email: string;
|
944
950
|
phone: string | null;
|
945
951
|
}>>;
|
952
|
+
assignee: z.ZodNullable<z.ZodObject<{
|
953
|
+
id: z.ZodString;
|
954
|
+
name: z.ZodString;
|
955
|
+
email: z.ZodString;
|
956
|
+
}, "strip", z.ZodTypeAny, {
|
957
|
+
id: string;
|
958
|
+
name: string;
|
959
|
+
email: string;
|
960
|
+
}, {
|
961
|
+
id: string;
|
962
|
+
name: string;
|
963
|
+
email: string;
|
964
|
+
}>>;
|
946
965
|
channel: z.ZodObject<{
|
947
966
|
id: z.ZodString;
|
948
967
|
name: z.ZodString;
|
@@ -1037,6 +1056,7 @@ export declare const lineContract: {
|
|
1037
1056
|
phone: string | null;
|
1038
1057
|
} | undefined;
|
1039
1058
|
}>;
|
1059
|
+
status: z.ZodNumber;
|
1040
1060
|
}, "strip", z.ZodTypeAny, {
|
1041
1061
|
id: string;
|
1042
1062
|
channel: {
|
@@ -1064,9 +1084,11 @@ export declare const lineContract: {
|
|
1064
1084
|
} | undefined;
|
1065
1085
|
};
|
1066
1086
|
direction: "incoming" | "outgoing" | "system";
|
1087
|
+
status: number;
|
1067
1088
|
createdAt: string;
|
1068
1089
|
updatedAt: string;
|
1069
1090
|
actor: {
|
1091
|
+
id: string;
|
1070
1092
|
address: string | null;
|
1071
1093
|
name: string;
|
1072
1094
|
email: string;
|
@@ -1075,6 +1097,7 @@ export declare const lineContract: {
|
|
1075
1097
|
isLatest: boolean;
|
1076
1098
|
platformContact: {
|
1077
1099
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1100
|
+
id: string;
|
1078
1101
|
metadata: {
|
1079
1102
|
id: string;
|
1080
1103
|
name: string;
|
@@ -1092,6 +1115,11 @@ export declare const lineContract: {
|
|
1092
1115
|
channelId: string;
|
1093
1116
|
socialPlatformId: string | null;
|
1094
1117
|
};
|
1118
|
+
assignee: {
|
1119
|
+
id: string;
|
1120
|
+
name: string;
|
1121
|
+
email: string;
|
1122
|
+
} | null;
|
1095
1123
|
lastMessage?: string | undefined;
|
1096
1124
|
handleTime?: number | undefined;
|
1097
1125
|
}, {
|
@@ -1121,9 +1149,11 @@ export declare const lineContract: {
|
|
1121
1149
|
} | undefined;
|
1122
1150
|
};
|
1123
1151
|
direction: "incoming" | "outgoing" | "system";
|
1152
|
+
status: number;
|
1124
1153
|
createdAt: string;
|
1125
1154
|
updatedAt: string;
|
1126
1155
|
actor: {
|
1156
|
+
id: string;
|
1127
1157
|
address: string | null;
|
1128
1158
|
name: string;
|
1129
1159
|
email: string;
|
@@ -1132,6 +1162,7 @@ export declare const lineContract: {
|
|
1132
1162
|
isLatest: boolean;
|
1133
1163
|
platformContact: {
|
1134
1164
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1165
|
+
id: string;
|
1135
1166
|
metadata: {
|
1136
1167
|
id: string;
|
1137
1168
|
name: string;
|
@@ -1149,6 +1180,11 @@ export declare const lineContract: {
|
|
1149
1180
|
channelId: string;
|
1150
1181
|
socialPlatformId: string | null;
|
1151
1182
|
};
|
1183
|
+
assignee: {
|
1184
|
+
id: string;
|
1185
|
+
name: string;
|
1186
|
+
email: string;
|
1187
|
+
} | null;
|
1152
1188
|
lastMessage?: string | undefined;
|
1153
1189
|
handleTime?: number | undefined;
|
1154
1190
|
}>;
|
@@ -1312,9 +1348,11 @@ export declare const lineContract: {
|
|
1312
1348
|
} | undefined;
|
1313
1349
|
};
|
1314
1350
|
direction: "incoming" | "outgoing" | "system";
|
1351
|
+
status: number;
|
1315
1352
|
createdAt: string;
|
1316
1353
|
updatedAt: string;
|
1317
1354
|
actor: {
|
1355
|
+
id: string;
|
1318
1356
|
address: string | null;
|
1319
1357
|
name: string;
|
1320
1358
|
email: string;
|
@@ -1323,6 +1361,7 @@ export declare const lineContract: {
|
|
1323
1361
|
isLatest: boolean;
|
1324
1362
|
platformContact: {
|
1325
1363
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1364
|
+
id: string;
|
1326
1365
|
metadata: {
|
1327
1366
|
id: string;
|
1328
1367
|
name: string;
|
@@ -1340,6 +1379,11 @@ export declare const lineContract: {
|
|
1340
1379
|
channelId: string;
|
1341
1380
|
socialPlatformId: string | null;
|
1342
1381
|
};
|
1382
|
+
assignee: {
|
1383
|
+
id: string;
|
1384
|
+
name: string;
|
1385
|
+
email: string;
|
1386
|
+
} | null;
|
1343
1387
|
lastMessage?: string | undefined;
|
1344
1388
|
handleTime?: number | undefined;
|
1345
1389
|
};
|
@@ -1399,9 +1443,11 @@ export declare const lineContract: {
|
|
1399
1443
|
} | undefined;
|
1400
1444
|
};
|
1401
1445
|
direction: "incoming" | "outgoing" | "system";
|
1446
|
+
status: number;
|
1402
1447
|
createdAt: string;
|
1403
1448
|
updatedAt: string;
|
1404
1449
|
actor: {
|
1450
|
+
id: string;
|
1405
1451
|
address: string | null;
|
1406
1452
|
name: string;
|
1407
1453
|
email: string;
|
@@ -1410,6 +1456,7 @@ export declare const lineContract: {
|
|
1410
1456
|
isLatest: boolean;
|
1411
1457
|
platformContact: {
|
1412
1458
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1459
|
+
id: string;
|
1413
1460
|
metadata: {
|
1414
1461
|
id: string;
|
1415
1462
|
name: string;
|
@@ -1427,6 +1474,11 @@ export declare const lineContract: {
|
|
1427
1474
|
channelId: string;
|
1428
1475
|
socialPlatformId: string | null;
|
1429
1476
|
};
|
1477
|
+
assignee: {
|
1478
|
+
id: string;
|
1479
|
+
name: string;
|
1480
|
+
email: string;
|
1481
|
+
} | null;
|
1430
1482
|
lastMessage?: string | undefined;
|
1431
1483
|
handleTime?: number | undefined;
|
1432
1484
|
};
|
@@ -1461,6 +1513,8 @@ export declare const lineContract: {
|
|
1461
1513
|
lastMessage: z.ZodString;
|
1462
1514
|
handleTime: z.ZodNumber;
|
1463
1515
|
closeAt: z.ZodDate;
|
1516
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
1517
|
+
status: z.ZodNumber;
|
1464
1518
|
unreadCount: z.ZodNumber;
|
1465
1519
|
firstResponseAt: z.ZodDate;
|
1466
1520
|
firstResponseTime: z.ZodNumber;
|
@@ -3385,6 +3439,7 @@ export declare const lineContract: {
|
|
3385
3439
|
connectedUserId: string;
|
3386
3440
|
};
|
3387
3441
|
direction: "incoming" | "outgoing" | "system";
|
3442
|
+
status: number;
|
3388
3443
|
createdAt: Date;
|
3389
3444
|
updatedAt: Date;
|
3390
3445
|
deletedAt: Date | null;
|
@@ -3595,6 +3650,7 @@ export declare const lineContract: {
|
|
3595
3650
|
telephonySignature: string | null;
|
3596
3651
|
};
|
3597
3652
|
};
|
3653
|
+
lastMessageAt: Date | null;
|
3598
3654
|
cxlog: {
|
3599
3655
|
id: string;
|
3600
3656
|
channel: string | null;
|
@@ -3697,6 +3753,7 @@ export declare const lineContract: {
|
|
3697
3753
|
connectedUserId: string;
|
3698
3754
|
};
|
3699
3755
|
direction: "incoming" | "outgoing" | "system";
|
3756
|
+
status: number;
|
3700
3757
|
createdAt: Date;
|
3701
3758
|
updatedAt: Date;
|
3702
3759
|
deletedAt: Date | null;
|
@@ -3907,6 +3964,7 @@ export declare const lineContract: {
|
|
3907
3964
|
telephonySignature: string | null;
|
3908
3965
|
};
|
3909
3966
|
};
|
3967
|
+
lastMessageAt: Date | null;
|
3910
3968
|
cxlog: {
|
3911
3969
|
id: string;
|
3912
3970
|
channel: string | null;
|
@@ -5755,6 +5813,7 @@ export declare const lineContract: {
|
|
5755
5813
|
connectedUserId: string;
|
5756
5814
|
};
|
5757
5815
|
direction: "incoming" | "outgoing" | "system";
|
5816
|
+
status: number;
|
5758
5817
|
createdAt: Date;
|
5759
5818
|
updatedAt: Date;
|
5760
5819
|
deletedAt: Date | null;
|
@@ -5965,6 +6024,7 @@ export declare const lineContract: {
|
|
5965
6024
|
telephonySignature: string | null;
|
5966
6025
|
};
|
5967
6026
|
};
|
6027
|
+
lastMessageAt: Date | null;
|
5968
6028
|
cxlog: {
|
5969
6029
|
id: string;
|
5970
6030
|
channel: string | null;
|
@@ -6393,6 +6453,7 @@ export declare const lineContract: {
|
|
6393
6453
|
connectedUserId: string;
|
6394
6454
|
};
|
6395
6455
|
direction: "incoming" | "outgoing" | "system";
|
6456
|
+
status: number;
|
6396
6457
|
createdAt: Date;
|
6397
6458
|
updatedAt: Date;
|
6398
6459
|
deletedAt: Date | null;
|
@@ -6603,6 +6664,7 @@ export declare const lineContract: {
|
|
6603
6664
|
telephonySignature: string | null;
|
6604
6665
|
};
|
6605
6666
|
};
|
6667
|
+
lastMessageAt: Date | null;
|
6606
6668
|
cxlog: {
|
6607
6669
|
id: string;
|
6608
6670
|
channel: string | null;
|
@@ -7033,6 +7095,7 @@ export declare const lineContract: {
|
|
7033
7095
|
connectedUserId: string;
|
7034
7096
|
};
|
7035
7097
|
direction: "incoming" | "outgoing" | "system";
|
7098
|
+
status: number;
|
7036
7099
|
createdAt: Date;
|
7037
7100
|
updatedAt: Date;
|
7038
7101
|
deletedAt: Date | null;
|
@@ -7243,6 +7306,7 @@ export declare const lineContract: {
|
|
7243
7306
|
telephonySignature: string | null;
|
7244
7307
|
};
|
7245
7308
|
};
|
7309
|
+
lastMessageAt: Date | null;
|
7246
7310
|
cxlog: {
|
7247
7311
|
id: string;
|
7248
7312
|
channel: string | null;
|
@@ -7674,6 +7738,7 @@ export declare const lineContract: {
|
|
7674
7738
|
connectedUserId: string;
|
7675
7739
|
};
|
7676
7740
|
direction: "incoming" | "outgoing" | "system";
|
7741
|
+
status: number;
|
7677
7742
|
createdAt: Date;
|
7678
7743
|
updatedAt: Date;
|
7679
7744
|
deletedAt: Date | null;
|
@@ -7884,6 +7949,7 @@ export declare const lineContract: {
|
|
7884
7949
|
telephonySignature: string | null;
|
7885
7950
|
};
|
7886
7951
|
};
|
7952
|
+
lastMessageAt: Date | null;
|
7887
7953
|
cxlog: {
|
7888
7954
|
id: string;
|
7889
7955
|
channel: string | null;
|