@wildix/xbees-conversations-client 4.0.3 → 4.1.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.
Files changed (45) hide show
  1. package/dist-cjs/Conversations.js +4 -0
  2. package/dist-cjs/commands/GetMessengerChannelIdCommand.js +20 -0
  3. package/dist-cjs/commands/GetOrCreateMessengerChannelCommand.js +20 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/models/enums.js +11 -1
  6. package/dist-cjs/runtimeConfig.native.js +3 -0
  7. package/dist-cjs/schemas/schemas_0.js +64 -28
  8. package/dist-es/Conversations.js +4 -0
  9. package/dist-es/commands/GetMessengerChannelIdCommand.js +16 -0
  10. package/dist-es/commands/GetOrCreateMessengerChannelCommand.js +16 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/enums.js +10 -0
  13. package/dist-es/runtimeConfig.native.js +3 -0
  14. package/dist-es/schemas/schemas_0.js +59 -23
  15. package/dist-types/Conversations.d.ts +14 -0
  16. package/dist-types/ConversationsClient.d.ts +4 -2
  17. package/dist-types/commands/CreateGroupChannelCommand.d.ts +8 -0
  18. package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -0
  19. package/dist-types/commands/DescribeEventCommand.d.ts +30 -0
  20. package/dist-types/commands/GetChannelCommand.d.ts +4 -0
  21. package/dist-types/commands/GetMessageCommand.d.ts +2 -0
  22. package/dist-types/commands/GetMessengerChannelIdCommand.d.ts +83 -0
  23. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -0
  24. package/dist-types/commands/GetOrCreateMessengerChannelCommand.d.ts +162 -0
  25. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -0
  26. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -0
  27. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -0
  28. package/dist-types/commands/JoinChannelCommand.d.ts +4 -0
  29. package/dist-types/commands/ListChannelsCommand.d.ts +4 -0
  30. package/dist-types/commands/ListMessagesCommand.d.ts +2 -0
  31. package/dist-types/commands/ListPinnedMessagesCommand.d.ts +2 -0
  32. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +9 -1
  33. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -0
  34. package/dist-types/commands/QueryChannelsCommand.d.ts +4 -0
  35. package/dist-types/commands/SendGiphyCommand.d.ts +2 -0
  36. package/dist-types/commands/SendMessageCommand.d.ts +4 -0
  37. package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -0
  38. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -0
  39. package/dist-types/commands/UpdateMessageCommand.d.ts +4 -0
  40. package/dist-types/commands/index.d.ts +2 -0
  41. package/dist-types/models/enums.d.ts +26 -0
  42. package/dist-types/models/models_0.d.ts +173 -2
  43. package/dist-types/runtimeConfig.native.d.ts +2 -1
  44. package/dist-types/schemas/schemas_0.d.ts +6 -0
  45. package/package.json +7 -5
@@ -83,11 +83,17 @@ const _GIS = "GetInboxState";
83
83
  const _GISI = "GetInboxStateInput";
84
84
  const _GISO = "GetInboxStateOutput";
85
85
  const _GM = "GetMessage";
86
+ const _GMCI = "GetMessengerChannelId";
87
+ const _GMCII = "GetMessengerChannelIdInput";
88
+ const _GMCIO = "GetMessengerChannelIdOutput";
86
89
  const _GMI = "GetMessageInput";
87
90
  const _GMO = "GetMessageOutput";
88
91
  const _GOCDC = "GetOrCreateDirectChannel";
89
92
  const _GOCDCI = "GetOrCreateDirectChannelInput";
90
93
  const _GOCDCO = "GetOrCreateDirectChannelOutput";
94
+ const _GOCMC = "GetOrCreateMessengerChannel";
95
+ const _GOCMCI = "GetOrCreateMessengerChannelInput";
96
+ const _GOCMCO = "GetOrCreateMessengerChannelOutput";
91
97
  const _GOCSC = "GetOrCreateSmsChannel";
92
98
  const _GOCSCI = "GetOrCreateSmsChannelInput";
93
99
  const _GOCSCO = "GetOrCreateSmsChannelOutput";
@@ -382,13 +388,17 @@ const _mI = "memberId";
382
388
  const _mIe = "messageId";
383
389
  const _mMJ = "multipleMembersJoined";
384
390
  const _mN = "messagingNumber";
391
+ const _mPI = "messengerPageId";
392
+ const _mRU = "messengerReplyUntil";
393
+ const _mS = "messengerStatus";
385
394
  const _mTI = "memberToInvite";
