@wildix/wda-history-client 1.2.22 → 1.2.24

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 (35) hide show
  1. package/dist-cjs/WdaHistory.js +0 -6
  2. package/dist-cjs/commands/index.js +0 -3
  3. package/dist-cjs/models/models_0.js +13 -80
  4. package/dist-cjs/protocols/Aws_restJson1.js +1 -222
  5. package/dist-es/WdaHistory.js +0 -6
  6. package/dist-es/commands/index.js +0 -3
  7. package/dist-es/models/models_0.js +12 -75
  8. package/dist-es/protocols/Aws_restJson1.js +2 -217
  9. package/dist-types/WdaHistory.d.ts +0 -21
  10. package/dist-types/WdaHistoryClient.d.ts +2 -5
  11. package/dist-types/commands/GetCallCommand.d.ts +2 -2
  12. package/dist-types/commands/GetCallTranscriptionCommand.d.ts +1 -1
  13. package/dist-types/commands/GetChatCommand.d.ts +1 -2
  14. package/dist-types/commands/GetChatTranscriptionCommand.d.ts +1 -1
  15. package/dist-types/commands/GetConferenceCommand.d.ts +1 -2
  16. package/dist-types/commands/GetConferenceTranscriptionCommand.d.ts +1 -1
  17. package/dist-types/commands/QueryConversationsCommand.d.ts +3 -4
  18. package/dist-types/commands/QueryUserCallsCommand.d.ts +2 -2
  19. package/dist-types/commands/UpdateCallCommand.d.ts +2 -2
  20. package/dist-types/commands/index.d.ts +0 -3
  21. package/dist-types/models/models_0.d.ts +33 -289
  22. package/dist-types/protocols/Aws_restJson1.d.ts +0 -27
  23. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  24. package/dist-types/runtimeConfig.d.ts +1 -1
  25. package/dist-types/runtimeConfig.native.d.ts +1 -1
  26. package/package.json +1 -1
  27. package/dist-cjs/commands/GetCallAnnotationsCommand.js +0 -21
  28. package/dist-cjs/commands/GetChatAnnotationsCommand.js +0 -21
  29. package/dist-cjs/commands/GetConferenceAnnotationsCommand.js +0 -21
  30. package/dist-es/commands/GetCallAnnotationsCommand.js +0 -17
  31. package/dist-es/commands/GetChatAnnotationsCommand.js +0 -17
  32. package/dist-es/commands/GetConferenceAnnotationsCommand.js +0 -17
  33. package/dist-types/commands/GetCallAnnotationsCommand.d.ts +0 -115
  34. package/dist-types/commands/GetChatAnnotationsCommand.d.ts +0 -108
  35. package/dist-types/commands/GetConferenceAnnotationsCommand.d.ts +0 -107
