@wildix/xbees-conversations-client 4.1.1 → 4.2.0-messaging.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/dist-cjs/Conversations.js +4 -4
- package/dist-cjs/commands/{GetMessengerChannelIdCommand.js → GetMessagingChannelIdCommand.js} +6 -6
- package/dist-cjs/commands/{GetOrCreateMessengerChannelCommand.js → GetOrCreateMessagingChannelCommand.js} +6 -6
- package/dist-cjs/commands/index.js +2 -2
- package/dist-cjs/models/enums.js +9 -4
- package/dist-cjs/schemas/schemas_0.js +47 -47
- package/dist-es/Conversations.js +4 -4
- package/dist-es/commands/{GetMessengerChannelIdCommand.js → GetMessagingChannelIdCommand.js} +5 -5
- package/dist-es/commands/{GetOrCreateMessengerChannelCommand.js → GetOrCreateMessagingChannelCommand.js} +5 -5
- package/dist-es/commands/index.js +2 -2
- package/dist-es/models/enums.js +8 -3
- package/dist-es/schemas/schemas_0.js +45 -45
- package/dist-types/Conversations.d.ts +10 -10
- package/dist-types/ConversationsClient.d.ts +4 -4
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +8 -8
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -8
- package/dist-types/commands/DescribeEventCommand.d.ts +30 -30
- package/dist-types/commands/GetChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetMessageCommand.d.ts +2 -2
- package/dist-types/commands/GetMessagingChannelIdCommand.d.ts +84 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -4
- package/dist-types/commands/{GetOrCreateMessengerChannelCommand.d.ts → GetOrCreateMessagingChannelCommand.d.ts} +28 -27
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -4
- package/dist-types/commands/JoinChannelCommand.d.ts +4 -4
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -4
- package/dist-types/commands/ListMessagesCommand.d.ts +2 -2
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +2 -2
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +9 -9
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -4
- package/dist-types/commands/QueryChannelsCommand.d.ts +4 -4
- package/dist-types/commands/SendGiphyCommand.d.ts +2 -2
- package/dist-types/commands/SendMessageCommand.d.ts +4 -4
- package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -2
- package/dist-types/commands/UpdateChannelCommand.d.ts +8 -8
- package/dist-types/commands/UpdateMessageCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +2 -2
- package/dist-types/models/enums.d.ts +18 -5
- package/dist-types/models/models_0.d.ts +90 -52
- package/dist-types/schemas/schemas_0.d.ts +6 -6
- package/package.json +2 -2
- package/dist-types/commands/GetMessengerChannelIdCommand.d.ts +0 -83
|
@@ -83,17 +83,17 @@ const _GIS = "GetInboxState";
|
|
|
83
83
|
const _GISI = "GetInboxStateInput";
|
|
84
84
|
const _GISO = "GetInboxStateOutput";
|
|
85
85
|
const _GM = "GetMessage";
|
|
86
|
-
const _GMCI = "
|
|
87
|
-
const _GMCII = "
|
|
88
|
-
const _GMCIO = "
|
|
86
|
+
const _GMCI = "GetMessagingChannelId";
|
|
87
|
+
const _GMCII = "GetMessagingChannelIdInput";
|
|
88
|
+
const _GMCIO = "GetMessagingChannelIdOutput";
|
|
89
89
|
const _GMI = "GetMessageInput";
|
|
90
90
|
const _GMO = "GetMessageOutput";
|
|
91
91
|
const _GOCDC = "GetOrCreateDirectChannel";
|
|
92
92
|
const _GOCDCI = "GetOrCreateDirectChannelInput";
|
|
93
93
|
const _GOCDCO = "GetOrCreateDirectChannelOutput";
|
|
94
|
-
const _GOCMC = "
|
|
95
|
-
const _GOCMCI = "
|
|
96
|
-
const _GOCMCO = "
|
|
94
|
+
const _GOCMC = "GetOrCreateMessagingChannel";
|
|
95
|
+
const _GOCMCI = "GetOrCreateMessagingChannelInput";
|
|
96
|
+
const _GOCMCO = "GetOrCreateMessagingChannelOutput";
|
|
97
97
|
const _GOCSC = "GetOrCreateSmsChannel";
|
|
98
98
|
const _GOCSCI = "GetOrCreateSmsChannelInput";
|
|
99
99
|
const _GOCSCO = "GetOrCreateSmsChannelOutput";
|
|
@@ -384,21 +384,21 @@ const _li = "link";
|
|
|
384
384
|
const _lo = "locale";
|
|
385
385
|
const _m = "message";
|
|
386
386
|
const _mC = "memberCount";
|
|
387
|
+
const _mCe = "messagingChannel";
|
|
387
388
|
const _mI = "memberId";
|
|
388
389
|
const _mIe = "messageId";
|
|
389
390
|
const _mMJ = "multipleMembersJoined";
|
|
390
391
|
const _mN = "messagingNumber";
|
|
391
|
-
const
|
|
392
|
-
const
|
|
393
|
-
const
|
|
392
|
+
const _mRU = "messagingReplyUntil";
|
|
393
|
+
const _mS = "messagingStatus";
|
|
394
|
+
const _mSI = "messagingSenderId";
|
|
394
395
|
const _mTI = "memberToInvite";
|
|
395
396
|
const _mTIe = "membersToInvite";
|
|
396
397
|
const _ma = "markdown";
|
|
397
398
|
const _me = "member";
|
|
398
399
|
const _mem = "members";
|
|
399
400
|
const _men = "mentions";
|
|
400
|
-
const _mes = "
|
|
401
|
-
const _mess = "messages";
|
|
401
|
+
const _mes = "messages";
|
|
402
402
|
const _mi = "mime";
|
|
403
403
|
const _mm = "mms";
|
|
404
404
|
const _n = "name";
|
|
@@ -703,8 +703,8 @@ export var ButtonReplyHandler$ = [3, n1, _BRH,
|
|
|
703
703
|
];
|
|
704
704
|
export var Channel$ = [3, n1, _C,
|
|
705
705
|
0,
|
|
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,
|
|
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,
|
|
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, _mCe, _mS, _mSI, _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, 0, 0, 0, 1, 2, 2, 2, 0, 2, 0], 5
|
|
708
708
|
];
|
|
709
709
|
export var ChannelContext$ = [3, n1, _CC,
|
|
710
710
|
0,
|
|
@@ -743,8 +743,8 @@ export var ChannelsQuery$ = [3, n1, _CQ,
|
|
|
743
743
|
];
|
|
744
744
|
export var CreateGroupChannelInput$ = [3, n1, _CGCI,
|
|
745
745
|
0,
|
|
746
|
-
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
747
|
-
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2,
|
|
746
|
+
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mCe, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _cI, _mem, _mTIe, _cET],
|
|
747
|
+
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 1, 0, 0, () => User$, 2, 0, 2, [0, { [_hQ]: _us }], 0, 64 | 0, () => UsersToInviteList, 0]
|
|
748
748
|
];
|
|
749
749
|
export var CreateGroupChannelOutput$ = [3, n1, _CGCO,
|
|
750
750
|
0,
|
|
@@ -901,12 +901,12 @@ export var GetMessageOutput$ = [3, n1, _GMO,
|
|
|
901
901
|
[_m],
|
|
902
902
|
[() => Message$], 1
|
|
903
903
|
];
|
|
904
|
-
export var
|
|
904
|
+
export var GetMessagingChannelIdInput$ = [3, n1, _GMCII,
|
|
905
905
|
0,
|
|
906
|
-
[_sU, _uI, _rI, _rN],
|
|
907
|
-
[0, [0, { [_hQ]: _us }], 0, 0],
|
|
906
|
+
[_sU, _ch, _uI, _rI, _rN],
|
|
907
|
+
[0, 0, [0, { [_hQ]: _us }], 0, 0], 2
|
|
908
908
|
];
|
|
909
|
-
export var
|
|
909
|
+
export var GetMessagingChannelIdOutput$ = [3, n1, _GMCIO,
|
|
910
910
|
0,
|
|
911
911
|
[_cI],
|
|
912
912
|
[0], 1
|
|
@@ -921,12 +921,12 @@ export var GetOrCreateDirectChannelOutput$ = [3, n1, _GOCDCO,
|
|
|
921
921
|
[_ch],
|
|
922
922
|
[() => Channel$], 1
|
|
923
923
|
];
|
|
924
|
-
export var
|
|
924
|
+
export var GetOrCreateMessagingChannelInput$ = [3, n1, _GOCMCI,
|
|
925
925
|
0,
|
|
926
|
-
[_sU, _uI, _rI, _rN, _ou],
|
|
927
|
-
[0, [0, { [_hQ]: _us }], 0, 0, 2],
|
|
926
|
+
[_sU, _ch, _uI, _rI, _rN, _ou],
|
|
927
|
+
[0, 0, [0, { [_hQ]: _us }], 0, 0, 2], 2
|
|
928
928
|
];
|
|
929
|
-
export var
|
|
929
|
+
export var GetOrCreateMessagingChannelOutput$ = [3, n1, _GOCMCO,
|
|
930
930
|
0,
|
|
931
931
|
[_ch],
|
|
932
932
|
[() => Channel$], 1
|
|
@@ -1048,8 +1048,8 @@ export var InboxUnreadChannel$ = [3, n1, _IUC,
|
|
|
1048
1048
|
];
|
|
1049
1049
|
export var InitialMessage$ = [3, n1, _IM,
|
|
1050
1050
|
0,
|
|
1051
|
-
[_mIe, _t, _el, _att, _q, _fo, _w, _wS,
|
|
1052
|
-
[0, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0,
|
|
1051
|
+
[_mIe, _t, _el, _att, _q, _fo, _w, _wS, _mCe, _mS, _sm, _sS, _ma, _men],
|
|
1052
|
+
[0, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 0, 0, 2, 0, 2, 64 | 0], 1
|
|
1053
1053
|
];
|
|
1054
1054
|
export var InviteInput$ = [3, n1, _II,
|
|
1055
1055
|
0,
|
|
@@ -1148,7 +1148,7 @@ export var ListMessagesInput$ = [3, n1, _LMI,
|
|
|
1148
1148
|
];
|
|
1149
1149
|
export var ListMessagesOutput$ = [3, n1, _LMO,
|
|
1150
1150
|
0,
|
|
1151
|
-
[
|
|
1151
|
+
[_mes],
|
|
1152
1152
|
[() => MessagesList], 1
|
|
1153
1153
|
];
|
|
1154
1154
|
export var ListPinnedMessagesInput$ = [3, n1, _LPMI,
|
|
@@ -1158,7 +1158,7 @@ export var ListPinnedMessagesInput$ = [3, n1, _LPMI,
|
|
|
1158
1158
|
];
|
|
1159
1159
|
export var ListPinnedMessagesOutput$ = [3, n1, _LPMO,
|
|
1160
1160
|
0,
|
|
1161
|
-
[
|
|
1161
|
+
[_mes],
|
|
1162
1162
|
[() => MessagesList], 1
|
|
1163
1163
|
];
|
|
1164
1164
|
export var MarkReadInput$ = [3, n1, _MRI,
|
|
@@ -1183,8 +1183,8 @@ export var MarkUnreadOutput$ = [3, n1, _MUO,
|
|
|
1183
1183
|
];
|
|
1184
1184
|
export var Message$ = [3, n1, _M,
|
|
1185
1185
|
0,
|
|
1186
|
-
[_ty, _mIe, _cI, _us, _cA, _t, _el, _att, _q, _fo, _w, _wS,
|
|
1187
|
-
[0, 0, 0, () => User$, 0, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0,
|
|
1186
|
+
[_ty, _mIe, _cI, _us, _cA, _t, _el, _att, _q, _fo, _w, _wS, _mCe, _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, 0, 0, 2, 0, 2, () => MessageGiphy$, 2, 0, 2, () => UsersList, () => ReactionList, 128 | 1, 0], 5
|
|
1188
1188
|
];
|
|
1189
1189
|
export var MessageAttachment$ = [3, n1, _MA,
|
|
1190
1190
|
0,
|
|
@@ -1228,8 +1228,8 @@ export var PartialUpdateChannelOutput$ = [3, n1, _PUCO,
|
|
|
1228
1228
|
];
|
|
1229
1229
|
export var PartialUpdateChannelSetOptions$ = [3, n1, _PUCSO,
|
|
1230
1230
|
0,
|
|
1231
|
-
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
1232
|
-
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2,
|
|
1231
|
+
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mCe, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO],
|
|
1232
|
+
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 1, 0, 0, () => User$, 2, 0, 2]
|
|
1233
1233
|
];
|
|
1234
1234
|
export var PartialUpdateMessageInput$ = [3, n1, _PUMI,
|
|
1235
1235
|
0,
|
|
@@ -1243,8 +1243,8 @@ export var PartialUpdateMessageOutput$ = [3, n1, _PUMO,
|
|
|
1243
1243
|
];
|
|
1244
1244
|
export var PartialUpdateMessageSetInput$ = [3, n1, _PUMSI,
|
|
1245
1245
|
0,
|
|
1246
|
-
[_t, _el, _att, _q, _fo, _w, _wS,
|
|
1247
|
-
[0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0,
|
|
1246
|
+
[_t, _el, _att, _q, _fo, _w, _wS, _mCe, _mS, _sm, _sS, _ma, _men],
|
|
1247
|
+
[0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 0, 0, 2, 0, 2, 64 | 0]
|
|
1248
1248
|
];
|
|
1249
1249
|
export var PinChannelInput$ = [3, n1, _PCI,
|
|
1250
1250
|
0,
|
|
@@ -1313,8 +1313,8 @@ export var SendGiphyOutput$ = [3, n1, _SGO,
|
|
|
1313
1313
|
];
|
|
1314
1314
|
export var SendMessageInput$ = [3, n1, _SMI,
|
|
1315
1315
|
0,
|
|
1316
|
-
[_cI, _t, _el, _att, _q, _fo, _w, _wS,
|
|
1317
|
-
[[0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0,
|
|
1316
|
+
[_cI, _t, _el, _att, _q, _fo, _w, _wS, _mCe, _mS, _sm, _sS, _ma, _mIe, _men, _uI],
|
|
1317
|
+
[[0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 0, 0, 2, 0, 2, 0, 64 | 0, [0, { [_hQ]: _us }]], 1
|
|
1318
1318
|
];
|
|
1319
1319
|
export var SendMessageOutput$ = [3, n1, _SMO,
|
|
1320
1320
|
0,
|
|
@@ -1428,8 +1428,8 @@ export var UntagChannelOutput$ = [3, n1, _UCOn,
|
|
|
1428
1428
|
];
|
|
1429
1429
|
export var UpdateChannelInput$ = [3, n1, _UCIp,
|
|
1430
1430
|
0,
|
|
1431
|
-
[_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
1432
|
-
[[0, 1], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2,
|
|
1431
|
+
[_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mCe, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _si],
|
|
1432
|
+
[[0, 1], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 1, 0, 0, () => User$, 2, 0, 2, [0, { [_hQ]: _us }], 2], 1
|
|
1433
1433
|
];
|
|
1434
1434
|
export var UpdateChannelOutput$ = [3, n1, _UCOp,
|
|
1435
1435
|
0,
|
|
@@ -1448,8 +1448,8 @@ export var UpdateInboxTagOutput$ = [3, n1, _UITO,
|
|
|
1448
1448
|
];
|
|
1449
1449
|
export var UpdateMessageInput$ = [3, n1, _UMIp,
|
|
1450
1450
|
0,
|
|
1451
|
-
[_mIe, _cI, _t, _el, _att, _q, _fo, _w, _wS,
|
|
1452
|
-
[[0, 1], [0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0,
|
|
1451
|
+
[_mIe, _cI, _t, _el, _att, _q, _fo, _w, _wS, _mCe, _mS, _sm, _sS, _ma, _men, _uI, _si],
|
|
1452
|
+
[[0, 1], [0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 0, 0, 2, 0, 2, 64 | 0, [0, { [_hQ]: _us }], 2], 2
|
|
1453
1453
|
];
|
|
1454
1454
|
export var UpdateMessageOutput$ = [3, n1, _UMOp,
|
|
1455
1455
|
0,
|
|
@@ -1563,8 +1563,8 @@ export var WebhookChatReactionNewOrDeletedEventData$ = [3, n1, _WCRNODED,
|
|
|
1563
1563
|
];
|
|
1564
1564
|
export var WelcomeMessage$ = [3, n1, _WM,
|
|
1565
1565
|
0,
|
|
1566
|
-
[_mIe, _us, _t, _el, _att, _q, _fo, _w, _wS,
|
|
1567
|
-
[0, () => User$, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0,
|
|
1566
|
+
[_mIe, _us, _t, _el, _att, _q, _fo, _w, _wS, _mCe, _mS, _sm, _sS, _ma, _men],
|
|
1567
|
+
[0, () => User$, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 0, 0, 2, 0, 2, 64 | 0], 2
|
|
1568
1568
|
];
|
|
1569
1569
|
export var WhatsAppClosedSystemMessage$ = [3, n1, _WACSM,
|
|
1570
1570
|
0,
|
|
@@ -1736,14 +1736,14 @@ export var GetInboxState$ = [9, n1, _GIS,
|
|
|
1736
1736
|
export var GetMessage$ = [9, n1, _GM,
|
|
1737
1737
|
{ [_ht]: ["GET", "/v2/conversations/channels/{channelId}/messages/{messageId}", 200] }, () => GetMessageInput$, () => GetMessageOutput$
|
|
1738
1738
|
];
|
|
1739
|
-
export var
|
|
1740
|
-
{ [_ht]: ["POST", "/v2/conversations/
|
|
1739
|
+
export var GetMessagingChannelId$ = [9, n1, _GMCI,
|
|
1740
|
+
{ [_ht]: ["POST", "/v2/conversations/messaging/get_channel_id", 200] }, () => GetMessagingChannelIdInput$, () => GetMessagingChannelIdOutput$
|
|
1741
1741
|
];
|
|
1742
1742
|
export var GetOrCreateDirectChannel$ = [9, n1, _GOCDC,
|
|
1743
1743
|
{ [_ht]: ["POST", "/v2/conversations/direct/get_or_create_channel", 200] }, () => GetOrCreateDirectChannelInput$, () => GetOrCreateDirectChannelOutput$
|
|
1744
1744
|
];
|
|
1745
|
-
export var
|
|
1746
|
-
{ [_ht]: ["POST", "/v2/conversations/
|
|
1745
|
+
export var GetOrCreateMessagingChannel$ = [9, n1, _GOCMC,
|
|
1746
|
+
{ [_ht]: ["POST", "/v2/conversations/messaging/get_or_create_channel", 200] }, () => GetOrCreateMessagingChannelInput$, () => GetOrCreateMessagingChannelOutput$
|
|
1747
1747
|
];
|
|
1748
1748
|
export var GetOrCreateSmsChannel$ = [9, n1, _GOCSC,
|
|
1749
1749
|
{ [_ht]: ["POST", "/v2/conversations/sms/get_or_create_channel", 200] }, () => GetOrCreateSmsChannelInput$, () => GetOrCreateSmsChannelOutput$
|
|
@@ -18,9 +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
|
|
21
|
+
import { type GetMessagingChannelIdCommandInput, type GetMessagingChannelIdCommandOutput } from "./commands/GetMessagingChannelIdCommand";
|
|
22
22
|
import { type GetOrCreateDirectChannelCommandInput, type GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
23
|
-
import { type
|
|
23
|
+
import { type GetOrCreateMessagingChannelCommandInput, type GetOrCreateMessagingChannelCommandOutput } from "./commands/GetOrCreateMessagingChannelCommand";
|
|
24
24
|
import { type GetOrCreateSmsChannelCommandInput, type GetOrCreateSmsChannelCommandOutput } from "./commands/GetOrCreateSmsChannelCommand";
|
|
25
25
|
import { type GetOrCreateTelephonyChannelCommandInput, type GetOrCreateTelephonyChannelCommandOutput } from "./commands/GetOrCreateTelephonyChannelCommand";
|
|
26
26
|
import { type GetOrCreateWhatsAppChannelCommandInput, type GetOrCreateWhatsAppChannelCommandOutput } from "./commands/GetOrCreateWhatsAppChannelCommand";
|
|
@@ -187,11 +187,11 @@ export interface Conversations {
|
|
|
187
187
|
getMessage(args: GetMessageCommandInput, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
|
|
188
188
|
getMessage(args: GetMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
|
|
189
189
|
/**
|
|
190
|
-
* @see {@link
|
|
190
|
+
* @see {@link GetMessagingChannelIdCommand}
|
|
191
191
|
*/
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
getMessagingChannelId(args: GetMessagingChannelIdCommandInput, options?: __HttpHandlerOptions): Promise<GetMessagingChannelIdCommandOutput>;
|
|
193
|
+
getMessagingChannelId(args: GetMessagingChannelIdCommandInput, cb: (err: any, data?: GetMessagingChannelIdCommandOutput) => void): void;
|
|
194
|
+
getMessagingChannelId(args: GetMessagingChannelIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessagingChannelIdCommandOutput) => void): void;
|
|
195
195
|
/**
|
|
196
196
|
* @see {@link GetOrCreateDirectChannelCommand}
|
|
197
197
|
*/
|
|
@@ -200,11 +200,11 @@ export interface Conversations {
|
|
|
200
200
|
getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
|
|
201
201
|
getOrCreateDirectChannel(args: GetOrCreateDirectChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrCreateDirectChannelCommandOutput) => void): void;
|
|
202
202
|
/**
|
|
203
|
-
* @see {@link
|
|
203
|
+
* @see {@link GetOrCreateMessagingChannelCommand}
|
|
204
204
|
*/
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
getOrCreateMessagingChannel(args: GetOrCreateMessagingChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetOrCreateMessagingChannelCommandOutput>;
|
|
206
|
+
getOrCreateMessagingChannel(args: GetOrCreateMessagingChannelCommandInput, cb: (err: any, data?: GetOrCreateMessagingChannelCommandOutput) => void): void;
|
|
207
|
+
getOrCreateMessagingChannel(args: GetOrCreateMessagingChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrCreateMessagingChannelCommandOutput) => void): void;
|
|
208
208
|
/**
|
|
209
209
|
* @see {@link GetOrCreateSmsChannelCommand}
|
|
210
210
|
*/
|
|
@@ -24,9 +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 {
|
|
27
|
+
import type { GetMessagingChannelIdCommandInput, GetMessagingChannelIdCommandOutput } from "./commands/GetMessagingChannelIdCommand";
|
|
28
28
|
import type { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "./commands/GetOrCreateDirectChannelCommand";
|
|
29
|
-
import type {
|
|
29
|
+
import type { GetOrCreateMessagingChannelCommandInput, GetOrCreateMessagingChannelCommandOutput } from "./commands/GetOrCreateMessagingChannelCommand";
|
|
30
30
|
import type { GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput } from "./commands/GetOrCreateSmsChannelCommand";
|
|
31
31
|
import type { GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput } from "./commands/GetOrCreateTelephonyChannelCommand";
|
|
32
32
|
import type { GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput } from "./commands/GetOrCreateWhatsAppChannelCommand";
|
|
@@ -78,11 +78,11 @@ export { __Client };
|
|
|
78
78
|
/**
|
|
79
79
|
* @public
|
|
80
80
|
*/
|
|
81
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput |
|
|
81
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | AssignChannelCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | CreateKiteChannelCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetMessagingChannelIdCommandInput | GetOrCreateDirectChannelCommandInput | GetOrCreateMessagingChannelCommandInput | 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;
|
|
82
82
|
/**
|
|
83
83
|
* @public
|
|
84
84
|
*/
|
|
85
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput |
|
|
85
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | AssignChannelCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | CreateKiteChannelCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetMessagingChannelIdCommandOutput | GetOrCreateDirectChannelCommandOutput | GetOrCreateMessagingChannelCommandOutput | 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;
|
|
86
86
|
/**
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
@@ -70,10 +70,10 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
70
70
|
* sms: true || false,
|
|
71
71
|
* mms: true || false,
|
|
72
72
|
* whatsapp: true || false,
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
73
|
+
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
74
|
+
* messagingStatus: "window_closed",
|
|
75
|
+
* messagingSenderId: "STRING_VALUE",
|
|
76
|
+
* messagingReplyUntil: Number("long"),
|
|
77
77
|
* kiteAssign: "STRING_VALUE",
|
|
78
78
|
* serviceTitle: "STRING_VALUE",
|
|
79
79
|
* assignee: { // User
|
|
@@ -179,10 +179,10 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
179
179
|
* // mms: true || false,
|
|
180
180
|
* // whatsapp: true || false,
|
|
181
181
|
* // whatsappStatus: "24h_channel_closed",
|
|
182
|
-
* //
|
|
183
|
-
* //
|
|
184
|
-
* //
|
|
185
|
-
* //
|
|
182
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
183
|
+
* // messagingStatus: "window_closed",
|
|
184
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
185
|
+
* // messagingReplyUntil: Number("long"),
|
|
186
186
|
* // broadcast: true || false,
|
|
187
187
|
* // external: true || false,
|
|
188
188
|
* // autoRecord: true || false,
|
|
@@ -175,8 +175,8 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
175
175
|
* },
|
|
176
176
|
* whatsapp: true || false,
|
|
177
177
|
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
178
|
-
*
|
|
179
|
-
*
|
|
178
|
+
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
179
|
+
* messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
180
180
|
* sms: true || false,
|
|
181
181
|
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
182
182
|
* markdown: true || false,
|
|
@@ -255,8 +255,8 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
255
255
|
* forward: "<MessageForward>",
|
|
256
256
|
* whatsapp: true || false,
|
|
257
257
|
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
258
|
-
*
|
|
259
|
-
*
|
|
258
|
+
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
259
|
+
* messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
260
260
|
* sms: true || false,
|
|
261
261
|
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
262
262
|
* markdown: true || false,
|
|
@@ -332,10 +332,10 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
332
332
|
* // mms: true || false,
|
|
333
333
|
* // whatsapp: true || false,
|
|
334
334
|
* // whatsappStatus: "24h_channel_closed",
|
|
335
|
-
* //
|
|
336
|
-
* //
|
|
337
|
-
* //
|
|
338
|
-
* //
|
|
335
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
336
|
+
* // messagingStatus: "window_closed",
|
|
337
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
338
|
+
* // messagingReplyUntil: Number("long"),
|
|
339
339
|
* // broadcast: true || false,
|
|
340
340
|
* // external: true || false,
|
|
341
341
|
* // autoRecord: true || false,
|
|
@@ -112,10 +112,10 @@ declare const DescribeEventCommand_base: {
|
|
|
112
112
|
* // mms: true || false,
|
|
113
113
|
* // whatsapp: true || false,
|
|
114
114
|
* // whatsappStatus: "24h_channel_closed",
|
|
115
|
-
* //
|
|
116
|
-
* //
|
|
117
|
-
* //
|
|
118
|
-
* //
|
|
115
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
116
|
+
* // messagingStatus: "window_closed",
|
|
117
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
118
|
+
* // messagingReplyUntil: Number("long"),
|
|
119
119
|
* // broadcast: true || false,
|
|
120
120
|
* // external: true || false,
|
|
121
121
|
* // autoRecord: true || false,
|
|
@@ -229,10 +229,10 @@ declare const DescribeEventCommand_base: {
|
|
|
229
229
|
* // mms: true || false,
|
|
230
230
|
* // whatsapp: true || false,
|
|
231
231
|
* // whatsappStatus: "24h_channel_closed",
|
|
232
|
-
* //
|
|
233
|
-
* //
|
|
234
|
-
* //
|
|
235
|
-
* //
|
|
232
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
233
|
+
* // messagingStatus: "window_closed",
|
|
234
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
235
|
+
* // messagingReplyUntil: Number("long"),
|
|
236
236
|
* // broadcast: true || false,
|
|
237
237
|
* // external: true || false,
|
|
238
238
|
* // autoRecord: true || false,
|
|
@@ -346,10 +346,10 @@ declare const DescribeEventCommand_base: {
|
|
|
346
346
|
* // mms: true || false,
|
|
347
347
|
* // whatsapp: true || false,
|
|
348
348
|
* // whatsappStatus: "24h_channel_closed",
|
|
349
|
-
* //
|
|
350
|
-
* //
|
|
351
|
-
* //
|
|
352
|
-
* //
|
|
349
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
350
|
+
* // messagingStatus: "window_closed",
|
|
351
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
352
|
+
* // messagingReplyUntil: Number("long"),
|
|
353
353
|
* // broadcast: true || false,
|
|
354
354
|
* // external: true || false,
|
|
355
355
|
* // autoRecord: true || false,
|
|
@@ -423,10 +423,10 @@ declare const DescribeEventCommand_base: {
|
|
|
423
423
|
* // mms: true || false,
|
|
424
424
|
* // whatsapp: true || false,
|
|
425
425
|
* // whatsappStatus: "24h_channel_closed",
|
|
426
|
-
* //
|
|
427
|
-
* //
|
|
428
|
-
* //
|
|
429
|
-
* //
|
|
426
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
427
|
+
* // messagingStatus: "window_closed",
|
|
428
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
429
|
+
* // messagingReplyUntil: Number("long"),
|
|
430
430
|
* // broadcast: true || false,
|
|
431
431
|
* // external: true || false,
|
|
432
432
|
* // autoRecord: true || false,
|
|
@@ -500,10 +500,10 @@ declare const DescribeEventCommand_base: {
|
|
|
500
500
|
* // mms: true || false,
|
|
501
501
|
* // whatsapp: true || false,
|
|
502
502
|
* // whatsappStatus: "24h_channel_closed",
|
|
503
|
-
* //
|
|
504
|
-
* //
|
|
505
|
-
* //
|
|
506
|
-
* //
|
|
503
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
504
|
+
* // messagingStatus: "window_closed",
|
|
505
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
506
|
+
* // messagingReplyUntil: Number("long"),
|
|
507
507
|
* // broadcast: true || false,
|
|
508
508
|
* // external: true || false,
|
|
509
509
|
* // autoRecord: true || false,
|
|
@@ -623,8 +623,8 @@ declare const DescribeEventCommand_base: {
|
|
|
623
623
|
* // },
|
|
624
624
|
* // whatsapp: true || false,
|
|
625
625
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
626
|
-
* //
|
|
627
|
-
* //
|
|
626
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
627
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
628
628
|
* // sms: true || false,
|
|
629
629
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
630
630
|
* // markdown: true || false,
|
|
@@ -763,8 +763,8 @@ declare const DescribeEventCommand_base: {
|
|
|
763
763
|
* // },
|
|
764
764
|
* // whatsapp: true || false,
|
|
765
765
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
766
|
-
* //
|
|
767
|
-
* //
|
|
766
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
767
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
768
768
|
* // sms: true || false,
|
|
769
769
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
770
770
|
* // markdown: true || false,
|
|
@@ -885,8 +885,8 @@ declare const DescribeEventCommand_base: {
|
|
|
885
885
|
* // forward: "<MessageForward>",
|
|
886
886
|
* // whatsapp: true || false,
|
|
887
887
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
888
|
-
* //
|
|
889
|
-
* //
|
|
888
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
889
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
890
890
|
* // sms: true || false,
|
|
891
891
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
892
892
|
* // markdown: true || false,
|
|
@@ -977,8 +977,8 @@ declare const DescribeEventCommand_base: {
|
|
|
977
977
|
* // forward: "<MessageForward>",
|
|
978
978
|
* // whatsapp: true || false,
|
|
979
979
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
980
|
-
* //
|
|
981
|
-
* //
|
|
980
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
981
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
982
982
|
* // sms: true || false,
|
|
983
983
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
984
984
|
* // markdown: true || false,
|
|
@@ -1075,8 +1075,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1075
1075
|
* // forward: "<MessageForward>",
|
|
1076
1076
|
* // whatsapp: true || false,
|
|
1077
1077
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
1078
|
-
* //
|
|
1079
|
-
* //
|
|
1078
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
1079
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
1080
1080
|
* // sms: true || false,
|
|
1081
1081
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
1082
1082
|
* // markdown: true || false,
|
|
@@ -105,10 +105,10 @@ declare const GetChannelCommand_base: {
|
|
|
105
105
|
* // mms: true || false,
|
|
106
106
|
* // whatsapp: true || false,
|
|
107
107
|
* // whatsappStatus: "24h_channel_closed",
|
|
108
|
-
* //
|
|
109
|
-
* //
|
|
110
|
-
* //
|
|
111
|
-
* //
|
|
108
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
109
|
+
* // messagingStatus: "window_closed",
|
|
110
|
+
* // messagingSenderId: "STRING_VALUE",
|
|
111
|
+
* // messagingReplyUntil: Number("long"),
|
|
112
112
|
* // broadcast: true || false,
|
|
113
113
|
* // external: true || false,
|
|
114
114
|
* // autoRecord: true || false,
|
|
@@ -176,8 +176,8 @@ declare const GetMessageCommand_base: {
|
|
|
176
176
|
* // },
|
|
177
177
|
* // whatsapp: true || false,
|
|
178
178
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
179
|
-
* //
|
|
180
|
-
* //
|
|
179
|
+
* // messagingChannel: "messenger" || "instagram" || "rcs",
|
|
180
|
+
* // messagingStatus: "trying" || "sent" || "error" || "delivered",
|
|
181
181
|
* // sms: true || false,
|
|
182
182
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
183
183
|
* // markdown: true || false,
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { GetMessagingChannelIdInput, GetMessagingChannelIdOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetMessagingChannelIdCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetMessagingChannelIdCommandInput extends GetMessagingChannelIdInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetMessagingChannelIdCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetMessagingChannelIdCommandOutput extends GetMessagingChannelIdOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetMessagingChannelIdCommand_base: {
|
|
25
|
+
new (input: GetMessagingChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetMessagingChannelIdCommandInput, GetMessagingChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetMessagingChannelIdCommandInput): import("@smithy/core/client").CommandImpl<GetMessagingChannelIdCommandInput, GetMessagingChannelIdCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets the channel ID of an existing or non-existing channel on a customer messaging channel (see MessagingChannel). The person is named by recipientId, the x-bees user invited for them; recipientNumber names the same person directly. Either value resolves to the channel's own customer id, the Page Scoped ID on Messenger, an opaque supplier 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, GetMessagingChannelIdCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, GetMessagingChannelIdCommand } = 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 = { // GetMessagingChannelIdInput
|
|
40
|
+
* userId: "STRING_VALUE",
|
|
41
|
+
* serviceUri: "STRING_VALUE", // required
|
|
42
|
+
* recipientId: "STRING_VALUE",
|
|
43
|
+
* recipientNumber: "STRING_VALUE",
|
|
44
|
+
* channel: "messenger" || "instagram" || "rcs", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new GetMessagingChannelIdCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // GetMessagingChannelIdOutput
|
|
49
|
+
* // channelId: "STRING_VALUE", // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetMessagingChannelIdCommandInput - {@link GetMessagingChannelIdCommandInput}
|
|
55
|
+
* @returns {@link GetMessagingChannelIdCommandOutput}
|
|
56
|
+
* @see {@link GetMessagingChannelIdCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetMessagingChannelIdCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class GetMessagingChannelIdCommand extends GetMessagingChannelIdCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: GetMessagingChannelIdInput;
|
|
77
|
+
output: GetMessagingChannelIdOutput;
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: GetMessagingChannelIdCommandInput;
|
|
81
|
+
output: GetMessagingChannelIdCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|