@wildix/wda-insights-client 1.0.24 → 1.0.26

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.
@@ -7,6 +7,7 @@ const GetCallSummaryCommand_1 = require("./commands/GetCallSummaryCommand");
7
7
  const GetConferenceSummaryCommand_1 = require("./commands/GetConferenceSummaryCommand");
8
8
  const GetConferenceTimeFramesCommand_1 = require("./commands/GetConferenceTimeFramesCommand");
9
9
  const ListConversationsCommand_1 = require("./commands/ListConversationsCommand");
10
+ const ListFiltersCommand_1 = require("./commands/ListFiltersCommand");
10
11
  const ScheduleCallPostAnalysisCommand_1 = require("./commands/ScheduleCallPostAnalysisCommand");
11
12
  const ScheduleCallSummaryGenerationCommand_1 = require("./commands/ScheduleCallSummaryGenerationCommand");
12
13
  const ScheduleConferencePostAnalysisCommand_1 = require("./commands/ScheduleConferencePostAnalysisCommand");
@@ -18,6 +19,7 @@ const commands = {
18
19
  GetConferenceSummaryCommand: GetConferenceSummaryCommand_1.GetConferenceSummaryCommand,
19
20
  GetConferenceTimeFramesCommand: GetConferenceTimeFramesCommand_1.GetConferenceTimeFramesCommand,
20
21
  ListConversationsCommand: ListConversationsCommand_1.ListConversationsCommand,
22
+ ListFiltersCommand: ListFiltersCommand_1.ListFiltersCommand,
21
23
  ScheduleCallPostAnalysisCommand: ScheduleCallPostAnalysisCommand_1.ScheduleCallPostAnalysisCommand,
22
24
  ScheduleCallSummaryGenerationCommand: ScheduleCallSummaryGenerationCommand_1.ScheduleCallSummaryGenerationCommand,
23
25
  ScheduleConferencePostAnalysisCommand: ScheduleConferencePostAnalysisCommand_1.ScheduleConferencePostAnalysisCommand,
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListFiltersCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class ListFiltersCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "WdaInsightsClient";
19
+ const commandName = "ListFiltersCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "WdaInsights",
28
+ operation: "ListFilters",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_ListFiltersCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_ListFiltersCommand)(output, context);
39
+ }
40
+ }
41
+ exports.ListFiltersCommand = ListFiltersCommand;
@@ -6,6 +6,7 @@ tslib_1.__exportStar(require("./GetCallSummaryCommand"), exports);
6
6
  tslib_1.__exportStar(require("./GetConferenceSummaryCommand"), exports);
7
7
  tslib_1.__exportStar(require("./GetConferenceTimeFramesCommand"), exports);
8
8
  tslib_1.__exportStar(require("./ListConversationsCommand"), exports);
9
+ tslib_1.__exportStar(require("./ListFiltersCommand"), exports);
9
10
  tslib_1.__exportStar(require("./ScheduleCallPostAnalysisCommand"), exports);
10
11
  tslib_1.__exportStar(require("./ScheduleCallSummaryGenerationCommand"), exports);
11
12
  tslib_1.__exportStar(require("./ScheduleConferencePostAnalysisCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleConferencePostAnalysisCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_ScheduleCallPostAnalysisCommand = exports.de_ListConversationsCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallCharacteristicsCommand = exports.se_ScheduleConferenceSummaryGenerationCommand = exports.se_ScheduleConferencePostAnalysisCommand = exports.se_ScheduleCallSummaryGenerationCommand = exports.se_ScheduleCallPostAnalysisCommand = exports.se_ListConversationsCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallCharacteristicsCommand = void 0;
3
+ exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleConferencePostAnalysisCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_ScheduleCallPostAnalysisCommand = exports.de_ListFiltersCommand = exports.de_ListConversationsCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallCharacteristicsCommand = exports.se_ScheduleConferenceSummaryGenerationCommand = exports.se_ScheduleConferencePostAnalysisCommand = exports.se_ScheduleCallSummaryGenerationCommand = exports.se_ScheduleCallPostAnalysisCommand = exports.se_ListFiltersCommand = exports.se_ListConversationsCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallCharacteristicsCommand = void 0;
4
4
  const WdaInsightsServiceException_1 = require("../models/WdaInsightsServiceException");
5
5
  const models_0_1 = require("../models/models_0");
6
6
  const protocol_http_1 = require("@smithy/protocol-http");
@@ -129,6 +129,26 @@ const se_ListConversationsCommand = async (input, context) => {
129
129
  });
130
130
  };