386
395
  const _mTIe = "membersToInvite";
387
396
  const _ma = "markdown";
388
397
  const _me = "member";
389
398
  const _mem = "members";
390
399
  const _men = "mentions";
391
- const _mes = "messages";
400
+ const _mes = "messenger";
401
+ const _mess = "messages";
392
402
  const _mi = "mime";
393
403
  const _mm = "mms";
394
404
  const _n = "name";
@@ -693,8 +703,8 @@ export var ButtonReplyHandler$ = [3, n1, _BRH,
693
703
  ];
694
704
  export var Channel$ = [3, n1, _C,
695
705
  0,
696
- [_cI, _cT, _mC, _cA, _cB, _su, _de, _pi, _pC, _ac, _co, _con, _k, _kT, _kV, _kA, _kSN, _kDS, _ser, _sT, _sR, _a, _te, _sm, _mm, _w, _wS, _b, _ex, _aR, _tL, _wGVO, _uA],
697
- [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, () => ChannelContext$, 2, 0, 0, 0, 0, 0, 0, 0, 0, () => User$, 2, 2, 2, 2, 0, 2, 2, 2, 0, 2, 0], 5
706
+ [_cI, _cT, _mC, _cA, _cB, _su, _de, _pi, _pC, _ac, _co, _con, _k, _kT, _kV, _kA, _kSN, _kDS, _ser, _sT, _sR, _a, _te, _sm, _mm, _w, _wS, _mes, _mS, _mPI, _mRU, _b, _ex, _aR, _tL, _wGVO, _uA],
707
+ [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, () => ChannelContext$, 2, 0, 0, 0, 0, 0, 0, 0, 0, () => User$, 2, 2, 2, 2, 0, 2, 0, 0, 1, 2, 2, 2, 0, 2, 0], 5
698
708
  ];
