@linqapp/sdk 0.12.2 → 0.14.0
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 +27 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js +2 -2
- package/client.mjs +2 -2
- package/package.json +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/messages.d.mts +1 -4
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +1 -4
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +1 -4
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +1 -4
- package/resources/messages.mjs.map +1 -1
- package/resources/webhook-events.d.mts +2 -2
- package/resources/webhook-events.d.mts.map +1 -1
- package/resources/webhook-events.d.ts +2 -2
- package/resources/webhook-events.d.ts.map +1 -1
- package/resources/webhook-events.js +1 -1
- package/resources/webhook-events.mjs +1 -1
- package/resources/webhook-subscriptions.d.mts +2 -2
- package/resources/webhook-subscriptions.d.ts +2 -2
- package/resources/webhook-subscriptions.js +2 -2
- package/resources/webhook-subscriptions.mjs +2 -2
- package/resources/webhooks.d.mts +93 -93
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +93 -93
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +72 -72
- package/src/resources/index.ts +35 -35
- package/src/resources/messages.ts +1 -4
- package/src/resources/webhook-events.ts +9 -2
- package/src/resources/webhook-subscriptions.ts +2 -2
- package/src/resources/webhooks.ts +175 -161
- 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
|
@@ -412,7 +412,7 @@ export interface SchemasTextPartResponse {
|
|
|
412
412
|
/**
|
|
413
413
|
* Complete webhook payload for message.sent events (2026-02-03 format)
|
|
414
414
|
*/
|
|
415
|
-
export interface
|
|
415
|
+
export interface MessageSentV2026_02_03WebhookEvent {
|
|
416
416
|
/**
|
|
417
417
|
* API version for the webhook payload format
|
|
418
418
|
*/
|
|
@@ -481,7 +481,7 @@ export interface MessageSentV2026WebhookEvent {
|
|
|
481
481
|
/**
|
|
482
482
|
* Complete webhook payload for message.received events (2026-02-03 format)
|
|
483
483
|
*/
|
|
484
|
-
export interface
|
|
484
|
+
export interface MessageReceivedV2026_02_03WebhookEvent {
|
|
485
485
|
/**
|
|
486
486
|
* API version for the webhook payload format
|
|
487
487
|
*/
|
|
@@ -550,7 +550,7 @@ export interface MessageReceivedV2026WebhookEvent {
|
|
|
550
550
|
/**
|
|
551
551
|
* Complete webhook payload for message.read events (2026-02-03 format)
|
|
552
552
|
*/
|
|
553
|
-
export interface
|
|
553
|
+
export interface MessageReadV2026_02_03WebhookEvent {
|
|
554
554
|
/**
|
|
555
555
|
* API version for the webhook payload format
|
|
556
556
|
*/
|
|
@@ -619,7 +619,7 @@ export interface MessageReadV2026WebhookEvent {
|
|
|
619
619
|
/**
|
|
620
620
|
* Complete webhook payload for message.delivered events (2026-02-03 format)
|
|
621
621
|
*/
|
|
622
|
-
export interface
|
|
622
|
+
export interface MessageDeliveredV2026_02_03WebhookEvent {
|
|
623
623
|
/**
|
|
624
624
|
* API version for the webhook payload format
|
|
625
625
|
*/
|
|
@@ -688,7 +688,7 @@ export interface MessageDeliveredV2026WebhookEvent {
|
|
|
688
688
|
/**
|
|
689
689
|
* Complete webhook payload for message.failed events
|
|
690
690
|
*/
|
|
691
|
-
export interface
|
|
691
|
+
export interface MessageFailedV2026_02_03WebhookEvent {
|
|
692
692
|
/**
|
|
693
693
|
* API version for the webhook payload format
|
|
694
694
|
*/
|
|
@@ -704,7 +704,7 @@ export interface MessageFailedV2026WebhookEvent {
|
|
|
704
704
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
705
705
|
* code reference.
|
|
706
706
|
*/
|
|
707
|
-
data:
|
|
707
|
+
data: MessageFailedV2026_02_03WebhookEvent.Data;
|
|
708
708
|
|
|
709
709
|
/**
|
|
710
710
|
* Unique identifier for this event (for deduplication)
|
|
@@ -738,7 +738,7 @@ export interface MessageFailedV2026WebhookEvent {
|
|
|
738
738
|
webhook_version: string;
|
|
739
739
|
}
|
|
740
740
|
|
|
741
|
-
export namespace
|
|
741
|
+
export namespace MessageFailedV2026_02_03WebhookEvent {
|
|
742
742
|
/**
|
|
743
743
|
* Error details for message.failed webhook events. See
|
|
744
744
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
@@ -775,7 +775,7 @@ export namespace MessageFailedV2026WebhookEvent {
|
|
|
775
775
|
/**
|
|
776
776
|
* Complete webhook payload for reaction.added events
|
|
777
777
|
*/
|
|
778
|
-
export interface
|
|
778
|
+
export interface ReactionAddedV2026_02_03WebhookEvent {
|
|
779
779
|
/**
|
|
780
780
|
* API version for the webhook payload format
|
|
781
781
|
*/
|
|
@@ -826,7 +826,7 @@ export interface ReactionAddedV2026WebhookEvent {
|
|
|
826
826
|
/**
|
|
827
827
|
* Complete webhook payload for reaction.removed events
|
|
828
828
|
*/
|
|
829
|
-
export interface
|
|
829
|
+
export interface ReactionRemovedV2026_02_03WebhookEvent {
|
|
830
830
|
/**
|
|
831
831
|
* API version for the webhook payload format
|
|
832
832
|
*/
|
|
@@ -877,7 +877,7 @@ export interface ReactionRemovedV2026WebhookEvent {
|
|
|
877
877
|
/**
|
|
878
878
|
* Complete webhook payload for participant.added events
|
|
879
879
|
*/
|
|
880
|
-
export interface
|
|
880
|
+
export interface ParticipantAddedV2026_02_03WebhookEvent {
|
|
881
881
|
/**
|
|
882
882
|
* API version for the webhook payload format
|
|
883
883
|
*/
|
|
@@ -891,7 +891,7 @@ export interface ParticipantAddedV2026WebhookEvent {
|
|
|
891
891
|
/**
|
|
892
892
|
* Payload for participant.added webhook events
|
|
893
893
|
*/
|
|
894
|
-
data:
|
|
894
|
+
data: ParticipantAddedV2026_02_03WebhookEvent.Data;
|
|
895
895
|
|
|
896
896
|
/**
|
|
897
897
|
* Unique identifier for this event (for deduplication)
|
|
@@ -925,7 +925,7 @@ export interface ParticipantAddedV2026WebhookEvent {
|
|
|
925
925
|
webhook_version: string;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
export namespace
|
|
928
|
+
export namespace ParticipantAddedV2026_02_03WebhookEvent {
|
|
929
929
|
/**
|
|
930
930
|
* Payload for participant.added webhook events
|
|
931
931
|
*/
|
|
@@ -956,7 +956,7 @@ export namespace ParticipantAddedV2026WebhookEvent {
|
|
|
956
956
|
/**
|
|
957
957
|
* Complete webhook payload for participant.removed events
|
|
958
958
|
*/
|
|
959
|
-
export interface
|
|
959
|
+
export interface ParticipantRemovedV2026_02_03WebhookEvent {
|
|
960
960
|
/**
|
|
961
961
|
* API version for the webhook payload format
|
|
962
962
|
*/
|
|
@@ -970,7 +970,7 @@ export interface ParticipantRemovedV2026WebhookEvent {
|
|
|
970
970
|
/**
|
|
971
971
|
* Payload for participant.removed webhook events
|
|
972
972
|
*/
|
|
973
|
-
data:
|
|
973
|
+
data: ParticipantRemovedV2026_02_03WebhookEvent.Data;
|
|
974
974
|
|
|
975
975
|
/**
|
|
976
976
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1004,7 +1004,7 @@ export interface ParticipantRemovedV2026WebhookEvent {
|
|
|
1004
1004
|
webhook_version: string;
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
|
-
export namespace
|
|
1007
|
+
export namespace ParticipantRemovedV2026_02_03WebhookEvent {
|
|
1008
1008
|
/**
|
|
1009
1009
|
* Payload for participant.removed webhook events
|
|
1010
1010
|
*/
|
|
@@ -1035,7 +1035,7 @@ export namespace ParticipantRemovedV2026WebhookEvent {
|
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Complete webhook payload for chat.group_name_updated events
|
|
1037
1037
|
*/
|
|
1038
|
-
export interface
|
|
1038
|
+
export interface ChatGroupNameUpdatedV2026_02_03WebhookEvent {
|
|
1039
1039
|
/**
|
|
1040
1040
|
* API version for the webhook payload format
|
|
1041
1041
|
*/
|
|
@@ -1049,7 +1049,7 @@ export interface ChatGroupNameUpdatedV2026WebhookEvent {
|
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Payload for chat.group_name_updated webhook events
|
|
1051
1051
|
*/
|
|
1052
|
-
data:
|
|
1052
|
+
data: ChatGroupNameUpdatedV2026_02_03WebhookEvent.Data;
|
|
1053
1053
|
|
|
1054
1054
|
/**
|
|
1055
1055
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1083,7 +1083,7 @@ export interface ChatGroupNameUpdatedV2026WebhookEvent {
|
|
|
1083
1083
|
webhook_version: string;
|
|
1084
1084
|
}
|
|
1085
1085
|
|
|
1086
|
-
export namespace
|
|
1086
|
+
export namespace ChatGroupNameUpdatedV2026_02_03WebhookEvent {
|
|
1087
1087
|
/**
|
|
1088
1088
|
* Payload for chat.group_name_updated webhook events
|
|
1089
1089
|
*/
|
|
@@ -1118,7 +1118,7 @@ export namespace ChatGroupNameUpdatedV2026WebhookEvent {
|
|
|
1118
1118
|
/**
|
|
1119
1119
|
* Complete webhook payload for chat.group_icon_updated events
|
|
1120
1120
|
*/
|
|
1121
|
-
export interface
|
|
1121
|
+
export interface ChatGroupIconUpdatedV2026_02_03WebhookEvent {
|
|
1122
1122
|
/**
|
|
1123
1123
|
* API version for the webhook payload format
|
|
1124
1124
|
*/
|
|
@@ -1132,7 +1132,7 @@ export interface ChatGroupIconUpdatedV2026WebhookEvent {
|
|
|
1132
1132
|
/**
|
|
1133
1133
|
* Payload for chat.group_icon_updated webhook events
|
|
1134
1134
|
*/
|
|
1135
|
-
data:
|
|
1135
|
+
data: ChatGroupIconUpdatedV2026_02_03WebhookEvent.Data;
|
|
1136
1136
|
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1166,7 +1166,7 @@ export interface ChatGroupIconUpdatedV2026WebhookEvent {
|
|
|
1166
1166
|
webhook_version: string;
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
1169
|
-
export namespace
|
|
1169
|
+
export namespace ChatGroupIconUpdatedV2026_02_03WebhookEvent {
|
|
1170
1170
|
/**
|
|
1171
1171
|
* Payload for chat.group_icon_updated webhook events
|
|
1172
1172
|
*/
|
|
@@ -1201,7 +1201,7 @@ export namespace ChatGroupIconUpdatedV2026WebhookEvent {
|
|
|
1201
1201
|
/**
|
|
1202
1202
|
* Complete webhook payload for chat.group_name_update_failed events
|
|
1203
1203
|
*/
|
|
1204
|
-
export interface
|
|
1204
|
+
export interface ChatGroupNameUpdateFailedV2026_02_03WebhookEvent {
|
|
1205
1205
|
/**
|
|
1206
1206
|
* API version for the webhook payload format
|
|
1207
1207
|
*/
|
|
@@ -1217,7 +1217,7 @@ export interface ChatGroupNameUpdateFailedV2026WebhookEvent {
|
|
|
1217
1217
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
1218
1218
|
* code reference.
|
|
1219
1219
|
*/
|
|
1220
|
-
data:
|
|
1220
|
+
data: ChatGroupNameUpdateFailedV2026_02_03WebhookEvent.Data;
|
|
1221
1221
|
|
|
1222
1222
|
/**
|
|
1223
1223
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1251,7 +1251,7 @@ export interface ChatGroupNameUpdateFailedV2026WebhookEvent {
|
|
|
1251
1251
|
webhook_version: string;
|
|
1252
1252
|
}
|
|
1253
1253
|
|
|
1254
|
-
export namespace
|
|
1254
|
+
export namespace ChatGroupNameUpdateFailedV2026_02_03WebhookEvent {
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Error details for chat.group_name_update_failed webhook events. See
|
|
1257
1257
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
@@ -1278,7 +1278,7 @@ export namespace ChatGroupNameUpdateFailedV2026WebhookEvent {
|
|
|
1278
1278
|
/**
|
|
1279
1279
|
* Complete webhook payload for chat.group_icon_update_failed events
|
|
1280
1280
|
*/
|
|
1281
|
-
export interface
|
|
1281
|
+
export interface ChatGroupIconUpdateFailedV2026_02_03WebhookEvent {
|
|
1282
1282
|
/**
|
|
1283
1283
|
* API version for the webhook payload format
|
|
1284
1284
|
*/
|
|
@@ -1294,7 +1294,7 @@ export interface ChatGroupIconUpdateFailedV2026WebhookEvent {
|
|
|
1294
1294
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
1295
1295
|
* code reference.
|
|
1296
1296
|
*/
|
|
1297
|
-
data:
|
|
1297
|
+
data: ChatGroupIconUpdateFailedV2026_02_03WebhookEvent.Data;
|
|
1298
1298
|
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1328,7 +1328,7 @@ export interface ChatGroupIconUpdateFailedV2026WebhookEvent {
|
|
|
1328
1328
|
webhook_version: string;
|
|
1329
1329
|
}
|
|
1330
1330
|
|
|
1331
|
-
export namespace
|
|
1331
|
+
export namespace ChatGroupIconUpdateFailedV2026_02_03WebhookEvent {
|
|
1332
1332
|
/**
|
|
1333
1333
|
* Error details for chat.group_icon_update_failed webhook events. See
|
|
1334
1334
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
@@ -1355,7 +1355,7 @@ export namespace ChatGroupIconUpdateFailedV2026WebhookEvent {
|
|
|
1355
1355
|
/**
|
|
1356
1356
|
* Complete webhook payload for chat.created events
|
|
1357
1357
|
*/
|
|
1358
|
-
export interface
|
|
1358
|
+
export interface ChatCreatedV2026_02_03WebhookEvent {
|
|
1359
1359
|
/**
|
|
1360
1360
|
* API version for the webhook payload format
|
|
1361
1361
|
*/
|
|
@@ -1370,7 +1370,7 @@ export interface ChatCreatedV2026WebhookEvent {
|
|
|
1370
1370
|
* Payload for chat.created webhook events. Matches GET /v3/chats/{chatId}
|
|
1371
1371
|
* response.
|
|
1372
1372
|
*/
|
|
1373
|
-
data:
|
|
1373
|
+
data: ChatCreatedV2026_02_03WebhookEvent.Data;
|
|
1374
1374
|
|
|
1375
1375
|
/**
|
|
1376
1376
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1404,7 +1404,7 @@ export interface ChatCreatedV2026WebhookEvent {
|
|
|
1404
1404
|
webhook_version: string;
|
|
1405
1405
|
}
|
|
1406
1406
|
|
|
1407
|
-
export namespace
|
|
1407
|
+
export namespace ChatCreatedV2026_02_03WebhookEvent {
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Payload for chat.created webhook events. Matches GET /v3/chats/{chatId}
|
|
1410
1410
|
* response.
|
|
@@ -1452,7 +1452,7 @@ export namespace ChatCreatedV2026WebhookEvent {
|
|
|
1452
1452
|
/**
|
|
1453
1453
|
* Complete webhook payload for chat.typing_indicator.started events
|
|
1454
1454
|
*/
|
|
1455
|
-
export interface
|
|
1455
|
+
export interface ChatTypingIndicatorStartedV2026_02_03WebhookEvent {
|
|
1456
1456
|
/**
|
|
1457
1457
|
* API version for the webhook payload format
|
|
1458
1458
|
*/
|
|
@@ -1466,7 +1466,7 @@ export interface ChatTypingIndicatorStartedV2026WebhookEvent {
|
|
|
1466
1466
|
/**
|
|
1467
1467
|
* Payload for chat.typing_indicator.started webhook events
|
|
1468
1468
|
*/
|
|
1469
|
-
data:
|
|
1469
|
+
data: ChatTypingIndicatorStartedV2026_02_03WebhookEvent.Data;
|
|
1470
1470
|
|
|
1471
1471
|
/**
|
|
1472
1472
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1500,7 +1500,7 @@ export interface ChatTypingIndicatorStartedV2026WebhookEvent {
|
|
|
1500
1500
|
webhook_version: string;
|
|
1501
1501
|
}
|
|
1502
1502
|
|
|
1503
|
-
export namespace
|
|
1503
|
+
export namespace ChatTypingIndicatorStartedV2026_02_03WebhookEvent {
|
|
1504
1504
|
/**
|
|
1505
1505
|
* Payload for chat.typing_indicator.started webhook events
|
|
1506
1506
|
*/
|
|
@@ -1515,7 +1515,7 @@ export namespace ChatTypingIndicatorStartedV2026WebhookEvent {
|
|
|
1515
1515
|
/**
|
|
1516
1516
|
* Complete webhook payload for chat.typing_indicator.stopped events
|
|
1517
1517
|
*/
|
|
1518
|
-
export interface
|
|
1518
|
+
export interface ChatTypingIndicatorStoppedV2026_02_03WebhookEvent {
|
|
1519
1519
|
/**
|
|
1520
1520
|
* API version for the webhook payload format
|
|
1521
1521
|
*/
|
|
@@ -1529,7 +1529,7 @@ export interface ChatTypingIndicatorStoppedV2026WebhookEvent {
|
|
|
1529
1529
|
/**
|
|
1530
1530
|
* Payload for chat.typing_indicator.stopped webhook events
|
|
1531
1531
|
*/
|
|
1532
|
-
data:
|
|
1532
|
+
data: ChatTypingIndicatorStoppedV2026_02_03WebhookEvent.Data;
|
|
1533
1533
|
|
|
1534
1534
|
/**
|
|
1535
1535
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1563,7 +1563,7 @@ export interface ChatTypingIndicatorStoppedV2026WebhookEvent {
|
|
|
1563
1563
|
webhook_version: string;
|
|
1564
1564
|
}
|
|
1565
1565
|
|
|
1566
|
-
export namespace
|
|
1566
|
+
export namespace ChatTypingIndicatorStoppedV2026_02_03WebhookEvent {
|
|
1567
1567
|
/**
|
|
1568
1568
|
* Payload for chat.typing_indicator.stopped webhook events
|
|
1569
1569
|
*/
|
|
@@ -1578,7 +1578,7 @@ export namespace ChatTypingIndicatorStoppedV2026WebhookEvent {
|
|
|
1578
1578
|
/**
|
|
1579
1579
|
* Complete webhook payload for message.edited events (2026-02-03 format only)
|
|
1580
1580
|
*/
|
|
1581
|
-
export interface
|
|
1581
|
+
export interface MessageEditedV2026_02_03WebhookEvent {
|
|
1582
1582
|
/**
|
|
1583
1583
|
* API version for the webhook payload format
|
|
1584
1584
|
*/
|
|
@@ -1595,7 +1595,7 @@ export interface MessageEditedV2026WebhookEvent {
|
|
|
1595
1595
|
* Describes which part of a message was edited and when. Only text parts can be
|
|
1596
1596
|
* edited. Only available for subscriptions using `webhook_version: "2026-02-03"`.
|
|
1597
1597
|
*/
|
|
1598
|
-
data:
|
|
1598
|
+
data: MessageEditedV2026_02_03WebhookEvent.Data;
|
|
1599
1599
|
|
|
1600
1600
|
/**
|
|
1601
1601
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1629,7 +1629,7 @@ export interface MessageEditedV2026WebhookEvent {
|
|
|
1629
1629
|
webhook_version: string;
|
|
1630
1630
|
}
|
|
1631
1631
|
|
|
1632
|
-
export namespace
|
|
1632
|
+
export namespace MessageEditedV2026_02_03WebhookEvent {
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Payload for `message.edited` events (2026-02-03 format).
|
|
1635
1635
|
*
|
|
@@ -1709,7 +1709,7 @@ export namespace MessageEditedV2026WebhookEvent {
|
|
|
1709
1709
|
/**
|
|
1710
1710
|
* Complete webhook payload for phone_number.status_updated events
|
|
1711
1711
|
*/
|
|
1712
|
-
export interface
|
|
1712
|
+
export interface PhoneNumberStatusUpdatedV2026_02_03WebhookEvent {
|
|
1713
1713
|
/**
|
|
1714
1714
|
* API version for the webhook payload format
|
|
1715
1715
|
*/
|
|
@@ -1723,7 +1723,7 @@ export interface PhoneNumberStatusUpdatedV2026WebhookEvent {
|
|
|
1723
1723
|
/**
|
|
1724
1724
|
* Payload for phone_number.status_updated webhook events
|
|
1725
1725
|
*/
|
|
1726
|
-
data:
|
|
1726
|
+
data: PhoneNumberStatusUpdatedV2026_02_03WebhookEvent.Data;
|
|
1727
1727
|
|
|
1728
1728
|
/**
|
|
1729
1729
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1751,7 +1751,14 @@ export interface PhoneNumberStatusUpdatedV2026WebhookEvent {
|
|
|
1751
1751
|
| 'chat.group_icon_update_failed'
|
|
1752
1752
|
| 'chat.typing_indicator.started'
|
|
1753
1753
|
| 'chat.typing_indicator.stopped'
|
|
1754
|
-
| 'phone_number.status_updated'
|
|
1754
|
+
| 'phone_number.status_updated'
|
|
1755
|
+
| 'call.initiated'
|
|
1756
|
+
| 'call.ringing'
|
|
1757
|
+
| 'call.answered'
|
|
1758
|
+
| 'call.ended'
|
|
1759
|
+
| 'call.failed'
|
|
1760
|
+
| 'call.declined'
|
|
1761
|
+
| 'call.no_answer';
|
|
1755
1762
|
|
|
1756
1763
|
/**
|
|
1757
1764
|
* Partner identifier. Present on all webhooks for cross-referencing.
|
|
@@ -1771,7 +1778,7 @@ export interface PhoneNumberStatusUpdatedV2026WebhookEvent {
|
|
|
1771
1778
|
webhook_version: string;
|
|
1772
1779
|
}
|
|
1773
1780
|
|
|
1774
|
-
export namespace
|
|
1781
|
+
export namespace PhoneNumberStatusUpdatedV2026_02_03WebhookEvent {
|
|
1775
1782
|
/**
|
|
1776
1783
|
* Payload for phone_number.status_updated webhook events
|
|
1777
1784
|
*/
|
|
@@ -1801,7 +1808,7 @@ export namespace PhoneNumberStatusUpdatedV2026WebhookEvent {
|
|
|
1801
1808
|
/**
|
|
1802
1809
|
* Complete webhook payload for message.sent events (2025-01-01 format)
|
|
1803
1810
|
*/
|
|
1804
|
-
export interface
|
|
1811
|
+
export interface MessageSentV2025_01_01WebhookEvent {
|
|
1805
1812
|
/**
|
|
1806
1813
|
* API version for the webhook payload format
|
|
1807
1814
|
*/
|
|
@@ -1816,7 +1823,7 @@ export interface MessageSentV2025WebhookEvent {
|
|
|
1816
1823
|
* Unified payload for message.sent and message.received webhook events (2025-01-01
|
|
1817
1824
|
* format)
|
|
1818
1825
|
*/
|
|
1819
|
-
data:
|
|
1826
|
+
data: MessageSentV2025_01_01WebhookEvent.Data;
|
|
1820
1827
|
|
|
1821
1828
|
/**
|
|
1822
1829
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1850,7 +1857,7 @@ export interface MessageSentV2025WebhookEvent {
|
|
|
1850
1857
|
webhook_version: string;
|
|
1851
1858
|
}
|
|
1852
1859
|
|
|
1853
|
-
export namespace
|
|
1860
|
+
export namespace MessageSentV2025_01_01WebhookEvent {
|
|
1854
1861
|
/**
|
|
1855
1862
|
* Unified payload for message.sent and message.received webhook events (2025-01-01
|
|
1856
1863
|
* format)
|
|
@@ -1925,7 +1932,7 @@ export namespace MessageSentV2025WebhookEvent {
|
|
|
1925
1932
|
/**
|
|
1926
1933
|
* Complete webhook payload for message.received events (2025-01-01 format)
|
|
1927
1934
|
*/
|
|
1928
|
-
export interface
|
|
1935
|
+
export interface MessageReceivedV2025_01_01WebhookEvent {
|
|
1929
1936
|
/**
|
|
1930
1937
|
* API version for the webhook payload format
|
|
1931
1938
|
*/
|
|
@@ -1940,7 +1947,7 @@ export interface MessageReceivedV2025WebhookEvent {
|
|
|
1940
1947
|
* Unified payload for message.sent and message.received webhook events (2025-01-01
|
|
1941
1948
|
* format)
|
|
1942
1949
|
*/
|
|
1943
|
-
data:
|
|
1950
|
+
data: MessageReceivedV2025_01_01WebhookEvent.Data;
|
|
1944
1951
|
|
|
1945
1952
|
/**
|
|
1946
1953
|
* Unique identifier for this event (for deduplication)
|
|
@@ -1974,7 +1981,7 @@ export interface MessageReceivedV2025WebhookEvent {
|
|
|
1974
1981
|
webhook_version: string;
|
|
1975
1982
|
}
|
|
1976
1983
|
|
|
1977
|
-
export namespace
|
|
1984
|
+
export namespace MessageReceivedV2025_01_01WebhookEvent {
|
|
1978
1985
|
/**
|
|
1979
1986
|
* Unified payload for message.sent and message.received webhook events (2025-01-01
|
|
1980
1987
|
* format)
|
|
@@ -2049,7 +2056,7 @@ export namespace MessageReceivedV2025WebhookEvent {
|
|
|
2049
2056
|
/**
|
|
2050
2057
|
* Complete webhook payload for message.read events (2025-01-01 format)
|
|
2051
2058
|
*/
|
|
2052
|
-
export interface
|
|
2059
|
+
export interface MessageReadV2025_01_01WebhookEvent {
|
|
2053
2060
|
/**
|
|
2054
2061
|
* API version for the webhook payload format
|
|
2055
2062
|
*/
|
|
@@ -2064,7 +2071,7 @@ export interface MessageReadV2025WebhookEvent {
|
|
|
2064
2071
|
* Payload for message.read webhook events (2025-01-01 format). Extends
|
|
2065
2072
|
* MessageEvent with read_at and message_id.
|
|
2066
2073
|
*/
|
|
2067
|
-
data:
|
|
2074
|
+
data: MessageReadV2025_01_01WebhookEvent.Data;
|
|
2068
2075
|
|
|
2069
2076
|
/**
|
|
2070
2077
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2098,7 +2105,7 @@ export interface MessageReadV2025WebhookEvent {
|
|
|
2098
2105
|
webhook_version: string;
|
|
2099
2106
|
}
|
|
2100
2107
|
|
|
2101
|
-
export namespace
|
|
2108
|
+
export namespace MessageReadV2025_01_01WebhookEvent {
|
|
2102
2109
|
/**
|
|
2103
2110
|
* Payload for message.read webhook events (2025-01-01 format). Extends
|
|
2104
2111
|
* MessageEvent with read_at and message_id.
|
|
@@ -2183,7 +2190,7 @@ export namespace MessageReadV2025WebhookEvent {
|
|
|
2183
2190
|
/**
|
|
2184
2191
|
* Complete webhook payload for message.delivered events (2025-01-01 format)
|
|
2185
2192
|
*/
|
|
2186
|
-
export interface
|
|
2193
|
+
export interface MessageDeliveredV2025_01_01WebhookEvent {
|
|
2187
2194
|
/**
|
|
2188
2195
|
* API version for the webhook payload format
|
|
2189
2196
|
*/
|
|
@@ -2198,7 +2205,7 @@ export interface MessageDeliveredV2025WebhookEvent {
|
|
|
2198
2205
|
* Payload for message.delivered webhook events (2025-01-01 format). Extends
|
|
2199
2206
|
* MessageEvent with delivered_at and message_id.
|
|
2200
2207
|
*/
|
|
2201
|
-
data:
|
|
2208
|
+
data: MessageDeliveredV2025_01_01WebhookEvent.Data;
|
|
2202
2209
|
|
|
2203
2210
|
/**
|
|
2204
2211
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2232,7 +2239,7 @@ export interface MessageDeliveredV2025WebhookEvent {
|
|
|
2232
2239
|
webhook_version: string;
|
|
2233
2240
|
}
|
|
2234
2241
|
|
|
2235
|
-
export namespace
|
|
2242
|
+
export namespace MessageDeliveredV2025_01_01WebhookEvent {
|
|
2236
2243
|
/**
|
|
2237
2244
|
* Payload for message.delivered webhook events (2025-01-01 format). Extends
|
|
2238
2245
|
* MessageEvent with delivered_at and message_id.
|
|
@@ -2317,7 +2324,7 @@ export namespace MessageDeliveredV2025WebhookEvent {
|
|
|
2317
2324
|
/**
|
|
2318
2325
|
* Complete webhook payload for message.failed events
|
|
2319
2326
|
*/
|
|
2320
|
-
export interface
|
|
2327
|
+
export interface MessageFailedV2025_01_01WebhookEvent {
|
|
2321
2328
|
/**
|
|
2322
2329
|
* API version for the webhook payload format
|
|
2323
2330
|
*/
|
|
@@ -2333,7 +2340,7 @@ export interface MessageFailedV2025WebhookEvent {
|
|
|
2333
2340
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
2334
2341
|
* code reference.
|
|
2335
2342
|
*/
|
|
2336
|
-
data:
|
|
2343
|
+
data: MessageFailedV2025_01_01WebhookEvent.Data;
|
|
2337
2344
|
|
|
2338
2345
|
/**
|
|
2339
2346
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2367,7 +2374,7 @@ export interface MessageFailedV2025WebhookEvent {
|
|
|
2367
2374
|
webhook_version: string;
|
|
2368
2375
|
}
|
|
2369
2376
|
|
|
2370
|
-
export namespace
|
|
2377
|
+
export namespace MessageFailedV2025_01_01WebhookEvent {
|
|
2371
2378
|
/**
|
|
2372
2379
|
* Error details for message.failed webhook events. See
|
|
2373
2380
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
@@ -2404,7 +2411,7 @@ export namespace MessageFailedV2025WebhookEvent {
|
|
|
2404
2411
|
/**
|
|
2405
2412
|
* Complete webhook payload for reaction.added events
|
|
2406
2413
|
*/
|
|
2407
|
-
export interface
|
|
2414
|
+
export interface ReactionAddedV2025_01_01WebhookEvent {
|
|
2408
2415
|
/**
|
|
2409
2416
|
* API version for the webhook payload format
|
|
2410
2417
|
*/
|
|
@@ -2455,7 +2462,7 @@ export interface ReactionAddedV2025WebhookEvent {
|
|
|
2455
2462
|
/**
|
|
2456
2463
|
* Complete webhook payload for reaction.removed events
|
|
2457
2464
|
*/
|
|
2458
|
-
export interface
|
|
2465
|
+
export interface ReactionRemovedV2025_01_01WebhookEvent {
|
|
2459
2466
|
/**
|
|
2460
2467
|
* API version for the webhook payload format
|
|
2461
2468
|
*/
|
|
@@ -2506,7 +2513,7 @@ export interface ReactionRemovedV2025WebhookEvent {
|
|
|
2506
2513
|
/**
|
|
2507
2514
|
* Complete webhook payload for participant.added events
|
|
2508
2515
|
*/
|
|
2509
|
-
export interface
|
|
2516
|
+
export interface ParticipantAddedV2025_01_01WebhookEvent {
|
|
2510
2517
|
/**
|
|
2511
2518
|
* API version for the webhook payload format
|
|
2512
2519
|
*/
|
|
@@ -2520,7 +2527,7 @@ export interface ParticipantAddedV2025WebhookEvent {
|
|
|
2520
2527
|
/**
|
|
2521
2528
|
* Payload for participant.added webhook events
|
|
2522
2529
|
*/
|
|
2523
|
-
data:
|
|
2530
|
+
data: ParticipantAddedV2025_01_01WebhookEvent.Data;
|
|
2524
2531
|
|
|
2525
2532
|
/**
|
|
2526
2533
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2554,7 +2561,7 @@ export interface ParticipantAddedV2025WebhookEvent {
|
|
|
2554
2561
|
webhook_version: string;
|
|
2555
2562
|
}
|
|
2556
2563
|
|
|
2557
|
-
export namespace
|
|
2564
|
+
export namespace ParticipantAddedV2025_01_01WebhookEvent {
|
|
2558
2565
|
/**
|
|
2559
2566
|
* Payload for participant.added webhook events
|
|
2560
2567
|
*/
|
|
@@ -2585,7 +2592,7 @@ export namespace ParticipantAddedV2025WebhookEvent {
|
|
|
2585
2592
|
/**
|
|
2586
2593
|
* Complete webhook payload for participant.removed events
|
|
2587
2594
|
*/
|
|
2588
|
-
export interface
|
|
2595
|
+
export interface ParticipantRemovedV2025_01_01WebhookEvent {
|
|
2589
2596
|
/**
|
|
2590
2597
|
* API version for the webhook payload format
|
|
2591
2598
|
*/
|
|
@@ -2599,7 +2606,7 @@ export interface ParticipantRemovedV2025WebhookEvent {
|
|
|
2599
2606
|
/**
|
|
2600
2607
|
* Payload for participant.removed webhook events
|
|
2601
2608
|
*/
|
|
2602
|
-
data:
|
|
2609
|
+
data: ParticipantRemovedV2025_01_01WebhookEvent.Data;
|
|
2603
2610
|
|
|
2604
2611
|
/**
|
|
2605
2612
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2633,7 +2640,7 @@ export interface ParticipantRemovedV2025WebhookEvent {
|
|
|
2633
2640
|
webhook_version: string;
|
|
2634
2641
|
}
|
|
2635
2642
|
|
|
2636
|
-
export namespace
|
|
2643
|
+
export namespace ParticipantRemovedV2025_01_01WebhookEvent {
|
|
2637
2644
|
/**
|
|
2638
2645
|
* Payload for participant.removed webhook events
|
|
2639
2646
|
*/
|
|
@@ -2664,7 +2671,7 @@ export namespace ParticipantRemovedV2025WebhookEvent {
|
|
|
2664
2671
|
/**
|
|
2665
2672
|
* Complete webhook payload for chat.group_name_updated events
|
|
2666
2673
|
*/
|
|
2667
|
-
export interface
|
|
2674
|
+
export interface ChatGroupNameUpdatedV2025_01_01WebhookEvent {
|
|
2668
2675
|
/**
|
|
2669
2676
|
* API version for the webhook payload format
|
|
2670
2677
|
*/
|
|
@@ -2678,7 +2685,7 @@ export interface ChatGroupNameUpdatedV2025WebhookEvent {
|
|
|
2678
2685
|
/**
|
|
2679
2686
|
* Payload for chat.group_name_updated webhook events
|
|
2680
2687
|
*/
|
|
2681
|
-
data:
|
|
2688
|
+
data: ChatGroupNameUpdatedV2025_01_01WebhookEvent.Data;
|
|
2682
2689
|
|
|
2683
2690
|
/**
|
|
2684
2691
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2712,7 +2719,7 @@ export interface ChatGroupNameUpdatedV2025WebhookEvent {
|
|
|
2712
2719
|
webhook_version: string;
|
|
2713
2720
|
}
|
|
2714
2721
|
|
|
2715
|
-
export namespace
|
|
2722
|
+
export namespace ChatGroupNameUpdatedV2025_01_01WebhookEvent {
|
|
2716
2723
|
/**
|
|
2717
2724
|
* Payload for chat.group_name_updated webhook events
|
|
2718
2725
|
*/
|
|
@@ -2747,7 +2754,7 @@ export namespace ChatGroupNameUpdatedV2025WebhookEvent {
|
|
|
2747
2754
|
/**
|
|
2748
2755
|
* Complete webhook payload for chat.group_icon_updated events
|
|
2749
2756
|
*/
|
|
2750
|
-
export interface
|
|
2757
|
+
export interface ChatGroupIconUpdatedV2025_01_01WebhookEvent {
|
|
2751
2758
|
/**
|
|
2752
2759
|
* API version for the webhook payload format
|
|
2753
2760
|
*/
|
|
@@ -2761,7 +2768,7 @@ export interface ChatGroupIconUpdatedV2025WebhookEvent {
|
|
|
2761
2768
|
/**
|
|
2762
2769
|
* Payload for chat.group_icon_updated webhook events
|
|
2763
2770
|
*/
|
|
2764
|
-
data:
|
|
2771
|
+
data: ChatGroupIconUpdatedV2025_01_01WebhookEvent.Data;
|
|
2765
2772
|
|
|
2766
2773
|
/**
|
|
2767
2774
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2795,7 +2802,7 @@ export interface ChatGroupIconUpdatedV2025WebhookEvent {
|
|
|
2795
2802
|
webhook_version: string;
|
|
2796
2803
|
}
|
|
2797
2804
|
|
|
2798
|
-
export namespace
|
|
2805
|
+
export namespace ChatGroupIconUpdatedV2025_01_01WebhookEvent {
|
|
2799
2806
|
/**
|
|
2800
2807
|
* Payload for chat.group_icon_updated webhook events
|
|
2801
2808
|
*/
|
|
@@ -2830,7 +2837,7 @@ export namespace ChatGroupIconUpdatedV2025WebhookEvent {
|
|
|
2830
2837
|
/**
|
|
2831
2838
|
* Complete webhook payload for chat.group_name_update_failed events
|
|
2832
2839
|
*/
|
|
2833
|
-
export interface
|
|
2840
|
+
export interface ChatGroupNameUpdateFailedV2025_01_01WebhookEvent {
|
|
2834
2841
|
/**
|
|
2835
2842
|
* API version for the webhook payload format
|
|
2836
2843
|
*/
|
|
@@ -2846,7 +2853,7 @@ export interface ChatGroupNameUpdateFailedV2025WebhookEvent {
|
|
|
2846
2853
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
2847
2854
|
* code reference.
|
|
2848
2855
|
*/
|
|
2849
|
-
data:
|
|
2856
|
+
data: ChatGroupNameUpdateFailedV2025_01_01WebhookEvent.Data;
|
|
2850
2857
|
|
|
2851
2858
|
/**
|
|
2852
2859
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2880,7 +2887,7 @@ export interface ChatGroupNameUpdateFailedV2025WebhookEvent {
|
|
|
2880
2887
|
webhook_version: string;
|
|
2881
2888
|
}
|
|
2882
2889
|
|
|
2883
|
-
export namespace
|
|
2890
|
+
export namespace ChatGroupNameUpdateFailedV2025_01_01WebhookEvent {
|
|
2884
2891
|
/**
|
|
2885
2892
|
* Error details for chat.group_name_update_failed webhook events. See
|
|
2886
2893
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
@@ -2907,7 +2914,7 @@ export namespace ChatGroupNameUpdateFailedV2025WebhookEvent {
|
|
|
2907
2914
|
/**
|
|
2908
2915
|
* Complete webhook payload for chat.group_icon_update_failed events
|
|
2909
2916
|
*/
|
|
2910
|
-
export interface
|
|
2917
|
+
export interface ChatGroupIconUpdateFailedV2025_01_01WebhookEvent {
|
|
2911
2918
|
/**
|
|
2912
2919
|
* API version for the webhook payload format
|
|
2913
2920
|
*/
|
|
@@ -2923,7 +2930,7 @@ export interface ChatGroupIconUpdateFailedV2025WebhookEvent {
|
|
|
2923
2930
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
2924
2931
|
* code reference.
|
|
2925
2932
|
*/
|
|
2926
|
-
data:
|
|
2933
|
+
data: ChatGroupIconUpdateFailedV2025_01_01WebhookEvent.Data;
|
|
2927
2934
|
|
|
2928
2935
|
/**
|
|
2929
2936
|
* Unique identifier for this event (for deduplication)
|
|
@@ -2957,7 +2964,7 @@ export interface ChatGroupIconUpdateFailedV2025WebhookEvent {
|
|
|
2957
2964
|
webhook_version: string;
|
|
2958
2965
|
}
|
|
2959
2966
|
|
|
2960
|
-
export namespace
|
|
2967
|
+
export namespace ChatGroupIconUpdateFailedV2025_01_01WebhookEvent {
|
|
2961
2968
|
/**
|
|
2962
2969
|
* Error details for chat.group_icon_update_failed webhook events. See
|
|
2963
2970
|
* [WebhookErrorCode](#/components/schemas/WebhookErrorCode) for the full error
|
|
@@ -2984,7 +2991,7 @@ export namespace ChatGroupIconUpdateFailedV2025WebhookEvent {
|
|
|
2984
2991
|
/**
|
|
2985
2992
|
* Complete webhook payload for chat.created events
|
|
2986
2993
|
*/
|
|
2987
|
-
export interface
|
|
2994
|
+
export interface ChatCreatedV2025_01_01WebhookEvent {
|
|
2988
2995
|
/**
|
|
2989
2996
|
* API version for the webhook payload format
|
|
2990
2997
|
*/
|
|
@@ -2999,7 +3006,7 @@ export interface ChatCreatedV2025WebhookEvent {
|
|
|
2999
3006
|
* Payload for chat.created webhook events. Matches GET /v3/chats/{chatId}
|
|
3000
3007
|
* response.
|
|
3001
3008
|
*/
|
|
3002
|
-
data:
|
|
3009
|
+
data: ChatCreatedV2025_01_01WebhookEvent.Data;
|
|
3003
3010
|
|
|
3004
3011
|
/**
|
|
3005
3012
|
* Unique identifier for this event (for deduplication)
|
|
@@ -3033,7 +3040,7 @@ export interface ChatCreatedV2025WebhookEvent {
|
|
|
3033
3040
|
webhook_version: string;
|
|
3034
3041
|
}
|
|
3035
3042
|
|
|
3036
|
-
export namespace
|
|
3043
|
+
export namespace ChatCreatedV2025_01_01WebhookEvent {
|
|
3037
3044
|
/**
|
|
3038
3045
|
* Payload for chat.created webhook events. Matches GET /v3/chats/{chatId}
|
|
3039
3046
|
* response.
|
|
@@ -3081,7 +3088,7 @@ export namespace ChatCreatedV2025WebhookEvent {
|
|
|
3081
3088
|
/**
|
|
3082
3089
|
* Complete webhook payload for chat.typing_indicator.started events
|
|
3083
3090
|
*/
|
|
3084
|
-
export interface
|
|
3091
|
+
export interface ChatTypingIndicatorStartedV2025_01_01WebhookEvent {
|
|
3085
3092
|
/**
|
|
3086
3093
|
* API version for the webhook payload format
|
|
3087
3094
|
*/
|
|
@@ -3095,7 +3102,7 @@ export interface ChatTypingIndicatorStartedV2025WebhookEvent {
|
|
|
3095
3102
|
/**
|
|
3096
3103
|
* Payload for chat.typing_indicator.started webhook events
|
|
3097
3104
|
*/
|
|
3098
|
-
data:
|
|
3105
|
+
data: ChatTypingIndicatorStartedV2025_01_01WebhookEvent.Data;
|
|
3099
3106
|
|
|
3100
3107
|
/**
|
|
3101
3108
|
* Unique identifier for this event (for deduplication)
|
|
@@ -3129,7 +3136,7 @@ export interface ChatTypingIndicatorStartedV2025WebhookEvent {
|
|
|
3129
3136
|
webhook_version: string;
|
|
3130
3137
|
}
|
|
3131
3138
|
|
|
3132
|
-
export namespace
|
|
3139
|
+
export namespace ChatTypingIndicatorStartedV2025_01_01WebhookEvent {
|
|
3133
3140
|
/**
|
|
3134
3141
|
* Payload for chat.typing_indicator.started webhook events
|
|
3135
3142
|
*/
|
|
@@ -3144,7 +3151,7 @@ export namespace ChatTypingIndicatorStartedV2025WebhookEvent {
|
|
|
3144
3151
|
/**
|
|
3145
3152
|
* Complete webhook payload for chat.typing_indicator.stopped events
|
|
3146
3153
|
*/
|
|
3147
|
-
export interface
|
|
3154
|
+
export interface ChatTypingIndicatorStoppedV2025_01_01WebhookEvent {
|
|
3148
3155
|
/**
|
|
3149
3156
|
* API version for the webhook payload format
|
|
3150
3157
|
*/
|
|
@@ -3158,7 +3165,7 @@ export interface ChatTypingIndicatorStoppedV2025WebhookEvent {
|
|
|
3158
3165
|
/**
|
|
3159
3166
|
* Payload for chat.typing_indicator.stopped webhook events
|
|
3160
3167
|
*/
|
|
3161
|
-
data:
|
|
3168
|
+
data: ChatTypingIndicatorStoppedV2025_01_01WebhookEvent.Data;
|
|
3162
3169
|
|
|
3163
3170
|
/**
|
|
3164
3171
|
* Unique identifier for this event (for deduplication)
|
|
@@ -3192,7 +3199,7 @@ export interface ChatTypingIndicatorStoppedV2025WebhookEvent {
|
|
|
3192
3199
|
webhook_version: string;
|
|
3193
3200
|
}
|
|
3194
3201
|
|
|
3195
|
-
export namespace
|
|
3202
|
+
export namespace ChatTypingIndicatorStoppedV2025_01_01WebhookEvent {
|
|
3196
3203
|
/**
|
|
3197
3204
|
* Payload for chat.typing_indicator.stopped webhook events
|
|
3198
3205
|
*/
|
|
@@ -3207,7 +3214,7 @@ export namespace ChatTypingIndicatorStoppedV2025WebhookEvent {
|
|
|
3207
3214
|
/**
|
|
3208
3215
|
* Complete webhook payload for phone_number.status_updated events
|
|
3209
3216
|
*/
|
|
3210
|
-
export interface
|
|
3217
|
+
export interface PhoneNumberStatusUpdatedV2025_01_01WebhookEvent {
|
|
3211
3218
|
/**
|
|
3212
3219
|
* API version for the webhook payload format
|
|
3213
3220
|
*/
|
|
@@ -3221,7 +3228,7 @@ export interface PhoneNumberStatusUpdatedV2025WebhookEvent {
|
|
|
3221
3228
|
/**
|
|
3222
3229
|
* Payload for phone_number.status_updated webhook events
|
|
3223
3230
|
*/
|
|
3224
|
-
data:
|
|
3231
|
+
data: PhoneNumberStatusUpdatedV2025_01_01WebhookEvent.Data;
|
|
3225
3232
|
|
|
3226
3233
|
/**
|
|
3227
3234
|
* Unique identifier for this event (for deduplication)
|
|
@@ -3249,7 +3256,14 @@ export interface PhoneNumberStatusUpdatedV2025WebhookEvent {
|
|
|
3249
3256
|
| 'chat.group_icon_update_failed'
|
|
3250
3257
|
| 'chat.typing_indicator.started'
|
|
3251
3258
|
| 'chat.typing_indicator.stopped'
|
|
3252
|
-
| 'phone_number.status_updated'
|
|
3259
|
+
| 'phone_number.status_updated'
|
|
3260
|
+
| 'call.initiated'
|
|
3261
|
+
| 'call.ringing'
|
|
3262
|
+
| 'call.answered'
|
|
3263
|
+
| 'call.ended'
|
|
3264
|
+
| 'call.failed'
|
|
3265
|
+
| 'call.declined'
|
|
3266
|
+
| 'call.no_answer';
|
|
3253
3267
|
|
|
3254
3268
|
/**
|
|
3255
3269
|
* Partner identifier. Present on all webhooks for cross-referencing.
|
|
@@ -3269,7 +3283,7 @@ export interface PhoneNumberStatusUpdatedV2025WebhookEvent {
|
|
|
3269
3283
|
webhook_version: string;
|
|
3270
3284
|
}
|
|
3271
3285
|
|
|
3272
|
-
export namespace
|
|
3286
|
+
export namespace PhoneNumberStatusUpdatedV2025_01_01WebhookEvent {
|
|
3273
3287
|
/**
|
|
3274
3288
|
* Payload for phone_number.status_updated webhook events
|
|
3275
3289
|
*/
|
|
@@ -3300,41 +3314,41 @@ export namespace PhoneNumberStatusUpdatedV2025WebhookEvent {
|
|
|
3300
3314
|
* Complete webhook payload for message.sent events (2026-02-03 format)
|
|
3301
3315
|
*/
|
|
3302
3316
|
export type EventsWebhookEvent =
|
|
3303
|
-
|
|
|
3304
|
-
|
|
|
3305
|
-
|
|
|
3306
|
-
|
|
|
3307
|
-
|
|
|
3308
|
-
|
|
|
3309
|
-
|
|
|
3310
|
-
|
|
|
3311
|
-
|
|
|
3312
|
-
|
|
|
3313
|
-
|
|
|
3314
|
-
|
|
|
3315
|
-
|
|
|
3316
|
-
|
|
|
3317
|
-
|
|
|
3318
|
-
|
|
|
3319
|
-
|
|
|
3320
|
-
|
|
|
3321
|
-
|
|
|
3322
|
-
|
|
|
3323
|
-
|
|
|
3324
|
-
|
|
|
3325
|
-
|
|
|
3326
|
-
|
|
|
3327
|
-
|
|
|
3328
|
-
|
|
|
3329
|
-
|
|
|
3330
|
-
|
|
|
3331
|
-
|
|
|
3332
|
-
|
|
|
3333
|
-
|
|
|
3334
|
-
|
|
|
3335
|
-
|
|
|
3336
|
-
|
|
|
3337
|
-
|
|
|
3317
|
+
| MessageSentV2026_02_03WebhookEvent
|
|
3318
|
+
| MessageReceivedV2026_02_03WebhookEvent
|
|
3319
|
+
| MessageReadV2026_02_03WebhookEvent
|
|
3320
|
+
| MessageDeliveredV2026_02_03WebhookEvent
|
|
3321
|
+
| MessageFailedV2026_02_03WebhookEvent
|
|
3322
|
+
| ReactionAddedV2026_02_03WebhookEvent
|
|
3323
|
+
| ReactionRemovedV2026_02_03WebhookEvent
|
|
3324
|
+
| ParticipantAddedV2026_02_03WebhookEvent
|
|
3325
|
+
| ParticipantRemovedV2026_02_03WebhookEvent
|
|
3326
|
+
| ChatGroupNameUpdatedV2026_02_03WebhookEvent
|
|
3327
|
+
| ChatGroupIconUpdatedV2026_02_03WebhookEvent
|
|
3328
|
+
| ChatGroupNameUpdateFailedV2026_02_03WebhookEvent
|
|
3329
|
+
| ChatGroupIconUpdateFailedV2026_02_03WebhookEvent
|
|
3330
|
+
| ChatCreatedV2026_02_03WebhookEvent
|
|
3331
|
+
| ChatTypingIndicatorStartedV2026_02_03WebhookEvent
|
|
3332
|
+
| ChatTypingIndicatorStoppedV2026_02_03WebhookEvent
|
|
3333
|
+
| MessageEditedV2026_02_03WebhookEvent
|
|
3334
|
+
| PhoneNumberStatusUpdatedV2026_02_03WebhookEvent
|
|
3335
|
+
| MessageSentV2025_01_01WebhookEvent
|
|
3336
|
+
| MessageReceivedV2025_01_01WebhookEvent
|
|
3337
|
+
| MessageReadV2025_01_01WebhookEvent
|
|
3338
|
+
| MessageDeliveredV2025_01_01WebhookEvent
|
|
3339
|
+
| MessageFailedV2025_01_01WebhookEvent
|
|
3340
|
+
| ReactionAddedV2025_01_01WebhookEvent
|
|
3341
|
+
| ReactionRemovedV2025_01_01WebhookEvent
|
|
3342
|
+
| ParticipantAddedV2025_01_01WebhookEvent
|
|
3343
|
+
| ParticipantRemovedV2025_01_01WebhookEvent
|
|
3344
|
+
| ChatGroupNameUpdatedV2025_01_01WebhookEvent
|
|
3345
|
+
| ChatGroupIconUpdatedV2025_01_01WebhookEvent
|
|
3346
|
+
| ChatGroupNameUpdateFailedV2025_01_01WebhookEvent
|
|
3347
|
+
| ChatGroupIconUpdateFailedV2025_01_01WebhookEvent
|
|
3348
|
+
| ChatCreatedV2025_01_01WebhookEvent
|
|
3349
|
+
| ChatTypingIndicatorStartedV2025_01_01WebhookEvent
|
|
3350
|
+
| ChatTypingIndicatorStoppedV2025_01_01WebhookEvent
|
|
3351
|
+
| PhoneNumberStatusUpdatedV2025_01_01WebhookEvent;
|
|
3338
3352
|
|
|
3339
3353
|
export declare namespace Webhooks {
|
|
3340
3354
|
export {
|
|
@@ -3344,41 +3358,41 @@ export declare namespace Webhooks {
|
|
|
3344
3358
|
type SchemasMediaPartResponse as SchemasMediaPartResponse,
|
|
3345
3359
|
type SchemasMessageEffect as SchemasMessageEffect,
|
|
3346
3360
|
type SchemasTextPartResponse as SchemasTextPartResponse,
|
|
3347
|
-
type
|
|
3348
|
-
type
|
|
3349
|
-
type
|
|
3350
|
-
type
|
|
3351
|
-
type
|
|
3352
|
-
type
|
|
3353
|
-
type
|
|
3354
|
-
type
|
|
3355
|
-
type
|
|
3356
|
-
type
|
|
3357
|
-
type
|
|
3358
|
-
type
|
|
3359
|
-
type
|
|
3360
|
-
type
|
|
3361
|
-
type
|
|
3362
|
-
type
|
|
3363
|
-
type
|
|
3364
|
-
type
|
|
3365
|
-
type
|
|
3366
|
-
type
|
|
3367
|
-
type
|
|
3368
|
-
type
|
|
3369
|
-
type
|
|
3370
|
-
type
|
|
3371
|
-
type
|
|
3372
|
-
type
|
|
3373
|
-
type
|
|
3374
|
-
type
|
|
3375
|
-
type
|
|
3376
|
-
type
|
|
3377
|
-
type
|
|
3378
|
-
type
|
|
3379
|
-
type
|
|
3380
|
-
type
|
|
3381
|
-
type
|
|
3361
|
+
type MessageSentV2026_02_03WebhookEvent as MessageSentV2026_02_03WebhookEvent,
|
|
3362
|
+
type MessageReceivedV2026_02_03WebhookEvent as MessageReceivedV2026_02_03WebhookEvent,
|
|
3363
|
+
type MessageReadV2026_02_03WebhookEvent as MessageReadV2026_02_03WebhookEvent,
|
|
3364
|
+
type MessageDeliveredV2026_02_03WebhookEvent as MessageDeliveredV2026_02_03WebhookEvent,
|
|
3365
|
+
type MessageFailedV2026_02_03WebhookEvent as MessageFailedV2026_02_03WebhookEvent,
|
|
3366
|
+
type ReactionAddedV2026_02_03WebhookEvent as ReactionAddedV2026_02_03WebhookEvent,
|
|
3367
|
+
type ReactionRemovedV2026_02_03WebhookEvent as ReactionRemovedV2026_02_03WebhookEvent,
|
|
3368
|
+
type ParticipantAddedV2026_02_03WebhookEvent as ParticipantAddedV2026_02_03WebhookEvent,
|
|
3369
|
+
type ParticipantRemovedV2026_02_03WebhookEvent as ParticipantRemovedV2026_02_03WebhookEvent,
|
|
3370
|
+
type ChatGroupNameUpdatedV2026_02_03WebhookEvent as ChatGroupNameUpdatedV2026_02_03WebhookEvent,
|
|
3371
|
+
type ChatGroupIconUpdatedV2026_02_03WebhookEvent as ChatGroupIconUpdatedV2026_02_03WebhookEvent,
|
|
3372
|
+
type ChatGroupNameUpdateFailedV2026_02_03WebhookEvent as ChatGroupNameUpdateFailedV2026_02_03WebhookEvent,
|
|
3373
|
+
type ChatGroupIconUpdateFailedV2026_02_03WebhookEvent as ChatGroupIconUpdateFailedV2026_02_03WebhookEvent,
|
|
3374
|
+
type ChatCreatedV2026_02_03WebhookEvent as ChatCreatedV2026_02_03WebhookEvent,
|
|
3375
|
+
type ChatTypingIndicatorStartedV2026_02_03WebhookEvent as ChatTypingIndicatorStartedV2026_02_03WebhookEvent,
|
|
3376
|
+
type ChatTypingIndicatorStoppedV2026_02_03WebhookEvent as ChatTypingIndicatorStoppedV2026_02_03WebhookEvent,
|
|
3377
|
+
type MessageEditedV2026_02_03WebhookEvent as MessageEditedV2026_02_03WebhookEvent,
|
|
3378
|
+
type PhoneNumberStatusUpdatedV2026_02_03WebhookEvent as PhoneNumberStatusUpdatedV2026_02_03WebhookEvent,
|
|
3379
|
+
type MessageSentV2025_01_01WebhookEvent as MessageSentV2025_01_01WebhookEvent,
|
|
3380
|
+
type MessageReceivedV2025_01_01WebhookEvent as MessageReceivedV2025_01_01WebhookEvent,
|
|
3381
|
+
type MessageReadV2025_01_01WebhookEvent as MessageReadV2025_01_01WebhookEvent,
|
|
3382
|
+
type MessageDeliveredV2025_01_01WebhookEvent as MessageDeliveredV2025_01_01WebhookEvent,
|
|
3383
|
+
type MessageFailedV2025_01_01WebhookEvent as MessageFailedV2025_01_01WebhookEvent,
|
|
3384
|
+
type ReactionAddedV2025_01_01WebhookEvent as ReactionAddedV2025_01_01WebhookEvent,
|
|
3385
|
+
type ReactionRemovedV2025_01_01WebhookEvent as ReactionRemovedV2025_01_01WebhookEvent,
|
|
3386
|
+
type ParticipantAddedV2025_01_01WebhookEvent as ParticipantAddedV2025_01_01WebhookEvent,
|
|
3387
|
+
type ParticipantRemovedV2025_01_01WebhookEvent as ParticipantRemovedV2025_01_01WebhookEvent,
|
|
3388
|
+
type ChatGroupNameUpdatedV2025_01_01WebhookEvent as ChatGroupNameUpdatedV2025_01_01WebhookEvent,
|
|
3389
|
+
type ChatGroupIconUpdatedV2025_01_01WebhookEvent as ChatGroupIconUpdatedV2025_01_01WebhookEvent,
|
|
3390
|
+
type ChatGroupNameUpdateFailedV2025_01_01WebhookEvent as ChatGroupNameUpdateFailedV2025_01_01WebhookEvent,
|
|
3391
|
+
type ChatGroupIconUpdateFailedV2025_01_01WebhookEvent as ChatGroupIconUpdateFailedV2025_01_01WebhookEvent,
|
|
3392
|
+
type ChatCreatedV2025_01_01WebhookEvent as ChatCreatedV2025_01_01WebhookEvent,
|
|
3393
|
+
type ChatTypingIndicatorStartedV2025_01_01WebhookEvent as ChatTypingIndicatorStartedV2025_01_01WebhookEvent,
|
|
3394
|
+
type ChatTypingIndicatorStoppedV2025_01_01WebhookEvent as ChatTypingIndicatorStoppedV2025_01_01WebhookEvent,
|
|
3395
|
+
type PhoneNumberStatusUpdatedV2025_01_01WebhookEvent as PhoneNumberStatusUpdatedV2025_01_01WebhookEvent,
|
|
3382
3396
|
type EventsWebhookEvent as EventsWebhookEvent,
|
|
3383
3397
|
};
|
|
3384
3398
|
}
|