@wildix/wda-insights-client 1.1.35 → 1.1.38

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/WdaInsights.js +6 -0
  2. package/dist-cjs/commands/CreateProjectionsCategoryCommand.js +21 -0
  3. package/dist-cjs/commands/DeleteProjectionsCategoryCommand.js +21 -0
  4. package/dist-cjs/commands/UpdateProjectionsCategoryCommand.js +21 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/protocols/Aws_restJson1.js +106 -3
  7. package/dist-es/WdaInsights.js +6 -0
  8. package/dist-es/commands/CreateProjectionsCategoryCommand.js +17 -0
  9. package/dist-es/commands/DeleteProjectionsCategoryCommand.js +17 -0
  10. package/dist-es/commands/UpdateProjectionsCategoryCommand.js +17 -0
  11. package/dist-es/commands/index.js +3 -0
  12. package/dist-es/protocols/Aws_restJson1.js +97 -0
  13. package/dist-types/WdaInsights.d.ts +21 -0
  14. package/dist-types/WdaInsightsClient.d.ts +5 -2
  15. package/dist-types/commands/CreateProjectionCommand.d.ts +4 -2
  16. package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +83 -0
  17. package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +77 -0
  18. package/dist-types/commands/DisableProjectionCommand.d.ts +2 -1
  19. package/dist-types/commands/EnableProjectionCommand.d.ts +2 -1
  20. package/dist-types/commands/GetProjectionCommand.d.ts +2 -1
  21. package/dist-types/commands/ListConversationsCommand.d.ts +6 -0
  22. package/dist-types/commands/ListPlaylistItemsCommand.d.ts +6 -0
  23. package/dist-types/commands/ListProjectionsCommand.d.ts +9 -2
  24. package/dist-types/commands/ListWatchHistoryCommand.d.ts +6 -0
  25. package/dist-types/commands/PauseProjectionCommand.d.ts +2 -1
  26. package/dist-types/commands/UpdateProjectionCommand.d.ts +4 -2
  27. package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +85 -0
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/models/models_0.d.ts +99 -6
  30. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  31. package/dist-types/runtimeConfig.browser.d.ts +6 -1
  32. package/dist-types/runtimeConfig.d.ts +6 -1
  33. package/dist-types/runtimeConfig.native.d.ts +6 -1
  34. package/package.json +1 -1
