@wildix/wda-stream-client 1.0.57 → 1.0.58

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.
@@ -5,7 +5,7 @@ const WdaStreamClient_1 = require("./WdaStreamClient");
5
5
  const ConsumeEventCommand_1 = require("./commands/ConsumeEventCommand");
6
6
  const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
7
7
  const GetConferenceIdCommand_1 = require("./commands/GetConferenceIdCommand");
8
- const QueryConversationsCommand_1 = require("./commands/QueryConversationsCommand");
8
+ const GetConversationsCommand_1 = require("./commands/GetConversationsCommand");
9
9
  const QueryPresenceCommand_1 = require("./commands/QueryPresenceCommand");
10
10
  const QueryPresencesCommand_1 = require("./commands/QueryPresencesCommand");
11
11
  const UpdatePresenceLastSeenCommand_1 = require("./commands/UpdatePresenceLastSeenCommand");
@@ -14,7 +14,7 @@ const commands = {
14
14
  ConsumeEventCommand: ConsumeEventCommand_1.ConsumeEventCommand,
15
15
  DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
16
16
  GetConferenceIdCommand: GetConferenceIdCommand_1.GetConferenceIdCommand,
17
- QueryConversationsCommand: QueryConversationsCommand_1.QueryConversationsCommand,
17
+ GetConversationsCommand: GetConversationsCommand_1.GetConversationsCommand,
18
18
  QueryPresenceCommand: QueryPresenceCommand_1.QueryPresenceCommand,
19
19
  QueryPresencesCommand: QueryPresencesCommand_1.QueryPresencesCommand,
20
20
  UpdatePresenceLastSeenCommand: UpdatePresenceLastSeenCommand_1.UpdatePresenceLastSeenCommand,
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryConversationsCommand = exports.$Command = void 0;
3
+ exports.GetConversationsCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class QueryConversationsCommand extends smithy_client_1.Command.classBuilder()
8
+ class GetConversationsCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("WdaStream", "QueryConversations", {})
15
- .n("WdaStreamClient", "QueryConversationsCommand")
14
+ .s("WdaStream", "GetConversations", {})
15
+ .n("WdaStreamClient", "GetConversationsCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_QueryConversationsCommand)
18
- .de(Aws_restJson1_1.de_QueryConversationsCommand)
17
+ .ser(Aws_restJson1_1.se_GetConversationsCommand)
18
+ .de(Aws_restJson1_1.de_GetConversationsCommand)
19
19
  .build() {
20
20
  }
21
- exports.QueryConversationsCommand = QueryConversationsCommand;
21
+ exports.GetConversationsCommand = GetConversationsCommand;
@@ -4,7 +4,7 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./ConsumeEventCommand"), exports);
5
5
  tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
6
6
  tslib_1.__exportStar(require("./GetConferenceIdCommand"), exports);
7
- tslib_1.__exportStar(require("./QueryConversationsCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetConversationsCommand"), exports);
8
8
  tslib_1.__exportStar(require("./QueryPresenceCommand"), exports);
9
9
  tslib_1.__exportStar(require("./QueryPresencesCommand"), exports);
10
10
  tslib_1.__exportStar(require("./UpdatePresenceLastSeenCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_UpdatePresenceLastSeenCommand = exports.de_QueryPresencesCommand = exports.de_QueryPresenceCommand = exports.de_QueryConversationsCommand = exports.de_GetConferenceIdCommand = exports.de_DescribeEventCommand = exports.de_ConsumeEventCommand = exports.se_UpdatePresenceLastSeenCommand = exports.se_QueryPresencesCommand = exports.se_QueryPresenceCommand = exports.se_QueryConversationsCommand = exports.se_GetConferenceIdCommand = exports.se_DescribeEventCommand = exports.se_ConsumeEventCommand = void 0;
3
+ exports.de_UpdatePresenceLastSeenCommand = exports.de_QueryPresencesCommand = exports.de_QueryPresenceCommand = exports.de_GetConversationsCommand = exports.de_GetConferenceIdCommand = exports.de_DescribeEventCommand = exports.de_ConsumeEventCommand = exports.se_UpdatePresenceLastSeenCommand = exports.se_QueryPresencesCommand = exports.se_QueryPresenceCommand = exports.se_GetConversationsCommand = exports.se_GetConferenceIdCommand = exports.se_DescribeEventCommand = exports.se_ConsumeEventCommand = void 0;
4
4
  const WdaStreamServiceException_1 = require("../models/WdaStreamServiceException");
5
5
  const models_0_1 = require("../models/models_0");
6
6
  const core_1 = require("@aws-sdk/core");
@@ -60,26 +60,21 @@ const se_GetConferenceIdCommand = async (input, context) => {
60
60
  return b.build();
61
61
  };
62
62
  exports.se_GetConferenceIdCommand = se_GetConferenceIdCommand;
63
- const se_QueryConversationsCommand = async (input, context) => {
63
+ const se_GetConversationsCommand = async (input, context) => {
64
64
  const b = (0, core_2.requestBuilder)(input, context);
65
- const headers = {
66
- 'content-type': 'application/json',
67
- };
65
+ const headers = {};
68
66
  b.bp("/v2/stream/conversations");
69
67
  const query = (0, smithy_client_1.map)({
70
68
  [_c]: [, input[_c]],
71
69
  });
72
70
  let body;
73
- body = JSON.stringify((0, smithy_client_1.take)(input, {
74
- 'filter': _ => (0, smithy_client_1._json)(_),
75
- }));
76
- b.m("POST")
71
+ b.m("GET")
77
72
  .h(headers)
78
73
  .q(query)
79
74
  .b(body);
80
75
  return b.build();
81
76
  };
82
- exports.se_QueryConversationsCommand = se_QueryConversationsCommand;
77
+ exports.se_GetConversationsCommand = se_GetConversationsCommand;
83
78
  const se_QueryPresenceCommand = async (input, context) => {
84
79
  const b = (0, core_2.requestBuilder)(input, context);
85
80
  const headers = {
@@ -233,7 +228,7 @@ const de_GetConferenceIdCommand = async (output, context) => {
233
228
  return contents;
234
229
  };
235
230
  exports.de_GetConferenceIdCommand = de_GetConferenceIdCommand;
236
- const de_QueryConversationsCommand = async (output, context) => {
231
+ const de_GetConversationsCommand = async (output, context) => {
237
232
  if (output.statusCode !== 200 && output.statusCode >= 300) {
238
233
  return de_CommandError(output, context);
239
234
  }
@@ -249,7 +244,7 @@ const de_QueryConversationsCommand = async (output, context) => {
249
244
  Object.assign(contents, doc);
250
245
  return contents;
251
246
  };
252
- exports.de_QueryConversationsCommand = de_QueryConversationsCommand;
247
+ exports.de_GetConversationsCommand = de_GetConversationsCommand;
253
248
  const de_QueryPresenceCommand = async (output, context) => {
254
249
  if (output.statusCode !== 200 && output.statusCode >= 300) {
255
250
  return de_CommandError(output, context);
@@ -2,7 +2,7 @@ import { WdaStreamClient, } from "./WdaStreamClient";
2
2
  import { ConsumeEventCommand, } from "./commands/ConsumeEventCommand";
3
3
  import { DescribeEventCommand, } from "./commands/DescribeEventCommand";
4
4
  import { GetConferenceIdCommand, } from "./commands/GetConferenceIdCommand";
5
- import { QueryConversationsCommand, } from "./commands/QueryConversationsCommand";
5
+ import { GetConversationsCommand, } from "./commands/GetConversationsCommand";
6
6
  import { QueryPresenceCommand, } from "./commands/QueryPresenceCommand";
7
7
  import { QueryPresencesCommand, } from "./commands/QueryPresencesCommand";
8
8
  import { UpdatePresenceLastSeenCommand, } from "./commands/UpdatePresenceLastSeenCommand";
@@ -11,7 +11,7 @@ const commands = {
11
11
  ConsumeEventCommand,
12
12
  DescribeEventCommand,
13
13
  GetConferenceIdCommand,
14
- QueryConversationsCommand,
14
+ GetConversationsCommand,
15
15
  QueryPresenceCommand,
16
16
  QueryPresencesCommand,
17
17
  UpdatePresenceLastSeenCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetConversationsCommand, se_GetConversationsCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class GetConversationsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("WdaStream", "GetConversations", {})
12
+ .n("WdaStreamClient", "GetConversationsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetConversationsCommand)
15
+ .de(de_GetConversationsCommand)
16
+ .build() {
17
+ }
@@ -1,7 +1,7 @@
1
1
  export * from "./ConsumeEventCommand";
2
2
  export * from "./DescribeEventCommand";
3
3
  export * from "./GetConferenceIdCommand";
4
- export * from "./QueryConversationsCommand";
4
+ export * from "./GetConversationsCommand";
5
5
  export * from "./QueryPresenceCommand";
6
6
  export * from "./QueryPresencesCommand";
7
7
  export * from "./UpdatePresenceLastSeenCommand";
@@ -54,20 +54,15 @@ export const se_GetConferenceIdCommand = async (input, context) => {
54
54
  .b(body);
55
55
  return b.build();
56
56
  };
57
- export const se_QueryConversationsCommand = async (input, context) => {
57
+ export const se_GetConversationsCommand = async (input, context) => {
58
58
  const b = rb(input, context);
59
- const headers = {
60
- 'content-type': 'application/json',
61
- };
59
+ const headers = {};
62
60
  b.bp("/v2/stream/conversations");
63
61
  const query = map({
64
62
  [_c]: [, input[_c]],
65
63
  });
66
64
  let body;
67
- body = JSON.stringify(take(input, {
68
- 'filter': _ => _json(_),
69
- }));
70
- b.m("POST")
65
+ b.m("GET")
71
66
  .h(headers)
72
67
  .q(query)
73
68
  .b(body);
@@ -220,7 +215,7 @@ export const de_GetConferenceIdCommand = async (output, context) => {
220
215
  Object.assign(contents, doc);
221
216
  return contents;
222
217
  };
223
- export const de_QueryConversationsCommand = async (output, context) => {
218
+ export const de_GetConversationsCommand = async (output, context) => {
224
219
  if (output.statusCode !== 200 && output.statusCode >= 300) {
225
220
  return de_CommandError(output, context);
226
221
  }
@@ -2,7 +2,7 @@ import { WdaStreamClient } from "./WdaStreamClient";
2
2
  import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/ConsumeEventCommand";
3
3
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
4
4
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
5
- import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "./commands/QueryConversationsCommand";
5
+ import { GetConversationsCommandInput, GetConversationsCommandOutput } from "./commands/GetConversationsCommand";
6
6
  import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "./commands/QueryPresenceCommand";
7
7
  import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "./commands/QueryPresencesCommand";
8
8
  import { UpdatePresenceLastSeenCommandInput, UpdatePresenceLastSeenCommandOutput } from "./commands/UpdatePresenceLastSeenCommand";
@@ -28,12 +28,12 @@ export interface WdaStream {
28
28
  getConferenceId(args: GetConferenceIdCommandInput, cb: (err: any, data?: GetConferenceIdCommandOutput) => void): void;
29
29
  getConferenceId(args: GetConferenceIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConferenceIdCommandOutput) => void): void;
30
30
  /**
31
- * @see {@link QueryConversationsCommand}
31
+ * @see {@link GetConversationsCommand}
32
32
  */
33
- queryConversations(): Promise<QueryConversationsCommandOutput>;
34
- queryConversations(args: QueryConversationsCommandInput, options?: __HttpHandlerOptions): Promise<QueryConversationsCommandOutput>;
35
- queryConversations(args: QueryConversationsCommandInput, cb: (err: any, data?: QueryConversationsCommandOutput) => void): void;
36
- queryConversations(args: QueryConversationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryConversationsCommandOutput) => void): void;
33
+ getConversations(): Promise<GetConversationsCommandOutput>;
34
+ getConversations(args: GetConversationsCommandInput, options?: __HttpHandlerOptions): Promise<GetConversationsCommandOutput>;
35
+ getConversations(args: GetConversationsCommandInput, cb: (err: any, data?: GetConversationsCommandOutput) => void): void;
36
+ getConversations(args: GetConversationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConversationsCommandOutput) => void): void;
37
37
  /**
38
38
  * @see {@link QueryPresenceCommand}
39
39
  */
@@ -1,7 +1,7 @@
1
1
  import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/ConsumeEventCommand";
2
2
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
3
3
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
4
- import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "./commands/QueryConversationsCommand";
4
+ import { GetConversationsCommandInput, GetConversationsCommandOutput } from "./commands/GetConversationsCommand";
5
5
  import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "./commands/QueryPresenceCommand";
6
6
  import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "./commands/QueryPresencesCommand";
7
7
  import { UpdatePresenceLastSeenCommandInput, UpdatePresenceLastSeenCommandOutput } from "./commands/UpdatePresenceLastSeenCommand";
@@ -16,11 +16,11 @@ export { __Client };
16
16
  /**
17
17
  * @public
18
18
  */
19
- export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | QueryConversationsCommandInput | QueryPresenceCommandInput | QueryPresencesCommandInput | UpdatePresenceLastSeenCommandInput;
19
+ export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | GetConversationsCommandInput | QueryPresenceCommandInput | QueryPresencesCommandInput | UpdatePresenceLastSeenCommandInput;
20
20
  /**
21
21
  * @public
22
22
  */
23
- export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | QueryConversationsCommandOutput | QueryPresenceCommandOutput | QueryPresencesCommandOutput | UpdatePresenceLastSeenCommandOutput;
23
+ export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | GetConversationsCommandOutput | QueryPresenceCommandOutput | QueryPresencesCommandOutput | UpdatePresenceLastSeenCommandOutput;
24
24
  /**
25
25
  * @public
26
26
  */
@@ -602,6 +602,9 @@ declare const ConsumeEventCommand_base: {
602
602
  * from: "STRING_VALUE", // required
603
603
  * to: "STRING_VALUE", // required
604
604
  * message: "STRING_VALUE", // required
605
+ * media: [ // StringList
606
+ * "STRING_VALUE",
607
+ * ],
605
608
  * },
606
609
  * },
607
610
  * smsStatus: { // SmsStatusConsumeEvent
@@ -629,7 +632,7 @@ declare const ConsumeEventCommand_base: {
629
632
  * to: "STRING_VALUE", // required
630
633
  * id: "STRING_VALUE", // required
631
634
  * message: "STRING_VALUE", // required
632
- * media: [ // StringList
635
+ * media: [
633
636
  * "STRING_VALUE",
634
637
  * ],
635
638
  * },
@@ -46,6 +46,9 @@ declare const DescribeEventCommand_base: {
46
46
  * from: "STRING_VALUE", // required
47
47
  * to: "STRING_VALUE", // required
48
48
  * message: "STRING_VALUE", // required
49
+ * media: [ // StringList
50
+ * "STRING_VALUE",
51
+ * ],
49
52
  * },
50
53
  * },
51
54
  * SmsStatusEvent: { // SmsStatusEvent
@@ -73,7 +76,7 @@ declare const DescribeEventCommand_base: {
73
76
  * to: "STRING_VALUE", // required
74
77
  * id: "STRING_VALUE", // required
75
78
  * message: "STRING_VALUE", // required
76
- * media: [ // StringList
79
+ * media: [
77
80
  * "STRING_VALUE",
78
81
  * ],
79
82
  * },
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { QueryConversationsInput, QueryConversationsOutput } from "../models/models_0";
2
+ import { GetConversationsInput, GetConversationsOutput } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -10,20 +10,20 @@ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
13
- * The input for {@link QueryConversationsCommand}.
13
+ * The input for {@link GetConversationsCommand}.
14
14
  */
15
- export interface QueryConversationsCommandInput extends QueryConversationsInput {
15
+ export interface GetConversationsCommandInput extends GetConversationsInput {
16
16
  }
17
17
  /**
18
18
  * @public
19
19
  *
20
- * The output of {@link QueryConversationsCommand}.
20
+ * The output of {@link GetConversationsCommand}.
21
21
  */
22
- export interface QueryConversationsCommandOutput extends QueryConversationsOutput, __MetadataBearer {
22
+ export interface GetConversationsCommandOutput extends GetConversationsOutput, __MetadataBearer {
23
23
  }
24
- declare const QueryConversationsCommand_base: {
25
- new (input: QueryConversationsCommandInput): import("@smithy/smithy-client").CommandImpl<QueryConversationsCommandInput, QueryConversationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [QueryConversationsCommandInput]): import("@smithy/smithy-client").CommandImpl<QueryConversationsCommandInput, QueryConversationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
24
+ declare const GetConversationsCommand_base: {
25
+ new (input: GetConversationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetConversationsCommandInput, GetConversationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetConversationsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetConversationsCommandInput, GetConversationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -34,23 +34,16 @@ declare const QueryConversationsCommand_base: {
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
37
- * import { WdaStreamClient, QueryConversationsCommand } from "@wildix/wda-stream-client"; // ES Modules import
38
- * // const { WdaStreamClient, QueryConversationsCommand } = require("@wildix/wda-stream-client"); // CommonJS import
37
+ * import { WdaStreamClient, GetConversationsCommand } from "@wildix/wda-stream-client"; // ES Modules import
38
+ * // const { WdaStreamClient, GetConversationsCommand } = require("@wildix/wda-stream-client"); // CommonJS import
39
39
  * const client = new WdaStreamClient(config);
40
- * const input = { // QueryConversationsInput
40
+ * const input = { // GetConversationsInput
41
41
  * company: "STRING_VALUE",
42
- * filter: [ // PresenceQueryFilterList
43
- * { // PresenceQueryFilter
44
- * id: "STRING_VALUE",
45
- * company: "STRING_VALUE",
46
- * extension: "STRING_VALUE",
47
- * },
48
- * ],
49
42
  * };
50
- * const command = new QueryConversationsCommand(input);
43
+ * const command = new GetConversationsCommand(input);
51
44
  * const response = await client.send(command);
52
- * // { // QueryConversationsOutput
53
- * // calls: [ // QueryConversationsCallsList // required
45
+ * // { // GetConversationsOutput
46
+ * // calls: [ // GetConversationsCallsList // required
54
47
  * // { // CallAnalyticsLiveProgressEvent
55
48
  * // id: "STRING_VALUE", // required
56
49
  * // pbx: "STRING_VALUE", // required
@@ -226,7 +219,7 @@ declare const QueryConversationsCommand_base: {
226
219
  * // ],
227
220
  * // },
228
221
  * // ],
229
- * // conferences: [ // QueryConversationsConferencesList // required
222
+ * // conferences: [ // GetConversationsConferencesList // required
230
223
  * // { // ConferenceAnalyticsLiveProgressEvent
231
224
  * // id: "STRING_VALUE", // required
232
225
  * // time: Number("long"), // required
@@ -255,7 +248,7 @@ declare const QueryConversationsCommand_base: {
255
248
  * // transcriptionLanguage: "STRING_VALUE",
256
249
  * // },
257
250
  * // ],
258
- * // chats: [ // QueryConversationsChatsList // required
251
+ * // chats: [ // GetConversationsChatsList // required
259
252
  * // { // ChatAnalyticsLiveProgressEvent
260
253
  * // id: "STRING_VALUE", // required
261
254
  * // time: Number("long"), // required
@@ -342,10 +335,10 @@ declare const QueryConversationsCommand_base: {
342
335
  *
343
336
  * ```
344
337
  *
345
- * @param QueryConversationsCommandInput - {@link QueryConversationsCommandInput}
346
- * @returns {@link QueryConversationsCommandOutput}
347
- * @see {@link QueryConversationsCommandInput} for command's `input` shape.
348
- * @see {@link QueryConversationsCommandOutput} for command's `response` shape.
338
+ * @param GetConversationsCommandInput - {@link GetConversationsCommandInput}
339
+ * @returns {@link GetConversationsCommandOutput}
340
+ * @see {@link GetConversationsCommandInput} for command's `input` shape.
341
+ * @see {@link GetConversationsCommandOutput} for command's `response` shape.
349
342
  * @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
350
343
  *
351
344
  * @throws {@link ForbiddenException} (client fault)
@@ -358,16 +351,16 @@ declare const QueryConversationsCommand_base: {
358
351
  *
359
352
  * @public
360
353
  */
361
- export declare class QueryConversationsCommand extends QueryConversationsCommand_base {
354
+ export declare class GetConversationsCommand extends GetConversationsCommand_base {
362
355
  /** @internal type navigation helper, not in runtime. */
363
356
  protected static __types: {
364
357
  api: {
365
- input: QueryConversationsInput;
366
- output: QueryConversationsOutput;
358
+ input: GetConversationsInput;
359
+ output: GetConversationsOutput;
367
360
  };
368
361
  sdk: {
369
- input: QueryConversationsCommandInput;
370
- output: QueryConversationsCommandOutput;
362
+ input: GetConversationsCommandInput;
363
+ output: GetConversationsCommandOutput;
371
364
  };
372
365
  };
373
366
  }
@@ -1,7 +1,7 @@
1
1
  export * from "./ConsumeEventCommand";
2
2
  export * from "./DescribeEventCommand";
3
3
  export * from "./GetConferenceIdCommand";
4
- export * from "./QueryConversationsCommand";
4
+ export * from "./GetConversationsCommand";
5
5
  export * from "./QueryPresenceCommand";
6
6
  export * from "./QueryPresencesCommand";
7
7
  export * from "./UpdatePresenceLastSeenCommand";
@@ -2157,6 +2157,7 @@ export interface SmsInboundConsumeEventData {
2157
2157
  from: string;
2158
2158
  to: string;
2159
2159
  message: string;
2160
+ media?: (string)[] | undefined;
2160
2161
  }
2161
2162
  /**
2162
2163
  * @public
@@ -4187,6 +4188,20 @@ export declare class MatchNotFoundException extends __BaseException {
4187
4188
  */
4188
4189
  constructor(opts: __ExceptionOptionType<MatchNotFoundException, __BaseException>);
4189
4190
  }
4191
+ /**
4192
+ * @public
4193
+ */
4194
+ export interface GetConversationsInput {
4195
+ company?: string | undefined;
4196
+ }
4197
+ /**
4198
+ * @public
4199
+ */
4200
+ export interface GetConversationsOutput {
4201
+ calls: (CallAnalyticsLiveProgressEvent)[];
4202
+ conferences: (ConferenceAnalyticsLiveProgressEvent)[];
4203
+ chats: (ChatAnalyticsLiveProgressEvent)[];
4204
+ }
4190
4205
  /**
4191
4206
  * @public
4192
4207
  * @enum
@@ -4308,25 +4323,6 @@ export interface PresenceQueryFilter {
4308
4323
  */
4309
4324
  extension?: string | undefined;
4310
4325
  }
4311
- /**
4312
- * @public
4313
- */
4314
- export interface QueryConversationsInput {
4315
- company?: string | undefined;
4316
- /**
4317
- * List of filters to match the user conversations list.
4318
- * @public
4319
- */
4320
- filter?: (PresenceQueryFilter)[] | undefined;
4321
- }
4322
- /**
4323
- * @public
4324
- */
4325
- export interface QueryConversationsOutput {
4326
- calls: (CallAnalyticsLiveProgressEvent)[];
4327
- conferences: (ConferenceAnalyticsLiveProgressEvent)[];
4328
- chats: (ChatAnalyticsLiveProgressEvent)[];
4329
- }
4330
4326
  /**
4331
4327
  * @public
4332
4328
  */
@@ -1,7 +1,7 @@
1
1
  import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "../commands/ConsumeEventCommand";
2
2
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
3
3
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "../commands/GetConferenceIdCommand";
4
- import { QueryConversationsCommandInput, QueryConversationsCommandOutput } from "../commands/QueryConversationsCommand";
4
+ import { GetConversationsCommandInput, GetConversationsCommandOutput } from "../commands/GetConversationsCommand";
5
5
  import { QueryPresenceCommandInput, QueryPresenceCommandOutput } from "../commands/QueryPresenceCommand";
6
6
  import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "../commands/QueryPresencesCommand";
7
7
  import { UpdatePresenceLastSeenCommandInput, UpdatePresenceLastSeenCommandOutput } from "../commands/UpdatePresenceLastSeenCommand";
@@ -20,9 +20,9 @@ export declare const se_DescribeEventCommand: (input: DescribeEventCommandInput,
20
20
  */
21
21
  export declare const se_GetConferenceIdCommand: (input: GetConferenceIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
22
  /**
23
- * serializeAws_restJson1QueryConversationsCommand
23
+ * serializeAws_restJson1GetConversationsCommand
24
24
  */
25
- export declare const se_QueryConversationsCommand: (input: QueryConversationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
+ export declare const se_GetConversationsCommand: (input: GetConversationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
26
  /**
27
27
  * serializeAws_restJson1QueryPresenceCommand
28
28
  */
@@ -48,9 +48,9 @@ export declare const de_DescribeEventCommand: (output: __HttpResponse, context:
48
48
  */
49
49
  export declare const de_GetConferenceIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConferenceIdCommandOutput>;
50
50
  /**
51
- * deserializeAws_restJson1QueryConversationsCommand
51
+ * deserializeAws_restJson1GetConversationsCommand
52
52
  */
53
- export declare const de_QueryConversationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryConversationsCommandOutput>;
53
+ export declare const de_GetConversationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConversationsCommandOutput>;
54
54
  /**
55
55
  * deserializeAws_restJson1QueryPresenceCommand
56
56
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-stream-client",
3
3
  "description": "@wildix/wda-stream-client client",
4
- "version": "1.0.57",
4
+ "version": "1.0.58",
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",
@@ -1,17 +0,0 @@
1
- import { de_QueryConversationsCommand, se_QueryConversationsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class QueryConversationsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WdaStream", "QueryConversations", {})
12
- .n("WdaStreamClient", "QueryConversationsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_QueryConversationsCommand)
15
- .de(de_QueryConversationsCommand)
16
- .build() {
17
- }