@wildix/wda-insights-client 1.1.39 → 1.1.41

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.
Files changed (30) hide show
  1. package/dist-cjs/WdaInsights.js +4 -0
  2. package/dist-cjs/commands/GetAnalysisSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/PutAnalysisSettingsCommand.js +21 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/models/models_0.js +2 -5
  6. package/dist-cjs/protocols/Aws_restJson1.js +118 -12
  7. package/dist-es/WdaInsights.js +4 -0
  8. package/dist-es/commands/GetAnalysisSettingsCommand.js +17 -0
  9. package/dist-es/commands/PutAnalysisSettingsCommand.js +17 -0
  10. package/dist-es/commands/index.js +2 -0
  11. package/dist-es/models/models_0.js +0 -3
  12. package/dist-es/protocols/Aws_restJson1.js +111 -9
  13. package/dist-types/WdaInsights.d.ts +16 -0
  14. package/dist-types/WdaInsightsClient.d.ts +4 -2
  15. package/dist-types/commands/CreateProjectionCommand.d.ts +368 -10
  16. package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +3 -1
  17. package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +3 -1
  18. package/dist-types/commands/DisableProjectionCommand.d.ts +184 -5
  19. package/dist-types/commands/EnableProjectionCommand.d.ts +184 -5
  20. package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +256 -0
  21. package/dist-types/commands/GetProjectionCommand.d.ts +184 -5
  22. package/dist-types/commands/ListProjectionsCommand.d.ts +186 -7
  23. package/dist-types/commands/PauseProjectionCommand.d.ts +184 -5
  24. package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +435 -0
  25. package/dist-types/commands/UpdateProjectionCommand.d.ts +368 -10
  26. package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +3 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +176 -25
  29. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  30. package/package.json +1 -1
