@wildix/xbees-conversations-client 1.0.55 → 1.0.57
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 +22 -0
- package/dist-cjs/commands/CreateInboxTagCommand.js +21 -0
- package/dist-cjs/commands/DeleteInboxTagCommand.js +21 -0
- package/dist-cjs/commands/GetInboxStateCommand.js +21 -0
- package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +21 -0
- package/dist-cjs/commands/ListInboxTagsCommand.js +21 -0
- package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
- package/dist-cjs/commands/PinChannelCommand.js +21 -0
- package/dist-cjs/commands/TagChannelCommand.js +21 -0
- package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
- package/dist-cjs/commands/UntagChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateInboxTagCommand.js +21 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/models/models_0.js +66 -1
- package/dist-cjs/protocols/Aws_restJson1.js +423 -2
- package/dist-es/Conversations.js +22 -0
- package/dist-es/commands/CreateInboxTagCommand.js +17 -0
- package/dist-es/commands/DeleteInboxTagCommand.js +17 -0
- package/dist-es/commands/GetInboxStateCommand.js +17 -0
- package/dist-es/commands/ListInboxTaggedChannelsCommand.js +17 -0
- package/dist-es/commands/ListInboxTagsCommand.js +17 -0
- package/dist-es/commands/MarkUnreadCommand.js +17 -0
- package/dist-es/commands/PinChannelCommand.js +17 -0
- package/dist-es/commands/TagChannelCommand.js +17 -0
- package/dist-es/commands/UnpinChannelCommand.js +17 -0
- package/dist-es/commands/UntagChannelCommand.js +17 -0
- package/dist-es/commands/UpdateInboxTagCommand.js +17 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +60 -0
- package/dist-es/protocols/Aws_restJson1.js +400 -1
- package/dist-types/Conversations.d.ts +79 -0
- package/dist-types/ConversationsClient.d.ts +13 -2
- package/dist-types/commands/CreateInboxTagCommand.d.ts +73 -0
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +65 -0
- package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
- package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
- package/dist-types/commands/PinChannelCommand.d.ts +75 -0
- package/dist-types/commands/TagChannelCommand.d.ts +76 -0
- package/dist-types/commands/UnpinChannelCommand.d.ts +67 -0
- package/dist-types/commands/UntagChannelCommand.d.ts +68 -0
- package/dist-types/commands/UpdateInboxTagCommand.d.ts +73 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +352 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/package.json +1 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { MarkUnreadInput, MarkUnreadOutput } 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 MarkUnreadCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface MarkUnreadCommandInput extends MarkUnreadInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link MarkUnreadCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface MarkUnreadCommandOutput extends MarkUnreadOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const MarkUnreadCommand_base: {
|
|
25
|
+
new (input: MarkUnreadCommandInput): import("@smithy/smithy-client").CommandImpl<MarkUnreadCommandInput, MarkUnreadCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: MarkUnreadCommandInput): import("@smithy/smithy-client").CommandImpl<MarkUnreadCommandInput, MarkUnreadCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* Marks the channel with unread indicator.
|
|
32
|
+
* A user can have up to 100 channels marked as unread. If a user tries to tag more than 100 channels, the system will remove the oldest channel unread marked if the force flag is specified; otherwise, a MarkUnreadChannelsLimitReachedException will be thrown.
|
|
33
|
+
* The system will automatically remove the unread mark from the channel if the user reads the messages using the MarkRead operation.
|
|
34
|
+
* This operation is idempotent, meaning that if the channel is already marked as unread, no error will be thrown.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { ConversationsClient, MarkUnreadCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
40
|
+
* // const { ConversationsClient, MarkUnreadCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
41
|
+
* const client = new ConversationsClient(config);
|
|
42
|
+
* const input = { // MarkUnreadInput
|
|
43
|
+
* channelId: "STRING_VALUE", // required
|
|
44
|
+
* userId: "STRING_VALUE",
|
|
45
|
+
* messageId: "STRING_VALUE",
|
|
46
|
+
* force: true || false,
|
|
47
|
+
* };
|
|
48
|
+
* const command = new MarkUnreadCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // {};
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param MarkUnreadCommandInput - {@link MarkUnreadCommandInput}
|
|
55
|
+
* @returns {@link MarkUnreadCommandOutput}
|
|
56
|
+
* @see {@link MarkUnreadCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link MarkUnreadCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link MarkUnreadChannelsLimitReachedException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConversationsServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class MarkUnreadCommand extends MarkUnreadCommand_base {
|
|
76
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { PinChannelInput, PinChannelOutput } 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 PinChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PinChannelCommandInput extends PinChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PinChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PinChannelCommandOutput extends PinChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PinChannelCommand_base: {
|
|
25
|
+
new (input: PinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PinChannelCommandInput, PinChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PinChannelCommandInput, PinChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* Marks the channel with a pin flag.
|
|
32
|
+
* A user can have up to 10 pinned channels. If a user tries to pin more than 10 channels, the system will remove the oldest channel if the force flag is specified; otherwise, a PinnedChannelsLimitReachedException will be thrown.
|
|
33
|
+
* The system will automatically remove the channel from pinned list if the user leaves the channel or if the channel is removed.
|
|
34
|
+
* This operation is idempotent, meaning that if the channel is already pinned, no error will be thrown.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { ConversationsClient, PinChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
40
|
+
* // const { ConversationsClient, PinChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
41
|
+
* const client = new ConversationsClient(config);
|
|
42
|
+
* const input = { // PinChannelInput
|
|
43
|
+
* channelId: "STRING_VALUE", // required
|
|
44
|
+
* userId: "STRING_VALUE",
|
|
45
|
+
* force: true || false,
|
|
46
|
+
* };
|
|
47
|
+
* const command = new PinChannelCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param PinChannelCommandInput - {@link PinChannelCommandInput}
|
|
54
|
+
* @returns {@link PinChannelCommandOutput}
|
|
55
|
+
* @see {@link PinChannelCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link PinChannelCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link PinnedChannelsLimitReachedException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConversationsServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class PinChannelCommand extends PinChannelCommand_base {
|
|
75
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { TagChannelInput, TagChannelOutput } 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 TagChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagChannelCommandInput extends TagChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagChannelCommandOutput extends TagChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagChannelCommand_base: {
|
|
25
|
+
new (input: TagChannelCommandInput): import("@smithy/smithy-client").CommandImpl<TagChannelCommandInput, TagChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TagChannelCommandInput): import("@smithy/smithy-client").CommandImpl<TagChannelCommandInput, TagChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* Marks the channel with specified tag.
|
|
32
|
+
* A user can have up to 100 channels tagged for a single tag. If a user tries to tag more than 100 channels, the system will remove the oldest channel tagged if the force flag is specified; otherwise, a TaggedChannelsLimitReachedException will be thrown.
|
|
33
|
+
* The system will automatically remove the channel from the specified tag if the user leaves the channel or if the channel is removed.
|
|
34
|
+
* This operation is idempotent, meaning that if the channel is already tagged, no error will be thrown.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { ConversationsClient, TagChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
40
|
+
* // const { ConversationsClient, TagChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
41
|
+
* const client = new ConversationsClient(config);
|
|
42
|
+
* const input = { // TagChannelInput
|
|
43
|
+
* channelId: "STRING_VALUE", // required
|
|
44
|
+
* userId: "STRING_VALUE",
|
|
45
|
+
* tagId: "STRING_VALUE", // required
|
|
46
|
+
* force: true || false,
|
|
47
|
+
* };
|
|
48
|
+
* const command = new TagChannelCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // {};
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param TagChannelCommandInput - {@link TagChannelCommandInput}
|
|
55
|
+
* @returns {@link TagChannelCommandOutput}
|
|
56
|
+
* @see {@link TagChannelCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link TagChannelCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link TaggedChannelsLimitReachedException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConversationsServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class TagChannelCommand extends TagChannelCommand_base {
|
|
76
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { UnpinChannelInput, UnpinChannelOutput } 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 UnpinChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UnpinChannelCommandInput extends UnpinChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UnpinChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UnpinChannelCommandOutput extends UnpinChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UnpinChannelCommand_base: {
|
|
25
|
+
new (input: UnpinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UnpinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Removes pin flag from the the channel.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, UnpinChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, UnpinChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // UnpinChannelInput
|
|
38
|
+
* channelId: "STRING_VALUE", // required
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UnpinChannelCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param UnpinChannelCommandInput - {@link UnpinChannelCommandInput}
|
|
48
|
+
* @returns {@link UnpinChannelCommandOutput}
|
|
49
|
+
* @see {@link UnpinChannelCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link UnpinChannelCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ValidationException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConversationsServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
63
|
+
*
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export declare class UnpinChannelCommand extends UnpinChannelCommand_base {
|
|
67
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { UntagChannelInput, UntagChannelOutput } 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 UntagChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagChannelCommandInput extends UntagChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagChannelCommandOutput extends UntagChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagChannelCommand_base: {
|
|
25
|
+
new (input: UntagChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UntagChannelCommandInput, UntagChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UntagChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UntagChannelCommandInput, UntagChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Removes specified tag from the the channel.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, UntagChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, UntagChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // UntagChannelInput
|
|
38
|
+
* channelId: "STRING_VALUE", // required
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* tagId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UntagChannelCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UntagChannelCommandInput - {@link UntagChannelCommandInput}
|
|
49
|
+
* @returns {@link UntagChannelCommandOutput}
|
|
50
|
+
* @see {@link UntagChannelCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UntagChannelCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ValidationException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConversationsServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class UntagChannelCommand extends UntagChannelCommand_base {
|
|
68
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { UpdateInboxTagInput, UpdateInboxTagOutput } 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 UpdateInboxTagCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateInboxTagCommandInput extends UpdateInboxTagInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateInboxTagCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateInboxTagCommandOutput extends UpdateInboxTagOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateInboxTagCommand_base: {
|
|
25
|
+
new (input: UpdateInboxTagCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateInboxTagCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates an existing tag. This operation is idempotent.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, UpdateInboxTagCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, UpdateInboxTagCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // UpdateInboxTagInput
|
|
38
|
+
* tagId: "STRING_VALUE", // required
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateInboxTagCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdateInboxTagOutput
|
|
45
|
+
* // tag: { // InboxTag
|
|
46
|
+
* // id: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param UpdateInboxTagCommandInput - {@link UpdateInboxTagCommandInput}
|
|
54
|
+
* @returns {@link UpdateInboxTagCommandOutput}
|
|
55
|
+
* @see {@link UpdateInboxTagCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link UpdateInboxTagCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link TagNotFoundException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConversationsServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class UpdateInboxTagCommand extends UpdateInboxTagCommand_base {
|
|
73
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from "./AddChannelMemberCommand";
|
|
2
2
|
export * from "./AddChannelMembersCommand";
|
|
3
3
|
export * from "./CreateGroupChannelCommand";
|
|
4
|
+
export * from "./CreateInboxTagCommand";
|
|
4
5
|
export * from "./DeleteChannelCommand";
|
|
5
6
|
export * from "./DeleteChannelMemberCommand";
|
|
7
|
+
export * from "./DeleteInboxTagCommand";
|
|
6
8
|
export * from "./DeleteMessageCommand";
|
|
7
9
|
export * from "./DeleteMessageReactionCommand";
|
|
8
10
|
export * from "./DescribeEventCommand";
|
|
@@ -10,6 +12,7 @@ export * from "./GetChannelCommand";
|
|
|
10
12
|
export * from "./GetChannelMemberCommand";
|
|
11
13
|
export * from "./GetDirectChannelIdCommand";
|
|
12
14
|
export * from "./GetFilePresignedDownloadUrlCommand";
|
|
15
|
+
export * from "./GetInboxStateCommand";
|
|
13
16
|
export * from "./GetMessageCommand";
|
|
14
17
|
export * from "./GetOrCreateDirectChannelCommand";
|
|
15
18
|
export * from "./GetUploadedFileInfoCommand";
|
|
@@ -19,11 +22,15 @@ export * from "./JoinChannelCommand";
|
|
|
19
22
|
export * from "./LeaveChannelCommand";
|
|
20
23
|
export * from "./ListChannelMembersCommand";
|
|
21
24
|
export * from "./ListChannelsCommand";
|
|
25
|
+
export * from "./ListInboxTaggedChannelsCommand";
|
|
26
|
+
export * from "./ListInboxTagsCommand";
|
|
22
27
|
export * from "./ListMessageReactionsCommand";
|
|
23
28
|
export * from "./ListMessagesCommand";
|
|
24
29
|
export * from "./MarkReadCommand";
|
|
30
|
+
export * from "./MarkUnreadCommand";
|
|
25
31
|
export * from "./PartialUpdateChannelCommand";
|
|
26
32
|
export * from "./PartialUpdateMessageCommand";
|
|
33
|
+
export * from "./PinChannelCommand";
|
|
27
34
|
export * from "./ScheduleExternalFlagAdjustmentJobCommand";
|
|
28
35
|
export * from "./SendGiphyCommand";
|
|
29
36
|
export * from "./SendMessageCommand";
|
|
@@ -31,6 +38,10 @@ export * from "./SendMessageReactionCommand";
|
|
|
31
38
|
export * from "./SendTypingStartCommand";
|
|
32
39
|
export * from "./SendTypingStopCommand";
|
|
33
40
|
export * from "./ShowChannelCommand";
|
|
41
|
+
export * from "./TagChannelCommand";
|
|
42
|
+
export * from "./UnpinChannelCommand";
|
|
43
|
+
export * from "./UntagChannelCommand";
|
|
34
44
|
export * from "./UpdateChannelCommand";
|
|
45
|
+
export * from "./UpdateInboxTagCommand";
|
|
35
46
|
export * from "./UpdateMessageCommand";
|
|
36
47
|
export * from "./UploadFileCommand";
|