@nlxai/touchpoint-ui 1.2.1 → 1.2.2-alpha.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.
@@ -12,7 +12,7 @@ Controls whether the Touchpoint UI is expanded or collapsed
12
12
 
13
13
  #### Defined in
14
14
 
15
- [packages/touchpoint-ui/src/index.tsx:186](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/index.tsx#L186)
15
+ [packages/touchpoint-ui/src/interface.ts:476](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/interface.ts#L476)
16
16
 
17
17
  ___
18
18
 
@@ -24,7 +24,7 @@ The conversation handler instance for interacting with the application
24
24
 
25
25
  #### Defined in
26
26
 
27
- [packages/touchpoint-ui/src/index.tsx:190](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/index.tsx#L190)
27
+ [packages/touchpoint-ui/src/interface.ts:480](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/interface.ts#L480)
28
28
 
29
29
  ___
30
30
 
@@ -44,4 +44,78 @@ Method to remove the Touchpoint UI from the DOM
44
44
 
45
45
  #### Defined in
46
46
 
47
- [packages/touchpoint-ui/src/index.tsx:194](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/index.tsx#L194)
47
+ [packages/touchpoint-ui/src/interface.ts:484](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/interface.ts#L484)
48
+
49
+ ___
50
+
51
+ ### setCustomBidirectionalCommands
52
+
53
+ • **setCustomBidirectionalCommands**: (`commands`: [`BidirectionalCustomCommand`](BidirectionalCustomCommand.md)[]) => `void`
54
+
55
+ Sets currently available custom bidirectional commands.
56
+ This allows you to define custom commands that can be used in the voice bot.
57
+ The commands will be available in the voice bot and can be used to trigger actions.
58
+
59
+ Example:
60
+ ```javascript
61
+ client.setCustomBidirectionalCommands([
62
+ {
63
+ action: "Meal",
64
+ description: "add a meal to your flight",
65
+ schema: {
66
+ enum: ["standard", "vegetarian", "vegan", "gluten-free"],
67
+ },
68
+ handler: (value) => {
69
+ console.log("Meal option:", value);
70
+ },
71
+ },
72
+ ]);
73
+ ```
74
+
75
+ This will allow the voice bot to use the command `Meal` with the value `standard`, `vegetarian`, `vegan`, or `gluten-free`.
76
+
77
+ When using more complex arguments, a library such as [Zod](https://zod.dev) can be useful:
78
+
79
+ ```javascript
80
+ import * as z from "zod/v4";
81
+
82
+ const schema = z.object({
83
+ "name": z.string().describe("The customer's name, such as John Doe"),
84
+ "email": z.string().email().describe("The customer's email address"),
85
+ });
86
+
87
+ client.setCustomBidirectionalCommands([
88
+ {
89
+ action: "Meal",
90
+ description: "add a meal to your flight",
91
+ schema: z.toJSONSchema(schema, {io: "input"}),
92
+ handler: (value) => {
93
+ const result = z.safeParse(schema, value);
94
+ if (result.success) {
95
+ // result.data is now type safe and TypeScript can reason about it
96
+ console.log("Meal option:", result.data);
97
+ } else {
98
+ console.error("Failed to parse Meal option:", result.error);
99
+ }
100
+ },
101
+ },
102
+ ]);
103
+ ```
104
+
105
+ #### Type declaration
106
+
107
+ ▸ (`commands`): `void`
108
+
109
+ ##### Parameters
110
+
111
+ | Name | Type | Description |
112
+ | :------ | :------ | :------ |
113
+ | `commands` | [`BidirectionalCustomCommand`](BidirectionalCustomCommand.md)[] | A list containing the custom commands to set. |
114
+
115
+ ##### Returns
116
+
117
+ `void`
118
+
119
+ #### Defined in
120
+
121
+ [packages/touchpoint-ui/src/interface.ts:538](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/interface.ts#L538)
@@ -14,7 +14,7 @@ Type definition for an icon component
14
14
 
15
15
  #### Defined in
16
16
 
17
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:21](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L21)
17
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:21](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L21)
18
18
 
19
19
  ## Functions
20
20
 
@@ -35,7 +35,7 @@ Type definition for an icon component
35
35
 
36
36
  #### Defined in
37
37
 
38
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:29](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L29)
38
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:29](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L29)
39
39
 
40
40
  ___
41
41
 
@@ -56,7 +56,7 @@ ___
56
56
 
57
57
  #### Defined in
58
58
 
59
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:40](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L40)
59
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:40](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L40)
60
60
 
61
61
  ___
62
62
 
@@ -77,7 +77,7 @@ ___
77
77
 
78
78
  #### Defined in
79
79
 
80
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:67](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L67)
80
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:67](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L67)
81
81
 