131
131
  exports.se_ListConversationsCommand = se_ListConversationsCommand;
132
+ const se_ListFiltersCommand = async (input, context) => {
133
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
134
+ const headers = {};
135
+ let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/insights/filters";
136
+ const query = (0, smithy_client_1.map)({
137
+ "company": [, input.company],
138
+ });
139
+ let body;
140
+ return new protocol_http_1.HttpRequest({
141
+ protocol,
142
+ hostname,
143
+ port,
144
+ method: "GET",
145
+ headers,
146
+ path: resolvedPath,
147
+ query,
148
+ body,
149
+ });
150
+ };
151
+ exports.se_ListFiltersCommand = se_ListFiltersCommand;
132
152
  const se_ScheduleCallPostAnalysisCommand = async (input, context) => {
133
153
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
134
154
  const headers = {};
@@ -427,6 +447,43 @@ const de_ListConversationsCommandError = async (output, context) => {
427
447
  });
428
448
  }
429
449
  };
450
+ const de_ListFiltersCommand = async (output, context) => {
451
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
452
+ return de_ListFiltersCommandError(output, context);
453
+ }
454
+ const contents = (0, smithy_client_1.map)({
455
+ $metadata: deserializeMetadata(output),
456
+ });
457
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
458
+ const doc = (0, smithy_client_1.take)(data, {
459
+ 'items': smithy_client_1._json,
460
+ });
461
+ Object.assign(contents, doc);
462
+ return contents;
463
+ };
464
+ exports.de_ListFiltersCommand = de_ListFiltersCommand;
465
+ const de_ListFiltersCommandError = async (output, context) => {
466
+ const parsedOutput = {
467
+ ...output,
468
+ body: await parseErrorBody(output.body, context)
469
+ };
470
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
471
+ switch (errorCode) {
472
+ case "ForbiddenException":
473
+ case "smithy.framework#ForbiddenException":
474
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
475
+ case "ValidationException":
476
+ case "smithy.framework#ValidationException":
477
+ throw await de_ValidationExceptionRes(parsedOutput, context);
478
+ default:
479
+ const parsedBody = parsedOutput.body;
480
+ return throwDefaultError({
481
+ output,
482
+ parsedBody,
483
+ errorCode
484
+ });
485
+ }
486
+ };
430
487
  const de_ScheduleCallPostAnalysisCommand = async (output, context) => {
431
488
  if (output.statusCode !== 200 && output.statusCode >= 300) {
432
489
  return de_ScheduleCallPostAnalysisCommandError(output, context);
@@ -4,6 +4,7 @@ import { GetCallSummaryCommand, } from "./commands/GetCallSummaryCommand";
4
4
  import { GetConferenceSummaryCommand, } from "./commands/GetConferenceSummaryCommand";
5
5
  import { GetConferenceTimeFramesCommand, } from "./commands/GetConferenceTimeFramesCommand";
6
6
  import { ListConversationsCommand, } from "./commands/ListConversationsCommand";
7
+ import { ListFiltersCommand, } from "./commands/ListFiltersCommand";
7
8
  import { ScheduleCallPostAnalysisCommand, } from "./commands/ScheduleCallPostAnalysisCommand";
8
9
  import { ScheduleCallSummaryGenerationCommand, } from "./commands/ScheduleCallSummaryGenerationCommand";
9
10
  import { ScheduleConferencePostAnalysisCommand, } from "./commands/ScheduleConferencePostAnalysisCommand";
@@ -15,6 +16,7 @@ const commands = {
15
16
  GetConferenceSummaryCommand,
16
17
  GetConferenceTimeFramesCommand,
17
18
  ListConversationsCommand,
19
+ ListFiltersCommand,
18
20
  ScheduleCallPostAnalysisCommand,
19
21
  ScheduleCallSummaryGenerationCommand,
20
22
  ScheduleConferencePostAnalysisCommand,
@@ -0,0 +1,37 @@
1
+ import { de_ListFiltersCommand, se_ListFiltersCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ export { $Command };
6
+ export class ListFiltersCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ resolveMiddleware(clientStack, configuration, options) {
12
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
+ const stack = clientStack.concat(this.middlewareStack);
14
+ const { logger } = configuration;
15
+ const clientName = "WdaInsightsClient";
16
+ const commandName = "ListFiltersCommand";
17
+ const handlerExecutionContext = {
18
+ logger,
19
+ clientName,
20
+ commandName,
21
+ inputFilterSensitiveLog: (_) => _,
22
+ outputFilterSensitiveLog: (_) => _,
23
+ [SMITHY_CONTEXT_KEY]: {
24
+ service: "WdaInsights",
25
+ operation: "ListFilters",
26
+ },
27
+ };
28
+ const { requestHandler } = configuration;
29
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
+ }
31
+ serialize(input, context) {
32
+ return se_ListFiltersCommand(input, context);
33
+ }
34
+ deserialize(output, context) {
35
+ return de_ListFiltersCommand(output, context);
36
+ }
37
+ }
@@ -3,6 +3,7 @@ export * from "./GetCallSummaryCommand";
3
3
  export * from "./GetConferenceSummaryCommand";
4
4
  export * from "./GetConferenceTimeFramesCommand";
5
5
  export * from "./ListConversationsCommand";
6
+ export * from "./ListFiltersCommand";
6
7
  export * from "./ScheduleCallPostAnalysisCommand";
7
8
  export * from "./ScheduleCallSummaryGenerationCommand";
8
9
  export * from "./ScheduleConferencePostAnalysisCommand";
@@ -121,6 +121,25 @@ export const se_ListConversationsCommand = async (input, context) => {
121
121
  body,
122
122
  });
123
123
  };
124
+ export const se_ListFiltersCommand = async (input, context) => {
125
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
126
+ const headers = {};
127
+ let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/insights/filters";
128
+ const query = map({
129
+ "company": [, input.company],
130
+ });
131
+ let body;
132
+ return new __HttpRequest({
133
+ protocol,
134
+ hostname,
135
+ port,
136
+ method: "GET",
137
+ headers,
138
+ path: resolvedPath,
139
+ query,
140
+ body,
141
+ });
142
+ };
124
143
  export const se_ScheduleCallPostAnalysisCommand = async (input, context) => {
125
144
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
126
145
  const headers = {};
@@ -410,6 +429,42 @@ const de_ListConversationsCommandError = async (output, context) => {
410
429
  });
411
430
  }
