@helpai/elements 6.8.0 → 6.9.0

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.
package/index.d.ts CHANGED
@@ -521,11 +521,12 @@ type PageToolCallStatus = 'completed' | 'failed' | 'interrupted';
521
521
  /** A 👍/👎 reaction on a rateable (assistant/operator) message; `null` clears a prior choice. */
522
522
  type FeedbackValue = 'up' | 'down' | null;
523
523
  /**
524
- * What an opened step shows: `values`, its values as quiet label and value lines without ids; `table`, tables of what
525
- * it ran on (ids included) and what came back; `json`, its raw input and result; `table-and-json`, the tables with
526
- * the JSON folded under Raw data.
524
+ * What an opened step shows: `none`, nothing (the step line alone, for a business that never shows a visitor's data
525
+ * back); `values`, its values as quiet label and value lines without ids; `table`, tables of what it ran on (ids
526
+ * included) and what came back; `json`, its raw input and result; `table-and-json`, the tables with the JSON folded
527
+ * under Raw data. A step waiting on a decision shows its values whatever this says.
527
528
  */
528
- declare const STEP_DETAILS: readonly ['values', 'table', 'json', 'table-and-json'];
529
+ declare const STEP_DETAILS: readonly ['none', 'values', 'table', 'json', 'table-and-json'];
529
530
  type StepDetails = (typeof STEP_DETAILS)[number];
530
531
  /** The settings, the same keys on a Deployment (`config.behavior.stepDisplay`) and in a member's Preferences. */
531
532
  interface StepDisplay {
@@ -1161,6 +1162,7 @@ declare const widgetSettingsSchema: z.ZodObject<{
1161
1162
  showSteps: z.ZodOptional<z.ZodBoolean>;
1162
1163
  stepDetails: z.ZodOptional<z.ZodEnum<{
1163
1164
  json: "json";
1165
+ none: "none";
1164
1166
  table: "table";
1165
1167
  "table-and-json": "table-and-json";
1166
1168
  values: "values";
@@ -1451,6 +1453,7 @@ declare const widgetConfigSchema: z.ZodObject<{
1451
1453
  showSteps: z.ZodOptional<z.ZodBoolean>;
1452
1454
  stepDetails: z.ZodOptional<z.ZodEnum<{
1453
1455
  json: "json";
1456
+ none: "none";
1454
1457
  table: "table";
1455
1458
  "table-and-json": "table-and-json";
1456
1459
  values: "values";
@@ -1742,6 +1745,7 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
1742
1745
  showSteps: z.ZodOptional<z.ZodBoolean>;
1743
1746
  stepDetails: z.ZodOptional<z.ZodEnum<{
1744
1747
  json: "json";
1748
+ none: "none";
1745
1749
  table: "table";
1746
1750
  "table-and-json": "table-and-json";
1747
1751
  values: "values";
@@ -1995,6 +1999,7 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
1995
1999
  showSteps: z.ZodOptional<z.ZodBoolean>;
1996
2000
  stepDetails: z.ZodOptional<z.ZodEnum<{
1997
2001
  json: "json";
2002
+ none: "none";
1998
2003
  table: "table";
1999
2004
  "table-and-json": "table-and-json";
2000
2005
  values: "values";
@@ -2303,6 +2308,7 @@ declare const serverConfigSchema: z.ZodObject<{
2303
2308
  showSteps: z.ZodOptional<z.ZodBoolean>;
2304
2309
  stepDetails: z.ZodOptional<z.ZodEnum<{
2305
2310
  json: "json";
2311
+ none: "none";
2306
2312
  table: "table";
2307
2313
  "table-and-json": "table-and-json";
2308
2314
  values: "values";
@@ -2633,6 +2639,7 @@ declare const handshakeResponseSchema: z.ZodObject<{
2633
2639
  showSteps: z.ZodOptional<z.ZodBoolean>;
2634
2640
  stepDetails: z.ZodOptional<z.ZodEnum<{
2635
2641
  json: "json";
2642
+ none: "none";
2636
2643
  table: "table";
2637
2644
  "table-and-json": "table-and-json";
2638
2645
  values: "values";