@wildix/xbees-conversations-client 1.0.64 → 1.1.0
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 +0 -12
- package/dist-cjs/commands/index.js +0 -6
- package/dist-cjs/models/models_0.js +30 -103
- package/dist-cjs/protocols/Aws_restJson1.js +2 -230
- package/dist-es/Conversations.js +0 -12
- package/dist-es/commands/index.js +0 -6
- package/dist-es/models/models_0.js +28 -99
- package/dist-es/protocols/Aws_restJson1.js +1 -216
- package/dist-types/Conversations.d.ts +0 -42
- package/dist-types/ConversationsClient.d.ts +2 -8
- package/dist-types/commands/DescribeEventCommand.d.ts +19 -274
- package/dist-types/commands/GetMessageCommand.d.ts +23 -84
- package/dist-types/commands/ListMessagesCommand.d.ts +23 -84
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +46 -169
- package/dist-types/commands/SendGiphyCommand.d.ts +23 -84
- package/dist-types/commands/SendMessageCommand.d.ts +46 -168
- package/dist-types/commands/UpdateMessageCommand.d.ts +46 -169
- package/dist-types/commands/index.d.ts +0 -6
- package/dist-types/models/models_0.d.ts +91 -597
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -54
- package/dist-types/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/runtimeConfig.d.ts +0 -1
- package/dist-types/runtimeConfig.native.d.ts +0 -1
- package/package.json +1 -1
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +0 -21
- package/dist-cjs/commands/ListPinnedMessagesCommand.js +0 -21
- package/dist-cjs/commands/PinMessageCommand.js +0 -21
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +0 -21
- package/dist-cjs/commands/TriggerMessageActionCommand.js +0 -21
- package/dist-cjs/commands/UnpinMessageCommand.js +0 -21
- package/dist-es/commands/GetActionTriggerResultCommand.js +0 -17
- package/dist-es/commands/ListPinnedMessagesCommand.js +0 -17
- package/dist-es/commands/PinMessageCommand.js +0 -17
- package/dist-es/commands/SendActionTriggerResultCommand.js +0 -17
- package/dist-es/commands/TriggerMessageActionCommand.js +0 -17
- package/dist-es/commands/UnpinMessageCommand.js +0 -17
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +0 -70
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +0 -261
- package/dist-types/commands/PinMessageCommand.d.ts +0 -73
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +0 -68
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +0 -75
- package/dist-types/commands/UnpinMessageCommand.d.ts +0 -71
|
@@ -8,7 +8,6 @@ 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";
|
|
12
11
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
|
|
13
12
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "../commands/GetChannelMemberCommand";
|
|
14
13
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "../commands/GetDirectChannelIdCommand";
|
|
@@ -27,15 +26,12 @@ import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutp
|
|
|
27
26
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "../commands/ListInboxTagsCommand";
|
|
28
27
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "../commands/ListMessageReactionsCommand";
|
|
29
28
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "../commands/ListMessagesCommand";
|
|
30
|
-
import { ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput } from "../commands/ListPinnedMessagesCommand";
|
|
31
29
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "../commands/MarkReadCommand";
|
|
32
30
|
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "../commands/MarkUnreadCommand";
|
|
33
31
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "../commands/PartialUpdateChannelCommand";
|
|
34
32
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "../commands/PartialUpdateMessageCommand";
|
|
35
33
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "../commands/PinChannelCommand";
|
|
36
|
-
import { PinMessageCommandInput, PinMessageCommandOutput } from "../commands/PinMessageCommand";
|
|
37
34
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "../commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
38
|
-
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "../commands/SendActionTriggerResultCommand";
|
|
39
35
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "../commands/SendGiphyCommand";
|
|
40
36
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
|
|
41
37
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "../commands/SendMessageReactionCommand";
|
|
@@ -43,9 +39,7 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "../co
|
|
|
43
39
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "../commands/SendTypingStopCommand";
|
|
44
40
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "../commands/ShowChannelCommand";
|
|
45
41
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "../commands/TagChannelCommand";
|
|
46
|
-
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "../commands/TriggerMessageActionCommand";
|
|
47
42
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "../commands/UnpinChannelCommand";
|
|
48
|
-
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "../commands/UnpinMessageCommand";
|
|
49
43
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "../commands/UntagChannelCommand";
|
|
50
44
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand";
|
|
51
45
|
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "../commands/UpdateInboxTagCommand";
|
|
@@ -93,10 +87,6 @@ export declare const se_DeleteMessageReactionCommand: (input: DeleteMessageReact
|
|
|
93
87
|
* serializeAws_restJson1DescribeEventCommand
|
|
94
88
|
*/
|
|
95
89
|
export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
|
-
/**
|
|
97
|
-
* serializeAws_restJson1GetActionTriggerResultCommand
|
|
98
|
-
*/
|
|
99
|
-
export declare const se_GetActionTriggerResultCommand: (input: GetActionTriggerResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
100
90
|
/**
|
|
101
91
|
* serializeAws_restJson1GetChannelCommand
|
|
102
92
|
*/
|
|
@@ -169,10 +159,6 @@ export declare const se_ListMessageReactionsCommand: (input: ListMessageReaction
|
|
|
169
159
|
* serializeAws_restJson1ListMessagesCommand
|
|
170
160
|
*/
|
|
171
161
|
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>;
|
|
176
162
|
/**
|
|
177
163
|
* serializeAws_restJson1MarkReadCommand
|
|
178
164
|
*/
|
|
@@ -193,18 +179,10 @@ export declare const se_PartialUpdateMessageCommand: (input: PartialUpdateMessag
|
|
|
193
179
|
* serializeAws_restJson1PinChannelCommand
|
|
194
180
|
*/
|
|
195
181
|
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>;
|
|
200
182
|
/**
|
|
201
183
|
* serializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
202
184
|
*/
|
|
203
185
|
export declare const se_ScheduleExternalFlagAdjustmentJobCommand: (input: ScheduleExternalFlagAdjustmentJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
204
|
-
/**
|
|
205
|
-
* serializeAws_restJson1SendActionTriggerResultCommand
|
|
206
|
-
*/
|
|
207
|
-
export declare const se_SendActionTriggerResultCommand: (input: SendActionTriggerResultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
208
186
|
/**
|
|
209
187
|
* serializeAws_restJson1SendGiphyCommand
|
|
210
188
|
*/
|
|
@@ -233,18 +211,10 @@ export declare const se_ShowChannelCommand: (input: ShowChannelCommandInput, con
|
|
|
233
211
|
* serializeAws_restJson1TagChannelCommand
|
|
234
212
|
*/
|
|
235
213
|
export declare const se_TagChannelCommand: (input: TagChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
236
|
-
/**
|
|
237
|
-
* serializeAws_restJson1TriggerMessageActionCommand
|
|
238
|
-
*/
|
|
239
|
-
export declare const se_TriggerMessageActionCommand: (input: TriggerMessageActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
240
214
|
/**
|
|
241
215
|
* serializeAws_restJson1UnpinChannelCommand
|
|
242
216
|
*/
|
|
243
217
|
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>;
|
|
248
218
|
/**
|
|
249
219
|
* serializeAws_restJson1UntagChannelCommand
|
|
250
220
|
*/
|
|
@@ -305,10 +275,6 @@ export declare const de_DeleteMessageReactionCommand: (output: __HttpResponse, c
|
|
|
305
275
|
* deserializeAws_restJson1DescribeEventCommand
|
|
306
276
|
*/
|
|
307
277
|
export declare const de_DescribeEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEventCommandOutput>;
|
|
308
|
-
/**
|
|
309
|
-
* deserializeAws_restJson1GetActionTriggerResultCommand
|
|
310
|
-
*/
|
|
311
|
-
export declare const de_GetActionTriggerResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetActionTriggerResultCommandOutput>;
|
|
312
278
|
/**
|
|
313
279
|
* deserializeAws_restJson1GetChannelCommand
|
|
314
280
|
*/
|
|
@@ -381,10 +347,6 @@ export declare const de_ListMessageReactionsCommand: (output: __HttpResponse, co
|
|
|
381
347
|
* deserializeAws_restJson1ListMessagesCommand
|
|
382
348
|
*/
|
|
383
349
|
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>;
|
|
388
350
|
/**
|
|
389
351
|
* deserializeAws_restJson1MarkReadCommand
|
|
390
352
|
*/
|
|
@@ -405,18 +367,10 @@ export declare const de_PartialUpdateMessageCommand: (output: __HttpResponse, co
|
|
|
405
367
|
* deserializeAws_restJson1PinChannelCommand
|
|
406
368
|
*/
|
|
407
369
|
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>;
|
|
412
370
|
/**
|
|
413
371
|
* deserializeAws_restJson1ScheduleExternalFlagAdjustmentJobCommand
|
|
414
372
|
*/
|
|
415
373
|
export declare const de_ScheduleExternalFlagAdjustmentJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ScheduleExternalFlagAdjustmentJobCommandOutput>;
|
|
416
|
-
/**
|
|
417
|
-
* deserializeAws_restJson1SendActionTriggerResultCommand
|
|
418
|
-
*/
|
|
419
|
-
export declare const de_SendActionTriggerResultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendActionTriggerResultCommandOutput>;
|
|
420
374
|
/**
|
|
421
375
|
* deserializeAws_restJson1SendGiphyCommand
|
|
422
376
|
*/
|
|
@@ -445,18 +399,10 @@ export declare const de_ShowChannelCommand: (output: __HttpResponse, context: __
|
|
|
445
399
|
* deserializeAws_restJson1TagChannelCommand
|
|
446
400
|
*/
|
|
447
401
|
export declare const de_TagChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagChannelCommandOutput>;
|
|
448
|
-
/**
|
|
449
|
-
* deserializeAws_restJson1TriggerMessageActionCommand
|
|
450
|
-
*/
|
|
451
|
-
export declare const de_TriggerMessageActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TriggerMessageActionCommandOutput>;
|
|
452
402
|
/**
|
|
453
403
|
* deserializeAws_restJson1UnpinChannelCommand
|
|
454
404
|
*/
|
|
455
405
|
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>;
|
|
460
406
|
/**
|
|
461
407
|
* deserializeAws_restJson1UntagChannelCommand
|
|
462
408
|
*/
|
|
@@ -16,7 +16,6 @@ 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;
|
|
20
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
20
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
21
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -16,7 +16,6 @@ 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;
|
|
20
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
20
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
21
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -9,7 +9,6 @@ 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;
|
|
13
12
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
14
|
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.1.0",
|
|
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",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetActionTriggerResultCommand = exports.$Command = void 0;
|
|
4
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class GetActionTriggerResultCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
-
})
|
|
14
|
-
.s("Conversations", "GetActionTriggerResult", {})
|
|
15
|
-
.n("ConversationsClient", "GetActionTriggerResultCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_GetActionTriggerResultCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_GetActionTriggerResultCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.GetActionTriggerResultCommand = GetActionTriggerResultCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListPinnedMessagesCommand = exports.$Command = void 0;
|
|
4
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class ListPinnedMessagesCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
-
})
|
|
14
|
-
.s("Conversations", "ListPinnedMessages", {})
|
|
15
|
-
.n("ConversationsClient", "ListPinnedMessagesCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_ListPinnedMessagesCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_ListPinnedMessagesCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.ListPinnedMessagesCommand = ListPinnedMessagesCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PinMessageCommand = exports.$Command = void 0;
|
|
4
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class PinMessageCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
-
})
|
|
14
|
-
.s("Conversations", "PinMessage", {})
|
|
15
|
-
.n("ConversationsClient", "PinMessageCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_PinMessageCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_PinMessageCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.PinMessageCommand = PinMessageCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SendActionTriggerResultCommand = exports.$Command = void 0;
|
|
4
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class SendActionTriggerResultCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
-
})
|
|
14
|
-
.s("Conversations", "SendActionTriggerResult", {})
|
|
15
|
-
.n("ConversationsClient", "SendActionTriggerResultCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_SendActionTriggerResultCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_SendActionTriggerResultCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.SendActionTriggerResultCommand = SendActionTriggerResultCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TriggerMessageActionCommand = exports.$Command = void 0;
|
|
4
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class TriggerMessageActionCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
-
})
|
|
14
|
-
.s("Conversations", "TriggerMessageAction", {})
|
|
15
|
-
.n("ConversationsClient", "TriggerMessageActionCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_TriggerMessageActionCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_TriggerMessageActionCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.TriggerMessageActionCommand = TriggerMessageActionCommand;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnpinMessageCommand = exports.$Command = void 0;
|
|
4
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class UnpinMessageCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
-
})
|
|
14
|
-
.s("Conversations", "UnpinMessage", {})
|
|
15
|
-
.n("ConversationsClient", "UnpinMessageCommand")
|
|
16
|
-
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.se_UnpinMessageCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_UnpinMessageCommand)
|
|
19
|
-
.build() {
|
|
20
|
-
}
|
|
21
|
-
exports.UnpinMessageCommand = UnpinMessageCommand;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_GetActionTriggerResultCommand, se_GetActionTriggerResultCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
export { $Command };
|
|
5
|
-
export class GetActionTriggerResultCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Conversations", "GetActionTriggerResult", {})
|
|
12
|
-
.n("ConversationsClient", "GetActionTriggerResultCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_GetActionTriggerResultCommand)
|
|
15
|
-
.de(de_GetActionTriggerResultCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_ListPinnedMessagesCommand, se_ListPinnedMessagesCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
export { $Command };
|
|
5
|
-
export class ListPinnedMessagesCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Conversations", "ListPinnedMessages", {})
|
|
12
|
-
.n("ConversationsClient", "ListPinnedMessagesCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_ListPinnedMessagesCommand)
|
|
15
|
-
.de(de_ListPinnedMessagesCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_PinMessageCommand, se_PinMessageCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
export { $Command };
|
|
5
|
-
export class PinMessageCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Conversations", "PinMessage", {})
|
|
12
|
-
.n("ConversationsClient", "PinMessageCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_PinMessageCommand)
|
|
15
|
-
.de(de_PinMessageCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_SendActionTriggerResultCommand, se_SendActionTriggerResultCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
export { $Command };
|
|
5
|
-
export class SendActionTriggerResultCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Conversations", "SendActionTriggerResult", {})
|
|
12
|
-
.n("ConversationsClient", "SendActionTriggerResultCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_SendActionTriggerResultCommand)
|
|
15
|
-
.de(de_SendActionTriggerResultCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_TriggerMessageActionCommand, se_TriggerMessageActionCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
export { $Command };
|
|
5
|
-
export class TriggerMessageActionCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Conversations", "TriggerMessageAction", {})
|
|
12
|
-
.n("ConversationsClient", "TriggerMessageActionCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_TriggerMessageActionCommand)
|
|
15
|
-
.de(de_TriggerMessageActionCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { de_UnpinMessageCommand, se_UnpinMessageCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
export { $Command };
|
|
5
|
-
export class UnpinMessageCommand extends $Command.classBuilder()
|
|
6
|
-
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
-
})
|
|
11
|
-
.s("Conversations", "UnpinMessage", {})
|
|
12
|
-
.n("ConversationsClient", "UnpinMessageCommand")
|
|
13
|
-
.f(void 0, void 0)
|
|
14
|
-
.ser(se_UnpinMessageCommand)
|
|
15
|
-
.de(de_UnpinMessageCommand)
|
|
16
|
-
.build() {
|
|
17
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
-
import { GetActionTriggerResultInput, GetActionTriggerResultOutput } 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 GetActionTriggerResultCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface GetActionTriggerResultCommandInput extends GetActionTriggerResultInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link GetActionTriggerResultCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface GetActionTriggerResultCommandOutput extends GetActionTriggerResultOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const GetActionTriggerResultCommand_base: {
|
|
25
|
-
new (input: GetActionTriggerResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (__0_0: GetActionTriggerResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Get result of the triggered action.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ConversationsClient, GetActionTriggerResultCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
-
* // const { ConversationsClient, GetActionTriggerResultCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
-
* const client = new ConversationsClient(config);
|
|
37
|
-
* const input = { // GetActionTriggerResultInput
|
|
38
|
-
* triggerId: "STRING_VALUE", // required
|
|
39
|
-
* userId: "STRING_VALUE",
|
|
40
|
-
* };
|
|
41
|
-
* const command = new GetActionTriggerResultCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* // { // GetActionTriggerResultOutput
|
|
44
|
-
* // status: "completed" || "pending", // required
|
|
45
|
-
* // result: {},
|
|
46
|
-
* // };
|
|
47
|
-
*
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @param GetActionTriggerResultCommandInput - {@link GetActionTriggerResultCommandInput}
|
|
51
|
-
* @returns {@link GetActionTriggerResultCommandOutput}
|
|
52
|
-
* @see {@link GetActionTriggerResultCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link GetActionTriggerResultCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link TriggerNotFoundException} (client fault)
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link ValidationException} (client fault)
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
-
*
|
|
62
|
-
* @throws {@link RateLimitExceededException} (client fault)
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link ConversationsServiceException}
|
|
65
|
-
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
66
|
-
*
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export declare class GetActionTriggerResultCommand extends GetActionTriggerResultCommand_base {
|
|
70
|
-
}
|