@linqapp/sdk 0.8.0 → 0.8.1

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +6 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/attachments.d.mts +7 -5
  10. package/resources/attachments.d.mts.map +1 -1
  11. package/resources/attachments.d.ts +7 -5
  12. package/resources/attachments.d.ts.map +1 -1
  13. package/resources/attachments.js +7 -5
  14. package/resources/attachments.js.map +1 -1
  15. package/resources/attachments.mjs +7 -5
  16. package/resources/attachments.mjs.map +1 -1
  17. package/resources/chats/chats.d.mts +11 -10
  18. package/resources/chats/chats.d.mts.map +1 -1
  19. package/resources/chats/chats.d.ts +11 -10
  20. package/resources/chats/chats.d.ts.map +1 -1
  21. package/resources/chats/chats.js +5 -4
  22. package/resources/chats/chats.js.map +1 -1
  23. package/resources/chats/chats.mjs +5 -4
  24. package/resources/chats/chats.mjs.map +1 -1
  25. package/resources/chats/index.d.mts +1 -1
  26. package/resources/chats/index.d.mts.map +1 -1
  27. package/resources/chats/index.d.ts +1 -1
  28. package/resources/chats/index.d.ts.map +1 -1
  29. package/resources/chats/index.js.map +1 -1
  30. package/resources/chats/index.mjs.map +1 -1
  31. package/resources/index.d.mts +3 -3
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +3 -3
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js.map +1 -1
  36. package/resources/index.mjs.map +1 -1
  37. package/resources/messages.d.mts +2 -9
  38. package/resources/messages.d.mts.map +1 -1
  39. package/resources/messages.d.ts +2 -9
  40. package/resources/messages.d.ts.map +1 -1
  41. package/resources/messages.js +1 -3
  42. package/resources/messages.js.map +1 -1
  43. package/resources/messages.mjs +1 -3
  44. package/resources/messages.mjs.map +1 -1
  45. package/resources/phonenumbers.d.mts +1 -1
  46. package/resources/phonenumbers.d.mts.map +1 -1
  47. package/resources/phonenumbers.d.ts +1 -1
  48. package/resources/phonenumbers.d.ts.map +1 -1
  49. package/resources/webhook-events.d.mts +5 -1
  50. package/resources/webhook-events.d.mts.map +1 -1
  51. package/resources/webhook-events.d.ts +5 -1
  52. package/resources/webhook-events.d.ts.map +1 -1
  53. package/resources/webhooks.d.mts +274 -34
  54. package/resources/webhooks.d.mts.map +1 -1
  55. package/resources/webhooks.d.ts +274 -34
  56. package/resources/webhooks.d.ts.map +1 -1
  57. package/src/client.ts +4 -2
  58. package/src/resources/attachments.ts +7 -5
  59. package/src/resources/chats/chats.ts +13 -10
  60. package/src/resources/chats/index.ts +1 -0
  61. package/src/resources/index.ts +2 -1
  62. package/src/resources/messages.ts +1 -11
  63. package/src/resources/phonenumbers.ts +1 -1
  64. package/src/resources/webhook-events.ts +5 -1
  65. package/src/resources/webhooks.ts +293 -32
  66. package/src/version.ts +1 -1
  67. package/version.d.mts +1 -1
  68. package/version.d.ts +1 -1
  69. package/version.js +1 -1
  70. package/version.mjs +1 -1