82
82
  ___
83
83
 
@@ -98,7 +98,7 @@ ___
98
98
 
99
99
  #### Defined in
100
100
 
101
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:78](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L78)
101
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:78](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L78)
102
102
 
103
103
  ___
104
104
 
@@ -119,7 +119,7 @@ ___
119
119
 
120
120
  #### Defined in
121
121
 
122
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:86](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L86)
122
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:86](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L86)
123
123
 
124
124
  ___
125
125
 
@@ -140,7 +140,7 @@ ___
140
140
 
141
141
  #### Defined in
142
142
 
143
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:97](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L97)
143
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:97](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L97)
144
144
 
145
145
  ___
146
146
 
@@ -161,7 +161,7 @@ ___
161
161
 
162
162
  #### Defined in
163
163
 
164
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:108](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L108)
164
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:108](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L108)
165
165
 
166
166
  ___
167
167
 
@@ -182,7 +182,7 @@ ___
182
182
 
183
183
  #### Defined in
184
184
 
185
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:119](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L119)
185
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:119](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L119)
186
186
 
187
187
  ___
188
188
 
@@ -203,7 +203,7 @@ ___
203
203
 
204
204
  #### Defined in
205
205
 
206
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:130](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L130)
206
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:130](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L130)
207
207
 
208
208
  ___
209
209
 
@@ -224,7 +224,7 @@ ___
224
224
 
225
225
  #### Defined in
226
226
 
227
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:141](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L141)
227
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:141](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L141)
228
228
 
229
229
  ___
230
230
 
@@ -245,7 +245,7 @@ ___
245
245
 
246
246
  #### Defined in
247
247
 
248
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:152](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L152)
248
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:152](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L152)
249
249
 
250
250
  ___
251
251
 
@@ -266,7 +266,7 @@ ___
266
266
 
267
267
  #### Defined in
268
268
 
269
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:167](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L167)
269
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:167](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L167)
270
270
 
271
271
  ___
272
272
 
@@ -287,7 +287,7 @@ ___
287
287
 
288
288
  #### Defined in
289
289
 
290
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:178](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L178)
290
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:178](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L178)
291
291
 
292
292
  ___
293
293
 
@@ -308,7 +308,7 @@ ___
308
308
 
309
309
  #### Defined in
310
310
 
311
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:189](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L189)
311
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:189](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L189)
312
312
 
313
313
  ___
314
314
 
@@ -329,7 +329,7 @@ ___
329
329
 
330
330
  #### Defined in
331
331
 
332
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:200](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L200)
332
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:200](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L200)
333
333
 
334
334
  ___
335
335
 
@@ -350,7 +350,7 @@ ___
350
350
 
351
351
  #### Defined in
352
352
 
353
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:211](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L211)
353
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:211](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L211)
354
354
 
355
355
  ___
356
356
 
@@ -371,7 +371,7 @@ ___
371
371
 
372
372
  #### Defined in
373
373
 
374
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:225](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L225)
374
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:225](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L225)
375
375
 
376
376
  ___
377
377
 
@@ -392,7 +392,7 @@ ___
392
392
 
393
393
  #### Defined in
394
394
 
395
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:248](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L248)
395
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:248](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L248)
396
396
 
397
397
  ___
398
398
 
@@ -413,7 +413,7 @@ ___
413
413
 
414
414
  #### Defined in
415
415
 
416
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:259](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L259)
416
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:259](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L259)
417
417
 
