@kl1/contracts 1.0.18 → 1.0.19
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 +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -6
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +23 -23
- package/dist/src/channel/schema.d.ts +11 -8
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +3 -3
- package/dist/src/chat/index.d.ts +243 -243
- package/dist/src/chat/schema.d.ts +39 -39
- package/dist/src/chat/validation.d.ts +48 -63
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +314 -329
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +48 -63
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -3,9 +3,6 @@ export declare const messengerContract: {
|
|
3
3
|
body: import("zod").ZodObject<{
|
4
4
|
room: import("zod").ZodObject<{
|
5
5
|
id: import("zod").ZodString;
|
6
|
-
createdAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
7
|
-
updatedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
8
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
9
6
|
lastMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
10
7
|
handleTime: import("zod").ZodOptional<import("zod").ZodNumber>;
|
11
8
|
isLatest: import("zod").ZodBoolean;
|
@@ -13,7 +10,7 @@ export declare const messengerContract: {
|
|
13
10
|
platformContact: import("zod").ZodObject<{
|
14
11
|
channelId: import("zod").ZodString;
|
15
12
|
socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
|
16
|
-
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
13
|
+
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
17
14
|
metadata: import("zod").ZodObject<{
|
18
15
|
id: import("zod").ZodString;
|
19
16
|
name: import("zod").ZodString;
|
@@ -53,7 +50,7 @@ export declare const messengerContract: {
|
|
53
50
|
socialProfileUrl: string | null;
|
54
51
|
}>;
|
55
52
|
}, "strip", import("zod").ZodTypeAny, {
|
56
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
53
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
57
54
|
metadata: {
|
58
55
|
id: string;
|
59
56
|
name: string;
|
@@ -71,7 +68,7 @@ export declare const messengerContract: {
|
|
71
68
|
channelId: string;
|
72
69
|
socialPlatformId: string | null;
|
73
70
|
}, {
|
74
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
71
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
75
72
|
metadata: {
|
76
73
|
id: string;
|
77
74
|
name: string;
|
@@ -107,7 +104,7 @@ export declare const messengerContract: {
|
|
107
104
|
}>>;
|
108
105
|
channel: import("zod").ZodObject<{
|
109
106
|
name: import("zod").ZodString;
|
110
|
-
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
107
|
+
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
111
108
|
metadata: import("zod").ZodObject<{
|
112
109
|
id: import("zod").ZodString;
|
113
110
|
name: import("zod").ZodString;
|
@@ -126,12 +123,12 @@ export declare const messengerContract: {
|
|
126
123
|
}>;
|
127
124
|
brandName: import("zod").ZodString;
|
128
125
|
platformId: import("zod").ZodString;
|
129
|
-
status: import("zod").ZodUnion<[import("zod").ZodLiteral<
|
126
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
|
130
127
|
isReloginRequired: import("zod").ZodBoolean;
|
131
128
|
connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
132
129
|
connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
133
130
|
}, "strip", import("zod").ZodTypeAny, {
|
134
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
131
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
135
132
|
name: string;
|
136
133
|
metadata: {
|
137
134
|
id: string;
|
@@ -139,14 +136,14 @@ export declare const messengerContract: {
|
|
139
136
|
accessToken: string;
|
140
137
|
additionalCredentials?: any;
|
141
138
|
};
|
142
|
-
status:
|
139
|
+
status: boolean;
|
143
140
|
brandName: string;
|
144
141
|
platformId: string;
|
145
142
|
isReloginRequired: boolean;
|
146
143
|
connectedUserName?: string | null | undefined;
|
147
144
|
connectedUserId?: string | null | undefined;
|
148
145
|
}, {
|
149
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
146
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
150
147
|
name: string;
|
151
148
|
metadata: {
|
152
149
|
id: string;
|
@@ -154,7 +151,7 @@ export declare const messengerContract: {
|
|
154
151
|
accessToken: string;
|
155
152
|
additionalCredentials?: any;
|
156
153
|
};
|
157
|
-
status:
|
154
|
+
status: boolean;
|
158
155
|
brandName: string;
|
159
156
|
platformId: string;
|
160
157
|
isReloginRequired: boolean;
|
@@ -164,7 +161,7 @@ export declare const messengerContract: {
|
|
164
161
|
}, "strip", import("zod").ZodTypeAny, {
|
165
162
|
id: string;
|
166
163
|
channel: {
|
167
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
164
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
168
165
|
name: string;
|
169
166
|
metadata: {
|
170
167
|
id: string;
|
@@ -172,7 +169,7 @@ export declare const messengerContract: {
|
|
172
169
|
accessToken: string;
|
173
170
|
additionalCredentials?: any;
|
174
171
|
};
|
175
|
-
status:
|
172
|
+
status: boolean;
|
176
173
|
brandName: string;
|
177
174
|
platformId: string;
|
178
175
|
isReloginRequired: boolean;
|
@@ -180,9 +177,6 @@ export declare const messengerContract: {
|
|
180
177
|
connectedUserId?: string | null | undefined;
|
181
178
|
};
|
182
179
|
direction: "incoming" | "outgoing" | "system";
|
183
|
-
createdAt: Date | null;
|
184
|
-
updatedAt: Date | null;
|
185
|
-
deletedAt: Date | null;
|
186
180
|
actor: {
|
187
181
|
address: string | null;
|
188
182
|
name: string;
|
@@ -191,7 +185,7 @@ export declare const messengerContract: {
|
|
191
185
|
} | null;
|
192
186
|
isLatest: boolean;
|
193
187
|
platformContact: {
|
194
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
188
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
195
189
|
metadata: {
|
196
190
|
id: string;
|
197
191
|
name: string;
|
@@ -214,7 +208,7 @@ export declare const messengerContract: {
|
|
214
208
|
}, {
|
215
209
|
id: string;
|
216
210
|
channel: {
|
217
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
211
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
218
212
|
name: string;
|
219
213
|
metadata: {
|
220
214
|
id: string;
|
@@ -222,7 +216,7 @@ export declare const messengerContract: {
|
|
222
216
|
accessToken: string;
|
223
217
|
additionalCredentials?: any;
|
224
218
|
};
|
225
|
-
status:
|
219
|
+
status: boolean;
|
226
220
|
brandName: string;
|
227
221
|
platformId: string;
|
228
222
|
isReloginRequired: boolean;
|
@@ -230,9 +224,6 @@ export declare const messengerContract: {
|
|
230
224
|
connectedUserId?: string | null | undefined;
|
231
225
|
};
|
232
226
|
direction: "incoming" | "outgoing" | "system";
|
233
|
-
createdAt: Date | null;
|
234
|
-
updatedAt: Date | null;
|
235
|
-
deletedAt: Date | null;
|
236
227
|
actor: {
|
237
228
|
address: string | null;
|
238
229
|
name: string;
|
@@ -241,7 +232,7 @@ export declare const messengerContract: {
|
|
241
232
|
} | null;
|
242
233
|
isLatest: boolean;
|
243
234
|
platformContact: {
|
244
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
235
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
245
236
|
metadata: {
|
246
237
|
id: string;
|
247
238
|
name: string;
|
@@ -416,7 +407,7 @@ export declare const messengerContract: {
|
|
416
407
|
room: {
|
417
408
|
id: string;
|
418
409
|
channel: {
|
419
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
410
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
420
411
|
name: string;
|
421
412
|
metadata: {
|
422
413
|
id: string;
|
@@ -424,7 +415,7 @@ export declare const messengerContract: {
|
|
424
415
|
accessToken: string;
|
425
416
|
additionalCredentials?: any;
|
426
417
|
};
|
427
|
-
status:
|
418
|
+
status: boolean;
|
428
419
|
brandName: string;
|
429
420
|
platformId: string;
|
430
421
|
isReloginRequired: boolean;
|
@@ -432,9 +423,6 @@ export declare const messengerContract: {
|
|
432
423
|
connectedUserId?: string | null | undefined;
|
433
424
|
};
|
434
425
|
direction: "incoming" | "outgoing" | "system";
|
435
|
-
createdAt: Date | null;
|
436
|
-
updatedAt: Date | null;
|
437
|
-
deletedAt: Date | null;
|
438
426
|
actor: {
|
439
427
|
address: string | null;
|
440
428
|
name: string;
|
@@ -443,7 +431,7 @@ export declare const messengerContract: {
|
|
443
431
|
} | null;
|
444
432
|
isLatest: boolean;
|
445
433
|
platformContact: {
|
446
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
434
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
447
435
|
metadata: {
|
448
436
|
id: string;
|
449
437
|
name: string;
|
@@ -499,7 +487,7 @@ export declare const messengerContract: {
|
|
499
487
|
room: {
|
500
488
|
id: string;
|
501
489
|
channel: {
|
502
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
490
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
503
491
|
name: string;
|
504
492
|
metadata: {
|
505
493
|
id: string;
|
@@ -507,7 +495,7 @@ export declare const messengerContract: {
|
|
507
495
|
accessToken: string;
|
508
496
|
additionalCredentials?: any;
|
509
497
|
};
|
510
|
-
status:
|
498
|
+
status: boolean;
|
511
499
|
brandName: string;
|
512
500
|
platformId: string;
|
513
501
|
isReloginRequired: boolean;
|
@@ -515,9 +503,6 @@ export declare const messengerContract: {
|
|
515
503
|
connectedUserId?: string | null | undefined;
|
516
504
|
};
|
517
505
|
direction: "incoming" | "outgoing" | "system";
|
518
|
-
createdAt: Date | null;
|
519
|
-
updatedAt: Date | null;
|
520
|
-
deletedAt: Date | null;
|
521
506
|
actor: {
|
522
507
|
address: string | null;
|
523
508
|
name: string;
|
@@ -526,7 +511,7 @@ export declare const messengerContract: {
|
|
526
511
|
} | null;
|
527
512
|
isLatest: boolean;
|
528
513
|
platformContact: {
|
529
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
514
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
530
515
|
metadata: {
|
531
516
|
id: string;
|
532
517
|
name: string;
|
@@ -590,7 +575,7 @@ export declare const messengerContract: {
|
|
590
575
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
591
576
|
channelId: import("zod").ZodString;
|
592
577
|
socialPlatformId: import("zod").ZodString;
|
593
|
-
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
578
|
+
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
594
579
|
metadata: import("zod").ZodObject<{
|
595
580
|
id: import("zod").ZodString;
|
596
581
|
name: import("zod").ZodString;
|
@@ -1348,7 +1333,7 @@ export declare const messengerContract: {
|
|
1348
1333
|
}[] | undefined;
|
1349
1334
|
}>;
|
1350
1335
|
}, "strip", import("zod").ZodTypeAny, {
|
1351
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
1336
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1352
1337
|
id: string;
|
1353
1338
|
metadata: {
|
1354
1339
|
id: string;
|
@@ -1464,7 +1449,7 @@ export declare const messengerContract: {
|
|
1464
1449
|
channelId: string;
|
1465
1450
|
socialPlatformId: string;
|
1466
1451
|
}, {
|
1467
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
1452
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1468
1453
|
id: string;
|
1469
1454
|
metadata: {
|
1470
1455
|
id: string;
|
@@ -1984,7 +1969,7 @@ export declare const messengerContract: {
|
|
1984
1969
|
updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
1985
1970
|
deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
|
1986
1971
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
1987
|
-
type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
1972
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
1988
1973
|
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
1989
1974
|
id: import("zod").ZodString;
|
1990
1975
|
name: import("zod").ZodString;
|
@@ -2003,7 +1988,7 @@ export declare const messengerContract: {
|
|
2003
1988
|
}>>;
|
2004
1989
|
brandName: import("zod").ZodOptional<import("zod").ZodString>;
|
2005
1990
|
platformId: import("zod").ZodOptional<import("zod").ZodString>;
|
2006
|
-
status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<
|
1991
|
+
status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>>;
|
2007
1992
|
isReloginRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
2008
1993
|
connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
|
2009
1994
|
connectedUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -2212,7 +2197,7 @@ export declare const messengerContract: {
|
|
2212
2197
|
updatedAt?: Date | undefined;
|
2213
2198
|
deletedAt?: Date | null | undefined;
|
2214
2199
|
name?: string | undefined;
|
2215
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
2200
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2216
2201
|
metadata?: {
|
2217
2202
|
id: string;
|
2218
2203
|
name: string;
|
@@ -2221,7 +2206,7 @@ export declare const messengerContract: {
|
|
2221
2206
|
} | undefined;
|
2222
2207
|
brandName?: string | undefined;
|
2223
2208
|
platformId?: string | undefined;
|
2224
|
-
status?:
|
2209
|
+
status?: boolean | undefined;
|
2225
2210
|
isReloginRequired?: boolean | undefined;
|
2226
2211
|
connectedUserName?: string | undefined;
|
2227
2212
|
connectedUserId?: string | undefined;
|
@@ -2274,7 +2259,7 @@ export declare const messengerContract: {
|
|
2274
2259
|
updatedAt?: Date | undefined;
|
2275
2260
|
deletedAt?: Date | null | undefined;
|
2276
2261
|
name?: string | undefined;
|
2277
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
2262
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2278
2263
|
metadata?: {
|
2279
2264
|
id: string;
|
2280
2265
|
name: string;
|
@@ -2283,7 +2268,7 @@ export declare const messengerContract: {
|
|
2283
2268
|
} | undefined;
|
2284
2269
|
brandName?: string | undefined;
|
2285
2270
|
platformId?: string | undefined;
|
2286
|
-
status?:
|
2271
|
+
status?: boolean | undefined;
|
2287
2272
|
isReloginRequired?: boolean | undefined;
|
2288
2273
|
connectedUserName?: string | undefined;
|
2289
2274
|
connectedUserId?: string | undefined;
|
@@ -2440,7 +2425,7 @@ export declare const messengerContract: {
|
|
2440
2425
|
firstResponseAt: Date;
|
2441
2426
|
isLatest: boolean;
|
2442
2427
|
platformContact: {
|
2443
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
2428
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2444
2429
|
id: string;
|
2445
2430
|
metadata: {
|
2446
2431
|
id: string;
|
@@ -2623,7 +2608,7 @@ export declare const messengerContract: {
|
|
2623
2608
|
updatedAt?: Date | undefined;
|
2624
2609
|
deletedAt?: Date | null | undefined;
|
2625
2610
|
name?: string | undefined;
|
2626
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
2611
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2627
2612
|
metadata?: {
|
2628
2613
|
id: string;
|
2629
2614
|
name: string;
|
@@ -2632,7 +2617,7 @@ export declare const messengerContract: {
|
|
2632
2617
|
} | undefined;
|
2633
2618
|
brandName?: string | undefined;
|
2634
2619
|
platformId?: string | undefined;
|
2635
|
-
status?:
|
2620
|
+
status?: boolean | undefined;
|
2636
2621
|
isReloginRequired?: boolean | undefined;
|
2637
2622
|
connectedUserName?: string | undefined;
|
2638
2623
|
connectedUserId?: string | undefined;
|
@@ -2737,7 +2722,7 @@ export declare const messengerContract: {
|
|
2737
2722
|
firstResponseAt: Date;
|
2738
2723
|
isLatest: boolean;
|
2739
2724
|
platformContact: {
|
2740
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
2725
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2741
2726
|
id: string;
|
2742
2727
|
metadata: {
|
2743
2728
|
id: string;
|
@@ -2920,7 +2905,7 @@ export declare const messengerContract: {
|
|
2920
2905
|
updatedAt?: Date | undefined;
|
2921
2906
|
deletedAt?: Date | null | undefined;
|
2922
2907
|
name?: string | undefined;
|
2923
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
2908
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2924
2909
|
metadata?: {
|
2925
2910
|
id: string;
|
2926
2911
|
name: string;
|
@@ -2929,7 +2914,7 @@ export declare const messengerContract: {
|
|
2929
2914
|
} | undefined;
|
2930
2915
|
brandName?: string | undefined;
|
2931
2916
|
platformId?: string | undefined;
|
2932
|
-
status?:
|
2917
|
+
status?: boolean | undefined;
|
2933
2918
|
isReloginRequired?: boolean | undefined;
|
2934
2919
|
connectedUserName?: string | undefined;
|
2935
2920
|
connectedUserId?: string | undefined;
|
@@ -3772,7 +3757,7 @@ export declare const messengerContract: {
|
|
3772
3757
|
firstResponseAt: Date;
|
3773
3758
|
isLatest: boolean;
|
3774
3759
|
platformContact: {
|
3775
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
3760
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3776
3761
|
id: string;
|
3777
3762
|
metadata: {
|
3778
3763
|
id: string;
|
@@ -3955,7 +3940,7 @@ export declare const messengerContract: {
|
|
3955
3940
|
updatedAt?: Date | undefined;
|
3956
3941
|
deletedAt?: Date | null | undefined;
|
3957
3942
|
name?: string | undefined;
|
3958
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
3943
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3959
3944
|
metadata?: {
|
3960
3945
|
id: string;
|
3961
3946
|
name: string;
|
@@ -3964,7 +3949,7 @@ export declare const messengerContract: {
|
|
3964
3949
|
} | undefined;
|
3965
3950
|
brandName?: string | undefined;
|
3966
3951
|
platformId?: string | undefined;
|
3967
|
-
status?:
|
3952
|
+
status?: boolean | undefined;
|
3968
3953
|
isReloginRequired?: boolean | undefined;
|
3969
3954
|
connectedUserName?: string | undefined;
|
3970
3955
|
connectedUserId?: string | undefined;
|
@@ -4227,7 +4212,7 @@ export declare const messengerContract: {
|
|
4227
4212
|
firstResponseAt: Date;
|
4228
4213
|
isLatest: boolean;
|
4229
4214
|
platformContact: {
|
4230
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
4215
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4231
4216
|
id: string;
|
4232
4217
|
metadata: {
|
4233
4218
|
id: string;
|
@@ -4410,7 +4395,7 @@ export declare const messengerContract: {
|
|
4410
4395
|
updatedAt?: Date | undefined;
|
4411
4396
|
deletedAt?: Date | null | undefined;
|
4412
4397
|
name?: string | undefined;
|
4413
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
4398
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
4414
4399
|
metadata?: {
|
4415
4400
|
id: string;
|
4416
4401
|
name: string;
|
@@ -4419,7 +4404,7 @@ export declare const messengerContract: {
|
|
4419
4404
|
} | undefined;
|
4420
4405
|
brandName?: string | undefined;
|
4421
4406
|
platformId?: string | undefined;
|
4422
|
-
status?:
|
4407
|
+
status?: boolean | undefined;
|
4423
4408
|
isReloginRequired?: boolean | undefined;
|
4424
4409
|
connectedUserName?: string | undefined;
|
4425
4410
|
connectedUserId?: string | undefined;
|
@@ -4684,7 +4669,7 @@ export declare const messengerContract: {
|
|
4684
4669
|
firstResponseAt: Date;
|
4685
4670
|
isLatest: boolean;
|
4686
4671
|
platformContact: {
|
4687
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
4672
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4688
4673
|
id: string;
|
4689
4674
|
metadata: {
|
4690
4675
|
id: string;
|
@@ -4867,7 +4852,7 @@ export declare const messengerContract: {
|
|
4867
4852
|
updatedAt?: Date | undefined;
|
4868
4853
|
deletedAt?: Date | null | undefined;
|
4869
4854
|
name?: string | undefined;
|
4870
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
4855
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
4871
4856
|
metadata?: {
|
4872
4857
|
id: string;
|
4873
4858
|
name: string;
|
@@ -4876,7 +4861,7 @@ export declare const messengerContract: {
|
|
4876
4861
|
} | undefined;
|
4877
4862
|
brandName?: string | undefined;
|
4878
4863
|
platformId?: string | undefined;
|
4879
|
-
status?:
|
4864
|
+
status?: boolean | undefined;
|
4880
4865
|
isReloginRequired?: boolean | undefined;
|
4881
4866
|
connectedUserName?: string | undefined;
|
4882
4867
|
connectedUserId?: string | undefined;
|
@@ -5142,7 +5127,7 @@ export declare const messengerContract: {
|
|
5142
5127
|
firstResponseAt: Date;
|
5143
5128
|
isLatest: boolean;
|
5144
5129
|
platformContact: {
|
5145
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
5130
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5146
5131
|
id: string;
|
5147
5132
|
metadata: {
|
5148
5133
|
id: string;
|
@@ -5325,7 +5310,7 @@ export declare const messengerContract: {
|
|
5325
5310
|
updatedAt?: Date | undefined;
|
5326
5311
|
deletedAt?: Date | null | undefined;
|
5327
5312
|
name?: string | undefined;
|
5328
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
5313
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5329
5314
|
metadata?: {
|
5330
5315
|
id: string;
|
5331
5316
|
name: string;
|
@@ -5334,7 +5319,7 @@ export declare const messengerContract: {
|
|
5334
5319
|
} | undefined;
|
5335
5320
|
brandName?: string | undefined;
|
5336
5321
|
platformId?: string | undefined;
|
5337
|
-
status?:
|
5322
|
+
status?: boolean | undefined;
|
5338
5323
|
isReloginRequired?: boolean | undefined;
|
5339
5324
|
connectedUserName?: string | undefined;
|
5340
5325
|
connectedUserId?: string | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU5B,CAAC"}
|
package/package.json
CHANGED
@@ -1,30 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const PlatformContactSchema: z.ZodObject<{
|
3
|
-
id: z.ZodString;
|
4
|
-
createdAt: z.ZodDate;
|
5
|
-
updatedAt: z.ZodDate;
|
6
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
|
-
contactId: z.ZodString;
|
8
|
-
channelId: z.ZodString;
|
9
|
-
config: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
10
|
-
type: z.ZodString;
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
12
|
-
type: string;
|
13
|
-
id: string;
|
14
|
-
createdAt: Date;
|
15
|
-
updatedAt: Date;
|
16
|
-
deletedAt: Date | null;
|
17
|
-
channelId: string;
|
18
|
-
contactId: string;
|
19
|
-
config: {};
|
20
|
-
}, {
|
21
|
-
type: string;
|
22
|
-
id: string;
|
23
|
-
createdAt: Date;
|
24
|
-
updatedAt: Date;
|
25
|
-
deletedAt: Date | null;
|
26
|
-
channelId: string;
|
27
|
-
contactId: string;
|
28
|
-
config: {};
|
29
|
-
}>;
|
30
|
-
//# sourceMappingURL=schema.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/platform-contact/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKhC,CAAC"}
|