@wildix/wda-insights-client 1.0.51 → 1.0.52
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/WdaInsights.js +2 -0
- package/dist-cjs/commands/PauseProjectionCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +33 -2
- package/dist-es/WdaInsights.js +2 -0
- package/dist-es/commands/PauseProjectionCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +29 -0
- package/dist-types/WdaInsights.d.ts +7 -0
- package/dist-types/WdaInsightsClient.d.ts +3 -2
- package/dist-types/commands/PauseProjectionCommand.d.ts +139 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +17 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +2 -2
package/dist-cjs/WdaInsights.js
CHANGED
|
@@ -23,6 +23,7 @@ const ListConversationsInsightsAggregationsCommand_1 = require("./commands/ListC
|
|
|
23
23
|
const ListConversationsInsightsCommand_1 = require("./commands/ListConversationsInsightsCommand");
|
|
24
24
|
const ListFiltersCommand_1 = require("./commands/ListFiltersCommand");
|
|
25
25
|
const ListProjectionsCommand_1 = require("./commands/ListProjectionsCommand");
|
|
26
|
+
const PauseProjectionCommand_1 = require("./commands/PauseProjectionCommand");
|
|
26
27
|
const QueryConversationsCountCommand_1 = require("./commands/QueryConversationsCountCommand");
|
|
27
28
|
const ScheduleCallPostAnalysisCommand_1 = require("./commands/ScheduleCallPostAnalysisCommand");
|
|
28
29
|
const ScheduleCallSummaryGenerationCommand_1 = require("./commands/ScheduleCallSummaryGenerationCommand");
|
|
@@ -54,6 +55,7 @@ const commands = {
|
|
|
54
55
|
ListConversationsInsightsAggregationsCommand: ListConversationsInsightsAggregationsCommand_1.ListConversationsInsightsAggregationsCommand,
|
|
55
56
|
ListFiltersCommand: ListFiltersCommand_1.ListFiltersCommand,
|
|
56
57
|
ListProjectionsCommand: ListProjectionsCommand_1.ListProjectionsCommand,
|
|
58
|
+
PauseProjectionCommand: PauseProjectionCommand_1.PauseProjectionCommand,
|
|
57
59
|
QueryConversationsCountCommand: QueryConversationsCountCommand_1.QueryConversationsCountCommand,
|
|
58
60
|
ScheduleCallPostAnalysisCommand: ScheduleCallPostAnalysisCommand_1.ScheduleCallPostAnalysisCommand,
|
|
59
61
|
ScheduleCallSummaryGenerationCommand: ScheduleCallSummaryGenerationCommand_1.ScheduleCallSummaryGenerationCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PauseProjectionCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PauseProjectionCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("WdaInsights", "PauseProjection", {})
|
|
15
|
+
.n("WdaInsightsClient", "PauseProjectionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PauseProjectionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PauseProjectionCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PauseProjectionCommand = PauseProjectionCommand;
|
|
@@ -22,6 +22,7 @@ tslib_1.__exportStar(require("./ListConversationsInsightsCommand"), exports);
|
|
|
22
22
|
tslib_1.__exportStar(require("./ListConversationsInsightsAggregationsCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./ListFiltersCommand"), exports);
|
|
24
24
|
tslib_1.__exportStar(require("./ListProjectionsCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./PauseProjectionCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./QueryConversationsCountCommand"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./ScheduleCallPostAnalysisCommand"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./ScheduleCallSummaryGenerationCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateProjectionsCategoryCommand = exports.de_UpdateProjectionCommand = exports.de_UpdateFilterCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleConferencePostAnalysisCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_ScheduleCallPostAnalysisCommand = exports.de_QueryConversationsCountCommand = void 0;
|
|
3
|
+
exports.de_ListFiltersCommand = exports.de_ListConversationsInsightsAggregationsCommand = exports.de_ListConversationsInsightsCommand = exports.de_ListConversationsCommand = exports.de_GetProjectionCommand = exports.de_GetConferenceTimeFramesCommand = exports.de_GetConferenceSummaryCommand = exports.de_GetConferenceRecordingPresignedDownloadUrlCommand = exports.de_GetConferenceInsightsCommand = exports.de_GetCallSummaryCommand = exports.de_GetCallInsightsCommand = exports.de_GetCallCharacteristicsCommand = exports.de_EnableProjectionCommand = exports.de_DisableProjectionCommand = exports.de_DeleteProjectionsCategoryCommand = exports.de_DeleteProjectionCommand = exports.de_DeleteFilterCommand = exports.de_CreateProjectionsCategoryCommand = exports.de_CreateProjectionCommand = exports.de_CreateFilterCommand = exports.se_UpdateProjectionsCategoryCommand = exports.se_UpdateProjectionCommand = exports.se_UpdateFilterCommand = exports.se_ScheduleConferenceSummaryGenerationCommand = exports.se_ScheduleConferencePostAnalysisCommand = exports.se_ScheduleCallSummaryGenerationCommand = exports.se_ScheduleCallPostAnalysisCommand = exports.se_QueryConversationsCountCommand = exports.se_PauseProjectionCommand = exports.se_ListProjectionsCommand = exports.se_ListFiltersCommand = exports.se_ListConversationsInsightsAggregationsCommand = exports.se_ListConversationsInsightsCommand = exports.se_ListConversationsCommand = exports.se_GetProjectionCommand = exports.se_GetConferenceTimeFramesCommand = exports.se_GetConferenceSummaryCommand = exports.se_GetConferenceRecordingPresignedDownloadUrlCommand = exports.se_GetConferenceInsightsCommand = exports.se_GetCallSummaryCommand = exports.se_GetCallInsightsCommand = exports.se_GetCallCharacteristicsCommand = exports.se_EnableProjectionCommand = exports.se_DisableProjectionCommand = exports.se_DeleteProjectionsCategoryCommand = exports.se_DeleteProjectionCommand = exports.se_DeleteFilterCommand = exports.se_CreateProjectionsCategoryCommand = exports.se_CreateProjectionCommand = exports.se_CreateFilterCommand = void 0;
|
|
4
|
+
exports.de_UpdateProjectionsCategoryCommand = exports.de_UpdateProjectionCommand = exports.de_UpdateFilterCommand = exports.de_ScheduleConferenceSummaryGenerationCommand = exports.de_ScheduleConferencePostAnalysisCommand = exports.de_ScheduleCallSummaryGenerationCommand = exports.de_ScheduleCallPostAnalysisCommand = exports.de_QueryConversationsCountCommand = exports.de_PauseProjectionCommand = exports.de_ListProjectionsCommand = void 0;
|
|
5
5
|
const WdaInsightsServiceException_1 = require("../models/WdaInsightsServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const core_1 = require("@aws-sdk/core");
|
|
@@ -370,6 +370,22 @@ const se_ListProjectionsCommand = async (input, context) => {
|
|
|
370
370
|
return b.build();
|
|
371
371
|
};
|
|
372
372
|
exports.se_ListProjectionsCommand = se_ListProjectionsCommand;
|
|
373
|
+
const se_PauseProjectionCommand = async (input, context) => {
|
|
374
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
375
|
+
const headers = {};
|
|
376
|
+
b.bp("/v2/insights/projections/{id}/pause");
|
|
377
|
+
b.p('id', () => input.id, '{id}', false);
|
|
378
|
+
const query = (0, smithy_client_1.map)({
|
|
379
|
+
[_c]: [, input[_c]],
|
|
380
|
+
});
|
|
381
|
+
let body;
|
|
382
|
+
b.m("PATCH")
|
|
383
|
+
.h(headers)
|
|
384
|
+
.q(query)
|
|
385
|
+
.b(body);
|
|
386
|
+
return b.build();
|
|
387
|
+
};
|
|
388
|
+
exports.se_PauseProjectionCommand = se_PauseProjectionCommand;
|
|
373
389
|
const se_QueryConversationsCountCommand = async (input, context) => {
|
|
374
390
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
375
391
|
const headers = {
|
|
@@ -834,6 +850,21 @@ const de_ListProjectionsCommand = async (output, context) => {
|
|
|
834
850
|
return contents;
|
|
835
851
|
};
|
|
836
852
|
exports.de_ListProjectionsCommand = de_ListProjectionsCommand;
|
|
853
|
+
const de_PauseProjectionCommand = async (output, context) => {
|
|
854
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
855
|
+
return de_CommandError(output, context);
|
|
856
|
+
}
|
|
857
|
+
const contents = (0, smithy_client_1.map)({
|
|
858
|
+
$metadata: deserializeMetadata(output),
|
|
859
|
+
});
|
|
860
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
861
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
862
|
+
'projection': smithy_client_1._json,
|
|
863
|
+
});
|
|
864
|
+
Object.assign(contents, doc);
|
|
865
|
+
return contents;
|
|
866
|
+
};
|
|
867
|
+
exports.de_PauseProjectionCommand = de_PauseProjectionCommand;
|
|
837
868
|
const de_QueryConversationsCountCommand = async (output, context) => {
|
|
838
869
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
839
870
|
return de_CommandError(output, context);
|
package/dist-es/WdaInsights.js
CHANGED
|
@@ -20,6 +20,7 @@ import { ListConversationsInsightsAggregationsCommand, } from "./commands/ListCo
|
|
|
20
20
|
import { ListConversationsInsightsCommand, } from "./commands/ListConversationsInsightsCommand";
|
|
21
21
|
import { ListFiltersCommand, } from "./commands/ListFiltersCommand";
|
|
22
22
|
import { ListProjectionsCommand, } from "./commands/ListProjectionsCommand";
|
|
23
|
+
import { PauseProjectionCommand, } from "./commands/PauseProjectionCommand";
|
|
23
24
|
import { QueryConversationsCountCommand, } from "./commands/QueryConversationsCountCommand";
|
|
24
25
|
import { ScheduleCallPostAnalysisCommand, } from "./commands/ScheduleCallPostAnalysisCommand";
|
|
25
26
|
import { ScheduleCallSummaryGenerationCommand, } from "./commands/ScheduleCallSummaryGenerationCommand";
|
|
@@ -51,6 +52,7 @@ const commands = {
|
|
|
51
52
|
ListConversationsInsightsAggregationsCommand,
|
|
52
53
|
ListFiltersCommand,
|
|
53
54
|
ListProjectionsCommand,
|
|
55
|
+
PauseProjectionCommand,
|
|
54
56
|
QueryConversationsCountCommand,
|
|
55
57
|
ScheduleCallPostAnalysisCommand,
|
|
56
58
|
ScheduleCallSummaryGenerationCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_PauseProjectionCommand, se_PauseProjectionCommand, } 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 PauseProjectionCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("WdaInsights", "PauseProjection", {})
|
|
12
|
+
.n("WdaInsightsClient", "PauseProjectionCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_PauseProjectionCommand)
|
|
15
|
+
.de(de_PauseProjectionCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./ListConversationsInsightsCommand";
|
|
|
19
19
|
export * from "./ListConversationsInsightsAggregationsCommand";
|
|
20
20
|
export * from "./ListFiltersCommand";
|
|
21
21
|
export * from "./ListProjectionsCommand";
|
|
22
|
+
export * from "./PauseProjectionCommand";
|
|
22
23
|
export * from "./QueryConversationsCountCommand";
|
|
23
24
|
export * from "./ScheduleCallPostAnalysisCommand";
|
|
24
25
|
export * from "./ScheduleCallSummaryGenerationCommand";
|
|
@@ -345,6 +345,21 @@ export const se_ListProjectionsCommand = async (input, context) => {
|
|
|
345
345
|
.b(body);
|
|
346
346
|
return b.build();
|
|
347
347
|
};
|
|
348
|
+
export const se_PauseProjectionCommand = async (input, context) => {
|
|
349
|
+
const b = rb(input, context);
|
|
350
|
+
const headers = {};
|
|
351
|
+
b.bp("/v2/insights/projections/{id}/pause");
|
|
352
|
+
b.p('id', () => input.id, '{id}', false);
|
|
353
|
+
const query = map({
|
|
354
|
+
[_c]: [, input[_c]],
|
|
355
|
+
});
|
|
356
|
+
let body;
|
|
357
|
+
b.m("PATCH")
|
|
358
|
+
.h(headers)
|
|
359
|
+
.q(query)
|
|
360
|
+
.b(body);
|
|
361
|
+
return b.build();
|
|
362
|
+
};
|
|
348
363
|
export const se_QueryConversationsCountCommand = async (input, context) => {
|
|
349
364
|
const b = rb(input, context);
|
|
350
365
|
const headers = {
|
|
@@ -780,6 +795,20 @@ export const de_ListProjectionsCommand = async (output, context) => {
|
|
|
780
795
|
Object.assign(contents, doc);
|
|
781
796
|
return contents;
|
|
782
797
|
};
|
|
798
|
+
export const de_PauseProjectionCommand = async (output, context) => {
|
|
799
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
800
|
+
return de_CommandError(output, context);
|
|
801
|
+
}
|
|
802
|
+
const contents = map({
|
|
803
|
+
$metadata: deserializeMetadata(output),
|
|
804
|
+
});
|
|
805
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
806
|
+
const doc = take(data, {
|
|
807
|
+
'projection': _json,
|
|
808
|
+
});
|
|
809
|
+
Object.assign(contents, doc);
|
|
810
|
+
return contents;
|
|
811
|
+
};
|
|
783
812
|
export const de_QueryConversationsCountCommand = async (output, context) => {
|
|
784
813
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
785
814
|
return de_CommandError(output, context);
|
|
@@ -20,6 +20,7 @@ import { ListConversationsInsightsAggregationsCommandInput, ListConversationsIns
|
|
|
20
20
|
import { ListConversationsInsightsCommandInput, ListConversationsInsightsCommandOutput } from "./commands/ListConversationsInsightsCommand";
|
|
21
21
|
import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
22
22
|
import { ListProjectionsCommandInput, ListProjectionsCommandOutput } from "./commands/ListProjectionsCommand";
|
|
23
|
+
import { PauseProjectionCommandInput, PauseProjectionCommandOutput } from "./commands/PauseProjectionCommand";
|
|
23
24
|
import { QueryConversationsCountCommandInput, QueryConversationsCountCommandOutput } from "./commands/QueryConversationsCountCommand";
|
|
24
25
|
import { ScheduleCallPostAnalysisCommandInput, ScheduleCallPostAnalysisCommandOutput } from "./commands/ScheduleCallPostAnalysisCommand";
|
|
25
26
|
import { ScheduleCallSummaryGenerationCommandInput, ScheduleCallSummaryGenerationCommandOutput } from "./commands/ScheduleCallSummaryGenerationCommand";
|
|
@@ -160,6 +161,12 @@ export interface WdaInsights {
|
|
|
160
161
|
listProjections(args: ListProjectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProjectionsCommandOutput>;
|
|
161
162
|
listProjections(args: ListProjectionsCommandInput, cb: (err: any, data?: ListProjectionsCommandOutput) => void): void;
|
|
162
163
|
listProjections(args: ListProjectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProjectionsCommandOutput) => void): void;
|
|
164
|
+
/**
|
|
165
|
+
* @see {@link PauseProjectionCommand}
|
|
166
|
+
*/
|
|
167
|
+
pauseProjection(args: PauseProjectionCommandInput, options?: __HttpHandlerOptions): Promise<PauseProjectionCommandOutput>;
|
|
168
|
+
pauseProjection(args: PauseProjectionCommandInput, cb: (err: any, data?: PauseProjectionCommandOutput) => void): void;
|
|
169
|
+
pauseProjection(args: PauseProjectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PauseProjectionCommandOutput) => void): void;
|
|
163
170
|
/**
|
|
164
171
|
* @see {@link QueryConversationsCountCommand}
|
|
165
172
|
*/
|
|
@@ -19,6 +19,7 @@ import { ListConversationsInsightsAggregationsCommandInput, ListConversationsIns
|
|
|
19
19
|
import { ListConversationsInsightsCommandInput, ListConversationsInsightsCommandOutput } from "./commands/ListConversationsInsightsCommand";
|
|
20
20
|
import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
21
21
|
import { ListProjectionsCommandInput, ListProjectionsCommandOutput } from "./commands/ListProjectionsCommand";
|
|
22
|
+
import { PauseProjectionCommandInput, PauseProjectionCommandOutput } from "./commands/PauseProjectionCommand";
|
|
22
23
|
import { QueryConversationsCountCommandInput, QueryConversationsCountCommandOutput } from "./commands/QueryConversationsCountCommand";
|
|
23
24
|
import { ScheduleCallPostAnalysisCommandInput, ScheduleCallPostAnalysisCommandOutput } from "./commands/ScheduleCallPostAnalysisCommand";
|
|
24
25
|
import { ScheduleCallSummaryGenerationCommandInput, ScheduleCallSummaryGenerationCommandOutput } from "./commands/ScheduleCallSummaryGenerationCommand";
|
|
@@ -38,11 +39,11 @@ export { __Client };
|
|
|
38
39
|
/**
|
|
39
40
|
* @public
|
|
40
41
|
*/
|
|
41
|
-
export type ServiceInputTypes = CreateFilterCommandInput | CreateProjectionCommandInput | CreateProjectionsCategoryCommandInput | DeleteFilterCommandInput | DeleteProjectionCommandInput | DeleteProjectionsCategoryCommandInput | DisableProjectionCommandInput | EnableProjectionCommandInput | GetCallCharacteristicsCommandInput | GetCallInsightsCommandInput | GetCallSummaryCommandInput | GetConferenceInsightsCommandInput | GetConferenceRecordingPresignedDownloadUrlCommandInput | GetConferenceSummaryCommandInput | GetConferenceTimeFramesCommandInput | GetProjectionCommandInput | ListConversationsCommandInput | ListConversationsInsightsAggregationsCommandInput | ListConversationsInsightsCommandInput | ListFiltersCommandInput | ListProjectionsCommandInput | QueryConversationsCountCommandInput | ScheduleCallPostAnalysisCommandInput | ScheduleCallSummaryGenerationCommandInput | ScheduleConferencePostAnalysisCommandInput | ScheduleConferenceSummaryGenerationCommandInput | UpdateFilterCommandInput | UpdateProjectionCommandInput | UpdateProjectionsCategoryCommandInput;
|
|
42
|
+
export type ServiceInputTypes = CreateFilterCommandInput | CreateProjectionCommandInput | CreateProjectionsCategoryCommandInput | DeleteFilterCommandInput | DeleteProjectionCommandInput | DeleteProjectionsCategoryCommandInput | DisableProjectionCommandInput | EnableProjectionCommandInput | GetCallCharacteristicsCommandInput | GetCallInsightsCommandInput | GetCallSummaryCommandInput | GetConferenceInsightsCommandInput | GetConferenceRecordingPresignedDownloadUrlCommandInput | GetConferenceSummaryCommandInput | GetConferenceTimeFramesCommandInput | GetProjectionCommandInput | ListConversationsCommandInput | ListConversationsInsightsAggregationsCommandInput | ListConversationsInsightsCommandInput | ListFiltersCommandInput | ListProjectionsCommandInput | PauseProjectionCommandInput | QueryConversationsCountCommandInput | ScheduleCallPostAnalysisCommandInput | ScheduleCallSummaryGenerationCommandInput | ScheduleConferencePostAnalysisCommandInput | ScheduleConferenceSummaryGenerationCommandInput | UpdateFilterCommandInput | UpdateProjectionCommandInput | UpdateProjectionsCategoryCommandInput;
|
|
42
43
|
/**
|
|
43
44
|
* @public
|
|
44
45
|
*/
|
|
45
|
-
export type ServiceOutputTypes = CreateFilterCommandOutput | CreateProjectionCommandOutput | CreateProjectionsCategoryCommandOutput | DeleteFilterCommandOutput | DeleteProjectionCommandOutput | DeleteProjectionsCategoryCommandOutput | DisableProjectionCommandOutput | EnableProjectionCommandOutput | GetCallCharacteristicsCommandOutput | GetCallInsightsCommandOutput | GetCallSummaryCommandOutput | GetConferenceInsightsCommandOutput | GetConferenceRecordingPresignedDownloadUrlCommandOutput | GetConferenceSummaryCommandOutput | GetConferenceTimeFramesCommandOutput | GetProjectionCommandOutput | ListConversationsCommandOutput | ListConversationsInsightsAggregationsCommandOutput | ListConversationsInsightsCommandOutput | ListFiltersCommandOutput | ListProjectionsCommandOutput | QueryConversationsCountCommandOutput | ScheduleCallPostAnalysisCommandOutput | ScheduleCallSummaryGenerationCommandOutput | ScheduleConferencePostAnalysisCommandOutput | ScheduleConferenceSummaryGenerationCommandOutput | UpdateFilterCommandOutput | UpdateProjectionCommandOutput | UpdateProjectionsCategoryCommandOutput;
|
|
46
|
+
export type ServiceOutputTypes = CreateFilterCommandOutput | CreateProjectionCommandOutput | CreateProjectionsCategoryCommandOutput | DeleteFilterCommandOutput | DeleteProjectionCommandOutput | DeleteProjectionsCategoryCommandOutput | DisableProjectionCommandOutput | EnableProjectionCommandOutput | GetCallCharacteristicsCommandOutput | GetCallInsightsCommandOutput | GetCallSummaryCommandOutput | GetConferenceInsightsCommandOutput | GetConferenceRecordingPresignedDownloadUrlCommandOutput | GetConferenceSummaryCommandOutput | GetConferenceTimeFramesCommandOutput | GetProjectionCommandOutput | ListConversationsCommandOutput | ListConversationsInsightsAggregationsCommandOutput | ListConversationsInsightsCommandOutput | ListFiltersCommandOutput | ListProjectionsCommandOutput | PauseProjectionCommandOutput | QueryConversationsCountCommandOutput | ScheduleCallPostAnalysisCommandOutput | ScheduleCallSummaryGenerationCommandOutput | ScheduleConferencePostAnalysisCommandOutput | ScheduleConferenceSummaryGenerationCommandOutput | UpdateFilterCommandOutput | UpdateProjectionCommandOutput | UpdateProjectionsCategoryCommandOutput;
|
|
46
47
|
/**
|
|
47
48
|
* @public
|
|
48
49
|
*/
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WdaInsightsClientResolvedConfig } from "../WdaInsightsClient";
|
|
2
|
+
import { PauseProjectionInput, PauseProjectionOutput } 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 PauseProjectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PauseProjectionCommandInput extends PauseProjectionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PauseProjectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PauseProjectionCommandOutput extends PauseProjectionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PauseProjectionCommand_base: {
|
|
25
|
+
new (input: PauseProjectionCommandInput): import("@smithy/smithy-client").CommandImpl<PauseProjectionCommandInput, PauseProjectionCommandOutput, WdaInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PauseProjectionCommandInput): import("@smithy/smithy-client").CommandImpl<PauseProjectionCommandInput, PauseProjectionCommandOutput, WdaInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { WdaInsightsClient, PauseProjectionCommand } from "@wildix/wda-insights-client"; // ES Modules import
|
|
36
|
+
* // const { WdaInsightsClient, PauseProjectionCommand } = require("@wildix/wda-insights-client"); // CommonJS import
|
|
37
|
+
* const client = new WdaInsightsClient(config);
|
|
38
|
+
* const input = { // PauseProjectionInput
|
|
39
|
+
* company: "STRING_VALUE",
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new PauseProjectionCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // PauseProjectionOutput
|
|
45
|
+
* // projection: { // Projection
|
|
46
|
+
* // categoryId: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // instructions: "STRING_VALUE",
|
|
50
|
+
* // conditions: [ // ProjectionConditionsList
|
|
51
|
+
* // { // ProjectionCondition Union: only one key present
|
|
52
|
+
* // direction: { // ProjectionDirectionCondition
|
|
53
|
+
* // equals: [ // ProjectionDirectionConditionValuesList // required
|
|
54
|
+
* // "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // participants: { // ProjectionParticipantsCondition
|
|
58
|
+
* // emails: [ // ProjectionParticipantsEmailsList
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // extensions: [ // ProjectionParticipantsExtensionsList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // groups: [ // ProjectionParticipantsGroupsList
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // duration: { // ProjectionDurationCondition
|
|
69
|
+
* // minimum: Number("int"), // required
|
|
70
|
+
* // maximum: Number("int"), // required
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // fields: [ // ProjectionFieldsList // required
|
|
75
|
+
* // { // ProjectionField
|
|
76
|
+
* // id: "STRING_VALUE", // required
|
|
77
|
+
* // name: "STRING_VALUE", // required
|
|
78
|
+
* // description: "STRING_VALUE",
|
|
79
|
+
* // optional: true || false,
|
|
80
|
+
* // parameter: { // ProjectionParameter Union: only one key present
|
|
81
|
+
* // text: {},
|
|
82
|
+
* // multiline: {},
|
|
83
|
+
* // selection: { // ProjectionSelectionParameter
|
|
84
|
+
* // options: [ // ProjectionSelectionOptionsList // required
|
|
85
|
+
* // "STRING_VALUE",
|
|
86
|
+
* // ],
|
|
87
|
+
* // multi: true || false,
|
|
88
|
+
* // adaptive: true || false,
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // model: { // ProjectionModel
|
|
94
|
+
* // provider: "OPENAI",
|
|
95
|
+
* // name: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // id: "STRING_VALUE", // required
|
|
98
|
+
* // status: "ENABLED" || "PAUSED" || "DISABLED", // required
|
|
99
|
+
* // version: Number("int"), // required
|
|
100
|
+
* // createdAt: "STRING_VALUE", // required
|
|
101
|
+
* // updatedAt: "STRING_VALUE",
|
|
102
|
+
* // metadata: { // ProjectionMetadata
|
|
103
|
+
* // predefined: true || false,
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // };
|
|
107
|
+
*
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @param PauseProjectionCommandInput - {@link PauseProjectionCommandInput}
|
|
111
|
+
* @returns {@link PauseProjectionCommandOutput}
|
|
112
|
+
* @see {@link PauseProjectionCommandInput} for command's `input` shape.
|
|
113
|
+
* @see {@link PauseProjectionCommandOutput} for command's `response` shape.
|
|
114
|
+
* @see {@link WdaInsightsClientResolvedConfig | config} for WdaInsightsClient's `config` shape.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link NotFoundException} (client fault)
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ValidationException} (client fault)
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link WdaInsightsServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from WdaInsights service.</p>
|
|
124
|
+
*
|
|
125
|
+
*
|
|
126
|
+
*/
|
|
127
|
+
export declare class PauseProjectionCommand extends PauseProjectionCommand_base {
|
|
128
|
+
/** @internal type navigation helper, not in runtime. */
|
|
129
|
+
protected static __types: {
|
|
130
|
+
api: {
|
|
131
|
+
input: PauseProjectionInput;
|
|
132
|
+
output: PauseProjectionOutput;
|
|
133
|
+
};
|
|
134
|
+
sdk: {
|
|
135
|
+
input: PauseProjectionCommandInput;
|
|
136
|
+
output: PauseProjectionCommandOutput;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./ListConversationsInsightsCommand";
|
|
|
19
19
|
export * from "./ListConversationsInsightsAggregationsCommand";
|
|
20
20
|
export * from "./ListFiltersCommand";
|
|
21
21
|
export * from "./ListProjectionsCommand";
|
|
22
|
+
export * from "./PauseProjectionCommand";
|
|
22
23
|
export * from "./QueryConversationsCountCommand";
|
|
23
24
|
export * from "./ScheduleCallPostAnalysisCommand";
|
|
24
25
|
export * from "./ScheduleCallSummaryGenerationCommand";
|
|
@@ -2115,6 +2115,23 @@ export interface ListProjectionsOutput {
|
|
|
2115
2115
|
projections: (Projection)[];
|
|
2116
2116
|
categories: (ProjectionsCategory)[];
|
|
2117
2117
|
}
|
|
2118
|
+
/**
|
|
2119
|
+
* @public
|
|
2120
|
+
*/
|
|
2121
|
+
export interface PauseProjectionInput {
|
|
2122
|
+
/**
|
|
2123
|
+
* The unique identifier of the tenant when a service token is used.
|
|
2124
|
+
* @public
|
|
2125
|
+
*/
|
|
2126
|
+
company?: string | undefined;
|
|
2127
|
+
id: string;
|
|
2128
|
+
}
|
|
2129
|
+
/**
|
|
2130
|
+
* @public
|
|
2131
|
+
*/
|
|
2132
|
+
export interface PauseProjectionOutput {
|
|
2133
|
+
projection: Projection;
|
|
2134
|
+
}
|
|
2118
2135
|
/**
|
|
2119
2136
|
* @public
|
|
2120
2137
|
*/
|
|
@@ -19,6 +19,7 @@ import { ListConversationsInsightsAggregationsCommandInput, ListConversationsIns
|
|
|
19
19
|
import { ListConversationsInsightsCommandInput, ListConversationsInsightsCommandOutput } from "../commands/ListConversationsInsightsCommand";
|
|
20
20
|
import { ListFiltersCommandInput, ListFiltersCommandOutput } from "../commands/ListFiltersCommand";
|
|
21
21
|
import { ListProjectionsCommandInput, ListProjectionsCommandOutput } from "../commands/ListProjectionsCommand";
|
|
22
|
+
import { PauseProjectionCommandInput, PauseProjectionCommandOutput } from "../commands/PauseProjectionCommand";
|
|
22
23
|
import { QueryConversationsCountCommandInput, QueryConversationsCountCommandOutput } from "../commands/QueryConversationsCountCommand";
|
|
23
24
|
import { ScheduleCallPostAnalysisCommandInput, ScheduleCallPostAnalysisCommandOutput } from "../commands/ScheduleCallPostAnalysisCommand";
|
|
24
25
|
import { ScheduleCallSummaryGenerationCommandInput, ScheduleCallSummaryGenerationCommandOutput } from "../commands/ScheduleCallSummaryGenerationCommand";
|
|
@@ -113,6 +114,10 @@ export declare const se_ListFiltersCommand: (input: ListFiltersCommandInput, con
|
|
|
113
114
|
* serializeAws_restJson1ListProjectionsCommand
|
|
114
115
|
*/
|
|
115
116
|
export declare const se_ListProjectionsCommand: (input: ListProjectionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
117
|
+
/**
|
|
118
|
+
* serializeAws_restJson1PauseProjectionCommand
|
|
119
|
+
*/
|
|
120
|
+
export declare const se_PauseProjectionCommand: (input: PauseProjectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
116
121
|
/**
|
|
117
122
|
* serializeAws_restJson1QueryConversationsCountCommand
|
|
118
123
|
*/
|
|
@@ -229,6 +234,10 @@ export declare const de_ListFiltersCommand: (output: __HttpResponse, context: __
|
|
|
229
234
|
* deserializeAws_restJson1ListProjectionsCommand
|
|
230
235
|
*/
|
|
231
236
|
export declare const de_ListProjectionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProjectionsCommandOutput>;
|
|
237
|
+
/**
|
|
238
|
+
* deserializeAws_restJson1PauseProjectionCommand
|
|
239
|
+
*/
|
|
240
|
+
export declare const de_PauseProjectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PauseProjectionCommandOutput>;
|
|
232
241
|
/**
|
|
233
242
|
* deserializeAws_restJson1QueryConversationsCountCommand
|
|
234
243
|
*/
|
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.52",
|
|
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",
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
"react-native": {
|
|
81
81
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|