@@ -1,17 +0,0 @@
1
- import { de_GetChatAnnotationsCommand, se_GetChatAnnotationsCommand, } 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 GetChatAnnotationsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WdaHistory", "GetChatAnnotations", {})
12
- .n("WdaHistoryClient", "GetChatAnnotationsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_GetChatAnnotationsCommand)
15
- .de(de_GetChatAnnotationsCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_GetConferenceAnnotationsCommand, se_GetConferenceAnnotationsCommand, } 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 GetConferenceAnnotationsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WdaHistory", "GetConferenceAnnotations", {})
12
- .n("WdaHistoryClient", "GetConferenceAnnotationsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_GetConferenceAnnotationsCommand)
15
- .de(de_GetConferenceAnnotationsCommand)
16
- .build() {
17
- }
@@ -1,115 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WdaHistoryClientResolvedConfig } from "../WdaHistoryClient";
2
- import { GetCallAnnotationsInput, GetCallAnnotationsOutput } 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 GetCallAnnotationsCommand}.
14
- */
15
- export interface GetCallAnnotationsCommandInput extends GetCallAnnotationsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetCallAnnotationsCommand}.
21
- */
22
- export interface GetCallAnnotationsCommandOutput extends GetCallAnnotationsOutput, __MetadataBearer {
23
- }
24
- declare const GetCallAnnotationsCommand_base: {
25
- new (input: GetCallAnnotationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCallAnnotationsCommandInput, GetCallAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetCallAnnotationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCallAnnotationsCommandInput, GetCallAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Gets annotations for a call by callId and flowIndex.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WdaHistoryClient, GetCallAnnotationsCommand } from "@wildix/wda-history-client"; // ES Modules import
35
- * // const { WdaHistoryClient, GetCallAnnotationsCommand } = require("@wildix/wda-history-client"); // CommonJS import
36
- * const client = new WdaHistoryClient(config);
37
- * const input = { // GetCallAnnotationsInput
38
- * company: "STRING_VALUE",
39
- * callId: "STRING_VALUE", // required
40
- * flowIndex: Number("int"), // required
41
- * };
42
- * const command = new GetCallAnnotationsCommand(input);
43
- * const response = await client.send(command);
44
- * // { // GetCallAnnotationsOutput
45
- * // annotations: { // CallAnnotationsRecord
46
- * // id: "STRING_VALUE", // required
47
- * // pbx: "STRING_VALUE", // required
48
- * // time: Number("long"), // required
49
- * // company: "STRING_VALUE", // required
50
- * // licenses: [ // LicensesList // required
51
- * // "x-bees" || "uc",
52
- * // ],
53
- * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
54
- * // flowIndex: Number("int"), // required
55
- * // flowStartTime: Number("long"), // required
56
- * // callStartTime: Number("long"), // required
57
- * // annotations: [ // Annotations // required
58
- * // { // Annotation
59
- * // id: "STRING_VALUE", // required
60
- * // time: Number("long"), // required
61
- * // payload: { // AnnotationPayload Union: only one key present
62
- * // tag: "STRING_VALUE",
63
- * // text: "STRING_VALUE",
64
- * // variables: { // AnnotationVariablesValue
65
- * // value: "DOCUMENT_VALUE", // required
66
- * // },
67
- * // result: { // AnnotationResultValue
68
- * // value: "DOCUMENT_VALUE", // required
69
- * // },
70
- * // },
71
- * // source: { // AnnotationSource
72
- * // type: "chatbot" || "voicebot" || "user" || "system", // required
73
- * // id: "STRING_VALUE",
74
- * // name: "STRING_VALUE",
75
- * // },
76
- * // },
77
- * // ],
78
- * // },
79
- * // };
80
- *
81
- * ```
82
- *
83
- * @param GetCallAnnotationsCommandInput - {@link GetCallAnnotationsCommandInput}
84
- * @returns {@link GetCallAnnotationsCommandOutput}
85
- * @see {@link GetCallAnnotationsCommandInput} for command's `input` shape.
86
- * @see {@link GetCallAnnotationsCommandOutput} for command's `response` shape.
87
- * @see {@link WdaHistoryClientResolvedConfig | config} for WdaHistoryClient's `config` shape.
88
- *
89
- * @throws {@link ValidationException} (client fault)
90
- *
91
- * @throws {@link ForbiddenException} (client fault)
92
- *
93
- * @throws {@link CallNotFoundException} (client fault)
94
- *
95
- * @throws {@link CallAnnotationsNotFoundException} (client fault)
96
- *
97
- * @throws {@link WdaHistoryServiceException}
98
- * <p>Base exception class for all service exceptions from WdaHistory service.</p>
99
- *
100
- *
101
- * @public
102
- */
103
- export declare class GetCallAnnotationsCommand extends GetCallAnnotationsCommand_base {
104
- /** @internal type navigation helper, not in runtime. */
105
- protected static __types: {
106
- api: {
107
- input: GetCallAnnotationsInput;
108
- output: GetCallAnnotationsOutput;
109
- };
110
- sdk: {
111
- input: GetCallAnnotationsCommandInput;
112
- output: GetCallAnnotationsCommandOutput;
113
- };
114
- };
115
- }
@@ -1,108 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WdaHistoryClientResolvedConfig } from "../WdaHistoryClient";
2
- import { GetChatAnnotationsInput, GetChatAnnotationsOutput } 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 GetChatAnnotationsCommand}.
14
- */
15
- export interface GetChatAnnotationsCommandInput extends GetChatAnnotationsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetChatAnnotationsCommand}.
21
- */
22
- export interface GetChatAnnotationsCommandOutput extends GetChatAnnotationsOutput, __MetadataBearer {
23
- }
24
- declare const GetChatAnnotationsCommand_base: {
25
- new (input: GetChatAnnotationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetChatAnnotationsCommandInput, GetChatAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetChatAnnotationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetChatAnnotationsCommandInput, GetChatAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Gets annotations for a chat by chatId.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WdaHistoryClient, GetChatAnnotationsCommand } from "@wildix/wda-history-client"; // ES Modules import
35
- * // const { WdaHistoryClient, GetChatAnnotationsCommand } = require("@wildix/wda-history-client"); // CommonJS import
36
- * const client = new WdaHistoryClient(config);
37
- * const input = { // GetChatAnnotationsInput
38
- * company: "STRING_VALUE",
39
- * chatId: "STRING_VALUE", // required
40
- * };
41
- * const command = new GetChatAnnotationsCommand(input);
42
- * const response = await client.send(command);
43
- * // { // GetChatAnnotationsOutput
44
- * // annotations: { // ChatAnnotationsRecord
45
- * // id: "STRING_VALUE",
46
- * // chatId: "STRING_VALUE",
47
- * // time: Number("long"), // required
48
- * // company: "STRING_VALUE", // required
49
- * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
50
- * // annotations: [ // Annotations // required
51
- * // { // Annotation
52
- * // id: "STRING_VALUE", // required
53
- * // time: Number("long"), // required
54
- * // payload: { // AnnotationPayload Union: only one key present
55
- * // tag: "STRING_VALUE",
56
- * // text: "STRING_VALUE",
57
- * // variables: { // AnnotationVariablesValue
58
- * // value: "DOCUMENT_VALUE", // required
59
- * // },
60
- * // result: { // AnnotationResultValue
61
- * // value: "DOCUMENT_VALUE", // required
62
- * // },
63
- * // },
64
- * // source: { // AnnotationSource
65
- * // type: "chatbot" || "voicebot" || "user" || "system", // required
66
- * // id: "STRING_VALUE",
67
- * // name: "STRING_VALUE",
68
- * // },
69
- * // },
70
- * // ],
71
- * // },
72
- * // };
73
- *
74
- * ```
75
- *
76
- * @param GetChatAnnotationsCommandInput - {@link GetChatAnnotationsCommandInput}
77
- * @returns {@link GetChatAnnotationsCommandOutput}
78
- * @see {@link GetChatAnnotationsCommandInput} for command's `input` shape.
79
- * @see {@link GetChatAnnotationsCommandOutput} for command's `response` shape.
80
- * @see {@link WdaHistoryClientResolvedConfig | config} for WdaHistoryClient's `config` shape.
81
- *
82
- * @throws {@link ValidationException} (client fault)
83
- *
84
- * @throws {@link ForbiddenException} (client fault)
85
- *
86
- * @throws {@link ChatNotFoundException} (client fault)
87
- *
88
- * @throws {@link ChatAnnotationsNotFoundException} (client fault)
89
- *
90
- * @throws {@link WdaHistoryServiceException}
91
- * <p>Base exception class for all service exceptions from WdaHistory service.</p>
92
- *
93
- *
94
- * @public
95
- */
96
- export declare class GetChatAnnotationsCommand extends GetChatAnnotationsCommand_base {
97
- /** @internal type navigation helper, not in runtime. */
98
- protected static __types: {
99
- api: {
100
- input: GetChatAnnotationsInput;
101
- output: GetChatAnnotationsOutput;
102
- };
103
- sdk: {
104
- input: GetChatAnnotationsCommandInput;
105
- output: GetChatAnnotationsCommandOutput;
106
- };
107
- };
108
- }
@@ -1,107 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WdaHistoryClientResolvedConfig } from "../WdaHistoryClient";
2
- import { GetConferenceAnnotationsInput, GetConferenceAnnotationsOutput } 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 GetConferenceAnnotationsCommand}.
14
- */
15
- export interface GetConferenceAnnotationsCommandInput extends GetConferenceAnnotationsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetConferenceAnnotationsCommand}.
21
- */
22
- export interface GetConferenceAnnotationsCommandOutput extends GetConferenceAnnotationsOutput, __MetadataBearer {
23
- }
24
- declare const GetConferenceAnnotationsCommand_base: {
25
- new (input: GetConferenceAnnotationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetConferenceAnnotationsCommandInput, GetConferenceAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetConferenceAnnotationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetConferenceAnnotationsCommandInput, GetConferenceAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Gets annotations for a conference by conferenceId.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WdaHistoryClient, GetConferenceAnnotationsCommand } from "@wildix/wda-history-client"; // ES Modules import
35
- * // const { WdaHistoryClient, GetConferenceAnnotationsCommand } = require("@wildix/wda-history-client"); // CommonJS import
36
- * const client = new WdaHistoryClient(config);
37
- * const input = { // GetConferenceAnnotationsInput
38
- * company: "STRING_VALUE",
39
- * conferenceId: "STRING_VALUE", // required
40
- * };
41
- * const command = new GetConferenceAnnotationsCommand(input);
42
- * const response = await client.send(command);
43
- * // { // GetConferenceAnnotationsOutput
44
- * // annotations: { // ConferenceAnnotationsRecord
45
- * // id: "STRING_VALUE", // required
46
- * // time: Number("long"), // required
47
- * // company: "STRING_VALUE", // required
48
- * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
49
- * // annotations: [ // Annotations // required
50
- * // { // Annotation
51
- * // id: "STRING_VALUE", // required
52
- * // time: Number("long"), // required
53
- * // payload: { // AnnotationPayload Union: only one key present
54
- * // tag: "STRING_VALUE",
55
- * // text: "STRING_VALUE",
56
- * // variables: { // AnnotationVariablesValue
57
- * // value: "DOCUMENT_VALUE", // required
58
- * // },
59
- * // result: { // AnnotationResultValue
60
- * // value: "DOCUMENT_VALUE", // required
61
- * // },
62
- * // },
63
- * // source: { // AnnotationSource
64
- * // type: "chatbot" || "voicebot" || "user" || "system", // required
65
- * // id: "STRING_VALUE",
66
- * // name: "STRING_VALUE",
67
- * // },
68
- * // },
69
- * // ],
70
- * // },
71
- * // };
72
- *
73
- * ```
74
- *
75
- * @param GetConferenceAnnotationsCommandInput - {@link GetConferenceAnnotationsCommandInput}
76
- * @returns {@link GetConferenceAnnotationsCommandOutput}
77
- * @see {@link GetConferenceAnnotationsCommandInput} for command's `input` shape.
78
- * @see {@link GetConferenceAnnotationsCommandOutput} for command's `response` shape.
79
- * @see {@link WdaHistoryClientResolvedConfig | config} for WdaHistoryClient's `config` shape.
80
- *
81
- * @throws {@link ValidationException} (client fault)
82
- *
83
- * @throws {@link ForbiddenException} (client fault)
84
- *
85
- * @throws {@link ConferenceNotFoundException} (client fault)
86
- *
87
- * @throws {@link ConferenceAnnotationsNotFoundException} (client fault)
88
- *
89
- * @throws {@link WdaHistoryServiceException}
90
- * <p>Base exception class for all service exceptions from WdaHistory service.</p>
91
- *
92
- *
93
- * @public
94
- */
95
- export declare class GetConferenceAnnotationsCommand extends GetConferenceAnnotationsCommand_base {
96
- /** @internal type navigation helper, not in runtime. */
97
- protected static __types: {
98
- api: {
99
- input: GetConferenceAnnotationsInput;
100
- output: GetConferenceAnnotationsOutput;
101
- };
102
- sdk: {
103
- input: GetConferenceAnnotationsCommandInput;
104
- output: GetConferenceAnnotationsCommandOutput;
105
- };
106
- };
107
- }