@kl1/contracts 1.1.80-uat → 1.1.81-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/chat/index.d.ts +51 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +14 -0
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +27 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +160 -10
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +8 -8
- package/dist/api-contracts/src/dashboard/schema.d.ts +8 -8
- package/dist/api-contracts/src/facebook-feed/index.d.ts +17 -0
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +17 -0
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +17 -0
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +17 -0
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +25 -1
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/role/schema.d.ts +26 -0
- package/dist/api-contracts/src/role/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +5 -0
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +17 -0
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +17 -0
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/index.js +15 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -3245,6 +3245,7 @@ export declare const receiveMessageContract: {
|
|
3245
3245
|
telephonySignature: string | null;
|
3246
3246
|
};
|
3247
3247
|
}>>>;
|
3248
|
+
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
3248
3249
|
}, "strip", z.ZodTypeAny, {
|
3249
3250
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
3250
3251
|
id: string;
|
@@ -3572,6 +3573,7 @@ export declare const receiveMessageContract: {
|
|
3572
3573
|
locale: "" | "th" | "mm" | "en" | null;
|
3573
3574
|
message?: string | undefined;
|
3574
3575
|
url?: string | undefined;
|
3576
|
+
label?: string | null | undefined;
|
3575
3577
|
template?: any;
|
3576
3578
|
metadata?: any;
|
3577
3579
|
actor?: {
|
@@ -4047,6 +4049,7 @@ export declare const receiveMessageContract: {
|
|
4047
4049
|
locale: "" | "th" | "mm" | "en" | null;
|
4048
4050
|
message?: string | undefined;
|
4049
4051
|
url?: string | undefined;
|
4052
|
+
label?: string | null | undefined;
|
4050
4053
|
template?: any;
|
4051
4054
|
metadata?: any;
|
4052
4055
|
actor?: {
|
@@ -4524,6 +4527,7 @@ export declare const receiveMessageContract: {
|
|
4524
4527
|
locale: "" | "th" | "mm" | "en" | null;
|
4525
4528
|
message?: string | undefined;
|
4526
4529
|
url?: string | undefined;
|
4530
|
+
label?: string | null | undefined;
|
4527
4531
|
template?: any;
|
4528
4532
|
metadata?: any;
|
4529
4533
|
actor?: {
|
@@ -5001,6 +5005,7 @@ export declare const receiveMessageContract: {
|
|
5001
5005
|
locale: "" | "th" | "mm" | "en" | null;
|
5002
5006
|
message?: string | undefined;
|
5003
5007
|
url?: string | undefined;
|
5008
|
+
label?: string | null | undefined;
|
5004
5009
|
template?: any;
|
5005
5010
|
metadata?: any;
|
5006
5011
|
actor?: {
|
@@ -12544,6 +12549,7 @@ export declare const mainFeedContract: {
|
|
12544
12549
|
isActive: boolean;
|
12545
12550
|
}>;
|
12546
12551
|
editedMessageid: z.ZodString;
|
12552
|
+
label: z.ZodOptional<z.ZodString>;
|
12547
12553
|
}>, {
|
12548
12554
|
platformContract: z.ZodObject<{
|
12549
12555
|
id: z.ZodString;
|
@@ -18172,6 +18178,7 @@ export declare const mainFeedContract: {
|
|
18172
18178
|
isActive: boolean;
|
18173
18179
|
}>;
|
18174
18180
|
editedMessageid: z.ZodString;
|
18181
|
+
label: z.ZodOptional<z.ZodString>;
|
18175
18182
|
}>, "strip", z.ZodTypeAny, {
|
18176
18183
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
18177
18184
|
message: string;
|
@@ -18878,6 +18885,7 @@ export declare const mainFeedContract: {
|
|
18878
18885
|
};
|
18879
18886
|
};
|
18880
18887
|
editedMessageid: string;
|
18888
|
+
label?: string | undefined;
|
18881
18889
|
template?: any;
|
18882
18890
|
metadata?: any;
|
18883
18891
|
}, {
|
@@ -19586,6 +19594,7 @@ export declare const mainFeedContract: {
|
|
19586
19594
|
};
|
19587
19595
|
};
|
19588
19596
|
editedMessageid: string;
|
19597
|
+
label?: string | undefined;
|
19589
19598
|
template?: any;
|
19590
19599
|
metadata?: any;
|
19591
19600
|
}>, "many">;
|
@@ -20301,6 +20310,7 @@ export declare const mainFeedContract: {
|
|
20301
20310
|
};
|
20302
20311
|
};
|
20303
20312
|
editedMessageid: string;
|
20313
|
+
label?: string | undefined;
|
20304
20314
|
template?: any;
|
20305
20315
|
metadata?: any;
|
20306
20316
|
}[];
|
@@ -21116,6 +21126,7 @@ export declare const mainFeedContract: {
|
|
21116
21126
|
channelId: string;
|
21117
21127
|
socialPlatformId: string;
|
21118
21128
|
};
|
21129
|
+
label?: string | undefined;
|
21119
21130
|
template?: any;
|
21120
21131
|
metadata?: any;
|
21121
21132
|
}, {
|
@@ -21830,6 +21841,7 @@ export declare const mainFeedContract: {
|
|
21830
21841
|
};
|
21831
21842
|
};
|
21832
21843
|
editedMessageid: string;
|
21844
|
+
label?: string | undefined;
|
21833
21845
|
template?: any;
|
21834
21846
|
metadata?: any;
|
21835
21847
|
}[];
|
@@ -22645,6 +22657,7 @@ export declare const mainFeedContract: {
|
|
22645
22657
|
channelId: string;
|
22646
22658
|
socialPlatformId: string;
|
22647
22659
|
};
|
22660
|
+
label?: string | undefined;
|
22648
22661
|
template?: any;
|
22649
22662
|
metadata?: any;
|
22650
22663
|
}>;
|
@@ -23361,6 +23374,7 @@ export declare const mainFeedContract: {
|
|
23361
23374
|
};
|
23362
23375
|
};
|
23363
23376
|
editedMessageid: string;
|
23377
|
+
label?: string | undefined;
|
23364
23378
|
template?: any;
|
23365
23379
|
metadata?: any;
|
23366
23380
|
}[];
|
@@ -24176,6 +24190,7 @@ export declare const mainFeedContract: {
|
|
24176
24190
|
channelId: string;
|
24177
24191
|
socialPlatformId: string;
|
24178
24192
|
};
|
24193
|
+
label?: string | undefined;
|
24179
24194
|
template?: any;
|
24180
24195
|
metadata?: any;
|
24181
24196
|
};
|
@@ -24896,6 +24911,7 @@ export declare const mainFeedContract: {
|
|
24896
24911
|
};
|
24897
24912
|
};
|
24898
24913
|
editedMessageid: string;
|
24914
|
+
label?: string | undefined;
|
24899
24915
|
template?: any;
|
24900
24916
|
metadata?: any;
|
24901
24917
|
}[];
|
@@ -25711,6 +25727,7 @@ export declare const mainFeedContract: {
|
|
25711
25727
|
channelId: string;
|
25712
25728
|
socialPlatformId: string;
|
25713
25729
|
};
|
25730
|
+
label?: string | undefined;
|
25714
25731
|
template?: any;
|
25715
25732
|
metadata?: any;
|
25716
25733
|
};
|
@@ -55698,6 +55715,7 @@ export declare const mainChatContract: {
|
|
55698
55715
|
isActive: boolean;
|
55699
55716
|
}>;
|
55700
55717
|
editedMessageid: z.ZodString;
|
55718
|
+
label: z.ZodOptional<z.ZodString>;
|
55701
55719
|
}>, {
|
55702
55720
|
fromMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
55703
55721
|
id: z.ZodString;
|
@@ -60382,6 +60400,7 @@ export declare const mainChatContract: {
|
|
60382
60400
|
isActive: boolean;
|
60383
60401
|
}>;
|
60384
60402
|
editedMessageid: z.ZodString;
|
60403
|
+
label: z.ZodOptional<z.ZodString>;
|
60385
60404
|
}>, "strip", z.ZodTypeAny, {
|
60386
60405
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
60387
60406
|
message: string;
|
@@ -61088,6 +61107,7 @@ export declare const mainChatContract: {
|
|
61088
61107
|
};
|
61089
61108
|
};
|
61090
61109
|
editedMessageid: string;
|
61110
|
+
label?: string | undefined;
|
61091
61111
|
template?: any;
|
61092
61112
|
metadata?: any;
|
61093
61113
|
}, {
|
@@ -61796,6 +61816,7 @@ export declare const mainChatContract: {
|
|
61796
61816
|
};
|
61797
61817
|
};
|
61798
61818
|
editedMessageid: string;
|
61819
|
+
label?: string | undefined;
|
61799
61820
|
template?: any;
|
61800
61821
|
metadata?: any;
|
61801
61822
|
}>>>;
|
@@ -62505,6 +62526,7 @@ export declare const mainChatContract: {
|
|
62505
62526
|
};
|
62506
62527
|
};
|
62507
62528
|
editedMessageid: string;
|
62529
|
+
label?: string | undefined;
|
62508
62530
|
template?: any;
|
62509
62531
|
metadata?: any;
|
62510
62532
|
fromMessage?: {
|
@@ -63213,6 +63235,7 @@ export declare const mainChatContract: {
|
|
63213
63235
|
};
|
63214
63236
|
};
|
63215
63237
|
editedMessageid: string;
|
63238
|
+
label?: string | undefined;
|
63216
63239
|
template?: any;
|
63217
63240
|
metadata?: any;
|
63218
63241
|
} | null | undefined;
|
@@ -63922,6 +63945,7 @@ export declare const mainChatContract: {
|
|
63922
63945
|
};
|
63923
63946
|
};
|
63924
63947
|
editedMessageid: string;
|
63948
|
+
label?: string | undefined;
|
63925
63949
|
template?: any;
|
63926
63950
|
metadata?: any;
|
63927
63951
|
fromMessage?: {
|
@@ -64630,6 +64654,7 @@ export declare const mainChatContract: {
|
|
64630
64654
|
};
|
64631
64655
|
};
|
64632
64656
|
editedMessageid: string;
|
64657
|
+
label?: string | undefined;
|
64633
64658
|
template?: any;
|
64634
64659
|
metadata?: any;
|
64635
64660
|
} | null | undefined;
|
@@ -65341,6 +65366,7 @@ export declare const mainChatContract: {
|
|
65341
65366
|
};
|
65342
65367
|
};
|
65343
65368
|
editedMessageid: string;
|
65369
|
+
label?: string | undefined;
|
65344
65370
|
template?: any;
|
65345
65371
|
metadata?: any;
|
65346
65372
|
fromMessage?: {
|
@@ -66049,6 +66075,7 @@ export declare const mainChatContract: {
|
|
66049
66075
|
};
|
66050
66076
|
};
|
66051
66077
|
editedMessageid: string;
|
66078
|
+
label?: string | undefined;
|
66052
66079
|
template?: any;
|
66053
66080
|
metadata?: any;
|
66054
66081
|
} | null | undefined;
|
@@ -66761,6 +66788,7 @@ export declare const mainChatContract: {
|
|
66761
66788
|
};
|
66762
66789
|
};
|
66763
66790
|
editedMessageid: string;
|
66791
|
+
label?: string | undefined;
|
66764
66792
|
template?: any;
|
66765
66793
|
metadata?: any;
|
66766
66794
|
fromMessage?: {
|
@@ -67469,6 +67497,7 @@ export declare const mainChatContract: {
|
|
67469
67497
|
};
|
67470
67498
|
};
|
67471
67499
|
editedMessageid: string;
|
67500
|
+
label?: string | undefined;
|
67472
67501
|
template?: any;
|
67473
67502
|
metadata?: any;
|
67474
67503
|
} | null | undefined;
|
@@ -72291,6 +72320,7 @@ export declare const mainChatContract: {
|
|
72291
72320
|
isActive: boolean;
|
72292
72321
|
}>;
|
72293
72322
|
editedMessageid: z.ZodString;
|
72323
|
+
label: z.ZodOptional<z.ZodString>;
|
72294
72324
|
}>, {
|
72295
72325
|
parentMessageId: z.ZodNullable<z.ZodString>;
|
72296
72326
|
feedPostId: z.ZodNullable<z.ZodString>;
|
@@ -75353,6 +75383,7 @@ export declare const mainChatContract: {
|
|
75353
75383
|
metadata?: any;
|
75354
75384
|
} | null;
|
75355
75385
|
replyReaction: string | null;
|
75386
|
+
label?: string | undefined;
|
75356
75387
|
template?: any;
|
75357
75388
|
metadata?: any;
|
75358
75389
|
}, {
|
@@ -76314,6 +76345,7 @@ export declare const mainChatContract: {
|
|
76314
76345
|
metadata?: any;
|
76315
76346
|
} | null;
|
76316
76347
|
replyReaction: string | null;
|
76348
|
+
label?: string | undefined;
|
76317
76349
|
template?: any;
|
76318
76350
|
metadata?: any;
|
76319
76351
|
}>, "many">;
|
@@ -77277,6 +77309,7 @@ export declare const mainChatContract: {
|
|
77277
77309
|
metadata?: any;
|
77278
77310
|
} | null;
|
77279
77311
|
replyReaction: string | null;
|
77312
|
+
label?: string | undefined;
|
77280
77313
|
template?: any;
|
77281
77314
|
metadata?: any;
|
77282
77315
|
}[];
|
@@ -78244,6 +78277,7 @@ export declare const mainChatContract: {
|
|
78244
78277
|
metadata?: any;
|
78245
78278
|
} | null;
|
78246
78279
|
replyReaction: string | null;
|
78280
|
+
label?: string | undefined;
|
78247
78281
|
template?: any;
|
78248
78282
|
metadata?: any;
|
78249
78283
|
}[];
|
@@ -95716,6 +95750,7 @@ export declare const mainChatMessageContract: {
|
|
95716
95750
|
isActive: boolean;
|
95717
95751
|
}>;
|
95718
95752
|
editedMessageid: z.ZodString;
|
95753
|
+
label: z.ZodOptional<z.ZodString>;
|
95719
95754
|
}>, {
|
95720
95755
|
fromMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
95721
95756
|
id: z.ZodString;
|
@@ -100400,6 +100435,7 @@ export declare const mainChatMessageContract: {
|
|
100400
100435
|
isActive: boolean;
|
100401
100436
|
}>;
|
100402
100437
|
editedMessageid: z.ZodString;
|
100438
|
+
label: z.ZodOptional<z.ZodString>;
|
100403
100439
|
}>, "strip", z.ZodTypeAny, {
|
100404
100440
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
100405
100441
|
message: string;
|
@@ -101106,6 +101142,7 @@ export declare const mainChatMessageContract: {
|
|
101106
101142
|
};
|
101107
101143
|
};
|
101108
101144
|
editedMessageid: string;
|
101145
|
+
label?: string | undefined;
|
101109
101146
|
template?: any;
|
101110
101147
|
metadata?: any;
|
101111
101148
|
}, {
|
@@ -101814,6 +101851,7 @@ export declare const mainChatMessageContract: {
|
|
101814
101851
|
};
|
101815
101852
|
};
|
101816
101853
|
editedMessageid: string;
|
101854
|
+
label?: string | undefined;
|
101817
101855
|
template?: any;
|
101818
101856
|
metadata?: any;
|
101819
101857
|
}>>>;
|
@@ -102523,6 +102561,7 @@ export declare const mainChatMessageContract: {
|
|
102523
102561
|
};
|
102524
102562
|
};
|
102525
102563
|
editedMessageid: string;
|
102564
|
+
label?: string | undefined;
|
102526
102565
|
template?: any;
|
102527
102566
|
metadata?: any;
|
102528
102567
|
fromMessage?: {
|
@@ -103231,6 +103270,7 @@ export declare const mainChatMessageContract: {
|
|
103231
103270
|
};
|
103232
103271
|
};
|
103233
103272
|
editedMessageid: string;
|
103273
|
+
label?: string | undefined;
|
103234
103274
|
template?: any;
|
103235
103275
|
metadata?: any;
|
103236
103276
|
} | null | undefined;
|
@@ -103940,6 +103980,7 @@ export declare const mainChatMessageContract: {
|
|
103940
103980
|
};
|
103941
103981
|
};
|
103942
103982
|
editedMessageid: string;
|
103983
|
+
label?: string | undefined;
|
103943
103984
|
template?: any;
|
103944
103985
|
metadata?: any;
|
103945
103986
|
fromMessage?: {
|
@@ -104648,6 +104689,7 @@ export declare const mainChatMessageContract: {
|
|
104648
104689
|
};
|
104649
104690
|
};
|
104650
104691
|
editedMessageid: string;
|
104692
|
+
label?: string | undefined;
|
104651
104693
|
template?: any;
|
104652
104694
|
metadata?: any;
|
104653
104695
|
} | null | undefined;
|
@@ -105359,6 +105401,7 @@ export declare const mainChatMessageContract: {
|
|
105359
105401
|
};
|
105360
105402
|
};
|
105361
105403
|
editedMessageid: string;
|
105404
|
+
label?: string | undefined;
|
105362
105405
|
template?: any;
|
105363
105406
|
metadata?: any;
|
105364
105407
|
fromMessage?: {
|
@@ -106067,6 +106110,7 @@ export declare const mainChatMessageContract: {
|
|
106067
106110
|
};
|
106068
106111
|
};
|
106069
106112
|
editedMessageid: string;
|
106113
|
+
label?: string | undefined;
|
106070
106114
|
template?: any;
|
106071
106115
|
metadata?: any;
|
106072
106116
|
} | null | undefined;
|
@@ -106779,6 +106823,7 @@ export declare const mainChatMessageContract: {
|
|
106779
106823
|
};
|
106780
106824
|
};
|
106781
106825
|
editedMessageid: string;
|
106826
|
+
label?: string | undefined;
|
106782
106827
|
template?: any;
|
106783
106828
|
metadata?: any;
|
106784
106829
|
fromMessage?: {
|
@@ -107487,6 +107532,7 @@ export declare const mainChatMessageContract: {
|
|
107487
107532
|
};
|
107488
107533
|
};
|
107489
107534
|
editedMessageid: string;
|
107535
|
+
label?: string | undefined;
|
107490
107536
|
template?: any;
|
107491
107537
|
metadata?: any;
|
107492
107538
|
} | null | undefined;
|
@@ -112883,6 +112929,7 @@ export declare const mainChatMessageContract: {
|
|
112883
112929
|
isActive: boolean;
|
112884
112930
|
}>;
|
112885
112931
|
editedMessageid: z.ZodString;
|
112932
|
+
label: z.ZodOptional<z.ZodString>;
|
112886
112933
|
}>, "strip", z.ZodTypeAny, {
|
112887
112934
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
112888
112935
|
message: string;
|
@@ -113589,6 +113636,7 @@ export declare const mainChatMessageContract: {
|
|
113589
113636
|
};
|
113590
113637
|
};
|
113591
113638
|
editedMessageid: string;
|
113639
|
+
label?: string | undefined;
|
113592
113640
|
template?: any;
|
113593
113641
|
metadata?: any;
|
113594
113642
|
}, {
|
@@ -114297,6 +114345,7 @@ export declare const mainChatMessageContract: {
|
|
114297
114345
|
};
|
114298
114346
|
};
|
114299
114347
|
editedMessageid: string;
|
114348
|
+
label?: string | undefined;
|
114300
114349
|
template?: any;
|
114301
114350
|
metadata?: any;
|
114302
114351
|
}>, "many">;
|
@@ -115007,6 +115056,7 @@ export declare const mainChatMessageContract: {
|
|
115007
115056
|
};
|
115008
115057
|
};
|
115009
115058
|
editedMessageid: string;
|
115059
|
+
label?: string | undefined;
|
115010
115060
|
template?: any;
|
115011
115061
|
metadata?: any;
|
115012
115062
|
}[];
|
@@ -115718,6 +115768,7 @@ export declare const mainChatMessageContract: {
|
|
115718
115768
|
};
|
115719
115769
|
};
|
115720
115770
|
editedMessageid: string;
|
115771
|
+
label?: string | undefined;
|
115721
115772
|
template?: any;
|
115722
115773
|
metadata?: any;
|
115723
115774
|
}[];
|