@voiceflow/api-sdk 2.0.1 → 3.0.3

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 (62) hide show
  1. package/build/index.d.ts +1 -2
  2. package/build/index.js +0 -4
  3. package/build/index.js.map +1 -1
  4. package/build/resources/apiKey.d.ts +5 -5
  5. package/build/resources/apiKey.js +0 -5
  6. package/build/resources/apiKey.js.map +1 -1
  7. package/build/resources/base.d.ts +3 -15
  8. package/build/resources/base.js +1 -47
  9. package/build/resources/base.js.map +1 -1
  10. package/build/resources/crud.d.ts +1 -1
  11. package/build/resources/crud.js +0 -7
  12. package/build/resources/crud.js.map +1 -1
  13. package/build/resources/diagram.d.ts +14 -16
  14. package/build/resources/diagram.js +0 -34
  15. package/build/resources/diagram.js.map +1 -1
  16. package/build/resources/program.d.ts +10 -10
  17. package/build/resources/program.js +0 -3
  18. package/build/resources/program.js.map +1 -1
  19. package/build/resources/project/index.d.ts +18 -18
  20. package/build/resources/project/index.js +0 -29
  21. package/build/resources/project/index.js.map +1 -1
  22. package/build/resources/project/member.d.ts +17 -17
  23. package/build/resources/project/member.js +0 -33
  24. package/build/resources/project/member.js.map +1 -1
  25. package/build/resources/user.d.ts +2 -2
  26. package/build/resources/user.js +11 -3
  27. package/build/resources/user.js.map +1 -1
  28. package/build/resources/version.d.ts +30 -69
  29. package/build/resources/version.js +0 -41
  30. package/build/resources/version.js.map +1 -1
  31. package/build/types.d.ts +2 -10
  32. package/package.json +7 -5
  33. package/build/models/apiKey.d.ts +0 -21
  34. package/build/models/apiKey.js +0 -35
  35. package/build/models/apiKey.js.map +0 -1
  36. package/build/models/diagram.d.ts +0 -50
  37. package/build/models/diagram.js +0 -47
  38. package/build/models/diagram.js.map +0 -1
  39. package/build/models/index.d.ts +0 -7
  40. package/build/models/index.js +0 -20
  41. package/build/models/index.js.map +0 -1
  42. package/build/models/member.d.ts +0 -12
  43. package/build/models/member.js +0 -29
  44. package/build/models/member.js.map +0 -1
  45. package/build/models/program.d.ts +0 -35
  46. package/build/models/program.js +0 -34
  47. package/build/models/program.js.map +0 -1
  48. package/build/models/project.d.ts +0 -272
  49. package/build/models/project.js +0 -72
  50. package/build/models/project.js.map +0 -1
  51. package/build/models/shared.d.ts +0 -382
  52. package/build/models/shared.js +0 -99
  53. package/build/models/shared.js.map +0 -1
  54. package/build/models/version.d.ts +0 -764
  55. package/build/models/version.js +0 -97
  56. package/build/models/version.js.map +0 -1
  57. package/build/utils/index.d.ts +0 -1
  58. package/build/utils/index.js +0 -14
  59. package/build/utils/index.js.map +0 -1
  60. package/build/utils/struct.d.ts +0 -4
  61. package/build/utils/struct.js +0 -52
  62. package/build/utils/struct.js.map +0 -1
