@kl1/contracts 1.1.55-uat → 1.1.57-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 +12 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -4
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +3618 -578
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +71 -71
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +304 -185
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/facebook-feed/index.d.ts +65 -65
- package/dist/src/instagram/index.d.ts +30 -30
- package/dist/src/line/index.d.ts +30 -30
- package/dist/src/messenger/index.d.ts +30 -30
- package/dist/src/presence-status/index.d.ts +556 -0
- package/dist/src/presence-status/index.d.ts.map +1 -0
- package/dist/src/presence-status/schema.d.ts +31 -0
- package/dist/src/presence-status/schema.d.ts.map +1 -0
- package/dist/src/presence-status/validation.d.ts +28 -0
- package/dist/src/presence-status/validation.d.ts.map +1 -0
- package/dist/src/subscription/index.d.ts +119 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/subscription/schema.d.ts +256 -0
- package/dist/src/subscription/schema.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +30 -30
- package/dist/src/webchat/index.d.ts +30 -30
- package/package.json +1 -1
@@ -1608,7 +1608,7 @@ export declare const viberContract: {
|
|
1608
1608
|
fileSize: number;
|
1609
1609
|
originalUrl?: string | undefined;
|
1610
1610
|
}>>;
|
1611
|
-
sender: z.ZodObject<{
|
1611
|
+
sender: z.ZodOptional<z.ZodObject<{
|
1612
1612
|
id: z.ZodString;
|
1613
1613
|
name: z.ZodString;
|
1614
1614
|
email: z.ZodString;
|
@@ -1626,19 +1626,12 @@ export declare const viberContract: {
|
|
1626
1626
|
name: string;
|
1627
1627
|
email: string;
|
1628
1628
|
phone: string | null;
|
1629
|
-
}
|
1629
|
+
}>>;
|
1630
1630
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
1631
1631
|
feedPostId: z.ZodOptional<z.ZodString>;
|
1632
1632
|
}, "strip", z.ZodTypeAny, {
|
1633
1633
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1634
1634
|
direction: "incoming" | "outgoing" | "system";
|
1635
|
-
sender: {
|
1636
|
-
id: string;
|
1637
|
-
address: string | null;
|
1638
|
-
name: string;
|
1639
|
-
email: string;
|
1640
|
-
phone: string | null;
|
1641
|
-
};
|
1642
1635
|
id?: string | undefined;
|
1643
1636
|
message?: string | undefined;
|
1644
1637
|
readAt?: string | Date | null | undefined;
|
@@ -1658,18 +1651,18 @@ export declare const viberContract: {
|
|
1658
1651
|
fileSize: number;
|
1659
1652
|
originalUrl?: string | undefined;
|
1660
1653
|
} | undefined;
|
1661
|
-
|
1662
|
-
feedPostId?: string | undefined;
|
1663
|
-
}, {
|
1664
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1665
|
-
direction: "incoming" | "outgoing" | "system";
|
1666
|
-
sender: {
|
1654
|
+
sender?: {
|
1667
1655
|
id: string;
|
1668
1656
|
address: string | null;
|
1669
1657
|
name: string;
|
1670
1658
|
email: string;
|
1671
1659
|
phone: string | null;
|
1672
|
-
};
|
1660
|
+
} | undefined;
|
1661
|
+
parentMessageId?: string | undefined;
|
1662
|
+
feedPostId?: string | undefined;
|
1663
|
+
}, {
|
1664
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1665
|
+
direction: "incoming" | "outgoing" | "system";
|
1673
1666
|
id?: string | undefined;
|
1674
1667
|
message?: string | undefined;
|
1675
1668
|
readAt?: string | Date | null | undefined;
|
@@ -1689,6 +1682,13 @@ export declare const viberContract: {
|
|
1689
1682
|
fileSize: number;
|
1690
1683
|
originalUrl?: string | undefined;
|
1691
1684
|
} | undefined;
|
1685
|
+
sender?: {
|
1686
|
+
id: string;
|
1687
|
+
address: string | null;
|
1688
|
+
name: string;
|
1689
|
+
email: string;
|
1690
|
+
phone: string | null;
|
1691
|
+
} | undefined;
|
1692
1692
|
parentMessageId?: string | undefined;
|
1693
1693
|
feedPostId?: string | undefined;
|
1694
1694
|
}>;
|
@@ -1696,13 +1696,6 @@ export declare const viberContract: {
|
|
1696
1696
|
message: {
|
1697
1697
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1698
1698
|
direction: "incoming" | "outgoing" | "system";
|
1699
|
-
sender: {
|
1700
|
-
id: string;
|
1701
|
-
address: string | null;
|
1702
|
-
name: string;
|
1703
|
-
email: string;
|
1704
|
-
phone: string | null;
|
1705
|
-
};
|
1706
1699
|
id?: string | undefined;
|
1707
1700
|
message?: string | undefined;
|
1708
1701
|
readAt?: string | Date | null | undefined;
|
@@ -1722,6 +1715,13 @@ export declare const viberContract: {
|
|
1722
1715
|
fileSize: number;
|
1723
1716
|
originalUrl?: string | undefined;
|
1724
1717
|
} | undefined;
|
1718
|
+
sender?: {
|
1719
|
+
id: string;
|
1720
|
+
address: string | null;
|
1721
|
+
name: string;
|
1722
|
+
email: string;
|
1723
|
+
phone: string | null;
|
1724
|
+
} | undefined;
|
1725
1725
|
parentMessageId?: string | undefined;
|
1726
1726
|
feedPostId?: string | undefined;
|
1727
1727
|
};
|
@@ -1799,13 +1799,6 @@ export declare const viberContract: {
|
|
1799
1799
|
message: {
|
1800
1800
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1801
1801
|
direction: "incoming" | "outgoing" | "system";
|
1802
|
-
sender: {
|
1803
|
-
id: string;
|
1804
|
-
address: string | null;
|
1805
|
-
name: string;
|
1806
|
-
email: string;
|
1807
|
-
phone: string | null;
|
1808
|
-
};
|
1809
1802
|
id?: string | undefined;
|
1810
1803
|
message?: string | undefined;
|
1811
1804
|
readAt?: string | Date | null | undefined;
|
@@ -1825,6 +1818,13 @@ export declare const viberContract: {
|
|
1825
1818
|
fileSize: number;
|
1826
1819
|
originalUrl?: string | undefined;
|
1827
1820
|
} | undefined;
|
1821
|
+
sender?: {
|
1822
|
+
id: string;
|
1823
|
+
address: string | null;
|
1824
|
+
name: string;
|
1825
|
+
email: string;
|
1826
|
+
phone: string | null;
|
1827
|
+
} | undefined;
|
1828
1828
|
parentMessageId?: string | undefined;
|
1829
1829
|
feedPostId?: string | undefined;
|
1830
1830
|
};
|
@@ -400,7 +400,7 @@ export declare const platformWebchatContract: {
|
|
400
400
|
fileSize: number;
|
401
401
|
originalUrl?: string | undefined;
|
402
402
|
}>>;
|
403
|
-
sender: z.ZodObject<{
|
403
|
+
sender: z.ZodOptional<z.ZodObject<{
|
404
404
|
id: z.ZodString;
|
405
405
|
name: z.ZodString;
|
406
406
|
email: z.ZodString;
|
@@ -418,19 +418,12 @@ export declare const platformWebchatContract: {
|
|
418
418
|
name: string;
|
419
419
|
email: string;
|
420
420
|
phone: string | null;
|
421
|
-
}
|
421
|
+
}>>;
|
422
422
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
423
423
|
feedPostId: z.ZodOptional<z.ZodString>;
|
424
424
|
}, "strip", z.ZodTypeAny, {
|
425
425
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
426
426
|
direction: "incoming" | "outgoing" | "system";
|
427
|
-
sender: {
|
428
|
-
id: string;
|
429
|
-
address: string | null;
|
430
|
-
name: string;
|
431
|
-
email: string;
|
432
|
-
phone: string | null;
|
433
|
-
};
|
434
427
|
id?: string | undefined;
|
435
428
|
message?: string | undefined;
|
436
429
|
readAt?: string | Date | null | undefined;
|
@@ -450,18 +443,18 @@ export declare const platformWebchatContract: {
|
|
450
443
|
fileSize: number;
|
451
444
|
originalUrl?: string | undefined;
|
452
445
|
} | undefined;
|
453
|
-
|
454
|
-
feedPostId?: string | undefined;
|
455
|
-
}, {
|
456
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
457
|
-
direction: "incoming" | "outgoing" | "system";
|
458
|
-
sender: {
|
446
|
+
sender?: {
|
459
447
|
id: string;
|
460
448
|
address: string | null;
|
461
449
|
name: string;
|
462
450
|
email: string;
|
463
451
|
phone: string | null;
|
464
|
-
};
|
452
|
+
} | undefined;
|
453
|
+
parentMessageId?: string | undefined;
|
454
|
+
feedPostId?: string | undefined;
|
455
|
+
}, {
|
456
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
457
|
+
direction: "incoming" | "outgoing" | "system";
|
465
458
|
id?: string | undefined;
|
466
459
|
message?: string | undefined;
|
467
460
|
readAt?: string | Date | null | undefined;
|
@@ -481,6 +474,13 @@ export declare const platformWebchatContract: {
|
|
481
474
|
fileSize: number;
|
482
475
|
originalUrl?: string | undefined;
|
483
476
|
} | undefined;
|
477
|
+
sender?: {
|
478
|
+
id: string;
|
479
|
+
address: string | null;
|
480
|
+
name: string;
|
481
|
+
email: string;
|
482
|
+
phone: string | null;
|
483
|
+
} | undefined;
|
484
484
|
parentMessageId?: string | undefined;
|
485
485
|
feedPostId?: string | undefined;
|
486
486
|
}>;
|
@@ -488,13 +488,6 @@ export declare const platformWebchatContract: {
|
|
488
488
|
message: {
|
489
489
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
490
490
|
direction: "incoming" | "outgoing" | "system";
|
491
|
-
sender: {
|
492
|
-
id: string;
|
493
|
-
address: string | null;
|
494
|
-
name: string;
|
495
|
-
email: string;
|
496
|
-
phone: string | null;
|
497
|
-
};
|
498
491
|
id?: string | undefined;
|
499
492
|
message?: string | undefined;
|
500
493
|
readAt?: string | Date | null | undefined;
|
@@ -514,6 +507,13 @@ export declare const platformWebchatContract: {
|
|
514
507
|
fileSize: number;
|
515
508
|
originalUrl?: string | undefined;
|
516
509
|
} | undefined;
|
510
|
+
sender?: {
|
511
|
+
id: string;
|
512
|
+
address: string | null;
|
513
|
+
name: string;
|
514
|
+
email: string;
|
515
|
+
phone: string | null;
|
516
|
+
} | undefined;
|
517
517
|
parentMessageId?: string | undefined;
|
518
518
|
feedPostId?: string | undefined;
|
519
519
|
};
|
@@ -591,13 +591,6 @@ export declare const platformWebchatContract: {
|
|
591
591
|
message: {
|
592
592
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
593
593
|
direction: "incoming" | "outgoing" | "system";
|
594
|
-
sender: {
|
595
|
-
id: string;
|
596
|
-
address: string | null;
|
597
|
-
name: string;
|
598
|
-
email: string;
|
599
|
-
phone: string | null;
|
600
|
-
};
|
601
594
|
id?: string | undefined;
|
602
595
|
message?: string | undefined;
|
603
596
|
readAt?: string | Date | null | undefined;
|
@@ -617,6 +610,13 @@ export declare const platformWebchatContract: {
|
|
617
610
|
fileSize: number;
|
618
611
|
originalUrl?: string | undefined;
|
619
612
|
} | undefined;
|
613
|
+
sender?: {
|
614
|
+
id: string;
|
615
|
+
address: string | null;
|
616
|
+
name: string;
|
617
|
+
email: string;
|
618
|
+
phone: string | null;
|
619
|
+
} | undefined;
|
620
620
|
parentMessageId?: string | undefined;
|
621
621
|
feedPostId?: string | undefined;
|
622
622
|
};
|