@linqapp/sdk 0.7.1 → 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.
- package/CHANGELOG.md +29 -0
- package/README.md +2 -2
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +7 -1
- package/resources/attachments.d.mts +7 -5
- package/resources/attachments.d.mts.map +1 -1
- package/resources/attachments.d.ts +7 -5
- package/resources/attachments.d.ts.map +1 -1
- package/resources/attachments.js +7 -5
- package/resources/attachments.js.map +1 -1
- package/resources/attachments.mjs +7 -5
- package/resources/attachments.mjs.map +1 -1
- package/resources/chats/chats.d.mts +106 -24
- package/resources/chats/chats.d.mts.map +1 -1
- package/resources/chats/chats.d.ts +106 -24
- package/resources/chats/chats.d.ts.map +1 -1
- package/resources/chats/chats.js +48 -14
- package/resources/chats/chats.js.map +1 -1
- package/resources/chats/chats.mjs +48 -14
- package/resources/chats/chats.mjs.map +1 -1
- package/resources/chats/index.d.mts +1 -1
- package/resources/chats/index.d.mts.map +1 -1
- package/resources/chats/index.d.ts +1 -1
- package/resources/chats/index.d.ts.map +1 -1
- package/resources/chats/index.js.map +1 -1
- package/resources/chats/index.mjs.map +1 -1
- package/resources/chats/messages.d.mts +26 -0
- package/resources/chats/messages.d.mts.map +1 -1
- package/resources/chats/messages.d.ts +26 -0
- package/resources/chats/messages.d.ts.map +1 -1
- package/resources/chats/messages.js +26 -0
- package/resources/chats/messages.js.map +1 -1
- package/resources/chats/messages.mjs +26 -0
- package/resources/chats/messages.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages.d.mts +2 -9
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +2 -9
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +1 -3
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +1 -3
- package/resources/messages.mjs.map +1 -1
- package/resources/phonenumbers.d.mts +1 -1
- package/resources/phonenumbers.d.mts.map +1 -1
- package/resources/phonenumbers.d.ts +1 -1
- package/resources/phonenumbers.d.ts.map +1 -1
- package/resources/shared.d.mts +22 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +22 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/webhook-events.d.mts +5 -1
- package/resources/webhook-events.d.mts.map +1 -1
- package/resources/webhook-events.d.ts +5 -1
- package/resources/webhook-events.d.ts.map +1 -1
- package/resources/webhooks.d.mts +296 -34
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +296 -34
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +4 -2
- package/src/resources/attachments.ts +7 -5
- package/src/resources/chats/chats.ts +113 -24
- package/src/resources/chats/index.ts +1 -0
- package/src/resources/chats/messages.ts +26 -0
- package/src/resources/index.ts +2 -1
- package/src/resources/messages.ts +1 -11
- package/src/resources/phonenumbers.ts +1 -1
- package/src/resources/shared.ts +26 -0
- package/src/resources/webhook-events.ts +5 -1
- package/src/resources/webhooks.ts +319 -32
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -372,6 +372,32 @@ export interface SchemasTextPartResponse {
|
|
|
372
372
|
* The text content
|
|
373
373
|
*/
|
|
374
374
|
value: string;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Text decorations applied to character ranges in the value
|
|
378
|
+
*/
|
|
379
|
+
text_decorations?: Array<SchemasTextPartResponse.TextDecoration> | null;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export namespace SchemasTextPartResponse {
|
|
383
|
+
export interface TextDecoration {
|
|
384
|
+
/**
|
|
385
|
+
* Character range `[start, end)` in the `value` string where the decoration
|
|
386
|
+
* applies. `start` is inclusive, `end` is exclusive. _Characters are measured as
|
|
387
|
+
* UTF-16 code units. Most characters count as 1; some emoji count as 2._
|
|
388
|
+
*/
|
|
389
|
+
range: Array<number>;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Animated text effect to apply. Mutually exclusive with `style`.
|
|
393
|
+
*/
|
|
394
|
+
animation?: 'big' | 'small' | 'shake' | 'nod' | 'explode' | 'ripple' | 'bloom' | 'jitter';
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Text style to apply. Mutually exclusive with `animation`.
|
|
398
|
+
*/
|
|
399
|
+
style?: 'bold' | 'italic' | 'strikethrough' | 'underline';
|
|
400
|
+
}
|
|
375
401
|
}
|
|
376
402
|
|
|
377
403
|
/**
|
|
@@ -417,7 +443,11 @@ export interface MessageSentV2026WebhookEvent {
|
|
|
417
443
|
event_id: string;
|
|
418
444
|
|
|
419
445
|
/**
|
|
420
|
-
* 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.
|
|
421
451
|
*/
|
|
422
452
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
423
453
|
|
|
@@ -482,7 +512,11 @@ export interface MessageReceivedV2026WebhookEvent {
|
|
|
482
512
|
event_id: string;
|
|
483
513
|
|
|
484
514
|
/**
|
|
485
|
-
* 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.
|
|
486
520
|
*/
|
|
487
521
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
488
522
|
|
|
@@ -547,7 +581,11 @@ export interface MessageReadV2026WebhookEvent {
|
|
|
547
581
|
event_id: string;
|
|
548
582
|
|
|
549
583
|
/**
|
|
550
|
-
* 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.
|
|
551
589
|
*/
|
|
552
590
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
553
591
|
|
|
@@ -612,7 +650,11 @@ export interface MessageDeliveredV2026WebhookEvent {
|
|
|
612
650
|
event_id: string;
|
|
613
651
|
|
|
614
652
|
/**
|
|
615
|
-
* 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.
|
|
616
658
|
*/
|
|
617
659
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
618
660
|
|
|
@@ -661,7 +703,11 @@ export interface MessageFailedV2026WebhookEvent {
|
|
|
661
703
|
event_id: string;
|
|
662
704
|
|
|
663
705
|
/**
|
|
664
|
-
* 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.
|
|
665
711
|
*/
|
|
666
712
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
667
713
|
|
|
@@ -742,7 +788,11 @@ export interface ReactionAddedV2026WebhookEvent {
|
|
|
742
788
|
event_id: string;
|
|
743
789
|
|
|
744
790
|
/**
|
|
745
|
-
* 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.
|
|
746
796
|
*/
|
|
747
797
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
748
798
|
|
|
@@ -789,7 +839,11 @@ export interface ReactionRemovedV2026WebhookEvent {
|
|
|
789
839
|
event_id: string;
|
|
790
840
|
|
|
791
841
|
/**
|
|
792
|
-
* 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.
|
|
793
847
|
*/
|
|
794
848
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
795
849
|
|
|
@@ -836,7 +890,11 @@ export interface ParticipantAddedV2026WebhookEvent {
|
|
|
836
890
|
event_id: string;
|
|
837
891
|
|
|
838
892
|
/**
|
|
839
|
-
* 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.
|
|
840
898
|
*/
|
|
841
899
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
842
900
|
|
|
@@ -911,7 +969,11 @@ export interface ParticipantRemovedV2026WebhookEvent {
|
|
|
911
969
|
event_id: string;
|
|
912
970
|
|
|
913
971
|
/**
|
|
914
|
-
* 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.
|
|
915
977
|
*/
|
|
916
978
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
917
979
|
|
|
@@ -986,7 +1048,11 @@ export interface ChatGroupNameUpdatedV2026WebhookEvent {
|
|
|
986
1048
|
event_id: string;
|
|
987
1049
|
|
|
988
1050
|
/**
|
|
989
|
-
* 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.
|
|
990
1056
|
*/
|
|
991
1057
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
992
1058
|
|
|
@@ -1065,7 +1131,11 @@ export interface ChatGroupIconUpdatedV2026WebhookEvent {
|
|
|
1065
1131
|
event_id: string;
|
|
1066
1132
|
|
|
1067
1133
|
/**
|
|
1068
|
-
* 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.
|
|
1069
1139
|
*/
|
|
1070
1140
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1071
1141
|
|
|
@@ -1146,7 +1216,11 @@ export interface ChatGroupNameUpdateFailedV2026WebhookEvent {
|
|
|
1146
1216
|
event_id: string;
|
|
1147
1217
|
|
|
1148
1218
|
/**
|
|
1149
|
-
* 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.
|
|
1150
1224
|
*/
|
|
1151
1225
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1152
1226
|
|
|
@@ -1219,7 +1293,11 @@ export interface ChatGroupIconUpdateFailedV2026WebhookEvent {
|
|
|
1219
1293
|
event_id: string;
|
|
1220
1294
|
|
|
1221
1295
|
/**
|
|
1222
|
-
* 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.
|
|
1223
1301
|
*/
|
|
1224
1302
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1225
1303
|
|
|
@@ -1291,7 +1369,11 @@ export interface ChatCreatedV2026WebhookEvent {
|
|
|
1291
1369
|
event_id: string;
|
|
1292
1370
|
|
|
1293
1371
|
/**
|
|
1294
|
-
* 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.
|
|
1295
1377
|
*/
|
|
1296
1378
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1297
1379
|
|
|
@@ -1383,7 +1465,11 @@ export interface ChatTypingIndicatorStartedV2026WebhookEvent {
|
|
|
1383
1465
|
event_id: string;
|
|
1384
1466
|
|
|
1385
1467
|
/**
|
|
1386
|
-
* 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.
|
|
1387
1473
|
*/
|
|
1388
1474
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1389
1475
|
|
|
@@ -1442,7 +1528,11 @@ export interface ChatTypingIndicatorStoppedV2026WebhookEvent {
|
|
|
1442
1528
|
event_id: string;
|
|
1443
1529
|
|
|
1444
1530
|
/**
|
|
1445
|
-
* 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.
|
|
1446
1536
|
*/
|
|
1447
1537
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1448
1538
|
|
|
@@ -1476,6 +1566,137 @@ export namespace ChatTypingIndicatorStoppedV2026WebhookEvent {
|
|
|
1476
1566
|
}
|
|
1477
1567
|
}
|
|
1478
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
|
+
|
|
1479
1700
|
/**
|
|
1480
1701
|
* Complete webhook payload for phone_number.status_updated events
|
|
1481
1702
|
*/
|
|
@@ -1594,7 +1815,11 @@ export interface MessageSentV2025WebhookEvent {
|
|
|
1594
1815
|
event_id: string;
|
|
1595
1816
|
|
|
1596
1817
|
/**
|
|
1597
|
-
* 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.
|
|
1598
1823
|
*/
|
|
1599
1824
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1600
1825
|
|
|
@@ -1714,7 +1939,11 @@ export interface MessageReceivedV2025WebhookEvent {
|
|
|
1714
1939
|
event_id: string;
|
|
1715
1940
|
|
|
1716
1941
|
/**
|
|
1717
|
-
* 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.
|
|
1718
1947
|
*/
|
|
1719
1948
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1720
1949
|
|
|
@@ -1834,7 +2063,11 @@ export interface MessageReadV2025WebhookEvent {
|
|
|
1834
2063
|
event_id: string;
|
|
1835
2064
|
|
|
1836
2065
|
/**
|
|
1837
|
-
* 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.
|
|
1838
2071
|
*/
|
|
1839
2072
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1840
2073
|
|
|
@@ -1964,7 +2197,11 @@ export interface MessageDeliveredV2025WebhookEvent {
|
|
|
1964
2197
|
event_id: string;
|
|
1965
2198
|
|
|
1966
2199
|
/**
|
|
1967
|
-
* 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.
|
|
1968
2205
|
*/
|
|
1969
2206
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
1970
2207
|
|
|
@@ -2095,7 +2332,11 @@ export interface MessageFailedV2025WebhookEvent {
|
|
|
2095
2332
|
event_id: string;
|
|
2096
2333
|
|
|
2097
2334
|
/**
|
|
2098
|
-
* 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.
|
|
2099
2340
|
*/
|
|
2100
2341
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2101
2342
|
|
|
@@ -2176,7 +2417,11 @@ export interface ReactionAddedV2025WebhookEvent {
|
|
|
2176
2417
|
event_id: string;
|
|
2177
2418
|
|
|
2178
2419
|
/**
|
|
2179
|
-
* 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.
|
|
2180
2425
|
*/
|
|
2181
2426
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2182
2427
|
|
|
@@ -2223,7 +2468,11 @@ export interface ReactionRemovedV2025WebhookEvent {
|
|
|
2223
2468
|
event_id: string;
|
|
2224
2469
|
|
|
2225
2470
|
/**
|
|
2226
|
-
* 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.
|
|
2227
2476
|
*/
|
|
2228
2477
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2229
2478
|
|
|
@@ -2270,7 +2519,11 @@ export interface ParticipantAddedV2025WebhookEvent {
|
|
|
2270
2519
|
event_id: string;
|
|
2271
2520
|
|
|
2272
2521
|
/**
|
|
2273
|
-
* 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.
|
|
2274
2527
|
*/
|
|
2275
2528
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2276
2529
|
|
|
@@ -2345,7 +2598,11 @@ export interface ParticipantRemovedV2025WebhookEvent {
|
|
|
2345
2598
|
event_id: string;
|
|
2346
2599
|
|
|
2347
2600
|
/**
|
|
2348
|
-
* 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.
|
|
2349
2606
|
*/
|
|
2350
2607
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2351
2608
|
|
|
@@ -2420,7 +2677,11 @@ export interface ChatGroupNameUpdatedV2025WebhookEvent {
|
|
|
2420
2677
|
event_id: string;
|
|
2421
2678
|
|
|
2422
2679
|
/**
|
|
2423
|
-
* 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.
|
|
2424
2685
|
*/
|
|
2425
2686
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2426
2687
|
|
|
@@ -2499,7 +2760,11 @@ export interface ChatGroupIconUpdatedV2025WebhookEvent {
|
|
|
2499
2760
|
event_id: string;
|
|
2500
2761
|
|
|
2501
2762
|
/**
|
|
2502
|
-
* 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.
|
|
2503
2768
|
*/
|
|
2504
2769
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2505
2770
|
|
|
@@ -2580,7 +2845,11 @@ export interface ChatGroupNameUpdateFailedV2025WebhookEvent {
|
|
|
2580
2845
|
event_id: string;
|
|
2581
2846
|
|
|
2582
2847
|
/**
|
|
2583
|
-
* 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.
|
|
2584
2853
|
*/
|
|
2585
2854
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2586
2855
|
|
|
@@ -2653,7 +2922,11 @@ export interface ChatGroupIconUpdateFailedV2025WebhookEvent {
|
|
|
2653
2922
|
event_id: string;
|
|
2654
2923
|
|
|
2655
2924
|
/**
|
|
2656
|
-
* 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.
|
|
2657
2930
|
*/
|
|
2658
2931
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2659
2932
|
|
|
@@ -2725,7 +2998,11 @@ export interface ChatCreatedV2025WebhookEvent {
|
|
|
2725
2998
|
event_id: string;
|
|
2726
2999
|
|
|
2727
3000
|
/**
|
|
2728
|
-
* 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.
|
|
2729
3006
|
*/
|
|
2730
3007
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2731
3008
|
|
|
@@ -2817,7 +3094,11 @@ export interface ChatTypingIndicatorStartedV2025WebhookEvent {
|
|
|
2817
3094
|
event_id: string;
|
|
2818
3095
|
|
|
2819
3096
|
/**
|
|
2820
|
-
* 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.
|
|
2821
3102
|
*/
|
|
2822
3103
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2823
3104
|
|
|
@@ -2876,7 +3157,11 @@ export interface ChatTypingIndicatorStoppedV2025WebhookEvent {
|
|
|
2876
3157
|
event_id: string;
|
|
2877
3158
|
|
|
2878
3159
|
/**
|
|
2879
|
-
* 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.
|
|
2880
3165
|
*/
|
|
2881
3166
|
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2882
3167
|
|
|
@@ -3022,6 +3307,7 @@ export type EventsWebhookEvent =
|
|
|
3022
3307
|
| ChatCreatedV2026WebhookEvent
|
|
3023
3308
|
| ChatTypingIndicatorStartedV2026WebhookEvent
|
|
3024
3309
|
| ChatTypingIndicatorStoppedV2026WebhookEvent
|
|
3310
|
+
| MessageEditedV2026WebhookEvent
|
|
3025
3311
|
| PhoneNumberStatusUpdatedV2026WebhookEvent
|
|
3026
3312
|
| MessageSentV2025WebhookEvent
|
|
3027
3313
|
| MessageReceivedV2025WebhookEvent
|
|
@@ -3065,6 +3351,7 @@ export declare namespace Webhooks {
|
|
|
3065
3351
|
type ChatCreatedV2026WebhookEvent as ChatCreatedV2026WebhookEvent,
|
|
3066
3352
|
type ChatTypingIndicatorStartedV2026WebhookEvent as ChatTypingIndicatorStartedV2026WebhookEvent,
|
|
3067
3353
|
type ChatTypingIndicatorStoppedV2026WebhookEvent as ChatTypingIndicatorStoppedV2026WebhookEvent,
|
|
3354
|
+
type MessageEditedV2026WebhookEvent as MessageEditedV2026WebhookEvent,
|
|
3068
3355
|
type PhoneNumberStatusUpdatedV2026WebhookEvent as PhoneNumberStatusUpdatedV2026WebhookEvent,
|
|
3069
3356
|
type MessageSentV2025WebhookEvent as MessageSentV2025WebhookEvent,
|
|
3070
3357
|
type MessageReceivedV2025WebhookEvent as MessageReceivedV2025WebhookEvent,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.8.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.8.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|