@@ -343,6 +343,13 @@ export declare const License: {
343
343
  * @public
344
344
  */
345
345
  export type License = typeof License[keyof typeof License];
346
+ /**
347
+ * @public
348
+ */
349
+ export interface CallFlowNotifications {
350
+ destinations?: (CallFlowAttachmentDestination)[] | undefined;
351
+ type?: (string)[] | undefined;
352
+ }
346
353
  /**
347
354
  * @public
348
355
  * @enum
@@ -476,6 +483,7 @@ export interface CallRecord {
476
483
  */
477
484
  attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
478
485
  attachments?: (CallFlowAttachment)[] | undefined;
486
+ notifications?: CallFlowNotifications | undefined;
479
487
  id: string;
480
488
  pbx: string;
481
489
  time: number;
@@ -2675,10 +2683,17 @@ export interface ProjectionField {
2675
2683
  */
2676
2684
  export interface CreateProjectionInput {
2677
2685
  /**
2678
- * Free-form category label for a projection.
2686
+ * Free-form category label for projection grouping.
2687
+ * @public
2688
+ */
2689
+ category?: string | undefined;
2690
+ /**
2691
+ * Compatibility field for legacy clients. Use `category` instead.
2692
+ *
2693
+ * @deprecated
2679
2694
  * @public
2680
2695
  */
2681
- category: string;
2696
+ categoryId?: string | undefined;
2682
2697
  name: string;
2683
2698
  description?: string | undefined;
2684
2699
  instructions?: string | undefined;
@@ -2736,10 +2751,17 @@ export type ProjectionStatus = typeof ProjectionStatus[keyof typeof ProjectionSt
2736
2751
  */
2737
2752
  export interface Projection {
2738
2753
  /**
2739
- * Free-form category label for a projection.
2754
+ * Free-form category label for projection grouping.
2740
2755
  * @public
2741
2756
  */
2742
- category: string;
2757
+ category?: string | undefined;
2758
+ /**
2759
+ * Compatibility field for legacy clients. Use `category` instead.
2760
+ *
2761
+ * @deprecated
2762
+ * @public
2763
+ */
2764
+ categoryId?: string | undefined;
2743
2765
  name: string;
2744
2766
  description?: string | undefined;
2745
2767
  instructions?: string | undefined;
@@ -2779,6 +2801,31 @@ export interface Projection {
2779
2801
  export interface CreateProjectionOutput {
2780
2802
  projection: Projection;
2781
2803
  }
2804
+ /**
2805
+ * @public
2806
+ */
2807
+ export interface CreateProjectionsCategoryInput {
2808
+ /**
2809
+ * The unique identifier of the tenant when a service token is used.
2810
+ * @public
2811
+ */
2812
+ company?: string | undefined;
2813
+ id: string;
2814
+ name: string;
2815
+ }
2816
+ /**
2817
+ * @public
2818
+ */
2819
+ export interface ProjectionsCategory {
2820
+ id: string;
2821
+ name: string;
2822
+ }
2823
+ /**
2824
+ * @public
2825
+ */
2826
+ export interface CreateProjectionsCategoryOutput {
2827
+ category: ProjectionsCategory;
2828
+ }
2782
2829
  /**
2783
2830
  * @public
2784
2831
  */
@@ -2881,6 +2928,22 @@ export interface DeleteProjectionInput {
2881
2928
  */
2882
2929
  export interface DeleteProjectionOutput {
2883
2930
  }
2931
+ /**
2932
+ * @public
2933
+ */
2934
+ export interface DeleteProjectionsCategoryInput {
2935
+ /**
2936
+ * The unique identifier of the tenant when a service token is used.
2937
+ * @public
2938
+ */
2939
+ company?: string | undefined;
2940
+ id: string;
2941
+ }
2942
+ /**
2943
+ * @public
2944
+ */
2945
+ export interface DeleteProjectionsCategoryOutput {
2946
+ }
2884
2947
  /**
2885
2948
  * @public
2886
2949
  */
@@ -3875,6 +3938,11 @@ export interface ListProjectionsInput {
3875
3938
  */
3876
3939
  export interface ListProjectionsOutput {
3877
3940
  projections: (Projection)[];
3941
+ /**
3942
+ * Compatibility field for legacy clients. Categories are simulated from projection `category`/`categoryId` values.
3943
+ * @public
3944
+ */
3945
+ categories?: (ProjectionsCategory)[] | undefined;
3878
3946
  }
3879
3947
  /**
3880
3948
  * @public
@@ -4178,10 +4246,17 @@ export interface UpdatePlaylistAccessOutput {
4178
4246
  */
4179
4247
  export interface UpdateProjectionInput {
4180
4248
  /**
4181
- * Free-form category label for a projection.
4249
+ * Free-form category label for projection grouping.
4250
+ * @public
4251
+ */
4252
+ category?: string | undefined;
4253
+ /**
4254
+ * Compatibility field for legacy clients. Use `category` instead.
4255
+ *
4256
+ * @deprecated
4182
4257
  * @public
4183
4258
  */
4184
- category: string;
4259
+ categoryId?: string | undefined;
4185
4260
  name: string;
4186
4261
  description?: string | undefined;
4187
4262
  instructions?: string | undefined;
@@ -4221,6 +4296,24 @@ export interface UpdateProjectionInput {
4221
4296
  export interface UpdateProjectionOutput {
4222
4297
  projection: Projection;
4223
4298
  }
4299
+ /**
4300
+ * @public
4301
+ */
4302
+ export interface UpdateProjectionsCategoryInput {
4303
+ /**
4304
+ * The unique identifier of the tenant when a service token is used.
4305
+ * @public
4306
+ */
4307
+ company?: string | undefined;
4308
+ id: string;
4309
+ name: string;
4310
+ }
4311
+ /**
4312
+ * @public
4313
+ */
4314
+ export interface UpdateProjectionsCategoryOutput {
4315
+ category: ProjectionsCategory;
4316
+ }
4224
4317
  /**
4225
4318
  * @public
4226
4319
  */
@@ -2,11 +2,13 @@ import { CreateDashboardCommandInput, CreateDashboardCommandOutput } from "../co
2
2
  import { CreateFilterCommandInput, CreateFilterCommandOutput } from "../commands/CreateFilterCommand";
3
3
  import { CreatePlaylistCommandInput, CreatePlaylistCommandOutput } from "../commands/CreatePlaylistCommand";
4
4
  import { CreateProjectionCommandInput, CreateProjectionCommandOutput } from "../commands/CreateProjectionCommand";
5
+ import { CreateProjectionsCategoryCommandInput, CreateProjectionsCategoryCommandOutput } from "../commands/CreateProjectionsCategoryCommand";
5
6
  import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "../commands/DeleteDashboardCommand";
6
7
  import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "../commands/DeleteFilterCommand";
7
8
  import { DeletePlaylistCommandInput, DeletePlaylistCommandOutput } from "../commands/DeletePlaylistCommand";
8
9
  import { DeletePlaylistItemCommandInput, DeletePlaylistItemCommandOutput } from "../commands/DeletePlaylistItemCommand";
9
10
  import { DeleteProjectionCommandInput, DeleteProjectionCommandOutput } from "../commands/DeleteProjectionCommand";
11
+ import { DeleteProjectionsCategoryCommandInput, DeleteProjectionsCategoryCommandOutput } from "../commands/DeleteProjectionsCategoryCommand";
10
12
  import { DisableProjectionCommandInput, DisableProjectionCommandOutput } from "../commands/DisableProjectionCommand";
11
13
  import { EnableProjectionCommandInput, EnableProjectionCommandOutput } from "../commands/EnableProjectionCommand";
12
14
  import { GetAnalysisSettingsCommandInput, GetAnalysisSettingsCommandOutput } from "../commands/GetAnalysisSettingsCommand";
@@ -50,6 +52,7 @@ import { UpdatePinnedDashboardsCommandInput, UpdatePinnedDashboardsCommandOutput
50
52
  import { UpdatePlaylistAccessCommandInput, UpdatePlaylistAccessCommandOutput } from "../commands/UpdatePlaylistAccessCommand";
51
53
  import { UpdatePlaylistCommandInput, UpdatePlaylistCommandOutput } from "../commands/UpdatePlaylistCommand";
52
54
  import { UpdateProjectionCommandInput, UpdateProjectionCommandOutput } from "../commands/UpdateProjectionCommand";
55
+ import { UpdateProjectionsCategoryCommandInput, UpdateProjectionsCategoryCommandOutput } from "../commands/UpdateProjectionsCategoryCommand";
53
56
  import { WatchCommandInput, WatchCommandOutput } from "../commands/WatchCommand";
54
57
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
55
58
  import { SerdeContext as __SerdeContext } from "@smithy/types";
@@ -69,6 +72,10 @@ export declare const se_CreatePlaylistCommand: (input: CreatePlaylistCommandInpu
69
72
  * serializeAws_restJson1CreateProjectionCommand
70
73
  */
71
74
  export declare const se_CreateProjectionCommand: (input: CreateProjectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
+ /**
76
+ * serializeAws_restJson1CreateProjectionsCategoryCommand
77
+ */
78
+ export declare const se_CreateProjectionsCategoryCommand: (input: CreateProjectionsCategoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
72
79
  /**
73
80
  * serializeAws_restJson1DeleteDashboardCommand
74
81
  */
@@ -89,6 +96,10 @@ export declare const se_DeletePlaylistItemCommand: (input: DeletePlaylistItemCom
89
96
  * serializeAws_restJson1DeleteProjectionCommand
90
97
  */
91
98
  export declare const se_DeleteProjectionCommand: (input: DeleteProjectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
+ /**
100
+ * serializeAws_restJson1DeleteProjectionsCategoryCommand
101
+ */
102
+ export declare const se_DeleteProjectionsCategoryCommand: (input: DeleteProjectionsCategoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
103
  /**
93
104
  * serializeAws_restJson1DisableProjectionCommand
94
105
  */
@@ -261,6 +272,10 @@ export declare const se_UpdatePlaylistAccessCommand: (input: UpdatePlaylistAcces
261
272
  * serializeAws_restJson1UpdateProjectionCommand
262
273
  */
263
274
  export declare const se_UpdateProjectionCommand: (input: UpdateProjectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
275
+ /**
276
+ * serializeAws_restJson1UpdateProjectionsCategoryCommand
277
+ */
278
+ export declare const se_UpdateProjectionsCategoryCommand: (input: UpdateProjectionsCategoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
264
279
  /**
265
280
  * serializeAws_restJson1WatchCommand
266
281
  */
@@ -281,6 +296,10 @@ export declare const de_CreatePlaylistCommand: (output: __HttpResponse, context:
281
296
  * deserializeAws_restJson1CreateProjectionCommand
282
297
  */
283
298
  export declare const de_CreateProjectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProjectionCommandOutput>;
299
+ /**
300
+ * deserializeAws_restJson1CreateProjectionsCategoryCommand
301
+ */
302
+ export declare const de_CreateProjectionsCategoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProjectionsCategoryCommandOutput>;
284
303
  /**
285
304
  * deserializeAws_restJson1DeleteDashboardCommand
286
305
  */
@@ -301,6 +320,10 @@ export declare const de_DeletePlaylistItemCommand: (output: __HttpResponse, cont
301
320
  * deserializeAws_restJson1DeleteProjectionCommand
302
321
  */
303
322
  export declare const de_DeleteProjectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProjectionCommandOutput>;
323
+ /**
324
+ * deserializeAws_restJson1DeleteProjectionsCategoryCommand
325
+ */
326
+ export declare const de_DeleteProjectionsCategoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProjectionsCategoryCommandOutput>;
304
327
  /**
305
328
  * deserializeAws_restJson1DisableProjectionCommand
306
329
  */
@@ -473,6 +496,10 @@ export declare const de_UpdatePlaylistAccessCommand: (output: __HttpResponse, co
473
496
  * deserializeAws_restJson1UpdateProjectionCommand
474
497
  */
475
498
  export declare const de_UpdateProjectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProjectionCommandOutput>;
499
+ /**
500
+ * deserializeAws_restJson1UpdateProjectionsCategoryCommand
501
+ */
502
+ export declare const de_UpdateProjectionsCategoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProjectionsCategoryCommandOutput>;
476
503
  /**
477
504
  * deserializeAws_restJson1WatchCommand
478
505
  */
@@ -15,8 +15,13 @@ export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  env?: "stage" | "stable" | "prod" | undefined;
17
17
  token: import("@wildix/smithy-utils").TokenProvider;
18
- apiVersion: string;
19
18
  cacheMiddleware?: boolean | undefined;
19
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
20
+ protocolSettings?: {
21
+ [setting: string]: unknown;
22
+ defaultNamespace?: string | undefined;
23
+ } | undefined;
24
+ apiVersion: string;
20
25
  urlParser: import("@smithy/types").UrlParser;
21
26
  base64Decoder: import("@smithy/types").Decoder;
22
27
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -16,8 +16,13 @@ export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
16
16
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
17
17
  env?: "stage" | "stable" | "prod" | undefined;
18
18
  token: import("@wildix/smithy-utils").TokenProvider;
19
- apiVersion: string;
20
19
  cacheMiddleware?: boolean | undefined;
20
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
21
+ protocolSettings?: {
22
+ [setting: string]: unknown;
23
+ defaultNamespace?: string | undefined;
24
+ } | undefined;
25
+ apiVersion: string;
21
26
  urlParser: import("@smithy/types").UrlParser;
22
27
  base64Decoder: import("@smithy/types").Decoder;
23
28
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -8,8 +8,13 @@ export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
8
8
  env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
10
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean | undefined;
12
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
+ protocolSettings?: {
14
+ [setting: string]: unknown;
15
+ defaultNamespace?: string | undefined;
16
+ } | undefined;
17
+ apiVersion: string;
13
18
  urlParser: import("@smithy/types").UrlParser;
14
19
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
20
  streamCollector: import("@smithy/types").StreamCollector;
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.1.35",
4
+ "version": "1.1.38",
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",