@wildix/xbees-conversations-client 1.0.59 → 1.0.60
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 +6 -0
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/TriggerMessageActionCommand.js +21 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +74 -2
- package/dist-cjs/protocols/Aws_restJson1.js +135 -4
- package/dist-es/Conversations.js +6 -0
- package/dist-es/commands/GetActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/SendActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/TriggerMessageActionCommand.js +17 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +71 -1
- package/dist-es/protocols/Aws_restJson1.js +128 -3
- package/dist-types/Conversations.d.ts +21 -0
- package/dist-types/ConversationsClient.d.ts +5 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +259 -9
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +70 -0
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +1 -2
- package/dist-types/commands/GetMessageCommand.d.ts +84 -19
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +1 -1
- package/dist-types/commands/ListMessagesCommand.d.ts +84 -19
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +168 -38
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +68 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +84 -19
- package/dist-types/commands/SendMessageCommand.d.ts +168 -38
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +227 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +168 -38
- package/dist-types/commands/UploadFileCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +387 -6
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +1 -1
|
@@ -86,6 +86,134 @@ export declare const ChannelType: {
|
|
|
86
86
|
* @public
|
|
87
87
|
*/
|
|
88
88
|
export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export interface ButtonActionHandler {
|
|
93
|
+
/**
|
|
94
|
+
* A unique ID of the action within the message.
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
id: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export interface ButtonLinkHandler {
|
|
103
|
+
url: string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export interface ButtonReplyHandler {
|
|
109
|
+
text?: string;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export type ButtonHandler = ButtonHandler.ActionMember | ButtonHandler.LinkMember | ButtonHandler.ReplyMember | ButtonHandler.$UnknownMember;
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare namespace ButtonHandler {
|
|
119
|
+
interface LinkMember {
|
|
120
|
+
link: ButtonLinkHandler;
|
|
121
|
+
reply?: never;
|
|
122
|
+
action?: never;
|
|
123
|
+
$unknown?: never;
|
|
124
|
+
}
|
|
125
|
+
interface ReplyMember {
|
|
126
|
+
link?: never;
|
|
127
|
+
reply: ButtonReplyHandler;
|
|
128
|
+
action?: never;
|
|
129
|
+
$unknown?: never;
|
|
130
|
+
}
|
|
131
|
+
interface ActionMember {
|
|
132
|
+
link?: never;
|
|
133
|
+
reply?: never;
|
|
134
|
+
action: ButtonActionHandler;
|
|
135
|
+
$unknown?: never;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
interface $UnknownMember {
|
|
141
|
+
link?: never;
|
|
142
|
+
reply?: never;
|
|
143
|
+
action?: never;
|
|
144
|
+
$unknown: [string, any];
|
|
145
|
+
}
|
|
146
|
+
interface Visitor<T> {
|
|
147
|
+
link: (value: ButtonLinkHandler) => T;
|
|
148
|
+
reply: (value: ButtonReplyHandler) => T;
|
|
149
|
+
action: (value: ButtonActionHandler) => T;
|
|
150
|
+
_: (name: string, value: any) => T;
|
|
151
|
+
}
|
|
152
|
+
const visit: <T>(value: ButtonHandler, visitor: Visitor<T>) => T;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
* @enum
|
|
157
|
+
*/
|
|
158
|
+
export declare const ButtonVariant: {
|
|
159
|
+
readonly CONTAINED: "contained";
|
|
160
|
+
readonly OUTLINED: "outlined";
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export interface ButtonElement {
|
|
170
|
+
text: string;
|
|
171
|
+
variant?: ButtonVariant;
|
|
172
|
+
disabled?: boolean;
|
|
173
|
+
handler?: ButtonHandler;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export type ActionElement = ActionElement.ButtonMember | ActionElement.$UnknownMember;
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export declare namespace ActionElement {
|
|
183
|
+
interface ButtonMember {
|
|
184
|
+
button: ButtonElement;
|
|
185
|
+
$unknown?: never;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
interface $UnknownMember {
|
|
191
|
+
button?: never;
|
|
192
|
+
$unknown: [string, any];
|
|
193
|
+
}
|
|
194
|
+
interface Visitor<T> {
|
|
195
|
+
button: (value: ButtonElement) => T;
|
|
196
|
+
_: (name: string, value: any) => T;
|
|
197
|
+
}
|
|
198
|
+
const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export interface ActionTriggerResult {
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
* @enum
|
|
208
|
+
*/
|
|
209
|
+
export declare const ActionTriggerStatus: {
|
|
210
|
+
readonly COMPLETED: "completed";
|
|
211
|
+
readonly PENDING: "pending";
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
export type ActionTriggerStatus = typeof ActionTriggerStatus[keyof typeof ActionTriggerStatus];
|
|
89
217
|
/**
|
|
90
218
|
* @public
|
|
91
219
|
*/
|
|
@@ -363,7 +491,6 @@ export declare class ChannelAlreadyExistException extends __BaseException {
|
|
|
363
491
|
export declare const ConversationFileCategory: {
|
|
364
492
|
readonly GENERAL: "channels";
|
|
365
493
|
readonly RECORDING: "recordings";
|
|
366
|
-
readonly WIZY_RECORDING: "wizyconfRecordings";
|
|
367
494
|
};
|
|
368
495
|
/**
|
|
369
496
|
* @public
|
|
@@ -653,6 +780,7 @@ export interface WebhookChatChannelCreatedOrUpdatedEventData {
|
|
|
653
780
|
* @enum
|
|
654
781
|
*/
|
|
655
782
|
export declare const WebhookEventType: {
|
|
783
|
+
readonly ACTION_TRIGGERED: "chat:action:triggered";
|
|
656
784
|
readonly CHANNEL_CREATED: "chat:channel:created";
|
|
657
785
|
readonly CHANNEL_UPDATED: "chat:channel:updated";
|
|
658
786
|
readonly MEMBER_ADDED: "chat:member:added";
|
|
@@ -740,6 +868,164 @@ export interface MessageAttachment {
|
|
|
740
868
|
height?: number;
|
|
741
869
|
thumbnail?: string;
|
|
742
870
|
}
|
|
871
|
+
/**
|
|
872
|
+
* @public
|
|
873
|
+
*/
|
|
874
|
+
export interface TextStyle {
|
|
875
|
+
italic?: boolean;
|
|
876
|
+
bold?: boolean;
|
|
877
|
+
strike?: boolean;
|
|
878
|
+
code?: boolean;
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
883
|
+
export interface EmailElement {
|
|
884
|
+
/**
|
|
885
|
+
* The email address.
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
value: string;
|
|
889
|
+
/**
|
|
890
|
+
* Additional styling properties for the email.
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
style?: TextStyle;
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* @public
|
|
897
|
+
*/
|
|
898
|
+
export interface LinkElement {
|
|
899
|
+
/**
|
|
900
|
+
* The link's url.
|
|
901
|
+
* @public
|
|
902
|
+
*/
|
|
903
|
+
url: string;
|
|
904
|
+
/**
|
|
905
|
+
* The text shown to the user (instead of the url). If no text is provided, the url is used.
|
|
906
|
+
* @public
|
|
907
|
+
*/
|
|
908
|
+
text?: string;
|
|
909
|
+
/**
|
|
910
|
+
* Additional styling properties for the link.
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
913
|
+
style?: TextStyle;
|
|
914
|
+
}
|
|
915
|
+
/**
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
export interface MentionElement {
|
|
919
|
+
text: string;
|
|
920
|
+
user: User;
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* @public
|
|
924
|
+
*/
|
|
925
|
+
export interface PhoneElement {
|
|
926
|
+
/**
|
|
927
|
+
* The phone number.
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
value: string;
|
|
931
|
+
/**
|
|
932
|
+
* Additional styling properties for the phone number.
|
|
933
|
+
* @public
|
|
934
|
+
*/
|
|
935
|
+
style?: TextStyle;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* @public
|
|
939
|
+
*/
|
|
940
|
+
export interface TextElement {
|
|
941
|
+
value: string;
|
|
942
|
+
style?: TextStyle;
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* @public
|
|
946
|
+
*/
|
|
947
|
+
export type Element = Element.ActionsMember | Element.EmailMember | Element.LinkMember | Element.MentionMember | Element.PhoneMember | Element.TextMember | Element.$UnknownMember;
|
|
948
|
+
/**
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
951
|
+
export declare namespace Element {
|
|
952
|
+
interface TextMember {
|
|
953
|
+
text: TextElement;
|
|
954
|
+
link?: never;
|
|
955
|
+
email?: never;
|
|
956
|
+
phone?: never;
|
|
957
|
+
mention?: never;
|
|
958
|
+
actions?: never;
|
|
959
|
+
$unknown?: never;
|
|
960
|
+
}
|
|
961
|
+
interface LinkMember {
|
|
962
|
+
text?: never;
|
|
963
|
+
link: LinkElement;
|
|
964
|
+
email?: never;
|
|
965
|
+
phone?: never;
|
|
966
|
+
mention?: never;
|
|
967
|
+
actions?: never;
|
|
968
|
+
$unknown?: never;
|
|
969
|
+
}
|
|
970
|
+
interface EmailMember {
|
|
971
|
+
text?: never;
|
|
972
|
+
link?: never;
|
|
973
|
+
email: EmailElement;
|
|
974
|
+
phone?: never;
|
|
975
|
+
mention?: never;
|
|
976
|
+
actions?: never;
|
|
977
|
+
$unknown?: never;
|
|
978
|
+
}
|
|
979
|
+
interface PhoneMember {
|
|
980
|
+
text?: never;
|
|
981
|
+
link?: never;
|
|
982
|
+
email?: never;
|
|
983
|
+
phone: PhoneElement;
|
|
984
|
+
mention?: never;
|
|
985
|
+
actions?: never;
|
|
986
|
+
$unknown?: never;
|
|
987
|
+
}
|
|
988
|
+
interface MentionMember {
|
|
989
|
+
text?: never;
|
|
990
|
+
link?: never;
|
|
991
|
+
email?: never;
|
|
992
|
+
phone?: never;
|
|
993
|
+
mention: MentionElement;
|
|
994
|
+
actions?: never;
|
|
995
|
+
$unknown?: never;
|
|
996
|
+
}
|
|
997
|
+
interface ActionsMember {
|
|
998
|
+
text?: never;
|
|
999
|
+
link?: never;
|
|
1000
|
+
email?: never;
|
|
1001
|
+
phone?: never;
|
|
1002
|
+
mention?: never;
|
|
1003
|
+
actions: (ActionElement)[];
|
|
1004
|
+
$unknown?: never;
|
|
1005
|
+
}
|
|
1006
|
+
/**
|
|
1007
|
+
* @public
|
|
1008
|
+
*/
|
|
1009
|
+
interface $UnknownMember {
|
|
1010
|
+
text?: never;
|
|
1011
|
+
link?: never;
|
|
1012
|
+
email?: never;
|
|
1013
|
+
phone?: never;
|
|
1014
|
+
mention?: never;
|
|
1015
|
+
actions?: never;
|
|
1016
|
+
$unknown: [string, any];
|
|
1017
|
+
}
|
|
1018
|
+
interface Visitor<T> {
|
|
1019
|
+
text: (value: TextElement) => T;
|
|
1020
|
+
link: (value: LinkElement) => T;
|
|
1021
|
+
email: (value: EmailElement) => T;
|
|
1022
|
+
phone: (value: PhoneElement) => T;
|
|
1023
|
+
mention: (value: MentionElement) => T;
|
|
1024
|
+
actions: (value: (ActionElement)[]) => T;
|
|
1025
|
+
_: (name: string, value: any) => T;
|
|
1026
|
+
}
|
|
1027
|
+
const visit: <T>(value: Element, visitor: Visitor<T>) => T;
|
|
1028
|
+
}
|
|
743
1029
|
/**
|
|
744
1030
|
* @public
|
|
745
1031
|
*/
|
|
@@ -828,6 +1114,7 @@ export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof Me
|
|
|
828
1114
|
*/
|
|
829
1115
|
export interface Message {
|
|
830
1116
|
text?: string;
|
|
1117
|
+
elements?: (Element)[];
|
|
831
1118
|
attachments?: (MessageAttachment)[];
|
|
832
1119
|
quote?: MessageQuote;
|
|
833
1120
|
forward?: MessageForward;
|
|
@@ -947,6 +1234,39 @@ export interface DescribeEventOutput {
|
|
|
947
1234
|
WebhookChatReactionNewEvent?: WebhookChatReactionNewEvent;
|
|
948
1235
|
WebhookChatReactionDeletedEvent?: WebhookChatReactionDeletedEvent;
|
|
949
1236
|
}
|
|
1237
|
+
/**
|
|
1238
|
+
* @public
|
|
1239
|
+
*/
|
|
1240
|
+
export interface GetActionTriggerResultInput {
|
|
1241
|
+
/**
|
|
1242
|
+
* The unique identifier of the action trigger inside the message.
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
triggerId: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* The unique identifier of the user when a service token is used.
|
|
1248
|
+
* @public
|
|
1249
|
+
*/
|
|
1250
|
+
userId?: string;
|
|
1251
|
+
}
|
|
1252
|
+
/**
|
|
1253
|
+
* @public
|
|
1254
|
+
*/
|
|
1255
|
+
export interface GetActionTriggerResultOutput {
|
|
1256
|
+
status: ActionTriggerStatus;
|
|
1257
|
+
result?: ActionTriggerResult;
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* @public
|
|
1261
|
+
*/
|
|
1262
|
+
export declare class TriggerNotFoundException extends __BaseException {
|
|
1263
|
+
readonly name: "TriggerNotFoundException";
|
|
1264
|
+
readonly $fault: "client";
|
|
1265
|
+
/**
|
|
1266
|
+
* @internal
|
|
1267
|
+
*/
|
|
1268
|
+
constructor(opts: __ExceptionOptionType<TriggerNotFoundException, __BaseException>);
|
|
1269
|
+
}
|
|
950
1270
|
/**
|
|
951
1271
|
* @public
|
|
952
1272
|
*/
|
|
@@ -1054,11 +1374,6 @@ export interface GetFilePresignedDownloadUrlInput {
|
|
|
1054
1374
|
* @public
|
|
1055
1375
|
*/
|
|
1056
1376
|
category?: ConversationFileCategory;
|
|
1057
|
-
/**
|
|
1058
|
-
* Set to 1 to download media (video/music). By default, media files will be played in the browser.
|
|
1059
|
-
* @public
|
|
1060
|
-
*/
|
|
1061
|
-
download?: number;
|
|
1062
1377
|
}
|
|
1063
1378
|
/**
|
|
1064
1379
|
* @public
|
|
@@ -1616,6 +1931,7 @@ export interface PartialUpdateChannelOutput {
|
|
|
1616
1931
|
*/
|
|
1617
1932
|
export interface PartialUpdateMessageSetInput {
|
|
1618
1933
|
text?: string;
|
|
1934
|
+
elements?: (Element)[];
|
|
1619
1935
|
attachments?: (MessageAttachment)[];
|
|
1620
1936
|
quote?: MessageQuote;
|
|
1621
1937
|
forward?: MessageForward;
|
|
@@ -1732,6 +2048,23 @@ export interface ScheduleExternalFlagAdjustmentJobInput {
|
|
|
1732
2048
|
*/
|
|
1733
2049
|
export interface ScheduleExternalFlagAdjustmentJobOutput {
|
|
1734
2050
|
}
|
|
2051
|
+
/**
|
|
2052
|
+
* @public
|
|
2053
|
+
*/
|
|
2054
|
+
export interface SendActionTriggerResultInput {
|
|
2055
|
+
/**
|
|
2056
|
+
* The unique identifier of the action trigger inside the message.
|
|
2057
|
+
* @public
|
|
2058
|
+
*/
|
|
2059
|
+
triggerId: string;
|
|
2060
|
+
status: ActionTriggerStatus;
|
|
2061
|
+
result: ActionTriggerResult;
|
|
2062
|
+
}
|
|
2063
|
+
/**
|
|
2064
|
+
* @public
|
|
2065
|
+
*/
|
|
2066
|
+
export interface SendActionTriggerResultOutput {
|
|
2067
|
+
}
|
|
1735
2068
|
/**
|
|
1736
2069
|
* @public
|
|
1737
2070
|
*/
|
|
@@ -1768,6 +2101,7 @@ export interface SendGiphyOutput {
|
|
|
1768
2101
|
*/
|
|
1769
2102
|
export interface SendMessageInput {
|
|
1770
2103
|
text?: string;
|
|
2104
|
+
elements?: (Element)[];
|
|
1771
2105
|
attachments?: (MessageAttachment)[];
|
|
1772
2106
|
quote?: MessageQuote;
|
|
1773
2107
|
forward?: MessageForward;
|
|
@@ -1929,6 +2263,52 @@ export declare class TaggedChannelsLimitReachedException extends __BaseException
|
|
|
1929
2263
|
*/
|
|
1930
2264
|
constructor(opts: __ExceptionOptionType<TaggedChannelsLimitReachedException, __BaseException>);
|
|
1931
2265
|
}
|
|
2266
|
+
/**
|
|
2267
|
+
* @public
|
|
2268
|
+
*/
|
|
2269
|
+
export declare class MessageActionNotFoundException extends __BaseException {
|
|
2270
|
+
readonly name: "MessageActionNotFoundException";
|
|
2271
|
+
readonly $fault: "client";
|
|
2272
|
+
/**
|
|
2273
|
+
* @internal
|
|
2274
|
+
*/
|
|
2275
|
+
constructor(opts: __ExceptionOptionType<MessageActionNotFoundException, __BaseException>);
|
|
2276
|
+
}
|
|
2277
|
+
/**
|
|
2278
|
+
* @public
|
|
2279
|
+
*/
|
|
2280
|
+
export interface TriggerMessageActionInput {
|
|
2281
|
+
text?: string;
|
|
2282
|
+
elements?: (Element)[];
|
|
2283
|
+
attachments?: (MessageAttachment)[];
|
|
2284
|
+
quote?: MessageQuote;
|
|
2285
|
+
forward?: MessageForward;
|
|
2286
|
+
/**
|
|
2287
|
+
* The unique identifier of the channel to which the message is sent.
|
|
2288
|
+
* @public
|
|
2289
|
+
*/
|
|
2290
|
+
channelId: string;
|
|
2291
|
+
/**
|
|
2292
|
+
* The unique identifier of the message which hold an action.
|
|
2293
|
+
* @public
|
|
2294
|
+
*/
|
|
2295
|
+
messageId: string;
|
|
2296
|
+
/**
|
|
2297
|
+
* The unique identifier of the action inside the message.
|
|
2298
|
+
* @public
|
|
2299
|
+
*/
|
|
2300
|
+
actionId: string;
|
|
2301
|
+
/**
|
|
2302
|
+
* The unique identifier of the user when a service token is used.
|
|
2303
|
+
* @public
|
|
2304
|
+
*/
|
|
2305
|
+
userId?: string;
|
|
2306
|
+
}
|
|
2307
|
+
/**
|
|
2308
|
+
* @public
|
|
2309
|
+
*/
|
|
2310
|
+
export interface TriggerMessageActionOutput {
|
|
2311
|
+
}
|
|
1932
2312
|
/**
|
|
1933
2313
|
* @public
|
|
1934
2314
|
*/
|
|
@@ -2061,6 +2441,7 @@ export interface UpdateInboxTagOutput {
|
|
|
2061
2441
|
*/
|
|
2062
2442
|
export interface UpdateMessageInput {
|
|
2063
2443
|
text?: string;
|
|
2444
|
+
elements?: (Element)[];
|
|
2064
2445
|
attachments?: (MessageAttachment)[];
|
|
2065
2446
|
quote?: MessageQuote;
|
|
2066
2447
|
forward?: MessageForward;
|
|
@@ -8,6 +8,7 @@ import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "../comm
|
|
|
8
8
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "../commands/DeleteMessageCommand";
|
|
9
9
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "../commands/DeleteMessageReactionCommand";
|
|
10
10
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
|
|
11
|
+
import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "../commands/GetActionTriggerResultCommand";
|
|
11
12
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
|
|
12
13
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "../commands/GetChannelMemberCommand";
|
|
13
14
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "../commands/GetDirectChannelIdCommand";
|
|
@@ -32,6 +33,7 @@ import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } f
|
|
|
32
33
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "../commands/PartialUpdateMessageCommand";
|
|
33
34
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "../commands/PinChannelCommand";
|
|
34
35
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "../commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
36
|
+
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "../commands/SendActionTriggerResultCommand";
|
|
35
37
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "../commands/SendGiphyCommand";
|
|
36
38
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
|
|
37
39
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "../commands/SendMessageReactionCommand";
|
|
@@ -39,6 +41,7 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "../co
|
|
|
39
41
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "../commands/SendTypingStopCommand";
|
|
40
42
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "../commands/ShowChannelCommand";
|
|
41
43
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "../commands/TagChannelCommand";
|
|
44
|
+
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "../commands/TriggerMessageActionCommand";
|
|
42
45
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "../commands/UnpinChannelCommand";
|
|
43
46
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "../commands/UntagChannelCommand";
|
|
44
47
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand";
|
|
@@ -87,6 +90,10 @@ export declare const se_DeleteMessageReactionCommand: (input: DeleteMessageReact
|
|
|
87
90
|
* serializeAws_restJson1DescribeEventCommand
|
|
88
91
|
*/
|
|
89
92
|
export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
93
|
+
/**
|
|
94
|
+
* serializeAws_restJson1GetActionTriggerResultCommand
|
|
95
|
+
*/
|
|
96
|
+
export declare const se_GetActionTriggerResultCommand: (input: GetActionTriggerResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
90
97
|
/**
|
|
91
98
|
* serializeAws_restJson1GetChannelCommand
|
|
92
99
|
*/
|
|
@@ -183,6 +190,10 @@ export declare const se_PinChannelCommand: (input: PinChannelCommandInput, conte
|
|
|
183
190
|
* serializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
184
191
|
*/
|
|
185
192
|
export declare const se_ScheduleExternalFlagAdjustmentJobCommand: (input: ScheduleExternalFlagAdjustmentJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
193
|
+
/**
|
|
194
|
+
* serializeAws_restJson1SendActionTriggerResultCommand
|
|
195
|
+
*/
|
|
196
|
+
export declare const se_SendActionTriggerResultCommand: (input: SendActionTriggerResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
186
197
|
/**
|
|
187
198
|
* serializeAws_restJson1SendGiphyCommand
|
|
188
199
|
*/
|
|
@@ -211,6 +222,10 @@ export declare const se_ShowChannelCommand: (input: ShowChannelCommandInput, con
|
|
|
211
222
|
* serializeAws_restJson1TagChannelCommand
|
|
212
223
|
*/
|
|
213
224
|
export declare const se_TagChannelCommand: (input: TagChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
225
|
+
/**
|
|
226
|
+
* serializeAws_restJson1TriggerMessageActionCommand
|
|
227
|
+
*/
|
|
228
|
+
export declare const se_TriggerMessageActionCommand: (input: TriggerMessageActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
214
229
|
/**
|
|
215
230
|
* serializeAws_restJson1UnpinChannelCommand
|
|
216
231
|
*/
|
|
@@ -275,6 +290,10 @@ export declare const de_DeleteMessageReactionCommand: (output: __HttpResponse, c
|
|
|
275
290
|
* deserializeAws_restJson1DescribeEventCommand
|
|
276
291
|
*/
|
|
277
292
|
export declare const de_DescribeEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEventCommandOutput>;
|
|
293
|
+
/**
|
|
294
|
+
* deserializeAws_restJson1GetActionTriggerResultCommand
|
|
295
|
+
*/
|
|
296
|
+
export declare const de_GetActionTriggerResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetActionTriggerResultCommandOutput>;
|
|
278
297
|
/**
|
|
279
298
|
* deserializeAws_restJson1GetChannelCommand
|
|
280
299
|
*/
|
|
@@ -371,6 +390,10 @@ export declare const de_PinChannelCommand: (output: __HttpResponse, context: __S
|
|
|
371
390
|
* deserializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
372
391
|
*/
|
|
373
392
|
export declare const de_ScheduleExternalFlagAdjustmentJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ScheduleExternalFlagAdjustmentJobCommandOutput>;
|
|
393
|
+
/**
|
|
394
|
+
* deserializeAws_restJson1SendActionTriggerResultCommand
|
|
395
|
+
*/
|
|
396
|
+
export declare const de_SendActionTriggerResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendActionTriggerResultCommandOutput>;
|
|
374
397
|
/**
|
|
375
398
|
* deserializeAws_restJson1SendGiphyCommand
|
|
376
399
|
*/
|
|
@@ -399,6 +422,10 @@ export declare const de_ShowChannelCommand: (output: __HttpResponse, context: __
|
|
|
399
422
|
* deserializeAws_restJson1TagChannelCommand
|
|
400
423
|
*/
|
|
401
424
|
export declare const de_TagChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagChannelCommandOutput>;
|
|
425
|
+
/**
|
|
426
|
+
* deserializeAws_restJson1TriggerMessageActionCommand
|
|
427
|
+
*/
|
|
428
|
+
export declare const de_TriggerMessageActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TriggerMessageActionCommandOutput>;
|
|
402
429
|
/**
|
|
403
430
|
* deserializeAws_restJson1UnpinChannelCommand
|
|
404
431
|
*/
|
|
@@ -16,6 +16,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
16
16
|
env: "stage" | "stable" | "prod";
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
18
|
apiVersion: string;
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
21
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -16,6 +16,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
16
16
|
env: "stage" | "stable" | "prod";
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
18
|
apiVersion: string;
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
21
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
10
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
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.60",
|
|
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",
|