412
431
  };
432
+ export const de_ListFiltersCommand = async (output, context) => {
433
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
434
+ return de_ListFiltersCommandError(output, context);
435
+ }
436
+ const contents = map({
437
+ $metadata: deserializeMetadata(output),
438
+ });
439
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
440
+ const doc = take(data, {
441
+ 'items': _json,
442
+ });
443
+ Object.assign(contents, doc);
444
+ return contents;
445
+ };
446
+ const de_ListFiltersCommandError = async (output, context) => {
447
+ const parsedOutput = {
448
+ ...output,
449
+ body: await parseErrorBody(output.body, context)
450
+ };
451
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
452
+ switch (errorCode) {
453
+ case "ForbiddenException":
454
+ case "smithy.framework#ForbiddenException":
455
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
456
+ case "ValidationException":
457
+ case "smithy.framework#ValidationException":
458
+ throw await de_ValidationExceptionRes(parsedOutput, context);
459
+ default:
460
+ const parsedBody = parsedOutput.body;
461
+ return throwDefaultError({
462
+ output,
463
+ parsedBody,
464
+ errorCode
465
+ });
466
+ }
467
+ };
413
468
  export const de_ScheduleCallPostAnalysisCommand = async (output, context) => {
414
469
  if (output.statusCode !== 200 && output.statusCode >= 300) {
415
470
  return de_ScheduleCallPostAnalysisCommandError(output, context);
@@ -4,6 +4,7 @@ import { GetCallSummaryCommandInput, GetCallSummaryCommandOutput } from "./comma
4
4
  import { GetConferenceSummaryCommandInput, GetConferenceSummaryCommandOutput } from "./commands/GetConferenceSummaryCommand";
5
5
  import { GetConferenceTimeFramesCommandInput, GetConferenceTimeFramesCommandOutput } from "./commands/GetConferenceTimeFramesCommand";
6
6
  import { ListConversationsCommandInput, ListConversationsCommandOutput } from "./commands/ListConversationsCommand";
7
+ import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
7
8
  import { ScheduleCallPostAnalysisCommandInput, ScheduleCallPostAnalysisCommandOutput } from "./commands/ScheduleCallPostAnalysisCommand";
8
9
  import { ScheduleCallSummaryGenerationCommandInput, ScheduleCallSummaryGenerationCommandOutput } from "./commands/ScheduleCallSummaryGenerationCommand";
9
10
  import { ScheduleConferencePostAnalysisCommandInput, ScheduleConferencePostAnalysisCommandOutput } from "./commands/ScheduleConferencePostAnalysisCommand";
@@ -40,6 +41,12 @@ export interface WdaInsights {
40
41
  listConversations(args: ListConversationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConversationsCommandOutput>;
41
42
  listConversations(args: ListConversationsCommandInput, cb: (err: any, data?: ListConversationsCommandOutput) => void): void;
42
43
  listConversations(args: ListConversationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConversationsCommandOutput) => void): void;
44
+ /**
45
+ * @see {@link ListFiltersCommand}
46
+ */
47
+ listFilters(args: ListFiltersCommandInput, options?: __HttpHandlerOptions): Promise<ListFiltersCommandOutput>;
48
+ listFilters(args: ListFiltersCommandInput, cb: (err: any, data?: ListFiltersCommandOutput) => void): void;
49
+ listFilters(args: ListFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFiltersCommandOutput) => void): void;
43
50
  /**
44
51
  * @see {@link ScheduleCallPostAnalysisCommand}
45
52
  */
@@ -3,6 +3,7 @@ import { GetCallSummaryCommandInput, GetCallSummaryCommandOutput } from "./comma
3
3
  import { GetConferenceSummaryCommandInput, GetConferenceSummaryCommandOutput } from "./commands/GetConferenceSummaryCommand";
4
4
  import { GetConferenceTimeFramesCommandInput, GetConferenceTimeFramesCommandOutput } from "./commands/GetConferenceTimeFramesCommand";
5
5
  import { ListConversationsCommandInput, ListConversationsCommandOutput } from "./commands/ListConversationsCommand";
6
+ import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
6
7
  import { ScheduleCallPostAnalysisCommandInput, ScheduleCallPostAnalysisCommandOutput } from "./commands/ScheduleCallPostAnalysisCommand";
7
8
  import { ScheduleCallSummaryGenerationCommandInput, ScheduleCallSummaryGenerationCommandOutput } from "./commands/ScheduleCallSummaryGenerationCommand";
8
9
  import { ScheduleConferencePostAnalysisCommandInput, ScheduleConferencePostAnalysisCommandOutput } from "./commands/ScheduleConferencePostAnalysisCommand";
@@ -16,11 +17,11 @@ export { __Client };
16
17
  /**
17
18
  * @public
18
19
  */
19
- export type ServiceInputTypes = GetCallCharacteristicsCommandInput | GetCallSummaryCommandInput | GetConferenceSummaryCommandInput | GetConferenceTimeFramesCommandInput | ListConversationsCommandInput | ScheduleCallPostAnalysisCommandInput | ScheduleCallSummaryGenerationCommandInput | ScheduleConferencePostAnalysisCommandInput | ScheduleConferenceSummaryGenerationCommandInput;
20
+ export type ServiceInputTypes = GetCallCharacteristicsCommandInput | GetCallSummaryCommandInput | GetConferenceSummaryCommandInput | GetConferenceTimeFramesCommandInput | ListConversationsCommandInput | ListFiltersCommandInput | ScheduleCallPostAnalysisCommandInput | ScheduleCallSummaryGenerationCommandInput | ScheduleConferencePostAnalysisCommandInput | ScheduleConferenceSummaryGenerationCommandInput;
20
21
  /**
21
22
  * @public
22
23
  */
23
- export type ServiceOutputTypes = GetCallCharacteristicsCommandOutput | GetCallSummaryCommandOutput | GetConferenceSummaryCommandOutput | GetConferenceTimeFramesCommandOutput | ListConversationsCommandOutput | ScheduleCallPostAnalysisCommandOutput | ScheduleCallSummaryGenerationCommandOutput | ScheduleConferencePostAnalysisCommandOutput | ScheduleConferenceSummaryGenerationCommandOutput;
24
+ export type ServiceOutputTypes = GetCallCharacteristicsCommandOutput | GetCallSummaryCommandOutput | GetConferenceSummaryCommandOutput | GetConferenceTimeFramesCommandOutput | ListConversationsCommandOutput | ListFiltersCommandOutput | ScheduleCallPostAnalysisCommandOutput | ScheduleCallSummaryGenerationCommandOutput | ScheduleConferencePostAnalysisCommandOutput | ScheduleConferenceSummaryGenerationCommandOutput;
24
25
  /**
25
26
  * @public
26
27
  */
@@ -39,6 +39,20 @@ export interface ListConversationsCommandOutput extends ListConversationsOutput,
39
39
  * extension: "STRING_VALUE",
40
40
  * },
41
41
  * ],
