@wildix/xbees-conversations-client 1.0.50 → 1.0.51
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/protocols/Aws_restJson1.js +8 -2
- package/dist-es/protocols/Aws_restJson1.js +8 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +0 -30
- package/dist-types/commands/GetMessageCommand.d.ts +0 -6
- package/dist-types/commands/ListMessagesCommand.d.ts +0 -6
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +1 -12
- package/dist-types/commands/SendGiphyCommand.d.ts +0 -6
- package/dist-types/commands/SendMessageCommand.d.ts +0 -12
- package/dist-types/commands/UpdateMessageCommand.d.ts +1 -12
- package/dist-types/models/models_0.d.ts +15 -40
- package/package.json +1 -1
|
@@ -464,6 +464,9 @@ const se_PartialUpdateMessageCommand = async (input, context) => {
|
|
|
464
464
|
b.bp("/v2/conversations/channels/{channelId}/messages/{messageId}");
|
|
465
465
|
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
466
466
|
b.p('messageId', () => input.messageId, '{messageId}', false);
|
|
467
|
+
const query = (0, smithy_client_1.map)({
|
|
468
|
+
[_u]: [, input[_uI]],
|
|
469
|
+
});
|
|
467
470
|
let body;
|
|
468
471
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
469
472
|
'set': _ => (0, smithy_client_1._json)(_),
|
|
@@ -471,6 +474,7 @@ const se_PartialUpdateMessageCommand = async (input, context) => {
|
|
|
471
474
|
}));
|
|
472
475
|
b.m("PATCH")
|
|
473
476
|
.h(headers)
|
|
477
|
+
.q(query)
|
|
474
478
|
.b(body);
|
|
475
479
|
return b.build();
|
|
476
480
|
};
|
|
@@ -529,7 +533,6 @@ const se_SendMessageCommand = async (input, context) => {
|
|
|
529
533
|
'forward': _ => (0, smithy_client_1._json)(_),
|
|
530
534
|
'mentions': _ => (0, smithy_client_1._json)(_),
|
|
531
535
|
'messageId': [],
|
|
532
|
-
'predefinedReplies': _ => (0, smithy_client_1._json)(_),
|
|
533
536
|
'quote': _ => (0, smithy_client_1._json)(_),
|
|
534
537
|
'text': [],
|
|
535
538
|
}));
|
|
@@ -645,17 +648,20 @@ const se_UpdateMessageCommand = async (input, context) => {
|
|
|
645
648
|
b.bp("/v2/conversations/channels/{channelId}/messages/{messageId}");
|
|
646
649
|
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
647
650
|
b.p('messageId', () => input.messageId, '{messageId}', false);
|
|
651
|
+
const query = (0, smithy_client_1.map)({
|
|
652
|
+
[_u]: [, input[_uI]],
|
|
653
|
+
});
|
|
648
654
|
let body;
|
|
649
655
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
650
656
|
'attachments': _ => (0, smithy_client_1._json)(_),
|
|
651
657
|
'forward': _ => (0, smithy_client_1._json)(_),
|
|
652
658
|
'mentions': _ => (0, smithy_client_1._json)(_),
|
|
653
|
-
'predefinedReplies': _ => (0, smithy_client_1._json)(_),
|
|
654
659
|
'quote': _ => (0, smithy_client_1._json)(_),
|
|
655
660
|
'text': [],
|
|
656
661
|
}));
|
|
657
662
|
b.m("PUT")
|
|
658
663
|
.h(headers)
|
|
664
|
+
.q(query)
|
|
659
665
|
.b(body);
|
|
660
666
|
return b.build();
|
|
661
667
|
};
|
|
@@ -435,6 +435,9 @@ export const se_PartialUpdateMessageCommand = async (input, context) => {
|
|
|
435
435
|
b.bp("/v2/conversations/channels/{channelId}/messages/{messageId}");
|
|
436
436
|
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
437
437
|
b.p('messageId', () => input.messageId, '{messageId}', false);
|
|
438
|
+
const query = map({
|
|
439
|
+
[_u]: [, input[_uI]],
|
|
440
|
+
});
|
|
438
441
|
let body;
|
|
439
442
|
body = JSON.stringify(take(input, {
|
|
440
443
|
'set': _ => _json(_),
|
|
@@ -442,6 +445,7 @@ export const se_PartialUpdateMessageCommand = async (input, context) => {
|
|
|
442
445
|
}));
|
|
443
446
|
b.m("PATCH")
|
|
444
447
|
.h(headers)
|
|
448
|
+
.q(query)
|
|
445
449
|
.b(body);
|
|
446
450
|
return b.build();
|
|
447
451
|
};
|
|
@@ -497,7 +501,6 @@ export const se_SendMessageCommand = async (input, context) => {
|
|
|
497
501
|
'forward': _ => _json(_),
|
|
498
502
|
'mentions': _ => _json(_),
|
|
499
503
|
'messageId': [],
|
|
500
|
-
'predefinedReplies': _ => _json(_),
|
|
501
504
|
'quote': _ => _json(_),
|
|
502
505
|
'text': [],
|
|
503
506
|
}));
|
|
@@ -607,17 +610,20 @@ export const se_UpdateMessageCommand = async (input, context) => {
|
|
|
607
610
|
b.bp("/v2/conversations/channels/{channelId}/messages/{messageId}");
|
|
608
611
|
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
609
612
|
b.p('messageId', () => input.messageId, '{messageId}', false);
|
|
613
|
+
const query = map({
|
|
614
|
+
[_u]: [, input[_uI]],
|
|
615
|
+
});
|
|
610
616
|
let body;
|
|
611
617
|
body = JSON.stringify(take(input, {
|
|
612
618
|
'attachments': _ => _json(_),
|
|
613
619
|
'forward': _ => _json(_),
|
|
614
620
|
'mentions': _ => _json(_),
|
|
615
|
-
'predefinedReplies': _ => _json(_),
|
|
616
621
|
'quote': _ => _json(_),
|
|
617
622
|
'text': [],
|
|
618
623
|
}));
|
|
619
624
|
b.m("PUT")
|
|
620
625
|
.h(headers)
|
|
626
|
+
.q(query)
|
|
621
627
|
.b(body);
|
|
622
628
|
return b.build();
|
|
623
629
|
};
|
|
@@ -525,12 +525,6 @@ declare const DescribeEventCommand_base: {
|
|
|
525
525
|
* // forwardEmail: "STRING_VALUE",
|
|
526
526
|
* // forwardName: "STRING_VALUE",
|
|
527
527
|
* // },
|
|
528
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
529
|
-
* // { // MessagePredefinedReply
|
|
530
|
-
* // text: "STRING_VALUE", // required
|
|
531
|
-
* // label: "STRING_VALUE",
|
|
532
|
-
* // },
|
|
533
|
-
* // ],
|
|
534
528
|
* // type: "regular" || "system", // required
|
|
535
529
|
* // giphy: {
|
|
536
530
|
* // id: "STRING_VALUE",
|
|
@@ -629,12 +623,6 @@ declare const DescribeEventCommand_base: {
|
|
|
629
623
|
* // forwardEmail: "STRING_VALUE",
|
|
630
624
|
* // forwardName: "STRING_VALUE",
|
|
631
625
|
* // },
|
|
632
|
-
* // predefinedReplies: [
|
|
633
|
-
* // {
|
|
634
|
-
* // text: "STRING_VALUE", // required
|
|
635
|
-
* // label: "STRING_VALUE",
|
|
636
|
-
* // },
|
|
637
|
-
* // ],
|
|
638
626
|
* // type: "regular" || "system", // required
|
|
639
627
|
* // giphy: {
|
|
640
628
|
* // id: "STRING_VALUE",
|
|
@@ -717,12 +705,6 @@ declare const DescribeEventCommand_base: {
|
|
|
717
705
|
* // updatedAt: "STRING_VALUE",
|
|
718
706
|
* // },
|
|
719
707
|
* // forward: "<MessageForward>",
|
|
720
|
-
* // predefinedReplies: [
|
|
721
|
-
* // {
|
|
722
|
-
* // text: "STRING_VALUE", // required
|
|
723
|
-
* // label: "STRING_VALUE",
|
|
724
|
-
* // },
|
|
725
|
-
* // ],
|
|
726
708
|
* // type: "regular" || "system", // required
|
|
727
709
|
* // giphy: "<MessageGiphy>",
|
|
728
710
|
* // silent: true || false,
|
|
@@ -777,12 +759,6 @@ declare const DescribeEventCommand_base: {
|
|
|
777
759
|
* // updatedAt: "STRING_VALUE",
|
|
778
760
|
* // },
|
|
779
761
|
* // forward: "<MessageForward>",
|
|
780
|
-
* // predefinedReplies: [
|
|
781
|
-
* // {
|
|
782
|
-
* // text: "STRING_VALUE", // required
|
|
783
|
-
* // label: "STRING_VALUE",
|
|
784
|
-
* // },
|
|
785
|
-
* // ],
|
|
786
762
|
* // type: "regular" || "system", // required
|
|
787
763
|
* // giphy: "<MessageGiphy>",
|
|
788
764
|
* // silent: true || false,
|
|
@@ -843,12 +819,6 @@ declare const DescribeEventCommand_base: {
|
|
|
843
819
|
* // updatedAt: "STRING_VALUE",
|
|
844
820
|
* // },
|
|
845
821
|
* // forward: "<MessageForward>",
|
|
846
|
-
* // predefinedReplies: [
|
|
847
|
-
* // {
|
|
848
|
-
* // text: "STRING_VALUE", // required
|
|
849
|
-
* // label: "STRING_VALUE",
|
|
850
|
-
* // },
|
|
851
|
-
* // ],
|
|
852
822
|
* // type: "regular" || "system", // required
|
|
853
823
|
* // giphy: "<MessageGiphy>",
|
|
854
824
|
* // silent: true || false,
|
|
@@ -131,12 +131,6 @@ declare const GetMessageCommand_base: {
|
|
|
131
131
|
* // forwardEmail: "STRING_VALUE",
|
|
132
132
|
* // forwardName: "STRING_VALUE",
|
|
133
133
|
* // },
|
|
134
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
135
|
-
* // { // MessagePredefinedReply
|
|
136
|
-
* // text: "STRING_VALUE", // required
|
|
137
|
-
* // label: "STRING_VALUE",
|
|
138
|
-
* // },
|
|
139
|
-
* // ],
|
|
140
134
|
* // type: "regular" || "system", // required
|
|
141
135
|
* // giphy: {
|
|
142
136
|
* // id: "STRING_VALUE",
|
|
@@ -133,12 +133,6 @@ declare const ListMessagesCommand_base: {
|
|
|
133
133
|
* // forwardEmail: "STRING_VALUE",
|
|
134
134
|
* // forwardName: "STRING_VALUE",
|
|
135
135
|
* // },
|
|
136
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
137
|
-
* // { // MessagePredefinedReply
|
|
138
|
-
* // text: "STRING_VALUE", // required
|
|
139
|
-
* // label: "STRING_VALUE",
|
|
140
|
-
* // },
|
|
141
|
-
* // ],
|
|
142
136
|
* // type: "regular" || "system", // required
|
|
143
137
|
* // giphy: {
|
|
144
138
|
* // id: "STRING_VALUE",
|
|
@@ -37,6 +37,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
37
37
|
* const input = { // PartialUpdateMessageInput
|
|
38
38
|
* channelId: "STRING_VALUE", // required
|
|
39
39
|
* messageId: "STRING_VALUE", // required
|
|
40
|
+
* userId: "STRING_VALUE",
|
|
40
41
|
* set: { // PartialUpdateMessageSetInput
|
|
41
42
|
* text: "STRING_VALUE",
|
|
42
43
|
* attachments: [ // MessageAttachmentList
|
|
@@ -127,12 +128,6 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
127
128
|
* forwardEmail: "STRING_VALUE",
|
|
128
129
|
* forwardName: "STRING_VALUE",
|
|
129
130
|
* },
|
|
130
|
-
* predefinedReplies: [ // MessagePredefinedRepliesList
|
|
131
|
-
* { // MessagePredefinedReply
|
|
132
|
-
* text: "STRING_VALUE", // required
|
|
133
|
-
* label: "STRING_VALUE",
|
|
134
|
-
* },
|
|
135
|
-
* ],
|
|
136
131
|
* },
|
|
137
132
|
* unset: [ // MessageUnsetFieldsList
|
|
138
133
|
* "text" || "attachments" || "quote" || "forward",
|
|
@@ -231,12 +226,6 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
231
226
|
* // forwardEmail: "STRING_VALUE",
|
|
232
227
|
* // forwardName: "STRING_VALUE",
|
|
233
228
|
* // },
|
|
234
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
235
|
-
* // { // MessagePredefinedReply
|
|
236
|
-
* // text: "STRING_VALUE", // required
|
|
237
|
-
* // label: "STRING_VALUE",
|
|
238
|
-
* // },
|
|
239
|
-
* // ],
|
|
240
229
|
* // type: "regular" || "system", // required
|
|
241
230
|
* // giphy: {
|
|
242
231
|
* // id: "STRING_VALUE",
|
|
@@ -139,12 +139,6 @@ declare const SendGiphyCommand_base: {
|
|
|
139
139
|
* // forwardEmail: "STRING_VALUE",
|
|
140
140
|
* // forwardName: "STRING_VALUE",
|
|
141
141
|
* // },
|
|
142
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
143
|
-
* // { // MessagePredefinedReply
|
|
144
|
-
* // text: "STRING_VALUE", // required
|
|
145
|
-
* // label: "STRING_VALUE",
|
|
146
|
-
* // },
|
|
147
|
-
* // ],
|
|
148
142
|
* // type: "regular" || "system", // required
|
|
149
143
|
* // giphy: {
|
|
150
144
|
* // id: "STRING_VALUE",
|
|
@@ -124,12 +124,6 @@ declare const SendMessageCommand_base: {
|
|
|
124
124
|
* forwardEmail: "STRING_VALUE",
|
|
125
125
|
* forwardName: "STRING_VALUE",
|
|
126
126
|
* },
|
|
127
|
-
* predefinedReplies: [ // MessagePredefinedRepliesList
|
|
128
|
-
* { // MessagePredefinedReply
|
|
129
|
-
* text: "STRING_VALUE", // required
|
|
130
|
-
* label: "STRING_VALUE",
|
|
131
|
-
* },
|
|
132
|
-
* ],
|
|
133
127
|
* channelId: "STRING_VALUE", // required
|
|
134
128
|
* userId: "STRING_VALUE",
|
|
135
129
|
* messageId: "STRING_VALUE",
|
|
@@ -230,12 +224,6 @@ declare const SendMessageCommand_base: {
|
|
|
230
224
|
* // forwardEmail: "STRING_VALUE",
|
|
231
225
|
* // forwardName: "STRING_VALUE",
|
|
232
226
|
* // },
|
|
233
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
234
|
-
* // { // MessagePredefinedReply
|
|
235
|
-
* // text: "STRING_VALUE", // required
|
|
236
|
-
* // label: "STRING_VALUE",
|
|
237
|
-
* // },
|
|
238
|
-
* // ],
|
|
239
227
|
* // type: "regular" || "system", // required
|
|
240
228
|
* // giphy: {
|
|
241
229
|
* // id: "STRING_VALUE",
|
|
@@ -124,14 +124,9 @@ declare const UpdateMessageCommand_base: {
|
|
|
124
124
|
* forwardEmail: "STRING_VALUE",
|
|
125
125
|
* forwardName: "STRING_VALUE",
|
|
126
126
|
* },
|
|
127
|
-
* predefinedReplies: [ // MessagePredefinedRepliesList
|
|
128
|
-
* { // MessagePredefinedReply
|
|
129
|
-
* text: "STRING_VALUE", // required
|
|
130
|
-
* label: "STRING_VALUE",
|
|
131
|
-
* },
|
|
132
|
-
* ],
|
|
133
127
|
* channelId: "STRING_VALUE", // required
|
|
134
128
|
* messageId: "STRING_VALUE", // required
|
|
129
|
+
* userId: "STRING_VALUE",
|
|
135
130
|
* mentions: [ // UsersIdList
|
|
136
131
|
* "STRING_VALUE",
|
|
137
132
|
* ],
|
|
@@ -229,12 +224,6 @@ declare const UpdateMessageCommand_base: {
|
|
|
229
224
|
* // forwardEmail: "STRING_VALUE",
|
|
230
225
|
* // forwardName: "STRING_VALUE",
|
|
231
226
|
* // },
|
|
232
|
-
* // predefinedReplies: [ // MessagePredefinedRepliesList
|
|
233
|
-
* // { // MessagePredefinedReply
|
|
234
|
-
* // text: "STRING_VALUE", // required
|
|
235
|
-
* // label: "STRING_VALUE",
|
|
236
|
-
* // },
|
|
237
|
-
* // ],
|
|
238
227
|
* // type: "regular" || "system", // required
|
|
239
228
|
* // giphy: {
|
|
240
229
|
* // id: "STRING_VALUE",
|
|
@@ -703,21 +703,6 @@ export interface Reaction {
|
|
|
703
703
|
messageId?: string;
|
|
704
704
|
user?: User;
|
|
705
705
|
}
|
|
706
|
-
/**
|
|
707
|
-
* @public
|
|
708
|
-
*/
|
|
709
|
-
export interface MessagePredefinedReply {
|
|
710
|
-
/**
|
|
711
|
-
* Text that will be sent to the user; clicking the text will trigger sending this message.
|
|
712
|
-
* @public
|
|
713
|
-
*/
|
|
714
|
-
text: string;
|
|
715
|
-
/**
|
|
716
|
-
* Label that will appear on the reply button; if no label is provided, the text will be used.
|
|
717
|
-
* @public
|
|
718
|
-
*/
|
|
719
|
-
label?: string;
|
|
720
|
-
}
|
|
721
706
|
/**
|
|
722
707
|
* @public
|
|
723
708
|
*/
|
|
@@ -781,11 +766,6 @@ export interface Message {
|
|
|
781
766
|
attachments?: (MessageAttachment)[];
|
|
782
767
|
quote?: MessageQuote;
|
|
783
768
|
forward?: MessageForward;
|
|
784
|
-
/**
|
|
785
|
-
* A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
|
|
786
|
-
* @public
|
|
787
|
-
*/
|
|
788
|
-
predefinedReplies?: (MessagePredefinedReply)[];
|
|
789
769
|
type: MessageType;
|
|
790
770
|
giphy?: MessageGiphy;
|
|
791
771
|
silent?: boolean;
|
|
@@ -1039,7 +1019,7 @@ export interface GetMessageInput {
|
|
|
1039
1019
|
* @public
|
|
1040
1020
|
*/
|
|
1041
1021
|
export interface GetMessageOutput {
|
|
1042
|
-
message
|
|
1022
|
+
message: Message;
|
|
1043
1023
|
}
|
|
1044
1024
|
/**
|
|
1045
1025
|
* @public
|
|
@@ -1429,11 +1409,6 @@ export interface PartialUpdateMessageSetInput {
|
|
|
1429
1409
|
attachments?: (MessageAttachment)[];
|
|
1430
1410
|
quote?: MessageQuote;
|
|
1431
1411
|
forward?: MessageForward;
|
|
1432
|
-
/**
|
|
1433
|
-
* A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
|
|
1434
|
-
* @public
|
|
1435
|
-
*/
|
|
1436
|
-
predefinedReplies?: (MessagePredefinedReply)[];
|
|
1437
1412
|
}
|
|
1438
1413
|
/**
|
|
1439
1414
|
* @public
|
|
@@ -1463,6 +1438,11 @@ export interface PartialUpdateMessageInput {
|
|
|
1463
1438
|
* @public
|
|
1464
1439
|
*/
|
|
1465
1440
|
messageId: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* The unique identifier of the user when a service token is used.
|
|
1443
|
+
* @public
|
|
1444
|
+
*/
|
|
1445
|
+
userId?: string;
|
|
1466
1446
|
/**
|
|
1467
1447
|
* Fields to set during the partial update.
|
|
1468
1448
|
* @public
|
|
@@ -1478,7 +1458,7 @@ export interface PartialUpdateMessageInput {
|
|
|
1478
1458
|
* @public
|
|
1479
1459
|
*/
|
|
1480
1460
|
export interface PartialUpdateMessageOutput {
|
|
1481
|
-
message
|
|
1461
|
+
message: Message;
|
|
1482
1462
|
}
|
|
1483
1463
|
/**
|
|
1484
1464
|
* @public
|
|
@@ -1535,7 +1515,7 @@ export interface SendGiphyInput {
|
|
|
1535
1515
|
* @public
|
|
1536
1516
|
*/
|
|
1537
1517
|
export interface SendGiphyOutput {
|
|
1538
|
-
message
|
|
1518
|
+
message: Message;
|
|
1539
1519
|
}
|
|
1540
1520
|
/**
|
|
1541
1521
|
* @public
|
|
@@ -1545,11 +1525,6 @@ export interface SendMessageInput {
|
|
|
1545
1525
|
attachments?: (MessageAttachment)[];
|
|
1546
1526
|
quote?: MessageQuote;
|
|
1547
1527
|
forward?: MessageForward;
|
|
1548
|
-
/**
|
|
1549
|
-
* A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
|
|
1550
|
-
* @public
|
|
1551
|
-
*/
|
|
1552
|
-
predefinedReplies?: (MessagePredefinedReply)[];
|
|
1553
1528
|
/**
|
|
1554
1529
|
* The unique identifier of the channel to which the message is sent.
|
|
1555
1530
|
* @public
|
|
@@ -1575,7 +1550,7 @@ export interface SendMessageInput {
|
|
|
1575
1550
|
* @public
|
|
1576
1551
|
*/
|
|
1577
1552
|
export interface SendMessageOutput {
|
|
1578
|
-
message
|
|
1553
|
+
message: Message;
|
|
1579
1554
|
}
|
|
1580
1555
|
/**
|
|
1581
1556
|
* @public
|
|
@@ -1731,11 +1706,6 @@ export interface UpdateMessageInput {
|
|
|
1731
1706
|
attachments?: (MessageAttachment)[];
|
|
1732
1707
|
quote?: MessageQuote;
|
|
1733
1708
|
forward?: MessageForward;
|
|
1734
|
-
/**
|
|
1735
|
-
* A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
|
|
1736
|
-
* @public
|
|
1737
|
-
*/
|
|
1738
|
-
predefinedReplies?: (MessagePredefinedReply)[];
|
|
1739
1709
|
/**
|
|
1740
1710
|
* The unique identifier of the channel containing the message.
|
|
1741
1711
|
* @public
|
|
@@ -1746,6 +1716,11 @@ export interface UpdateMessageInput {
|
|
|
1746
1716
|
* @public
|
|
1747
1717
|
*/
|
|
1748
1718
|
messageId: string;
|
|
1719
|
+
/**
|
|
1720
|
+
* The unique identifier of the user when a service token is used.
|
|
1721
|
+
* @public
|
|
1722
|
+
*/
|
|
1723
|
+
userId?: string;
|
|
1749
1724
|
/**
|
|
1750
1725
|
* A list of user IDs mentioned in the message.
|
|
1751
1726
|
* @public
|
|
@@ -1756,7 +1731,7 @@ export interface UpdateMessageInput {
|
|
|
1756
1731
|
* @public
|
|
1757
1732
|
*/
|
|
1758
1733
|
export interface UpdateMessageOutput {
|
|
1759
|
-
message
|
|
1734
|
+
message: Message;
|
|
1760
1735
|
}
|
|
1761
1736
|
/**
|
|
1762
1737
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.51",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|