@wildix/xbees-conversations-client 1.0.65 → 1.1.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/models/models_0.js +19 -29
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/dist-es/models/models_0.js +17 -27
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +10 -130
- package/dist-types/commands/GetMessageCommand.d.ts +23 -60
- package/dist-types/commands/ListMessagesCommand.d.ts +23 -60
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +23 -60
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +46 -120
- package/dist-types/commands/PinMessageCommand.d.ts +1 -1
- package/dist-types/commands/SendGiphyCommand.d.ts +23 -60
- package/dist-types/commands/SendMessageCommand.d.ts +46 -120
- package/dist-types/commands/UpdateMessageCommand.d.ts +46 -120
- package/dist-types/models/models_0.d.ts +30 -161
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MessageActionNotFoundException = exports.TaggedChannelsLimitReachedException = exports.ConversationsServiceException = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MarkUnreadChannelsLimitReachedException = exports.TagNotFoundException = exports.
|
|
3
|
+
exports.MessageActionNotFoundException = exports.TaggedChannelsLimitReachedException = exports.ConversationsServiceException = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MarkUnreadChannelsLimitReachedException = exports.TagNotFoundException = exports.TriggerNotFoundException = exports.WebhookEventType = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.TagsLimitReachedException = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ActionTriggerStatus = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChannelType = exports.FileNotFoundException = exports.ConversationFileCategory = exports.RateLimitExceededException = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
5
|
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -45,6 +45,24 @@ class RateLimitExceededException extends ConversationsServiceException_1.Convers
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
exports.RateLimitExceededException = RateLimitExceededException;
|
|
48
|
+
exports.ConversationFileCategory = {
|
|
49
|
+
GENERAL: "channels",
|
|
50
|
+
RECORDING: "recordings",
|
|
51
|
+
WIZY_RECORDING: "wizyconfRecordings",
|
|
52
|
+
};
|
|
53
|
+
class FileNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "FileNotFoundException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts
|
|
59
|
+
});
|
|
60
|
+
this.name = "FileNotFoundException";
|
|
61
|
+
this.$fault = "client";
|
|
62
|
+
Object.setPrototypeOf(this, FileNotFoundException.prototype);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.FileNotFoundException = FileNotFoundException;
|
|
48
66
|
exports.ChannelType = {
|
|
49
67
|
DIRECT: "direct",
|
|
50
68
|
GROUP: "group",
|
|
@@ -136,11 +154,6 @@ class ChannelAlreadyExistException extends ConversationsServiceException_1.Conve
|
|
|
136
154
|
}
|
|
137
155
|
}
|
|
138
156
|
exports.ChannelAlreadyExistException = ChannelAlreadyExistException;
|
|
139
|
-
exports.ConversationFileCategory = {
|
|
140
|
-
GENERAL: "channels",
|
|
141
|
-
RECORDING: "recordings",
|
|
142
|
-
WIZY_RECORDING: "wizyconfRecordings",
|
|
143
|
-
};
|
|
144
157
|
class TagsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
145
158
|
constructor(opts) {
|
|
146
159
|
super({
|
|
@@ -194,16 +207,6 @@ exports.ReactionType = {
|
|
|
194
207
|
var Element;
|
|
195
208
|
(function (Element) {
|
|
196
209
|
Element.visit = (value, visitor) => {
|
|
197
|
-
if (value.text !== undefined)
|
|
198
|
-
return visitor.text(value.text);
|
|
199
|
-
if (value.link !== undefined)
|
|
200
|
-
return visitor.link(value.link);
|
|
201
|
-
if (value.email !== undefined)
|
|
202
|
-
return visitor.email(value.email);
|
|
203
|
-
if (value.phone !== undefined)
|
|
204
|
-
return visitor.phone(value.phone);
|
|
205
|
-
if (value.mention !== undefined)
|
|
206
|
-
return visitor.mention(value.mention);
|
|
207
210
|
if (value.actions !== undefined)
|
|
208
211
|
return visitor.actions(value.actions);
|
|
209
212
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -250,19 +253,6 @@ class TriggerNotFoundException extends ConversationsServiceException_1.Conversat
|
|
|
250
253
|
}
|
|
251
254
|
}
|
|
252
255
|
exports.TriggerNotFoundException = TriggerNotFoundException;
|
|
253
|
-
class FileNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
254
|
-
constructor(opts) {
|
|
255
|
-
super({
|
|
256
|
-
name: "FileNotFoundException",
|
|
257
|
-
$fault: "client",
|
|
258
|
-
...opts
|
|
259
|
-
});
|
|
260
|
-
this.name = "FileNotFoundException";
|
|
261
|
-
this.$fault = "client";
|
|
262
|
-
Object.setPrototypeOf(this, FileNotFoundException.prototype);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
exports.FileNotFoundException = FileNotFoundException;
|
|
266
256
|
class TagNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
267
257
|
constructor(opts) {
|
|
268
258
|
super({
|
|
@@ -39,6 +39,23 @@ export class RateLimitExceededException extends __BaseException {
|
|
|
39
39
|
this.retryAfter = opts.retryAfter;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
+
export const ConversationFileCategory = {
|
|
43
|
+
GENERAL: "channels",
|
|
44
|
+
RECORDING: "recordings",
|
|
45
|
+
WIZY_RECORDING: "wizyconfRecordings",
|
|
46
|
+
};
|
|
47
|
+
export class FileNotFoundException extends __BaseException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "FileNotFoundException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts
|
|
53
|
+
});
|
|
54
|
+
this.name = "FileNotFoundException";
|
|
55
|
+
this.$fault = "client";
|
|
56
|
+
Object.setPrototypeOf(this, FileNotFoundException.prototype);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
42
59
|
export const ChannelType = {
|
|
43
60
|
DIRECT: "direct",
|
|
44
61
|
GROUP: "group",
|
|
@@ -127,11 +144,6 @@ export class ChannelAlreadyExistException extends __BaseException {
|
|
|
127
144
|
Object.setPrototypeOf(this, ChannelAlreadyExistException.prototype);
|
|
128
145
|
}
|
|
129
146
|
}
|
|
130
|
-
export const ConversationFileCategory = {
|
|
131
|
-
GENERAL: "channels",
|
|
132
|
-
RECORDING: "recordings",
|
|
133
|
-
WIZY_RECORDING: "wizyconfRecordings",
|
|
134
|
-
};
|
|
135
147
|
export class TagsLimitReachedException extends __BaseException {
|
|
136
148
|
constructor(opts) {
|
|
137
149
|
super({
|
|
@@ -182,16 +194,6 @@ export const ReactionType = {
|
|
|
182
194
|
export var Element;
|
|
183
195
|
(function (Element) {
|
|
184
196
|
Element.visit = (value, visitor) => {
|
|
185
|
-
if (value.text !== undefined)
|
|
186
|
-
return visitor.text(value.text);
|
|
187
|
-
if (value.link !== undefined)
|
|
188
|
-
return visitor.link(value.link);
|
|
189
|
-
if (value.email !== undefined)
|
|
190
|
-
return visitor.email(value.email);
|
|
191
|
-
if (value.phone !== undefined)
|
|
192
|
-
return visitor.phone(value.phone);
|
|
193
|
-
if (value.mention !== undefined)
|
|
194
|
-
return visitor.mention(value.mention);
|
|
195
197
|
if (value.actions !== undefined)
|
|
196
198
|
return visitor.actions(value.actions);
|
|
197
199
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -237,18 +239,6 @@ export class TriggerNotFoundException extends __BaseException {
|
|
|
237
239
|
Object.setPrototypeOf(this, TriggerNotFoundException.prototype);
|
|
238
240
|
}
|
|
239
241
|
}
|
|
240
|
-
export class FileNotFoundException extends __BaseException {
|
|
241
|
-
constructor(opts) {
|
|
242
|
-
super({
|
|
243
|
-
name: "FileNotFoundException",
|
|
244
|
-
$fault: "client",
|
|
245
|
-
...opts
|
|
246
|
-
});
|
|
247
|
-
this.name = "FileNotFoundException";
|
|
248
|
-
this.$fault = "client";
|
|
249
|
-
Object.setPrototypeOf(this, FileNotFoundException.prototype);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
242
|
export class TagNotFoundException extends __BaseException {
|
|
253
243
|
constructor(opts) {
|
|
254
244
|
super({
|
|
@@ -473,47 +473,6 @@ declare const DescribeEventCommand_base: {
|
|
|
473
473
|
* // text: "STRING_VALUE",
|
|
474
474
|
* // elements: [ // ElementsList
|
|
475
475
|
* // { // Element Union: only one key present
|
|
476
|
-
* // text: { // TextElement
|
|
477
|
-
* // value: "STRING_VALUE", // required
|
|
478
|
-
* // style: { // TextStyle
|
|
479
|
-
* // italic: true || false,
|
|
480
|
-
* // bold: true || false,
|
|
481
|
-
* // strike: true || false,
|
|
482
|
-
* // code: true || false,
|
|
483
|
-
* // },
|
|
484
|
-
* // },
|
|
485
|
-
* // link: { // LinkElement
|
|
486
|
-
* // url: "STRING_VALUE", // required
|
|
487
|
-
* // text: "STRING_VALUE",
|
|
488
|
-
* // style: {
|
|
489
|
-
* // italic: true || false,
|
|
490
|
-
* // bold: true || false,
|
|
491
|
-
* // strike: true || false,
|
|
492
|
-
* // code: true || false,
|
|
493
|
-
* // },
|
|
494
|
-
* // },
|
|
495
|
-
* // email: { // EmailElement
|
|
496
|
-
* // value: "STRING_VALUE", // required
|
|
497
|
-
* // style: {
|
|
498
|
-
* // italic: true || false,
|
|
499
|
-
* // bold: true || false,
|
|
500
|
-
* // strike: true || false,
|
|
501
|
-
* // code: true || false,
|
|
502
|
-
* // },
|
|
503
|
-
* // },
|
|
504
|
-
* // phone: { // PhoneElement
|
|
505
|
-
* // value: "STRING_VALUE", // required
|
|
506
|
-
* // style: {
|
|
507
|
-
* // italic: true || false,
|
|
508
|
-
* // bold: true || false,
|
|
509
|
-
* // strike: true || false,
|
|
510
|
-
* // code: true || false,
|
|
511
|
-
* // },
|
|
512
|
-
* // },
|
|
513
|
-
* // mention: { // MentionElement
|
|
514
|
-
* // text: "STRING_VALUE", // required
|
|
515
|
-
* // user: "<User>", // required
|
|
516
|
-
* // },
|
|
517
476
|
* // actions: [ // ActionsElementsList
|
|
518
477
|
* // { // ActionElement Union: only one key present
|
|
519
478
|
* // button: { // ButtonElement
|
|
@@ -570,6 +529,8 @@ declare const DescribeEventCommand_base: {
|
|
|
570
529
|
* // forwardDate: "STRING_VALUE", // required
|
|
571
530
|
* // forwardEmail: "STRING_VALUE",
|
|
572
531
|
* // forwardName: "STRING_VALUE",
|
|
532
|
+
* // messageId: "STRING_VALUE", // required
|
|
533
|
+
* // channelId: "STRING_VALUE", // required
|
|
573
534
|
* // },
|
|
574
535
|
* // mentions: [
|
|
575
536
|
* // "<User>",
|
|
@@ -589,6 +550,8 @@ declare const DescribeEventCommand_base: {
|
|
|
589
550
|
* // forwardDate: "STRING_VALUE", // required
|
|
590
551
|
* // forwardEmail: "STRING_VALUE",
|
|
591
552
|
* // forwardName: "STRING_VALUE",
|
|
553
|
+
* // messageId: "STRING_VALUE", // required
|
|
554
|
+
* // channelId: "STRING_VALUE", // required
|
|
592
555
|
* // },
|
|
593
556
|
* // type: "regular" || "system", // required
|
|
594
557
|
* // giphy: {
|
|
@@ -638,32 +601,6 @@ declare const DescribeEventCommand_base: {
|
|
|
638
601
|
* // text: "STRING_VALUE",
|
|
639
602
|
* // elements: [
|
|
640
603
|
* // {// Union: only one key present
|
|
641
|
-
* // text: {
|
|
642
|
-
* // value: "STRING_VALUE", // required
|
|
643
|
-
* // style: {
|
|
644
|
-
* // italic: true || false,
|
|
645
|
-
* // bold: true || false,
|
|
646
|
-
* // strike: true || false,
|
|
647
|
-
* // code: true || false,
|
|
648
|
-
* // },
|
|
649
|
-
* // },
|
|
650
|
-
* // link: {
|
|
651
|
-
* // url: "STRING_VALUE", // required
|
|
652
|
-
* // text: "STRING_VALUE",
|
|
653
|
-
* // style: "<TextStyle>",
|
|
654
|
-
* // },
|
|
655
|
-
* // email: {
|
|
656
|
-
* // value: "STRING_VALUE", // required
|
|
657
|
-
* // style: "<TextStyle>",
|
|
658
|
-
* // },
|
|
659
|
-
* // phone: {
|
|
660
|
-
* // value: "STRING_VALUE", // required
|
|
661
|
-
* // style: "<TextStyle>",
|
|
662
|
-
* // },
|
|
663
|
-
* // mention: {
|
|
664
|
-
* // text: "STRING_VALUE", // required
|
|
665
|
-
* // user: "<User>", // required
|
|
666
|
-
* // },
|
|
667
604
|
* // actions: [
|
|
668
605
|
* // {// Union: only one key present
|
|
669
606
|
* // button: {
|
|
@@ -720,6 +657,8 @@ declare const DescribeEventCommand_base: {
|
|
|
720
657
|
* // forwardDate: "STRING_VALUE", // required
|
|
721
658
|
* // forwardEmail: "STRING_VALUE",
|
|
722
659
|
* // forwardName: "STRING_VALUE",
|
|
660
|
+
* // messageId: "STRING_VALUE", // required
|
|
661
|
+
* // channelId: "STRING_VALUE", // required
|
|
723
662
|
* // },
|
|
724
663
|
* // mentions: "<UsersList>",
|
|
725
664
|
* // giphy: {
|
|
@@ -737,6 +676,8 @@ declare const DescribeEventCommand_base: {
|
|
|
737
676
|
* // forwardDate: "STRING_VALUE", // required
|
|
738
677
|
* // forwardEmail: "STRING_VALUE",
|
|
739
678
|
* // forwardName: "STRING_VALUE",
|
|
679
|
+
* // messageId: "STRING_VALUE", // required
|
|
680
|
+
* // channelId: "STRING_VALUE", // required
|
|
740
681
|
* // },
|
|
741
682
|
* // type: "regular" || "system", // required
|
|
742
683
|
* // giphy: {
|
|
@@ -786,27 +727,6 @@ declare const DescribeEventCommand_base: {
|
|
|
786
727
|
* // text: "STRING_VALUE",
|
|
787
728
|
* // elements: [
|
|
788
729
|
* // {// Union: only one key present
|
|
789
|
-
* // text: {
|
|
790
|
-
* // value: "STRING_VALUE", // required
|
|
791
|
-
* // style: "<TextStyle>",
|
|
792
|
-
* // },
|
|
793
|
-
* // link: {
|
|
794
|
-
* // url: "STRING_VALUE", // required
|
|
795
|
-
* // text: "STRING_VALUE",
|
|
796
|
-
* // style: "<TextStyle>",
|
|
797
|
-
* // },
|
|
798
|
-
* // email: {
|
|
799
|
-
* // value: "STRING_VALUE", // required
|
|
800
|
-
* // style: "<TextStyle>",
|
|
801
|
-
* // },
|
|
802
|
-
* // phone: {
|
|
803
|
-
* // value: "STRING_VALUE", // required
|
|
804
|
-
* // style: "<TextStyle>",
|
|
805
|
-
* // },
|
|
806
|
-
* // mention: {
|
|
807
|
-
* // text: "STRING_VALUE", // required
|
|
808
|
-
* // user: "<User>", // required
|
|
809
|
-
* // },
|
|
810
730
|
* // actions: [
|
|
811
731
|
* // {// Union: only one key present
|
|
812
732
|
* // button: {
|
|
@@ -852,6 +772,8 @@ declare const DescribeEventCommand_base: {
|
|
|
852
772
|
* // forwardDate: "STRING_VALUE", // required
|
|
853
773
|
* // forwardEmail: "STRING_VALUE",
|
|
854
774
|
* // forwardName: "STRING_VALUE",
|
|
775
|
+
* // messageId: "STRING_VALUE", // required
|
|
776
|
+
* // channelId: "STRING_VALUE", // required
|
|
855
777
|
* // },
|
|
856
778
|
* // mentions: "<UsersList>",
|
|
857
779
|
* // giphy: {
|
|
@@ -907,27 +829,6 @@ declare const DescribeEventCommand_base: {
|
|
|
907
829
|
* // text: "STRING_VALUE",
|
|
908
830
|
* // elements: [
|
|
909
831
|
* // {// Union: only one key present
|
|
910
|
-
* // text: {
|
|
911
|
-
* // value: "STRING_VALUE", // required
|
|
912
|
-
* // style: "<TextStyle>",
|
|
913
|
-
* // },
|
|
914
|
-
* // link: {
|
|
915
|
-
* // url: "STRING_VALUE", // required
|
|
916
|
-
* // text: "STRING_VALUE",
|
|
917
|
-
* // style: "<TextStyle>",
|
|
918
|
-
* // },
|
|
919
|
-
* // email: {
|
|
920
|
-
* // value: "STRING_VALUE", // required
|
|
921
|
-
* // style: "<TextStyle>",
|
|
922
|
-
* // },
|
|
923
|
-
* // phone: {
|
|
924
|
-
* // value: "STRING_VALUE", // required
|
|
925
|
-
* // style: "<TextStyle>",
|
|
926
|
-
* // },
|
|
927
|
-
* // mention: {
|
|
928
|
-
* // text: "STRING_VALUE", // required
|
|
929
|
-
* // user: "<User>", // required
|
|
930
|
-
* // },
|
|
931
832
|
* // actions: [
|
|
932
833
|
* // {// Union: only one key present
|
|
933
834
|
* // button: {
|
|
@@ -1012,27 +913,6 @@ declare const DescribeEventCommand_base: {
|
|
|
1012
913
|
* // text: "STRING_VALUE",
|
|
1013
914
|
* // elements: [
|
|
1014
915
|
* // {// Union: only one key present
|
|
1015
|
-
* // text: {
|
|
1016
|
-
* // value: "STRING_VALUE", // required
|
|
1017
|
-
* // style: "<TextStyle>",
|
|
1018
|
-
* // },
|
|
1019
|
-
* // link: {
|
|
1020
|
-
* // url: "STRING_VALUE", // required
|
|
1021
|
-
* // text: "STRING_VALUE",
|
|
1022
|
-
* // style: "<TextStyle>",
|
|
1023
|
-
* // },
|
|
1024
|
-
* // email: {
|
|
1025
|
-
* // value: "STRING_VALUE", // required
|
|
1026
|
-
* // style: "<TextStyle>",
|
|
1027
|
-
* // },
|
|
1028
|
-
* // phone: {
|
|
1029
|
-
* // value: "STRING_VALUE", // required
|
|
1030
|
-
* // style: "<TextStyle>",
|
|
1031
|
-
* // },
|
|
1032
|
-
* // mention: {
|
|
1033
|
-
* // text: "STRING_VALUE", // required
|
|
1034
|
-
* // user: "<User>", // required
|
|
1035
|
-
* // },
|
|
1036
916
|
* // actions: [
|
|
1037
917
|
* // {// Union: only one key present
|
|
1038
918
|
* // button: {
|
|
@@ -45,64 +45,6 @@ declare const GetMessageCommand_base: {
|
|
|
45
45
|
* // text: "STRING_VALUE",
|
|
46
46
|
* // elements: [ // ElementsList
|
|
47
47
|
* // { // Element Union: only one key present
|
|
48
|
-
* // text: { // TextElement
|
|
49
|
-
* // value: "STRING_VALUE", // required
|
|
50
|
-
* // style: { // TextStyle
|
|
51
|
-
* // italic: true || false,
|
|
52
|
-
* // bold: true || false,
|
|
53
|
-
* // strike: true || false,
|
|
54
|
-
* // code: true || false,
|
|
55
|
-
* // },
|
|
56
|
-
* // },
|
|
57
|
-
* // link: { // LinkElement
|
|
58
|
-
* // url: "STRING_VALUE", // required
|
|
59
|
-
* // text: "STRING_VALUE",
|
|
60
|
-
* // style: {
|
|
61
|
-
* // italic: true || false,
|
|
62
|
-
* // bold: true || false,
|
|
63
|
-
* // strike: true || false,
|
|
64
|
-
* // code: true || false,
|
|
65
|
-
* // },
|
|
66
|
-
* // },
|
|
67
|
-
* // email: { // EmailElement
|
|
68
|
-
* // value: "STRING_VALUE", // required
|
|
69
|
-
* // style: {
|
|
70
|
-
* // italic: true || false,
|
|
71
|
-
* // bold: true || false,
|
|
72
|
-
* // strike: true || false,
|
|
73
|
-
* // code: true || false,
|
|
74
|
-
* // },
|
|
75
|
-
* // },
|
|
76
|
-
* // phone: { // PhoneElement
|
|
77
|
-
* // value: "STRING_VALUE", // required
|
|
78
|
-
* // style: {
|
|
79
|
-
* // italic: true || false,
|
|
80
|
-
* // bold: true || false,
|
|
81
|
-
* // strike: true || false,
|
|
82
|
-
* // code: true || false,
|
|
83
|
-
* // },
|
|
84
|
-
* // },
|
|
85
|
-
* // mention: { // MentionElement
|
|
86
|
-
* // text: "STRING_VALUE", // required
|
|
87
|
-
* // user: { // User
|
|
88
|
-
* // id: "STRING_VALUE", // required
|
|
89
|
-
* // name: "STRING_VALUE",
|
|
90
|
-
* // email: "STRING_VALUE",
|
|
91
|
-
* // phone: "STRING_VALUE",
|
|
92
|
-
* // picture: "STRING_VALUE",
|
|
93
|
-
* // locale: "STRING_VALUE",
|
|
94
|
-
* // timeZone: "STRING_VALUE",
|
|
95
|
-
* // company: "STRING_VALUE",
|
|
96
|
-
* // bot: true || false,
|
|
97
|
-
* // pbxDomain: "STRING_VALUE",
|
|
98
|
-
* // pbxPort: "STRING_VALUE",
|
|
99
|
-
* // pbxExtension: "STRING_VALUE",
|
|
100
|
-
* // pbxSerial: "STRING_VALUE",
|
|
101
|
-
* // pbxUserId: "STRING_VALUE",
|
|
102
|
-
* // createdAt: "STRING_VALUE",
|
|
103
|
-
* // updatedAt: "STRING_VALUE",
|
|
104
|
-
* // },
|
|
105
|
-
* // },
|
|
106
48
|
* // actions: [ // ActionsElementsList
|
|
107
49
|
* // { // ActionElement Union: only one key present
|
|
108
50
|
* // button: { // ButtonElement
|
|
@@ -140,7 +82,7 @@ declare const GetMessageCommand_base: {
|
|
|
140
82
|
* // quote: { // MessageQuote
|
|
141
83
|
* // messageId: "STRING_VALUE", // required
|
|
142
84
|
* // channelId: "STRING_VALUE", // required
|
|
143
|
-
* // user: {
|
|
85
|
+
* // user: { // User
|
|
144
86
|
* // id: "STRING_VALUE", // required
|
|
145
87
|
* // name: "STRING_VALUE",
|
|
146
88
|
* // email: "STRING_VALUE",
|
|
@@ -176,9 +118,28 @@ declare const GetMessageCommand_base: {
|
|
|
176
118
|
* // forwardDate: "STRING_VALUE", // required
|
|
177
119
|
* // forwardEmail: "STRING_VALUE",
|
|
178
120
|
* // forwardName: "STRING_VALUE",
|
|
121
|
+
* // messageId: "STRING_VALUE", // required
|
|
122
|
+
* // channelId: "STRING_VALUE", // required
|
|
179
123
|
* // },
|
|
180
124
|
* // mentions: [ // UsersList
|
|
181
|
-
* //
|
|
125
|
+
* // {
|
|
126
|
+
* // id: "STRING_VALUE", // required
|
|
127
|
+
* // name: "STRING_VALUE",
|
|
128
|
+
* // email: "STRING_VALUE",
|
|
129
|
+
* // phone: "STRING_VALUE",
|
|
130
|
+
* // picture: "STRING_VALUE",
|
|
131
|
+
* // locale: "STRING_VALUE",
|
|
132
|
+
* // timeZone: "STRING_VALUE",
|
|
133
|
+
* // company: "STRING_VALUE",
|
|
134
|
+
* // bot: true || false,
|
|
135
|
+
* // pbxDomain: "STRING_VALUE",
|
|
136
|
+
* // pbxPort: "STRING_VALUE",
|
|
137
|
+
* // pbxExtension: "STRING_VALUE",
|
|
138
|
+
* // pbxSerial: "STRING_VALUE",
|
|
139
|
+
* // pbxUserId: "STRING_VALUE",
|
|
140
|
+
* // createdAt: "STRING_VALUE",
|
|
141
|
+
* // updatedAt: "STRING_VALUE",
|
|
142
|
+
* // },
|
|
182
143
|
* // ],
|
|
183
144
|
* // giphy: { // MessageGiphy
|
|
184
145
|
* // id: "STRING_VALUE", // required
|
|
@@ -195,6 +156,8 @@ declare const GetMessageCommand_base: {
|
|
|
195
156
|
* // forwardDate: "STRING_VALUE", // required
|
|
196
157
|
* // forwardEmail: "STRING_VALUE",
|
|
197
158
|
* // forwardName: "STRING_VALUE",
|
|
159
|
+
* // messageId: "STRING_VALUE", // required
|
|
160
|
+
* // channelId: "STRING_VALUE", // required
|
|
198
161
|
* // },
|
|
199
162
|
* // type: "regular" || "system", // required
|
|
200
163
|
* // giphy: {
|
|
@@ -47,64 +47,6 @@ declare const ListMessagesCommand_base: {
|
|
|
47
47
|
* // text: "STRING_VALUE",
|
|
48
48
|
* // elements: [ // ElementsList
|
|
49
49
|
* // { // Element Union: only one key present
|
|
50
|
-
* // text: { // TextElement
|
|
51
|
-
* // value: "STRING_VALUE", // required
|
|
52
|
-
* // style: { // TextStyle
|
|
53
|
-
* // italic: true || false,
|
|
54
|
-
* // bold: true || false,
|
|
55
|
-
* // strike: true || false,
|
|
56
|
-
* // code: true || false,
|
|
57
|
-
* // },
|
|
58
|
-
* // },
|
|
59
|
-
* // link: { // LinkElement
|
|
60
|
-
* // url: "STRING_VALUE", // required
|
|
61
|
-
* // text: "STRING_VALUE",
|
|
62
|
-
* // style: {
|
|
63
|
-
* // italic: true || false,
|
|
64
|
-
* // bold: true || false,
|
|
65
|
-
* // strike: true || false,
|
|
66
|
-
* // code: true || false,
|
|
67
|
-
* // },
|
|
68
|
-
* // },
|
|
69
|
-
* // email: { // EmailElement
|
|
70
|
-
* // value: "STRING_VALUE", // required
|
|
71
|
-
* // style: {
|
|
72
|
-
* // italic: true || false,
|
|
73
|
-
* // bold: true || false,
|
|
74
|
-
* // strike: true || false,
|
|
75
|
-
* // code: true || false,
|
|
76
|
-
* // },
|
|
77
|
-
* // },
|
|
78
|
-
* // phone: { // PhoneElement
|
|
79
|
-
* // value: "STRING_VALUE", // required
|
|
80
|
-
* // style: {
|
|
81
|
-
* // italic: true || false,
|
|
82
|
-
* // bold: true || false,
|
|
83
|
-
* // strike: true || false,
|
|
84
|
-
* // code: true || false,
|
|
85
|
-
* // },
|
|
86
|
-
* // },
|
|
87
|
-
* // mention: { // MentionElement
|
|
88
|
-
* // text: "STRING_VALUE", // required
|
|
89
|
-
* // user: { // User
|
|
90
|
-
* // id: "STRING_VALUE", // required
|
|
91
|
-
* // name: "STRING_VALUE",
|
|
92
|
-
* // email: "STRING_VALUE",
|
|
93
|
-
* // phone: "STRING_VALUE",
|
|
94
|
-
* // picture: "STRING_VALUE",
|
|
95
|
-
* // locale: "STRING_VALUE",
|
|
96
|
-
* // timeZone: "STRING_VALUE",
|
|
97
|
-
* // company: "STRING_VALUE",
|
|
98
|
-
* // bot: true || false,
|
|
99
|
-
* // pbxDomain: "STRING_VALUE",
|
|
100
|
-
* // pbxPort: "STRING_VALUE",
|
|
101
|
-
* // pbxExtension: "STRING_VALUE",
|
|
102
|
-
* // pbxSerial: "STRING_VALUE",
|
|
103
|
-
* // pbxUserId: "STRING_VALUE",
|
|
104
|
-
* // createdAt: "STRING_VALUE",
|
|
105
|
-
* // updatedAt: "STRING_VALUE",
|
|
106
|
-
* // },
|
|
107
|
-
* // },
|
|
108
50
|
* // actions: [ // ActionsElementsList
|
|
109
51
|
* // { // ActionElement Union: only one key present
|
|
110
52
|
* // button: { // ButtonElement
|
|
@@ -142,7 +84,7 @@ declare const ListMessagesCommand_base: {
|
|
|
142
84
|
* // quote: { // MessageQuote
|
|
143
85
|
* // messageId: "STRING_VALUE", // required
|
|
144
86
|
* // channelId: "STRING_VALUE", // required
|
|
145
|
-
* // user: {
|
|
87
|
+
* // user: { // User
|
|
146
88
|
* // id: "STRING_VALUE", // required
|
|
147
89
|
* // name: "STRING_VALUE",
|
|
148
90
|
* // email: "STRING_VALUE",
|
|
@@ -178,9 +120,28 @@ declare const ListMessagesCommand_base: {
|
|
|
178
120
|
* // forwardDate: "STRING_VALUE", // required
|
|
179
121
|
* // forwardEmail: "STRING_VALUE",
|
|
180
122
|
* // forwardName: "STRING_VALUE",
|
|
123
|
+
* // messageId: "STRING_VALUE", // required
|
|
124
|
+
* // channelId: "STRING_VALUE", // required
|
|
181
125
|
* // },
|
|
182
126
|
* // mentions: [ // UsersList
|
|
183
|
-
* //
|
|
127
|
+
* // {
|
|
128
|
+
* // id: "STRING_VALUE", // required
|
|
129
|
+
* // name: "STRING_VALUE",
|
|
130
|
+
* // email: "STRING_VALUE",
|
|
131
|
+
* // phone: "STRING_VALUE",
|
|
132
|
+
* // picture: "STRING_VALUE",
|
|
133
|
+
* // locale: "STRING_VALUE",
|
|
134
|
+
* // timeZone: "STRING_VALUE",
|
|
135
|
+
* // company: "STRING_VALUE",
|
|
136
|
+
* // bot: true || false,
|
|
137
|
+
* // pbxDomain: "STRING_VALUE",
|
|
138
|
+
* // pbxPort: "STRING_VALUE",
|
|
139
|
+
* // pbxExtension: "STRING_VALUE",
|
|
140
|
+
* // pbxSerial: "STRING_VALUE",
|
|
141
|
+
* // pbxUserId: "STRING_VALUE",
|
|
142
|
+
* // createdAt: "STRING_VALUE",
|
|
143
|
+
* // updatedAt: "STRING_VALUE",
|
|
144
|
+
* // },
|
|
184
145
|
* // ],
|
|
185
146
|
* // giphy: { // MessageGiphy
|
|
186
147
|
* // id: "STRING_VALUE", // required
|
|
@@ -197,6 +158,8 @@ declare const ListMessagesCommand_base: {
|
|
|
197
158
|
* // forwardDate: "STRING_VALUE", // required
|
|
198
159
|
* // forwardEmail: "STRING_VALUE",
|
|
199
160
|
* // forwardName: "STRING_VALUE",
|
|
161
|
+
* // messageId: "STRING_VALUE", // required
|
|
162
|
+
* // channelId: "STRING_VALUE", // required
|
|
200
163
|
* // },
|
|
201
164
|
* // type: "regular" || "system", // required
|
|
202
165
|
* // giphy: {
|