@wildix/wda-stream-client 1.1.47 → 1.1.49

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 (34) hide show
  1. package/dist-cjs/WdaStream.js +2 -0
  2. package/dist-cjs/commands/ListServicesCommand.js +21 -0
  3. package/dist-cjs/commands/index.js +1 -0
  4. package/dist-cjs/models/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +77 -41
  6. package/dist-cjs/models/models_1.js +44 -0
  7. package/dist-cjs/protocols/Aws_restJson1.js +146 -8
  8. package/dist-es/WdaStream.js +2 -0
  9. package/dist-es/commands/ListServicesCommand.js +17 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/models/index.js +1 -0
  12. package/dist-es/models/models_0.js +76 -38
  13. package/dist-es/models/models_1.js +39 -0
  14. package/dist-es/protocols/Aws_restJson1.js +142 -6
  15. package/dist-types/WdaStream.d.ts +8 -0
  16. package/dist-types/WdaStreamClient.d.ts +3 -2
  17. package/dist-types/commands/ConsumeEventCommand.d.ts +203 -12
  18. package/dist-types/commands/DescribeEventCommand.d.ts +411 -117
  19. package/dist-types/commands/GetConferenceIdCommand.d.ts +1 -1
  20. package/dist-types/commands/GetOngoingCallCommand.d.ts +3 -1
  21. package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +3 -2
  22. package/dist-types/commands/GetOngoingConferenceCommand.d.ts +2 -2
  23. package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +3 -3
  24. package/dist-types/commands/ListServicesCommand.d.ts +87 -0
  25. package/dist-types/commands/QueryConversationsCommand.d.ts +5 -5
  26. package/dist-types/commands/QueryPresenceCommand.d.ts +1 -1
  27. package/dist-types/commands/QueryPresencesCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdatePresenceLastSeenCommand.d.ts +1 -1
  29. package/dist-types/commands/index.d.ts +1 -0
  30. package/dist-types/models/index.d.ts +1 -0
  31. package/dist-types/models/models_0.d.ts +1355 -423
  32. package/dist-types/models/models_1.d.ts +471 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  34. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { GetConferenceIdInput, GetConferenceIdOutput } from "../models/models_0";
2
+ import { GetConferenceIdInput, GetConferenceIdOutput } 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 { GetOngoingCallInput, GetOngoingCallOutput } from "../models/models_0";
2
+ import { GetOngoingCallInput, GetOngoingCallOutput } 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
  /**
@@ -230,6 +230,8 @@ declare const GetOngoingCallCommand_base: {
230
230
  *
231
231
  * @throws {@link MatchNotFoundException} (client fault)
232
232
  *
233
+ * @throws {@link ForbiddenException} (client fault)
234
+ *
233
235
  * @throws {@link WdaStreamServiceException}
234
236
  * <p>Base exception class for all service exceptions from WdaStream service.</p>
235
237
  *
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { GetOngoingCallTranscriptionInput, GetOngoingCallTranscriptionOutput } from "../models/models_0";
2
+ import { GetOngoingCallTranscriptionInput, GetOngoingCallTranscriptionOutput } 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
  /**
@@ -225,7 +225,7 @@ declare const GetOngoingCallTranscriptionCommand_base: {
225
225
  * // licenses: [ // LicensesList // required
226
226
  * // "x-bees" || "uc",
227
227
  * // ],
228
- * // 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
228
+ * // 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
229
229
  * // flowIndex: Number("int"), // required
230
230
  * // flowStartTime: Number("long"), // required
231
231
  * // callStartTime: Number("long"), // required
@@ -238,6 +238,7 @@ declare const GetOngoingCallTranscriptionCommand_base: {
238
238
  * // isFinal: true || false, // required
239
239
  * // start: Number("long"), // required
240
240
  * // end: Number("long"), // required
241
+ * // confidence: Number("double"),
241
242
  * // sentiment: "STRING_VALUE",
242
243
  * // },
243
244
  * // participant: {
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { GetOngoingConferenceInput, GetOngoingConferenceOutput } from "../models/models_0";
2
+ import { GetOngoingConferenceInput, GetOngoingConferenceOutput } 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
  /**
@@ -45,7 +45,7 @@ declare const GetOngoingConferenceCommand_base: {
45
45
  * // id: "STRING_VALUE", // required
46
46
  * // time: Number("long"), // required
47
47
  * // company: "STRING_VALUE", // required
48
- * // 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
48
+ * // 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
49
49
  * // start: "STRING_VALUE", // required
50
50
  * // subject: "STRING_VALUE", // required
51
51
  * // participants: [ // ConferenceParticipantsList // required
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { GetOngoingConferenceTranscriptionInput, GetOngoingConferenceTranscriptionOutput } from "../models/models_0";
2
+ import { GetOngoingConferenceTranscriptionInput, GetOngoingConferenceTranscriptionOutput } 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
  /**
@@ -45,7 +45,7 @@ declare const GetOngoingConferenceTranscriptionCommand_base: {
45
45
  * // id: "STRING_VALUE", // required
46
46
  * // time: Number("long"), // required
47
47
  * // company: "STRING_VALUE", // required
48
- * // 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
48
+ * // 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
49
49
  * // start: "STRING_VALUE", // required
50
50
  * // subject: "STRING_VALUE", // required
51
51
  * // participants: [ // ConferenceParticipantsList // required
@@ -76,7 +76,7 @@ declare const GetOngoingConferenceTranscriptionCommand_base: {
76
76
  * // id: "STRING_VALUE", // required
77
77
  * // time: Number("long"), // required
78
78
  * // company: "STRING_VALUE", // required
79
- * // 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
79
+ * // 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
80
80
  * // conferenceStartTime: Number("long"), // required
81
81
  * // transcriptionStartTime: Number("long"), // required
82
82
  * // chunk: { // ConferenceTranscriptionChunk
@@ -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,8 +56,8 @@ 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
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
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
+ * // eventTrigger: "call.start" || "call.update" || "call.split" || "call.agents_start" || "call.agents_cancel" || "call.record_start" || "call.record_stop" || "call.record_pause" || "call.record_unpause" || "call.transcription" || "call.attachment", // required
61
61
  * // start: "STRING_VALUE", // required
62
62
  * // flows: [ // CallAnalyticsLiveProgressEventFlowList // required
63
63
  * // { // CallAnalyticsLiveProgressEventFlow
@@ -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
  /**
@@ -5,6 +5,7 @@ export * from "./GetOngoingCallCommand";
5
5
  export * from "./GetOngoingCallTranscriptionCommand";
6
6
  export * from "./GetOngoingConferenceCommand";
7
7
  export * from "./GetOngoingConferenceTranscriptionCommand";
8
+ export * from "./ListServicesCommand";
8
9
  export * from "./QueryConversationsCommand";
9
10
  export * from "./QueryPresenceCommand";
10
11
  export * from "./QueryPresencesCommand";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";