@wildix/xbees-conversations-client 1.0.30 → 1.0.32
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 +36 -4
- package/dist-cjs/commands/AddChannelMemberCommand.js +41 -0
- package/dist-cjs/commands/AddChannelMembersCommand.js +41 -0
- package/dist-cjs/commands/CreateGroupChannelCommand.js +41 -0
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +41 -0
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +41 -0
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +41 -0
- package/dist-cjs/commands/GetMessageReactionsCommand.js +41 -0
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +41 -0
- package/dist-cjs/commands/InviteCommand.js +41 -0
- package/dist-cjs/commands/{CreateChannelCommand.js → LeaveChannelCommand.js} +7 -7
- package/dist-cjs/commands/ListChannelMembersCommand.js +41 -0
- package/dist-cjs/commands/MarkReadCommand.js +41 -0
- package/dist-cjs/commands/SendGiphyCommand.js +41 -0
- package/dist-cjs/commands/SendMessageCommand.js +41 -0
- package/dist-cjs/commands/SendMessageReactionCommand.js +41 -0
- package/dist-cjs/commands/SendSystemMessageCommand.js +41 -0
- package/dist-cjs/commands/SendTypingStartCommand.js +41 -0
- package/dist-cjs/commands/{CreateMessageCommand.js → SendTypingStopCommand.js} +7 -7
- package/dist-cjs/commands/index.js +18 -2
- package/dist-cjs/models/models_0.js +71 -52
- package/dist-cjs/protocols/Aws_restJson1.js +1208 -145
- package/dist-es/Conversations.js +36 -4
- package/dist-es/commands/AddChannelMemberCommand.js +37 -0
- package/dist-es/commands/AddChannelMembersCommand.js +37 -0
- package/dist-es/commands/CreateGroupChannelCommand.js +37 -0
- package/dist-es/commands/DeleteChannelMemberCommand.js +37 -0
- package/dist-es/commands/DeleteMessageReactionCommand.js +37 -0
- package/dist-es/commands/GetDirectChannelIdCommand.js +37 -0
- package/dist-es/commands/GetMessageReactionsCommand.js +37 -0
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +37 -0
- package/dist-es/commands/{CreateChannelCommand.js → InviteCommand.js} +6 -6
- package/dist-es/commands/{CreateMessageCommand.js → LeaveChannelCommand.js} +6 -6
- package/dist-es/commands/ListChannelMembersCommand.js +37 -0
- package/dist-es/commands/MarkReadCommand.js +37 -0
- package/dist-es/commands/SendGiphyCommand.js +37 -0
- package/dist-es/commands/SendMessageCommand.js +37 -0
- package/dist-es/commands/SendMessageReactionCommand.js +37 -0
- package/dist-es/commands/SendSystemMessageCommand.js +37 -0
- package/dist-es/commands/SendTypingStartCommand.js +37 -0
- package/dist-es/commands/SendTypingStopCommand.js +37 -0
- package/dist-es/commands/index.js +18 -2
- package/dist-es/models/models_0.js +67 -50
- package/dist-es/protocols/Aws_restJson1.js +1178 -148
- package/dist-types/Conversations.d.ts +122 -10
- package/dist-types/ConversationsClient.d.ts +20 -4
- package/dist-types/commands/AddChannelMemberCommand.d.ts +105 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +113 -0
- package/dist-types/commands/{CreateChannelCommand.d.ts → CreateGroupChannelCommand.d.ts} +37 -79
- package/dist-types/commands/DeleteChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +79 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +80 -0
- package/dist-types/commands/GetChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetChannelMemberCommand.d.ts +17 -0
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +82 -0
- package/dist-types/commands/GetMessageCommand.d.ts +23 -21
- package/dist-types/commands/GetMessageReactionsCommand.d.ts +101 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +144 -0
- package/dist-types/commands/InviteCommand.d.ts +98 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
- package/dist-types/commands/LeaveChannelCommand.d.ts +77 -0
- package/dist-types/commands/ListChannelMembersCommand.d.ts +102 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +23 -21
- package/dist-types/commands/MarkReadCommand.d.ts +76 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +5 -52
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +46 -54
- package/dist-types/commands/SendGiphyCommand.d.ts +220 -0
- package/dist-types/commands/{CreateMessageCommand.d.ts → SendMessageCommand.d.ts} +137 -143
- package/dist-types/commands/SendMessageReactionCommand.d.ts +78 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +213 -0
- package/dist-types/commands/SendTypingStartCommand.d.ts +76 -0
- package/dist-types/commands/SendTypingStopCommand.d.ts +76 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +8 -57
- package/dist-types/commands/UpdateMessageCommand.d.ts +118 -125
- package/dist-types/commands/index.d.ts +18 -2
- package/dist-types/models/models_0.d.ts +455 -172
- package/dist-types/protocols/Aws_restJson1.d.ts +154 -10
- package/package.json +1 -1
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { SendSystemMessageInput, SendSystemMessageOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link SendSystemMessageCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface SendSystemMessageCommandInput extends SendSystemMessageInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link SendSystemMessageCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface SendSystemMessageCommandOutput extends SendSystemMessageOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ConversationsClient, SendSystemMessageCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
30
|
+
* // const { ConversationsClient, SendSystemMessageCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
31
|
+
* const client = new ConversationsClient(config);
|
|
32
|
+
* const input = { // SendSystemMessageInput
|
|
33
|
+
* channelId: "STRING_VALUE", // required
|
|
34
|
+
* userId: "STRING_VALUE",
|
|
35
|
+
* messageId: "STRING_VALUE",
|
|
36
|
+
* };
|
|
37
|
+
* const command = new SendSystemMessageCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // SendSystemMessageOutput
|
|
40
|
+
* // message: { // Message
|
|
41
|
+
* // text: "STRING_VALUE",
|
|
42
|
+
* // attachments: [ // MessageAttachmentList
|
|
43
|
+
* // { // MessageAttachment
|
|
44
|
+
* // id: "STRING_VALUE", // required
|
|
45
|
+
* // fsId: "STRING_VALUE", // required
|
|
46
|
+
* // mime: "STRING_VALUE",
|
|
47
|
+
* // name: "STRING_VALUE",
|
|
48
|
+
* // size: Number("int"), // required
|
|
49
|
+
* // width: Number("int"),
|
|
50
|
+
* // height: Number("int"),
|
|
51
|
+
* // thumbnail: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // quote: {
|
|
55
|
+
* // text: "STRING_VALUE",
|
|
56
|
+
* // attachments: [
|
|
57
|
+
* // {
|
|
58
|
+
* // id: "STRING_VALUE", // required
|
|
59
|
+
* // fsId: "STRING_VALUE", // required
|
|
60
|
+
* // mime: "STRING_VALUE",
|
|
61
|
+
* // name: "STRING_VALUE",
|
|
62
|
+
* // size: Number("int"), // required
|
|
63
|
+
* // width: Number("int"),
|
|
64
|
+
* // height: Number("int"),
|
|
65
|
+
* // thumbnail: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // quote: "<Message>",
|
|
69
|
+
* // forward: { // MessageForward
|
|
70
|
+
* // forwardCompany: "STRING_VALUE",
|
|
71
|
+
* // forwardDate: "STRING_VALUE", // required
|
|
72
|
+
* // forwardEmail: "STRING_VALUE",
|
|
73
|
+
* // forwardName: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // type: "regular", // required
|
|
76
|
+
* // giphy: { // MessageGiphy
|
|
77
|
+
* // id: "STRING_VALUE",
|
|
78
|
+
* // size: "STRING_VALUE",
|
|
79
|
+
* // url: "STRING_VALUE",
|
|
80
|
+
* // height: "STRING_VALUE",
|
|
81
|
+
* // width: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // silent: true || false,
|
|
84
|
+
* // event: "STRING_VALUE",
|
|
85
|
+
* // sms: true || false,
|
|
86
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
87
|
+
* // messageId: "STRING_VALUE", // required
|
|
88
|
+
* // channelId: "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
|
+
* // company: "STRING_VALUE",
|
|
96
|
+
* // pbxDomain: "STRING_VALUE",
|
|
97
|
+
* // pbxPort: "STRING_VALUE",
|
|
98
|
+
* // pbxExtension: "STRING_VALUE",
|
|
99
|
+
* // pbxSerial: "STRING_VALUE",
|
|
100
|
+
* // pbxUserId: "STRING_VALUE",
|
|
101
|
+
* // createdAt: "STRING_VALUE",
|
|
102
|
+
* // updatedAt: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // edit: true || false,
|
|
105
|
+
* // mentions: [ // UsersList
|
|
106
|
+
* // {
|
|
107
|
+
* // id: "STRING_VALUE", // required
|
|
108
|
+
* // name: "STRING_VALUE",
|
|
109
|
+
* // email: "STRING_VALUE",
|
|
110
|
+
* // phone: "STRING_VALUE",
|
|
111
|
+
* // picture: "STRING_VALUE",
|
|
112
|
+
* // company: "STRING_VALUE",
|
|
113
|
+
* // pbxDomain: "STRING_VALUE",
|
|
114
|
+
* // pbxPort: "STRING_VALUE",
|
|
115
|
+
* // pbxExtension: "STRING_VALUE",
|
|
116
|
+
* // pbxSerial: "STRING_VALUE",
|
|
117
|
+
* // pbxUserId: "STRING_VALUE",
|
|
118
|
+
* // createdAt: "STRING_VALUE",
|
|
119
|
+
* // updatedAt: "STRING_VALUE",
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // latestReactions: [ // ReactionList
|
|
123
|
+
* // { // Reaction
|
|
124
|
+
* // type: "STRING_VALUE",
|
|
125
|
+
* // userId: "STRING_VALUE",
|
|
126
|
+
* // messageId: "STRING_VALUE",
|
|
127
|
+
* // user: "<User>",
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // reactionCounts: { // ReactionCounts
|
|
131
|
+
* // "<keys>": Number("int"),
|
|
132
|
+
* // },
|
|
133
|
+
* // createdAt: "STRING_VALUE", // required
|
|
134
|
+
* // updatedAt: "STRING_VALUE",
|
|
135
|
+
* // },
|
|
136
|
+
* // forward: {
|
|
137
|
+
* // forwardCompany: "STRING_VALUE",
|
|
138
|
+
* // forwardDate: "STRING_VALUE", // required
|
|
139
|
+
* // forwardEmail: "STRING_VALUE",
|
|
140
|
+
* // forwardName: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // type: "regular", // required
|
|
143
|
+
* // giphy: {
|
|
144
|
+
* // id: "STRING_VALUE",
|
|
145
|
+
* // size: "STRING_VALUE",
|
|
146
|
+
* // url: "STRING_VALUE",
|
|
147
|
+
* // height: "STRING_VALUE",
|
|
148
|
+
* // width: "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // silent: true || false,
|
|
151
|
+
* // event: "STRING_VALUE",
|
|
152
|
+
* // sms: true || false,
|
|
153
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
154
|
+
* // messageId: "STRING_VALUE", // required
|
|
155
|
+
* // channelId: "STRING_VALUE", // required
|
|
156
|
+
* // user: "<User>", // required
|
|
157
|
+
* // edit: true || false,
|
|
158
|
+
* // mentions: [
|
|
159
|
+
* // "<User>",
|
|
160
|
+
* // ],
|
|
161
|
+
* // latestReactions: [
|
|
162
|
+
* // {
|
|
163
|
+
* // type: "STRING_VALUE",
|
|
164
|
+
* // userId: "STRING_VALUE",
|
|
165
|
+
* // messageId: "STRING_VALUE",
|
|
166
|
+
* // user: "<User>",
|
|
167
|
+
* // },
|
|
168
|
+
* // ],
|
|
169
|
+
* // reactionCounts: {
|
|
170
|
+
* // "<keys>": Number("int"),
|
|
171
|
+
* // },
|
|
172
|
+
* // createdAt: "STRING_VALUE", // required
|
|
173
|
+
* // updatedAt: "STRING_VALUE",
|
|
174
|
+
* // },
|
|
175
|
+
* // };
|
|
176
|
+
*
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
179
|
+
* @param SendSystemMessageCommandInput - {@link SendSystemMessageCommandInput}
|
|
180
|
+
* @returns {@link SendSystemMessageCommandOutput}
|
|
181
|
+
* @see {@link SendSystemMessageCommandInput} for command's `input` shape.
|
|
182
|
+
* @see {@link SendSystemMessageCommandOutput} for command's `response` shape.
|
|
183
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
184
|
+
*
|
|
185
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ValidationException} (client fault)
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link ConversationsServiceException}
|
|
192
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
193
|
+
*
|
|
194
|
+
*/
|
|
195
|
+
export declare class SendSystemMessageCommand extends $Command<SendSystemMessageCommandInput, SendSystemMessageCommandOutput, ConversationsClientResolvedConfig> {
|
|
196
|
+
readonly input: SendSystemMessageCommandInput;
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
constructor(input: SendSystemMessageCommandInput);
|
|
201
|
+
/**
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendSystemMessageCommandInput, SendSystemMessageCommandOutput>;
|
|
205
|
+
/**
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
private serialize;
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
private deserialize;
|
|
213
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { SendTypingStartInput, SendTypingStartOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link SendTypingStartCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface SendTypingStartCommandInput extends SendTypingStartInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link SendTypingStartCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface SendTypingStartCommandOutput extends SendTypingStartOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ConversationsClient, SendTypingStartCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
30
|
+
* // const { ConversationsClient, SendTypingStartCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
31
|
+
* const client = new ConversationsClient(config);
|
|
32
|
+
* const input = { // SendTypingStartInput
|
|
33
|
+
* channelId: "STRING_VALUE", // required
|
|
34
|
+
* userId: "STRING_VALUE",
|
|
35
|
+
* };
|
|
36
|
+
* const command = new SendTypingStartCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param SendTypingStartCommandInput - {@link SendTypingStartCommandInput}
|
|
43
|
+
* @returns {@link SendTypingStartCommandOutput}
|
|
44
|
+
* @see {@link SendTypingStartCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link SendTypingStartCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ValidationException} (client fault)
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConversationsServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
export declare class SendTypingStartCommand extends $Command<SendTypingStartCommandInput, SendTypingStartCommandOutput, ConversationsClientResolvedConfig> {
|
|
59
|
+
readonly input: SendTypingStartCommandInput;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
constructor(input: SendTypingStartCommandInput);
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendTypingStartCommandInput, SendTypingStartCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private deserialize;
|
|
76
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { SendTypingStopInput, SendTypingStopOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link SendTypingStopCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface SendTypingStopCommandInput extends SendTypingStopInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link SendTypingStopCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface SendTypingStopCommandOutput extends SendTypingStopOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ConversationsClient, SendTypingStopCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
30
|
+
* // const { ConversationsClient, SendTypingStopCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
31
|
+
* const client = new ConversationsClient(config);
|
|
32
|
+
* const input = { // SendTypingStopInput
|
|
33
|
+
* channelId: "STRING_VALUE", // required
|
|
34
|
+
* userId: "STRING_VALUE",
|
|
35
|
+
* };
|
|
36
|
+
* const command = new SendTypingStopCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param SendTypingStopCommandInput - {@link SendTypingStopCommandInput}
|
|
43
|
+
* @returns {@link SendTypingStopCommandOutput}
|
|
44
|
+
* @see {@link SendTypingStopCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link SendTypingStopCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ValidationException} (client fault)
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConversationsServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
export declare class SendTypingStopCommand extends $Command<SendTypingStopCommandInput, SendTypingStopCommandOutput, ConversationsClientResolvedConfig> {
|
|
59
|
+
readonly input: SendTypingStopCommandInput;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
constructor(input: SendTypingStopCommandInput);
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConversationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendTypingStopCommandInput, SendTypingStopCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private deserialize;
|
|
76
|
+
}
|
|
@@ -30,65 +30,14 @@ export interface UpdateChannelCommandOutput extends UpdateChannelOutput, __Metad
|
|
|
30
30
|
* // const { ConversationsClient, UpdateChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
31
31
|
* const client = new ConversationsClient(config);
|
|
32
32
|
* const input = { // UpdateChannelInput
|
|
33
|
+
* subject: "STRING_VALUE",
|
|
34
|
+
* description: "STRING_VALUE",
|
|
35
|
+
* picture: "STRING_VALUE",
|
|
36
|
+
* pictureColor: "STRING_VALUE",
|
|
37
|
+
* access: "private" || "public",
|
|
38
|
+
* broadcast: true || false,
|
|
33
39
|
* channelId: "STRING_VALUE", // required
|
|
34
40
|
* userId: "STRING_VALUE",
|
|
35
|
-
* channel: { // ChannelUpdateFields
|
|
36
|
-
* subject: "STRING_VALUE",
|
|
37
|
-
* description: "STRING_VALUE",
|
|
38
|
-
* picture: "STRING_VALUE",
|
|
39
|
-
* pictureColor: "STRING_VALUE",
|
|
40
|
-
* access: "private" || "public",
|
|
41
|
-
* company: "STRING_VALUE",
|
|
42
|
-
* context: { // ChannelContext
|
|
43
|
-
* source: "kite",
|
|
44
|
-
* target: "STRING_VALUE",
|
|
45
|
-
* events: [ // ChannelContextEventList
|
|
46
|
-
* { // ChannelContextEvent
|
|
47
|
-
* id: "STRING_VALUE",
|
|
48
|
-
* owner: "STRING_VALUE",
|
|
49
|
-
* start: "STRING_VALUE",
|
|
50
|
-
* end: "STRING_VALUE",
|
|
51
|
-
* summary: "STRING_VALUE",
|
|
52
|
-
* attendees: [ // ChannelContextEventAttendeeList
|
|
53
|
-
* { // ChannelContextEventAttendee
|
|
54
|
-
* email: "STRING_VALUE", // required
|
|
55
|
-
* name: "STRING_VALUE",
|
|
56
|
-
* status: "accepted" || "tentative" || "declined" || "none", // required
|
|
57
|
-
* },
|
|
58
|
-
* ],
|
|
59
|
-
* },
|
|
60
|
-
* ],
|
|
61
|
-
* },
|
|
62
|
-
* kite: true || false,
|
|
63
|
-
* kiteTarget: "STRING_VALUE",
|
|
64
|
-
* kiteVariant: "STRING_VALUE",
|
|
65
|
-
* kiteAssign: "STRING_VALUE",
|
|
66
|
-
* kiteServiceName: "STRING_VALUE",
|
|
67
|
-
* kiteDefaultSubject: "STRING_VALUE",
|
|
68
|
-
* service: "STRING_VALUE",
|
|
69
|
-
* serviceTitle: "STRING_VALUE",
|
|
70
|
-
* serviceRecipient: "STRING_VALUE",
|
|
71
|
-
* assignee: { // User
|
|
72
|
-
* id: "STRING_VALUE", // required
|
|
73
|
-
* name: "STRING_VALUE",
|
|
74
|
-
* email: "STRING_VALUE",
|
|
75
|
-
* phone: "STRING_VALUE",
|
|
76
|
-
* picture: "STRING_VALUE",
|
|
77
|
-
* company: "STRING_VALUE",
|
|
78
|
-
* pbxDomain: "STRING_VALUE",
|
|
79
|
-
* pbxPort: "STRING_VALUE",
|
|
80
|
-
* pbxExtension: "STRING_VALUE",
|
|
81
|
-
* pbxSerial: "STRING_VALUE",
|
|
82
|
-
* pbxUserId: "STRING_VALUE",
|
|
83
|
-
* createdAt: "STRING_VALUE",
|
|
84
|
-
* updatedAt: "STRING_VALUE",
|
|
85
|
-
* },
|
|
86
|
-
* telephony: true || false,
|
|
87
|
-
* sms: true || false,
|
|
88
|
-
* mms: true || false,
|
|
89
|
-
* broadcast: true || false,
|
|
90
|
-
* external: true || false,
|
|
91
|
-
* },
|
|
92
41
|
* };
|
|
93
42
|
* const command = new UpdateChannelCommand(input);
|
|
94
43
|
* const response = await client.send(command);
|
|
@@ -170,6 +119,8 @@ export interface UpdateChannelCommandOutput extends UpdateChannelOutput, __Metad
|
|
|
170
119
|
*
|
|
171
120
|
* @throws {@link ValidationException} (client fault)
|
|
172
121
|
*
|
|
122
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
123
|
+
*
|
|
173
124
|
* @throws {@link ConversationsServiceException}
|
|
174
125
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
175
126
|
*
|