@wildix/stream-client 0.0.4 → 0.0.6
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/StreamService.js +98 -6
- package/dist-cjs/commands/AddChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/AddChannelMembersCommand.js +21 -0
- package/dist-cjs/commands/AssignChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateGroupChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateKiteChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateSectionCommand.js +21 -0
- package/dist-cjs/commands/DeleteChannelCommand.js +21 -0
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +21 -0
- package/dist-cjs/commands/DeleteSectionCommand.js +21 -0
- package/dist-cjs/commands/GetChannelCommand.js +21 -0
- package/dist-cjs/commands/GetChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetFilePresignedDownloadUrlCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +21 -0
- package/dist-cjs/commands/GetSmsChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetTokenCommand.js +21 -0
- package/dist-cjs/commands/GetUploadedFileInfoCommand.js +21 -0
- package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +21 -0
- package/dist-cjs/commands/{AddReactionCommand.js → HideChannelCommand.js} +7 -7
- package/dist-cjs/commands/{EditMessageCommand.js → JoinChannelCommand.js} +7 -7
- package/dist-cjs/commands/LeaveChannelCommand.js +21 -0
- package/dist-cjs/commands/ListChannelMembersCommand.js +21 -0
- package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +21 -0
- package/dist-cjs/commands/MarkReadCommand.js +21 -0
- package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
- package/dist-cjs/commands/MoveChannelToSectionCommand.js +21 -0
- package/dist-cjs/commands/MuteChannelCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateChannelCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +21 -0
- package/dist-cjs/commands/PinChannelCommand.js +21 -0
- package/dist-cjs/commands/QueryChannelsCommand.js +21 -0
- package/dist-cjs/commands/RemoveChannelFromSectionCommand.js +21 -0
- package/dist-cjs/commands/RenameSectionCommand.js +21 -0
- package/dist-cjs/commands/SendGiphyCommand.js +21 -0
- package/dist-cjs/commands/SendMessageReactionCommand.js +21 -0
- package/dist-cjs/commands/SendSystemMessageCommand.js +21 -0
- package/dist-cjs/commands/SendTypingStartCommand.js +21 -0
- package/dist-cjs/commands/{RemoveReactionCommand.js → SendTypingStopCommand.js} +7 -7
- package/dist-cjs/commands/ShowChannelCommand.js +21 -0
- package/dist-cjs/commands/UnmuteChannelCommand.js +21 -0
- package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateMessageCommand.js +21 -0
- package/dist-cjs/commands/UploadFileCommand.js +21 -0
- package/dist-cjs/commands/index.js +49 -3
- package/dist-cjs/models/models_0.js +255 -49
- package/dist-cjs/protocols/Aws_restJson1.js +1954 -130
- package/dist-es/StreamService.js +98 -6
- package/dist-es/commands/AddChannelMemberCommand.js +17 -0
- package/dist-es/commands/AddChannelMembersCommand.js +17 -0
- package/dist-es/commands/AssignChannelCommand.js +17 -0
- package/dist-es/commands/CreateGroupChannelCommand.js +17 -0
- package/dist-es/commands/CreateKiteChannelCommand.js +17 -0
- package/dist-es/commands/CreateSectionCommand.js +17 -0
- package/dist-es/commands/DeleteChannelCommand.js +17 -0
- package/dist-es/commands/DeleteChannelMemberCommand.js +17 -0
- package/dist-es/commands/DeleteMessageReactionCommand.js +17 -0
- package/dist-es/commands/DeleteSectionCommand.js +17 -0
- package/dist-es/commands/GetChannelCommand.js +17 -0
- package/dist-es/commands/GetChannelMemberCommand.js +17 -0
- package/dist-es/commands/GetDirectChannelIdCommand.js +17 -0
- package/dist-es/commands/GetFilePresignedDownloadUrlCommand.js +17 -0
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateSmsChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +17 -0
- package/dist-es/commands/GetSmsChannelIdCommand.js +17 -0
- package/dist-es/commands/GetTelephonyChannelIdCommand.js +17 -0
- package/dist-es/commands/GetTokenCommand.js +17 -0
- package/dist-es/commands/GetUploadedFileInfoCommand.js +17 -0
- package/dist-es/commands/GetWhatsAppChannelIdCommand.js +17 -0
- package/dist-es/commands/{EditMessageCommand.js → HideChannelCommand.js} +6 -6
- package/dist-es/commands/{AddReactionCommand.js → JoinChannelCommand.js} +6 -6
- package/dist-es/commands/LeaveChannelCommand.js +17 -0
- package/dist-es/commands/ListChannelMembersCommand.js +17 -0
- package/dist-es/commands/ListChannelMembersReadStatusCommand.js +17 -0
- package/dist-es/commands/MarkReadCommand.js +17 -0
- package/dist-es/commands/MarkUnreadCommand.js +17 -0
- package/dist-es/commands/MoveChannelToSectionCommand.js +17 -0
- package/dist-es/commands/MuteChannelCommand.js +17 -0
- package/dist-es/commands/PartialUpdateChannelCommand.js +17 -0
- package/dist-es/commands/PartialUpdateMessageCommand.js +17 -0
- package/dist-es/commands/PinChannelCommand.js +17 -0
- package/dist-es/commands/QueryChannelsCommand.js +17 -0
- package/dist-es/commands/RemoveChannelFromSectionCommand.js +17 -0
- package/dist-es/commands/RenameSectionCommand.js +17 -0
- package/dist-es/commands/SendGiphyCommand.js +17 -0
- package/dist-es/commands/SendMessageReactionCommand.js +17 -0
- package/dist-es/commands/SendSystemMessageCommand.js +17 -0
- package/dist-es/commands/SendTypingStartCommand.js +17 -0
- package/dist-es/commands/{RemoveReactionCommand.js → SendTypingStopCommand.js} +6 -6
- package/dist-es/commands/ShowChannelCommand.js +17 -0
- package/dist-es/commands/UnmuteChannelCommand.js +17 -0
- package/dist-es/commands/UnpinChannelCommand.js +17 -0
- package/dist-es/commands/UpdateChannelCommand.js +17 -0
- package/dist-es/commands/UpdateMessageCommand.js +17 -0
- package/dist-es/commands/UploadFileCommand.js +17 -0
- package/dist-es/commands/index.js +49 -3
- package/dist-es/models/models_0.js +243 -46
- package/dist-es/protocols/Aws_restJson1.js +1842 -112
- package/dist-types/StreamService.d.ts +341 -15
- package/dist-types/StreamServiceClient.d.ts +51 -5
- package/dist-types/commands/AddChannelMemberCommand.d.ts +101 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +108 -0
- package/dist-types/commands/AssignChannelCommand.d.ts +96 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +201 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +291 -0
- package/dist-types/commands/CreateSectionCommand.d.ts +96 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +82 -0
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +88 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +1 -1
- package/dist-types/commands/{RemoveReactionCommand.d.ts → DeleteMessageReactionCommand.d.ts} +27 -28
- package/dist-types/commands/DeleteSectionCommand.d.ts +84 -0
- package/dist-types/commands/GetChannelCommand.d.ts +150 -0
- package/dist-types/commands/GetChannelMemberCommand.d.ts +93 -0
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +90 -0
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +94 -0
- package/dist-types/commands/GetInboxCommand.d.ts +35 -35
- package/dist-types/commands/GetMessageCommand.d.ts +5 -6
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +154 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +150 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/GetTokenCommand.d.ts +85 -0
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +98 -0
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/HideChannelCommand.d.ts +84 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +151 -0
- package/dist-types/commands/LeaveChannelCommand.d.ts +85 -0
- package/dist-types/commands/ListChannelMembersCommand.d.ts +94 -0
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +92 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +35 -35
- package/dist-types/commands/ListMentionsCommand.d.ts +6 -7
- package/dist-types/commands/ListMessagesCommand.d.ts +5 -6
- package/dist-types/commands/MarkReadCommand.d.ts +99 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +103 -0
- package/dist-types/commands/MoveChannelToSectionCommand.d.ts +101 -0
- package/dist-types/commands/MuteChannelCommand.d.ts +99 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +195 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +261 -0
- package/dist-types/commands/PinChannelCommand.d.ts +87 -0
- package/dist-types/commands/PinMessageCommand.d.ts +5 -6
- package/dist-types/commands/QueryChannelsCommand.d.ts +167 -0
- package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +101 -0
- package/dist-types/commands/RenameSectionCommand.d.ts +98 -0
- package/dist-types/commands/{EditMessageCommand.d.ts → SendGiphyCommand.d.ts} +41 -42
- package/dist-types/commands/SendMessageCommand.d.ts +53 -13
- package/dist-types/commands/{AddReactionCommand.d.ts → SendMessageReactionCommand.d.ts} +28 -29
- package/dist-types/commands/SendSystemMessageCommand.d.ts +199 -0
- package/dist-types/commands/SendTypingStartCommand.d.ts +84 -0
- package/dist-types/commands/SendTypingStopCommand.d.ts +84 -0
- package/dist-types/commands/ShowChannelCommand.d.ts +84 -0
- package/dist-types/commands/UnmuteChannelCommand.d.ts +98 -0
- package/dist-types/commands/UnpinChannelCommand.d.ts +84 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +5 -6
- package/dist-types/commands/UpdateChannelCommand.d.ts +190 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +256 -0
- package/dist-types/commands/UploadFileCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +49 -3
- package/dist-types/models/models_0.d.ts +3077 -563
- package/dist-types/protocols/Aws_restJson1.d.ts +429 -15
- package/package.json +1 -1
|
@@ -44,12 +44,8 @@ declare const GetInboxCommand_base: {
|
|
|
44
44
|
* // channels: [ // InboxChannelList // required
|
|
45
45
|
* // { // InboxChannel
|
|
46
46
|
* // channelId: "STRING_VALUE", // required
|
|
47
|
-
* // channelType: "direct" || "group"
|
|
48
|
-
* //
|
|
49
|
-
* // description: "STRING_VALUE",
|
|
50
|
-
* // picture: "STRING_VALUE",
|
|
51
|
-
* // pictureColor: "STRING_VALUE",
|
|
52
|
-
* // memberCount: Number("int"), // required
|
|
47
|
+
* // channelType: "direct" || "group", // required
|
|
48
|
+
* // membersCount: Number("int"), // required
|
|
53
49
|
* // createdAt: "STRING_VALUE", // required
|
|
54
50
|
* // createdBy: "STRING_VALUE", // required
|
|
55
51
|
* // updatedAt: "STRING_VALUE",
|
|
@@ -61,21 +57,22 @@ declare const GetInboxCommand_base: {
|
|
|
61
57
|
* // text: "STRING_VALUE",
|
|
62
58
|
* // createdAt: "STRING_VALUE", // required
|
|
63
59
|
* // },
|
|
64
|
-
* // inbox: { // InboxState
|
|
65
|
-
* // sectionIds: [ // SectionIdList // required
|
|
66
|
-
* // "STRING_VALUE",
|
|
67
|
-
* // ],
|
|
68
|
-
* // unreadCount: Number("int"), // required
|
|
69
|
-
* // mentionUnreadCount: Number("int"), // required
|
|
70
|
-
* // lastReadVisibleSeq: Number("long"),
|
|
71
|
-
* // lastReadAt: "STRING_VALUE",
|
|
72
|
-
* // hidden: true || false, // required
|
|
73
|
-
* // muted: true || false, // required
|
|
74
|
-
* // mutedUntil: "STRING_VALUE",
|
|
75
|
-
* // unreadMarkAt: Number("long"),
|
|
76
|
-
* // },
|
|
77
|
-
* // access: "private" || "public",
|
|
78
60
|
* // company: "STRING_VALUE",
|
|
61
|
+
* // kite: true || false,
|
|
62
|
+
* // kiteTarget: "STRING_VALUE",
|
|
63
|
+
* // kiteVariant: "STRING_VALUE",
|
|
64
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
65
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
66
|
+
* // service: "STRING_VALUE",
|
|
67
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
68
|
+
* // telephony: true || false,
|
|
69
|
+
* // external: true || false,
|
|
70
|
+
* // subject: "STRING_VALUE",
|
|
71
|
+
* // description: "STRING_VALUE",
|
|
72
|
+
* // picture: "STRING_VALUE",
|
|
73
|
+
* // pictureColor: "STRING_VALUE",
|
|
74
|
+
* // access: "private" || "public",
|
|
75
|
+
* // broadcast: true || false,
|
|
79
76
|
* // context: { // ChannelContext
|
|
80
77
|
* // source: "kite",
|
|
81
78
|
* // target: "STRING_VALUE",
|
|
@@ -99,26 +96,29 @@ declare const GetInboxCommand_base: {
|
|
|
99
96
|
* // broadcastId: "STRING_VALUE",
|
|
100
97
|
* // },
|
|
101
98
|
* // },
|
|
102
|
-
* //
|
|
103
|
-
* // kiteTarget: "STRING_VALUE",
|
|
104
|
-
* // kiteVariant: "STRING_VALUE",
|
|
105
|
-
* // kiteAssign: "STRING_VALUE",
|
|
106
|
-
* // kiteServiceName: "STRING_VALUE",
|
|
107
|
-
* // kiteDefaultSubject: "STRING_VALUE",
|
|
108
|
-
* // service: "STRING_VALUE",
|
|
109
|
-
* // serviceTitle: "STRING_VALUE",
|
|
110
|
-
* // serviceRecipient: "STRING_VALUE",
|
|
111
|
-
* // assignee: "STRING_VALUE",
|
|
112
|
-
* // telephony: true || false,
|
|
99
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
113
100
|
* // sms: true || false,
|
|
114
101
|
* // mms: true || false,
|
|
115
102
|
* // whatsapp: true || false,
|
|
116
|
-
* //
|
|
117
|
-
* //
|
|
118
|
-
* //
|
|
103
|
+
* // kiteAssign: "STRING_VALUE",
|
|
104
|
+
* // serviceTitle: "STRING_VALUE",
|
|
105
|
+
* // assigneeId: "STRING_VALUE",
|
|
119
106
|
* // autoRecord: true || false,
|
|
120
107
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
121
108
|
* // wizyGuestViewOnly: true || false,
|
|
109
|
+
* // inbox: { // InboxState
|
|
110
|
+
* // sectionIds: [ // SectionIdList // required
|
|
111
|
+
* // "STRING_VALUE",
|
|
112
|
+
* // ],
|
|
113
|
+
* // unreadCount: Number("int"), // required
|
|
114
|
+
* // mentionUnreadCount: Number("int"), // required
|
|
115
|
+
* // lastReadVisibleSeq: Number("long"),
|
|
116
|
+
* // lastReadAt: "STRING_VALUE",
|
|
117
|
+
* // hidden: true || false, // required
|
|
118
|
+
* // muted: true || false, // required
|
|
119
|
+
* // mutedUntil: "STRING_VALUE",
|
|
120
|
+
* // unreadMarkAt: Number("long"),
|
|
121
|
+
* // },
|
|
122
122
|
* // },
|
|
123
123
|
* // ],
|
|
124
124
|
* // sections: [ // SectionList // required
|
|
@@ -145,7 +145,7 @@ declare const GetInboxCommand_base: {
|
|
|
145
145
|
* @see {@link GetInboxCommandOutput} for command's `response` shape.
|
|
146
146
|
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
147
147
|
*
|
|
148
|
-
* @throws {@link
|
|
148
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
149
149
|
*
|
|
150
150
|
* @throws {@link UnauthorizedException} (client fault)
|
|
151
151
|
*
|
|
@@ -46,7 +46,7 @@ declare const GetMessageCommand_base: {
|
|
|
46
46
|
* // message: { // Message
|
|
47
47
|
* // messageId: "STRING_VALUE", // required
|
|
48
48
|
* // userId: "STRING_VALUE", // required
|
|
49
|
-
* // messageType: "regular" || "system", // required
|
|
49
|
+
* // messageType: "regular" || "system" || "deleted", // required
|
|
50
50
|
* // text: "STRING_VALUE",
|
|
51
51
|
* // attachments: [ // MessageAttachmentList // required
|
|
52
52
|
* // { // MessageAttachment
|
|
@@ -81,10 +81,9 @@ declare const GetMessageCommand_base: {
|
|
|
81
81
|
* // },
|
|
82
82
|
* // latestReactions: [ // ReactionList
|
|
83
83
|
* // { // Reaction
|
|
84
|
-
* // type: "STRING_VALUE",
|
|
85
|
-
* // userId: "STRING_VALUE",
|
|
86
|
-
* // messageId: "STRING_VALUE",
|
|
87
|
-
* // user: "STRING_VALUE",
|
|
84
|
+
* // type: "STRING_VALUE", // required
|
|
85
|
+
* // userId: "STRING_VALUE", // required
|
|
86
|
+
* // messageId: "STRING_VALUE", // required
|
|
88
87
|
* // },
|
|
89
88
|
* // ],
|
|
90
89
|
* // pinned: true || false, // required
|
|
@@ -162,7 +161,7 @@ declare const GetMessageCommand_base: {
|
|
|
162
161
|
*
|
|
163
162
|
* @throws {@link MessageNotFoundException} (client fault)
|
|
164
163
|
*
|
|
165
|
-
* @throws {@link
|
|
164
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
166
165
|
*
|
|
167
166
|
* @throws {@link UnauthorizedException} (client fault)
|
|
168
167
|
*
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { GetOrCreateDirectChannelInput, GetOrCreateDirectChannelOutput } 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 GetOrCreateDirectChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOrCreateDirectChannelCommandInput extends GetOrCreateDirectChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOrCreateDirectChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOrCreateDirectChannelCommandOutput extends GetOrCreateDirectChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetOrCreateDirectChannelCommand_base: {
|
|
25
|
+
new (input: GetOrCreateDirectChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetOrCreateDirectChannelCommandInput]): import("@smithy/smithy-client").CommandImpl<GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets or creates a direct channel between the current user and another member.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, GetOrCreateDirectChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, GetOrCreateDirectChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // GetOrCreateDirectChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* memberId: "STRING_VALUE",
|
|
41
|
+
* memberToInvite: { // UserToInvite
|
|
42
|
+
* email: "STRING_VALUE",
|
|
43
|
+
* phone: "STRING_VALUE",
|
|
44
|
+
* name: "STRING_VALUE",
|
|
45
|
+
* colleague: true || false,
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
48
|
+
* const command = new GetOrCreateDirectChannelCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // GetOrCreateDirectChannelOutput
|
|
51
|
+
* // channel: { // Channel
|
|
52
|
+
* // channelId: "STRING_VALUE", // required
|
|
53
|
+
* // channelType: "direct" || "group", // required
|
|
54
|
+
* // membersCount: Number("int"), // required
|
|
55
|
+
* // createdAt: "STRING_VALUE", // required
|
|
56
|
+
* // createdBy: "STRING_VALUE", // required
|
|
57
|
+
* // updatedAt: "STRING_VALUE",
|
|
58
|
+
* // channelVersion: Number("long"), // required
|
|
59
|
+
* // lastActivityAt: "STRING_VALUE", // required
|
|
60
|
+
* // lastMessage: { // LastMessagePreview
|
|
61
|
+
* // messageId: "STRING_VALUE", // required
|
|
62
|
+
* // userId: "STRING_VALUE", // required
|
|
63
|
+
* // text: "STRING_VALUE",
|
|
64
|
+
* // createdAt: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // company: "STRING_VALUE",
|
|
67
|
+
* // kite: true || false,
|
|
68
|
+
* // kiteTarget: "STRING_VALUE",
|
|
69
|
+
* // kiteVariant: "STRING_VALUE",
|
|
70
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
71
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
72
|
+
* // service: "STRING_VALUE",
|
|
73
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
74
|
+
* // telephony: true || false,
|
|
75
|
+
* // external: true || false,
|
|
76
|
+
* // subject: "STRING_VALUE",
|
|
77
|
+
* // description: "STRING_VALUE",
|
|
78
|
+
* // picture: "STRING_VALUE",
|
|
79
|
+
* // pictureColor: "STRING_VALUE",
|
|
80
|
+
* // access: "private" || "public",
|
|
81
|
+
* // broadcast: true || false,
|
|
82
|
+
* // context: { // ChannelContext
|
|
83
|
+
* // source: "kite",
|
|
84
|
+
* // target: "STRING_VALUE",
|
|
85
|
+
* // events: [ // ChannelContextEventList
|
|
86
|
+
* // { // ChannelContextEvent
|
|
87
|
+
* // id: "STRING_VALUE",
|
|
88
|
+
* // owner: "STRING_VALUE",
|
|
89
|
+
* // start: "STRING_VALUE",
|
|
90
|
+
* // end: "STRING_VALUE",
|
|
91
|
+
* // summary: "STRING_VALUE",
|
|
92
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
93
|
+
* // { // ChannelContextEventAttendee
|
|
94
|
+
* // email: "STRING_VALUE", // required
|
|
95
|
+
* // name: "STRING_VALUE",
|
|
96
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
102
|
+
* // broadcastId: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
106
|
+
* // sms: true || false,
|
|
107
|
+
* // mms: true || false,
|
|
108
|
+
* // whatsapp: true || false,
|
|
109
|
+
* // kiteAssign: "STRING_VALUE",
|
|
110
|
+
* // serviceTitle: "STRING_VALUE",
|
|
111
|
+
* // assigneeId: "STRING_VALUE",
|
|
112
|
+
* // autoRecord: true || false,
|
|
113
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
114
|
+
* // wizyGuestViewOnly: true || false,
|
|
115
|
+
* // },
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @param GetOrCreateDirectChannelCommandInput - {@link GetOrCreateDirectChannelCommandInput}
|
|
121
|
+
* @returns {@link GetOrCreateDirectChannelCommandOutput}
|
|
122
|
+
* @see {@link GetOrCreateDirectChannelCommandInput} for command's `input` shape.
|
|
123
|
+
* @see {@link GetOrCreateDirectChannelCommandOutput} for command's `response` shape.
|
|
124
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ValidationException} (client fault)
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link StreamServiceServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class GetOrCreateDirectChannelCommand extends GetOrCreateDirectChannelCommand_base {
|
|
143
|
+
/** @internal type navigation helper, not in runtime. */
|
|
144
|
+
protected static __types: {
|
|
145
|
+
api: {
|
|
146
|
+
input: GetOrCreateDirectChannelInput;
|
|
147
|
+
output: GetOrCreateDirectChannelOutput;
|
|
148
|
+
};
|
|
149
|
+
sdk: {
|
|
150
|
+
input: GetOrCreateDirectChannelCommandInput;
|
|
151
|
+
output: GetOrCreateDirectChannelCommandOutput;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { GetOrCreateSmsChannelInput, GetOrCreateSmsChannelOutput } 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 GetOrCreateSmsChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOrCreateSmsChannelCommandInput extends GetOrCreateSmsChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOrCreateSmsChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOrCreateSmsChannelCommandOutput extends GetOrCreateSmsChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetOrCreateSmsChannelCommand_base: {
|
|
25
|
+
new (input: GetOrCreateSmsChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetOrCreateSmsChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets or creates an SMS channel.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, GetOrCreateSmsChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, GetOrCreateSmsChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // GetOrCreateSmsChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* serviceUri: "STRING_VALUE", // required
|
|
41
|
+
* recipientId: "STRING_VALUE",
|
|
42
|
+
* recipientNumber: "STRING_VALUE",
|
|
43
|
+
* outgoing: true || false,
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetOrCreateSmsChannelCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetOrCreateSmsChannelOutput
|
|
48
|
+
* // channel: { // Channel
|
|
49
|
+
* // channelId: "STRING_VALUE", // required
|
|
50
|
+
* // channelType: "direct" || "group", // required
|
|
51
|
+
* // membersCount: Number("int"), // required
|
|
52
|
+
* // createdAt: "STRING_VALUE", // required
|
|
53
|
+
* // createdBy: "STRING_VALUE", // required
|
|
54
|
+
* // updatedAt: "STRING_VALUE",
|
|
55
|
+
* // channelVersion: Number("long"), // required
|
|
56
|
+
* // lastActivityAt: "STRING_VALUE", // required
|
|
57
|
+
* // lastMessage: { // LastMessagePreview
|
|
58
|
+
* // messageId: "STRING_VALUE", // required
|
|
59
|
+
* // userId: "STRING_VALUE", // required
|
|
60
|
+
* // text: "STRING_VALUE",
|
|
61
|
+
* // createdAt: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // company: "STRING_VALUE",
|
|
64
|
+
* // kite: true || false,
|
|
65
|
+
* // kiteTarget: "STRING_VALUE",
|
|
66
|
+
* // kiteVariant: "STRING_VALUE",
|
|
67
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
68
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
69
|
+
* // service: "STRING_VALUE",
|
|
70
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
71
|
+
* // telephony: true || false,
|
|
72
|
+
* // external: true || false,
|
|
73
|
+
* // subject: "STRING_VALUE",
|
|
74
|
+
* // description: "STRING_VALUE",
|
|
75
|
+
* // picture: "STRING_VALUE",
|
|
76
|
+
* // pictureColor: "STRING_VALUE",
|
|
77
|
+
* // access: "private" || "public",
|
|
78
|
+
* // broadcast: true || false,
|
|
79
|
+
* // context: { // ChannelContext
|
|
80
|
+
* // source: "kite",
|
|
81
|
+
* // target: "STRING_VALUE",
|
|
82
|
+
* // events: [ // ChannelContextEventList
|
|
83
|
+
* // { // ChannelContextEvent
|
|
84
|
+
* // id: "STRING_VALUE",
|
|
85
|
+
* // owner: "STRING_VALUE",
|
|
86
|
+
* // start: "STRING_VALUE",
|
|
87
|
+
* // end: "STRING_VALUE",
|
|
88
|
+
* // summary: "STRING_VALUE",
|
|
89
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
90
|
+
* // { // ChannelContextEventAttendee
|
|
91
|
+
* // email: "STRING_VALUE", // required
|
|
92
|
+
* // name: "STRING_VALUE",
|
|
93
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
99
|
+
* // broadcastId: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
102
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
103
|
+
* // sms: true || false,
|
|
104
|
+
* // mms: true || false,
|
|
105
|
+
* // whatsapp: true || false,
|
|
106
|
+
* // kiteAssign: "STRING_VALUE",
|
|
107
|
+
* // serviceTitle: "STRING_VALUE",
|
|
108
|
+
* // assigneeId: "STRING_VALUE",
|
|
109
|
+
* // autoRecord: true || false,
|
|
110
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
111
|
+
* // wizyGuestViewOnly: true || false,
|
|
112
|
+
* // },
|
|
113
|
+
* // };
|
|
114
|
+
*
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* @param GetOrCreateSmsChannelCommandInput - {@link GetOrCreateSmsChannelCommandInput}
|
|
118
|
+
* @returns {@link GetOrCreateSmsChannelCommandOutput}
|
|
119
|
+
* @see {@link GetOrCreateSmsChannelCommandInput} for command's `input` shape.
|
|
120
|
+
* @see {@link GetOrCreateSmsChannelCommandOutput} for command's `response` shape.
|
|
121
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ValidationException} (client fault)
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link StreamServiceServiceException}
|
|
134
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
135
|
+
*
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class GetOrCreateSmsChannelCommand extends GetOrCreateSmsChannelCommand_base {
|
|
140
|
+
/** @internal type navigation helper, not in runtime. */
|
|
141
|
+
protected static __types: {
|
|
142
|
+
api: {
|
|
143
|
+
input: GetOrCreateSmsChannelInput;
|
|
144
|
+
output: GetOrCreateSmsChannelOutput;
|
|
145
|
+
};
|
|
146
|
+
sdk: {
|
|
147
|
+
input: GetOrCreateSmsChannelCommandInput;
|
|
148
|
+
output: GetOrCreateSmsChannelCommandOutput;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { GetOrCreateTelephonyChannelInput, GetOrCreateTelephonyChannelOutput } 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 GetOrCreateTelephonyChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOrCreateTelephonyChannelCommandInput extends GetOrCreateTelephonyChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOrCreateTelephonyChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOrCreateTelephonyChannelCommandOutput extends GetOrCreateTelephonyChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
25
|
+
new (input: GetOrCreateTelephonyChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetOrCreateTelephonyChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets or creates a telephony channel.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, GetOrCreateTelephonyChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, GetOrCreateTelephonyChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // GetOrCreateTelephonyChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* serviceUri: "STRING_VALUE", // required
|
|
41
|
+
* recipientId: "STRING_VALUE",
|
|
42
|
+
* recipientNumber: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetOrCreateTelephonyChannelCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetOrCreateTelephonyChannelOutput
|
|
47
|
+
* // channel: { // Channel
|
|
48
|
+
* // channelId: "STRING_VALUE", // required
|
|
49
|
+
* // channelType: "direct" || "group", // required
|
|
50
|
+
* // membersCount: Number("int"), // required
|
|
51
|
+
* // createdAt: "STRING_VALUE", // required
|
|
52
|
+
* // createdBy: "STRING_VALUE", // required
|
|
53
|
+
* // updatedAt: "STRING_VALUE",
|
|
54
|
+
* // channelVersion: Number("long"), // required
|
|
55
|
+
* // lastActivityAt: "STRING_VALUE", // required
|
|
56
|
+
* // lastMessage: { // LastMessagePreview
|
|
57
|
+
* // messageId: "STRING_VALUE", // required
|
|
58
|
+
* // userId: "STRING_VALUE", // required
|
|
59
|
+
* // text: "STRING_VALUE",
|
|
60
|
+
* // createdAt: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // company: "STRING_VALUE",
|
|
63
|
+
* // kite: true || false,
|
|
64
|
+
* // kiteTarget: "STRING_VALUE",
|
|
65
|
+
* // kiteVariant: "STRING_VALUE",
|
|
66
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
67
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
68
|
+
* // service: "STRING_VALUE",
|
|
69
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
70
|
+
* // telephony: true || false,
|
|
71
|
+
* // external: true || false,
|
|
72
|
+
* // subject: "STRING_VALUE",
|
|
73
|
+
* // description: "STRING_VALUE",
|
|
74
|
+
* // picture: "STRING_VALUE",
|
|
75
|
+
* // pictureColor: "STRING_VALUE",
|
|
76
|
+
* // access: "private" || "public",
|
|
77
|
+
* // broadcast: true || false,
|
|
78
|
+
* // context: { // ChannelContext
|
|
79
|
+
* // source: "kite",
|
|
80
|
+
* // target: "STRING_VALUE",
|
|
81
|
+
* // events: [ // ChannelContextEventList
|
|
82
|
+
* // { // ChannelContextEvent
|
|
83
|
+
* // id: "STRING_VALUE",
|
|
84
|
+
* // owner: "STRING_VALUE",
|
|
85
|
+
* // start: "STRING_VALUE",
|
|
86
|
+
* // end: "STRING_VALUE",
|
|
87
|
+
* // summary: "STRING_VALUE",
|
|
88
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
89
|
+
* // { // ChannelContextEventAttendee
|
|
90
|
+
* // email: "STRING_VALUE", // required
|
|
91
|
+
* // name: "STRING_VALUE",
|
|
92
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
98
|
+
* // broadcastId: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
102
|
+
* // sms: true || false,
|
|
103
|
+
* // mms: true || false,
|
|
104
|
+
* // whatsapp: true || false,
|
|
105
|
+
* // kiteAssign: "STRING_VALUE",
|
|
106
|
+
* // serviceTitle: "STRING_VALUE",
|
|
107
|
+
* // assigneeId: "STRING_VALUE",
|
|
108
|
+
* // autoRecord: true || false,
|
|
109
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
110
|
+
* // wizyGuestViewOnly: true || false,
|
|
111
|
+
* // },
|
|
112
|
+
* // };
|
|
113
|
+
*
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
116
|
+
* @param GetOrCreateTelephonyChannelCommandInput - {@link GetOrCreateTelephonyChannelCommandInput}
|
|
117
|
+
* @returns {@link GetOrCreateTelephonyChannelCommandOutput}
|
|
118
|
+
* @see {@link GetOrCreateTelephonyChannelCommandInput} for command's `input` shape.
|
|
119
|
+
* @see {@link GetOrCreateTelephonyChannelCommandOutput} for command's `response` shape.
|
|
120
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ValidationException} (client fault)
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link StreamServiceServiceException}
|
|
133
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
134
|
+
*
|
|
135
|
+
*
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class GetOrCreateTelephonyChannelCommand extends GetOrCreateTelephonyChannelCommand_base {
|
|
139
|
+
/** @internal type navigation helper, not in runtime. */
|
|
140
|
+
protected static __types: {
|
|
141
|
+
api: {
|
|
142
|
+
input: GetOrCreateTelephonyChannelInput;
|
|
143
|
+
output: GetOrCreateTelephonyChannelOutput;
|
|
144
|
+
};
|
|
145
|
+
sdk: {
|
|
146
|
+
input: GetOrCreateTelephonyChannelCommandInput;
|
|
147
|
+
output: GetOrCreateTelephonyChannelCommandOutput;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}
|