@wildix/wda-insights-client 1.1.30 → 1.1.34

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 (33) hide show
  1. package/dist-cjs/WdaInsights.js +6 -0
  2. package/dist-cjs/commands/GetAnalysisSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/PutAnalysisSettingsCommand.js +21 -0
  4. package/dist-cjs/commands/UpdateProjectionAnalysisSettingsCommand.js +21 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/models/models_0.js +7 -13
  7. package/dist-cjs/protocols/Aws_restJson1.js +107 -5
  8. package/dist-es/WdaInsights.js +6 -0
  9. package/dist-es/commands/GetAnalysisSettingsCommand.js +17 -0
  10. package/dist-es/commands/PutAnalysisSettingsCommand.js +17 -0
  11. package/dist-es/commands/UpdateProjectionAnalysisSettingsCommand.js +17 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/models/models_0.js +5 -11
  14. package/dist-es/protocols/Aws_restJson1.js +98 -2
  15. package/dist-types/WdaInsights.d.ts +23 -0
  16. package/dist-types/WdaInsightsClient.d.ts +5 -2
  17. package/dist-types/commands/CreateProjectionCommand.d.ts +10 -8
  18. package/dist-types/commands/DisableProjectionCommand.d.ts +5 -4
  19. package/dist-types/commands/EnableProjectionCommand.d.ts +5 -4
  20. package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +78 -0
  21. package/dist-types/commands/GetProjectionCommand.d.ts +5 -4
  22. package/dist-types/commands/ListConversationsCommand.d.ts +30 -22
  23. package/dist-types/commands/ListPlaylistItemsCommand.d.ts +30 -22
  24. package/dist-types/commands/ListProjectionsCommand.d.ts +5 -4
  25. package/dist-types/commands/ListWatchHistoryCommand.d.ts +30 -22
  26. package/dist-types/commands/PauseProjectionCommand.d.ts +5 -4
  27. package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +79 -0
  28. package/dist-types/commands/UpdateProjectionAnalysisSettingsCommand.d.ts +145 -0
  29. package/dist-types/commands/UpdateProjectionCommand.d.ts +8 -8
  30. package/dist-types/commands/index.d.ts +3 -0
  31. package/dist-types/models/models_0.d.ts +120 -78
  32. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  33. package/package.json +1 -1
