commandbar 1.8.7 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/build/commandbar-js/src/index.js +1 -1
  2. package/build/internal/src/client/AddContextOptions.d.ts +4 -0
  3. package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -1
  4. package/build/internal/src/client/CommandBarClientSDK.d.ts +25 -7
  5. package/build/internal/src/client/CommandBarProxySDK.d.ts +3 -3
  6. package/build/internal/src/client/CommandBarSDK.d.ts +23 -12
  7. package/build/internal/src/client/EventHandler.d.ts +19 -5
  8. package/build/internal/src/client/globals.d.ts +6 -0
  9. package/build/internal/src/client/symbols.d.ts +11 -6
  10. package/build/internal/src/middleware/CommandFromClientV.d.ts +68 -10
  11. package/build/internal/src/middleware/OrganizationV.d.ts +124 -20
  12. package/build/internal/src/middleware/additionalResource.d.ts +178 -16
  13. package/build/internal/src/middleware/billing.d.ts +33 -0
  14. package/build/internal/src/middleware/chat.d.ts +10913 -0
  15. package/build/internal/src/middleware/checklist.d.ts +106 -28
  16. package/build/internal/src/middleware/command.d.ts +3778 -446
  17. package/build/internal/src/middleware/detailPreview.d.ts +12 -1
  18. package/build/internal/src/middleware/endUser.d.ts +104 -0
  19. package/build/internal/src/middleware/generics.d.ts +12 -11
  20. package/build/internal/src/middleware/helpDocsIntegration.d.ts +54 -8
  21. package/build/internal/src/middleware/helpDocsSearch.d.ts +2204 -0
  22. package/build/internal/src/middleware/helpHub.d.ts +26 -0
  23. package/build/internal/src/middleware/helpers/actions.d.ts +116 -8
  24. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +82 -2
  25. package/build/internal/src/middleware/helpers/pushTrigger.d.ts +6 -0
  26. package/build/internal/src/middleware/helpers/rules.d.ts +285 -26
  27. package/build/internal/src/middleware/network.d.ts +18 -3
  28. package/build/internal/src/middleware/nudge.d.ts +1193 -43
  29. package/build/internal/src/middleware/organization.d.ts +1051 -141
  30. package/build/internal/src/middleware/organizationSettings.d.ts +129 -22
  31. package/build/internal/src/middleware/recommendationSet.d.ts +408 -1007
  32. package/build/internal/src/middleware/types.d.ts +43 -25
  33. package/build/internal/src/util/dispatchCustomEvent.d.ts +3 -1
  34. package/build/internal/src/util/operatingSystem.d.ts +13 -0
  35. package/build/internal/src/util/sentry.d.ts +23 -0
  36. package/package.json +3 -3
  37. package/build/internal/src/client/SentryReporter.d.ts +0 -63
  38. package/build/internal/src/middleware/chatAnalytics.d.ts +0 -2601
  39. package/build/internal/src/middleware/helpers/endUser.d.ts +0 -11
  40. package/build/internal/src/middleware/qaPair.d.ts +0 -676
  41. package/build/internal/src/util/integrations.d.ts +0 -1
