@wildix/wda-history-client 1.2.1 → 1.2.8
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/WdaHistory.js +6 -0
- package/dist-cjs/commands/GetChatCommand.js +21 -0
- package/dist-cjs/commands/GetChatTranscriptionCommand.js +21 -0
- package/dist-cjs/commands/GetChatTranscriptionTextCommand.js +21 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +125 -1
- package/dist-cjs/protocols/Aws_restJson1.js +128 -1
- package/dist-es/WdaHistory.js +6 -0
- package/dist-es/commands/GetChatCommand.js +17 -0
- package/dist-es/commands/GetChatTranscriptionCommand.js +17 -0
- package/dist-es/commands/GetChatTranscriptionTextCommand.js +17 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +122 -0
- package/dist-es/protocols/Aws_restJson1.js +122 -1
- package/dist-types/WdaHistory.d.ts +21 -0
- package/dist-types/WdaHistoryClient.d.ts +5 -2
- package/dist-types/commands/GetCallCommand.d.ts +1 -1
- package/dist-types/commands/GetCallTranscriptionCommand.d.ts +1 -1
- package/dist-types/commands/GetChatCommand.d.ts +198 -0
- package/dist-types/commands/GetChatTranscriptionCommand.d.ts +255 -0
- package/dist-types/commands/GetChatTranscriptionTextCommand.d.ts +250 -0
- package/dist-types/commands/GetConferenceCommand.d.ts +1 -1
- package/dist-types/commands/GetConferenceTranscriptionCommand.d.ts +1 -1
- package/dist-types/commands/QueryConversationsCommand.d.ts +2 -2
- package/dist-types/commands/QueryUserCallsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCallCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +682 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WdaHistoryClientResolvedConfig } from "../WdaHistoryClient";
|
|
2
|
+
import { GetChatTranscriptionInput, GetChatTranscriptionOutput } 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 GetChatTranscriptionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetChatTranscriptionCommandInput extends GetChatTranscriptionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetChatTranscriptionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetChatTranscriptionCommandOutput extends GetChatTranscriptionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetChatTranscriptionCommand_base: {
|
|
25
|
+
new (input: GetChatTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<GetChatTranscriptionCommandInput, GetChatTranscriptionCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetChatTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<GetChatTranscriptionCommandInput, GetChatTranscriptionCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets the transcription for a chat by chatId.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WdaHistoryClient, GetChatTranscriptionCommand } from "@wildix/wda-history-client"; // ES Modules import
|
|
35
|
+
* // const { WdaHistoryClient, GetChatTranscriptionCommand } = require("@wildix/wda-history-client"); // CommonJS import
|
|
36
|
+
* const client = new WdaHistoryClient(config);
|
|
37
|
+
* const input = { // GetChatTranscriptionInput
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
|
+
* chatId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetChatTranscriptionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetChatTranscriptionOutput
|
|
44
|
+
* // transcription: { // ChatTranscriptionRecord
|
|
45
|
+
* // id: "STRING_VALUE",
|
|
46
|
+
* // chatId: "STRING_VALUE",
|
|
47
|
+
* // time: Number("long"), // required
|
|
48
|
+
* // company: "STRING_VALUE", // required
|
|
49
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
50
|
+
* // messages: [ // ChatTranscriptionMessagesList // required
|
|
51
|
+
* // { // Message
|
|
52
|
+
* // text: "STRING_VALUE",
|
|
53
|
+
* // elements: [ // ElementsList
|
|
54
|
+
* // { // Element Union: only one key present
|
|
55
|
+
* // template: { // MessageTemplateConfig
|
|
56
|
+
* // whatsapp: { // TemplateWithParameters
|
|
57
|
+
* // name: "STRING_VALUE", // required
|
|
58
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
59
|
+
* // { // TemplateParameter
|
|
60
|
+
* // name: "STRING_VALUE", // required
|
|
61
|
+
* // value: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // actions: [ // ActionsElementsList
|
|
67
|
+
* // { // ActionElement Union: only one key present
|
|
68
|
+
* // button: { // ButtonElement
|
|
69
|
+
* // text: "STRING_VALUE", // required
|
|
70
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
71
|
+
* // link: { // ButtonLinkHandler
|
|
72
|
+
* // url: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // reply: { // ButtonReplyHandler
|
|
75
|
+
* // text: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // action: { // ButtonActionHandler
|
|
78
|
+
* // id: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // variant: "contained" || "outlined",
|
|
82
|
+
* // disabled: true || false,
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // attachments: [ // MessageAttachmentList
|
|
89
|
+
* // { // MessageAttachment
|
|
90
|
+
* // id: "STRING_VALUE", // required
|
|
91
|
+
* // fsId: "STRING_VALUE", // required
|
|
92
|
+
* // mime: "STRING_VALUE",
|
|
93
|
+
* // name: "STRING_VALUE", // required
|
|
94
|
+
* // size: Number("int"), // required
|
|
95
|
+
* // width: Number("int"),
|
|
96
|
+
* // height: Number("int"),
|
|
97
|
+
* // thumbnail: "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // quote: { // MessageQuote
|
|
101
|
+
* // messageId: "STRING_VALUE", // required
|
|
102
|
+
* // channelId: "STRING_VALUE", // required
|
|
103
|
+
* // user: { // User
|
|
104
|
+
* // id: "STRING_VALUE", // required
|
|
105
|
+
* // name: "STRING_VALUE",
|
|
106
|
+
* // email: "STRING_VALUE",
|
|
107
|
+
* // phone: "STRING_VALUE",
|
|
108
|
+
* // picture: "STRING_VALUE",
|
|
109
|
+
* // locale: "STRING_VALUE",
|
|
110
|
+
* // timeZone: "STRING_VALUE",
|
|
111
|
+
* // company: "STRING_VALUE",
|
|
112
|
+
* // bot: true || false,
|
|
113
|
+
* // pbxDomain: "STRING_VALUE",
|
|
114
|
+
* // pbxPort: "STRING_VALUE",
|
|
115
|
+
* // pbxExtension: "STRING_VALUE",
|
|
116
|
+
* // pbxSerial: "STRING_VALUE",
|
|
117
|
+
* // pbxUserId: "STRING_VALUE",
|
|
118
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
119
|
+
* // createdAt: "STRING_VALUE",
|
|
120
|
+
* // updatedAt: "STRING_VALUE",
|
|
121
|
+
* // },
|
|
122
|
+
* // text: "STRING_VALUE",
|
|
123
|
+
* // attachments: [
|
|
124
|
+
* // {
|
|
125
|
+
* // id: "STRING_VALUE", // required
|
|
126
|
+
* // fsId: "STRING_VALUE", // required
|
|
127
|
+
* // mime: "STRING_VALUE",
|
|
128
|
+
* // name: "STRING_VALUE", // required
|
|
129
|
+
* // size: Number("int"), // required
|
|
130
|
+
* // width: Number("int"),
|
|
131
|
+
* // height: Number("int"),
|
|
132
|
+
* // thumbnail: "STRING_VALUE",
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // forward: { // MessageForward
|
|
136
|
+
* // forwardCompany: "STRING_VALUE",
|
|
137
|
+
* // forwardDate: "STRING_VALUE", // required
|
|
138
|
+
* // forwardEmail: "STRING_VALUE",
|
|
139
|
+
* // forwardName: "STRING_VALUE",
|
|
140
|
+
* // messageId: "STRING_VALUE", // required
|
|
141
|
+
* // channelId: "STRING_VALUE", // required
|
|
142
|
+
* // },
|
|
143
|
+
* // mentions: [ // UsersList
|
|
144
|
+
* // {
|
|
145
|
+
* // id: "STRING_VALUE", // required
|
|
146
|
+
* // name: "STRING_VALUE",
|
|
147
|
+
* // email: "STRING_VALUE",
|
|
148
|
+
* // phone: "STRING_VALUE",
|
|
149
|
+
* // picture: "STRING_VALUE",
|
|
150
|
+
* // locale: "STRING_VALUE",
|
|
151
|
+
* // timeZone: "STRING_VALUE",
|
|
152
|
+
* // company: "STRING_VALUE",
|
|
153
|
+
* // bot: true || false,
|
|
154
|
+
* // pbxDomain: "STRING_VALUE",
|
|
155
|
+
* // pbxPort: "STRING_VALUE",
|
|
156
|
+
* // pbxExtension: "STRING_VALUE",
|
|
157
|
+
* // pbxSerial: "STRING_VALUE",
|
|
158
|
+
* // pbxUserId: "STRING_VALUE",
|
|
159
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
160
|
+
* // createdAt: "STRING_VALUE",
|
|
161
|
+
* // updatedAt: "STRING_VALUE",
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // giphy: { // MessageGiphy
|
|
165
|
+
* // id: "STRING_VALUE", // required
|
|
166
|
+
* // size: "STRING_VALUE", // required
|
|
167
|
+
* // url: "STRING_VALUE", // required
|
|
168
|
+
* // height: "STRING_VALUE", // required
|
|
169
|
+
* // width: "STRING_VALUE", // required
|
|
170
|
+
* // },
|
|
171
|
+
* // createdAt: "STRING_VALUE", // required
|
|
172
|
+
* // updatedAt: "STRING_VALUE",
|
|
173
|
+
* // },
|
|
174
|
+
* // forward: {
|
|
175
|
+
* // forwardCompany: "STRING_VALUE",
|
|
176
|
+
* // forwardDate: "STRING_VALUE", // required
|
|
177
|
+
* // forwardEmail: "STRING_VALUE",
|
|
178
|
+
* // forwardName: "STRING_VALUE",
|
|
179
|
+
* // messageId: "STRING_VALUE", // required
|
|
180
|
+
* // channelId: "STRING_VALUE", // required
|
|
181
|
+
* // },
|
|
182
|
+
* // whatsapp: true || false,
|
|
183
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
184
|
+
* // sms: true || false,
|
|
185
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
186
|
+
* // type: "regular" || "system" || "deleted", // required
|
|
187
|
+
* // giphy: {
|
|
188
|
+
* // id: "STRING_VALUE", // required
|
|
189
|
+
* // size: "STRING_VALUE", // required
|
|
190
|
+
* // url: "STRING_VALUE", // required
|
|
191
|
+
* // height: "STRING_VALUE", // required
|
|
192
|
+
* // width: "STRING_VALUE", // required
|
|
193
|
+
* // },
|
|
194
|
+
* // silent: true || false,
|
|
195
|
+
* // event: "STRING_VALUE",
|
|
196
|
+
* // messageId: "STRING_VALUE", // required
|
|
197
|
+
* // channelId: "STRING_VALUE", // required
|
|
198
|
+
* // user: "<User>", // required
|
|
199
|
+
* // edit: true || false,
|
|
200
|
+
* // mentions: [
|
|
201
|
+
* // "<User>",
|
|
202
|
+
* // ],
|
|
203
|
+
* // latestReactions: [ // ReactionList
|
|
204
|
+
* // { // Reaction
|
|
205
|
+
* // type: "STRING_VALUE",
|
|
206
|
+
* // userId: "STRING_VALUE",
|
|
207
|
+
* // messageId: "STRING_VALUE",
|
|
208
|
+
* // user: "<User>",
|
|
209
|
+
* // },
|
|
210
|
+
* // ],
|
|
211
|
+
* // reactionCounts: { // ReactionCounts
|
|
212
|
+
* // "<keys>": Number("int"),
|
|
213
|
+
* // },
|
|
214
|
+
* // createdAt: "STRING_VALUE", // required
|
|
215
|
+
* // updatedAt: "STRING_VALUE",
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // },
|
|
219
|
+
* // };
|
|
220
|
+
*
|
|
221
|
+
* ```
|
|
222
|
+
*
|
|
223
|
+
* @param GetChatTranscriptionCommandInput - {@link GetChatTranscriptionCommandInput}
|
|
224
|
+
* @returns {@link GetChatTranscriptionCommandOutput}
|
|
225
|
+
* @see {@link GetChatTranscriptionCommandInput} for command's `input` shape.
|
|
226
|
+
* @see {@link GetChatTranscriptionCommandOutput} for command's `response` shape.
|
|
227
|
+
* @see {@link WdaHistoryClientResolvedConfig | config} for WdaHistoryClient's `config` shape.
|
|
228
|
+
*
|
|
229
|
+
* @throws {@link ValidationException} (client fault)
|
|
230
|
+
*
|
|
231
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
232
|
+
*
|
|
233
|
+
* @throws {@link ChatNotFoundException} (client fault)
|
|
234
|
+
*
|
|
235
|
+
* @throws {@link ChatTranscriptionNotFoundException} (client fault)
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link WdaHistoryServiceException}
|
|
238
|
+
* <p>Base exception class for all service exceptions from WdaHistory service.</p>
|
|
239
|
+
*
|
|
240
|
+
*
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
export declare class GetChatTranscriptionCommand extends GetChatTranscriptionCommand_base {
|
|
244
|
+
/** @internal type navigation helper, not in runtime. */
|
|
245
|
+
protected static __types: {
|
|
246
|
+
api: {
|
|
247
|
+
input: GetChatTranscriptionInput;
|
|
248
|
+
output: GetChatTranscriptionOutput;
|
|
249
|
+
};
|
|
250
|
+
sdk: {
|
|
251
|
+
input: GetChatTranscriptionCommandInput;
|
|
252
|
+
output: GetChatTranscriptionCommandOutput;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WdaHistoryClientResolvedConfig } from "../WdaHistoryClient";
|
|
2
|
+
import { GetChatTranscriptionTextInput, GetChatTranscriptionTextOutput } 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 GetChatTranscriptionTextCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetChatTranscriptionTextCommandInput extends GetChatTranscriptionTextInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetChatTranscriptionTextCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetChatTranscriptionTextCommandOutput extends GetChatTranscriptionTextOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetChatTranscriptionTextCommand_base: {
|
|
25
|
+
new (input: GetChatTranscriptionTextCommandInput): import("@smithy/smithy-client").CommandImpl<GetChatTranscriptionTextCommandInput, GetChatTranscriptionTextCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetChatTranscriptionTextCommandInput): import("@smithy/smithy-client").CommandImpl<GetChatTranscriptionTextCommandInput, GetChatTranscriptionTextCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets the transcription text and chunks for a chat by chatId.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WdaHistoryClient, GetChatTranscriptionTextCommand } from "@wildix/wda-history-client"; // ES Modules import
|
|
35
|
+
* // const { WdaHistoryClient, GetChatTranscriptionTextCommand } = require("@wildix/wda-history-client"); // CommonJS import
|
|
36
|
+
* const client = new WdaHistoryClient(config);
|
|
37
|
+
* const input = { // GetChatTranscriptionTextInput
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
|
+
* chatId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetChatTranscriptionTextCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetChatTranscriptionTextOutput
|
|
44
|
+
* // filename: "STRING_VALUE", // required
|
|
45
|
+
* // text: "STRING_VALUE", // required
|
|
46
|
+
* // messages: [ // ChatTranscriptionMessagesList // required
|
|
47
|
+
* // { // Message
|
|
48
|
+
* // text: "STRING_VALUE",
|
|
49
|
+
* // elements: [ // ElementsList
|
|
50
|
+
* // { // Element Union: only one key present
|
|
51
|
+
* // template: { // MessageTemplateConfig
|
|
52
|
+
* // whatsapp: { // TemplateWithParameters
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
55
|
+
* // { // TemplateParameter
|
|
56
|
+
* // name: "STRING_VALUE", // required
|
|
57
|
+
* // value: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // actions: [ // ActionsElementsList
|
|
63
|
+
* // { // ActionElement Union: only one key present
|
|
64
|
+
* // button: { // ButtonElement
|
|
65
|
+
* // text: "STRING_VALUE", // required
|
|
66
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
67
|
+
* // link: { // ButtonLinkHandler
|
|
68
|
+
* // url: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // reply: { // ButtonReplyHandler
|
|
71
|
+
* // text: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // action: { // ButtonActionHandler
|
|
74
|
+
* // id: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // variant: "contained" || "outlined",
|
|
78
|
+
* // disabled: true || false,
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // attachments: [ // MessageAttachmentList
|
|
85
|
+
* // { // MessageAttachment
|
|
86
|
+
* // id: "STRING_VALUE", // required
|
|
87
|
+
* // fsId: "STRING_VALUE", // required
|
|
88
|
+
* // mime: "STRING_VALUE",
|
|
89
|
+
* // name: "STRING_VALUE", // required
|
|
90
|
+
* // size: Number("int"), // required
|
|
91
|
+
* // width: Number("int"),
|
|
92
|
+
* // height: Number("int"),
|
|
93
|
+
* // thumbnail: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // quote: { // MessageQuote
|
|
97
|
+
* // messageId: "STRING_VALUE", // required
|
|
98
|
+
* // channelId: "STRING_VALUE", // required
|
|
99
|
+
* // user: { // User
|
|
100
|
+
* // id: "STRING_VALUE", // required
|
|
101
|
+
* // name: "STRING_VALUE",
|
|
102
|
+
* // email: "STRING_VALUE",
|
|
103
|
+
* // phone: "STRING_VALUE",
|
|
104
|
+
* // picture: "STRING_VALUE",
|
|
105
|
+
* // locale: "STRING_VALUE",
|
|
106
|
+
* // timeZone: "STRING_VALUE",
|
|
107
|
+
* // company: "STRING_VALUE",
|
|
108
|
+
* // bot: true || false,
|
|
109
|
+
* // pbxDomain: "STRING_VALUE",
|
|
110
|
+
* // pbxPort: "STRING_VALUE",
|
|
111
|
+
* // pbxExtension: "STRING_VALUE",
|
|
112
|
+
* // pbxSerial: "STRING_VALUE",
|
|
113
|
+
* // pbxUserId: "STRING_VALUE",
|
|
114
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
115
|
+
* // createdAt: "STRING_VALUE",
|
|
116
|
+
* // updatedAt: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // text: "STRING_VALUE",
|
|
119
|
+
* // attachments: [
|
|
120
|
+
* // {
|
|
121
|
+
* // id: "STRING_VALUE", // required
|
|
122
|
+
* // fsId: "STRING_VALUE", // required
|
|
123
|
+
* // mime: "STRING_VALUE",
|
|
124
|
+
* // name: "STRING_VALUE", // required
|
|
125
|
+
* // size: Number("int"), // required
|
|
126
|
+
* // width: Number("int"),
|
|
127
|
+
* // height: Number("int"),
|
|
128
|
+
* // thumbnail: "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // forward: { // MessageForward
|
|
132
|
+
* // forwardCompany: "STRING_VALUE",
|
|
133
|
+
* // forwardDate: "STRING_VALUE", // required
|
|
134
|
+
* // forwardEmail: "STRING_VALUE",
|
|
135
|
+
* // forwardName: "STRING_VALUE",
|
|
136
|
+
* // messageId: "STRING_VALUE", // required
|
|
137
|
+
* // channelId: "STRING_VALUE", // required
|
|
138
|
+
* // },
|
|
139
|
+
* // mentions: [ // UsersList
|
|
140
|
+
* // {
|
|
141
|
+
* // id: "STRING_VALUE", // required
|
|
142
|
+
* // name: "STRING_VALUE",
|
|
143
|
+
* // email: "STRING_VALUE",
|
|
144
|
+
* // phone: "STRING_VALUE",
|
|
145
|
+
* // picture: "STRING_VALUE",
|
|
146
|
+
* // locale: "STRING_VALUE",
|
|
147
|
+
* // timeZone: "STRING_VALUE",
|
|
148
|
+
* // company: "STRING_VALUE",
|
|
149
|
+
* // bot: true || false,
|
|
150
|
+
* // pbxDomain: "STRING_VALUE",
|
|
151
|
+
* // pbxPort: "STRING_VALUE",
|
|
152
|
+
* // pbxExtension: "STRING_VALUE",
|
|
153
|
+
* // pbxSerial: "STRING_VALUE",
|
|
154
|
+
* // pbxUserId: "STRING_VALUE",
|
|
155
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
156
|
+
* // createdAt: "STRING_VALUE",
|
|
157
|
+
* // updatedAt: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // giphy: { // MessageGiphy
|
|
161
|
+
* // id: "STRING_VALUE", // required
|
|
162
|
+
* // size: "STRING_VALUE", // required
|
|
163
|
+
* // url: "STRING_VALUE", // required
|
|
164
|
+
* // height: "STRING_VALUE", // required
|
|
165
|
+
* // width: "STRING_VALUE", // required
|
|
166
|
+
* // },
|
|
167
|
+
* // createdAt: "STRING_VALUE", // required
|
|
168
|
+
* // updatedAt: "STRING_VALUE",
|
|
169
|
+
* // },
|
|
170
|
+
* // forward: {
|
|
171
|
+
* // forwardCompany: "STRING_VALUE",
|
|
172
|
+
* // forwardDate: "STRING_VALUE", // required
|
|
173
|
+
* // forwardEmail: "STRING_VALUE",
|
|
174
|
+
* // forwardName: "STRING_VALUE",
|
|
175
|
+
* // messageId: "STRING_VALUE", // required
|
|
176
|
+
* // channelId: "STRING_VALUE", // required
|
|
177
|
+
* // },
|
|
178
|
+
* // whatsapp: true || false,
|
|
179
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
180
|
+
* // sms: true || false,
|
|
181
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
182
|
+
* // type: "regular" || "system" || "deleted", // required
|
|
183
|
+
* // giphy: {
|
|
184
|
+
* // id: "STRING_VALUE", // required
|
|
185
|
+
* // size: "STRING_VALUE", // required
|
|
186
|
+
* // url: "STRING_VALUE", // required
|
|
187
|
+
* // height: "STRING_VALUE", // required
|
|
188
|
+
* // width: "STRING_VALUE", // required
|
|
189
|
+
* // },
|
|
190
|
+
* // silent: true || false,
|
|
191
|
+
* // event: "STRING_VALUE",
|
|
192
|
+
* // messageId: "STRING_VALUE", // required
|
|
193
|
+
* // channelId: "STRING_VALUE", // required
|
|
194
|
+
* // user: "<User>", // required
|
|
195
|
+
* // edit: true || false,
|
|
196
|
+
* // mentions: [
|
|
197
|
+
* // "<User>",
|
|
198
|
+
* // ],
|
|
199
|
+
* // latestReactions: [ // ReactionList
|
|
200
|
+
* // { // Reaction
|
|
201
|
+
* // type: "STRING_VALUE",
|
|
202
|
+
* // userId: "STRING_VALUE",
|
|
203
|
+
* // messageId: "STRING_VALUE",
|
|
204
|
+
* // user: "<User>",
|
|
205
|
+
* // },
|
|
206
|
+
* // ],
|
|
207
|
+
* // reactionCounts: { // ReactionCounts
|
|
208
|
+
* // "<keys>": Number("int"),
|
|
209
|
+
* // },
|
|
210
|
+
* // createdAt: "STRING_VALUE", // required
|
|
211
|
+
* // updatedAt: "STRING_VALUE",
|
|
212
|
+
* // },
|
|
213
|
+
* // ],
|
|
214
|
+
* // };
|
|
215
|
+
*
|
|
216
|
+
* ```
|
|
217
|
+
*
|
|
218
|
+
* @param GetChatTranscriptionTextCommandInput - {@link GetChatTranscriptionTextCommandInput}
|
|
219
|
+
* @returns {@link GetChatTranscriptionTextCommandOutput}
|
|
220
|
+
* @see {@link GetChatTranscriptionTextCommandInput} for command's `input` shape.
|
|
221
|
+
* @see {@link GetChatTranscriptionTextCommandOutput} for command's `response` shape.
|
|
222
|
+
* @see {@link WdaHistoryClientResolvedConfig | config} for WdaHistoryClient's `config` shape.
|
|
223
|
+
*
|
|
224
|
+
* @throws {@link ValidationException} (client fault)
|
|
225
|
+
*
|
|
226
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
227
|
+
*
|
|
228
|
+
* @throws {@link ChatNotFoundException} (client fault)
|
|
229
|
+
*
|
|
230
|
+
* @throws {@link ChatTranscriptionNotFoundException} (client fault)
|
|
231
|
+
*
|
|
232
|
+
* @throws {@link WdaHistoryServiceException}
|
|
233
|
+
* <p>Base exception class for all service exceptions from WdaHistory service.</p>
|
|
234
|
+
*
|
|
235
|
+
*
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export declare class GetChatTranscriptionTextCommand extends GetChatTranscriptionTextCommand_base {
|
|
239
|
+
/** @internal type navigation helper, not in runtime. */
|
|
240
|
+
protected static __types: {
|
|
241
|
+
api: {
|
|
242
|
+
input: GetChatTranscriptionTextInput;
|
|
243
|
+
output: GetChatTranscriptionTextOutput;
|
|
244
|
+
};
|
|
245
|
+
sdk: {
|
|
246
|
+
input: GetChatTranscriptionTextCommandInput;
|
|
247
|
+
output: GetChatTranscriptionTextCommandOutput;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
}
|
|
@@ -87,7 +87,7 @@ declare const GetConferenceCommand_base: {
|
|
|
87
87
|
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
88
88
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
89
89
|
* // transcriptionSeconds: Number("int"),
|
|
90
|
-
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
90
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
91
91
|
* // },
|
|
92
92
|
* // };
|
|
93
93
|
*
|
|
@@ -45,7 +45,7 @@ declare const GetConferenceTranscriptionCommand_base: {
|
|
|
45
45
|
* // id: "STRING_VALUE", // required
|
|
46
46
|
* // time: Number("long"), // required
|
|
47
47
|
* // company: "STRING_VALUE", // required
|
|
48
|
-
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
48
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
49
49
|
* // transcriptions: [ // ConferenceTranscriptionsList // required
|
|
50
50
|
* // { // ConferenceTranscription
|
|
51
51
|
* // start: Number("long"), // required
|
|
@@ -223,7 +223,7 @@ declare const QueryConversationsCommand_base: {
|
|
|
223
223
|
* // licenses: [ // LicensesList // required
|
|
224
224
|
* // "x-bees" || "uc",
|
|
225
225
|
* // ],
|
|
226
|
-
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
226
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
227
227
|
* // },
|
|
228
228
|
* // conference: { // ConferenceRecord
|
|
229
229
|
* // id: "STRING_VALUE", // required
|
|
@@ -271,7 +271,7 @@ declare const QueryConversationsCommand_base: {
|
|
|
271
271
|
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
|
|
272
272
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
273
273
|
* // transcriptionSeconds: Number("int"),
|
|
274
|
-
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
274
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
275
275
|
* // },
|
|
276
276
|
* // },
|
|
277
277
|
* // ],
|
|
@@ -223,7 +223,7 @@ declare const QueryUserCallsCommand_base: {
|
|
|
223
223
|
* // licenses: [ // LicensesList // required
|
|
224
224
|
* // "x-bees" || "uc",
|
|
225
225
|
* // ],
|
|
226
|
-
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
226
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
227
227
|
* // },
|
|
228
228
|
* // ],
|
|
229
229
|
* // };
|
|
@@ -209,7 +209,7 @@ declare const UpdateCallCommand_base: {
|
|
|
209
209
|
* // licenses: [ // LicensesList // required
|
|
210
210
|
* // "x-bees" || "uc",
|
|
211
211
|
* // ],
|
|
212
|
-
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
212
|
+
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
213
213
|
* // },
|
|
214
214
|
* // };
|
|
215
215
|
*
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./GetCallCommand";
|
|
2
2
|
export * from "./GetCallTranscriptionCommand";
|
|
3
3
|
export * from "./GetCallTranscriptionTextCommand";
|
|
4
|
+
export * from "./GetChatCommand";
|
|
5
|
+
export * from "./GetChatTranscriptionCommand";
|
|
6
|
+
export * from "./GetChatTranscriptionTextCommand";
|
|
4
7
|
export * from "./GetConferenceCommand";
|
|
5
8
|
export * from "./GetConferenceTranscriptionCommand";
|
|
6
9
|
export * from "./GetConferenceTranscriptionTextCommand";
|