418
418
  ___
419
419
 
@@ -434,7 +434,7 @@ ___
434
434
 
435
435
  #### Defined in
436
436
 
437
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:270](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L270)
437
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:270](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L270)
438
438
 
439
439
  ___
440
440
 
@@ -455,7 +455,7 @@ ___
455
455
 
456
456
  #### Defined in
457
457
 
458
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:281](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L281)
458
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:281](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L281)
459
459
 
460
460
  ___
461
461
 
@@ -476,7 +476,7 @@ ___
476
476
 
477
477
  #### Defined in
478
478
 
479
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:292](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L292)
479
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:292](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L292)
480
480
 
481
481
  ___
482
482
 
@@ -497,7 +497,7 @@ ___
497
497
 
498
498
  #### Defined in
499
499
 
500
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:303](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L303)
500
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:303](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L303)
501
501
 
502
502
  ___
503
503
 
@@ -518,7 +518,7 @@ ___
518
518
 
519
519
  #### Defined in
520
520
 
521
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:314](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L314)
521
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:314](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L314)
522
522
 
523
523
  ___
524
524
 
@@ -539,7 +539,7 @@ ___
539
539
 
540
540
  #### Defined in
541
541
 
542
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:325](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L325)
542
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:325](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L325)
543
543
 
544
544
  ___
545
545
 
@@ -560,7 +560,7 @@ ___
560
560
 
561
561
  #### Defined in
562
562
 
563
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:336](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L336)
563
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:336](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L336)
564
564
 
565
565
  ___
566
566
 
@@ -581,7 +581,7 @@ ___
581
581
 
582
582
  #### Defined in
583
583
 
584
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:347](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L347)
584
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:347](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L347)
585
585
 
586
586
  ___
587
587
 
@@ -602,7 +602,7 @@ ___
602
602
 
603
603
  #### Defined in
604
604
 
605
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:355](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L355)
605
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:355](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L355)
606
606
 
607
607
  ___
608
608
 
@@ -623,7 +623,7 @@ ___
623
623
 
624
624
  #### Defined in
625
625
 
626
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:372](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L372)
626
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:372](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L372)
627
627
 
628
628
  ___
629
629
 
@@ -644,7 +644,7 @@ ___
644
644
 
645
645
  #### Defined in
646
646
 
647
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:383](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L383)
647
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:383](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L383)
648
648
 
649
649
  ___
650
650
 
@@ -665,7 +665,7 @@ ___
665
665
 
666
666
  #### Defined in
667
667
 
668
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:394](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L394)
668
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:394](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L394)
669
669
 
670
670
  ___
671
671
 
@@ -686,7 +686,7 @@ ___
686
686
 
687
687
  #### Defined in
688
688
 
689
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:405](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L405)
689
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:405](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L405)
690
690
 
691
691
  ___
692
692
 
@@ -707,7 +707,7 @@ ___
707
707
 
708
708
  #### Defined in
709
709
 
710
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:416](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L416)
710
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:416](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L416)
711
711
 
712
712
  ___
713
713
 
@@ -728,7 +728,7 @@ ___
728
728
 
729
729
  #### Defined in
730
730
 
731
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:427](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L427)
731
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:427](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L427)
732
732
 
733
733
  ___
734
734
 
@@ -749,7 +749,7 @@ ___
749
749
 
750
750
  #### Defined in
751
751
 
752
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:438](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L438)
752
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:438](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L438)
753
753
 
754
754
  ___
755
755
 
@@ -770,7 +770,7 @@ ___
770
770
 
771
771
  #### Defined in
772
772
 
773
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:449](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L449)
773
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:449](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L449)
774
774
 
775
775
  ___
776
776
 
@@ -791,7 +791,7 @@ ___
791
791
 
792
792
  #### Defined in
793
793
 
794
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:460](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L460)
794
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:460](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L460)
795
795
 
796
796
  ___
797
797
 
@@ -812,7 +812,7 @@ ___
812
812
 
813
813
  #### Defined in
814
814
 
815
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:477](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L477)
815
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:477](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L477)
816
816
 