@@ -1,676 +0,0 @@
1
- import * as t from 'io-ts';
2
- export declare const InstantAnswerV: t.IntersectionC<[t.TypeC<{
3
- answer: t.StringC;
4
- command_id: t.UnionC<[t.NumberC, t.NullC]>;
5
- command_title: t.StringC;
6
- passage_id: t.UnionC<[t.NumberC, t.NullC]>;
7
- }>, t.PartialC<{
8
- message_id: t.NumberC;
9
- chat_id: t.StringC;
10
- doc: t.TypeC<{
11
- commandID: t.NumberC;
12
- title: t.StringC;
13
- excerpt: t.StringC;
14
- content: t.StringC;
15
- command: t.Type<{
16
- id: number;
17
- organization: string | number;
18
- text: string;
19
- template: ({
20
- type: "admin";
21
- value: string;
22
- } & {} & {
23
- commandType?: "object" | "help" | "independent" | undefined;
24
- object?: string | undefined;
25
- hoverTooltip?: boolean | undefined;
26
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
27
- }) | ({
28
- type: "callback";
29
- value: string;
30
- } & {} & {
31
- commandType?: "object" | "help" | "independent" | undefined;
32
- object?: string | undefined;
33
- hoverTooltip?: boolean | undefined;
34
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
35
- }) | ({
36
- type: "link";
37
- value: string;
38
- } & {
39
- operation?: "self" | "router" | "blank" | undefined;
40
- } & {} & {
41
- commandType?: "object" | "help" | "independent" | undefined;
42
- object?: string | undefined;
43
- hoverTooltip?: boolean | undefined;
44
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
45
- }) | ({
46
- type: "click" | "clickByXpath" | "clickBySelector";
47
- value: string[];
48
- } & {} & {
49
- commandType?: "object" | "help" | "independent" | undefined;
50
- object?: string | undefined;
51
- hoverTooltip?: boolean | undefined;
52
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
53
- }) | ({
54
- type: "builtin";
55
- value: string;
56
- } & {} & {
57
- commandType?: "object" | "help" | "independent" | undefined;
58
- object?: string | undefined;
59
- hoverTooltip?: boolean | undefined;
60
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
61
- }) | ({
62
- type: "webhook";
63
- value: string;
64
- } & {} & {
65
- commandType?: "object" | "help" | "independent" | undefined;
66
- object?: string | undefined;
67
- hoverTooltip?: boolean | undefined;
68
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
69
- }) | ({
70
- type: "script";
71
- value: string;
72
- } & {} & {
73
- commandType?: "object" | "help" | "independent" | undefined;
74
- object?: string | undefined;
75
- hoverTooltip?: boolean | undefined;
76
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
77
- }) | ({
78
- type: "request";
79
- value: {
80
- method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
81
- url: string;
82
- } & {
83
- headers?: {
84
- [key: string]: unknown;
85
- } | undefined;
86
- body?: {
87
- [key: string]: unknown;
88
- } | undefined;
89
- onSend?: string | undefined;
90
- onSuccess?: string | undefined;
91
- onError?: string | undefined;
92
- };
93
- } & {} & {
94
- commandType?: "object" | "help" | "independent" | undefined;
95
- object?: string | undefined;
96
- hoverTooltip?: boolean | undefined;
97
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
98
- }) | ({
99
- type: "appcues";
100
- value: string;
101
- } & {} & {
102
- commandType?: "object" | "help" | "independent" | undefined;
103
- object?: string | undefined;
104
- hoverTooltip?: boolean | undefined;
105
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
106
- }) | ({
107
- type: "video";
108
- value: string;
109
- } & {} & {
110
- commandType?: "object" | "help" | "independent" | undefined;
111
- object?: string | undefined;
112
- hoverTooltip?: boolean | undefined;
113
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
114
- }) | ({
115
- type: "helpdoc";
116
- value: string;
117
- } & {
118
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
119
- doc_metadata?: {
120
- content_type?: string | undefined;
121
- date?: string | undefined;
122
- } | undefined;
123
- } & {
124
- doc_type?: "answer" | "doc" | undefined;
125
- } & {} & {
126
- commandType?: "object" | "help" | "independent" | undefined;
127
- object?: string | undefined;
128
- hoverTooltip?: boolean | undefined;
129
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
130
- }) | ({
131
- type: "trigger";
132
- value: any;
133
- } & {} & {
134
- commandType?: "object" | "help" | "independent" | undefined;
135
- object?: string | undefined;
136
- hoverTooltip?: boolean | undefined;
137
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
138
- });
139
- } & {
140
- disabledReason?: string | undefined;
141
- source?: string | undefined;
142
- name?: string | undefined;
143
- last_available?: string | null | undefined;
144
- modified?: string | undefined;
145
- isAsync?: boolean | undefined;
146
- } & {
147
- arguments: {
148
- [x: string]: ({
149
- type: "context";
150
- value: string;
151
- order_key: number;
152
- } & {
153
- label?: string | undefined;
154
- chosen?: string | number | undefined;
155
- selected?: any[] | undefined;
156
- input_type?: string | undefined;
157
- preselected_key?: string | undefined;
158
- label_field?: string | undefined;
159
- loaded?: any[] | undefined;
160
- allow_create?: boolean | undefined;
161
- allow_create_label?: string | undefined;
162
- show_in_record_action_list?: boolean | undefined;
163
- show_in_default_list?: boolean | undefined;
164
- auto_choose?: boolean | undefined;
165
- is_private?: boolean | undefined;
166
- }) | ({
167
- type: "set";
168
- value: string[] | number[] | {
169
- [key: string]: unknown;
170
- }[];
171
- order_key: number;
172
- } & {
173
- label?: string | undefined;
174
- chosen?: string | number | undefined;
175
- selected?: any[] | undefined;
176
- input_type?: string | undefined;
177
- preselected_key?: string | undefined;
178
- label_field?: string | undefined;
179
- loaded?: any[] | undefined;
180
- allow_create?: boolean | undefined;
181
- allow_create_label?: string | undefined;
182
- auto_choose?: boolean | undefined;
183
- is_private?: boolean | undefined;
184
- }) | ({
185
- type: "provided";
186
- value: "time" | "text";
187
- order_key: number;
188
- } & {
189
- label?: string | undefined;
190
- chosen?: string | number | undefined;
191
- selected?: any[] | undefined;
192
- input_type?: string | undefined;
193
- preselected_key?: string | undefined;
194
- label_field?: string | undefined;
195
- loaded?: any[] | undefined;
196
- dateTimeArgumentTypeId?: number | undefined;
197
- allow_create?: boolean | undefined;
198
- allow_create_label?: string | undefined;
199
- auto_choose?: boolean | undefined;
200
- is_private?: boolean | undefined;
201
- }) | ({
202
- type: "html" | "video";
203
- value: {
204
- source: string;
205
- } & {
206
- title?: string | undefined;
207
- description?: string | undefined;
208
- url?: string | undefined;
209
- };
210
- order_key: number;
211
- } & {
212
- label?: string | undefined;
213
- chosen?: string | number | undefined;
214
- selected?: any[] | undefined;
215
- input_type?: string | undefined;
216
- preselected_key?: string | undefined;
217
- label_field?: string | undefined;
218
- loaded?: any[] | undefined;
219
- allow_create?: boolean | undefined;
220
- allow_create_label?: string | undefined;
221
- is_private?: boolean | undefined;
222
- auto_choose?: boolean | undefined;
223
- });
224
- };
225
- tags: string[];
226
- availability_rules: ({
227
- type: "url" | "element" | "context" | "heap" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends";
228
- operator: "includes" | "endsWith" | "startsWith" | "is" | "isNot" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isBefore" | "isAfter" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage";
229
- } & {
230
- field?: string | undefined;
231
- value?: string | undefined;
232
- reason?: string | undefined;
233
- rule_id?: string | number | undefined;
234
- })[];
235
- recommend_rules: (({
236
- type: "url" | "element" | "context" | "heap" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends";
237
- operator: "includes" | "endsWith" | "startsWith" | "is" | "isNot" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isBefore" | "isAfter" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage";
238
- } & {
239
- field?: string | undefined;
240
- value?: string | undefined;
241
- reason?: string | undefined;
242
- rule_id?: string | number | undefined;
243
- }) | ({
244
- type: "always";
245
- } & {
246
- operator?: null | undefined;
247
- field?: null | undefined;
248
- value?: null | undefined;
249
- reason?: null | undefined;
250
- rule_id?: string | number | undefined;
251
- }))[];
252
- availability_expression: import("./helpers/rules").RuleExpression | null;
253
- recommend_expression: import("./helpers/rules").RuleExpression | null;
254
- always_recommend: boolean;
255
- confirm: string;
256
- shortcut: string[];
257
- explanation: string;
258
- heading: string;
259
- is_live: boolean;
260
- category: number | null;
261
- sort_key: number | null;
262
- icon: string | null;
263
- icon_color: string | null;
264
- image_color: string | null;
265
- image: string | null;
266
- celebrate: boolean | {
267
- angle?: number | undefined;
268
- spread?: number | undefined;
269
- width?: string | undefined;
270
- height?: string | undefined;
271
- duration?: number | undefined;
272
- dragFriction?: number | undefined;
273
- stagger?: number | undefined;
274
- startVelocity?: number | undefined;
275
- elementCount?: number | undefined;
276
- decay?: number | undefined;
277
- colors?: string[] | undefined;
278
- random?: any;
279
- } | null;
280
- recommend_sort_key: number | null;
281
- shortcut_mac: string[];
282
- shortcut_win: string[];
283
- hotkey_mac: string;
284
- hotkey_win: string;
285
- detail: string | ({
286
- type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
287
- value: string;
288
- } & {
289
- position?: "inline" | "popover" | undefined;
290
- }) | (string | ({
291
- type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
292
- value: string;
293
- } & {
294
- position?: "inline" | "popover" | undefined;
295
- }))[] | null;
296
- content: string | ({
297
- type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
298
- value: string;
299
- } & {
300
- position?: "inline" | "popover" | undefined;
301
- }) | (string | ({
302
- type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
303
- value: string;
304
- } & {
305
- position?: "inline" | "popover" | undefined;
306
- }))[] | null;
307
- show_preview: boolean;
308
- next_steps: (string | number | {
309
- cta: string;
310
- action: {
311
- type: "execute_command";
312
- meta: {
313
- command: string;
314
- };
315
- } | {
316
- type: "no_action";
317
- } | {
318
- type: "click";
319
- value: string;
320
- } | ({
321
- type: "link";
322
- value: string;
323
- } & {
324
- operation?: "self" | "router" | "blank" | undefined;
325
- }) | {
326
- type: "open_chat";
327
- meta: {
328
- type: string;
329
- };
330
- } | {
331
- type: "dismiss";
332
- };
333
- })[];
334
- extra: string | null;
335
- thumbnail: {
336
- src: string;
337
- file_name: string;
338
- size: string;
339
- } | null;
340
- } & {
341
- third_party_source?: string | null | undefined;
342
- third_party_id?: string | null | undefined;
343
- training_only?: boolean | undefined;
344
- }, {
345
- id: number;
346
- organization: string | number;
347
- text: string;
348
- template: ({
349
- type: "admin";
350
- value: string;
351
- } & {} & {
352
- commandType?: "object" | "help" | "independent" | undefined;
353
- object?: string | undefined;
354
- hoverTooltip?: boolean | undefined;
355
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
356
- }) | ({
357
- type: "callback";
358
- value: string;
359
- } & {} & {
360
- commandType?: "object" | "help" | "independent" | undefined;
361
- object?: string | undefined;
362
- hoverTooltip?: boolean | undefined;
363
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
364
- }) | ({
365
- type: "link";
366
- value: string;
367
- } & {
368
- operation?: "self" | "router" | "blank" | undefined;
369
- } & {} & {
370
- commandType?: "object" | "help" | "independent" | undefined;
371
- object?: string | undefined;
372
- hoverTooltip?: boolean | undefined;
373
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
374
- }) | ({
375
- type: "click" | "clickByXpath" | "clickBySelector";
376
- value: string[];
377
- } & {} & {
378
- commandType?: "object" | "help" | "independent" | undefined;
379
- object?: string | undefined;
380
- hoverTooltip?: boolean | undefined;
381
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
382
- }) | ({
383
- type: "builtin";
384
- value: string;
385
- } & {} & {
386
- commandType?: "object" | "help" | "independent" | undefined;
387
- object?: string | undefined;
388
- hoverTooltip?: boolean | undefined;
389
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
390
- }) | ({
391
- type: "webhook";
392
- value: string;
393
- } & {} & {
394
- commandType?: "object" | "help" | "independent" | undefined;
395
- object?: string | undefined;
396
- hoverTooltip?: boolean | undefined;
397
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
398
- }) | ({
399
- type: "script";
400
- value: string;
401
- } & {} & {
402
- commandType?: "object" | "help" | "independent" | undefined;
403
- object?: string | undefined;
404
- hoverTooltip?: boolean | undefined;
405
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
406
- }) | ({
407
- type: "request";
408
- value: {
409
- method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
410
- url: string;
411
- } & {
412
- headers?: {
413
- [key: string]: unknown;
414
- } | undefined;
415
- body?: {
416
- [key: string]: unknown;
417
- } | undefined;
418
- onSend?: string | undefined;
419
- onSuccess?: string | undefined;
420
- onError?: string | undefined;
421
- };
422
- } & {} & {
423
- commandType?: "object" | "help" | "independent" | undefined;
424
- object?: string | undefined;
425
- hoverTooltip?: boolean | undefined;
426
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
427
- }) | ({
428
- type: "appcues";
429
- value: string;
430
- } & {} & {
431
- commandType?: "object" | "help" | "independent" | undefined;
432
- object?: string | undefined;
433
- hoverTooltip?: boolean | undefined;
434
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
435
- }) | ({
436
- type: "video";
437
- value: string;
438
- } & {} & {
439
- commandType?: "object" | "help" | "independent" | undefined;
440
- object?: string | undefined;
441
- hoverTooltip?: boolean | undefined;
442
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
443
- }) | ({
444
- type: "helpdoc";
445
- value: string;
446
- } & {
447
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
448
- doc_metadata?: {
449
- content_type?: string | undefined;
450
- date?: string | undefined;
451
- } | undefined;
452
- } & {
453
- doc_type?: "answer" | "doc" | undefined;
454
- } & {} & {
455
- commandType?: "object" | "help" | "independent" | undefined;
456
- object?: string | undefined;
457
- hoverTooltip?: boolean | undefined;
458
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
459
- }) | ({
460
- type: "trigger";
461
- value: any;
462
- } & {} & {
463
- commandType?: "object" | "help" | "independent" | undefined;
464
- object?: string | undefined;
465
- hoverTooltip?: boolean | undefined;
466
- operation?: "self" | "router" | "blank" | "help_hub" | undefined;
467
- });
468
- } & {
469
- disabledReason?: string | undefined;
470
- source?: string | undefined;
471
- name?: string | undefined;
472
- last_available?: string | null | undefined;
473
- modified?: string | undefined;
474
- isAsync?: boolean | undefined;
475
- } & {
476
- arguments: {
477
- [x: string]: ({
478
- type: "context";
479
- value: string;
480
- order_key: number;
481
- } & {
482
- label?: string | undefined;
483
- chosen?: string | number | undefined;
484
- selected?: any[] | undefined;
485
- input_type?: string | undefined;
486
- preselected_key?: string | undefined;
487
- label_field?: string | undefined;
488
- loaded?: any[] | undefined;
489
- allow_create?: boolean | undefined;
490
- allow_create_label?: string | undefined;
491
- show_in_record_action_list?: boolean | undefined;
492
- show_in_default_list?: boolean | undefined;
493
- auto_choose?: boolean | undefined;
494
- is_private?: boolean | undefined;
495
- }) | ({
496
- type: "set";
497
- value: string[] | number[] | {
498
- [key: string]: unknown;
499
- }[];
500
- order_key: number;
501
- } & {
502
- label?: string | undefined;
503
- chosen?: string | number | undefined;
504
- selected?: any[] | undefined;
505
- input_type?: string | undefined;
506
- preselected_key?: string | undefined;
507
- label_field?: string | undefined;
508
- loaded?: any[] | undefined;
509
- allow_create?: boolean | undefined;
510
- allow_create_label?: string | undefined;
511
- auto_choose?: boolean | undefined;
512
- is_private?: boolean | undefined;
513
- }) | ({
514
- type: "provided";
515
- value: "time" | "text";
516
- order_key: number;
517
- } & {
518
- label?: string | undefined;
519
- chosen?: string | number | undefined;
520
- selected?: any[] | undefined;
521
- input_type?: string | undefined;
522
- preselected_key?: string | undefined;
523
- label_field?: string | undefined;
524
- loaded?: any[] | undefined;
525
- dateTimeArgumentTypeId?: number | undefined;
526
- allow_create?: boolean | undefined;
527
- allow_create_label?: string | undefined;
528
- auto_choose?: boolean | undefined;
529
- is_private?: boolean | undefined;
530
- }) | ({
531
- type: "html" | "video";
532
- value: {
533
- source: string;
534
- } & {
535
- title?: string | undefined;
536
- description?: string | undefined;
537
- url?: string | undefined;
538
- };
539
- order_key: number;
540
- } & {
541
- label?: string | undefined;
542
- chosen?: string | number | undefined;
543
- selected?: any[] | undefined;
544
- input_type?: string | undefined;
545
- preselected_key?: string | undefined;
546
- label_field?: string | undefined;
547
- loaded?: any[] | undefined;
548
- allow_create?: boolean | undefined;
549
- allow_create_label?: string | undefined;
550
- is_private?: boolean | undefined;
551
- auto_choose?: boolean | undefined;
552
- });
553
- };
554
- tags: string[];
555
- availability_rules: ({
556
- type: "url" | "element" | "context" | "heap" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends";
557
- operator: "includes" | "endsWith" | "startsWith" | "is" | "isNot" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isBefore" | "isAfter" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage";
558
- } & {
559
- field?: string | undefined;
560
- value?: string | undefined;
561
- reason?: string | undefined;
562
- rule_id?: string | number | undefined;
563
- })[];
564
- recommend_rules: (({
565
- type: "url" | "element" | "context" | "heap" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends";
566
- operator: "includes" | "endsWith" | "startsWith" | "is" | "isNot" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isBefore" | "isAfter" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage";
567
- } & {
568
- field?: string | undefined;
569
- value?: string | undefined;
570
- reason?: string | undefined;
571
- rule_id?: string | number | undefined;
572
- }) | ({
573
- type: "always";
574
- } & {
575
- operator?: null | undefined;
576
- field?: null | undefined;
577
- value?: null | undefined;
578
- reason?: null | undefined;
579
- rule_id?: string | number | undefined;
580
- }))[];
581
- availability_expression: import("./helpers/rules").RuleExpression | null;
582
- recommend_expression: import("./helpers/rules").RuleExpression | null;
583
- always_recommend: boolean;
584
- confirm: string;
585
- shortcut: string[];
586
- explanation: string;
587
- heading: string;
588
- is_live: boolean;
589
- category: number | null;
590
- sort_key: number | null;
591
- icon: string | null;
592
- icon_color: string | null;
593
- image_color: string | null;
594
- image: string | null;
595
- celebrate: boolean | {
596
- angle?: number | undefined;
597
- spread?: number | undefined;
598
- width?: string | undefined;
599
- height?: string | undefined;
600
- duration?: number | undefined;
601
- dragFriction?: number | undefined;
602
- stagger?: number | undefined;
603
- startVelocity?: number | undefined;
604
- elementCount?: number | undefined;
605
- decay?: number | undefined;
606
- colors?: string[] | undefined;
607
- random?: any;
608
- } | null;
609
- recommend_sort_key: number | null;
610
- shortcut_mac: string[];
611
- shortcut_win: string[];
612
- hotkey_mac: string;
613
- hotkey_win: string;
614
- detail: string | ({
615
- type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
616
- value: string;
617
- } & {
618
- position?: "inline" | "popover" | undefined;
619
- }) | (string | ({
620
- type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
621
- value: string;
622
- } & {
623
- position?: "inline" | "popover" | undefined;
624
- }))[] | null;
625
- content: string | ({
626
- type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
627
- value: string;
628
- } & {
629
- position?: "inline" | "popover" | undefined;
630
- }) | (string | ({
631
- type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
632
- value: string;
633
- } & {
634
- position?: "inline" | "popover" | undefined;
635
- }))[] | null;
636
- show_preview: boolean;
637
- next_steps: (string | number | {
638
- cta: string;
639
- action: {
640
- type: "execute_command";
641
- meta: {
642
- command: string;
643
- };
644
- } | {
645
- type: "no_action";
646
- } | {
647
- type: "click";
648
- value: string;
649
- } | ({
650
- type: "link";
651
- value: string;
652
- } & {
653
- operation?: "self" | "router" | "blank" | undefined;
654
- }) | {
655
- type: "open_chat";
656
- meta: {
657
- type: string;
658
- };
659
- } | {
660
- type: "dismiss";
661
- };
662
- })[];
663
- extra: string | null;
664
- thumbnail: {
665
- src: string;
666
- file_name: string;
667
- size: string;
668
- } | null;
669
- } & {
670
- third_party_source?: string | null | undefined;
671
- third_party_id?: string | null | undefined;
672
- training_only?: boolean | undefined;
673
- }, any>;
674
- }>;
675
- no_answer: t.BooleanC;
676
- }>]>;
@@ -1 +0,0 @@
1
- export declare const getTypeString: (integrationName?: string) => string | undefined;