@wildix/wda-insights-client 1.1.39 → 1.1.41

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 (30) hide show
  1. package/dist-cjs/WdaInsights.js +4 -0
  2. package/dist-cjs/commands/GetAnalysisSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/PutAnalysisSettingsCommand.js +21 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/models/models_0.js +2 -5
  6. package/dist-cjs/protocols/Aws_restJson1.js +118 -12
  7. package/dist-es/WdaInsights.js +4 -0
  8. package/dist-es/commands/GetAnalysisSettingsCommand.js +17 -0
  9. package/dist-es/commands/PutAnalysisSettingsCommand.js +17 -0
  10. package/dist-es/commands/index.js +2 -0
  11. package/dist-es/models/models_0.js +0 -3
  12. package/dist-es/protocols/Aws_restJson1.js +111 -9
  13. package/dist-types/WdaInsights.d.ts +16 -0
  14. package/dist-types/WdaInsightsClient.d.ts +4 -2
  15. package/dist-types/commands/CreateProjectionCommand.d.ts +368 -10
  16. package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +3 -1
  17. package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +3 -1
  18. package/dist-types/commands/DisableProjectionCommand.d.ts +184 -5
  19. package/dist-types/commands/EnableProjectionCommand.d.ts +184 -5
  20. package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +256 -0
  21. package/dist-types/commands/GetProjectionCommand.d.ts +184 -5
  22. package/dist-types/commands/ListProjectionsCommand.d.ts +186 -7
  23. package/dist-types/commands/PauseProjectionCommand.d.ts +184 -5
  24. package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +435 -0
  25. package/dist-types/commands/UpdateProjectionCommand.d.ts +368 -10
  26. package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +3 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +176 -25
  29. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  30. package/package.json +1 -1