817
817
  ___
818
818
 
@@ -833,7 +833,7 @@ ___
833
833
 
834
834
  #### Defined in
835
835
 
836
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:488](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L488)
836
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:488](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L488)
837
837
 
838
838
  ___
839
839
 
@@ -854,4 +854,25 @@ ___
854
854
 
855
855
  #### Defined in
856
856
 
857
- [packages/touchpoint-ui/src/components/ui/Icons.tsx:499](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L499)
857
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:499](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L499)
858
+
859
+ ___
860
+
861
+ ### OpenLink
862
+
863
+ ▸ **OpenLink**(`props`, `deprecatedLegacyContext?`): `ReactNode`
864
+
865
+ #### Parameters
866
+
867
+ | Name | Type | Description |
868
+ | :------ | :------ | :------ |
869
+ | `props` | [`IconProps`](../interfaces/Icons.IconProps.md) | - |
870
+ | `deprecatedLegacyContext?` | `any` | **`Deprecated`** **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
871
+
872
+ #### Returns
873
+
874
+ `ReactNode`
875
+
876
+ #### Defined in
877
+
878
+ [packages/touchpoint-ui/src/components/ui/Icons.tsx:510](https://github.com/nlxai/sdk/blob/e13e2baae9abf0ee3add35f3a4b4c3fe47e8f43d/packages/touchpoint-ui/src/components/ui/Icons.tsx#L510)
package/index.html CHANGED
@@ -145,7 +145,7 @@
145
145
  userId: "sdk-test-user",
146
146
  languageCode: "en-US",
147
147
  },
148
- input: "voiceMini",
148
+ input: "text",
149
149
  animate: true,
150
150
  launchIcon: CustomLaunchButton,
151
151
  bidirectional: {
@@ -160,6 +160,8 @@
160
160
  },
161
161
  });
162
162
 
163
+ touchpoint.expanded = true;
164
+
163
165
  touchpoint.setCustomBidirectionalCommands([
164
166
  {
165
167
  action: "burger",
@@ -9,12 +9,12 @@ interface Props {
9
9
  brandIcon?: string;
10
10
  className?: string;
11
11
  context?: Context;
12
- customModalities?: Record<string, CustomModalityComponent<unknown>>;
12
+ modalityComponents: Record<string, CustomModalityComponent<unknown>>;
13
13
  }
14
14
  export declare const VoiceModalities: FC<{
15
15
  className?: string;
16
16
  modalities: ModalitiesWithContext[];
17
- customModalities: Record<string, CustomModalityComponent<unknown>>;
17
+ modalityComponents: Record<string, CustomModalityComponent<unknown>>;
18
18
  handler: ConversationHandler;
19
19
  }>;
20
20
  export declare const FullscreenVoice: FC<Props>;
@@ -11,7 +11,7 @@ export interface MessagesProps {
11
11
  colorMode: ColorMode;
12
12
  uploadedFiles: Record<string, File>;
13
13
  lastApplicationResponseIndex?: number;
14
- customModalities: Record<string, CustomModalityComponent<unknown>>;
14
+ modalityComponents: Record<string, CustomModalityComponent<unknown>>;
15
15
  className?: string;
16
16
  enabled: boolean;
17
17
  }
@@ -2,7 +2,7 @@ import { Context, ConversationHandler } from '@nlxai/core';
2
2
  import { FC } from 'react';
3
3
  import { CustomModalityComponent } from '../interface';
4
4
  export declare const VoiceMini: FC<{
5
- customModalities: Record<string, CustomModalityComponent<unknown>>;
5
+ modalityComponents: Record<string, CustomModalityComponent<unknown>>;
6
6
  handler: ConversationHandler;
7
7
  renderCollapse: boolean;
8
8
  onClose: (event: Event) => void;
@@ -1,6 +1,6 @@
1
1
  import { ConversationHandler } from '@nlxai/core';
2
2
  export interface SaveAs {
3
- type: "slot" | "context";
3
+ type: "slot" | "context" | "choiceId";
4
4
  id: string;
5
5
  }
6
6
  export interface CardRow {