699
709
  export var ChannelContext$ = [3, n1, _CC,
700
710
  0,
@@ -733,8 +743,8 @@ export var ChannelsQuery$ = [3, n1, _CQ,
733
743
  ];
734
744
  export var CreateGroupChannelInput$ = [3, n1, _CGCI,
735
745
  0,
736
- [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _cI, _mem, _mTIe, _cET],
737
- [0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, () => User$, 2, 0, 2, [0, { [_hQ]: _us }], 0, 64 | 0, () => UsersToInviteList, 0]
746
+ [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mes, _mS, _mPI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _cI, _mem, _mTIe, _cET],
747
+ [0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 2, 0, 0, 1, 0, 0, () => User$, 2, 0, 2, [0, { [_hQ]: _us }], 0, 64 | 0, () => UsersToInviteList, 0]
738
748
  ];
739
749
  export var CreateGroupChannelOutput$ = [3, n1, _CGCO,
740
750
  0,
@@ -891,6 +901,16 @@ export var GetMessageOutput$ = [3, n1, _GMO,
891
901
  [_m],
892
902
  [() => Message$], 1
893
903
  ];
904
+ export var GetMessengerChannelIdInput$ = [3, n1, _GMCII,
905
+ 0,
906
+ [_sU, _uI, _rI, _rN],
907
+ [0, [0, { [_hQ]: _us }], 0, 0], 1
908
+ ];
909
+ export var GetMessengerChannelIdOutput$ = [3, n1, _GMCIO,
910
+ 0,
911
+ [_cI],
912
+ [0], 1
913
+ ];
894
914
  export var GetOrCreateDirectChannelInput$ = [3, n1, _GOCDCI,
895
915
  0,
896
916
  [_uI, _mI, _mTI],
@@ -901,6 +921,16 @@ export var GetOrCreateDirectChannelOutput$ = [3, n1, _GOCDCO,
901
921
  [_ch],
902
922
  [() => Channel$], 1
903
923
  ];
924
+ export var GetOrCreateMessengerChannelInput$ = [3, n1, _GOCMCI,
925
+ 0,
926
+ [_sU, _uI, _rI, _rN, _ou],
927
+ [0, [0, { [_hQ]: _us }], 0, 0, 2], 1
928
+ ];
929
+ export var GetOrCreateMessengerChannelOutput$ = [3, n1, _GOCMCO,
930
+ 0,
931
+ [_ch],
932
+ [() => Channel$], 1
933
+ ];
904
934
  export var GetOrCreateSmsChannelInput$ = [3, n1, _GOCSCI,
905
935
  0,
906
936
  [_sU, _uI, _rI, _rN, _ou],
@@ -1018,8 +1048,8 @@ export var InboxUnreadChannel$ = [3, n1, _IUC,
1018
1048
  ];
1019
1049
  export var InitialMessage$ = [3, n1, _IM,
1020
1050
  0,
1021
- [_mIe, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _men],
1022
- [0, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 64 | 0], 1
1051
+ [_mIe, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _men],
1052
+ [0, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 0, 2, 64 | 0], 1
1023
1053
  ];
1024
1054
  export var InviteInput$ = [3, n1, _II,
1025
1055
  0,
@@ -1118,7 +1148,7 @@ export var ListMessagesInput$ = [3, n1, _LMI,
1118
1148
  ];
1119
1149
  export var ListMessagesOutput$ = [3, n1, _LMO,
1120
1150
  0,
1121
- [_mes],
1151
+ [_mess],
1122
1152
  [() => MessagesList], 1
1123
1153
  ];
1124
1154
  export var ListPinnedMessagesInput$ = [3, n1, _LPMI,
@@ -1128,7 +1158,7 @@ export var ListPinnedMessagesInput$ = [3, n1, _LPMI,
1128
1158
  ];
1129
1159
  export var ListPinnedMessagesOutput$ = [3, n1, _LPMO,
1130
1160
  0,
1131
- [_mes],
1161
+ [_mess],
1132
1162
  [() => MessagesList], 1
1133
1163
  ];
1134
1164
  export var MarkReadInput$ = [3, n1, _MRI,
@@ -1153,8 +1183,8 @@ export var MarkUnreadOutput$ = [3, n1, _MUO,
1153
1183
  ];
1154
1184
  export var Message$ = [3, n1, _M,
1155
1185
  0,
1156
- [_ty, _mIe, _cI, _us, _cA, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _g, _si, _eve, _ed, _men, _lRa, _rC, _uA],
1157
- [0, 0, 0, () => User$, 0, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, () => MessageGiphy$, 2, 0, 2, () => UsersList, () => ReactionList, 128 | 1, 0], 5
1186
+ [_ty, _mIe, _cI, _us, _cA, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _g, _si, _eve, _ed, _men, _lRa, _rC, _uA],
1187
+ [0, 0, 0, () => User$, 0, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 0, 2, () => MessageGiphy$, 2, 0, 2, () => UsersList, () => ReactionList, 128 | 1, 0], 5
1158
1188
  ];
1159
1189
  export var MessageAttachment$ = [3, n1, _MA,
1160
1190
  0,
@@ -1198,8 +1228,8 @@ export var PartialUpdateChannelOutput$ = [3, n1, _PUCO,
1198
1228
  ];
1199
1229
  export var PartialUpdateChannelSetOptions$ = [3, n1, _PUCSO,
1200
1230
  0,
1201
- [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _a, _aR, _tL, _wGVO],
1202
- [0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, () => User$, 2, 0, 2]
1231
+ [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mes, _mS, _mPI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO],
1232
+ [0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 2, 0, 0, 1, 0, 0, () => User$, 2, 0, 2]
1203
1233
  ];
1204
1234
  export var PartialUpdateMessageInput$ = [3, n1, _PUMI,
1205
1235
  0,
@@ -1213,8 +1243,8 @@ export var PartialUpdateMessageOutput$ = [3, n1, _PUMO,
1213
1243
  ];
1214
1244
  export var PartialUpdateMessageSetInput$ = [3, n1, _PUMSI,
1215
1245
  0,
1216
- [_t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _men],
1217
- [0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 64 | 0]
1246
+ [_t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _men],
1247
+ [0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 0, 2, 64 | 0]
1218
1248
  ];
1219
1249
  export var PinChannelInput$ = [3, n1, _PCI,
1220
1250
  0,
@@ -1283,8 +1313,8 @@ export var SendGiphyOutput$ = [3, n1, _SGO,
1283
1313
  ];
1284
1314
  export var SendMessageInput$ = [3, n1, _SMI,
1285
1315
  0,
1286
- [_cI, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _mIe, _men, _uI],
1287
- [[0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 0, 64 | 0, [0, { [_hQ]: _us }]], 1
1316
+ [_cI, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _mIe, _men, _uI],
1317
+ [[0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 0, 2, 0, 64 | 0, [0, { [_hQ]: _us }]], 1
1288
1318
  ];
1289
1319
  export var SendMessageOutput$ = [3, n1, _SMO,
1290
1320
  0,
@@ -1398,8 +1428,8 @@ export var UntagChannelOutput$ = [3, n1, _UCOn,
1398
1428
  ];
1399
1429
  export var UpdateChannelInput$ = [3, n1, _UCIp,
1400
1430
  0,
1401
- [_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _si],
1402
- [[0, 1], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, () => User$, 2, 0, 2, [0, { [_hQ]: _us }], 2], 1
1431
+ [_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mes, _mS, _mPI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _si],
1432
+ [[0, 1], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 2, 0, 0, 1, 0, 0, () => User$, 2, 0, 2, [0, { [_hQ]: _us }], 2], 1
1403
1433
  ];
1404
1434
  export var UpdateChannelOutput$ = [3, n1, _UCOp,
1405
1435
  0,
@@ -1418,8 +1448,8 @@ export var UpdateInboxTagOutput$ = [3, n1, _UITO,
1418
1448
  ];
1419
1449
  export var UpdateMessageInput$ = [3, n1, _UMIp,
1420
1450
  0,
1421
- [_mIe, _cI, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _men, _uI, _si],
1422
- [[0, 1], [0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 64 | 0, [0, { [_hQ]: _us }], 2], 2
1451
+ [_mIe, _cI, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _men, _uI, _si],
1452
+ [[0, 1], [0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 0, 2, 64 | 0, [0, { [_hQ]: _us }], 2], 2
1423
1453
  ];
1424
1454
  export var UpdateMessageOutput$ = [3, n1, _UMOp,
1425
1455
  0,
@@ -1533,8 +1563,8 @@ export var WebhookChatReactionNewOrDeletedEventData$ = [3, n1, _WCRNODED,
1533
1563
  ];
1534
1564
  export var WelcomeMessage$ = [3, n1, _WM,
1535
1565
  0,
1536
- [_mIe, _us, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _men],
1537
- [0, () => User$, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 64 | 0], 2
1566
+ [_mIe, _us, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _men],
1567
+ [0, () => User$, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 2, 0, 2, 0, 2, 64 | 0], 2
1538
1568
  ];
1539
1569
  export var WhatsAppClosedSystemMessage$ = [3, n1, _WACSM,
1540
1570
  0,
@@ -1706,9 +1736,15 @@ export var GetInboxState$ = [9, n1, _GIS,
1706
1736
  export var GetMessage$ = [9, n1, _GM,
1707
1737
  { [_ht]: ["GET", "/v2/conversations/channels/{channelId}/messages/{messageId}", 200] }, () => GetMessageInput$, () => GetMessageOutput$
1708
1738
  ];
1739
+ export var GetMessengerChannelId$ = [9, n1, _GMCI,
1740
+ { [_ht]: ["POST", "/v2/conversations/messenger/get_channel_id", 200] }, () => GetMessengerChannelIdInput$, () => GetMessengerChannelIdOutput$
1741
+ ];
1709
1742
  export var GetOrCreateDirectChannel$ = [9, n1, _GOCDC,
1710
1743
  { [_ht]: ["POST", "/v2/conversations/direct/get_or_create_channel", 200] }, () => GetOrCreateDirectChannelInput$, () => GetOrCreateDirectChannelOutput$
1711
1744
  ];
1745
+ export var GetOrCreateMessengerChannel$ = [9, n1, _GOCMC,
1746
+ { [_ht]: ["POST", "/v2/conversations/messenger/get_or_create_channel", 200] }, () => GetOrCreateMessengerChannelInput$, () => GetOrCreateMessengerChannelOutput$
1747
+ ];
1712
1748
  export var GetOrCreateSmsChannel$ = [9, n1, _GOCSC,
1713
1749
  { [_ht]: ["POST", "/v2/conversations/sms/get_or_create_channel", 200] }, () => GetOrCreateSmsChannelInput$, () => GetOrCreateSmsChannelOutput$
1714
1750
  ];
@@ -18,7 +18,9 @@ import { type GetDirectChannelIdCommandInput, type GetDirectChannelIdCommandOutp
18
18
  import { type GetFilePresignedDownloadUrlCommandInput, type GetFilePresignedDownloadUrlCommandOutput } from "./commands/GetFilePresignedDownloadUrlCommand";
19
19
  import { type GetInboxStateCommandInput, type GetInboxStateCommandOutput } from "./commands/GetInboxStateCommand";
20
20
  import { type GetMessageCommandInput, type GetMessageCommandOutput } from "./commands/GetMessageCommand";
21
+ import { type GetMessengerChannelIdCommandInput, type GetMessengerChannelIdCommandOutput } from "./commands/GetMessengerChannelIdCommand";
21
22
  import { type GetOrCreateDirectChannelCommandInput, type GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
23
+ import { type GetOrCreateMessengerChannelCommandInput, type GetOrCreateMessengerChannelCommandOutput } from "./commands/GetOrCreateMessengerChannelCommand";
22
24
  import { type GetOrCreateSmsChannelCommandInput, type GetOrCreateSmsChannelCommandOutput } from "./commands/GetOrCreateSmsChannelCommand";
23
25
  import { type GetOrCreateTelephonyChannelCommandInput, type GetOrCreateTelephonyChannelCommandOutput } from "./commands/GetOrCreateTelephonyChannelCommand";
24
26
  import { type GetOrCreateWhatsAppChannelCommandInput, type GetOrCreateWhatsAppChannelCommandOutput } from "./commands/GetOrCreateWhatsAppChannelCommand";
@@ -184,6 +186,12 @@ export interface Conversations {
184
186
  getMessage(args: GetMessageCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageCommandOutput>;
185
187
  getMessage(args: GetMessageCommandInput, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
186
188
  getMessage(args: GetMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
189
+ /**
190
+ * @see {@link GetMessengerChannelIdCommand}
191
+ */
192
+ getMessengerChannelId(args: GetMessengerChannelIdCommandInput, options?: __HttpHandlerOptions): Promise<GetMessengerChannelIdCommandOutput>;
193
+ getMessengerChannelId(args: GetMessengerChannelIdCommandInput, cb: (err: any, data?: GetMessengerChannelIdCommandOutput) => void): void;
194
+ getMessengerChannelId(args: GetMessengerChannelIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessengerChannelIdCommandOutput) => void): void;
187
195
  /**
188
196
  * @see {@link GetOrCreateDirectChannelCommand}
189
197
  */
@@ -191,6 +199,12 @@ export interface Conversations {
191
199
  getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetOrCreateDirectChannelCommandOutput>;
192
200
  getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
193
201
  getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
202
+ /**
203
+ * @see {@link GetOrCreateMessengerChannelCommand}
204
+ */
205
+ getOrCreateMessengerChannel(args: GetOrCreateMessengerChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetOrCreateMessengerChannelCommandOutput>;
206
+ getOrCreateMessengerChannel(args: GetOrCreateMessengerChannelCommandInput, cb: (err: any, data?: GetOrCreateMessengerChannelCommandOutput) => void): void;
207
+ getOrCreateMessengerChannel(args: GetOrCreateMessengerChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrCreateMessengerChannelCommandOutput) => void): void;
194
208
  /**
195
209
  * @see {@link GetOrCreateSmsChannelCommand}
196
210
  */
@@ -24,7 +24,9 @@ import type { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput }
24
24
  import type { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCommandOutput } from "./commands/GetFilePresignedDownloadUrlCommand";
25
25
  import type { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "./commands/GetInboxStateCommand";
26
26
  import type { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
27
+ import type { GetMessengerChannelIdCommandInput, GetMessengerChannelIdCommandOutput } from "./commands/GetMessengerChannelIdCommand";
27
28
  import type { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
29
+ import type { GetOrCreateMessengerChannelCommandInput, GetOrCreateMessengerChannelCommandOutput } from "./commands/GetOrCreateMessengerChannelCommand";
28
30
  import type { GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput } from "./commands/GetOrCreateSmsChannelCommand";
29
31
  import type { GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput } from "./commands/GetOrCreateTelephonyChannelCommand";
30
32
  import type { GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput } from "./commands/GetOrCreateWhatsAppChannelCommand";
@@ -76,11 +78,11 @@ export { __Client };
76
78
  /**
77
79
  * @public
78
80
  */
79
- export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateSmsChannelCommandInput | GetOrCreateTelephonyChannelCommandInput | GetOrCreateWhatsAppChannelCommandInput | GetSmsChannelIdCommandInput | GetTelephonyChannelIdCommandInput | GetTokenCommandInput | GetUploadedFileInfoCommandInput | GetWhatsAppChannelIdCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelMembersReadStatusCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | ListPinnedMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendSystemMessageCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | TriggerMessageActionCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
81
+ export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetMessengerChannelIdCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateMessengerChannelCommandInput | GetOrCreateSmsChannelCommandInput | GetOrCreateTelephonyChannelCommandInput | GetOrCreateWhatsAppChannelCommandInput | GetSmsChannelIdCommandInput | GetTelephonyChannelIdCommandInput | GetTokenCommandInput | GetUploadedFileInfoCommandInput | GetWhatsAppChannelIdCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelMembersReadStatusCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | ListPinnedMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | QueryChannelsCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendSystemMessageCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | TriggerMessageActionCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
80
82
  /**
81
83
  * @public
82
84
  */
83
- export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateSmsChannelCommandOutput | GetOrCreateTelephonyChannelCommandOutput | GetOrCreateWhatsAppChannelCommandOutput | GetSmsChannelIdCommandOutput | GetTelephonyChannelIdCommandOutput | GetTokenCommandOutput | GetUploadedFileInfoCommandOutput | GetWhatsAppChannelIdCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelMembersReadStatusCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | ListPinnedMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendSystemMessageCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | TriggerMessageActionCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
85
+ export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetMessengerChannelIdCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateMessengerChannelCommandOutput | GetOrCreateSmsChannelCommandOutput | GetOrCreateTelephonyChannelCommandOutput | GetOrCreateWhatsAppChannelCommandOutput | GetSmsChannelIdCommandOutput | GetTelephonyChannelIdCommandOutput | GetTokenCommandOutput | GetUploadedFileInfoCommandOutput | GetWhatsAppChannelIdCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelMembersReadStatusCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | ListPinnedMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | QueryChannelsCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendSystemMessageCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | TriggerMessageActionCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
84
86
  /**
85
87
  * @public
86
88
  */
@@ -70,6 +70,10 @@ declare const CreateGroupChannelCommand_base: {
70
70
  * sms: true || false,
71
71
  * mms: true || false,
72
72
  * whatsapp: true || false,
73
+ * messenger: true || false,
74
+ * messengerStatus: "window_closed",
75
+ * messengerPageId: "STRING_VALUE",
76
+ * messengerReplyUntil: Number("long"),
73
77
  * kiteAssign: "STRING_VALUE",
74
78
  * serviceTitle: "STRING_VALUE",
75
79
  * assignee: { // User
@@ -175,6 +179,10 @@ declare const CreateGroupChannelCommand_base: {
175
179
  * // mms: true || false,
176
180
  * // whatsapp: true || false,
177
181
  * // whatsappStatus: "24h_channel_closed",
182
+ * // messenger: true || false,
183
+ * // messengerStatus: "window_closed",
184
+ * // messengerPageId: "STRING_VALUE",
185
+ * // messengerReplyUntil: Number("long"),
178
186
  * // broadcast: true || false,
179
187
  * // external: true || false,
180
188
  * // autoRecord: true || false,
@@ -175,6 +175,8 @@ declare const CreateKiteChannelCommand_base: {
175
175
  * },
176
176
  * whatsapp: true || false,
177
177
  * whatsappStatus: "trying" || "sent" || "delivered" || "error",
178
+ * messenger: true || false,
179
+ * messengerStatus: "trying" || "sent" || "error" || "delivered",
178
180
  * sms: true || false,
179
181
  * smsStatus: "sent" || "delivered" || "trying" || "error",
180
182
  * markdown: true || false,
@@ -253,6 +255,8 @@ declare const CreateKiteChannelCommand_base: {
253
255
  * forward: "<MessageForward>",
254
256
  * whatsapp: true || false,
255
257
  * whatsappStatus: "trying" || "sent" || "delivered" || "error",
258
+ * messenger: true || false,
259
+ * messengerStatus: "trying" || "sent" || "error" || "delivered",
256
260
  * sms: true || false,
257
261
  * smsStatus: "sent" || "delivered" || "trying" || "error",
258
262
  * markdown: true || false,
@@ -328,6 +332,10 @@ declare const CreateKiteChannelCommand_base: {
328
332
  * // mms: true || false,
329
333
  * // whatsapp: true || false,
330
334
  * // whatsappStatus: "24h_channel_closed",
335
+ * // messenger: true || false,
336
+ * // messengerStatus: "window_closed",
337
+ * // messengerPageId: "STRING_VALUE",
338
+ * // messengerReplyUntil: Number("long"),
331
339
  * // broadcast: true || false,
332
340
  * // external: true || false,
333
341
  * // autoRecord: true || false,
@@ -112,6 +112,10 @@ declare const DescribeEventCommand_base: {
112
112
  * // mms: true || false,
113
113
  * // whatsapp: true || false,
114
114
  * // whatsappStatus: "24h_channel_closed",
115
+ * // messenger: true || false,
116
+ * // messengerStatus: "window_closed",
117
+ * // messengerPageId: "STRING_VALUE",
118
+ * // messengerReplyUntil: Number("long"),
115
119
  * // broadcast: true || false,
116
120
  * // external: true || false,
117
121
  * // autoRecord: true || false,
@@ -225,6 +229,10 @@ declare const DescribeEventCommand_base: {
225
229
  * // mms: true || false,
226
230
  * // whatsapp: true || false,
227
231
  * // whatsappStatus: "24h_channel_closed",
232
+ * // messenger: true || false,
233
+ * // messengerStatus: "window_closed",
234
+ * // messengerPageId: "STRING_VALUE",
235
+ * // messengerReplyUntil: Number("long"),
228
236
  * // broadcast: true || false,
229
237
  * // external: true || false,
230
238
  * // autoRecord: true || false,
@@ -338,6 +346,10 @@ declare const DescribeEventCommand_base: {
338
346
  * // mms: true || false,
339
347
  * // whatsapp: true || false,
340
348
  * // whatsappStatus: "24h_channel_closed",
349
+ * // messenger: true || false,
350
+ * // messengerStatus: "window_closed",
351
+ * // messengerPageId: "STRING_VALUE",
352
+ * // messengerReplyUntil: Number("long"),
341
353
  * // broadcast: true || false,
342
354
  * // external: true || false,
343
355
  * // autoRecord: true || false,
@@ -411,6 +423,10 @@ declare const DescribeEventCommand_base: {
411
423
  * // mms: true || false,
412
424
  * // whatsapp: true || false,
413
425
  * // whatsappStatus: "24h_channel_closed",
426
+ * // messenger: true || false,
427
+ * // messengerStatus: "window_closed",
428
+ * // messengerPageId: "STRING_VALUE",
429
+ * // messengerReplyUntil: Number("long"),
414
430
  * // broadcast: true || false,
415
431
  * // external: true || false,
416
432
  * // autoRecord: true || false,
@@ -484,6 +500,10 @@ declare const DescribeEventCommand_base: {
484
500
  * // mms: true || false,
485
501
  * // whatsapp: true || false,
486
502
  * // whatsappStatus: "24h_channel_closed",
503
+ * // messenger: true || false,
504
+ * // messengerStatus: "window_closed",
505
+ * // messengerPageId: "STRING_VALUE",
506
+ * // messengerReplyUntil: Number("long"),
487
507
  * // broadcast: true || false,
488
508
  * // external: true || false,
489
509
  * // autoRecord: true || false,
@@ -603,6 +623,8 @@ declare const DescribeEventCommand_base: {
603
623
  * // },
604
624
  * // whatsapp: true || false,
605
625
  * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
626
+ * // messenger: true || false,
627
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
606
628
  * // sms: true || false,
607
629
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
608
630
  * // markdown: true || false,
@@ -741,6 +763,8 @@ declare const DescribeEventCommand_base: {
741
763
  * // },
742
764
  * // whatsapp: true || false,
743
765
  * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
766
+ * // messenger: true || false,
767
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
744
768
  * // sms: true || false,
745
769
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
746
770
  * // markdown: true || false,
@@ -861,6 +885,8 @@ declare const DescribeEventCommand_base: {
861
885
  * // forward: "<MessageForward>",
862
886
  * // whatsapp: true || false,
863
887
  * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
888
+ * // messenger: true || false,
889
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
864
890
  * // sms: true || false,
865
891
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
866
892
  * // markdown: true || false,
@@ -951,6 +977,8 @@ declare const DescribeEventCommand_base: {
951
977
  * // forward: "<MessageForward>",
952
978
  * // whatsapp: true || false,
953
979
  * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
980
+ * // messenger: true || false,
981
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
954
982
  * // sms: true || false,
955
983
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
956
984
  * // markdown: true || false,
@@ -1047,6 +1075,8 @@ declare const DescribeEventCommand_base: {
1047
1075
  * // forward: "<MessageForward>",
1048
1076
  * // whatsapp: true || false,
1049
1077
  * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
1078
+ * // messenger: true || false,
1079
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
1050
1080
  * // sms: true || false,
1051
1081
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
1052
1082
  * // markdown: true || false,
@@ -105,6 +105,10 @@ declare const GetChannelCommand_base: {
105
105
  * // mms: true || false,
106
106
  * // whatsapp: true || false,
107
107
  * // whatsappStatus: "24h_channel_closed",
108
+ * // messenger: true || false,
109
+ * // messengerStatus: "window_closed",
110
+ * // messengerPageId: "STRING_VALUE",
111
+ * // messengerReplyUntil: Number("long"),
108
112
  * // broadcast: true || false,
109
113
  * // external: true || false,
110
114
  * // autoRecord: true || false,
@@ -176,6 +176,8 @@ declare const GetMessageCommand_base: {
176
176
  * // },
177
177
  * // whatsapp: true || false,
178
178
  * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
179
+ * // messenger: true || false,
180
+ * // messengerStatus: "trying" || "sent" || "error" || "delivered",
179
181
  * // sms: true || false,
180
182
  * // smsStatus: "sent" || "delivered" || "trying" || "error",
181
183
  * // markdown: true || false,
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
4
+ import type { GetMessengerChannelIdInput, GetMessengerChannelIdOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetMessengerChannelIdCommand}.
14
+ */
15
+ export interface GetMessengerChannelIdCommandInput extends GetMessengerChannelIdInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMessengerChannelIdCommand}.
21
+ */
22
+ export interface GetMessengerChannelIdCommandOutput extends GetMessengerChannelIdOutput, __MetadataBearer {
23
+ }
24
+ declare const GetMessengerChannelIdCommand_base: {
25
+ new (input: GetMessengerChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetMessengerChannelIdCommandInput, GetMessengerChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetMessengerChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetMessengerChannelIdCommandInput, GetMessengerChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Gets the channel ID of an existing or non-existing Facebook Messenger channel. The person is named by recipientId, the x-bees user invited for them; recipientNumber names the same person directly. On this channel either value resolves to a Page Scoped ID, an opaque Meta identifier and not a phone number.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConversationsClient, GetMessengerChannelIdCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
35
+ * // const { ConversationsClient, GetMessengerChannelIdCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
36
+ * // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
37
+ * const config = {}; // type is ConversationsClientConfig
38
+ * const client = new ConversationsClient(config);
39
+ * const input = { // GetMessengerChannelIdInput
40
+ * userId: "STRING_VALUE",
41
+ * serviceUri: "STRING_VALUE", // required
42
+ * recipientId: "STRING_VALUE",
43
+ * recipientNumber: "STRING_VALUE",
44
+ * };
45
+ * const command = new GetMessengerChannelIdCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // GetMessengerChannelIdOutput
48
+ * // channelId: "STRING_VALUE", // required
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetMessengerChannelIdCommandInput - {@link GetMessengerChannelIdCommandInput}
54
+ * @returns {@link GetMessengerChannelIdCommandOutput}
55
+ * @see {@link GetMessengerChannelIdCommandInput} for command's `input` shape.
56
+ * @see {@link GetMessengerChannelIdCommandOutput} for command's `response` shape.
57
+ * @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
58
+ *
59
+ * @throws {@link ForbiddenException} (client fault)
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ *
63
+ * @throws {@link RateLimitExceededException} (client fault)
64
+ *
65
+ * @throws {@link ConversationsSyntheticServiceException}
66
+ * <p>Base exception class for all service exceptions from Conversations service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class GetMessengerChannelIdCommand extends GetMessengerChannelIdCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: GetMessengerChannelIdInput;
76
+ output: GetMessengerChannelIdOutput;
77
+ };
78
+ sdk: {
79
+ input: GetMessengerChannelIdCommandInput;
80
+ output: GetMessengerChannelIdCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -112,6 +112,10 @@ declare const GetOrCreateDirectChannelCommand_base: {
112
112
  * // mms: true || false,
113
113
  * // whatsapp: true || false,
114
114
  * // whatsappStatus: "24h_channel_closed",
115
+ * // messenger: true || false,
116
+ * // messengerStatus: "window_closed",
117
+ * // messengerPageId: "STRING_VALUE",
118
+ * // messengerReplyUntil: Number("long"),
115
119
  * // broadcast: true || false,
116
120
  * // external: true || false,
117
121
  * // autoRecord: true || false,