@wildix/wda-insights-client 1.1.40 → 1.1.42

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 +369 -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 +185 -5
  19. package/dist-types/commands/EnableProjectionCommand.d.ts +185 -5
  20. package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +256 -0
  21. package/dist-types/commands/GetProjectionCommand.d.ts +185 -5
  22. package/dist-types/commands/ListProjectionsCommand.d.ts +187 -7
  23. package/dist-types/commands/PauseProjectionCommand.d.ts +185 -5
  24. package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +435 -0
  25. package/dist-types/commands/UpdateProjectionCommand.d.ts +369 -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 +181 -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
@@ -2651,6 +2689,11 @@ export interface CreateProjectionInput {
2651
2689
  */
2652
2690
  export interface ProjectionMetadata {
2653
2691
  predefined?: boolean | undefined;
2692
+ /**
2693
+ * True when a predefined projection has tenant-specific overrides applied.
2694
+ * @public
2695
+ */
2696
+ customized?: boolean | undefined;
2654
2697
  }
2655
2698
  /**
2656
2699
  * @public
@@ -2669,13 +2712,44 @@ export type ProjectionStatus = typeof ProjectionStatus[keyof typeof ProjectionSt
2669
2712
  * @public
2670
2713
  */
2671
2714
  export interface Projection {
2672
- categoryId: string;
2715
+ /**
2716
+ * Free-form category label for projection grouping.
2717
+ * @public
2718
+ */
2719
+ category?: string | undefined;
2720
+ /**
2721
+ * Compatibility field for legacy clients. Use `category` instead.
2722
+ *
2723
+ * @deprecated
2724
+ * @public
2725
+ */
2726
+ categoryId?: string | undefined;
2673
2727
  name: string;
2674
2728
  description?: string | undefined;
2675
2729
  instructions?: string | undefined;
2730
+ /**
2731
+ * Deprecated in favor to filter options. Conditions is automatically converted to the filter.
2732
+ *
2733
+ * @deprecated
2734
+ * @public
2735
+ */
2676
2736
  conditions?: (ProjectionCondition)[] | undefined;
2737
+ /**
2738
+ * A Filter for conversations for the projection, if filter is defined and does not match specific conversation it would not be analyzed.
2739
+ * @public
2740
+ */
2741
+ filter?: ListConversationsFilter | undefined;
2742
+ /**
2743
+ * 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.
2744
+ * @public
2745
+ */
2746
+ model?: string | undefined;
2747
+ /**
2748
+ * An execution group for the projection. If specified, only projections from the same group will be combined into a single LLM request.
2749
+ * @public
2750
+ */
2751
+ group?: string | undefined;
2677
2752
  fields: (ProjectionField)[];
2678
- model?: ProjectionModel | undefined;
2679
2753
  id: string;
2680
2754
  status: ProjectionStatus;
2681
2755
  version: number;
@@ -2913,6 +2987,22 @@ export interface FlatAggregationResult {
2913
2987
  */
2914
2988
  buckets: (FlatAggregationBucket)[];
2915
2989
  }
2990
+ /**
2991
+ * @public
2992
+ */
2993
+ export interface GetAnalysisSettingsInput {
2994
+ /**
2995
+ * The unique identifier of the tenant when a service token is used.
2996
+ * @public
2997
+ */
2998
+ company?: string | undefined;
2999
+ }
3000
+ /**
3001
+ * @public
3002
+ */
3003
+ export interface GetAnalysisSettingsOutput {
3004
+ settings: AnalysisSettings;
3005
+ }
2916
3006
  /**
2917
3007
  * @public
2918
3008
  */
@@ -3810,7 +3900,11 @@ export interface ListProjectionsInput {
3810
3900
  */
3811
3901
  export interface ListProjectionsOutput {
3812
3902
  projections: (Projection)[];
3813
- categories: (ProjectionsCategory)[];
3903
+ /**
3904
+ * Compatibility field for legacy clients. Categories are simulated from projection `category`/`categoryId` values.
3905
+ * @public
3906
+ */
3907
+ categories?: (ProjectionsCategory)[] | undefined;
3814
3908
  }
3815
3909
  /**
3816
3910
  * @public
@@ -3869,6 +3963,37 @@ export interface PlaylistAccessNotify {
3869
3963
  emails: (string)[];
3870
3964
  message?: string | undefined;
3871
3965
  }
3966
+ /**
3967
+ * @public
3968
+ */
3969
+ export interface PutAnalysisSettingsInput {
3970
+ /**
3971
+ * Default provider and model identifier for projections that do not define a custom model. Example: 'openai://gpt-5'.
3972
+ * @public
3973
+ */
3974
+ defaultModel?: string | undefined;
3975
+ /**
3976
+ * True to disable analysis completely for the organization.
3977
+ * @public
3978
+ */
3979
+ disabled?: boolean | undefined;
3980
+ /**
3981
+ * 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.
3982
+ * @public
3983
+ */
3984
+ filter?: ListConversationsFilter | undefined;
3985
+ /**
3986
+ * The unique identifier of the tenant when a service token is used.
3987
+ * @public
3988
+ */
3989
+ company?: string | undefined;
3990
+ }
3991
+ /**
3992
+ * @public
3993
+ */
3994
+ export interface PutAnalysisSettingsOutput {
3995
+ settings: AnalysisSettings;
3996
+ }
3872
3997
  /**
3873
3998
  * @public
3874
3999
  */
@@ -4082,13 +4207,44 @@ export interface UpdatePlaylistAccessOutput {
4082
4207
  * @public
4083
4208
  */
4084
4209
  export interface UpdateProjectionInput {
4085
- categoryId: string;
4210
+ /**
4211
+ * Free-form category label for projection grouping.
4212
+ * @public
4213
+ */
4214
+ category?: string | undefined;
4215
+ /**
4216
+ * Compatibility field for legacy clients. Use `category` instead.
4217
+ *
4218
+ * @deprecated
4219
+ * @public
4220
+ */
4221
+ categoryId?: string | undefined;
4086
4222
  name: string;
4087
4223
  description?: string | undefined;
4088
4224
  instructions?: string | undefined;
4225
+ /**
4226
+ * Deprecated in favor to filter options. Conditions is automatically converted to the filter.
4227
+ *
4228
+ * @deprecated
4229
+ * @public
4230
+ */
4089
4231
  conditions?: (ProjectionCondition)[] | undefined;
4232
+ /**
4233
+ * A Filter for conversations for the projection, if filter is defined and does not match specific conversation it would not be analyzed.
4234
+ * @public
4235
+ */
4236
+ filter?: ListConversationsFilter | undefined;
4237
+ /**
4238
+ * 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.
4239
+ * @public
4240
+ */
4241
+ model?: string | undefined;
4242
+ /**
4243
+ * An execution group for the projection. If specified, only projections from the same group will be combined into a single LLM request.
4244
+ * @public
4245
+ */
4246
+ group?: string | undefined;
4090
4247
  fields: (ProjectionField)[];
4091
- model?: ProjectionModel | undefined;
4092
4248
  /**
4093
4249
  * The unique identifier of the tenant when a service token is used.
4094
4250
  * @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.40",
4
+ "version": "1.1.42",
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",