@wildix/wda-insights-client 1.0.44 → 1.0.45

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.
@@ -37,6 +37,7 @@ const se_CreateProjectionCommand = async (input, context) => {
37
37
  body = JSON.stringify((0, smithy_client_1.take)(input, {
38
38
  'categoryId': [],
39
39
  'conditions': _ => (0, smithy_client_1._json)(_),
40
+ 'description': [],
40
41
  'fields': _ => (0, smithy_client_1._json)(_),
41
42
  'id': [],
42
43
  'instructions': [],
@@ -466,6 +467,7 @@ const se_UpdateProjectionCommand = async (input, context) => {
466
467
  body = JSON.stringify((0, smithy_client_1.take)(input, {
467
468
  'categoryId': [],
468
469
  'conditions': _ => (0, smithy_client_1._json)(_),
470
+ 'description': [],
469
471
  'fields': _ => (0, smithy_client_1._json)(_),
470
472
  'instructions': [],
471
473
  'model': _ => (0, smithy_client_1._json)(_),
@@ -32,6 +32,7 @@ export const se_CreateProjectionCommand = async (input, context) => {
32
32
  body = JSON.stringify(take(input, {
33
33
  'categoryId': [],
34
34
  'conditions': _ => _json(_),
35
+ 'description': [],
35
36
  'fields': _ => _json(_),
36
37
  'id': [],
37
38
  'instructions': [],
@@ -436,6 +437,7 @@ export const se_UpdateProjectionCommand = async (input, context) => {
436
437
  body = JSON.stringify(take(input, {
437
438
  'categoryId': [],
438
439
  'conditions': _ => _json(_),
440
+ 'description': [],
439
441
  'fields': _ => _json(_),
440
442
  'instructions': [],
441
443
  'model': _ => _json(_),
@@ -38,6 +38,7 @@ declare const CreateProjectionCommand_base: {
38
38
  * const input = { // CreateProjectionInput
39
39
  * categoryId: "STRING_VALUE", // required
40
40
  * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
41
42
  * instructions: "STRING_VALUE",
42
43
  * conditions: [ // ProjectionConditionsList
43
44
  * { // ProjectionCondition Union: only one key present
@@ -94,6 +95,7 @@ declare const CreateProjectionCommand_base: {
94
95
  * // projection: { // Projection
95
96
  * // categoryId: "STRING_VALUE", // required
96
97
  * // name: "STRING_VALUE", // required
98
+ * // description: "STRING_VALUE",
97
99
  * // instructions: "STRING_VALUE",
98
100
  * // conditions: [ // ProjectionConditionsList
99
101
  * // { // ProjectionCondition Union: only one key present
@@ -45,6 +45,7 @@ declare const DisableProjectionCommand_base: {
45
45
  * // projection: { // Projection
46
46
  * // categoryId: "STRING_VALUE", // required
47
47
  * // name: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
48
49
  * // instructions: "STRING_VALUE",
49
50
  * // conditions: [ // ProjectionConditionsList
50
51
  * // { // ProjectionCondition Union: only one key present
@@ -45,6 +45,7 @@ declare const EnableProjectionCommand_base: {
45
45
  * // projection: { // Projection
46
46
  * // categoryId: "STRING_VALUE", // required
47
47
  * // name: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
48
49
  * // instructions: "STRING_VALUE",
49
50
  * // conditions: [ // ProjectionConditionsList
50
51
  * // { // ProjectionCondition Union: only one key present
@@ -71,7 +71,7 @@ declare const GetCallSummaryCommand_base: {
71
71
  * // actionItems: "<TranscriptionSummaryJsonArrayItem>",
72
72
  * // nextSteps: "<TranscriptionSummaryJsonArrayItem>",
73
73
  * // csat: { // TranscriptionSummaryCsat
74
- * // score: Number("int"),
74
+ * // score: "STRING_VALUE",
75
75
  * // reason: "STRING_VALUE",
76
76
  * // },
77
77
  * // topics: "<TranscriptionSummaryJsonArrayItem>",
@@ -70,7 +70,7 @@ declare const GetConferenceSummaryCommand_base: {
70
70
  * // actionItems: "<TranscriptionSummaryJsonArrayItem>",
71
71
  * // nextSteps: "<TranscriptionSummaryJsonArrayItem>",
72
72
  * // csat: { // TranscriptionSummaryCsat
73
- * // score: Number("int"),
73
+ * // score: "STRING_VALUE",
74
74
  * // reason: "STRING_VALUE",
75
75
  * // },
76
76
  * // topics: "<TranscriptionSummaryJsonArrayItem>",
@@ -45,6 +45,7 @@ declare const GetProjectionCommand_base: {
45
45
  * // projection: { // Projection
46
46
  * // categoryId: "STRING_VALUE", // required
47
47
  * // name: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
48
49
  * // instructions: "STRING_VALUE",
49
50
  * // conditions: [ // ProjectionConditionsList
50
51
  * // { // ProjectionCondition Union: only one key present
@@ -78,9 +78,16 @@ declare const ListConversationsCommand_base: {
78
78
  * outbound: true || false,
79
79
  * internal: true || false,
80
80
  * },
81
- * insights: { // ListConversationsFilterInsights
82
- * "<keys>": "STRING_VALUE",
83
- * },
81
+ * insights: [ // ListConversationsFilterInsightsList
82
+ * { // ListConversationsFilterInsight
83
+ * projectionId: "STRING_VALUE", // required
84
+ * fieldId: "STRING_VALUE", // required
85
+ * match: "STRING_VALUE",
86
+ * matchAny: [ // StringList
87
+ * "STRING_VALUE",
88
+ * ],
89
+ * },
90
+ * ],
84
91
  * date: { // ListConversationsFilterDate Union: only one key present
85
92
  * absolute: { // ListConversationsFilterAbsoluteDate
86
93
  * from: "STRING_VALUE",
@@ -320,9 +327,12 @@ declare const ListConversationsCommand_base: {
320
327
  * // status: "NONE" || "UNAVAILABLE" || "SCHEDULED" || "STARTED" || "SUCCEEDED" || "FAILED", // required
321
328
  * // title: "STRING_VALUE",
322
329
  * // brief: "STRING_VALUE",
323
- * // insights: { // ListConversationsItemInsights
324
- * // "<keys>": "STRING_VALUE",
325
- * // },
330
+ * // insights: [ // ListConversationsItemInsightsList
331
+ * // { // ListConversationsItemInsight
332
+ * // field: "STRING_VALUE", // required
333
+ * // value: "STRING_VALUE", // required
334
+ * // },
335
+ * // ],
326
336
  * // },
327
337
  * // highlight: { // ListConversationsItemHighlight
328
338
  * // transcription: [ // ListConversationsItemHighlightTranscriptionList
@@ -102,9 +102,16 @@ declare const ListConversationsInsightsCommand_base: {
102
102
  * outbound: true || false,
103
103
  * internal: true || false,
104
104
  * },
105
- * insights: { // ListConversationsFilterInsights
106
- * "<keys>": "STRING_VALUE",
107
- * },
105
+ * insights: [ // ListConversationsFilterInsightsList
106
+ * { // ListConversationsFilterInsight
107
+ * projectionId: "STRING_VALUE", // required
108
+ * fieldId: "STRING_VALUE", // required
109
+ * match: "STRING_VALUE",
110
+ * matchAny: [ // StringList
111
+ * "STRING_VALUE",
112
+ * ],
113
+ * },
114
+ * ],
108
115
  * date: { // ListConversationsFilterDate Union: only one key present
109
116
  * absolute: { // ListConversationsFilterAbsoluteDate
110
117
  * from: "STRING_VALUE",
@@ -45,6 +45,7 @@ declare const ListProjectionsCommand_base: {
45
45
  * // { // Projection
46
46
  * // categoryId: "STRING_VALUE", // required
47
47
  * // name: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
48
49
  * // instructions: "STRING_VALUE",
49
50
  * // conditions: [ // ProjectionConditionsList
50
51
  * // { // ProjectionCondition Union: only one key present
@@ -78,9 +78,16 @@ declare const QueryConversationsCountCommand_base: {
78
78
  * outbound: true || false,
79
79
  * internal: true || false,
80
80
  * },
81
- * insights: { // ListConversationsFilterInsights
82
- * "<keys>": "STRING_VALUE",
83
- * },
81
+ * insights: [ // ListConversationsFilterInsightsList
82
+ * { // ListConversationsFilterInsight
83
+ * projectionId: "STRING_VALUE", // required
84
+ * fieldId: "STRING_VALUE", // required
85
+ * match: "STRING_VALUE",
86
+ * matchAny: [ // StringList
87
+ * "STRING_VALUE",
88
+ * ],
89
+ * },
90
+ * ],
84
91
  * date: { // ListConversationsFilterDate Union: only one key present
85
92
  * absolute: { // ListConversationsFilterAbsoluteDate
86
93
  * from: "STRING_VALUE",
@@ -38,6 +38,7 @@ declare const UpdateProjectionCommand_base: {
38
38
  * const input = { // UpdateProjectionInput
39
39
  * categoryId: "STRING_VALUE", // required
40
40
  * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
41
42
  * instructions: "STRING_VALUE",
42
43
  * conditions: [ // ProjectionConditionsList
43
44
  * { // ProjectionCondition Union: only one key present
@@ -94,6 +95,7 @@ declare const UpdateProjectionCommand_base: {
94
95
  * // projection: { // Projection
95
96
  * // categoryId: "STRING_VALUE", // required
96
97
  * // name: "STRING_VALUE", // required
98
+ * // description: "STRING_VALUE",
97
99
  * // instructions: "STRING_VALUE",
98
100
  * // conditions: [ // ProjectionConditionsList
99
101
  * // { // ProjectionCondition Union: only one key present
@@ -970,6 +970,7 @@ export interface ProjectionModel {
970
970
  export interface CreateProjectionInput {
971
971
  categoryId: string;
972
972
  name: string;
973
+ description?: string | undefined;
973
974
  instructions?: string | undefined;
974
975
  conditions?: (ProjectionCondition)[] | undefined;
975
976
  fields: (ProjectionField)[];
@@ -999,6 +1000,7 @@ export type ProjectionStatus = typeof ProjectionStatus[keyof typeof ProjectionSt
999
1000
  export interface Projection {
1000
1001
  categoryId: string;
1001
1002
  name: string;
1003
+ description?: string | undefined;
1002
1004
  instructions?: string | undefined;
1003
1005
  conditions?: (ProjectionCondition)[] | undefined;
1004
1006
  fields: (ProjectionField)[];
@@ -1325,7 +1327,7 @@ export interface GetCallSummaryInput {
1325
1327
  * @public
1326
1328
  */
1327
1329
  export interface TranscriptionSummaryCsat {
1328
- score?: number | undefined;
1330
+ score?: string | undefined;
1329
1331
  reason?: string | undefined;
1330
1332
  }
1331
1333
  /**
@@ -1579,6 +1581,15 @@ export interface ListConversationsFilterDuration {
1579
1581
  from?: number | undefined;
1580
1582
  to?: number | undefined;
1581
1583
  }
1584
+ /**
1585
+ * @public
1586
+ */
1587
+ export interface ListConversationsFilterInsight {
1588
+ projectionId: string;
1589
+ fieldId: string;
1590
+ match?: string | undefined;
1591
+ matchAny?: (string)[] | undefined;
1592
+ }
1582
1593
  /**
1583
1594
  * @public
1584
1595
  */
@@ -1636,7 +1647,7 @@ export interface ListConversationsFilter {
1636
1647
  recorded?: boolean | undefined;
1637
1648
  transcribed?: boolean | undefined;
1638
1649
  direction?: ListConversationsFilterDirection | undefined;
1639
- insights?: Record<string, string> | undefined;
1650
+ insights?: (ListConversationsFilterInsight)[] | undefined;
1640
1651
  date?: ListConversationsFilterDate | undefined;
1641
1652
  }
1642
1653
  /**
@@ -1708,6 +1719,13 @@ export interface ListConversationsItemHighlight {
1708
1719
  summary?: ListConversationsItemHighlightSummary | undefined;
1709
1720
  subject?: string | undefined;
1710
1721
  }
1722
+ /**
1723
+ * @public
1724
+ */
1725
+ export interface ListConversationsItemInsight {
1726
+ field: string;
1727
+ value: string;
1728
+ }
1711
1729
  /**
1712
1730
  * @public
1713
1731
  */
@@ -1715,7 +1733,7 @@ export interface ListConversationsItemSummary {
1715
1733
  status: InsightsStatus;
1716
1734
  title?: string | undefined;
1717
1735
  brief?: string | undefined;
1718
- insights?: Record<string, string> | undefined;
1736
+ insights?: (ListConversationsItemInsight)[] | undefined;
1719
1737
  }
1720
1738
  /**
1721
1739
  * @public
@@ -1871,6 +1889,7 @@ export interface UpdateFilterOutput {
1871
1889
  export interface UpdateProjectionInput {
1872
1890
  categoryId: string;
1873
1891
  name: string;
1892
+ description?: string | undefined;
1874
1893
  instructions?: string | undefined;
1875
1894
  conditions?: (ProjectionCondition)[] | undefined;
1876
1895
  fields: (ProjectionField)[];
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.44",
4
+ "version": "1.0.45",
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",