@@ -443,7 +443,11 @@ export interface MessageSentV2026WebhookEvent {
443
443
  event_id: string;
444
444
 
445
445
  /**
446
- * Valid webhook event types that can be subscribed to
446
+ * Valid webhook event types that can be subscribed to.
447
+ *
448
+ * **Note:** `message.edited` is only delivered to subscriptions using
449
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
450
+ * subscription will not produce any deliveries.
447
451
  */
448
452
  event_type: WebhookEventsAPI.WebhookEventType;
449
453
 
@@ -508,7 +512,11 @@ export interface MessageReceivedV2026WebhookEvent {
508
512
  event_id: string;
509
513
 
510
514
  /**
511
- * Valid webhook event types that can be subscribed to
515
+ * Valid webhook event types that can be subscribed to.
516
+ *
517
+ * **Note:** `message.edited` is only delivered to subscriptions using
518
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
519
+ * subscription will not produce any deliveries.
512
520
  */
513
521
  event_type: WebhookEventsAPI.WebhookEventType;
514
522
 
@@ -573,7 +581,11 @@ export interface MessageReadV2026WebhookEvent {
573
581
  event_id: string;
574
582
 
575
583
  /**
576
- * Valid webhook event types that can be subscribed to
584
+ * Valid webhook event types that can be subscribed to.
585
+ *
586
+ * **Note:** `message.edited` is only delivered to subscriptions using
587
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
588
+ * subscription will not produce any deliveries.
577
589
  */
578
590
  event_type: WebhookEventsAPI.WebhookEventType;
579
591
 
@@ -638,7 +650,11 @@ export interface MessageDeliveredV2026WebhookEvent {
638
650
  event_id: string;
639
651
 
640
652
  /**
641
- * Valid webhook event types that can be subscribed to
653
+ * Valid webhook event types that can be subscribed to.
654
+ *
655
+ * **Note:** `message.edited` is only delivered to subscriptions using
656
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
657
+ * subscription will not produce any deliveries.
642
658
  */
643
659
  event_type: WebhookEventsAPI.WebhookEventType;
644
660
 
@@ -687,7 +703,11 @@ export interface MessageFailedV2026WebhookEvent {
687
703
  event_id: string;
688
704
 
689
705
  /**
690
- * Valid webhook event types that can be subscribed to
706
+ * Valid webhook event types that can be subscribed to.
707
+ *
708
+ * **Note:** `message.edited` is only delivered to subscriptions using
709
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
710
+ * subscription will not produce any deliveries.
691
711
  */
692
712
  event_type: WebhookEventsAPI.WebhookEventType;
693
713
 
@@ -768,7 +788,11 @@ export interface ReactionAddedV2026WebhookEvent {
768
788
  event_id: string;
769
789
 
770
790
  /**
771
- * Valid webhook event types that can be subscribed to
791
+ * Valid webhook event types that can be subscribed to.
792
+ *
793
+ * **Note:** `message.edited` is only delivered to subscriptions using
794
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
795
+ * subscription will not produce any deliveries.
772
796
  */
773
797
  event_type: WebhookEventsAPI.WebhookEventType;
774
798
 
@@ -815,7 +839,11 @@ export interface ReactionRemovedV2026WebhookEvent {
815
839
  event_id: string;
816
840
 
817
841
  /**
818
- * Valid webhook event types that can be subscribed to
842
+ * Valid webhook event types that can be subscribed to.
843
+ *
844
+ * **Note:** `message.edited` is only delivered to subscriptions using
845
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
846
+ * subscription will not produce any deliveries.
819
847
  */
820
848
  event_type: WebhookEventsAPI.WebhookEventType;
821
849
 
@@ -862,7 +890,11 @@ export interface ParticipantAddedV2026WebhookEvent {
862
890
  event_id: string;
863
891
 
864
892
  /**
865
- * Valid webhook event types that can be subscribed to
893
+ * Valid webhook event types that can be subscribed to.
894
+ *
895
+ * **Note:** `message.edited` is only delivered to subscriptions using
896
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
897
+ * subscription will not produce any deliveries.
866
898
  */
867
899
  event_type: WebhookEventsAPI.WebhookEventType;
868
900
 
@@ -937,7 +969,11 @@ export interface ParticipantRemovedV2026WebhookEvent {
937
969
  event_id: string;
938
970
 
939
971
  /**
940
- * Valid webhook event types that can be subscribed to
972
+ * Valid webhook event types that can be subscribed to.
973
+ *
974
+ * **Note:** `message.edited` is only delivered to subscriptions using
975
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
976
+ * subscription will not produce any deliveries.
941
977
  */
942
978
  event_type: WebhookEventsAPI.WebhookEventType;
943
979
 
@@ -1012,7 +1048,11 @@ export interface ChatGroupNameUpdatedV2026WebhookEvent {
1012
1048
  event_id: string;
1013
1049
 
1014
1050
  /**
1015
- * Valid webhook event types that can be subscribed to
1051
+ * Valid webhook event types that can be subscribed to.
1052
+ *
1053
+ * **Note:** `message.edited` is only delivered to subscriptions using
1054
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1055
+ * subscription will not produce any deliveries.
1016
1056
  */
1017
1057
  event_type: WebhookEventsAPI.WebhookEventType;
1018
1058
 
@@ -1091,7 +1131,11 @@ export interface ChatGroupIconUpdatedV2026WebhookEvent {
1091
1131
  event_id: string;
1092
1132
 
1093
1133
  /**
1094
- * Valid webhook event types that can be subscribed to
1134
+ * Valid webhook event types that can be subscribed to.
1135
+ *
1136
+ * **Note:** `message.edited` is only delivered to subscriptions using
1137
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1138
+ * subscription will not produce any deliveries.
1095
1139
  */
1096
1140
  event_type: WebhookEventsAPI.WebhookEventType;
1097
1141
 
@@ -1172,7 +1216,11 @@ export interface ChatGroupNameUpdateFailedV2026WebhookEvent {
1172
1216
  event_id: string;
1173
1217
 
1174
1218
  /**
1175
- * Valid webhook event types that can be subscribed to
1219
+ * Valid webhook event types that can be subscribed to.
1220
+ *
1221
+ * **Note:** `message.edited` is only delivered to subscriptions using
1222
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1223
+ * subscription will not produce any deliveries.
1176
1224
  */
1177
1225
  event_type: WebhookEventsAPI.WebhookEventType;
1178
1226
 
@@ -1245,7 +1293,11 @@ export interface ChatGroupIconUpdateFailedV2026WebhookEvent {
1245
1293
  event_id: string;
1246
1294
 
1247
1295
  /**
1248
- * Valid webhook event types that can be subscribed to
1296
+ * Valid webhook event types that can be subscribed to.
1297
+ *
1298
+ * **Note:** `message.edited` is only delivered to subscriptions using
1299
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1300
+ * subscription will not produce any deliveries.
1249
1301
  */
1250
1302
  event_type: WebhookEventsAPI.WebhookEventType;
1251
1303
 
@@ -1317,7 +1369,11 @@ export interface ChatCreatedV2026WebhookEvent {
1317
1369
  event_id: string;
1318
1370
 
1319
1371
  /**
1320
- * Valid webhook event types that can be subscribed to
1372
+ * Valid webhook event types that can be subscribed to.
1373
+ *
1374
+ * **Note:** `message.edited` is only delivered to subscriptions using
1375
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1376
+ * subscription will not produce any deliveries.
1321
1377
  */
1322
1378
  event_type: WebhookEventsAPI.WebhookEventType;
1323
1379
 
@@ -1409,7 +1465,11 @@ export interface ChatTypingIndicatorStartedV2026WebhookEvent {
1409
1465
  event_id: string;
1410
1466
 
1411
1467
  /**
1412
- * Valid webhook event types that can be subscribed to
1468
+ * Valid webhook event types that can be subscribed to.
1469
+ *
1470
+ * **Note:** `message.edited` is only delivered to subscriptions using
1471
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1472
+ * subscription will not produce any deliveries.
1413
1473
  */
1414
1474
  event_type: WebhookEventsAPI.WebhookEventType;
1415
1475
 
@@ -1468,7 +1528,11 @@ export interface ChatTypingIndicatorStoppedV2026WebhookEvent {
1468
1528
  event_id: string;
1469
1529
 
1470
1530
  /**
1471
- * Valid webhook event types that can be subscribed to
1531
+ * Valid webhook event types that can be subscribed to.
1532
+ *
1533
+ * **Note:** `message.edited` is only delivered to subscriptions using
1534
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1535
+ * subscription will not produce any deliveries.
1472
1536
  */
1473
1537
  event_type: WebhookEventsAPI.WebhookEventType;
1474
1538
 
@@ -1502,6 +1566,137 @@ export namespace ChatTypingIndicatorStoppedV2026WebhookEvent {
1502
1566
  }
1503
1567
  }
1504
1568
 
1569
+ /**
1570
+ * Complete webhook payload for message.edited events (2026-02-03 format only)
1571
+ */
1572
+ export interface MessageEditedV2026WebhookEvent {
1573
+ /**
1574
+ * API version for the webhook payload format
1575
+ */
1576
+ api_version: string;
1577
+
1578
+ /**
1579
+ * When the event was created
1580
+ */
1581
+ created_at: string;
1582
+
1583
+ /**
1584
+ * Payload for `message.edited` events (2026-02-03 format).
1585
+ *
1586
+ * Describes which part of a message was edited and when. Only text parts can be
1587
+ * edited. Only available for subscriptions using `webhook_version: "2026-02-03"`.
1588
+ */
1589
+ data: MessageEditedV2026WebhookEvent.Data;
1590
+
1591
+ /**
1592
+ * Unique identifier for this event (for deduplication)
1593
+ */
1594
+ event_id: string;
1595
+
1596
+ /**
1597
+ * Valid webhook event types that can be subscribed to.
1598
+ *
1599
+ * **Note:** `message.edited` is only delivered to subscriptions using
1600
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1601
+ * subscription will not produce any deliveries.
1602
+ */
1603
+ event_type: WebhookEventsAPI.WebhookEventType;
1604
+
1605
+ /**
1606
+ * Partner identifier. Present on all webhooks for cross-referencing.
1607
+ */
1608
+ partner_id: string;
1609
+
1610
+ /**
1611
+ * Trace ID for debugging and correlation across systems.
1612
+ */
1613
+ trace_id: string;
1614
+
1615
+ /**
1616
+ * Date-based webhook payload version. Determined by the `?version=` query
1617
+ * parameter in your webhook subscription URL. If no version parameter is
1618
+ * specified, defaults based on subscription creation date.
1619
+ */
1620
+ webhook_version: string;
1621
+ }
1622
+
1623
+ export namespace MessageEditedV2026WebhookEvent {
1624
+ /**
1625
+ * Payload for `message.edited` events (2026-02-03 format).
1626
+ *
1627
+ * Describes which part of a message was edited and when. Only text parts can be
1628
+ * edited. Only available for subscriptions using `webhook_version: "2026-02-03"`.
1629
+ */
1630
+ export interface Data {
1631
+ /**
1632
+ * Message identifier
1633
+ */
1634
+ id: string;
1635
+
1636
+ /**
1637
+ * Chat context
1638
+ */
1639
+ chat: Data.Chat;
1640
+
1641
+ /**
1642
+ * "outbound" if you sent the original message, "inbound" if you received it
1643
+ */
1644
+ direction: 'outbound' | 'inbound';
1645
+
1646
+ /**
1647
+ * When the edit occurred
1648
+ */
1649
+ edited_at: string;
1650
+
1651
+ /**
1652
+ * The edited part
1653
+ */
1654
+ part: Data.Part;
1655
+
1656
+ /**
1657
+ * The handle that sent (and edited) this message
1658
+ */
1659
+ sender_handle: Shared.ChatHandle;
1660
+ }
1661
+
1662
+ export namespace Data {
1663
+ /**
1664
+ * Chat context
1665
+ */
1666
+ export interface Chat {
1667
+ /**
1668
+ * Chat identifier
1669
+ */
1670
+ id: string;
1671
+
1672
+ /**
1673
+ * Whether this is a group chat
1674
+ */
1675
+ is_group: boolean;
1676
+
1677
+ /**
1678
+ * The handle that owns this chat (your phone number)
1679
+ */
1680
+ owner_handle: Shared.ChatHandle;
1681
+ }
1682
+
1683
+ /**
1684
+ * The edited part
1685
+ */
1686
+ export interface Part {
1687
+ /**
1688
+ * Zero-based index of the edited part within the message
1689
+ */
1690
+ index: number;
1691
+
1692
+ /**
1693
+ * New text content of the part
1694
+ */
1695
+ text: string;
1696
+ }
1697
+ }
1698
+ }
1699
+
1505
1700
  /**
1506
1701
  * Complete webhook payload for phone_number.status_updated events
1507
1702
  */
@@ -1620,7 +1815,11 @@ export interface MessageSentV2025WebhookEvent {
1620
1815
  event_id: string;
1621
1816
 
1622
1817
  /**
1623
- * Valid webhook event types that can be subscribed to
1818
+ * Valid webhook event types that can be subscribed to.
1819
+ *
1820
+ * **Note:** `message.edited` is only delivered to subscriptions using
1821
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1822
+ * subscription will not produce any deliveries.
1624
1823
  */
1625
1824
  event_type: WebhookEventsAPI.WebhookEventType;
1626
1825
 
@@ -1740,7 +1939,11 @@ export interface MessageReceivedV2025WebhookEvent {
1740
1939
  event_id: string;
1741
1940
 
1742
1941
  /**
1743
- * Valid webhook event types that can be subscribed to
1942
+ * Valid webhook event types that can be subscribed to.
1943
+ *
1944
+ * **Note:** `message.edited` is only delivered to subscriptions using
1945
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
1946
+ * subscription will not produce any deliveries.
1744
1947
  */
1745
1948
  event_type: WebhookEventsAPI.WebhookEventType;
1746
1949
 
@@ -1860,7 +2063,11 @@ export interface MessageReadV2025WebhookEvent {
1860
2063
  event_id: string;
1861
2064
 
1862
2065
  /**
1863
- * Valid webhook event types that can be subscribed to
2066
+ * Valid webhook event types that can be subscribed to.
2067
+ *
2068
+ * **Note:** `message.edited` is only delivered to subscriptions using
2069
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2070
+ * subscription will not produce any deliveries.
1864
2071
  */
1865
2072
  event_type: WebhookEventsAPI.WebhookEventType;
1866
2073
 
@@ -1990,7 +2197,11 @@ export interface MessageDeliveredV2025WebhookEvent {
1990
2197
  event_id: string;
1991
2198
 
1992
2199
  /**
1993
- * Valid webhook event types that can be subscribed to
2200
+ * Valid webhook event types that can be subscribed to.
2201
+ *
2202
+ * **Note:** `message.edited` is only delivered to subscriptions using
2203
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2204
+ * subscription will not produce any deliveries.
1994
2205
  */
1995
2206
  event_type: WebhookEventsAPI.WebhookEventType;
1996
2207
 
@@ -2121,7 +2332,11 @@ export interface MessageFailedV2025WebhookEvent {
2121
2332
  event_id: string;
2122
2333
 
2123
2334
  /**
2124
- * Valid webhook event types that can be subscribed to
2335
+ * Valid webhook event types that can be subscribed to.
2336
+ *
2337
+ * **Note:** `message.edited` is only delivered to subscriptions using
2338
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2339
+ * subscription will not produce any deliveries.
2125
2340
  */
2126
2341
  event_type: WebhookEventsAPI.WebhookEventType;
2127
2342
 
@@ -2202,7 +2417,11 @@ export interface ReactionAddedV2025WebhookEvent {
2202
2417
  event_id: string;
2203
2418
 
2204
2419
  /**
2205
- * Valid webhook event types that can be subscribed to
2420
+ * Valid webhook event types that can be subscribed to.
2421
+ *
2422
+ * **Note:** `message.edited` is only delivered to subscriptions using
2423
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2424
+ * subscription will not produce any deliveries.
2206
2425
  */
2207
2426
  event_type: WebhookEventsAPI.WebhookEventType;
2208
2427
 
@@ -2249,7 +2468,11 @@ export interface ReactionRemovedV2025WebhookEvent {
2249
2468
  event_id: string;
2250
2469
 
2251
2470
  /**
2252
- * Valid webhook event types that can be subscribed to
2471
+ * Valid webhook event types that can be subscribed to.
2472
+ *
2473
+ * **Note:** `message.edited` is only delivered to subscriptions using
2474
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2475
+ * subscription will not produce any deliveries.
2253
2476
  */
2254
2477
  event_type: WebhookEventsAPI.WebhookEventType;
2255
2478
 
@@ -2296,7 +2519,11 @@ export interface ParticipantAddedV2025WebhookEvent {
2296
2519
  event_id: string;
2297
2520
 
2298
2521
  /**
2299
- * Valid webhook event types that can be subscribed to
2522
+ * Valid webhook event types that can be subscribed to.
2523
+ *
2524
+ * **Note:** `message.edited` is only delivered to subscriptions using
2525
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2526
+ * subscription will not produce any deliveries.
2300
2527
  */
2301
2528
  event_type: WebhookEventsAPI.WebhookEventType;
2302
2529
 
@@ -2371,7 +2598,11 @@ export interface ParticipantRemovedV2025WebhookEvent {
2371
2598
  event_id: string;
2372
2599
 
2373
2600
  /**
2374
- * Valid webhook event types that can be subscribed to
2601
+ * Valid webhook event types that can be subscribed to.
2602
+ *
2603
+ * **Note:** `message.edited` is only delivered to subscriptions using
2604
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2605
+ * subscription will not produce any deliveries.
2375
2606
  */
2376
2607
  event_type: WebhookEventsAPI.WebhookEventType;
2377
2608
 
@@ -2446,7 +2677,11 @@ export interface ChatGroupNameUpdatedV2025WebhookEvent {
2446
2677
  event_id: string;
2447
2678
 
2448
2679
  /**
2449
- * Valid webhook event types that can be subscribed to
2680
+ * Valid webhook event types that can be subscribed to.
2681
+ *
2682
+ * **Note:** `message.edited` is only delivered to subscriptions using
2683
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2684
+ * subscription will not produce any deliveries.
2450
2685
  */
2451
2686
  event_type: WebhookEventsAPI.WebhookEventType;
2452
2687
 
@@ -2525,7 +2760,11 @@ export interface ChatGroupIconUpdatedV2025WebhookEvent {
2525
2760
  event_id: string;
2526
2761
 
2527
2762
  /**
2528
- * Valid webhook event types that can be subscribed to
2763
+ * Valid webhook event types that can be subscribed to.
2764
+ *
2765
+ * **Note:** `message.edited` is only delivered to subscriptions using
2766
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2767
+ * subscription will not produce any deliveries.
2529
2768
  */
2530
2769
  event_type: WebhookEventsAPI.WebhookEventType;
2531
2770
 
@@ -2606,7 +2845,11 @@ export interface ChatGroupNameUpdateFailedV2025WebhookEvent {
2606
2845
  event_id: string;
2607
2846
 
2608
2847
  /**
2609
- * Valid webhook event types that can be subscribed to
2848
+ * Valid webhook event types that can be subscribed to.
2849
+ *
2850
+ * **Note:** `message.edited` is only delivered to subscriptions using
2851
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2852
+ * subscription will not produce any deliveries.
2610
2853
  */
2611
2854
  event_type: WebhookEventsAPI.WebhookEventType;
2612
2855
 
@@ -2679,7 +2922,11 @@ export interface ChatGroupIconUpdateFailedV2025WebhookEvent {
2679
2922
  event_id: string;
2680
2923
 
2681
2924
  /**
2682
- * Valid webhook event types that can be subscribed to
2925
+ * Valid webhook event types that can be subscribed to.
2926
+ *
2927
+ * **Note:** `message.edited` is only delivered to subscriptions using
2928
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
2929
+ * subscription will not produce any deliveries.
2683
2930
  */
2684
2931
  event_type: WebhookEventsAPI.WebhookEventType;
2685
2932
 
@@ -2751,7 +2998,11 @@ export interface ChatCreatedV2025WebhookEvent {
2751
2998
  event_id: string;
2752
2999
 
2753
3000
  /**
2754
- * Valid webhook event types that can be subscribed to
3001
+ * Valid webhook event types that can be subscribed to.
3002
+ *
3003
+ * **Note:** `message.edited` is only delivered to subscriptions using
3004
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
3005
+ * subscription will not produce any deliveries.
2755
3006
  */
2756
3007
  event_type: WebhookEventsAPI.WebhookEventType;
2757
3008
 
@@ -2843,7 +3094,11 @@ export interface ChatTypingIndicatorStartedV2025WebhookEvent {
2843
3094
  event_id: string;
2844
3095
 
2845
3096
  /**
2846
- * Valid webhook event types that can be subscribed to
3097
+ * Valid webhook event types that can be subscribed to.
3098
+ *
3099
+ * **Note:** `message.edited` is only delivered to subscriptions using
3100
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
3101
+ * subscription will not produce any deliveries.
2847
3102
  */
2848
3103
  event_type: WebhookEventsAPI.WebhookEventType;
2849
3104
 
@@ -2902,7 +3157,11 @@ export interface ChatTypingIndicatorStoppedV2025WebhookEvent {
2902
3157
  event_id: string;
2903
3158
 
2904
3159
  /**
2905
- * Valid webhook event types that can be subscribed to
3160
+ * Valid webhook event types that can be subscribed to.
3161
+ *
3162
+ * **Note:** `message.edited` is only delivered to subscriptions using
3163
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
3164
+ * subscription will not produce any deliveries.
2906
3165
  */
2907
3166
  event_type: WebhookEventsAPI.WebhookEventType;
2908
3167
 
@@ -3048,6 +3307,7 @@ export type EventsWebhookEvent =
3048
3307
  | ChatCreatedV2026WebhookEvent
3049
3308
  | ChatTypingIndicatorStartedV2026WebhookEvent
3050
3309
  | ChatTypingIndicatorStoppedV2026WebhookEvent
3310
+ | MessageEditedV2026WebhookEvent
3051
3311
  | PhoneNumberStatusUpdatedV2026WebhookEvent
3052
3312
  | MessageSentV2025WebhookEvent
3053
3313
  | MessageReceivedV2025WebhookEvent
@@ -3091,6 +3351,7 @@ export declare namespace Webhooks {
3091
3351
  type ChatCreatedV2026WebhookEvent as ChatCreatedV2026WebhookEvent,
3092
3352
  type ChatTypingIndicatorStartedV2026WebhookEvent as ChatTypingIndicatorStartedV2026WebhookEvent,
3093
3353
  type ChatTypingIndicatorStoppedV2026WebhookEvent as ChatTypingIndicatorStoppedV2026WebhookEvent,
3354
+ type MessageEditedV2026WebhookEvent as MessageEditedV2026WebhookEvent,
3094
3355
  type PhoneNumberStatusUpdatedV2026WebhookEvent as PhoneNumberStatusUpdatedV2026WebhookEvent,
3095
3356
  type MessageSentV2025WebhookEvent as MessageSentV2025WebhookEvent,
3096
3357
  type MessageReceivedV2025WebhookEvent as MessageReceivedV2025WebhookEvent,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.8.0'; // x-release-please-version
1
+ export const VERSION = '0.8.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.8.0";
1
+ export declare const VERSION = "0.8.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.8.0";
1
+ export declare const VERSION = "0.8.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.8.0'; // x-release-please-version
4
+ exports.VERSION = '0.8.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.8.0'; // x-release-please-version
1
+ export const VERSION = '0.8.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map