@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
@@ -42,7 +42,8 @@ declare const EnableProjectionCommand_base: {
42
42
  * const response = await client.send(command);
43
43
  * // { // EnableProjectionOutput
44
44
  * // projection: { // Projection
45
- * // categoryId: "STRING_VALUE", // required
45
+ * // category: "STRING_VALUE",
46
+ * // categoryId: "STRING_VALUE",
46
47
  * // name: "STRING_VALUE", // required
47
48
  * // description: "STRING_VALUE",
48
49
  * // instructions: "STRING_VALUE",
@@ -75,6 +76,185 @@ declare const EnableProjectionCommand_base: {
75
76
  * // },
76
77
  * // },
77
78
  * // ],
79
+ * // filter: { // ListConversationsFilter
80
+ * // id: [ // ListConversationsFilterIdList
81
+ * // { // ConversationTarget Union: only one key present
82
+ * // call: { // CallConversationTarget
83
+ * // callId: "STRING_VALUE", // required
84
+ * // flowIndex: Number("int"), // required
85
+ * // },
86
+ * // conference: { // ConferenceConversationTarget
87
+ * // conferenceId: "STRING_VALUE", // required
88
+ * // },
89
+ * // chat: { // ChatConversationTarget
90
+ * // chatId: "STRING_VALUE", // required
91
+ * // },
92
+ * // },
93
+ * // ],
94
+ * // entity: { // ListConversationsFilterEntity
95
+ * // call: true || false,
96
+ * // conference: true || false,
97
+ * // chat: true || false,
98
+ * // },
99
+ * // participants: [ // ListConversationsFilterParticipantList
100
+ * // { // ListConversationsFilterParticipant Union: only one key present
101
+ * // email: "STRING_VALUE",
102
+ * // phone: "STRING_VALUE",
103
+ * // extension: "STRING_VALUE",
104
+ * // },
105
+ * // ],
106
+ * // participantsToInclude: [
107
+ * // {// Union: only one key present
108
+ * // email: "STRING_VALUE",
109
+ * // phone: "STRING_VALUE",
110
+ * // extension: "STRING_VALUE",
111
+ * // },
112
+ * // ],
113
+ * // participantsToExclude: [
114
+ * // {// Union: only one key present
115
+ * // email: "STRING_VALUE",
116
+ * // phone: "STRING_VALUE",
117
+ * // extension: "STRING_VALUE",
118
+ * // },
119
+ * // ],
120
+ * // chatbots: [ // ListConversationsFilterKeyword
121
+ * // "STRING_VALUE",
122
+ * // ],
123
+ * // voicebots: [
124
+ * // "STRING_VALUE",
125
+ * // ],
126
+ * // service: [
127
+ * // "STRING_VALUE",
128
+ * // ],
129
+ * // group: [
130
+ * // "STRING_VALUE",
131
+ * // ],
132
+ * // department: [
133
+ * // "STRING_VALUE",
134
+ * // ],
135
+ * // tag: "<ListConversationsFilterKeyword>",
136
+ * // pbx: "<ListConversationsFilterKeyword>",
137
+ * // trunk: "<ListConversationsFilterKeyword>",
138
+ * // queue: "<ListConversationsFilterKeyword>",
139
+ * // country: "<ListConversationsFilterKeyword>",
140
+ * // location: "<ListConversationsFilterKeyword>",
141
+ * // phases: [ // ListConversationsFilterPhases
142
+ * // "STRING_VALUE",
143
+ * // ],
144
+ * // language: "<ListConversationsFilterKeyword>",
145
+ * // duration: { // ListConversationsFilterNumber
146
+ * // from: Number("int"),
147
+ * // to: Number("int"),
148
+ * // },
149
+ * // interaction: { // ListConversationsFilterInteraction
150
+ * // talkRatio: {
151
+ * // from: Number("int"),
152
+ * // to: Number("int"),
153
+ * // },
154
+ * // wordsPerMinute: {
155
+ * // from: Number("int"),
156
+ * // to: Number("int"),
157
+ * // },
158
+ * // interruptions: {
159
+ * // from: Number("int"),
160
+ * // to: Number("int"),
161
+ * // },
162
+ * // patience: { // ListConversationsFilterFloat
163
+ * // from: Number("float"),
164
+ * // to: Number("float"),
165
+ * // },
166
+ * // longestMonologue: {
167
+ * // from: Number("int"),
168
+ * // to: Number("int"),
169
+ * // },
170
+ * // longestCustomerStory: "<ListConversationsFilterNumber>",
171
+ * // },
172
+ * // recorded: true || false,
173
+ * // transcribed: true || false,
174
+ * // direction: { // ListConversationsFilterDirection
175
+ * // inbound: true || false,
176
+ * // outbound: true || false,
177
+ * // internal: true || false,
178
+ * // },
179
+ * // insights: [ // ListConversationsFilterInsightsList
180
+ * // { // ListConversationsFilterInsight
181
+ * // projectionId: "STRING_VALUE", // required
182
+ * // fieldId: "STRING_VALUE", // required
183
+ * // match: "STRING_VALUE",
184
+ * // matchAny: [ // StringList
185
+ * // "STRING_VALUE",
186
+ * // ],
187
+ * // },
188
+ * // ],
189
+ * // channel: { // ListConversationsFilterChannel
190
+ * // sms: true || false,
191
+ * // whatsapp: true || false,
192
+ * // kite: true || false,
193
+ * // },
194
+ * // date: { // ListConversationsFilterDate Union: only one key present
195
+ * // absolute: { // ListConversationsFilterAbsoluteDate
196
+ * // from: "STRING_VALUE",
197
+ * // to: "STRING_VALUE",
198
+ * // timeZone: "STRING_VALUE",
199
+ * // },
200
+ * // predefined: { // ListConversationsFilterPredefinedDate
201
+ * // type: "THIS_QUARTER" || "THIS_MONTH" || "THIS_WEEK" || "TODAY" || "YESTERDAY" || "PREVIOUS_WEEK" || "PREVIOUS_MONTH" || "LAST_30_DAYS", // required
202
+ * // timeZone: "STRING_VALUE",
203
+ * // },
204
+ * // },
205
+ * // dayOfWeek: { // ListConversationsFilterDateIndex
206
+ * // index: Number("int"),
207
+ * // timeZone: "STRING_VALUE",
208
+ * // },
209
+ * // hourOfDay: {
210
+ * // index: Number("int"),
211
+ * // timeZone: "STRING_VALUE",
212
+ * // },
213
+ * // present: [ // ListConversationsFilterFieldsList
214
+ * // { // ListConversationsFilterField Union: only one key present
215
+ * // direction: true || false,
216
+ * // service: true || false,
217
+ * // group: true || false,
218
+ * // department: true || false,
219
+ * // chatbot: true || false,
220
+ * // voicebot: true || false,
221
+ * // tag: true || false,
222
+ * // pbx: true || false,
223
+ * // trunk: true || false,
224
+ * // queue: true || false,
225
+ * // country: true || false,
226
+ * // location: true || false,
227
+ * // language: true || false,
228
+ * // projection: { // ListConversationsFilterProjectionField
229
+ * // projectionId: "STRING_VALUE", // required
230
+ * // fieldId: "STRING_VALUE", // required
231
+ * // },
232
+ * // },
233
+ * // ],
234
+ * // absent: [
235
+ * // {// Union: only one key present
236
+ * // direction: true || false,
237
+ * // service: true || false,
238
+ * // group: true || false,
239
+ * // department: true || false,
240
+ * // chatbot: true || false,
241
+ * // voicebot: true || false,
242
+ * // tag: true || false,
243
+ * // pbx: true || false,
244
+ * // trunk: true || false,
245
+ * // queue: true || false,
246
+ * // country: true || false,
247
+ * // location: true || false,
248
+ * // language: true || false,
249
+ * // projection: {
250
+ * // projectionId: "STRING_VALUE", // required
251
+ * // fieldId: "STRING_VALUE", // required
252
+ * // },
253
+ * // },
254
+ * // ],
255
+ * // },
256
+ * // model: "STRING_VALUE",
257
+ * // group: "STRING_VALUE",
78
258
  * // fields: [ // ProjectionFieldsList // required
79
259
  * // { // ProjectionField
80
260
  * // id: "STRING_VALUE", // required
@@ -90,14 +270,13 @@ declare const EnableProjectionCommand_base: {
90
270
  * // ],
91
271
  * // multi: true || false,
92
272
  * // adaptive: true || false,
273
+ * // adaptiveOptions: [
274
+ * // "STRING_VALUE",
275
+ * // ],
93
276
  * // },
94
277
  * // },
95
278
  * // },
96
279
  * // ],
97
- * // model: { // ProjectionModel
98
- * // provider: "OPENAI",
99
- * // name: "STRING_VALUE",
100
- * // },
101
280
  * // id: "STRING_VALUE", // required
102
281
  * // status: "ENABLED" || "PAUSED" || "DISABLED", // required
103
282
  * // version: Number("int"), // required
@@ -0,0 +1,256 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WdaInsightsClientResolvedConfig } from "../WdaInsightsClient";
2
+ import { GetAnalysisSettingsInput, GetAnalysisSettingsOutput } 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 GetAnalysisSettingsCommand}.
14
+ */
15
+ export interface GetAnalysisSettingsCommandInput extends GetAnalysisSettingsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAnalysisSettingsCommand}.
21
+ */
22
+ export interface GetAnalysisSettingsCommandOutput extends GetAnalysisSettingsOutput, __MetadataBearer {
23
+ }
24
+ declare const GetAnalysisSettingsCommand_base: {
25
+ new (input: GetAnalysisSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAnalysisSettingsCommandInput, GetAnalysisSettingsCommandOutput, WdaInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetAnalysisSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetAnalysisSettingsCommandInput, GetAnalysisSettingsCommandOutput, WdaInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Gets 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, GetAnalysisSettingsCommand } from "@wildix/wda-insights-client"; // ES Modules import
35
+ * // const { WdaInsightsClient, GetAnalysisSettingsCommand } = require("@wildix/wda-insights-client"); // CommonJS import
36
+ * const client = new WdaInsightsClient(config);
37
+ * const input = { // GetAnalysisSettingsInput
38
+ * company: "STRING_VALUE",
39
+ * };
40
+ * const command = new GetAnalysisSettingsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetAnalysisSettingsOutput
43
+ * // settings: { // AnalysisSettings
44
+ * // defaultModel: "STRING_VALUE",
45
+ * // disabled: true || false,
46
+ * // filter: { // ListConversationsFilter
47
+ * // id: [ // ListConversationsFilterIdList
48
+ * // { // ConversationTarget Union: only one key present
49
+ * // call: { // CallConversationTarget
50
+ * // callId: "STRING_VALUE", // required
51
+ * // flowIndex: Number("int"), // required
52
+ * // },
53
+ * // conference: { // ConferenceConversationTarget
54
+ * // conferenceId: "STRING_VALUE", // required
55
+ * // },
56
+ * // chat: { // ChatConversationTarget
57
+ * // chatId: "STRING_VALUE", // required
58
+ * // },
59
+ * // },
60
+ * // ],
61
+ * // entity: { // ListConversationsFilterEntity
62
+ * // call: true || false,
63
+ * // conference: true || false,
64
+ * // chat: true || false,
65
+ * // },
66
+ * // participants: [ // ListConversationsFilterParticipantList
67
+ * // { // ListConversationsFilterParticipant Union: only one key present
68
+ * // email: "STRING_VALUE",
69
+ * // phone: "STRING_VALUE",
70
+ * // extension: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // participantsToInclude: [
74
+ * // {// Union: only one key present
75
+ * // email: "STRING_VALUE",
76
+ * // phone: "STRING_VALUE",
77
+ * // extension: "STRING_VALUE",
78
+ * // },
79
+ * // ],
80
+ * // participantsToExclude: [
81
+ * // {// Union: only one key present
82
+ * // email: "STRING_VALUE",
83
+ * // phone: "STRING_VALUE",
84
+ * // extension: "STRING_VALUE",
85
+ * // },
86
+ * // ],
87
+ * // chatbots: [ // ListConversationsFilterKeyword
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // voicebots: [
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // service: [
94
+ * // "STRING_VALUE",
95
+ * // ],
96
+ * // group: [
97
+ * // "STRING_VALUE",
98
+ * // ],
99
+ * // department: [
100
+ * // "STRING_VALUE",
101
+ * // ],
102
+ * // tag: "<ListConversationsFilterKeyword>",
103
+ * // pbx: "<ListConversationsFilterKeyword>",
104
+ * // trunk: "<ListConversationsFilterKeyword>",
105
+ * // queue: "<ListConversationsFilterKeyword>",
106
+ * // country: "<ListConversationsFilterKeyword>",
107
+ * // location: "<ListConversationsFilterKeyword>",
108
+ * // phases: [ // ListConversationsFilterPhases
109
+ * // "STRING_VALUE",
110
+ * // ],
111
+ * // language: "<ListConversationsFilterKeyword>",
112
+ * // duration: { // ListConversationsFilterNumber
113
+ * // from: Number("int"),
114
+ * // to: Number("int"),
115
+ * // },
116
+ * // interaction: { // ListConversationsFilterInteraction
117
+ * // talkRatio: {
118
+ * // from: Number("int"),
119
+ * // to: Number("int"),
120
+ * // },
121
+ * // wordsPerMinute: {
122
+ * // from: Number("int"),
123
+ * // to: Number("int"),
124
+ * // },
125
+ * // interruptions: {
126
+ * // from: Number("int"),
127
+ * // to: Number("int"),
128
+ * // },
129
+ * // patience: { // ListConversationsFilterFloat
130
+ * // from: Number("float"),
131
+ * // to: Number("float"),
132
+ * // },
133
+ * // longestMonologue: {
134
+ * // from: Number("int"),
135
+ * // to: Number("int"),
136
+ * // },
137
+ * // longestCustomerStory: "<ListConversationsFilterNumber>",
138
+ * // },
139
+ * // recorded: true || false,
140
+ * // transcribed: true || false,
141
+ * // direction: { // ListConversationsFilterDirection
142
+ * // inbound: true || false,
143
+ * // outbound: true || false,
144
+ * // internal: true || false,
145
+ * // },
146
+ * // insights: [ // ListConversationsFilterInsightsList
147
+ * // { // ListConversationsFilterInsight
148
+ * // projectionId: "STRING_VALUE", // required
149
+ * // fieldId: "STRING_VALUE", // required
150
+ * // match: "STRING_VALUE",
151
+ * // matchAny: [ // StringList
152
+ * // "STRING_VALUE",
153
+ * // ],
154
+ * // },
155
+ * // ],
156
+ * // channel: { // ListConversationsFilterChannel
157
+ * // sms: true || false,
158
+ * // whatsapp: true || false,
159
+ * // kite: true || false,
160
+ * // },
161
+ * // date: { // ListConversationsFilterDate Union: only one key present
162
+ * // absolute: { // ListConversationsFilterAbsoluteDate
163
+ * // from: "STRING_VALUE",
164
+ * // to: "STRING_VALUE",
165
+ * // timeZone: "STRING_VALUE",
166
+ * // },
167
+ * // predefined: { // ListConversationsFilterPredefinedDate
168
+ * // type: "THIS_QUARTER" || "THIS_MONTH" || "THIS_WEEK" || "TODAY" || "YESTERDAY" || "PREVIOUS_WEEK" || "PREVIOUS_MONTH" || "LAST_30_DAYS", // required
169
+ * // timeZone: "STRING_VALUE",
170
+ * // },
171
+ * // },
172
+ * // dayOfWeek: { // ListConversationsFilterDateIndex
173
+ * // index: Number("int"),
174
+ * // timeZone: "STRING_VALUE",
175
+ * // },
176
+ * // hourOfDay: {
177
+ * // index: Number("int"),
178
+ * // timeZone: "STRING_VALUE",
179
+ * // },
180
+ * // present: [ // ListConversationsFilterFieldsList
181
+ * // { // ListConversationsFilterField Union: only one key present
182
+ * // direction: true || false,
183
+ * // service: true || false,
184
+ * // group: true || false,
185
+ * // department: true || false,
186
+ * // chatbot: true || false,
187
+ * // voicebot: true || false,
188
+ * // tag: true || false,
189
+ * // pbx: true || false,
190
+ * // trunk: true || false,
191
+ * // queue: true || false,
192
+ * // country: true || false,
193
+ * // location: true || false,
194
+ * // language: true || false,
195
+ * // projection: { // ListConversationsFilterProjectionField
196
+ * // projectionId: "STRING_VALUE", // required
197
+ * // fieldId: "STRING_VALUE", // required
198
+ * // },
199
+ * // },
200
+ * // ],
201
+ * // absent: [
202
+ * // {// Union: only one key present
203
+ * // direction: true || false,
204
+ * // service: true || false,
205
+ * // group: true || false,
206
+ * // department: true || false,
207
+ * // chatbot: true || false,
208
+ * // voicebot: true || false,
209
+ * // tag: true || false,
210
+ * // pbx: true || false,
211
+ * // trunk: true || false,
212
+ * // queue: true || false,
213
+ * // country: true || false,
214
+ * // location: true || false,
215
+ * // language: true || false,
216
+ * // projection: {
217
+ * // projectionId: "STRING_VALUE", // required
218
+ * // fieldId: "STRING_VALUE", // required
219
+ * // },
220
+ * // },
221
+ * // ],
222
+ * // },
223
+ * // },
224
+ * // };
225
+ *
226
+ * ```
227
+ *
228
+ * @param GetAnalysisSettingsCommandInput - {@link GetAnalysisSettingsCommandInput}
229
+ * @returns {@link GetAnalysisSettingsCommandOutput}
230
+ * @see {@link GetAnalysisSettingsCommandInput} for command's `input` shape.
231
+ * @see {@link GetAnalysisSettingsCommandOutput} for command's `response` shape.
232
+ * @see {@link WdaInsightsClientResolvedConfig | config} for WdaInsightsClient's `config` shape.
233
+ *
234
+ * @throws {@link ValidationException} (client fault)
235
+ *
236
+ * @throws {@link ForbiddenException} (client fault)
237
+ *
238
+ * @throws {@link WdaInsightsServiceException}
239
+ * <p>Base exception class for all service exceptions from WdaInsights service.</p>
240
+ *
241
+ *
242
+ * @public
243
+ */
244
+ export declare class GetAnalysisSettingsCommand extends GetAnalysisSettingsCommand_base {
245
+ /** @internal type navigation helper, not in runtime. */
246
+ protected static __types: {
247
+ api: {
248
+ input: GetAnalysisSettingsInput;
249
+ output: GetAnalysisSettingsOutput;
250
+ };
251
+ sdk: {
252
+ input: GetAnalysisSettingsCommandInput;
253
+ output: GetAnalysisSettingsCommandOutput;
254
+ };
255
+ };
256
+ }