@channel.io/app-sdk-core 0.4.1 → 0.6.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.
Files changed (50) hide show
  1. package/dist/extensions/command.d.ts +642 -0
  2. package/dist/extensions/command.d.ts.map +1 -1
  3. package/dist/extensions/command.js +77 -0
  4. package/dist/extensions/command.js.map +1 -1
  5. package/dist/extensions/customtab.d.ts +84 -22
  6. package/dist/extensions/customtab.d.ts.map +1 -1
  7. package/dist/extensions/customtab.js +26 -16
  8. package/dist/extensions/customtab.js.map +1 -1
  9. package/dist/extensions/index.d.ts +4 -3
  10. package/dist/extensions/index.d.ts.map +1 -1
  11. package/dist/extensions/index.js +5 -3
  12. package/dist/extensions/index.js.map +1 -1
  13. package/dist/extensions/interfaces/command.d.ts +108 -59
  14. package/dist/extensions/interfaces/command.d.ts.map +1 -1
  15. package/dist/extensions/interfaces/command.js +1 -0
  16. package/dist/extensions/interfaces/command.js.map +1 -1
  17. package/dist/extensions/interfaces/customtab.d.ts +67 -45
  18. package/dist/extensions/interfaces/customtab.d.ts.map +1 -1
  19. package/dist/extensions/interfaces/customtab.js +2 -2
  20. package/dist/extensions/interfaces/customtab.js.map +1 -1
  21. package/dist/extensions/interfaces/index.d.ts +1 -0
  22. package/dist/extensions/interfaces/index.d.ts.map +1 -1
  23. package/dist/extensions/interfaces/index.js +1 -0
  24. package/dist/extensions/interfaces/index.js.map +1 -1
  25. package/dist/extensions/interfaces/order.d.ts +11 -19
  26. package/dist/extensions/interfaces/order.d.ts.map +1 -1
  27. package/dist/extensions/interfaces/order.js.map +1 -1
  28. package/dist/extensions/interfaces/widget.d.ts +68 -50
  29. package/dist/extensions/interfaces/widget.d.ts.map +1 -1
  30. package/dist/extensions/interfaces/widget.js +1 -1
  31. package/dist/extensions/interfaces/widget.js.map +1 -1
  32. package/dist/extensions/interfaces/wms.d.ts +98 -0
  33. package/dist/extensions/interfaces/wms.d.ts.map +1 -0
  34. package/dist/extensions/interfaces/wms.js +14 -0
  35. package/dist/extensions/interfaces/wms.js.map +1 -0
  36. package/dist/extensions/order.d.ts +43 -0
  37. package/dist/extensions/order.d.ts.map +1 -1
  38. package/dist/extensions/order.js +1 -0
  39. package/dist/extensions/order.js.map +1 -1
  40. package/dist/extensions/widget.d.ts +281 -31
  41. package/dist/extensions/widget.d.ts.map +1 -1
  42. package/dist/extensions/widget.js +53 -19
  43. package/dist/extensions/widget.js.map +1 -1
  44. package/dist/extensions/wms.d.ts +318 -0
  45. package/dist/extensions/wms.d.ts.map +1 -0
  46. package/dist/extensions/wms.js +51 -0
  47. package/dist/extensions/wms.js.map +1 -0
  48. package/dist/types/extension.d.ts +1 -1
  49. package/dist/types/extension.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -1,4 +1,646 @@
1
1
  import { z } from "zod";
