stentor-models 1.53.6 → 1.54.2

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.
@@ -109,7 +109,7 @@ export interface BaseRequest {
109
109
  *
110
110
  * If the channel supports it, it will be populated.
111
111
  */
112
- attributes?: object;
112
+ attributes?: Record<string, unknown>;
113
113
  }
114
114
  export interface ApiAccessData {
115
115
  apiBaseUrl: string;
@@ -62,4 +62,13 @@ export interface Slot {
62
62
  * @memberof Slot
63
63
  */
64
64
  inputText?: string;
65
+ /**
66
+ * The slot will be obfuscated either fully or partially.
67
+ *
68
+ * * Full obfuscation, the slot is replaced with the slot name. "my name is ${first_name}"
69
+ * * Partial obfuscation will only display a subset of characters, enough to protect the full value but enough for someone that is debugging to recognize the value.
70
+ *
71
+ * For some NLU, such as Amazon Lex, any setting on this value will be interpretted as obfuscated, for more information see [Amazon Lex Slot Obfuscation](https://docs.aws.amazon.com/lex/latest/dg/how-obfuscate.html)
72
+ */
73
+ obfuscateValue?: "FULL" | "PARTIAL";
65
74
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.53.6",
7
+ "version": "1.54.2",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "1.40.63"
35
35
  },
36
- "gitHead": "972ba48b38870099fb0a0f9b3df6cd95f159b4d0"
36
+ "gitHead": "02a08c4544b8a941a51c9bcd400f5d214d15059f"
37
37
  }