@@ -129,18 +129,6 @@ declare const ListWatchHistoryCommand_base: {
129
129
  * // reason: "pause" || "hold",
130
130
  * // },
131
131
  * // ],
132
- * // destinations: [ // CallFlowAttachmentDestinationList
133
- * // { // CallFlowAttachmentDestination
134
- * // phone: "STRING_VALUE",
135
- * // name: "STRING_VALUE",
136
- * // email: "STRING_VALUE",
137
- * // userId: "STRING_VALUE",
138
- * // userExtension: "STRING_VALUE",
139
- * // userDepartment: "STRING_VALUE",
140
- * // groupId: "STRING_VALUE",
141
- * // groupName: "STRING_VALUE",
142
- * // },
143
- * // ],
144
132
  * // },
145
133
  * // ],
146
134
  * // mergeWith: "STRING_VALUE",
@@ -155,9 +143,9 @@ declare const ListWatchHistoryCommand_base: {
155
143
  * // transcriptionLanguage: "STRING_VALUE",
156
144
  * // transcriptionSeconds: Number("int"),
157
145
  * // attachment: "STRING_VALUE",
158
- * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
159
- * // attachmentDestinations: [
160
- * // {
146
+ * // attachmentType: "VOICEMAIL" || "FAX",
147
+ * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
148
+ * // { // CallFlowAttachmentDestination
161
149
  * // phone: "STRING_VALUE",
162
150
  * // name: "STRING_VALUE",
163
151
  * // email: "STRING_VALUE",
@@ -183,26 +171,46 @@ declare const ListWatchHistoryCommand_base: {
183
171
  * // reason: "pause" || "hold",
184
172
  * // },
185
173
  * // ],
186
- * // destinations: "<CallFlowAttachmentDestinationList>",
187
174
  * // },
188
175
  * // fax: { // CallFlowFax
189
176
  * // url: "STRING_VALUE", // required
190
177
  * // status: "ok" || "error",
191
- * // destinations: "<CallFlowAttachmentDestinationList>",
178
+ * // destinations: [
179
+ * // {
180
+ * // phone: "STRING_VALUE",
181
+ * // name: "STRING_VALUE",
182
+ * // email: "STRING_VALUE",
183
+ * // userId: "STRING_VALUE",
184
+ * // userExtension: "STRING_VALUE",
185
+ * // userDepartment: "STRING_VALUE",
186
+ * // groupId: "STRING_VALUE",
187
+ * // groupName: "STRING_VALUE",
188
+ * // },
189
+ * // ],
192
190
  * // owner: "callee" || "caller" || "system",
193
191
  * // error: "STRING_VALUE",
194
192
  * // },
195
193
  * // voicemail: { // CallFlowVoicemail
196
194
  * // url: "STRING_VALUE", // required
197
- * // destinations: "<CallFlowAttachmentDestinationList>",
195
+ * // destinations: [
196
+ * // {
197
+ * // phone: "STRING_VALUE",
198
+ * // name: "STRING_VALUE",
199
+ * // email: "STRING_VALUE",
200
+ * // userId: "STRING_VALUE",
201
+ * // userExtension: "STRING_VALUE",
202
+ * // userDepartment: "STRING_VALUE",
203
+ * // groupId: "STRING_VALUE",
204
+ * // groupName: "STRING_VALUE",
205
+ * // },
206
+ * // ],
198
207
  * // owner: "callee" || "caller" || "system",
199
208
  * // },
200
- * // transcription: { // CallFlowTranscription
201
- * // destinations: "<CallFlowAttachmentDestinationList>",
202
- * // status: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
203
- * // },
204
209
  * // },
205
210
  * // ],
211
+ * // notifications: { // CallFlowNotifications
212
+ * // destinations: "<CallFlowAttachmentDestinationList>",
213
+ * // },
206
214
  * // id: "STRING_VALUE", // required
207
215
  * // pbx: "STRING_VALUE", // required
208
216
  * // time: Number("long"), // required
@@ -90,14 +90,15 @@ declare const PauseProjectionCommand_base: {
90
90
  * // ],
91
91
  * // multi: true || false,
92
92
  * // adaptive: true || false,
93
+ * // adaptiveOptions: [
94
+ * // "STRING_VALUE",
95
+ * // ],
93
96
  * // },
94
97
  * // },
95
98
  * // },
96
99
  * // ],
97
- * // model: { // ProjectionModel
98
- * // provider: "OPENAI",
99
- * // name: "STRING_VALUE",
100
- * // },
100
+ * // model: "STRING_VALUE",
101
+ * // group: "STRING_VALUE",
101
102
  * // id: "STRING_VALUE", // required
102
103
  * // status: "ENABLED" || "PAUSED" || "DISABLED", // required
103
104
  * // version: Number("int"), // required
@@ -0,0 +1,79 @@
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
+ * company: "STRING_VALUE",
40
+ * };
41
+ * const command = new PutAnalysisSettingsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // PutAnalysisSettingsOutput
44
+ * // settings: { // AnalysisSettings
45
+ * // defaultModel: "STRING_VALUE",
46
+ * // },
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param PutAnalysisSettingsCommandInput - {@link PutAnalysisSettingsCommandInput}
52
+ * @returns {@link PutAnalysisSettingsCommandOutput}
53
+ * @see {@link PutAnalysisSettingsCommandInput} for command's `input` shape.
54
+ * @see {@link PutAnalysisSettingsCommandOutput} for command's `response` shape.
55
+ * @see {@link WdaInsightsClientResolvedConfig | config} for WdaInsightsClient's `config` shape.
56
+ *
57
+ * @throws {@link ValidationException} (client fault)
58
+ *
59
+ * @throws {@link ForbiddenException} (client fault)
60
+ *
61
+ * @throws {@link WdaInsightsServiceException}
62
+ * <p>Base exception class for all service exceptions from WdaInsights service.</p>
63
+ *
64
+ *
65
+ * @public
66
+ */
67
+ export declare class PutAnalysisSettingsCommand extends PutAnalysisSettingsCommand_base {
68
+ /** @internal type navigation helper, not in runtime. */
69
+ protected static __types: {
70
+ api: {
71
+ input: PutAnalysisSettingsInput;
72
+ output: PutAnalysisSettingsOutput;
73
+ };
74
+ sdk: {
75
+ input: PutAnalysisSettingsCommandInput;
76
+ output: PutAnalysisSettingsCommandOutput;
77
+ };
78
+ };
79
+ }
@@ -0,0 +1,145 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WdaInsightsClientResolvedConfig } from "../WdaInsightsClient";
2
+ import { UpdateProjectionAnalysisSettingsInput, UpdateProjectionAnalysisSettingsOutput } 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 UpdateProjectionAnalysisSettingsCommand}.
14
+ */
15
+ export interface UpdateProjectionAnalysisSettingsCommandInput extends UpdateProjectionAnalysisSettingsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateProjectionAnalysisSettingsCommand}.
21
+ */
22
+ export interface UpdateProjectionAnalysisSettingsCommandOutput extends UpdateProjectionAnalysisSettingsOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateProjectionAnalysisSettingsCommand_base: {
25
+ new (input: UpdateProjectionAnalysisSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProjectionAnalysisSettingsCommandInput, UpdateProjectionAnalysisSettingsCommandOutput, WdaInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateProjectionAnalysisSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProjectionAnalysisSettingsCommandInput, UpdateProjectionAnalysisSettingsCommandOutput, WdaInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Updates model and group analysis settings for the projection, including predefined projections.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WdaInsightsClient, UpdateProjectionAnalysisSettingsCommand } from "@wildix/wda-insights-client"; // ES Modules import
35
+ * // const { WdaInsightsClient, UpdateProjectionAnalysisSettingsCommand } = require("@wildix/wda-insights-client"); // CommonJS import
36
+ * const client = new WdaInsightsClient(config);
37
+ * const input = { // UpdateProjectionAnalysisSettingsInput
38
+ * model: "STRING_VALUE",
39
+ * group: "STRING_VALUE",
40
+ * company: "STRING_VALUE",
41
+ * id: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new UpdateProjectionAnalysisSettingsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateProjectionAnalysisSettingsOutput
46
+ * // projection: { // Projection
47
+ * // categoryId: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // description: "STRING_VALUE",
50
+ * // instructions: "STRING_VALUE",
51
+ * // conditions: [ // ProjectionConditionsList
52
+ * // { // ProjectionCondition Union: only one key present
53
+ * // entity: { // ProjectionEntityCondition
54
+ * // equals: [ // ProjectionEntityConditionValuesList // required
55
+ * // "call" || "conference" || "chat",
56
+ * // ],
57
+ * // },
58
+ * // direction: { // ProjectionDirectionCondition
59
+ * // equals: [ // ProjectionDirectionConditionValuesList // required
60
+ * // "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
61
+ * // ],
62
+ * // },
63
+ * // participants: { // ProjectionParticipantsCondition
64
+ * // emails: [ // ProjectionParticipantsEmailsList
65
+ * // "STRING_VALUE",
66
+ * // ],
67
+ * // extensions: [ // ProjectionParticipantsExtensionsList
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // groups: [ // ProjectionParticipantsGroupsList
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // },
74
+ * // duration: { // ProjectionDurationCondition
75
+ * // minimum: Number("int"), // required
76
+ * // maximum: Number("int"), // required
77
+ * // },
78
+ * // },
79
+ * // ],
80
+ * // fields: [ // ProjectionFieldsList // required
81
+ * // { // ProjectionField
82
+ * // id: "STRING_VALUE", // required
83
+ * // name: "STRING_VALUE", // required
84
+ * // description: "STRING_VALUE",
85
+ * // optional: true || false,
86
+ * // parameter: { // ProjectionParameter Union: only one key present
87
+ * // text: {},
88
+ * // multiline: {},
89
+ * // selection: { // ProjectionSelectionParameter
90
+ * // options: [ // ProjectionSelectionOptionsList // required
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // multi: true || false,
94
+ * // adaptive: true || false,
95
+ * // adaptiveOptions: [
96
+ * // "STRING_VALUE",
97
+ * // ],
98
+ * // },
99
+ * // },
100
+ * // },
101
+ * // ],
102
+ * // model: "STRING_VALUE",
103
+ * // group: "STRING_VALUE",
104
+ * // id: "STRING_VALUE", // required
105
+ * // status: "ENABLED" || "PAUSED" || "DISABLED", // required
106
+ * // version: Number("int"), // required
107
+ * // createdAt: "STRING_VALUE", // required
108
+ * // updatedAt: "STRING_VALUE",
109
+ * // metadata: { // ProjectionMetadata
110
+ * // predefined: true || false,
111
+ * // },
112
+ * // },
113
+ * // };
114
+ *
115
+ * ```
116
+ *
117
+ * @param UpdateProjectionAnalysisSettingsCommandInput - {@link UpdateProjectionAnalysisSettingsCommandInput}
118
+ * @returns {@link UpdateProjectionAnalysisSettingsCommandOutput}
119
+ * @see {@link UpdateProjectionAnalysisSettingsCommandInput} for command's `input` shape.
120
+ * @see {@link UpdateProjectionAnalysisSettingsCommandOutput} for command's `response` shape.
121
+ * @see {@link WdaInsightsClientResolvedConfig | config} for WdaInsightsClient's `config` shape.
122
+ *
123
+ * @throws {@link ValidationException} (client fault)
124
+ *
125
+ * @throws {@link ForbiddenException} (client fault)
126
+ *
127
+ * @throws {@link WdaInsightsServiceException}
128
+ * <p>Base exception class for all service exceptions from WdaInsights service.</p>
129
+ *
130
+ *
131
+ * @public
132
+ */
133
+ export declare class UpdateProjectionAnalysisSettingsCommand extends UpdateProjectionAnalysisSettingsCommand_base {
134
+ /** @internal type navigation helper, not in runtime. */
135
+ protected static __types: {
136
+ api: {
137
+ input: UpdateProjectionAnalysisSettingsInput;
138
+ output: UpdateProjectionAnalysisSettingsOutput;
139
+ };
140
+ sdk: {
141
+ input: UpdateProjectionAnalysisSettingsCommandInput;
142
+ output: UpdateProjectionAnalysisSettingsCommandOutput;
143
+ };
144
+ };
145
+ }
@@ -83,14 +83,13 @@ declare const UpdateProjectionCommand_base: {
83
83
  * ],
84
84
  * multi: true || false,
85
85
  * adaptive: true || false,
86
+ * adaptiveOptions: [
87
+ * "STRING_VALUE",
88
+ * ],
86
89
  * },
87
90
  * },
88
91
  * },
89
92
  * ],
90
- * model: { // ProjectionModel
91
- * provider: "OPENAI",
92
- * name: "STRING_VALUE",
93
- * },
94
93
  * company: "STRING_VALUE",
95
94
  * id: "STRING_VALUE", // required
96
95
  * };
@@ -146,14 +145,15 @@ declare const UpdateProjectionCommand_base: {
146
145
  * // ],
147
146
  * // multi: true || false,
148
147
  * // adaptive: true || false,
148
+ * // adaptiveOptions: [
149
+ * // "STRING_VALUE",
150
+ * // ],
149
151
  * // },
150
152
  * // },
151
153
  * // },
152
154
  * // ],
153
- * // model: { // ProjectionModel
154
- * // provider: "OPENAI",
155
- * // name: "STRING_VALUE",
156
- * // },
155
+ * // model: "STRING_VALUE",
156
+ * // group: "STRING_VALUE",
157
157
  * // id: "STRING_VALUE", // required
158
158
  * // status: "ENABLED" || "PAUSED" || "DISABLED", // required
159
159
  * // version: Number("int"), // required
@@ -11,6 +11,7 @@ export * from "./DeleteProjectionCommand";
11
11
  export * from "./DeleteProjectionsCategoryCommand";
12
12
  export * from "./DisableProjectionCommand";
13
13
  export * from "./EnableProjectionCommand";
14
+ export * from "./GetAnalysisSettingsCommand";
14
15
  export * from "./GetCallCharacteristicsCommand";
15
16
  export * from "./GetCallInsightsCommand";
16
17
  export * from "./GetCallStateCommand";
@@ -39,6 +40,7 @@ export * from "./ListPlaylistsCommand";
39
40
  export * from "./ListProjectionsCommand";
40
41
  export * from "./ListWatchHistoryCommand";
41
42
  export * from "./PauseProjectionCommand";
43
+ export * from "./PutAnalysisSettingsCommand";
42
44
  export * from "./PutPlaylistItemCommand";
43
45
  export * from "./QueryConversationsCountCommand";
44
46
  export * from "./ScheduleCallSummaryGenerationCommand";
@@ -50,5 +52,6 @@ export * from "./UpdatePinnedDashboardsCommand";
50
52
  export * from "./UpdatePlaylistCommand";
51
53
  export * from "./UpdatePlaylistAccessCommand";
52
54
  export * from "./UpdateProjectionCommand";
55
+ export * from "./UpdateProjectionAnalysisSettingsCommand";
53
56
  export * from "./UpdateProjectionsCategoryCommand";
54
57
  export * from "./WatchCommand";