42
+ * participantsToInclude: [
43
+ * {// Union: only one key present
44
+ * email: "STRING_VALUE",
45
+ * phone: "STRING_VALUE",
46
+ * extension: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * participantsToExclude: [
50
+ * {// Union: only one key present
51
+ * email: "STRING_VALUE",
52
+ * phone: "STRING_VALUE",
53
+ * extension: "STRING_VALUE",
54
+ * },
55
+ * ],
42
56
  * service: [ // ListConversationsFilterService
43
57
  * "STRING_VALUE",
44
58
  * ],
@@ -0,0 +1,81 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WdaInsightsClientResolvedConfig } from "../WdaInsightsClient";
2
+ import { ListFiltersInput, ListFiltersOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListFiltersCommand}.
13
+ */
14
+ export interface ListFiltersCommandInput extends ListFiltersInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListFiltersCommand}.
20
+ */
21
+ export interface ListFiltersCommandOutput extends ListFiltersOutput, __MetadataBearer {
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { WdaInsightsClient, ListFiltersCommand } from "@wildix/wda-insights-client"; // ES Modules import
30
+ * // const { WdaInsightsClient, ListFiltersCommand } = require("@wildix/wda-insights-client"); // CommonJS import
31
+ * const client = new WdaInsightsClient(config);
32
+ * const input = { // ListFiltersInput
33
+ * company: "STRING_VALUE",
34
+ * };
35
+ * const command = new ListFiltersCommand(input);
36
+ * const response = await client.send(command);
37
+ * // { // ListFiltersOutput
38
+ * // items: [ // ListFiltersItemsList // required
39
+ * // { // ListFiltersItem
40
+ * // id: "STRING_VALUE",
41
+ * // name: "STRING_VALUE",
42
+ * // body: "STRING_VALUE",
43
+ * // },
44
+ * // ],
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param ListFiltersCommandInput - {@link ListFiltersCommandInput}
50
+ * @returns {@link ListFiltersCommandOutput}
51
+ * @see {@link ListFiltersCommandInput} for command's `input` shape.
52
+ * @see {@link ListFiltersCommandOutput} for command's `response` shape.
53
+ * @see {@link WdaInsightsClientResolvedConfig | config} for WdaInsightsClient's `config` shape.
54
+ *
55
+ * @throws {@link ValidationException} (client fault)
56
+ *
57
+ * @throws {@link ForbiddenException} (client fault)
58
+ *
59
+ * @throws {@link WdaInsightsServiceException}
60
+ * <p>Base exception class for all service exceptions from WdaInsights service.</p>
61
+ *
62
+ */
63
+ export declare class ListFiltersCommand extends $Command<ListFiltersCommandInput, ListFiltersCommandOutput, WdaInsightsClientResolvedConfig> {
64
+ readonly input: ListFiltersCommandInput;
65
+ /**
66
+ * @public
67
+ */
68
+ constructor(input: ListFiltersCommandInput);
69
+ /**
70
+ * @internal
71
+ */
72
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WdaInsightsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListFiltersCommandInput, ListFiltersCommandOutput>;
73
+ /**
74
+ * @internal
75
+ */
76
+ private serialize;
77
+ /**
78
+ * @internal
79
+ */
80
+ private deserialize;
81
+ }
@@ -3,6 +3,7 @@ export * from "./GetCallSummaryCommand";
3
3
  export * from "./GetConferenceSummaryCommand";
4
4
  export * from "./GetConferenceTimeFramesCommand";
5
5
  export * from "./ListConversationsCommand";
6
+ export * from "./ListFiltersCommand";
6
7
  export * from "./ScheduleCallPostAnalysisCommand";
7
8
  export * from "./ScheduleCallSummaryGenerationCommand";
8
9
  export * from "./ScheduleConferencePostAnalysisCommand";
@@ -781,6 +781,8 @@ export declare namespace ListConversationsFilterParticipant {
781
781
  */
782
782
  export interface ListConversationsFilter {
783
783
  participants?: (ListConversationsFilterParticipant)[];
784
+ participantsToInclude?: (ListConversationsFilterParticipant)[];
785
+ participantsToExclude?: (ListConversationsFilterParticipant)[];
784
786
  service?: (string)[];
785
787
  phases?: (string)[];
786
788
  language?: (string)[];
@@ -887,6 +889,38 @@ export interface ListConversationsOutput {
887
889
  */
888
890
  lastEvaluatedKey?: string;
889
891
  }
892
+ /**
893
+ * @public
894
+ */
895
+ export interface ListFiltersInput {
896
+ company?: string;
897
+ }
898
+ /**
899
+ * @public
900
+ */
901
+ export interface ListFiltersItem {
902
+ /**
903
+ * @public
904
+ * A unique identifier for the filter.
905
+ */
906
+ id?: string;
907
+ /**
908
+ * @public
909
+ * The user-defined name of the filter.
910
+ */
911
+ name?: string;
912
+ /**
913
+ * @public
914
+ * A JSON payload that represents the filter's configuration.
915
+ */
916
+ body?: string;
917
+ }
918
+ /**
919
+ * @public
920
+ */
921
+ export interface ListFiltersOutput {
922
+ items: (ListFiltersItem)[];
923
+ }
890
924
  /**
891
925
  * @public
892
926
  */
@@ -3,6 +3,7 @@ import { GetCallSummaryCommandInput, GetCallSummaryCommandOutput } from "../comm
3
3
  import { GetConferenceSummaryCommandInput, GetConferenceSummaryCommandOutput } from "../commands/GetConferenceSummaryCommand";
4
4
  import { GetConferenceTimeFramesCommandInput, GetConferenceTimeFramesCommandOutput } from "../commands/GetConferenceTimeFramesCommand";
5
5
  import { ListConversationsCommandInput, ListConversationsCommandOutput } from "../commands/ListConversationsCommand";
6
+ import { ListFiltersCommandInput, ListFiltersCommandOutput } from "../commands/ListFiltersCommand";
6
7
  import { ScheduleCallPostAnalysisCommandInput, ScheduleCallPostAnalysisCommandOutput } from "../commands/ScheduleCallPostAnalysisCommand";
7
8
  import { ScheduleCallSummaryGenerationCommandInput, ScheduleCallSummaryGenerationCommandOutput } from "../commands/ScheduleCallSummaryGenerationCommand";
8
9
  import { ScheduleConferencePostAnalysisCommandInput, ScheduleConferencePostAnalysisCommandOutput } from "../commands/ScheduleConferencePostAnalysisCommand";
@@ -29,6 +30,10 @@ export declare const se_GetConferenceTimeFramesCommand: (input: GetConferenceTim
29
30
  * serializeAws_restJson1ListConversationsCommand
30
31
  */
31
32
  export declare const se_ListConversationsCommand: (input: ListConversationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * serializeAws_restJson1ListFiltersCommand
35
+ */
36
+ export declare const se_ListFiltersCommand: (input: ListFiltersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
37
  /**
33
38
  * serializeAws_restJson1ScheduleCallPostAnalysisCommand
34
39
  */
@@ -65,6 +70,10 @@ export declare const de_GetConferenceTimeFramesCommand: (output: __HttpResponse,
65
70
  * deserializeAws_restJson1ListConversationsCommand
66
71
  */
67
72
  export declare const de_ListConversationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListConversationsCommandOutput>;
73
+ /**
74
+ * deserializeAws_restJson1ListFiltersCommand
75
+ */
76
+ export declare const de_ListFiltersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFiltersCommandOutput>;
68
77
  /**
69
78
  * deserializeAws_restJson1ScheduleCallPostAnalysisCommand
70
79
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-insights-client",
3
3
  "description": "@wildix/wda-insights-client client",
4
- "version": "1.0.24",
4
+ "version": "1.0.26",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",