2
+ /**
3
+ * Command scope
4
+ */
5
+ export declare const CommandScopeSchema: z.ZodEnum<["front", "desk"]>;
6
+ export type CommandScope = z.infer<typeof CommandScopeSchema>;
7
+ /**
8
+ * ALF mode for commands
9
+ */
10
+ export declare const CommandAlfModeSchema: z.ZodEnum<["disable", "recommend"]>;
11
+ export type CommandAlfMode = z.infer<typeof CommandAlfModeSchema>;
12
+ /**
13
+ * Parameter type for command inputs
14
+ */
15
+ export declare const CommandParamTypeSchema: z.ZodEnum<["string", "float", "int", "bool"]>;
16
+ export type CommandParamType = z.infer<typeof CommandParamTypeSchema>;
17
+ /**
18
+ * I18n name schema
19
+ */
20
+ export declare const CommandNameI18nSchema: z.ZodObject<{
21
+ name: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ name: string;
24
+ }, {
25
+ name: string;
26
+ }>;
27
+ export type CommandNameI18n = z.infer<typeof CommandNameI18nSchema>;
28
+ /**
29
+ * I18n name and description schema
30
+ */
31
+ export declare const CommandNameDescI18nSchema: z.ZodObject<{
32
+ name: z.ZodString;
33
+ description: z.ZodString;
34
+ }, "strip", z.ZodTypeAny, {
35
+ name: string;
36
+ description: string;
37
+ }, {
38
+ name: string;
39
+ description: string;
40
+ }>;
41
+ export type CommandNameDescI18n = z.infer<typeof CommandNameDescI18nSchema>;
42
+ /**
43
+ * I18n schema for parameter definitions
44
+ */
45
+ export declare const CommandParamDefI18nSchema: z.ZodObject<{
46
+ name: z.ZodString;
47
+ description: z.ZodString;
48
+ }, "strip", z.ZodTypeAny, {
49
+ name: string;
50
+ description: string;
51
+ }, {
52
+ name: string;
53
+ description: string;
54
+ }>;
55
+ export type CommandParamDefI18n = z.infer<typeof CommandParamDefI18nSchema>;
56
+ /**
57
+ * Choice option schema for command parameters
58
+ */
59
+ export declare const CommandChoiceSchema: z.ZodObject<{
60
+ name: z.ZodString;
61
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
62
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
63
+ name: z.ZodString;
64
+ description: z.ZodString;
65
+ }, "strip", z.ZodTypeAny, {
66
+ name: string;
67
+ description: string;
68
+ }, {
69
+ name: string;
70
+ description: string;
71
+ }>>>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ value: string | number | boolean;
74
+ name: string;
75
+ nameDescI18nMap?: Record<string, {
76
+ name: string;
77
+ description: string;
78
+ }> | undefined;
79
+ }, {
80
+ value: string | number | boolean;
81
+ name: string;
82
+ nameDescI18nMap?: Record<string, {
83
+ name: string;
84
+ description: string;
85
+ }> | undefined;
86
+ }>;
87
+ export type CommandChoice = z.infer<typeof CommandChoiceSchema>;
88
+ /**
89
+ * Parameter definition schema for command metadata
90
+ */
91
+ export declare const CommandParamDefinitionSchema: z.ZodObject<{
92
+ name: z.ZodString;
93
+ type: z.ZodEnum<["string", "float", "int", "bool"]>;
94
+ required: z.ZodBoolean;
95
+ description: z.ZodOptional<z.ZodString>;
96
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
+ name: z.ZodString;
98
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
99
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
100
+ name: z.ZodString;
101
+ description: z.ZodString;
102
+ }, "strip", z.ZodTypeAny, {
103
+ name: string;
104
+ description: string;
105
+ }, {
106
+ name: string;
107
+ description: string;
108
+ }>>>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ value: string | number | boolean;
111
+ name: string;
112
+ nameDescI18nMap?: Record<string, {
113
+ name: string;
114
+ description: string;
115
+ }> | undefined;
116
+ }, {
117
+ value: string | number | boolean;
118
+ name: string;
119
+ nameDescI18nMap?: Record<string, {
120
+ name: string;
121
+ description: string;
122
+ }> | undefined;
123
+ }>, "many">>;
124
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
125
+ name: z.ZodString;
126
+ description: z.ZodString;
127
+ }, "strip", z.ZodTypeAny, {
128
+ name: string;
129
+ description: string;
130
+ }, {
131
+ name: string;
132
+ description: string;
133
+ }>>>;
134
+ autoComplete: z.ZodOptional<z.ZodBoolean>;
135
+ alfDescription: z.ZodOptional<z.ZodString>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ type: "string" | "float" | "int" | "bool";
138
+ name: string;
139
+ required: boolean;
140
+ description?: string | undefined;
141
+ nameDescI18nMap?: Record<string, {
142
+ name: string;
143
+ description: string;
144
+ }> | undefined;
145
+ choices?: {
146
+ value: string | number | boolean;
147
+ name: string;
148
+ nameDescI18nMap?: Record<string, {
149
+ name: string;
150
+ description: string;
151
+ }> | undefined;
152
+ }[] | undefined;
153
+ autoComplete?: boolean | undefined;
154
+ alfDescription?: string | undefined;
155
+ }, {
156
+ type: "string" | "float" | "int" | "bool";
157
+ name: string;
158
+ required: boolean;
159
+ description?: string | undefined;
160
+ nameDescI18nMap?: Record<string, {
161
+ name: string;
162
+ description: string;
163
+ }> | undefined;
164
+ choices?: {
165
+ value: string | number | boolean;
166
+ name: string;
167
+ nameDescI18nMap?: Record<string, {
168
+ name: string;
169
+ description: string;
170
+ }> | undefined;
171
+ }[] | undefined;
172
+ autoComplete?: boolean | undefined;
173
+ alfDescription?: string | undefined;
174
+ }>;
175
+ export type CommandParamDefinition = z.infer<typeof CommandParamDefinitionSchema>;
176
+ /**
177
+ * Command metadata schema returned from extension.command.metadata.getCommands
178
+ */
179
+ export declare const CommandConfigSchema: z.ZodObject<{
180
+ name: z.ZodString;
181
+ scope: z.ZodEnum<["front", "desk"]>;
182
+ buttonName: z.ZodOptional<z.ZodString>;
183
+ buttonNameI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
184
+ name: z.ZodString;
185
+ }, "strip", z.ZodTypeAny, {
186
+ name: string;
187
+ }, {
188
+ name: string;
189
+ }>>>;
190
+ description: z.ZodOptional<z.ZodString>;
191
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
192
+ name: z.ZodString;
193
+ description: z.ZodString;
194
+ }, "strip", z.ZodTypeAny, {
195
+ name: string;
196
+ description: string;
197
+ }, {
198
+ name: string;
199
+ description: string;
200
+ }>>>;
201
+ actionFunctionName: z.ZodString;
202
+ autoCompleteFunctionName: z.ZodOptional<z.ZodString>;
203
+ systemVersion: z.ZodOptional<z.ZodString>;
204
+ alfMode: z.ZodEnum<["disable", "recommend"]>;
205
+ alfDescription: z.ZodOptional<z.ZodString>;
206
+ paramDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
207
+ name: z.ZodString;
208
+ type: z.ZodEnum<["string", "float", "int", "bool"]>;
209
+ required: z.ZodBoolean;
210
+ description: z.ZodOptional<z.ZodString>;
211
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
212
+ name: z.ZodString;
213
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
214
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
215
+ name: z.ZodString;
216
+ description: z.ZodString;
217
+ }, "strip", z.ZodTypeAny, {
218
+ name: string;
219
+ description: string;
220
+ }, {
221
+ name: string;
222
+ description: string;
223
+ }>>>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ value: string | number | boolean;
226
+ name: string;
227
+ nameDescI18nMap?: Record<string, {
228
+ name: string;
229
+ description: string;
230
+ }> | undefined;
231
+ }, {
232
+ value: string | number | boolean;
233
+ name: string;
234
+ nameDescI18nMap?: Record<string, {
235
+ name: string;
236
+ description: string;
237
+ }> | undefined;
238
+ }>, "many">>;
239
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
240
+ name: z.ZodString;
241
+ description: z.ZodString;
242
+ }, "strip", z.ZodTypeAny, {
243
+ name: string;
244
+ description: string;
245
+ }, {
246
+ name: string;
247
+ description: string;
248
+ }>>>;
249
+ autoComplete: z.ZodOptional<z.ZodBoolean>;
250
+ alfDescription: z.ZodOptional<z.ZodString>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ type: "string" | "float" | "int" | "bool";
253
+ name: string;
254
+ required: boolean;
255
+ description?: string | undefined;
256
+ nameDescI18nMap?: Record<string, {
257
+ name: string;
258
+ description: string;
259
+ }> | undefined;
260
+ choices?: {
261
+ value: string | number | boolean;
262
+ name: string;
263
+ nameDescI18nMap?: Record<string, {
264
+ name: string;
265
+ description: string;
266
+ }> | undefined;
267
+ }[] | undefined;
268
+ autoComplete?: boolean | undefined;
269
+ alfDescription?: string | undefined;
270
+ }, {
271
+ type: "string" | "float" | "int" | "bool";
272
+ name: string;
273
+ required: boolean;
274
+ description?: string | undefined;
275
+ nameDescI18nMap?: Record<string, {
276
+ name: string;
277
+ description: string;
278
+ }> | undefined;
279
+ choices?: {
280
+ value: string | number | boolean;
281
+ name: string;
282
+ nameDescI18nMap?: Record<string, {
283
+ name: string;
284
+ description: string;
285
+ }> | undefined;
286
+ }[] | undefined;
287
+ autoComplete?: boolean | undefined;
288
+ alfDescription?: string | undefined;
289
+ }>, "many">>;
290
+ enabledByDefault: z.ZodOptional<z.ZodBoolean>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ name: string;
293
+ scope: "front" | "desk";
294
+ actionFunctionName: string;
295
+ alfMode: "disable" | "recommend";
296
+ description?: string | undefined;
297
+ nameDescI18nMap?: Record<string, {
298
+ name: string;
299
+ description: string;
300
+ }> | undefined;
301
+ alfDescription?: string | undefined;
302
+ buttonName?: string | undefined;
303
+ buttonNameI18nMap?: Record<string, {
304
+ name: string;
305
+ }> | undefined;
306
+ autoCompleteFunctionName?: string | undefined;
307
+ systemVersion?: string | undefined;
308
+ paramDefinitions?: {
309
+ type: "string" | "float" | "int" | "bool";
310
+ name: string;
311
+ required: boolean;
312
+ description?: string | undefined;
313
+ nameDescI18nMap?: Record<string, {
314
+ name: string;
315
+ description: string;
316
+ }> | undefined;
317
+ choices?: {
318
+ value: string | number | boolean;
319
+ name: string;
320
+ nameDescI18nMap?: Record<string, {
321
+ name: string;
322
+ description: string;
323
+ }> | undefined;
324
+ }[] | undefined;
325
+ autoComplete?: boolean | undefined;
326
+ alfDescription?: string | undefined;
327
+ }[] | undefined;
328
+ enabledByDefault?: boolean | undefined;
329
+ }, {
330
+ name: string;
331
+ scope: "front" | "desk";
332
+ actionFunctionName: string;
333
+ alfMode: "disable" | "recommend";
334
+ description?: string | undefined;
335
+ nameDescI18nMap?: Record<string, {
336
+ name: string;
337
+ description: string;
338
+ }> | undefined;
339
+ alfDescription?: string | undefined;
340
+ buttonName?: string | undefined;
341
+ buttonNameI18nMap?: Record<string, {
342
+ name: string;
343
+ }> | undefined;
344
+ autoCompleteFunctionName?: string | undefined;
345
+ systemVersion?: string | undefined;
346
+ paramDefinitions?: {
347
+ type: "string" | "float" | "int" | "bool";
348
+ name: string;
349
+ required: boolean;
350
+ description?: string | undefined;
351
+ nameDescI18nMap?: Record<string, {
352
+ name: string;
353
+ description: string;
354
+ }> | undefined;
355
+ choices?: {
356
+ value: string | number | boolean;
357
+ name: string;
358
+ nameDescI18nMap?: Record<string, {
359
+ name: string;
360
+ description: string;
361
+ }> | undefined;
362
+ }[] | undefined;
363
+ autoComplete?: boolean | undefined;
364
+ alfDescription?: string | undefined;
365
+ }[] | undefined;
366
+ enabledByDefault?: boolean | undefined;
367
+ }>;
368
+ export type CommandConfig = z.infer<typeof CommandConfigSchema>;
369
+ /**
370
+ * Metadata response schema for command registration
371
+ */
372
+ export declare const GetCommandsOutputSchema: z.ZodObject<{
373
+ commands: z.ZodArray<z.ZodObject<{
374
+ name: z.ZodString;
375
+ scope: z.ZodEnum<["front", "desk"]>;
376
+ buttonName: z.ZodOptional<z.ZodString>;
377
+ buttonNameI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
378
+ name: z.ZodString;
379
+ }, "strip", z.ZodTypeAny, {
380
+ name: string;
381
+ }, {
382
+ name: string;
383
+ }>>>;
384
+ description: z.ZodOptional<z.ZodString>;
385
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
386
+ name: z.ZodString;
387
+ description: z.ZodString;
388
+ }, "strip", z.ZodTypeAny, {
389
+ name: string;
390
+ description: string;
391
+ }, {
392
+ name: string;
393
+ description: string;
394
+ }>>>;
395
+ actionFunctionName: z.ZodString;
396
+ autoCompleteFunctionName: z.ZodOptional<z.ZodString>;
397
+ systemVersion: z.ZodOptional<z.ZodString>;
398
+ alfMode: z.ZodEnum<["disable", "recommend"]>;
399
+ alfDescription: z.ZodOptional<z.ZodString>;
400
+ paramDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
401
+ name: z.ZodString;
402
+ type: z.ZodEnum<["string", "float", "int", "bool"]>;
403
+ required: z.ZodBoolean;
404
+ description: z.ZodOptional<z.ZodString>;
405
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
406
+ name: z.ZodString;
407
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
408
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
409
+ name: z.ZodString;
410
+ description: z.ZodString;
411
+ }, "strip", z.ZodTypeAny, {
412
+ name: string;
413
+ description: string;
414
+ }, {
415
+ name: string;
416
+ description: string;
417
+ }>>>;
418
+ }, "strip", z.ZodTypeAny, {
419
+ value: string | number | boolean;
420
+ name: string;
421
+ nameDescI18nMap?: Record<string, {
422
+ name: string;
423
+ description: string;
424
+ }> | undefined;
425
+ }, {
426
+ value: string | number | boolean;
427
+ name: string;
428
+ nameDescI18nMap?: Record<string, {
429
+ name: string;
430
+ description: string;
431
+ }> | undefined;
432
+ }>, "many">>;
433
+ nameDescI18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
434
+ name: z.ZodString;
435
+ description: z.ZodString;
436
+ }, "strip", z.ZodTypeAny, {
437
+ name: string;
438
+ description: string;
439
+ }, {
440
+ name: string;
441
+ description: string;
442
+ }>>>;
443
+ autoComplete: z.ZodOptional<z.ZodBoolean>;
444
+ alfDescription: z.ZodOptional<z.ZodString>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ type: "string" | "float" | "int" | "bool";
447
+ name: string;
448
+ required: boolean;
449
+ description?: string | undefined;
450
+ nameDescI18nMap?: Record<string, {
451
+ name: string;
452
+ description: string;
453
+ }> | undefined;
454
+ choices?: {
455
+ value: string | number | boolean;
456
+ name: string;
457
+ nameDescI18nMap?: Record<string, {
458
+ name: string;
459
+ description: string;
460
+ }> | undefined;
461
+ }[] | undefined;
462
+ autoComplete?: boolean | undefined;
463
+ alfDescription?: string | undefined;
464
+ }, {
465
+ type: "string" | "float" | "int" | "bool";
466
+ name: string;
467
+ required: boolean;
468
+ description?: string | undefined;
469
+ nameDescI18nMap?: Record<string, {
470
+ name: string;
471
+ description: string;
472
+ }> | undefined;
473
+ choices?: {
474
+ value: string | number | boolean;
475
+ name: string;
476
+ nameDescI18nMap?: Record<string, {
477
+ name: string;
478
+ description: string;
479
+ }> | undefined;
480
+ }[] | undefined;
481
+ autoComplete?: boolean | undefined;
482
+ alfDescription?: string | undefined;
483
+ }>, "many">>;
484
+ enabledByDefault: z.ZodOptional<z.ZodBoolean>;
485
+ }, "strip", z.ZodTypeAny, {
486
+ name: string;
487
+ scope: "front" | "desk";
488
+ actionFunctionName: string;
489
+ alfMode: "disable" | "recommend";
490
+ description?: string | undefined;
491
+ nameDescI18nMap?: Record<string, {
492
+ name: string;
493
+ description: string;
494
+ }> | undefined;
495
+ alfDescription?: string | undefined;
496
+ buttonName?: string | undefined;
497
+ buttonNameI18nMap?: Record<string, {
498
+ name: string;
499
+ }> | undefined;
500
+ autoCompleteFunctionName?: string | undefined;
501
+ systemVersion?: string | undefined;
502
+ paramDefinitions?: {
503
+ type: "string" | "float" | "int" | "bool";
504
+ name: string;
505
+ required: boolean;
506
+ description?: string | undefined;
507
+ nameDescI18nMap?: Record<string, {
508
+ name: string;
509
+ description: string;
510
+ }> | undefined;
511
+ choices?: {
512
+ value: string | number | boolean;
513
+ name: string;
514
+ nameDescI18nMap?: Record<string, {
515
+ name: string;
516
+ description: string;
517
+ }> | undefined;
518
+ }[] | undefined;
519
+ autoComplete?: boolean | undefined;
520
+ alfDescription?: string | undefined;
521
+ }[] | undefined;
522
+ enabledByDefault?: boolean | undefined;
523
+ }, {
524
+ name: string;
525
+ scope: "front" | "desk";
526
+ actionFunctionName: string;
527
+ alfMode: "disable" | "recommend";
528
+ description?: string | undefined;
529
+ nameDescI18nMap?: Record<string, {
530
+ name: string;
531
+ description: string;
532
+ }> | undefined;
533
+ alfDescription?: string | undefined;
534
+ buttonName?: string | undefined;
535
+ buttonNameI18nMap?: Record<string, {
536
+ name: string;
537
+ }> | undefined;
538
+ autoCompleteFunctionName?: string | undefined;
539
+ systemVersion?: string | undefined;
540
+ paramDefinitions?: {
541
+ type: "string" | "float" | "int" | "bool";
542
+ name: string;
543
+ required: boolean;
544
+ description?: string | undefined;
545
+ nameDescI18nMap?: Record<string, {
546
+ name: string;
547
+ description: string;
548
+ }> | undefined;
549
+ choices?: {
550
+ value: string | number | boolean;
551
+ name: string;
552
+ nameDescI18nMap?: Record<string, {
553
+ name: string;
554
+ description: string;
555
+ }> | undefined;
556
+ }[] | undefined;
557
+ autoComplete?: boolean | undefined;
558
+ alfDescription?: string | undefined;
559
+ }[] | undefined;
560
+ enabledByDefault?: boolean | undefined;
561
+ }>, "many">;
562
+ }, "strip", z.ZodTypeAny, {
563
+ commands: {
564
+ name: string;
565
+ scope: "front" | "desk";
566
+ actionFunctionName: string;
567
+ alfMode: "disable" | "recommend";
568
+ description?: string | undefined;
569
+ nameDescI18nMap?: Record<string, {
570
+ name: string;
571
+ description: string;
572
+ }> | undefined;
573
+ alfDescription?: string | undefined;
574
+ buttonName?: string | undefined;
575
+ buttonNameI18nMap?: Record<string, {
576
+ name: string;
577
+ }> | undefined;
578
+ autoCompleteFunctionName?: string | undefined;
579
+ systemVersion?: string | undefined;
580
+ paramDefinitions?: {
581
+ type: "string" | "float" | "int" | "bool";
582
+ name: string;
583
+ required: boolean;
584
+ description?: string | undefined;
585
+ nameDescI18nMap?: Record<string, {
586
+ name: string;
587
+ description: string;
588
+ }> | undefined;
589
+ choices?: {
590
+ value: string | number | boolean;
591
+ name: string;
592
+ nameDescI18nMap?: Record<string, {
593
+ name: string;
594
+ description: string;
595
+ }> | undefined;
596
+ }[] | undefined;
597
+ autoComplete?: boolean | undefined;
598
+ alfDescription?: string | undefined;
599
+ }[] | undefined;
600
+ enabledByDefault?: boolean | undefined;
601
+ }[];
602
+ }, {
603
+ commands: {
604
+ name: string;
605
+ scope: "front" | "desk";
606
+ actionFunctionName: string;
607
+ alfMode: "disable" | "recommend";
608
+ description?: string | undefined;
609
+ nameDescI18nMap?: Record<string, {
610
+ name: string;
611
+ description: string;
612
+ }> | undefined;
613
+ alfDescription?: string | undefined;
614
+ buttonName?: string | undefined;
615
+ buttonNameI18nMap?: Record<string, {
616
+ name: string;
617
+ }> | undefined;
618
+ autoCompleteFunctionName?: string | undefined;
619
+ systemVersion?: string | undefined;
620
+ paramDefinitions?: {
621
+ type: "string" | "float" | "int" | "bool";
622
+ name: string;
623
+ required: boolean;
624
+ description?: string | undefined;
625
+ nameDescI18nMap?: Record<string, {
626
+ name: string;
627
+ description: string;
628
+ }> | undefined;
629
+ choices?: {
630
+ value: string | number | boolean;
631
+ name: string;
632
+ nameDescI18nMap?: Record<string, {
633
+ name: string;
634
+ description: string;
635
+ }> | undefined;
636
+ }[] | undefined;
637
+ autoComplete?: boolean | undefined;
638
+ alfDescription?: string | undefined;
639
+ }[] | undefined;
640
+ enabledByDefault?: boolean | undefined;
641
+ }[];
642
+ }>;
643
+ export type GetCommandsOutput = z.infer<typeof GetCommandsOutputSchema>;
2
644
  /**
3
645
  * Command suggestion schema
4
646
  */
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/extensions/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;EAKrB,CAAC;AAEZ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/extensions/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,kBAAkB,8BAA4B,CAAC;AAC5D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,oBAAoB,qCAAmC,CAAC;AACrE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;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