@@ -1,764 +0,0 @@
1
- import * as s from 'superstruct';
2
- import { AnyRecord } from "../types";
3
- import { BaseCommand } from './shared';
4
- export declare const SVersionPlatformDataSettings: s.Struct<Record<string, unknown>, any>;
5
- export declare const SVersionPlatformDataPublishing: s.Struct<Record<string, unknown>, any>;
6
- export declare const SVersionPlatformData: s.Struct<Record<string, any> & {
7
- slots: {
8
- key: string;
9
- name: string;
10
- inputs: string[];
11
- type: {
12
- value?: string | undefined;
13
- };
14
- color?: string | undefined;
15
- }[];
16
- intents: {
17
- key: string;
18
- name: string;
19
- inputs: {
20
- text: string;
21
- slots?: string[] | undefined;
22
- voice?: string | undefined;
23
- }[];
24
- slots?: {
25
- id: string;
26
- dialog: {
27
- prompt: unknown[];
28
- confirm: unknown[];
29
- utterances: {
30
- text: string;
31
- slots?: string[] | undefined;
32
- voice?: string | undefined;
33
- }[];
34
- confirmEnabled: boolean;
35
- };
36
- required: boolean;
37
- }[] | undefined;
38
- builtIn?: boolean | undefined;
39
- _platform?: string | undefined;
40
- }[];
41
- settings: Record<string, unknown>;
42
- publishing: Record<string, unknown>;
43
- }, {
44
- slots: s.Struct<{
45
- key: string;
46
- name: string;
47
- inputs: string[];
48
- type: {
49
- value?: string | undefined;
50
- };
51
- color?: string | undefined;
52
- }[], s.Struct<{
53
- key: string;
54
- name: string;
55
- inputs: string[];
56
- type: {
57
- value?: string | undefined;
58
- };
59
- color?: string | undefined;
60
- }, any>>;
61
- intents: s.Struct<{
62
- key: string;
63
- name: string;
64
- inputs: {
65
- text: string;
66
- slots?: string[] | undefined;
67
- voice?: string | undefined;
68
- }[];
69
- slots?: {
70
- id: string;
71
- dialog: {
72
- prompt: unknown[];
73
- confirm: unknown[];
74
- utterances: {
75
- text: string;
76
- slots?: string[] | undefined;
77
- voice?: string | undefined;
78
- }[];
79
- confirmEnabled: boolean;
80
- };
81
- required: boolean;
82
- }[] | undefined;
83
- builtIn?: boolean | undefined;
84
- _platform?: string | undefined;
85
- }[], s.Struct<{
86
- key: string;
87
- name: string;
88
- inputs: {
89
- text: string;
90
- slots?: string[] | undefined;
91
- voice?: string | undefined;
92
- }[];
93
- slots?: {
94
- id: string;
95
- dialog: {
96
- prompt: unknown[];
97
- confirm: unknown[];
98
- utterances: {
99
- text: string;
100
- slots?: string[] | undefined;
101
- voice?: string | undefined;
102
- }[];
103
- confirmEnabled: boolean;
104
- };
105
- required: boolean;
106
- }[] | undefined;
107
- builtIn?: boolean | undefined;
108
- _platform?: string | undefined;
109
- }, any>>;
110
- settings: s.Struct<Record<string, unknown>, any>;
111
- publishing: s.Struct<Record<string, unknown>, any>;
112
- }>;
113
- export interface StrictVersionPlatformData<S extends AnyRecord = AnyRecord, P extends AnyRecord = AnyRecord> extends Pick<s.StructType<typeof SVersionPlatformData>, 'slots' | 'intents'> {
114
- settings: S;
115
- publishing: P;
116
- }
117
- export interface VersionPlatformData<S extends AnyRecord = AnyRecord, P extends AnyRecord = AnyRecord> extends StrictVersionPlatformData<S, P>, AnyRecord {
118
- }
119
- export declare const SVersionPrototypeStackFrame: s.Struct<{
120
- programID: string;
121
- nodeID?: string | null | undefined;
122
- variables?: Record<string, unknown> | undefined;
123
- commands?: (Record<string, any> & {
124
- type: string;
125
- })[] | undefined;
126
- storage?: Record<string, unknown> | undefined;
127
- }, {
128
- nodeID: s.Struct<string | null | undefined, any>;
129
- programID: s.Struct<string, any>;
130
- storage: s.Struct<Record<string, unknown> | undefined, any>;
131
- commands: s.Struct<(Record<string, any> & {
132
- type: string;
133
- })[] | undefined, any>;
134
- variables: s.Struct<Record<string, unknown> | undefined, any>;
135
- }>;
136
- export interface VersionPrototypeStackFrame<C extends BaseCommand = BaseCommand> extends Omit<s.StructType<typeof SVersionPrototypeStackFrame>, 'commands'> {
137
- commands?: C[];
138
- }
139
- export declare const SVersionPrototypeContext: s.Struct<{
140
- turn?: Record<string, unknown> | undefined;
141
- stack?: {
142
- programID: string;
143
- nodeID?: string | null | undefined;
144
- variables?: Record<string, unknown> | undefined;
145
- commands?: (Record<string, any> & {
146
- type: string;
147
- })[] | undefined;
148
- storage?: Record<string, unknown> | undefined;
149
- }[] | undefined;
150
- storage?: Record<string, unknown> | undefined;
151
- variables?: Record<string, unknown> | undefined;
152
- }, any>;
153
- export interface VersionPrototypeContext<C extends BaseCommand = BaseCommand> extends Omit<s.StructType<typeof SVersionPrototypeContext>, 'stack'> {
154
- stack?: VersionPrototypeStackFrame<C>[];
155
- }
156
- export declare const SVersionPrototypeData: s.Struct<{
157
- name: string;
158
- locales: string[];
159
- }, {
160
- name: s.Struct<string, any>;
161
- locales: s.Struct<string[], s.Struct<string, any>>;
162
- }>;
163
- export interface VersionPrototypeData<L extends string> extends Omit<s.StructType<typeof SVersionPrototypeData>, 'locales'> {
164
- locales: L[];
165
- }
166
- export declare const SVersionPrototypeSettings: s.Struct<{
167
- layout?: string | undefined;
168
- brandColor?: string | undefined;
169
- brandImage?: string | undefined;
170
- avatar?: string | undefined;
171
- password?: string | undefined;
172
- hasPassword?: boolean | undefined;
173
- buttons?: string | undefined;
174
- }, {
175
- layout: s.Struct<string | undefined, any>;
176
- brandColor: s.Struct<string | undefined, any>;
177
- brandImage: s.Struct<string | undefined, any>;
178
- avatar: s.Struct<string | undefined, any>;
179
- password: s.Struct<string | undefined, any>;
180
- hasPassword: s.Struct<boolean | undefined, any>;
181
- buttons: s.Struct<string | undefined, any>;
182
- }>;
183
- export declare const SVersionPrototype: s.Struct<{
184
- data: {
185
- name: string;
186
- locales: string[];
187
- };
188
- platform: string;
189
- settings: {
190
- layout?: string | undefined;
191
- brandColor?: string | undefined;
192
- brandImage?: string | undefined;
193
- avatar?: string | undefined;
194
- password?: string | undefined;
195
- hasPassword?: boolean | undefined;
196
- buttons?: string | undefined;
197
- };
198
- model: {
199
- slots: {
200
- key: string;
201
- name: string;
202
- inputs: string[];
203
- type: {
204
- value?: string | undefined;
205
- };
206
- color?: string | undefined;
207
- }[];
208
- intents: {
209
- key: string;
210
- name: string;
211
- inputs: {
212
- text: string;
213
- slots?: string[] | undefined;
214
- voice?: string | undefined;
215
- }[];
216
- slots?: {
217
- id: string;
218
- dialog: {
219
- prompt: unknown[];
220
- confirm: unknown[];
221
- utterances: {
222
- text: string;
223
- slots?: string[] | undefined;
224
- voice?: string | undefined;
225
- }[];
226
- confirmEnabled: boolean;
227
- };
228
- required: boolean;
229
- }[] | undefined;
230
- builtIn?: boolean | undefined;
231
- _platform?: string | undefined;
232
- }[];
233
- };
234
- context: {
235
- turn?: Record<string, unknown> | undefined;
236
- stack?: {
237
- programID: string;
238
- nodeID?: string | null | undefined;
239
- variables?: Record<string, unknown> | undefined;
240
- commands?: (Record<string, any> & {
241
- type: string;
242
- })[] | undefined;
243
- storage?: Record<string, unknown> | undefined;
244
- }[] | undefined;
245
- storage?: Record<string, unknown> | undefined;
246
- variables?: Record<string, unknown> | undefined;
247
- };
248
- }, {
249
- data: s.Struct<{
250
- name: string;
251
- locales: string[];
252
- }, {
253
- name: s.Struct<string, any>;
254
- locales: s.Struct<string[], s.Struct<string, any>>;
255
- }>;
256
- model: s.Struct<{
257
- slots: {
258
- key: string;
259
- name: string;
260
- inputs: string[];
261
- type: {
262
- value?: string | undefined;
263
- };
264
- color?: string | undefined;
265
- }[];
266
- intents: {
267
- key: string;
268
- name: string;
269
- inputs: {
270
- text: string;
271
- slots?: string[] | undefined;
272
- voice?: string | undefined;
273
- }[];
274
- slots?: {
275
- id: string;
276
- dialog: {
277
- prompt: unknown[];
278
- confirm: unknown[];
279
- utterances: {
280
- text: string;
281
- slots?: string[] | undefined;
282
- voice?: string | undefined;
283
- }[];
284
- confirmEnabled: boolean;
285
- };
286
- required: boolean;
287
- }[] | undefined;
288
- builtIn?: boolean | undefined;
289
- _platform?: string | undefined;
290
- }[];
291
- }, {
292
- slots: s.Struct<{
293
- key: string;
294
- name: string;
295
- inputs: string[];
296
- type: {
297
- value?: string | undefined;
298
- };
299
- color?: string | undefined;
300
- }[], s.Struct<{
301
- key: string;
302
- name: string;
303
- inputs: string[];
304
- type: {
305
- value?: string | undefined;
306
- };
307
- color?: string | undefined;
308
- }, any>>;
309
- intents: s.Struct<{
310
- key: string;
311
- name: string;
312
- inputs: {
313
- text: string;
314
- slots?: string[] | undefined;
315
- voice?: string | undefined;
316
- }[];
317
- slots?: {
318
- id: string;
319
- dialog: {
320
- prompt: unknown[];
321
- confirm: unknown[];
322
- utterances: {
323
- text: string;
324
- slots?: string[] | undefined;
325
- voice?: string | undefined;
326
- }[];
327
- confirmEnabled: boolean;
328
- };
329
- required: boolean;
330
- }[] | undefined;
331
- builtIn?: boolean | undefined;
332
- _platform?: string | undefined;
333
- }[], s.Struct<{
334
- key: string;
335
- name: string;
336
- inputs: {
337
- text: string;
338
- slots?: string[] | undefined;
339
- voice?: string | undefined;
340
- }[];
341
- slots?: {
342
- id: string;
343
- dialog: {
344
- prompt: unknown[];
345
- confirm: unknown[];
346
- utterances: {
347
- text: string;
348
- slots?: string[] | undefined;
349
- voice?: string | undefined;
350
- }[];
351
- confirmEnabled: boolean;
352
- };
353
- required: boolean;
354
- }[] | undefined;
355
- builtIn?: boolean | undefined;
356
- _platform?: string | undefined;
357
- }, any>>;
358
- }>;
359
- context: s.Struct<{
360
- turn?: Record<string, unknown> | undefined;
361
- stack?: {
362
- programID: string;
363
- nodeID?: string | null | undefined;
364
- variables?: Record<string, unknown> | undefined;
365
- commands?: (Record<string, any> & {
366
- type: string;
367
- })[] | undefined;
368
- storage?: Record<string, unknown> | undefined;
369
- }[] | undefined;
370
- storage?: Record<string, unknown> | undefined;
371
- variables?: Record<string, unknown> | undefined;
372
- }, any>;
373
- platform: s.Struct<string, any>;
374
- settings: s.Struct<{
375
- layout?: string | undefined;
376
- brandColor?: string | undefined;
377
- brandImage?: string | undefined;
378
- avatar?: string | undefined;
379
- password?: string | undefined;
380
- hasPassword?: boolean | undefined;
381
- buttons?: string | undefined;
382
- }, {
383
- layout: s.Struct<string | undefined, any>;
384
- brandColor: s.Struct<string | undefined, any>;
385
- brandImage: s.Struct<string | undefined, any>;
386
- avatar: s.Struct<string | undefined, any>;
387
- password: s.Struct<string | undefined, any>;
388
- hasPassword: s.Struct<boolean | undefined, any>;
389
- buttons: s.Struct<string | undefined, any>;
390
- }>;
391
- }>;
392
- export interface VersionPrototype<C extends BaseCommand = BaseCommand, L extends string = string> extends Omit<s.StructType<typeof SVersionPrototype>, 'context' | 'data'> {
393
- data: VersionPrototypeData<L>;
394
- context: VersionPrototypeContext<C>;
395
- }
396
- export declare enum VersionFolderItemType {
397
- FOLDER = "FOLDER",
398
- DIAGRAM = "DIAGRAM"
399
- }
400
- export declare const sVersionFolderItemType: s.Struct<VersionFolderItemType, any>;
401
- export declare const sVersionFolderItem: s.Struct<{
402
- type: VersionFolderItemType;
403
- sourceID: string;
404
- }, {
405
- type: s.Struct<VersionFolderItemType, any>;
406
- sourceID: s.Struct<string, any>;
407
- }>;
408
- export interface VersionFolderItem extends s.StructType<typeof sVersionFolderItem> {
409
- }
410
- export declare const sVersionFolder: s.Struct<{
411
- id: string;
412
- name: string;
413
- items: {
414
- type: VersionFolderItemType;
415
- sourceID: string;
416
- }[];
417
- }, {
418
- id: s.Struct<string, any>;
419
- name: s.Struct<string, any>;
420
- items: s.Struct<{
421
- type: VersionFolderItemType;
422
- sourceID: string;
423
- }[], s.Struct<{
424
- type: VersionFolderItemType;
425
- sourceID: string;
426
- }, any>>;
427
- }>;
428
- export interface VersionFolder extends s.StructType<typeof sVersionFolder> {
429
- }
430
- export declare const SVersion: s.Struct<{
431
- name: string;
432
- _id: string;
433
- creatorID: number;
434
- projectID: string;
435
- variables: string[];
436
- platformData: Record<string, any> & {
437
- slots: {
438
- key: string;
439
- name: string;
440
- inputs: string[];
441
- type: {
442
- value?: string | undefined;
443
- };
444
- color?: string | undefined;
445
- }[];
446
- intents: {
447
- key: string;
448
- name: string;
449
- inputs: {
450
- text: string;
451
- slots?: string[] | undefined;
452
- voice?: string | undefined;
453
- }[];
454
- slots?: {
455
- id: string;
456
- dialog: {
457
- prompt: unknown[];
458
- confirm: unknown[];
459
- utterances: {
460
- text: string;
461
- slots?: string[] | undefined;
462
- voice?: string | undefined;
463
- }[];
464
- confirmEnabled: boolean;
465
- };
466
- required: boolean;
467
- }[] | undefined;
468
- builtIn?: boolean | undefined;
469
- _platform?: string | undefined;
470
- }[];
471
- settings: Record<string, unknown>;
472
- publishing: Record<string, unknown>;
473
- };
474
- rootDiagramID: string;
475
- prototype?: {
476
- data: {
477
- name: string;
478
- locales: string[];
479
- };
480
- platform: string;
481
- settings: {
482
- layout?: string | undefined;
483
- brandColor?: string | undefined;
484
- brandImage?: string | undefined;
485
- avatar?: string | undefined;
486
- password?: string | undefined;
487
- hasPassword?: boolean | undefined;
488
- buttons?: string | undefined;
489
- };
490
- model: {
491
- slots: {
492
- key: string;
493
- name: string;
494
- inputs: string[];
495
- type: {
496
- value?: string | undefined;
497
- };
498
- color?: string | undefined;
499
- }[];
500
- intents: {
501
- key: string;
502
- name: string;
503
- inputs: {
504
- text: string;
505
- slots?: string[] | undefined;
506
- voice?: string | undefined;
507
- }[];
508
- slots?: {
509
- id: string;
510
- dialog: {
511
- prompt: unknown[];
512
- confirm: unknown[];
513
- utterances: {
514
- text: string;
515
- slots?: string[] | undefined;
516
- voice?: string | undefined;
517
- }[];
518
- confirmEnabled: boolean;
519
- };
520
- required: boolean;
521
- }[] | undefined;
522
- builtIn?: boolean | undefined;
523
- _platform?: string | undefined;
524
- }[];
525
- };
526
- context: {
527
- turn?: Record<string, unknown> | undefined;
528
- stack?: {
529
- programID: string;
530
- nodeID?: string | null | undefined;
531
- variables?: Record<string, unknown> | undefined;
532
- commands?: (Record<string, any> & {
533
- type: string;
534
- })[] | undefined;
535
- storage?: Record<string, unknown> | undefined;
536
- }[] | undefined;
537
- storage?: Record<string, unknown> | undefined;
538
- variables?: Record<string, unknown> | undefined;
539
- };
540
- } | undefined;
541
- topics?: {
542
- type: VersionFolderItemType;
543
- sourceID: string;
544
- }[] | undefined;
545
- folders?: Record<string, {
546
- id: string;
547
- name: string;
548
- items: {
549
- type: VersionFolderItemType;
550
- sourceID: string;
551
- }[];
552
- }> | undefined;
553
- components?: {
554
- type: VersionFolderItemType;
555
- sourceID: string;
556
- }[] | undefined;
557
- }, {
558
- _id: s.Struct<string, any>;
559
- creatorID: s.Struct<number, any>;
560
- projectID: s.Struct<string, any>;
561
- name: s.Struct<string, any>;
562
- topics: s.Struct<{
563
- type: VersionFolderItemType;
564
- sourceID: string;
565
- }[] | undefined, any>;
566
- folders: s.Struct<Record<string, {
567
- id: string;
568
- name: string;
569
- items: {
570
- type: VersionFolderItemType;
571
- sourceID: string;
572
- }[];
573
- }> | undefined, any>;
574
- variables: s.Struct<string[], s.Struct<string, any>>;
575
- prototype: s.Struct<{
576
- data: {
577
- name: string;
578
- locales: string[];
579
- };
580
- platform: string;
581
- settings: {
582
- layout?: string | undefined;
583
- brandColor?: string | undefined;
584
- brandImage?: string | undefined;
585
- avatar?: string | undefined;
586
- password?: string | undefined;
587
- hasPassword?: boolean | undefined;
588
- buttons?: string | undefined;
589
- };
590
- model: {
591
- slots: {
592
- key: string;
593
- name: string;
594
- inputs: string[];
595
- type: {
596
- value?: string | undefined;
597
- };
598
- color?: string | undefined;
599
- }[];
600
- intents: {
601
- key: string;
602
- name: string;
603
- inputs: {
604
- text: string;
605
- slots?: string[] | undefined;
606
- voice?: string | undefined;
607
- }[];
608
- slots?: {
609
- id: string;
610
- dialog: {
611
- prompt: unknown[];
612
- confirm: unknown[];
613
- utterances: {
614
- text: string;
615
- slots?: string[] | undefined;
616
- voice?: string | undefined;
617
- }[];
618
- confirmEnabled: boolean;
619
- };
620
- required: boolean;
621
- }[] | undefined;
622
- builtIn?: boolean | undefined;
623
- _platform?: string | undefined;
624
- }[];
625
- };
626
- context: {
627
- turn?: Record<string, unknown> | undefined;
628
- stack?: {
629
- programID: string;
630
- nodeID?: string | null | undefined;
631
- variables?: Record<string, unknown> | undefined;
632
- commands?: (Record<string, any> & {
633
- type: string;
634
- })[] | undefined;
635
- storage?: Record<string, unknown> | undefined;
636
- }[] | undefined;
637
- storage?: Record<string, unknown> | undefined;
638
- variables?: Record<string, unknown> | undefined;
639
- };
640
- } | undefined, any>;
641
- components: s.Struct<{
642
- type: VersionFolderItemType;
643
- sourceID: string;
644
- }[] | undefined, any>;
645
- platformData: s.Struct<Record<string, any> & {
646
- slots: {
647
- key: string;
648
- name: string;
649
- inputs: string[];
650
- type: {
651
- value?: string | undefined;
652
- };
653
- color?: string | undefined;
654
- }[];
655
- intents: {
656
- key: string;
657
- name: string;
658
- inputs: {
659
- text: string;
660
- slots?: string[] | undefined;
661
- voice?: string | undefined;
662
- }[];
663
- slots?: {
664
- id: string;
665
- dialog: {
666
- prompt: unknown[];
667
- confirm: unknown[];
668
- utterances: {
669
- text: string;
670
- slots?: string[] | undefined;
671
- voice?: string | undefined;
672
- }[];
673
- confirmEnabled: boolean;
674
- };
675
- required: boolean;
676
- }[] | undefined;
677
- builtIn?: boolean | undefined;
678
- _platform?: string | undefined;
679
- }[];
680
- settings: Record<string, unknown>;
681
- publishing: Record<string, unknown>;
682
- }, {
683
- slots: s.Struct<{
684
- key: string;
685
- name: string;
686
- inputs: string[];
687
- type: {
688
- value?: string | undefined;
689
- };
690
- color?: string | undefined;
691
- }[], s.Struct<{
692
- key: string;
693
- name: string;
694
- inputs: string[];
695
- type: {
696
- value?: string | undefined;
697
- };
698
- color?: string | undefined;
699
- }, any>>;
700
- intents: s.Struct<{
701
- key: string;
702
- name: string;
703
- inputs: {
704
- text: string;
705
- slots?: string[] | undefined;
706
- voice?: string | undefined;
707
- }[];
708
- slots?: {
709
- id: string;
710
- dialog: {
711
- prompt: unknown[];
712
- confirm: unknown[];
713
- utterances: {
714
- text: string;
715
- slots?: string[] | undefined;
716
- voice?: string | undefined;
717
- }[];
718
- confirmEnabled: boolean;
719
- };
720
- required: boolean;
721
- }[] | undefined;
722
- builtIn?: boolean | undefined;
723
- _platform?: string | undefined;
724
- }[], s.Struct<{
725
- key: string;
726
- name: string;
727
- inputs: {
728
- text: string;
729
- slots?: string[] | undefined;
730
- voice?: string | undefined;
731
- }[];
732
- slots?: {
733
- id: string;
734
- dialog: {
735
- prompt: unknown[];
736
- confirm: unknown[];
737
- utterances: {
738
- text: string;
739
- slots?: string[] | undefined;
740
- voice?: string | undefined;
741
- }[];
742
- confirmEnabled: boolean;
743
- };
744
- required: boolean;
745
- }[] | undefined;
746
- builtIn?: boolean | undefined;
747
- _platform?: string | undefined;
748
- }, any>>;
749
- settings: s.Struct<Record<string, unknown>, any>;
750
- publishing: s.Struct<Record<string, unknown>, any>;
751
- }>;
752
- rootDiagramID: s.Struct<string, any>;
753
- }>;
754
- export interface Version<P extends VersionPlatformData, C extends BaseCommand = BaseCommand, L extends string = string> extends Omit<s.StructType<typeof SVersion>, 'prototype' | 'platformData'> {
755
- prototype?: VersionPrototype<C, L>;
756
- platformData: P;
757
- }
758
- export interface VersionDiagramResponce {
759
- id: string;
760
- type: string;
761
- flow: string;
762
- step: string;
763
- content: string;
764
- }