@@ -0,0 +1,435 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WdaInsightsClientResolvedConfig } from "../WdaInsightsClient";
2
+ import { PutAnalysisSettingsInput, PutAnalysisSettingsOutput } 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 PutAnalysisSettingsCommand}.
14
+ */
15
+ export interface PutAnalysisSettingsCommandInput extends PutAnalysisSettingsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutAnalysisSettingsCommand}.
21
+ */
22
+ export interface PutAnalysisSettingsCommandOutput extends PutAnalysisSettingsOutput, __MetadataBearer {
23
+ }
24
+ declare const PutAnalysisSettingsCommand_base: {
25
+ new (input: PutAnalysisSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PutAnalysisSettingsCommandInput, PutAnalysisSettingsCommandOutput, WdaInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [PutAnalysisSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<PutAnalysisSettingsCommandInput, PutAnalysisSettingsCommandOutput, WdaInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Updates default analysis settings used for projections.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WdaInsightsClient, PutAnalysisSettingsCommand } from "@wildix/wda-insights-client"; // ES Modules import
35
+ * // const { WdaInsightsClient, PutAnalysisSettingsCommand } = require("@wildix/wda-insights-client"); // CommonJS import
36
+ * const client = new WdaInsightsClient(config);
37
+ * const input = { // PutAnalysisSettingsInput
38
+ * defaultModel: "STRING_VALUE",
39
+ * disabled: true || false,
40
+ * filter: { // ListConversationsFilter
41
+ * id: [ // ListConversationsFilterIdList
42
+ * { // ConversationTarget Union: only one key present
43
+ * call: { // CallConversationTarget
44
+ * callId: "STRING_VALUE", // required
45
+ * flowIndex: Number("int"), // required
46
+ * },
47
+ * conference: { // ConferenceConversationTarget
48
+ * conferenceId: "STRING_VALUE", // required
49
+ * },
50
+ * chat: { // ChatConversationTarget
51
+ * chatId: "STRING_VALUE", // required
52
+ * },
53
+ * },
54
+ * ],
55
+ * entity: { // ListConversationsFilterEntity
56
+ * call: true || false,
57
+ * conference: true || false,
58
+ * chat: true || false,
59
+ * },
60
+ * participants: [ // ListConversationsFilterParticipantList
61
+ * { // ListConversationsFilterParticipant Union: only one key present
62
+ * email: "STRING_VALUE",
63
+ * phone: "STRING_VALUE",
64
+ * extension: "STRING_VALUE",
65
+ * },
66
+ * ],
67
+ * participantsToInclude: [
68
+ * {// Union: only one key present
69
+ * email: "STRING_VALUE",
70
+ * phone: "STRING_VALUE",
71
+ * extension: "STRING_VALUE",
72
+ * },
73
+ * ],
74
+ * participantsToExclude: [
75
+ * {// Union: only one key present
76
+ * email: "STRING_VALUE",
77
+ * phone: "STRING_VALUE",
78
+ * extension: "STRING_VALUE",
79
+ * },
80
+ * ],
81
+ * chatbots: [ // ListConversationsFilterKeyword
82
+ * "STRING_VALUE",
83
+ * ],
84
+ * voicebots: [
85
+ * "STRING_VALUE",
86
+ * ],
87
+ * service: [
88
+ * "STRING_VALUE",
89
+ * ],
90
+ * group: [
91
+ * "STRING_VALUE",
92
+ * ],
93
+ * department: [
94
+ * "STRING_VALUE",
95
+ * ],
96
+ * tag: "<ListConversationsFilterKeyword>",
97
+ * pbx: "<ListConversationsFilterKeyword>",
98
+ * trunk: "<ListConversationsFilterKeyword>",
99
+ * queue: "<ListConversationsFilterKeyword>",
100
+ * country: "<ListConversationsFilterKeyword>",
101
+ * location: "<ListConversationsFilterKeyword>",
102
+ * phases: [ // ListConversationsFilterPhases
103
+ * "STRING_VALUE",
104
+ * ],
105
+ * language: "<ListConversationsFilterKeyword>",
106
+ * duration: { // ListConversationsFilterNumber
107
+ * from: Number("int"),
108
+ * to: Number("int"),
109
+ * },
110
+ * interaction: { // ListConversationsFilterInteraction
111
+ * talkRatio: {
112
+ * from: Number("int"),
113
+ * to: Number("int"),
114
+ * },
115
+ * wordsPerMinute: {
116
+ * from: Number("int"),
117
+ * to: Number("int"),
118
+ * },
119
+ * interruptions: {
120
+ * from: Number("int"),
121
+ * to: Number("int"),
122
+ * },
123
+ * patience: { // ListConversationsFilterFloat
124
+ * from: Number("float"),
125
+ * to: Number("float"),
126
+ * },
127
+ * longestMonologue: {
128
+ * from: Number("int"),
129
+ * to: Number("int"),
130
+ * },
131
+ * longestCustomerStory: "<ListConversationsFilterNumber>",
132
+ * },
133
+ * recorded: true || false,
134
+ * transcribed: true || false,
135
+ * direction: { // ListConversationsFilterDirection
136
+ * inbound: true || false,
137
+ * outbound: true || false,
138
+ * internal: true || false,
139
+ * },
140
+ * insights: [ // ListConversationsFilterInsightsList
141
+ * { // ListConversationsFilterInsight
142
+ * projectionId: "STRING_VALUE", // required
143
+ * fieldId: "STRING_VALUE", // required
144
+ * match: "STRING_VALUE",
145
+ * matchAny: [ // StringList
146
+ * "STRING_VALUE",
147
+ * ],
148
+ * },
149
+ * ],
150
+ * channel: { // ListConversationsFilterChannel
151
+ * sms: true || false,
152
+ * whatsapp: true || false,
153
+ * kite: true || false,
154
+ * },
155
+ * date: { // ListConversationsFilterDate Union: only one key present
156
+ * absolute: { // ListConversationsFilterAbsoluteDate
157
+ * from: "STRING_VALUE",
158
+ * to: "STRING_VALUE",
159
+ * timeZone: "STRING_VALUE",
160
+ * },
161
+ * predefined: { // ListConversationsFilterPredefinedDate
162
+ * type: "THIS_QUARTER" || "THIS_MONTH" || "THIS_WEEK" || "TODAY" || "YESTERDAY" || "PREVIOUS_WEEK" || "PREVIOUS_MONTH" || "LAST_30_DAYS", // required
163
+ * timeZone: "STRING_VALUE",
164
+ * },
165
+ * },
166
+ * dayOfWeek: { // ListConversationsFilterDateIndex
167
+ * index: Number("int"),
168
+ * timeZone: "STRING_VALUE",
169
+ * },
170
+ * hourOfDay: {
171
+ * index: Number("int"),
172
+ * timeZone: "STRING_VALUE",
173
+ * },
174
+ * present: [ // ListConversationsFilterFieldsList
175
+ * { // ListConversationsFilterField Union: only one key present
176
+ * direction: true || false,
177
+ * service: true || false,
178
+ * group: true || false,
179
+ * department: true || false,
180
+ * chatbot: true || false,
181
+ * voicebot: true || false,
182
+ * tag: true || false,
183
+ * pbx: true || false,
184
+ * trunk: true || false,
185
+ * queue: true || false,
186
+ * country: true || false,
187
+ * location: true || false,
188
+ * language: true || false,
189
+ * projection: { // ListConversationsFilterProjectionField
190
+ * projectionId: "STRING_VALUE", // required
191
+ * fieldId: "STRING_VALUE", // required
192
+ * },
193
+ * },
194
+ * ],
195
+ * absent: [
196
+ * {// Union: only one key present
197
+ * direction: true || false,
198
+ * service: true || false,
199
+ * group: true || false,
200
+ * department: true || false,
201
+ * chatbot: true || false,
202
+ * voicebot: true || false,
203
+ * tag: true || false,
204
+ * pbx: true || false,
205
+ * trunk: true || false,
206
+ * queue: true || false,
207
+ * country: true || false,
208
+ * location: true || false,
209
+ * language: true || false,
210
+ * projection: {
211
+ * projectionId: "STRING_VALUE", // required
212
+ * fieldId: "STRING_VALUE", // required
213
+ * },
214
+ * },
215
+ * ],
216
+ * },
217
+ * company: "STRING_VALUE",
218
+ * };
219
+ * const command = new PutAnalysisSettingsCommand(input);
220
+ * const response = await client.send(command);
221
+ * // { // PutAnalysisSettingsOutput
222
+ * // settings: { // AnalysisSettings
223
+ * // defaultModel: "STRING_VALUE",
224
+ * // disabled: true || false,
225
+ * // filter: { // ListConversationsFilter
226
+ * // id: [ // ListConversationsFilterIdList
227
+ * // { // ConversationTarget Union: only one key present
228
+ * // call: { // CallConversationTarget
229
+ * // callId: "STRING_VALUE", // required
230
+ * // flowIndex: Number("int"), // required
231
+ * // },
232
+ * // conference: { // ConferenceConversationTarget
233
+ * // conferenceId: "STRING_VALUE", // required
234
+ * // },
235
+ * // chat: { // ChatConversationTarget
236
+ * // chatId: "STRING_VALUE", // required
237
+ * // },
238
+ * // },
239
+ * // ],
240
+ * // entity: { // ListConversationsFilterEntity
241
+ * // call: true || false,
242
+ * // conference: true || false,
243
+ * // chat: true || false,
244
+ * // },
245
+ * // participants: [ // ListConversationsFilterParticipantList
246
+ * // { // ListConversationsFilterParticipant Union: only one key present
247
+ * // email: "STRING_VALUE",
248
+ * // phone: "STRING_VALUE",
249
+ * // extension: "STRING_VALUE",
250
+ * // },
251
+ * // ],
252
+ * // participantsToInclude: [
253
+ * // {// Union: only one key present
254
+ * // email: "STRING_VALUE",
255
+ * // phone: "STRING_VALUE",
256
+ * // extension: "STRING_VALUE",
257
+ * // },
258
+ * // ],
259
+ * // participantsToExclude: [
260
+ * // {// Union: only one key present
261
+ * // email: "STRING_VALUE",
262
+ * // phone: "STRING_VALUE",
263
+ * // extension: "STRING_VALUE",
264
+ * // },
265
+ * // ],
266
+ * // chatbots: [ // ListConversationsFilterKeyword
267
+ * // "STRING_VALUE",
268
+ * // ],
269
+ * // voicebots: [
270
+ * // "STRING_VALUE",
271
+ * // ],
272
+ * // service: [
273
+ * // "STRING_VALUE",
274
+ * // ],
275
+ * // group: [
276
+ * // "STRING_VALUE",
277
+ * // ],
278
+ * // department: [
279
+ * // "STRING_VALUE",
280
+ * // ],
281
+ * // tag: "<ListConversationsFilterKeyword>",
282
+ * // pbx: "<ListConversationsFilterKeyword>",
283
+ * // trunk: "<ListConversationsFilterKeyword>",
284
+ * // queue: "<ListConversationsFilterKeyword>",
285
+ * // country: "<ListConversationsFilterKeyword>",
286
+ * // location: "<ListConversationsFilterKeyword>",
287
+ * // phases: [ // ListConversationsFilterPhases
288
+ * // "STRING_VALUE",
289
+ * // ],
290
+ * // language: "<ListConversationsFilterKeyword>",
291
+ * // duration: { // ListConversationsFilterNumber
292
+ * // from: Number("int"),
293
+ * // to: Number("int"),
294
+ * // },
295
+ * // interaction: { // ListConversationsFilterInteraction
296
+ * // talkRatio: {
297
+ * // from: Number("int"),
298
+ * // to: Number("int"),
299
+ * // },
300
+ * // wordsPerMinute: {
301
+ * // from: Number("int"),
302
+ * // to: Number("int"),
303
+ * // },
304
+ * // interruptions: {
305
+ * // from: Number("int"),
306
+ * // to: Number("int"),
307
+ * // },
308
+ * // patience: { // ListConversationsFilterFloat
309
+ * // from: Number("float"),
310
+ * // to: Number("float"),
311
+ * // },
312
+ * // longestMonologue: {
313
+ * // from: Number("int"),
314
+ * // to: Number("int"),
315
+ * // },
316
+ * // longestCustomerStory: "<ListConversationsFilterNumber>",
317
+ * // },
318
+ * // recorded: true || false,
319
+ * // transcribed: true || false,
320
+ * // direction: { // ListConversationsFilterDirection
321
+ * // inbound: true || false,
322
+ * // outbound: true || false,
323
+ * // internal: true || false,
324
+ * // },
325
+ * // insights: [ // ListConversationsFilterInsightsList
326
+ * // { // ListConversationsFilterInsight
327
+ * // projectionId: "STRING_VALUE", // required
328
+ * // fieldId: "STRING_VALUE", // required
329
+ * // match: "STRING_VALUE",
330
+ * // matchAny: [ // StringList
331
+ * // "STRING_VALUE",
332
+ * // ],
333
+ * // },
334
+ * // ],
335
+ * // channel: { // ListConversationsFilterChannel
336
+ * // sms: true || false,
337
+ * // whatsapp: true || false,
338
+ * // kite: true || false,
339
+ * // },
340
+ * // date: { // ListConversationsFilterDate Union: only one key present
341
+ * // absolute: { // ListConversationsFilterAbsoluteDate
342
+ * // from: "STRING_VALUE",
343
+ * // to: "STRING_VALUE",
344
+ * // timeZone: "STRING_VALUE",
345
+ * // },
346
+ * // predefined: { // ListConversationsFilterPredefinedDate
347
+ * // type: "THIS_QUARTER" || "THIS_MONTH" || "THIS_WEEK" || "TODAY" || "YESTERDAY" || "PREVIOUS_WEEK" || "PREVIOUS_MONTH" || "LAST_30_DAYS", // required
348
+ * // timeZone: "STRING_VALUE",
349
+ * // },
350
+ * // },
351
+ * // dayOfWeek: { // ListConversationsFilterDateIndex
352
+ * // index: Number("int"),
353
+ * // timeZone: "STRING_VALUE",
354
+ * // },
355
+ * // hourOfDay: {
356
+ * // index: Number("int"),
357
+ * // timeZone: "STRING_VALUE",
358
+ * // },
359
+ * // present: [ // ListConversationsFilterFieldsList
360
+ * // { // ListConversationsFilterField Union: only one key present
361
+ * // direction: true || false,
362
+ * // service: true || false,
363
+ * // group: true || false,
364
+ * // department: true || false,
365
+ * // chatbot: true || false,
366
+ * // voicebot: true || false,
367
+ * // tag: true || false,
368
+ * // pbx: true || false,
369
+ * // trunk: true || false,
370
+ * // queue: true || false,
371
+ * // country: true || false,
372
+ * // location: true || false,
373
+ * // language: true || false,
374
+ * // projection: { // ListConversationsFilterProjectionField
375
+ * // projectionId: "STRING_VALUE", // required
376
+ * // fieldId: "STRING_VALUE", // required
377
+ * // },
378
+ * // },
379
+ * // ],
380
+ * // absent: [
381
+ * // {// Union: only one key present
382
+ * // direction: true || false,
383
+ * // service: true || false,
384
+ * // group: true || false,
385
+ * // department: true || false,
386
+ * // chatbot: true || false,
387
+ * // voicebot: true || false,
388
+ * // tag: true || false,
389
+ * // pbx: true || false,
390
+ * // trunk: true || false,
391
+ * // queue: true || false,
392
+ * // country: true || false,
393
+ * // location: true || false,
394
+ * // language: true || false,
395
+ * // projection: {
396
+ * // projectionId: "STRING_VALUE", // required
397
+ * // fieldId: "STRING_VALUE", // required
398
+ * // },
399
+ * // },
400
+ * // ],
401
+ * // },
402
+ * // },
403
+ * // };
404
+ *
405
+ * ```
406
+ *
407
+ * @param PutAnalysisSettingsCommandInput - {@link PutAnalysisSettingsCommandInput}
408
+ * @returns {@link PutAnalysisSettingsCommandOutput}
409
+ * @see {@link PutAnalysisSettingsCommandInput} for command's `input` shape.
410
+ * @see {@link PutAnalysisSettingsCommandOutput} for command's `response` shape.
411
+ * @see {@link WdaInsightsClientResolvedConfig | config} for WdaInsightsClient's `config` shape.
412
+ *
413
+ * @throws {@link ValidationException} (client fault)
414
+ *
415
+ * @throws {@link ForbiddenException} (client fault)
416
+ *
417
+ * @throws {@link WdaInsightsServiceException}
418
+ * <p>Base exception class for all service exceptions from WdaInsights service.</p>
419
+ *
420
+ *
421
+ * @public
422
+ */
423
+ export declare class PutAnalysisSettingsCommand extends PutAnalysisSettingsCommand_base {
424
+ /** @internal type navigation helper, not in runtime. */
425
+ protected static __types: {
426
+ api: {
427
+ input: PutAnalysisSettingsInput;
428
+ output: PutAnalysisSettingsOutput;
429
+ };
430
+ sdk: {
431
+ input: PutAnalysisSettingsCommandInput;
432
+ output: PutAnalysisSettingsCommandOutput;
433
+ };
434
+ };
435
+ }