@wildix/xbees-conversations-client 1.0.62 → 1.0.64
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/ListPinnedMessagesCommand.js +21 -0
- package/dist-cjs/commands/PinMessageCommand.js +21 -0
- package/dist-cjs/commands/UnpinMessageCommand.js +21 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +13 -13
- package/dist-cjs/protocols/Aws_restJson1.js +102 -2
- package/dist-es/Conversations.js +6 -0
- package/dist-es/commands/ListPinnedMessagesCommand.js +17 -0
- package/dist-es/commands/PinMessageCommand.js +17 -0
- package/dist-es/commands/UnpinMessageCommand.js +17 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_restJson1.js +93 -0
- package/dist-types/Conversations.d.ts +21 -0
- package/dist-types/ConversationsClient.d.ts +5 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +15 -0
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +261 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +1 -0
- package/dist-types/commands/PinMessageCommand.d.ts +73 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +71 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +210 -85
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { UnpinMessageInput, UnpinMessageOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UnpinMessageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UnpinMessageCommandInput extends UnpinMessageInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UnpinMessageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UnpinMessageCommandOutput extends UnpinMessageOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UnpinMessageCommand_base: {
|
|
25
|
+
new (input: UnpinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UnpinMessageCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Unpins the message that was previously pinned. This operation is idempotent, meaning that if the message is not pinned, no error will be thrown.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, UnpinMessageCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, UnpinMessageCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // UnpinMessageInput
|
|
38
|
+
* channelId: "STRING_VALUE", // required
|
|
39
|
+
* messageId: "STRING_VALUE", // required
|
|
40
|
+
* userId: "STRING_VALUE",
|
|
41
|
+
* silent: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UnpinMessageCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UnpinMessageCommandInput - {@link UnpinMessageCommandInput}
|
|
50
|
+
* @returns {@link UnpinMessageCommandOutput}
|
|
51
|
+
* @see {@link UnpinMessageCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UnpinMessageCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link MessageNotFoundException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ValidationException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConversationsServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class UnpinMessageCommand extends UnpinMessageCommand_base {
|
|
71
|
+
}
|
|
@@ -27,11 +27,13 @@ export * from "./ListInboxTaggedChannelsCommand";
|
|
|
27
27
|
export * from "./ListInboxTagsCommand";
|
|
28
28
|
export * from "./ListMessageReactionsCommand";
|
|
29
29
|
export * from "./ListMessagesCommand";
|
|
30
|
+
export * from "./ListPinnedMessagesCommand";
|
|
30
31
|
export * from "./MarkReadCommand";
|
|
31
32
|
export * from "./MarkUnreadCommand";
|
|
32
33
|
export * from "./PartialUpdateChannelCommand";
|
|
33
34
|
export * from "./PartialUpdateMessageCommand";
|
|
34
35
|
export * from "./PinChannelCommand";
|
|
36
|
+
export * from "./PinMessageCommand";
|
|
35
37
|
export * from "./ScheduleExternalFlagAdjustmentJobCommand";
|
|
36
38
|
export * from "./SendActionTriggerResultCommand";
|
|
37
39
|
export * from "./SendGiphyCommand";
|
|
@@ -43,6 +45,7 @@ export * from "./ShowChannelCommand";
|
|
|
43
45
|
export * from "./TagChannelCommand";
|
|
44
46
|
export * from "./TriggerMessageActionCommand";
|
|
45
47
|
export * from "./UnpinChannelCommand";
|
|
48
|
+
export * from "./UnpinMessageCommand";
|
|
46
49
|
export * from "./UntagChannelCommand";
|
|
47
50
|
export * from "./UpdateChannelCommand";
|
|
48
51
|
export * from "./UpdateInboxTagCommand";
|
|
@@ -768,90 +768,6 @@ export interface DeleteMessageReactionOutput {
|
|
|
768
768
|
*/
|
|
769
769
|
export interface DescribeEventInput {
|
|
770
770
|
}
|
|
771
|
-
/**
|
|
772
|
-
* @public
|
|
773
|
-
*/
|
|
774
|
-
export interface WebhookChatChannelCreatedOrUpdatedEventData {
|
|
775
|
-
channel: Channel;
|
|
776
|
-
members: (ChannelMember)[];
|
|
777
|
-
users: (User)[];
|
|
778
|
-
}
|
|
779
|
-
/**
|
|
780
|
-
* @public
|
|
781
|
-
* @enum
|
|
782
|
-
*/
|
|
783
|
-
export declare const WebhookEventType: {
|
|
784
|
-
readonly ACTION_TRIGGERED: "chat:action:triggered";
|
|
785
|
-
readonly CHANNEL_CREATED: "chat:channel:created";
|
|
786
|
-
readonly CHANNEL_UPDATED: "chat:channel:updated";
|
|
787
|
-
readonly MEMBER_ADDED: "chat:member:added";
|
|
788
|
-
readonly MEMBER_REMOVED: "chat:member:removed";
|
|
789
|
-
readonly MESSAGE_DELETED: "chat:message:deleted";
|
|
790
|
-
readonly MESSAGE_NEW: "chat:message:new";
|
|
791
|
-
readonly MESSAGE_UPDATED: "chat:message:updated";
|
|
792
|
-
readonly REACTION_DELETED: "chat:reaction:deleted";
|
|
793
|
-
readonly REACTION_NEW: "chat:reaction:new";
|
|
794
|
-
};
|
|
795
|
-
/**
|
|
796
|
-
* @public
|
|
797
|
-
*/
|
|
798
|
-
export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
|
|
799
|
-
/**
|
|
800
|
-
* @public
|
|
801
|
-
*/
|
|
802
|
-
export interface WebhookChatChannelCreatedEvent {
|
|
803
|
-
id: string;
|
|
804
|
-
company: string;
|
|
805
|
-
type: WebhookEventType;
|
|
806
|
-
time: number;
|
|
807
|
-
integrationId?: string;
|
|
808
|
-
botId?: string;
|
|
809
|
-
data: WebhookChatChannelCreatedOrUpdatedEventData;
|
|
810
|
-
}
|
|
811
|
-
/**
|
|
812
|
-
* @public
|
|
813
|
-
*/
|
|
814
|
-
export interface WebhookChatChannelUpdatedEvent {
|
|
815
|
-
id: string;
|
|
816
|
-
company: string;
|
|
817
|
-
type: WebhookEventType;
|
|
818
|
-
time: number;
|
|
819
|
-
integrationId?: string;
|
|
820
|
-
botId?: string;
|
|
821
|
-
data: WebhookChatChannelCreatedOrUpdatedEventData;
|
|
822
|
-
}
|
|
823
|
-
/**
|
|
824
|
-
* @public
|
|
825
|
-
*/
|
|
826
|
-
export interface WebhookChatMemberAddedOrRemovedEventData {
|
|
827
|
-
channel: Channel;
|
|
828
|
-
member: ChannelMember;
|
|
829
|
-
user: User;
|
|
830
|
-
}
|
|
831
|
-
/**
|
|
832
|
-
* @public
|
|
833
|
-
*/
|
|
834
|
-
export interface WebhookChatMemberAddedEvent {
|
|
835
|
-
id: string;
|
|
836
|
-
company: string;
|
|
837
|
-
type: WebhookEventType;
|
|
838
|
-
time: number;
|
|
839
|
-
integrationId?: string;
|
|
840
|
-
botId?: string;
|
|
841
|
-
data: WebhookChatMemberAddedOrRemovedEventData;
|
|
842
|
-
}
|
|
843
|
-
/**
|
|
844
|
-
* @public
|
|
845
|
-
*/
|
|
846
|
-
export interface WebhookChatMemberRemovedEvent {
|
|
847
|
-
id: string;
|
|
848
|
-
company: string;
|
|
849
|
-
type: WebhookEventType;
|
|
850
|
-
time: number;
|
|
851
|
-
integrationId?: string;
|
|
852
|
-
botId?: string;
|
|
853
|
-
data: WebhookChatMemberAddedOrRemovedEventData;
|
|
854
|
-
}
|
|
855
771
|
/**
|
|
856
772
|
* @public
|
|
857
773
|
*/
|
|
@@ -1137,6 +1053,112 @@ export interface Message {
|
|
|
1137
1053
|
createdAt: string;
|
|
1138
1054
|
updatedAt?: string;
|
|
1139
1055
|
}
|
|
1056
|
+
/**
|
|
1057
|
+
* @public
|
|
1058
|
+
*/
|
|
1059
|
+
export interface WebhookChatActionTriggeredEventData {
|
|
1060
|
+
channel: Channel;
|
|
1061
|
+
message: Message;
|
|
1062
|
+
user: User;
|
|
1063
|
+
actionId: string;
|
|
1064
|
+
triggerId: string;
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* @public
|
|
1068
|
+
* @enum
|
|
1069
|
+
*/
|
|
1070
|
+
export declare const WebhookEventType: {
|
|
1071
|
+
readonly ACTION_TRIGGERED: "chat:action:triggered";
|
|
1072
|
+
readonly CHANNEL_CREATED: "chat:channel:created";
|
|
1073
|
+
readonly CHANNEL_UPDATED: "chat:channel:updated";
|
|
1074
|
+
readonly MEMBER_ADDED: "chat:member:added";
|
|
1075
|
+
readonly MEMBER_REMOVED: "chat:member:removed";
|
|
1076
|
+
readonly MESSAGE_DELETED: "chat:message:deleted";
|
|
1077
|
+
readonly MESSAGE_NEW: "chat:message:new";
|
|
1078
|
+
readonly MESSAGE_UPDATED: "chat:message:updated";
|
|
1079
|
+
readonly REACTION_DELETED: "chat:reaction:deleted";
|
|
1080
|
+
readonly REACTION_NEW: "chat:reaction:new";
|
|
1081
|
+
};
|
|
1082
|
+
/**
|
|
1083
|
+
* @public
|
|
1084
|
+
*/
|
|
1085
|
+
export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
|
|
1086
|
+
/**
|
|
1087
|
+
* @public
|
|
1088
|
+
*/
|
|
1089
|
+
export interface WebhookChatActionTriggeredEvent {
|
|
1090
|
+
id: string;
|
|
1091
|
+
company: string;
|
|
1092
|
+
type: WebhookEventType;
|
|
1093
|
+
time: number;
|
|
1094
|
+
integrationId?: string;
|
|
1095
|
+
botId?: string;
|
|
1096
|
+
data: WebhookChatActionTriggeredEventData;
|
|
1097
|
+
}
|
|
1098
|
+
/**
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
export interface WebhookChatChannelCreatedOrUpdatedEventData {
|
|
1102
|
+
channel: Channel;
|
|
1103
|
+
members: (ChannelMember)[];
|
|
1104
|
+
users: (User)[];
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
1109
|
+
export interface WebhookChatChannelCreatedEvent {
|
|
1110
|
+
id: string;
|
|
1111
|
+
company: string;
|
|
1112
|
+
type: WebhookEventType;
|
|
1113
|
+
time: number;
|
|
1114
|
+
integrationId?: string;
|
|
1115
|
+
botId?: string;
|
|
1116
|
+
data: WebhookChatChannelCreatedOrUpdatedEventData;
|
|
1117
|
+
}
|
|
1118
|
+
/**
|
|
1119
|
+
* @public
|
|
1120
|
+
*/
|
|
1121
|
+
export interface WebhookChatChannelUpdatedEvent {
|
|
1122
|
+
id: string;
|
|
1123
|
+
company: string;
|
|
1124
|
+
type: WebhookEventType;
|
|
1125
|
+
time: number;
|
|
1126
|
+
integrationId?: string;
|
|
1127
|
+
botId?: string;
|
|
1128
|
+
data: WebhookChatChannelCreatedOrUpdatedEventData;
|
|
1129
|
+
}
|
|
1130
|
+
/**
|
|
1131
|
+
* @public
|
|
1132
|
+
*/
|
|
1133
|
+
export interface WebhookChatMemberAddedOrRemovedEventData {
|
|
1134
|
+
channel: Channel;
|
|
1135
|
+
member: ChannelMember;
|
|
1136
|
+
user: User;
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* @public
|
|
1140
|
+
*/
|
|
1141
|
+
export interface WebhookChatMemberAddedEvent {
|
|
1142
|
+
id: string;
|
|
1143
|
+
company: string;
|
|
1144
|
+
type: WebhookEventType;
|
|
1145
|
+
time: number;
|
|
1146
|
+
integrationId?: string;
|
|
1147
|
+
botId?: string;
|
|
1148
|
+
data: WebhookChatMemberAddedOrRemovedEventData;
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
export interface WebhookChatMemberRemovedEvent {
|
|
1154
|
+
id: string;
|
|
1155
|
+
company: string;
|
|
1156
|
+
type: WebhookEventType;
|
|
1157
|
+
time: number;
|
|
1158
|
+
integrationId?: string;
|
|
1159
|
+
botId?: string;
|
|
1160
|
+
data: WebhookChatMemberAddedOrRemovedEventData;
|
|
1161
|
+
}
|
|
1140
1162
|
/**
|
|
1141
1163
|
* @public
|
|
1142
1164
|
*/
|
|
@@ -1234,6 +1256,7 @@ export interface DescribeEventOutput {
|
|
|
1234
1256
|
WebhookChatMessageDeletedEvent?: WebhookChatMessageDeletedEvent;
|
|
1235
1257
|
WebhookChatReactionNewEvent?: WebhookChatReactionNewEvent;
|
|
1236
1258
|
WebhookChatReactionDeletedEvent?: WebhookChatReactionDeletedEvent;
|
|
1259
|
+
WebhookChatActionTriggeredEvent?: WebhookChatActionTriggeredEvent;
|
|
1237
1260
|
}
|
|
1238
1261
|
/**
|
|
1239
1262
|
* @public
|
|
@@ -1513,7 +1536,7 @@ export interface GetUploadedFileInfoInput {
|
|
|
1513
1536
|
* @public
|
|
1514
1537
|
*/
|
|
1515
1538
|
export interface GetUploadedFileInfoOutput {
|
|
1516
|
-
file
|
|
1539
|
+
file: MessageAttachment;
|
|
1517
1540
|
}
|
|
1518
1541
|
/**
|
|
1519
1542
|
* @public
|
|
@@ -1784,6 +1807,36 @@ export interface ListMessagesOutput {
|
|
|
1784
1807
|
*/
|
|
1785
1808
|
messages: (Message)[];
|
|
1786
1809
|
}
|
|
1810
|
+
/**
|
|
1811
|
+
* @public
|
|
1812
|
+
*/
|
|
1813
|
+
export interface ListPinnedMessagesInput {
|
|
1814
|
+
/**
|
|
1815
|
+
* The unique identifier of the channel from which to list messages.
|
|
1816
|
+
* @public
|
|
1817
|
+
*/
|
|
1818
|
+
channelId: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* The maximum number of pinned messages to return. The value must be between 1 and 100.
|
|
1821
|
+
* @public
|
|
1822
|
+
*/
|
|
1823
|
+
limit?: number;
|
|
1824
|
+
/**
|
|
1825
|
+
* The offset from which to start listing pinned messages. The value must be between 0 and 1000.
|
|
1826
|
+
* @public
|
|
1827
|
+
*/
|
|
1828
|
+
offset?: number;
|
|
1829
|
+
}
|
|
1830
|
+
/**
|
|
1831
|
+
* @public
|
|
1832
|
+
*/
|
|
1833
|
+
export interface ListPinnedMessagesOutput {
|
|
1834
|
+
/**
|
|
1835
|
+
* A list of pinned messages in the channel.
|
|
1836
|
+
* @public
|
|
1837
|
+
*/
|
|
1838
|
+
messages: (Message)[];
|
|
1839
|
+
}
|
|
1787
1840
|
/**
|
|
1788
1841
|
* @public
|
|
1789
1842
|
*/
|
|
@@ -1985,6 +2038,11 @@ export interface PartialUpdateMessageInput {
|
|
|
1985
2038
|
* @public
|
|
1986
2039
|
*/
|
|
1987
2040
|
unset?: (MessageUnsetFields)[];
|
|
2041
|
+
/**
|
|
2042
|
+
* Set to true to suppress the updated indicator. Defaults to false.
|
|
2043
|
+
* @public
|
|
2044
|
+
*/
|
|
2045
|
+
silent?: boolean;
|
|
1988
2046
|
}
|
|
1989
2047
|
/**
|
|
1990
2048
|
* @public
|
|
@@ -2028,6 +2086,42 @@ export declare class PinnedChannelsLimitReachedException extends __BaseException
|
|
|
2028
2086
|
*/
|
|
2029
2087
|
constructor(opts: __ExceptionOptionType<PinnedChannelsLimitReachedException, __BaseException>);
|
|
2030
2088
|
}
|
|
2089
|
+
/**
|
|
2090
|
+
* @public
|
|
2091
|
+
*/
|
|
2092
|
+
export interface PinMessageInput {
|
|
2093
|
+
channelId: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* The unique identifier of the message which should be pinned.
|
|
2096
|
+
* @public
|
|
2097
|
+
*/
|
|
2098
|
+
messageId: string;
|
|
2099
|
+
/**
|
|
2100
|
+
* The unique identifier of the user when a service token is used.
|
|
2101
|
+
* @public
|
|
2102
|
+
*/
|
|
2103
|
+
userId?: string;
|
|
2104
|
+
/**
|
|
2105
|
+
* The duration in seconds after which the pinned message will be automatically unpinned. If neither `expiresAfter` nor `expiresTill` is provided, the message will remain pinned indefinitely. Providing both `expiresAfter` and `expiresTill` will result in a validation error.
|
|
2106
|
+
* @public
|
|
2107
|
+
*/
|
|
2108
|
+
expiresAfter?: number;
|
|
2109
|
+
/**
|
|
2110
|
+
* The specific date and time (in ISO 8601 format) when the pinned message will be automatically unpinned. If neither `expiresAfter` nor `expiresTill` is provided, the message will remain pinned indefinitely. Providing both `expiresAfter` and `expiresTill` will result in a validation error.
|
|
2111
|
+
* @public
|
|
2112
|
+
*/
|
|
2113
|
+
expiresTill?: string;
|
|
2114
|
+
/**
|
|
2115
|
+
* Set to true to suppress system messages generated by this operation. Defaults to false.
|
|
2116
|
+
* @public
|
|
2117
|
+
*/
|
|
2118
|
+
silent?: boolean;
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
* @public
|
|
2122
|
+
*/
|
|
2123
|
+
export interface PinMessageOutput {
|
|
2124
|
+
}
|
|
2031
2125
|
/**
|
|
2032
2126
|
* @public
|
|
2033
2127
|
*/
|
|
@@ -2331,6 +2425,32 @@ export interface UnpinChannelInput {
|
|
|
2331
2425
|
*/
|
|
2332
2426
|
export interface UnpinChannelOutput {
|
|
2333
2427
|
}
|
|
2428
|
+
/**
|
|
2429
|
+
* @public
|
|
2430
|
+
*/
|
|
2431
|
+
export interface UnpinMessageInput {
|
|
2432
|
+
channelId: string;
|
|
2433
|
+
/**
|
|
2434
|
+
* The unique identifier of the message which should be unpinned.
|
|
2435
|
+
* @public
|
|
2436
|
+
*/
|
|
2437
|
+
messageId: string;
|
|
2438
|
+
/**
|
|
2439
|
+
* The unique identifier of the user when a service token is used.
|
|
2440
|
+
* @public
|
|
2441
|
+
*/
|
|
2442
|
+
userId?: string;
|
|
2443
|
+
/**
|
|
2444
|
+
* Set to true to suppress system messages generated by this operation. Defaults to false.
|
|
2445
|
+
* @public
|
|
2446
|
+
*/
|
|
2447
|
+
silent?: boolean;
|
|
2448
|
+
}
|
|
2449
|
+
/**
|
|
2450
|
+
* @public
|
|
2451
|
+
*/
|
|
2452
|
+
export interface UnpinMessageOutput {
|
|
2453
|
+
}
|
|
2334
2454
|
/**
|
|
2335
2455
|
* @public
|
|
2336
2456
|
*/
|
|
@@ -2467,6 +2587,11 @@ export interface UpdateMessageInput {
|
|
|
2467
2587
|
* @public
|
|
2468
2588
|
*/
|
|
2469
2589
|
mentions?: (string)[];
|
|
2590
|
+
/**
|
|
2591
|
+
* Set to true to suppress the updated indicator. Defaults to false.
|
|
2592
|
+
* @public
|
|
2593
|
+
*/
|
|
2594
|
+
silent?: boolean;
|
|
2470
2595
|
}
|
|
2471
2596
|
/**
|
|
2472
2597
|
* @public
|
|
@@ -27,11 +27,13 @@ import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutp
|
|
|
27
27
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "../commands/ListInboxTagsCommand";
|
|
28
28
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "../commands/ListMessageReactionsCommand";
|
|
29
29
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "../commands/ListMessagesCommand";
|
|
30
|
+
import { ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput } from "../commands/ListPinnedMessagesCommand";
|
|
30
31
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "../commands/MarkReadCommand";
|
|
31
32
|
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "../commands/MarkUnreadCommand";
|
|
32
33
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "../commands/PartialUpdateChannelCommand";
|
|
33
34
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "../commands/PartialUpdateMessageCommand";
|
|
34
35
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "../commands/PinChannelCommand";
|
|
36
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "../commands/PinMessageCommand";
|
|
35
37
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "../commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
36
38
|
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "../commands/SendActionTriggerResultCommand";
|
|
37
39
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "../commands/SendGiphyCommand";
|
|
@@ -43,6 +45,7 @@ import { ShowChannelCommandInput, ShowChannelCommandOutput } from "../commands/S
|
|
|
43
45
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "../commands/TagChannelCommand";
|
|
44
46
|
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "../commands/TriggerMessageActionCommand";
|
|
45
47
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "../commands/UnpinChannelCommand";
|
|
48
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "../commands/UnpinMessageCommand";
|
|
46
49
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "../commands/UntagChannelCommand";
|
|
47
50
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand";
|
|
48
51
|
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "../commands/UpdateInboxTagCommand";
|
|
@@ -166,6 +169,10 @@ export declare const se_ListMessageReactionsCommand: (input: ListMessageReaction
|
|
|
166
169
|
* serializeAws_restJson1ListMessagesCommand
|
|
167
170
|
*/
|
|
168
171
|
export declare const se_ListMessagesCommand: (input: ListMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
172
|
+
/**
|
|
173
|
+
* serializeAws_restJson1ListPinnedMessagesCommand
|
|
174
|
+
*/
|
|
175
|
+
export declare const se_ListPinnedMessagesCommand: (input: ListPinnedMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
169
176
|
/**
|
|
170
177
|
* serializeAws_restJson1MarkReadCommand
|
|
171
178
|
*/
|
|
@@ -186,6 +193,10 @@ export declare const se_PartialUpdateMessageCommand: (input: PartialUpdateMessag
|
|
|
186
193
|
* serializeAws_restJson1PinChannelCommand
|
|
187
194
|
*/
|
|
188
195
|
export declare const se_PinChannelCommand: (input: PinChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
196
|
+
/**
|
|
197
|
+
* serializeAws_restJson1PinMessageCommand
|
|
198
|
+
*/
|
|
199
|
+
export declare const se_PinMessageCommand: (input: PinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
189
200
|
/**
|
|
190
201
|
* serializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
191
202
|
*/
|
|
@@ -230,6 +241,10 @@ export declare const se_TriggerMessageActionCommand: (input: TriggerMessageActio
|
|
|
230
241
|
* serializeAws_restJson1UnpinChannelCommand
|
|
231
242
|
*/
|
|
232
243
|
export declare const se_UnpinChannelCommand: (input: UnpinChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
244
|
+
/**
|
|
245
|
+
* serializeAws_restJson1UnpinMessageCommand
|
|
246
|
+
*/
|
|
247
|
+
export declare const se_UnpinMessageCommand: (input: UnpinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
233
248
|
/**
|
|
234
249
|
* serializeAws_restJson1UntagChannelCommand
|
|
235
250
|
*/
|
|
@@ -366,6 +381,10 @@ export declare const de_ListMessageReactionsCommand: (output: __HttpResponse, co
|
|
|
366
381
|
* deserializeAws_restJson1ListMessagesCommand
|
|
367
382
|
*/
|
|
368
383
|
export declare const de_ListMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMessagesCommandOutput>;
|
|
384
|
+
/**
|
|
385
|
+
* deserializeAws_restJson1ListPinnedMessagesCommand
|
|
386
|
+
*/
|
|
387
|
+
export declare const de_ListPinnedMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPinnedMessagesCommandOutput>;
|
|
369
388
|
/**
|
|
370
389
|
* deserializeAws_restJson1MarkReadCommand
|
|
371
390
|
*/
|
|
@@ -386,6 +405,10 @@ export declare const de_PartialUpdateMessageCommand: (output: __HttpResponse, co
|
|
|
386
405
|
* deserializeAws_restJson1PinChannelCommand
|
|
387
406
|
*/
|
|
388
407
|
export declare const de_PinChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinChannelCommandOutput>;
|
|
408
|
+
/**
|
|
409
|
+
* deserializeAws_restJson1PinMessageCommand
|
|
410
|
+
*/
|
|
411
|
+
export declare const de_PinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinMessageCommandOutput>;
|
|
389
412
|
/**
|
|
390
413
|
* deserializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
391
414
|
*/
|
|
@@ -430,6 +453,10 @@ export declare const de_TriggerMessageActionCommand: (output: __HttpResponse, co
|
|
|
430
453
|
* deserializeAws_restJson1UnpinChannelCommand
|
|
431
454
|
*/
|
|
432
455
|
export declare const de_UnpinChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnpinChannelCommandOutput>;
|
|
456
|
+
/**
|
|
457
|
+
* deserializeAws_restJson1UnpinMessageCommand
|
|
458
|
+
*/
|
|
459
|
+
export declare const de_UnpinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnpinMessageCommandOutput>;
|
|
433
460
|
/**
|
|
434
461
|
* deserializeAws_restJson1UntagChannelCommand
|
|
435
462
|
*/
|
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.64",
|
|
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",
|