@wildix/wda-stream-client 1.1.41 → 1.1.44

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.
@@ -0,0 +1,87 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
+ import { ListServicesInput, ListServicesOutput } from "../models/models_1";
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 ListServicesCommand}.
14
+ */
15
+ export interface ListServicesCommandInput extends ListServicesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListServicesCommand}.
21
+ */
22
+ export interface ListServicesCommandOutput extends ListServicesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListServicesCommand_base: {
25
+ new (input: ListServicesCommandInput): import("@smithy/smithy-client").CommandImpl<ListServicesCommandInput, ListServicesCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListServicesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListServicesCommandInput, ListServicesCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Retrieves a list of active services of the company.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WdaStreamClient, ListServicesCommand } from "@wildix/wda-stream-client"; // ES Modules import
35
+ * // const { WdaStreamClient, ListServicesCommand } = require("@wildix/wda-stream-client"); // CommonJS import
36
+ * const client = new WdaStreamClient(config);
37
+ * const input = { // ListServicesInput
38
+ * company: "STRING_VALUE",
39
+ * filter: [ // ListServicesFilterList
40
+ * { // ListServicesFilter
41
+ * pbx: "STRING_VALUE",
42
+ * },
43
+ * ],
44
+ * };
45
+ * const command = new ListServicesCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListServicesOutput
48
+ * // services: [ // ServiceList // required
49
+ * // { // ServiceInfo
50
+ * // id: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // pbx: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListServicesCommandInput - {@link ListServicesCommandInput}
60
+ * @returns {@link ListServicesCommandOutput}
61
+ * @see {@link ListServicesCommandInput} for command's `input` shape.
62
+ * @see {@link ListServicesCommandOutput} for command's `response` shape.
63
+ * @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
64
+ *
65
+ * @throws {@link ForbiddenException} (client fault)
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ *
69
+ * @throws {@link WdaStreamServiceException}
70
+ * <p>Base exception class for all service exceptions from WdaStream service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class ListServicesCommand extends ListServicesCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: ListServicesInput;
80
+ output: ListServicesOutput;
81
+ };
82
+ sdk: {
83
+ input: ListServicesCommandInput;
84
+ output: ListServicesCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { QueryConversationsInput, QueryConversationsOutput } from "../models/models_0";
2
+ import { QueryConversationsInput, QueryConversationsOutput } from "../models/models_1";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -56,7 +56,7 @@ declare const QueryConversationsCommand_base: {
56
56
  * // licenses: [ // LicensesList // required
57
57
  * // "x-bees" || "uc",
58
58
  * // ],
59
- * // event: "chat" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
59
+ * // event: "chat" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_call" || "service_call_complete", // required
60
60
  * // eventTrigger: "call.start" || "call.update" || "call.split" || "call.agents_start" || "call.agents_cancel" || "call.record_start" || "call.record_stop" || "call.transcription" || "call.attachment", // required
61
61
  * // start: "STRING_VALUE", // required
62
62
  * // flows: [ // CallAnalyticsLiveProgressEventFlowList // required
@@ -243,7 +243,7 @@ declare const QueryConversationsCommand_base: {
243
243
  * // id: "STRING_VALUE", // required
244
244
  * // time: Number("long"), // required
245
245
  * // company: "STRING_VALUE", // required
246
- * // event: "chat" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
246
+ * // event: "chat" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_call" || "service_call_complete", // required
247
247
  * // start: "STRING_VALUE", // required
248
248
  * // subject: "STRING_VALUE", // required
249
249
  * // participants: [ // ConferenceParticipantsList // required
@@ -276,7 +276,7 @@ declare const QueryConversationsCommand_base: {
276
276
  * // chatId: "STRING_VALUE",
277
277
  * // time: Number("long"), // required
278
278
  * // company: "STRING_VALUE", // required
279
- * // event: "chat" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
279
+ * // event: "chat" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_call" || "service_call_complete", // required
280
280
  * // start: "STRING_VALUE", // required
281
281
  * // channelId: "STRING_VALUE", // required
282
282
  * // channelType: "direct" || "group", // required
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { QueryPresenceInput, QueryPresenceOutput } from "../models/models_0";
2
+ import { QueryPresenceInput, QueryPresenceOutput } from "../models/models_1";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { QueryPresencesInput, QueryPresencesOutput } from "../models/models_0";
2
+ import { QueryPresencesInput, QueryPresencesOutput } from "../models/models_1";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { UpdatePresenceLastSeenInput, UpdatePresenceLastSeenOutput } from "../models/models_0";
2
+ import { UpdatePresenceLastSeenInput, UpdatePresenceLastSeenOutput } from "../models/models_1";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -2,6 +2,7 @@ export * from "./ConsumeEventCommand";
2
2
  export * from "./DescribeEventCommand";
3
3
  export * from "./GetConferenceIdCommand";
4
4
  export * from "./GetOngoingCallCommand";
5
+ export * from "./ListServicesCommand";
5
6
  export * from "./QueryConversationsCommand";
6
7
  export * from "./QueryPresenceCommand";
7
8
  export * from "./QueryPresencesCommand";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";