@@ -2123,6 +2123,26 @@ export declare const AggregationDateInterval: {
2123
2123
  * @public
2124
2124
  */
2125
2125
  export type AggregationDateInterval = typeof AggregationDateInterval[keyof typeof AggregationDateInterval];
2126
+ /**
2127
+ * @public
2128
+ */
2129
+ export interface AnalysisSettings {
2130
+ /**
2131
+ * Default provider and model identifier for projections that do not define a custom model. Example: 'openai://gpt-5'.
2132
+ * @public
2133
+ */
2134
+ defaultModel?: string | undefined;
2135
+ /**
2136
+ * True to disable analysis completely for the organization.
2137
+ * @public
2138
+ */
2139
+ disabled?: boolean | undefined;
2140
+ /**
2141
+ * A Filter for conversations that SI would work for applied to the organization, if filter is defined and does not match specific conversation it would not be analyzed.
2142
+ * @public
2143
+ */
2144
+ filter?: ListConversationsFilter | undefined;
2145
+ }
2126
2146
  /**
2127
2147
  * @public
2128
2148
  */
@@ -2551,6 +2571,11 @@ export interface ProjectionSelectionParameter {
2551
2571
  options: (string)[];
2552
2572
  multi?: boolean | undefined;
2553
2573
  adaptive?: boolean | undefined;
2574
+ /**
2575
+ * Options generated by AI when adaptive mode was enabled.
2576
+ * @public
2577
+ */
2578
+ adaptiveOptions?: (string)[] | undefined;
2554
2579
  }
2555
2580
  /**
2556
2581
  * @public
@@ -2610,35 +2635,48 @@ export interface ProjectionField {
2610
2635
  optional?: boolean | undefined;
2611
2636
  parameter: ProjectionParameter;
2612
2637
  }
2613
- /**
2614
- * @public
2615
- * @enum
2616
- */
2617
- export declare const ProjectionProvider: {
2618
- readonly OPENAI: "OPENAI";
2619
- };
2620
- /**
2621
- * @public
2622
- */
2623
- export type ProjectionProvider = typeof ProjectionProvider[keyof typeof ProjectionProvider];
2624
- /**
2625
- * @public
2626
- */
2627
- export interface ProjectionModel {
2628
- provider?: ProjectionProvider | undefined;
2629
- name?: string | undefined;
2630
- }
2631
2638
  /**
2632
2639
  * @public
2633
2640
  */
2634
2641
  export interface CreateProjectionInput {
2635
- categoryId: string;
2642
+ /**
2643
+ * Free-form category label for projection grouping.
2644
+ * @public
2645
+ */
2646
+ category?: string | undefined;
2647
+ /**
2648
+ * Compatibility field for legacy clients. Use `category` instead.
2649
+ *
2650
+ * @deprecated
2651
+ * @public
2652
+ */
2653
+ categoryId?: string | undefined;
2636
2654
  name: string;
2637
2655
  description?: string | undefined;
2638
2656
  instructions?: string | undefined;
2657
+ /**
2658
+ * Deprecated in favor to filter options. Conditions is automatically converted to the filter.
2659
+ *
2660
+ * @deprecated
2661
+ * @public
2662
+ */
2639
2663
  conditions?: (ProjectionCondition)[] | undefined;
2664
+ /**
2665
+ * A Filter for conversations for the projection, if filter is defined and does not match specific conversation it would not be analyzed.
2666
+ * @public
2667
+ */
2668
+ filter?: ListConversationsFilter | undefined;
2669
+ /**
2670
+ * Provider and model identifier to be used for the projection. Examples: 'openai://gpt-5' or 'google://gemini-3-pro'. This allows a specific projection to use the specified model.
2671
+ * @public
2672
+ */
2673
+ model?: string | undefined;
2674
+ /**
2675
+ * An execution group for the projection. If specified, only projections from the same group will be combined into a single LLM request.
2676
+ * @public
2677
+ */
2678
+ group?: string | undefined;
2640
2679
  fields: (ProjectionField)[];
2641
- model?: ProjectionModel | undefined;
2642
2680
  /**
2643
2681
  * The unique identifier of the tenant when a service token is used.
2644
2682
  * @public
@@ -2669,13 +2707,44 @@ export type ProjectionStatus = typeof ProjectionStatus[keyof typeof ProjectionSt
2669
2707
  * @public
2670
2708
  */
2671
2709
  export interface Projection {
2672
- categoryId: string;
2710
+ /**
2711
+ * Free-form category label for projection grouping.
2712
+ * @public
2713
+ */
2714
+ category?: string | undefined;
2715
+ /**
2716
+ * Compatibility field for legacy clients. Use `category` instead.
2717
+ *
2718
+ * @deprecated
2719
+ * @public
2720
+ */
2721
+ categoryId?: string | undefined;
2673
2722
  name: string;
2674
2723
  description?: string | undefined;
2675
2724
  instructions?: string | undefined;
2725
+ /**
2726
+ * Deprecated in favor to filter options. Conditions is automatically converted to the filter.
2727
+ *
2728
+ * @deprecated
2729
+ * @public
2730
+ */
2676
2731
  conditions?: (ProjectionCondition)[] | undefined;
2732
+ /**
2733
+ * A Filter for conversations for the projection, if filter is defined and does not match specific conversation it would not be analyzed.
2734
+ * @public
2735
+ */
2736
+ filter?: ListConversationsFilter | undefined;
2737
+ /**
2738
+ * Provider and model identifier to be used for the projection. Examples: 'openai://gpt-5' or 'google://gemini-3-pro'. This allows a specific projection to use the specified model.
2739
+ * @public
2740
+ */
2741
+ model?: string | undefined;
2742
+ /**
2743
+ * An execution group for the projection. If specified, only projections from the same group will be combined into a single LLM request.
2744
+ * @public
2745
+ */
2746
+ group?: string | undefined;
2677
2747
  fields: (ProjectionField)[];
2678
- model?: ProjectionModel | undefined;
2679
2748
  id: string;
2680
2749
  status: ProjectionStatus;
2681
2750
  version: number;
@@ -2913,6 +2982,22 @@ export interface FlatAggregationResult {
2913
2982
  */
2914
2983
  buckets: (FlatAggregationBucket)[];
2915
2984
  }
2985
+ /**
2986
+ * @public
2987
+ */
2988
+ export interface GetAnalysisSettingsInput {
2989
+ /**
2990
+ * The unique identifier of the tenant when a service token is used.
2991
+ * @public
2992
+ */
2993
+ company?: string | undefined;
2994
+ }
2995
+ /**
2996
+ * @public
2997
+ */
2998
+ export interface GetAnalysisSettingsOutput {
2999
+ settings: AnalysisSettings;
3000
+ }
2916
3001
  /**
2917
3002
  * @public
2918
3003
  */
@@ -3810,7 +3895,11 @@ export interface ListProjectionsInput {
3810
3895
  */
3811
3896
  export interface ListProjectionsOutput {
3812
3897
  projections: (Projection)[];
3813
- categories: (ProjectionsCategory)[];
3898
+ /**
3899
+ * Compatibility field for legacy clients. Categories are simulated from projection `category`/`categoryId` values.
3900
+ * @public
3901
+ */
3902
+ categories?: (ProjectionsCategory)[] | undefined;
3814
3903
  }
3815
3904
  /**
3816
3905
  * @public
@@ -3869,6 +3958,37 @@ export interface PlaylistAccessNotify {
3869
3958
  emails: (string)[];
3870
3959
  message?: string | undefined;
3871
3960
  }
3961
+ /**
3962
+ * @public
3963
+ */
3964
+ export interface PutAnalysisSettingsInput {
3965
+ /**
3966
+ * Default provider and model identifier for projections that do not define a custom model. Example: 'openai://gpt-5'.
3967
+ * @public
3968
+ */
3969
+ defaultModel?: string | undefined;
3970
+ /**
3971
+ * True to disable analysis completely for the organization.
3972
+ * @public
3973
+ */
3974
+ disabled?: boolean | undefined;
3975
+ /**
3976
+ * A Filter for conversations that SI would work for applied to the organization, if filter is defined and does not match specific conversation it would not be analyzed.
3977
+ * @public
3978
+ */
3979
+ filter?: ListConversationsFilter | undefined;
3980
+ /**
3981
+ * The unique identifier of the tenant when a service token is used.
3982
+ * @public
3983
+ */
3984
+ company?: string | undefined;
3985
+ }
3986
+ /**
3987
+ * @public
3988
+ */
3989
+ export interface PutAnalysisSettingsOutput {
3990
+ settings: AnalysisSettings;
3991
+ }
3872
3992
  /**
3873
3993
  * @public
3874
3994
  */
@@ -4082,13 +4202,44 @@ export interface UpdatePlaylistAccessOutput {
4082
4202
  * @public
4083
4203
  */
4084
4204
  export interface UpdateProjectionInput {
4085
- categoryId: string;
4205
+ /**
4206
+ * Free-form category label for projection grouping.
4207
+ * @public
4208
+ */
4209
+ category?: string | undefined;
4210
+ /**
4211
+ * Compatibility field for legacy clients. Use `category` instead.
4212
+ *
4213
+ * @deprecated
4214
+ * @public
4215
+ */
4216
+ categoryId?: string | undefined;
4086
4217
  name: string;
4087
4218
  description?: string | undefined;
4088
4219
  instructions?: string | undefined;
4220
+ /**
4221
+ * Deprecated in favor to filter options. Conditions is automatically converted to the filter.
4222
+ *
4223
+ * @deprecated
4224
+ * @public
4225
+ */
4089
4226
  conditions?: (ProjectionCondition)[] | undefined;
4227
+ /**
4228
+ * A Filter for conversations for the projection, if filter is defined and does not match specific conversation it would not be analyzed.
4229
+ * @public
4230
+ */
4231
+ filter?: ListConversationsFilter | undefined;
4232
+ /**
4233
+ * Provider and model identifier to be used for the projection. Examples: 'openai://gpt-5' or 'google://gemini-3-pro'. This allows a specific projection to use the specified model.
4234
+ * @public
4235
+ */
4236
+ model?: string | undefined;
4237
+ /**
4238
+ * An execution group for the projection. If specified, only projections from the same group will be combined into a single LLM request.
4239
+ * @public
4240
+ */
4241
+ group?: string | undefined;
4090
4242
  fields: (ProjectionField)[];
4091
- model?: ProjectionModel | undefined;
4092
4243
  /**
4093
4244
  * The unique identifier of the tenant when a service token is used.
4094
4245
  * @public
@@ -11,6 +11,7 @@ import { DeleteProjectionCommandInput, DeleteProjectionCommandOutput } from "../
11
11
  import { DeleteProjectionsCategoryCommandInput, DeleteProjectionsCategoryCommandOutput } from "../commands/DeleteProjectionsCategoryCommand";
12
12
  import { DisableProjectionCommandInput, DisableProjectionCommandOutput } from "../commands/DisableProjectionCommand";
13
13
  import { EnableProjectionCommandInput, EnableProjectionCommandOutput } from "../commands/EnableProjectionCommand";
14
+ import { GetAnalysisSettingsCommandInput, GetAnalysisSettingsCommandOutput } from "../commands/GetAnalysisSettingsCommand";
14
15
  import { GetCallCharacteristicsCommandInput, GetCallCharacteristicsCommandOutput } from "../commands/GetCallCharacteristicsCommand";
15
16
  import { GetCallInsightsCommandInput, GetCallInsightsCommandOutput } from "../commands/GetCallInsightsCommand";
16
17
  import { GetCallStateCommandInput, GetCallStateCommandOutput } from "../commands/GetCallStateCommand";
@@ -39,6 +40,7 @@ import { ListPlaylistsCommandInput, ListPlaylistsCommandOutput } from "../comman
39
40
  import { ListProjectionsCommandInput, ListProjectionsCommandOutput } from "../commands/ListProjectionsCommand";
40
41
  import { ListWatchHistoryCommandInput, ListWatchHistoryCommandOutput } from "../commands/ListWatchHistoryCommand";
41
42
  import { PauseProjectionCommandInput, PauseProjectionCommandOutput } from "../commands/PauseProjectionCommand";
43
+ import { PutAnalysisSettingsCommandInput, PutAnalysisSettingsCommandOutput } from "../commands/PutAnalysisSettingsCommand";
42
44
  import { PutPlaylistItemCommandInput, PutPlaylistItemCommandOutput } from "../commands/PutPlaylistItemCommand";
43
45
  import { QueryConversationsCountCommandInput, QueryConversationsCountCommandOutput } from "../commands/QueryConversationsCountCommand";
44
46
  import { ScheduleCallSummaryGenerationCommandInput, ScheduleCallSummaryGenerationCommandOutput } from "../commands/ScheduleCallSummaryGenerationCommand";
@@ -106,6 +108,10 @@ export declare const se_DisableProjectionCommand: (input: DisableProjectionComma
106
108
  * serializeAws_restJson1EnableProjectionCommand
107
109
  */
108
110
  export declare const se_EnableProjectionCommand: (input: EnableProjectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
+ /**
112
+ * serializeAws_restJson1GetAnalysisSettingsCommand
113
+ */
114
+ export declare const se_GetAnalysisSettingsCommand: (input: GetAnalysisSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
115
  /**
110
116
  * serializeAws_restJson1GetCallCharacteristicsCommand
111
117
  */
@@ -218,6 +224,10 @@ export declare const se_ListWatchHistoryCommand: (input: ListWatchHistoryCommand
218
224
  * serializeAws_restJson1PauseProjectionCommand
219
225
  */
220
226
  export declare const se_PauseProjectionCommand: (input: PauseProjectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
227
+ /**
228
+ * serializeAws_restJson1PutAnalysisSettingsCommand
229
+ */
230
+ export declare const se_PutAnalysisSettingsCommand: (input: PutAnalysisSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
221
231
  /**
222
232
  * serializeAws_restJson1PutPlaylistItemCommand
223
233
  */
@@ -322,6 +332,10 @@ export declare const de_DisableProjectionCommand: (output: __HttpResponse, conte
322
332
  * deserializeAws_restJson1EnableProjectionCommand
323
333
  */
324
334
  export declare const de_EnableProjectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableProjectionCommandOutput>;
335
+ /**
336
+ * deserializeAws_restJson1GetAnalysisSettingsCommand
337
+ */
338
+ export declare const de_GetAnalysisSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAnalysisSettingsCommandOutput>;
325
339
  /**
326
340
  * deserializeAws_restJson1GetCallCharacteristicsCommand
327
341
  */
@@ -434,6 +448,10 @@ export declare const de_ListWatchHistoryCommand: (output: __HttpResponse, contex
434
448
  * deserializeAws_restJson1PauseProjectionCommand
435
449
  */
436
450
  export declare const de_PauseProjectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PauseProjectionCommandOutput>;
451
+ /**
452
+ * deserializeAws_restJson1PutAnalysisSettingsCommand
453
+ */
454
+ export declare const de_PutAnalysisSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAnalysisSettingsCommandOutput>;
437
455
  /**
438
456
  * deserializeAws_restJson1PutPlaylistItemCommand
439
457
  */
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.39",
4
+ "version": "1.1.41",
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",