@wildix/wda-insights-client 1.0.8 → 1.0.10
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.
- package/dist-cjs/protocols/Aws_restJson1.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +8 -0
- package/dist-types/commands/GetCallSummaryCommand.d.ts +30 -0
- package/dist-types/commands/GetConferenceSummaryCommand.d.ts +30 -0
- package/dist-types/commands/ScheduleCallPostAnalysisCommand.d.ts +1 -0
- package/dist-types/commands/ScheduleConferencePostAnalysisCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +26 -0
- package/package.json +1 -1
|
@@ -87,6 +87,9 @@ const se_ScheduleCallPostAnalysisCommand = async (input, context) => {
|
|
|
87
87
|
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/insights/calls/{callId}/flows/{flowIndex}/schedule_post_analysis";
|
|
88
88
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, 'callId', () => input.callId, '{callId}', false);
|
|
89
89
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, 'flowIndex', () => input.flowIndex.toString(), '{flowIndex}', false);
|
|
90
|
+
const query = (0, smithy_client_1.map)({
|
|
91
|
+
"company": [, (0, smithy_client_1.expectNonNull)(input.company, `company`)],
|
|
92
|
+
});
|
|
90
93
|
let body;
|
|
91
94
|
return new protocol_http_1.HttpRequest({
|
|
92
95
|
protocol,
|
|
@@ -95,6 +98,7 @@ const se_ScheduleCallPostAnalysisCommand = async (input, context) => {
|
|
|
95
98
|
method: "POST",
|
|
96
99
|
headers,
|
|
97
100
|
path: resolvedPath,
|
|
101
|
+
query,
|
|
98
102
|
body,
|
|
99
103
|
});
|
|
100
104
|
};
|
|
@@ -130,6 +134,9 @@ const se_ScheduleConferencePostAnalysisCommand = async (input, context) => {
|
|
|
130
134
|
const headers = {};
|
|
131
135
|
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/insights/conferences/{conferenceId}/schedule_post_analysis";
|
|
132
136
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, 'conferenceId', () => input.conferenceId, '{conferenceId}', false);
|
|
137
|
+
const query = (0, smithy_client_1.map)({
|
|
138
|
+
"company": [, (0, smithy_client_1.expectNonNull)(input.company, `company`)],
|
|
139
|
+
});
|
|
133
140
|
let body;
|
|
134
141
|
return new protocol_http_1.HttpRequest({
|
|
135
142
|
protocol,
|
|
@@ -138,6 +145,7 @@ const se_ScheduleConferencePostAnalysisCommand = async (input, context) => {
|
|
|
138
145
|
method: "POST",
|
|
139
146
|
headers,
|
|
140
147
|
path: resolvedPath,
|
|
148
|
+
query,
|
|
141
149
|
body,
|
|
142
150
|
});
|
|
143
151
|
};
|
|
@@ -81,6 +81,9 @@ export const se_ScheduleCallPostAnalysisCommand = async (input, context) => {
|
|
|
81
81
|
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/insights/calls/{callId}/flows/{flowIndex}/schedule_post_analysis";
|
|
82
82
|
resolvedPath = __resolvedPath(resolvedPath, input, 'callId', () => input.callId, '{callId}', false);
|
|
83
83
|
resolvedPath = __resolvedPath(resolvedPath, input, 'flowIndex', () => input.flowIndex.toString(), '{flowIndex}', false);
|
|
84
|
+
const query = map({
|
|
85
|
+
"company": [, __expectNonNull(input.company, `company`)],
|
|
86
|
+
});
|
|
84
87
|
let body;
|
|
85
88
|
return new __HttpRequest({
|
|
86
89
|
protocol,
|
|
@@ -89,6 +92,7 @@ export const se_ScheduleCallPostAnalysisCommand = async (input, context) => {
|
|
|
89
92
|
method: "POST",
|
|
90
93
|
headers,
|
|
91
94
|
path: resolvedPath,
|
|
95
|
+
query,
|
|
92
96
|
body,
|
|
93
97
|
});
|
|
94
98
|
};
|
|
@@ -122,6 +126,9 @@ export const se_ScheduleConferencePostAnalysisCommand = async (input, context) =
|
|
|
122
126
|
const headers = {};
|
|
123
127
|
let resolvedPath = `${basePath?.endsWith('/') ? basePath.slice(0, -1) : (basePath || '')}` + "/v2/insights/conferences/{conferenceId}/schedule_post_analysis";
|
|
124
128
|
resolvedPath = __resolvedPath(resolvedPath, input, 'conferenceId', () => input.conferenceId, '{conferenceId}', false);
|
|
129
|
+
const query = map({
|
|
130
|
+
"company": [, __expectNonNull(input.company, `company`)],
|
|
131
|
+
});
|
|
125
132
|
let body;
|
|
126
133
|
return new __HttpRequest({
|
|
127
134
|
protocol,
|
|
@@ -130,6 +137,7 @@ export const se_ScheduleConferencePostAnalysisCommand = async (input, context) =
|
|
|
130
137
|
method: "POST",
|
|
131
138
|
headers,
|
|
132
139
|
path: resolvedPath,
|
|
140
|
+
query,
|
|
133
141
|
body,
|
|
134
142
|
});
|
|
135
143
|
};
|
|
@@ -45,7 +45,37 @@ export interface GetCallSummaryCommandOutput extends GetCallSummaryOutput, __Met
|
|
|
45
45
|
* // summary: { // TranscriptionSummary
|
|
46
46
|
* // text: "STRING_VALUE",
|
|
47
47
|
* // markdown: "STRING_VALUE",
|
|
48
|
+
* // title: "STRING_VALUE",
|
|
48
49
|
* // brief: "STRING_VALUE",
|
|
50
|
+
* // json: { // TranscriptionSummaryJson
|
|
51
|
+
* // callBriefVeryShortTitle: "STRING_VALUE",
|
|
52
|
+
* // callBrief: "STRING_VALUE",
|
|
53
|
+
* // customerInsights: [ // TranscriptionSummaryJsonArrayItem
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // keyPoints: [
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // competitiveInformation: [
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // implementationTimeline: [
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // budget: [
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // customerResponse: "<TranscriptionSummaryJsonArrayItem>",
|
|
69
|
+
* // salesProposals: "<TranscriptionSummaryJsonArrayItem>",
|
|
70
|
+
* // actionItems: "<TranscriptionSummaryJsonArrayItem>",
|
|
71
|
+
* // nextSteps: "<TranscriptionSummaryJsonArrayItem>",
|
|
72
|
+
* // topics: "<TranscriptionSummaryJsonArrayItem>",
|
|
73
|
+
* // review: "<TranscriptionSummaryJsonArrayItem>",
|
|
74
|
+
* // progress: "<TranscriptionSummaryJsonArrayItem>",
|
|
75
|
+
* // issues: "<TranscriptionSummaryJsonArrayItem>",
|
|
76
|
+
* // decisions: "<TranscriptionSummaryJsonArrayItem>",
|
|
77
|
+
* // tags: "<TranscriptionSummaryJsonArrayItem>",
|
|
78
|
+
* // },
|
|
49
79
|
* // locale: "STRING_VALUE", // required
|
|
50
80
|
* // template: "STRING_VALUE", // required
|
|
51
81
|
* // instance: "STRING_VALUE", // required
|
|
@@ -44,7 +44,37 @@ export interface GetConferenceSummaryCommandOutput extends GetConferenceSummaryO
|
|
|
44
44
|
* // summary: { // TranscriptionSummary
|
|
45
45
|
* // text: "STRING_VALUE",
|
|
46
46
|
* // markdown: "STRING_VALUE",
|
|
47
|
+
* // title: "STRING_VALUE",
|
|
47
48
|
* // brief: "STRING_VALUE",
|
|
49
|
+
* // json: { // TranscriptionSummaryJson
|
|
50
|
+
* // callBriefVeryShortTitle: "STRING_VALUE",
|
|
51
|
+
* // callBrief: "STRING_VALUE",
|
|
52
|
+
* // customerInsights: [ // TranscriptionSummaryJsonArrayItem
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // keyPoints: [
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // competitiveInformation: [
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // implementationTimeline: [
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // budget: [
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // customerResponse: "<TranscriptionSummaryJsonArrayItem>",
|
|
68
|
+
* // salesProposals: "<TranscriptionSummaryJsonArrayItem>",
|
|
69
|
+
* // actionItems: "<TranscriptionSummaryJsonArrayItem>",
|
|
70
|
+
* // nextSteps: "<TranscriptionSummaryJsonArrayItem>",
|
|
71
|
+
* // topics: "<TranscriptionSummaryJsonArrayItem>",
|
|
72
|
+
* // review: "<TranscriptionSummaryJsonArrayItem>",
|
|
73
|
+
* // progress: "<TranscriptionSummaryJsonArrayItem>",
|
|
74
|
+
* // issues: "<TranscriptionSummaryJsonArrayItem>",
|
|
75
|
+
* // decisions: "<TranscriptionSummaryJsonArrayItem>",
|
|
76
|
+
* // tags: "<TranscriptionSummaryJsonArrayItem>",
|
|
77
|
+
* // },
|
|
48
78
|
* // locale: "STRING_VALUE", // required
|
|
49
79
|
* // template: "STRING_VALUE", // required
|
|
50
80
|
* // instance: "STRING_VALUE", // required
|
|
@@ -30,6 +30,7 @@ export interface ScheduleCallPostAnalysisCommandOutput extends ScheduleCallPostA
|
|
|
30
30
|
* // const { WdaInsightsClient, ScheduleCallPostAnalysisCommand } = require("@wildix/wda-insights-client"); // CommonJS import
|
|
31
31
|
* const client = new WdaInsightsClient(config);
|
|
32
32
|
* const input = { // ScheduleCallPostAnalysisInput
|
|
33
|
+
* company: "STRING_VALUE", // required
|
|
33
34
|
* callId: "STRING_VALUE", // required
|
|
34
35
|
* flowIndex: Number("int"), // required
|
|
35
36
|
* };
|
|
@@ -30,6 +30,7 @@ export interface ScheduleConferencePostAnalysisCommandOutput extends ScheduleCon
|
|
|
30
30
|
* // const { WdaInsightsClient, ScheduleConferencePostAnalysisCommand } = require("@wildix/wda-insights-client"); // CommonJS import
|
|
31
31
|
* const client = new WdaInsightsClient(config);
|
|
32
32
|
* const input = { // ScheduleConferencePostAnalysisInput
|
|
33
|
+
* company: "STRING_VALUE", // required
|
|
33
34
|
* conferenceId: "STRING_VALUE", // required
|
|
34
35
|
* };
|
|
35
36
|
* const command = new ScheduleConferencePostAnalysisCommand(input);
|
|
@@ -444,13 +444,37 @@ export declare const InsightsStatus: {
|
|
|
444
444
|
* @public
|
|
445
445
|
*/
|
|
446
446
|
export type InsightsStatus = typeof InsightsStatus[keyof typeof InsightsStatus];
|
|
447
|
+
/**
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
export interface TranscriptionSummaryJson {
|
|
451
|
+
callBriefVeryShortTitle?: string;
|
|
452
|
+
callBrief?: string;
|
|
453
|
+
customerInsights?: (string)[];
|
|
454
|
+
keyPoints?: (string)[];
|
|
455
|
+
competitiveInformation?: (string)[];
|
|
456
|
+
implementationTimeline?: (string)[];
|
|
457
|
+
budget?: (string)[];
|
|
458
|
+
customerResponse?: (string)[];
|
|
459
|
+
salesProposals?: (string)[];
|
|
460
|
+
actionItems?: (string)[];
|
|
461
|
+
nextSteps?: (string)[];
|
|
462
|
+
topics?: (string)[];
|
|
463
|
+
review?: (string)[];
|
|
464
|
+
progress?: (string)[];
|
|
465
|
+
issues?: (string)[];
|
|
466
|
+
decisions?: (string)[];
|
|
467
|
+
tags?: (string)[];
|
|
468
|
+
}
|
|
447
469
|
/**
|
|
448
470
|
* @public
|
|
449
471
|
*/
|
|
450
472
|
export interface TranscriptionSummary {
|
|
451
473
|
text?: string;
|
|
452
474
|
markdown?: string;
|
|
475
|
+
title?: string;
|
|
453
476
|
brief?: string;
|
|
477
|
+
json?: TranscriptionSummaryJson;
|
|
454
478
|
locale: string;
|
|
455
479
|
template: string;
|
|
456
480
|
instance: string;
|
|
@@ -563,6 +587,7 @@ export interface ListConversationsOutput {
|
|
|
563
587
|
* @public
|
|
564
588
|
*/
|
|
565
589
|
export interface ScheduleCallPostAnalysisInput {
|
|
590
|
+
company: string;
|
|
566
591
|
callId: string;
|
|
567
592
|
flowIndex: number;
|
|
568
593
|
}
|
|
@@ -592,6 +617,7 @@ export interface ScheduleCallSummaryGenerationOutput {
|
|
|
592
617
|
* @public
|
|
593
618
|
*/
|
|
594
619
|
export interface ScheduleConferencePostAnalysisInput {
|
|
620
|
+
company: string;
|
|
595
621
|
conferenceId: string;
|
|
596
622
|
}
|
|
597
623
|
/**
|
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.
|
|
4
|
+
"version": "1.0.10",
|
|
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",
|