commandbar 1.12.0 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +2 -0
  2. package/build/commandbar-js/src/index.js +1 -1
  3. package/build/commandbar-js/src/init.d.ts +10 -1
  4. package/build/commandbar-js/src/snippet.d.ts +0 -1
  5. package/build/internal/src/client/CommandBarClientSDK.d.ts +5 -0
  6. package/build/internal/src/client/CommandBarProxySDK.d.ts +2 -3
  7. package/build/internal/src/client/SDKConfig.d.ts +1 -0
  8. package/build/internal/src/client/symbols.d.ts +2 -0
  9. package/build/internal/src/middleware/CommandFromClientV.d.ts +7 -0
  10. package/build/internal/src/middleware/OrganizationV.d.ts +104 -12
  11. package/build/internal/src/middleware/additionalResource.d.ts +208 -118
  12. package/build/internal/src/middleware/api.d.ts +7 -7
  13. package/build/internal/src/middleware/chat.d.ts +23641 -12011
  14. package/build/internal/src/middleware/checklist.d.ts +221 -121
  15. package/build/internal/src/middleware/command.d.ts +2611 -2021
  16. package/build/internal/src/middleware/endUser.d.ts +0 -32
  17. package/build/internal/src/middleware/experienceTemplate.d.ts +407 -223
  18. package/build/internal/src/middleware/experiencesSearch.d.ts +818 -657
  19. package/build/internal/src/middleware/flags.d.ts +9 -8
  20. package/build/internal/src/middleware/helpDocsSearch.d.ts +586 -471
  21. package/build/internal/src/middleware/helpers/actions.d.ts +83 -30
  22. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +32 -6
  23. package/build/internal/src/middleware/helpers/rules.d.ts +19 -4
  24. package/build/internal/src/middleware/keyword.d.ts +82 -0
  25. package/build/internal/src/middleware/network.d.ts +2 -2
  26. package/build/internal/src/middleware/nudge.d.ts +520 -247
  27. package/build/internal/src/middleware/organization.d.ts +886 -607
  28. package/build/internal/src/middleware/organizationSettings.d.ts +282 -114
  29. package/build/internal/src/middleware/profile.d.ts +1 -1
  30. package/build/internal/src/middleware/recommendationSet.d.ts +208 -118
  31. package/build/internal/src/middleware/theme.d.ts +7 -0
  32. package/build/internal/src/middleware/types.d.ts +21 -20
  33. package/package.json +1 -1
  34. package/src/init.ts +13 -2
  35. package/src/snippet.ts +1 -14
  36. package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +0 -13
  37. package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +0 -54
  38. package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +0 -6
  39. package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +0 -152
  40. package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +0 -4
  41. package/build/internal/src/client/CommandBarSDK.d.ts +0 -99
  42. package/build/internal/src/client/globals.d.ts +0 -27
  43. package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -14
  44. package/build/internal/src/util/sentry.d.ts +0 -23
@@ -72,10 +72,18 @@ export declare const NudgeButtonActionV: t.UnionC<[t.TypeC<{
72
72
  value: t.StringC;
73
73
  }>, t.PartialC<{
74
74
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
75
+ meta: t.TypeC<{
76
+ command: t.StringC;
77
+ }>;
75
78
  }>]>, t.TypeC<{
76
79
  type: t.LiteralC<"open_chat">;
77
80
  meta: t.TypeC<{
78
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
81
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
82
+ }>;
83
+ }>, t.TypeC<{
84
+ type: t.LiteralC<"chat_handoff">;
85
+ meta: t.TypeC<{
86
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
79
87
  }>;
80
88
  }>, t.TypeC<{
81
89
  type: t.LiteralC<"dismiss">;
@@ -99,9 +107,11 @@ export declare const NudgeButtonActionV: t.UnionC<[t.TypeC<{
99
107
  categoryFilter: t.NumberC;
100
108
  }>]>, t.TypeC<{
101
109
  type: t.LiteralC<"open_helphub">;
102
- }>, t.TypeC<{
110
+ }>, t.IntersectionC<[t.TypeC<{
103
111
  type: t.LiteralC<"open_copilot">;
104
- }>]>;
112
+ }>, t.PartialC<{
113
+ query: t.StringC;
114
+ }>]>]>;
105
115
  export declare const NudgeConditionalActionV: t.TypeC<{
106
116
  operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
107
117
  operand: t.UnionC<[t.StringC, t.NumberC]>;
@@ -125,10 +135,18 @@ export declare const NudgeConditionalActionV: t.TypeC<{
125
135
  value: t.StringC;
126
136
  }>, t.PartialC<{
127
137
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
138
+ meta: t.TypeC<{
139
+ command: t.StringC;
140
+ }>;
128
141
  }>]>, t.TypeC<{
129
142
  type: t.LiteralC<"open_chat">;
130
143
  meta: t.TypeC<{
131
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
144
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
145
+ }>;
146
+ }>, t.TypeC<{
147
+ type: t.LiteralC<"chat_handoff">;
148
+ meta: t.TypeC<{
149
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
132
150
  }>;
133
151
  }>, t.TypeC<{
134
152
  type: t.LiteralC<"dismiss">;
@@ -152,9 +170,11 @@ export declare const NudgeConditionalActionV: t.TypeC<{
152
170
  categoryFilter: t.NumberC;
153
171
  }>]>, t.TypeC<{
154
172
  type: t.LiteralC<"open_helphub">;
155
- }>, t.TypeC<{
173
+ }>, t.IntersectionC<[t.TypeC<{
156
174
  type: t.LiteralC<"open_copilot">;
157
- }>]>;
175
+ }>, t.PartialC<{
176
+ query: t.StringC;
177
+ }>]>]>;
158
178
  }>;
159
179
  export declare const NudgeContentButtonBlockV: t.TypeC<{
160
180
  type: t.LiteralC<"button">;
@@ -181,10 +201,18 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
181
201
  value: t.StringC;
182
202
  }>, t.PartialC<{
183
203
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
204
+ meta: t.TypeC<{
205
+ command: t.StringC;
206
+ }>;
184
207
  }>]>, t.TypeC<{
185
208
  type: t.LiteralC<"open_chat">;
186
209
  meta: t.TypeC<{
187
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
210
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
211
+ }>;
212
+ }>, t.TypeC<{
213
+ type: t.LiteralC<"chat_handoff">;
214
+ meta: t.TypeC<{
215
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
188
216
  }>;
189
217
  }>, t.TypeC<{
190
218
  type: t.LiteralC<"dismiss">;
@@ -208,9 +236,11 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
208
236
  categoryFilter: t.NumberC;
209
237
  }>]>, t.TypeC<{
210
238
  type: t.LiteralC<"open_helphub">;
211
- }>, t.TypeC<{
239
+ }>, t.IntersectionC<[t.TypeC<{
212
240
  type: t.LiteralC<"open_copilot">;
213
- }>]>;
241
+ }>, t.PartialC<{
242
+ query: t.StringC;
243
+ }>]>]>;
214
244
  button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
215
245
  conditional_actions: t.ArrayC<t.TypeC<{
216
246
  operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
@@ -235,10 +265,18 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
235
265
  value: t.StringC;
236
266
  }>, t.PartialC<{
237
267
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
268
+ meta: t.TypeC<{
269
+ command: t.StringC;
270
+ }>;
238
271
  }>]>, t.TypeC<{
239
272
  type: t.LiteralC<"open_chat">;
240
273
  meta: t.TypeC<{
241
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
274
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
275
+ }>;
276
+ }>, t.TypeC<{
277
+ type: t.LiteralC<"chat_handoff">;
278
+ meta: t.TypeC<{
279
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
242
280
  }>;
243
281
  }>, t.TypeC<{
244
282
  type: t.LiteralC<"dismiss">;
@@ -262,9 +300,11 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
262
300
  categoryFilter: t.NumberC;
263
301
  }>]>, t.TypeC<{
264
302
  type: t.LiteralC<"open_helphub">;
265
- }>, t.TypeC<{
303
+ }>, t.IntersectionC<[t.TypeC<{
266
304
  type: t.LiteralC<"open_copilot">;
267
- }>]>;
305
+ }>, t.PartialC<{
306
+ query: t.StringC;
307
+ }>]>]>;
268
308
  }>>;
269
309
  }>, t.NullC]>;
270
310
  }>;
@@ -393,10 +433,18 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
393
433
  value: t.StringC;
394
434
  }>, t.PartialC<{
395
435
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
436
+ meta: t.TypeC<{
437
+ command: t.StringC;
438
+ }>;
396
439
  }>]>, t.TypeC<{
397
440
  type: t.LiteralC<"open_chat">;
398
441
  meta: t.TypeC<{
399
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
442
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
443
+ }>;
444
+ }>, t.TypeC<{
445
+ type: t.LiteralC<"chat_handoff">;
446
+ meta: t.TypeC<{
447
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
400
448
  }>;
401
449
  }>, t.TypeC<{
402
450
  type: t.LiteralC<"dismiss">;
@@ -420,9 +468,11 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
420
468
  categoryFilter: t.NumberC;
421
469
  }>]>, t.TypeC<{
422
470
  type: t.LiteralC<"open_helphub">;
423
- }>, t.TypeC<{
471
+ }>, t.IntersectionC<[t.TypeC<{
424
472
  type: t.LiteralC<"open_copilot">;
425
- }>]>;
473
+ }>, t.PartialC<{
474
+ query: t.StringC;
475
+ }>]>]>;
426
476
  button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
427
477
  conditional_actions: t.ArrayC<t.TypeC<{
428
478
  operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
@@ -447,10 +497,18 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
447
497
  value: t.StringC;
448
498
  }>, t.PartialC<{
449
499
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
500
+ meta: t.TypeC<{
501
+ command: t.StringC;
502
+ }>;
450
503
  }>]>, t.TypeC<{
451
504
  type: t.LiteralC<"open_chat">;
452
505
  meta: t.TypeC<{
453
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
506
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
507
+ }>;
508
+ }>, t.TypeC<{
509
+ type: t.LiteralC<"chat_handoff">;
510
+ meta: t.TypeC<{
511
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
454
512
  }>;
455
513
  }>, t.TypeC<{
456
514
  type: t.LiteralC<"dismiss">;
@@ -474,9 +532,11 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
474
532
  categoryFilter: t.NumberC;
475
533
  }>]>, t.TypeC<{
476
534
  type: t.LiteralC<"open_helphub">;
477
- }>, t.TypeC<{
535
+ }>, t.IntersectionC<[t.TypeC<{
478
536
  type: t.LiteralC<"open_copilot">;
479
- }>]>;
537
+ }>, t.PartialC<{
538
+ query: t.StringC;
539
+ }>]>]>;
480
540
  }>>;
481
541
  }>, t.NullC]>;
482
542
  }>, t.TypeC<{
@@ -623,10 +683,18 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
623
683
  value: t.StringC;
624
684
  }>, t.PartialC<{
625
685
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
686
+ meta: t.TypeC<{
687
+ command: t.StringC;
688
+ }>;
626
689
  }>]>, t.TypeC<{
627
690
  type: t.LiteralC<"open_chat">;
628
691
  meta: t.TypeC<{
629
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
692
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
693
+ }>;
694
+ }>, t.TypeC<{
695
+ type: t.LiteralC<"chat_handoff">;
696
+ meta: t.TypeC<{
697
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
630
698
  }>;
631
699
  }>, t.TypeC<{
632
700
  type: t.LiteralC<"dismiss">;
@@ -650,9 +718,11 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
650
718
  categoryFilter: t.NumberC;
651
719
  }>]>, t.TypeC<{
652
720
  type: t.LiteralC<"open_helphub">;
653
- }>, t.TypeC<{
721
+ }>, t.IntersectionC<[t.TypeC<{
654
722
  type: t.LiteralC<"open_copilot">;
655
- }>]>;
723
+ }>, t.PartialC<{
724
+ query: t.StringC;
725
+ }>]>]>;
656
726
  button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
657
727
  conditional_actions: t.ArrayC<t.TypeC<{
658
728
  operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
@@ -677,10 +747,18 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
677
747
  value: t.StringC;
678
748
  }>, t.PartialC<{
679
749
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
750
+ meta: t.TypeC<{
751
+ command: t.StringC;
752
+ }>;
680
753
  }>]>, t.TypeC<{
681
754
  type: t.LiteralC<"open_chat">;
682
755
  meta: t.TypeC<{
683
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
756
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
757
+ }>;
758
+ }>, t.TypeC<{
759
+ type: t.LiteralC<"chat_handoff">;
760
+ meta: t.TypeC<{
761
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
684
762
  }>;
685
763
  }>, t.TypeC<{
686
764
  type: t.LiteralC<"dismiss">;
@@ -704,9 +782,11 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
704
782
  categoryFilter: t.NumberC;
705
783
  }>]>, t.TypeC<{
706
784
  type: t.LiteralC<"open_helphub">;
707
- }>, t.TypeC<{
785
+ }>, t.IntersectionC<[t.TypeC<{
708
786
  type: t.LiteralC<"open_copilot">;
709
- }>]>;
787
+ }>, t.PartialC<{
788
+ query: t.StringC;
789
+ }>]>]>;
710
790
  }>>;
711
791
  }>, t.NullC]>;
712
792
  }>, t.TypeC<{
@@ -814,6 +894,9 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
814
894
  x: t.StringC;
815
895
  y: t.StringC;
816
896
  }>;
897
+ position: t.UnionC<[t.LiteralC<"auto">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
898
+ alignment: t.UnionC<[t.LiteralC<"center">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
899
+ copilot_intro: t.BooleanC;
817
900
  }>]>, t.TypeC<{
818
901
  type: t.LiteralC<"tooltip">;
819
902
  anchor: t.StringC;
@@ -947,10 +1030,18 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
947
1030
  value: t.StringC;
948
1031
  }>, t.PartialC<{
949
1032
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
1033
+ meta: t.TypeC<{
1034
+ command: t.StringC;
1035
+ }>;
950
1036
  }>]>, t.TypeC<{
951
1037
  type: t.LiteralC<"open_chat">;
952
1038
  meta: t.TypeC<{
953
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
1039
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
1040
+ }>;
1041
+ }>, t.TypeC<{
1042
+ type: t.LiteralC<"chat_handoff">;
1043
+ meta: t.TypeC<{
1044
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
954
1045
  }>;
955
1046
  }>, t.TypeC<{
956
1047
  type: t.LiteralC<"dismiss">;
@@ -974,9 +1065,11 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
974
1065
  categoryFilter: t.NumberC;
975
1066
  }>]>, t.TypeC<{
976
1067
  type: t.LiteralC<"open_helphub">;
977
- }>, t.TypeC<{
1068
+ }>, t.IntersectionC<[t.TypeC<{
978
1069
  type: t.LiteralC<"open_copilot">;
979
- }>]>;
1070
+ }>, t.PartialC<{
1071
+ query: t.StringC;
1072
+ }>]>]>;
980
1073
  button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
981
1074
  conditional_actions: t.ArrayC<t.TypeC<{
982
1075
  operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
@@ -1001,10 +1094,18 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1001
1094
  value: t.StringC;
1002
1095
  }>, t.PartialC<{
1003
1096
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
1097
+ meta: t.TypeC<{
1098
+ command: t.StringC;
1099
+ }>;
1004
1100
  }>]>, t.TypeC<{
1005
1101
  type: t.LiteralC<"open_chat">;
1006
1102
  meta: t.TypeC<{
1007
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
1103
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
1104
+ }>;
1105
+ }>, t.TypeC<{
1106
+ type: t.LiteralC<"chat_handoff">;
1107
+ meta: t.TypeC<{
1108
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
1008
1109
  }>;
1009
1110
  }>, t.TypeC<{
1010
1111
  type: t.LiteralC<"dismiss">;
@@ -1028,9 +1129,11 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1028
1129
  categoryFilter: t.NumberC;
1029
1130
  }>]>, t.TypeC<{
1030
1131
  type: t.LiteralC<"open_helphub">;
1031
- }>, t.TypeC<{
1132
+ }>, t.IntersectionC<[t.TypeC<{
1032
1133
  type: t.LiteralC<"open_copilot">;
1033
- }>]>;
1134
+ }>, t.PartialC<{
1135
+ query: t.StringC;
1136
+ }>]>]>;
1034
1137
  }>>;
1035
1138
  }>, t.NullC]>;
1036
1139
  }>, t.TypeC<{
@@ -1138,6 +1241,9 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1138
1241
  x: t.StringC;
1139
1242
  y: t.StringC;
1140
1243
  }>;
1244
+ position: t.UnionC<[t.LiteralC<"auto">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
1245
+ alignment: t.UnionC<[t.LiteralC<"center">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
1246
+ copilot_intro: t.BooleanC;
1141
1247
  }>]>, t.TypeC<{
1142
1248
  type: t.LiteralC<"tooltip">;
1143
1249
  anchor: t.StringC;
@@ -1334,6 +1440,9 @@ export declare const OldNudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1334
1440
  }>]>;
1335
1441
  template_source: t.StringC;
1336
1442
  }>]>;
1443
+ export declare const NudgeResetResponse: t.TypeC<{
1444
+ did_reset: t.BooleanC;
1445
+ }>;
1337
1446
  export declare class Nudge {
1338
1447
  static decode: (data: any) => {
1339
1448
  slug: string;
@@ -1423,30 +1532,36 @@ export declare class Nudge {
1423
1532
  sort_key: number | undefined;
1424
1533
  meta: {
1425
1534
  label?: string | undefined;
1426
- action?: {
1535
+ action?: ({
1536
+ type: "link";
1537
+ value: string;
1538
+ } & {
1539
+ operation?: "self" | "router" | "blank" | undefined;
1540
+ meta?: {
1541
+ command: string;
1542
+ } | undefined;
1543
+ }) | {
1544
+ type: "click" | "clickBySelector" | "clickByXpath";
1545
+ value: string[];
1546
+ } | {
1427
1547
  type: "execute_command";
1428
1548
  meta: {
1429
1549
  command: string;
1430
1550
  } & {
1431
1551
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
1432
1552
  };
1433
- } | {
1434
- type: "no_action";
1435
1553
  } | {
1436
1554
  type: "click";
1437
1555
  value: string;
1438
1556
  } | {
1439
- type: "click" | "clickBySelector" | "clickByXpath";
1440
- value: string[];
1441
- } | ({
1442
- type: "link";
1443
- value: string;
1444
- } & {
1445
- operation?: "self" | "router" | "blank" | undefined;
1446
- }) | {
1447
1557
  type: "open_chat";
1448
1558
  meta: {
1449
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1559
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
1560
+ };
1561
+ } | {
1562
+ type: "chat_handoff";
1563
+ meta: {
1564
+ type: "" | "intercom" | "freshchat" | "zendesk";
1450
1565
  };
1451
1566
  } | {
1452
1567
  type: "dismiss";
@@ -1455,14 +1570,14 @@ export declare class Nudge {
1455
1570
  } | {
1456
1571
  type: "questlist";
1457
1572
  value: number;
1458
- } | {
1459
- type: "step_back";
1460
1573
  } | {
1461
1574
  type: "nudge";
1462
1575
  value: number;
1463
1576
  } | {
1464
1577
  type: "go_to_step";
1465
1578
  value: number;
1579
+ } | {
1580
+ type: "step_back";
1466
1581
  } | ({
1467
1582
  type: "open_bar";
1468
1583
  } & {
@@ -1470,37 +1585,47 @@ export declare class Nudge {
1470
1585
  categoryFilter?: number | undefined;
1471
1586
  }) | {
1472
1587
  type: "open_helphub";
1473
- } | {
1588
+ } | ({
1474
1589
  type: "open_copilot";
1590
+ } & {
1591
+ query?: string | undefined;
1592
+ }) | {
1593
+ type: "no_action";
1475
1594
  } | undefined;
1476
1595
  button_type?: "snooze" | "primary" | "secondary" | undefined;
1477
1596
  conditional_actions?: {
1478
1597
  operator: "eq" | "neq" | "gt" | "lt";
1479
1598
  operand: string | number;
1480
- action: {
1599
+ action: ({
1600
+ type: "link";
1601
+ value: string;
1602
+ } & {
1603
+ operation?: "self" | "router" | "blank" | undefined;
1604
+ meta?: {
1605
+ command: string;
1606
+ } | undefined;
1607
+ }) | {
1608
+ type: "click" | "clickBySelector" | "clickByXpath";
1609
+ value: string[];
1610
+ } | {
1481
1611
  type: "execute_command";
1482
1612
  meta: {
1483
1613
  command: string;
1484
1614
  } & {
1485
1615
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
1486
1616
  };
1487
- } | {
1488
- type: "no_action";
1489
1617
  } | {
1490
1618
  type: "click";
1491
1619
  value: string;
1492
1620
  } | {
1493
- type: "click" | "clickBySelector" | "clickByXpath";
1494
- value: string[];
1495
- } | ({
1496
- type: "link";
1497
- value: string;
1498
- } & {
1499
- operation?: "self" | "router" | "blank" | undefined;
1500
- }) | {
1501
1621
  type: "open_chat";
1502
1622
  meta: {
1503
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1623
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
1624
+ };
1625
+ } | {
1626
+ type: "chat_handoff";
1627
+ meta: {
1628
+ type: "" | "intercom" | "freshchat" | "zendesk";
1504
1629
  };
1505
1630
  } | {
1506
1631
  type: "dismiss";
@@ -1509,14 +1634,14 @@ export declare class Nudge {
1509
1634
  } | {
1510
1635
  type: "questlist";
1511
1636
  value: number;
1512
- } | {
1513
- type: "step_back";
1514
1637
  } | {
1515
1638
  type: "nudge";
1516
1639
  value: number;
1517
1640
  } | {
1518
1641
  type: "go_to_step";
1519
1642
  value: number;
1643
+ } | {
1644
+ type: "step_back";
1520
1645
  } | ({
1521
1646
  type: "open_bar";
1522
1647
  } & {
@@ -1524,8 +1649,12 @@ export declare class Nudge {
1524
1649
  categoryFilter?: number | undefined;
1525
1650
  }) | {
1526
1651
  type: "open_helphub";
1527
- } | {
1652
+ } | ({
1528
1653
  type: "open_copilot";
1654
+ } & {
1655
+ query?: string | undefined;
1656
+ }) | {
1657
+ type: "no_action";
1529
1658
  };
1530
1659
  }[] | undefined;
1531
1660
  } | null;
@@ -1634,6 +1763,9 @@ export declare class Nudge {
1634
1763
  x: string;
1635
1764
  y: string;
1636
1765
  } | undefined;
1766
+ position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
1767
+ alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
1768
+ copilot_intro?: boolean | undefined;
1637
1769
  }) | {
1638
1770
  type: "tooltip";
1639
1771
  anchor: string;
@@ -1642,7 +1774,7 @@ export declare class Nudge {
1642
1774
  type: "beacon";
1643
1775
  } | {
1644
1776
  type: "icon";
1645
- icon: "helpCircle" | "helpSquare" | "infoCircle" | "bookClosed" | "lightBulb" | "lightning";
1777
+ icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
1646
1778
  } | {
1647
1779
  type: "image";
1648
1780
  source: string;
@@ -1785,30 +1917,36 @@ export declare class Nudge {
1785
1917
  sort_key: number | undefined;
1786
1918
  meta: {
1787
1919
  label?: string | undefined;
1788
- action?: {
1920
+ action?: ({
1921
+ type: "link";
1922
+ value: string;
1923
+ } & {
1924
+ operation?: "self" | "router" | "blank" | undefined;
1925
+ meta?: {
1926
+ command: string;
1927
+ } | undefined;
1928
+ }) | {
1929
+ type: "click" | "clickBySelector" | "clickByXpath";
1930
+ value: string[];
1931
+ } | {
1789
1932
  type: "execute_command";
1790
1933
  meta: {
1791
1934
  command: string;
1792
1935
  } & {
1793
1936
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
1794
1937
  };
1795
- } | {
1796
- type: "no_action";
1797
1938
  } | {
1798
1939
  type: "click";
1799
1940
  value: string;
1800
1941
  } | {
1801
- type: "click" | "clickBySelector" | "clickByXpath";
1802
- value: string[];
1803
- } | ({
1804
- type: "link";
1805
- value: string;
1806
- } & {
1807
- operation?: "self" | "router" | "blank" | undefined;
1808
- }) | {
1809
1942
  type: "open_chat";
1810
1943
  meta: {
1811
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1944
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
1945
+ };
1946
+ } | {
1947
+ type: "chat_handoff";
1948
+ meta: {
1949
+ type: "" | "intercom" | "freshchat" | "zendesk";
1812
1950
  };
1813
1951
  } | {
1814
1952
  type: "dismiss";
@@ -1817,14 +1955,14 @@ export declare class Nudge {
1817
1955
  } | {
1818
1956
  type: "questlist";
1819
1957
  value: number;
1820
- } | {
1821
- type: "step_back";
1822
1958
  } | {
1823
1959
  type: "nudge";
1824
1960
  value: number;
1825
1961
  } | {
1826
1962
  type: "go_to_step";
1827
1963
  value: number;
1964
+ } | {
1965
+ type: "step_back";
1828
1966
  } | ({
1829
1967
  type: "open_bar";
1830
1968
  } & {
@@ -1832,37 +1970,47 @@ export declare class Nudge {
1832
1970
  categoryFilter?: number | undefined;
1833
1971
  }) | {
1834
1972
  type: "open_helphub";
1835
- } | {
1973
+ } | ({
1836
1974
  type: "open_copilot";
1975
+ } & {
1976
+ query?: string | undefined;
1977
+ }) | {
1978
+ type: "no_action";
1837
1979
  } | undefined;
1838
1980
  button_type?: "snooze" | "primary" | "secondary" | undefined;
1839
1981
  conditional_actions?: {
1840
1982
  operator: "eq" | "neq" | "gt" | "lt";
1841
1983
  operand: string | number;
1842
- action: {
1984
+ action: ({
1985
+ type: "link";
1986
+ value: string;
1987
+ } & {
1988
+ operation?: "self" | "router" | "blank" | undefined;
1989
+ meta?: {
1990
+ command: string;
1991
+ } | undefined;
1992
+ }) | {
1993
+ type: "click" | "clickBySelector" | "clickByXpath";
1994
+ value: string[];
1995
+ } | {
1843
1996
  type: "execute_command";
1844
1997
  meta: {
1845
1998
  command: string;
1846
1999
  } & {
1847
2000
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
1848
2001
  };
1849
- } | {
1850
- type: "no_action";
1851
2002
  } | {
1852
2003
  type: "click";
1853
2004
  value: string;
1854
2005
  } | {
1855
- type: "click" | "clickBySelector" | "clickByXpath";
1856
- value: string[];
1857
- } | ({
1858
- type: "link";
1859
- value: string;
1860
- } & {
1861
- operation?: "self" | "router" | "blank" | undefined;
1862
- }) | {
1863
2006
  type: "open_chat";
1864
2007
  meta: {
1865
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2008
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
2009
+ };
2010
+ } | {
2011
+ type: "chat_handoff";
2012
+ meta: {
2013
+ type: "" | "intercom" | "freshchat" | "zendesk";
1866
2014
  };
1867
2015
  } | {
1868
2016
  type: "dismiss";
@@ -1871,14 +2019,14 @@ export declare class Nudge {
1871
2019
  } | {
1872
2020
  type: "questlist";
1873
2021
  value: number;
1874
- } | {
1875
- type: "step_back";
1876
2022
  } | {
1877
2023
  type: "nudge";
1878
2024
  value: number;
1879
2025
  } | {
1880
2026
  type: "go_to_step";
1881
2027
  value: number;
2028
+ } | {
2029
+ type: "step_back";
1882
2030
  } | ({
1883
2031
  type: "open_bar";
1884
2032
  } & {
@@ -1886,8 +2034,12 @@ export declare class Nudge {
1886
2034
  categoryFilter?: number | undefined;
1887
2035
  }) | {
1888
2036
  type: "open_helphub";
1889
- } | {
2037
+ } | ({
1890
2038
  type: "open_copilot";
2039
+ } & {
2040
+ query?: string | undefined;
2041
+ }) | {
2042
+ type: "no_action";
1891
2043
  };
1892
2044
  }[] | undefined;
1893
2045
  } | null;
@@ -1996,6 +2148,9 @@ export declare class Nudge {
1996
2148
  x: string;
1997
2149
  y: string;
1998
2150
  } | undefined;
2151
+ position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
2152
+ alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
2153
+ copilot_intro?: boolean | undefined;
1999
2154
  }) | {
2000
2155
  type: "tooltip";
2001
2156
  anchor: string;
@@ -2004,7 +2159,7 @@ export declare class Nudge {
2004
2159
  type: "beacon";
2005
2160
  } | {
2006
2161
  type: "icon";
2007
- icon: "helpCircle" | "helpSquare" | "infoCircle" | "bookClosed" | "lightBulb" | "lightning";
2162
+ icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
2008
2163
  } | {
2009
2164
  type: "image";
2010
2165
  source: string;
@@ -2146,30 +2301,36 @@ export declare class Nudge {
2146
2301
  sort_key: number | undefined;
2147
2302
  meta: {
2148
2303
  label?: string | undefined;
2149
- action?: {
2304
+ action?: ({
2305
+ type: "link";
2306
+ value: string;
2307
+ } & {
2308
+ operation?: "self" | "router" | "blank" | undefined;
2309
+ meta?: {
2310
+ command: string;
2311
+ } | undefined;
2312
+ }) | {
2313
+ type: "click" | "clickBySelector" | "clickByXpath";
2314
+ value: string[];
2315
+ } | {
2150
2316
  type: "execute_command";
2151
2317
  meta: {
2152
2318
  command: string;
2153
2319
  } & {
2154
2320
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
2155
2321
  };
2156
- } | {
2157
- type: "no_action";
2158
2322
  } | {
2159
2323
  type: "click";
2160
2324
  value: string;
2161
2325
  } | {
2162
- type: "click" | "clickBySelector" | "clickByXpath";
2163
- value: string[];
2164
- } | ({
2165
- type: "link";
2166
- value: string;
2167
- } & {
2168
- operation?: "self" | "router" | "blank" | undefined;
2169
- }) | {
2170
2326
  type: "open_chat";
2171
2327
  meta: {
2172
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2328
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
2329
+ };
2330
+ } | {
2331
+ type: "chat_handoff";
2332
+ meta: {
2333
+ type: "" | "intercom" | "freshchat" | "zendesk";
2173
2334
  };
2174
2335
  } | {
2175
2336
  type: "dismiss";
@@ -2178,14 +2339,14 @@ export declare class Nudge {
2178
2339
  } | {
2179
2340
  type: "questlist";
2180
2341
  value: number;
2181
- } | {
2182
- type: "step_back";
2183
2342
  } | {
2184
2343
  type: "nudge";
2185
2344
  value: number;
2186
2345
  } | {
2187
2346
  type: "go_to_step";
2188
2347
  value: number;
2348
+ } | {
2349
+ type: "step_back";
2189
2350
  } | ({
2190
2351
  type: "open_bar";
2191
2352
  } & {
@@ -2193,37 +2354,47 @@ export declare class Nudge {
2193
2354
  categoryFilter?: number | undefined;
2194
2355
  }) | {
2195
2356
  type: "open_helphub";
2196
- } | {
2357
+ } | ({
2197
2358
  type: "open_copilot";
2359
+ } & {
2360
+ query?: string | undefined;
2361
+ }) | {
2362
+ type: "no_action";
2198
2363
  } | undefined;
2199
2364
  button_type?: "snooze" | "primary" | "secondary" | undefined;
2200
2365
  conditional_actions?: {
2201
2366
  operator: "eq" | "neq" | "gt" | "lt";
2202
2367
  operand: string | number;
2203
- action: {
2368
+ action: ({
2369
+ type: "link";
2370
+ value: string;
2371
+ } & {
2372
+ operation?: "self" | "router" | "blank" | undefined;
2373
+ meta?: {
2374
+ command: string;
2375
+ } | undefined;
2376
+ }) | {
2377
+ type: "click" | "clickBySelector" | "clickByXpath";
2378
+ value: string[];
2379
+ } | {
2204
2380
  type: "execute_command";
2205
2381
  meta: {
2206
2382
  command: string;
2207
2383
  } & {
2208
2384
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
2209
2385
  };
2210
- } | {
2211
- type: "no_action";
2212
2386
  } | {
2213
2387
  type: "click";
2214
2388
  value: string;
2215
2389
  } | {
2216
- type: "click" | "clickBySelector" | "clickByXpath";
2217
- value: string[];
2218
- } | ({
2219
- type: "link";
2220
- value: string;
2221
- } & {
2222
- operation?: "self" | "router" | "blank" | undefined;
2223
- }) | {
2224
2390
  type: "open_chat";
2225
2391
  meta: {
2226
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2392
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
2393
+ };
2394
+ } | {
2395
+ type: "chat_handoff";
2396
+ meta: {
2397
+ type: "" | "intercom" | "freshchat" | "zendesk";
2227
2398
  };
2228
2399
  } | {
2229
2400
  type: "dismiss";
@@ -2232,14 +2403,14 @@ export declare class Nudge {
2232
2403
  } | {
2233
2404
  type: "questlist";
2234
2405
  value: number;
2235
- } | {
2236
- type: "step_back";
2237
2406
  } | {
2238
2407
  type: "nudge";
2239
2408
  value: number;
2240
2409
  } | {
2241
2410
  type: "go_to_step";
2242
2411
  value: number;
2412
+ } | {
2413
+ type: "step_back";
2243
2414
  } | ({
2244
2415
  type: "open_bar";
2245
2416
  } & {
@@ -2247,8 +2418,12 @@ export declare class Nudge {
2247
2418
  categoryFilter?: number | undefined;
2248
2419
  }) | {
2249
2420
  type: "open_helphub";
2250
- } | {
2421
+ } | ({
2251
2422
  type: "open_copilot";
2423
+ } & {
2424
+ query?: string | undefined;
2425
+ }) | {
2426
+ type: "no_action";
2252
2427
  };
2253
2428
  }[] | undefined;
2254
2429
  } | null;
@@ -2357,6 +2532,9 @@ export declare class Nudge {
2357
2532
  x: string;
2358
2533
  y: string;
2359
2534
  } | undefined;
2535
+ position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
2536
+ alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
2537
+ copilot_intro?: boolean | undefined;
2360
2538
  }) | {
2361
2539
  type: "tooltip";
2362
2540
  anchor: string;
@@ -2365,7 +2543,7 @@ export declare class Nudge {
2365
2543
  type: "beacon";
2366
2544
  } | {
2367
2545
  type: "icon";
2368
- icon: "helpCircle" | "helpSquare" | "infoCircle" | "bookClosed" | "lightBulb" | "lightning";
2546
+ icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
2369
2547
  } | {
2370
2548
  type: "image";
2371
2549
  source: string;
@@ -2508,30 +2686,36 @@ export declare class Nudge {
2508
2686
  sort_key: number | undefined;
2509
2687
  meta: {
2510
2688
  label?: string | undefined;
2511
- action?: {
2689
+ action?: ({
2690
+ type: "link";
2691
+ value: string;
2692
+ } & {
2693
+ operation?: "self" | "router" | "blank" | undefined;
2694
+ meta?: {
2695
+ command: string;
2696
+ } | undefined;
2697
+ }) | {
2698
+ type: "click" | "clickBySelector" | "clickByXpath";
2699
+ value: string[];
2700
+ } | {
2512
2701
  type: "execute_command";
2513
2702
  meta: {
2514
2703
  command: string;
2515
2704
  } & {
2516
2705
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
2517
2706
  };
2518
- } | {
2519
- type: "no_action";
2520
2707
  } | {
2521
2708
  type: "click";
2522
2709
  value: string;
2523
2710
  } | {
2524
- type: "click" | "clickBySelector" | "clickByXpath";
2525
- value: string[];
2526
- } | ({
2527
- type: "link";
2528
- value: string;
2529
- } & {
2530
- operation?: "self" | "router" | "blank" | undefined;
2531
- }) | {
2532
2711
  type: "open_chat";
2533
2712
  meta: {
2534
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2713
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
2714
+ };
2715
+ } | {
2716
+ type: "chat_handoff";
2717
+ meta: {
2718
+ type: "" | "intercom" | "freshchat" | "zendesk";
2535
2719
  };
2536
2720
  } | {
2537
2721
  type: "dismiss";
@@ -2540,14 +2724,14 @@ export declare class Nudge {
2540
2724
  } | {
2541
2725
  type: "questlist";
2542
2726
  value: number;
2543
- } | {
2544
- type: "step_back";
2545
2727
  } | {
2546
2728
  type: "nudge";
2547
2729
  value: number;
2548
2730
  } | {
2549
2731
  type: "go_to_step";
2550
2732
  value: number;
2733
+ } | {
2734
+ type: "step_back";
2551
2735
  } | ({
2552
2736
  type: "open_bar";
2553
2737
  } & {
@@ -2555,37 +2739,47 @@ export declare class Nudge {
2555
2739
  categoryFilter?: number | undefined;
2556
2740
  }) | {
2557
2741
  type: "open_helphub";
2558
- } | {
2742
+ } | ({
2559
2743
  type: "open_copilot";
2744
+ } & {
2745
+ query?: string | undefined;
2746
+ }) | {
2747
+ type: "no_action";
2560
2748
  } | undefined;
2561
2749
  button_type?: "snooze" | "primary" | "secondary" | undefined;
2562
2750
  conditional_actions?: {
2563
2751
  operator: "eq" | "neq" | "gt" | "lt";
2564
2752
  operand: string | number;
2565
- action: {
2753
+ action: ({
2754
+ type: "link";
2755
+ value: string;
2756
+ } & {
2757
+ operation?: "self" | "router" | "blank" | undefined;
2758
+ meta?: {
2759
+ command: string;
2760
+ } | undefined;
2761
+ }) | {
2762
+ type: "click" | "clickBySelector" | "clickByXpath";
2763
+ value: string[];
2764
+ } | {
2566
2765
  type: "execute_command";
2567
2766
  meta: {
2568
2767
  command: string;
2569
2768
  } & {
2570
2769
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
2571
2770
  };
2572
- } | {
2573
- type: "no_action";
2574
2771
  } | {
2575
2772
  type: "click";
2576
2773
  value: string;
2577
2774
  } | {
2578
- type: "click" | "clickBySelector" | "clickByXpath";
2579
- value: string[];
2580
- } | ({
2581
- type: "link";
2582
- value: string;
2583
- } & {
2584
- operation?: "self" | "router" | "blank" | undefined;
2585
- }) | {
2586
2775
  type: "open_chat";
2587
2776
  meta: {
2588
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2777
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
2778
+ };
2779
+ } | {
2780
+ type: "chat_handoff";
2781
+ meta: {
2782
+ type: "" | "intercom" | "freshchat" | "zendesk";
2589
2783
  };
2590
2784
  } | {
2591
2785
  type: "dismiss";
@@ -2594,14 +2788,14 @@ export declare class Nudge {
2594
2788
  } | {
2595
2789
  type: "questlist";
2596
2790
  value: number;
2597
- } | {
2598
- type: "step_back";
2599
2791
  } | {
2600
2792
  type: "nudge";
2601
2793
  value: number;
2602
2794
  } | {
2603
2795
  type: "go_to_step";
2604
2796
  value: number;
2797
+ } | {
2798
+ type: "step_back";
2605
2799
  } | ({
2606
2800
  type: "open_bar";
2607
2801
  } & {
@@ -2609,8 +2803,12 @@ export declare class Nudge {
2609
2803
  categoryFilter?: number | undefined;
2610
2804
  }) | {
2611
2805
  type: "open_helphub";
2612
- } | {
2806
+ } | ({
2613
2807
  type: "open_copilot";
2808
+ } & {
2809
+ query?: string | undefined;
2810
+ }) | {
2811
+ type: "no_action";
2614
2812
  };
2615
2813
  }[] | undefined;
2616
2814
  } | null;
@@ -2719,6 +2917,9 @@ export declare class Nudge {
2719
2917
  x: string;
2720
2918
  y: string;
2721
2919
  } | undefined;
2920
+ position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
2921
+ alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
2922
+ copilot_intro?: boolean | undefined;
2722
2923
  }) | {
2723
2924
  type: "tooltip";
2724
2925
  anchor: string;
@@ -2727,7 +2928,7 @@ export declare class Nudge {
2727
2928
  type: "beacon";
2728
2929
  } | {
2729
2930
  type: "icon";
2730
- icon: "helpCircle" | "helpSquare" | "infoCircle" | "bookClosed" | "lightBulb" | "lightning";
2931
+ icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
2731
2932
  } | {
2732
2933
  type: "image";
2733
2934
  source: string;
@@ -2869,30 +3070,36 @@ export declare class Nudge {
2869
3070
  sort_key: number | undefined;
2870
3071
  meta: {
2871
3072
  label?: string | undefined;
2872
- action?: {
3073
+ action?: ({
3074
+ type: "link";
3075
+ value: string;
3076
+ } & {
3077
+ operation?: "self" | "router" | "blank" | undefined;
3078
+ meta?: {
3079
+ command: string;
3080
+ } | undefined;
3081
+ }) | {
3082
+ type: "click" | "clickBySelector" | "clickByXpath";
3083
+ value: string[];
3084
+ } | {
2873
3085
  type: "execute_command";
2874
3086
  meta: {
2875
3087
  command: string;
2876
3088
  } & {
2877
3089
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
2878
3090
  };
2879
- } | {
2880
- type: "no_action";
2881
3091
  } | {
2882
3092
  type: "click";
2883
3093
  value: string;
2884
3094
  } | {
2885
- type: "click" | "clickBySelector" | "clickByXpath";
2886
- value: string[];
2887
- } | ({
2888
- type: "link";
2889
- value: string;
2890
- } & {
2891
- operation?: "self" | "router" | "blank" | undefined;
2892
- }) | {
2893
3095
  type: "open_chat";
2894
3096
  meta: {
2895
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3097
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
3098
+ };
3099
+ } | {
3100
+ type: "chat_handoff";
3101
+ meta: {
3102
+ type: "" | "intercom" | "freshchat" | "zendesk";
2896
3103
  };
2897
3104
  } | {
2898
3105
  type: "dismiss";
@@ -2901,14 +3108,14 @@ export declare class Nudge {
2901
3108
  } | {
2902
3109
  type: "questlist";
2903
3110
  value: number;
2904
- } | {
2905
- type: "step_back";
2906
3111
  } | {
2907
3112
  type: "nudge";
2908
3113
  value: number;
2909
3114
  } | {
2910
3115
  type: "go_to_step";
2911
3116
  value: number;
3117
+ } | {
3118
+ type: "step_back";
2912
3119
  } | ({
2913
3120
  type: "open_bar";
2914
3121
  } & {
@@ -2916,37 +3123,47 @@ export declare class Nudge {
2916
3123
  categoryFilter?: number | undefined;
2917
3124
  }) | {
2918
3125
  type: "open_helphub";
2919
- } | {
3126
+ } | ({
2920
3127
  type: "open_copilot";
3128
+ } & {
3129
+ query?: string | undefined;
3130
+ }) | {
3131
+ type: "no_action";
2921
3132
  } | undefined;
2922
3133
  button_type?: "snooze" | "primary" | "secondary" | undefined;
2923
3134
  conditional_actions?: {
2924
3135
  operator: "eq" | "neq" | "gt" | "lt";
2925
3136
  operand: string | number;
2926
- action: {
3137
+ action: ({
3138
+ type: "link";
3139
+ value: string;
3140
+ } & {
3141
+ operation?: "self" | "router" | "blank" | undefined;
3142
+ meta?: {
3143
+ command: string;
3144
+ } | undefined;
3145
+ }) | {
3146
+ type: "click" | "clickBySelector" | "clickByXpath";
3147
+ value: string[];
3148
+ } | {
2927
3149
  type: "execute_command";
2928
3150
  meta: {
2929
3151
  command: string;
2930
3152
  } & {
2931
3153
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
2932
3154
  };
2933
- } | {
2934
- type: "no_action";
2935
3155
  } | {
2936
3156
  type: "click";
2937
3157
  value: string;
2938
3158
  } | {
2939
- type: "click" | "clickBySelector" | "clickByXpath";
2940
- value: string[];
2941
- } | ({
2942
- type: "link";
2943
- value: string;
2944
- } & {
2945
- operation?: "self" | "router" | "blank" | undefined;
2946
- }) | {
2947
3159
  type: "open_chat";
2948
3160
  meta: {
2949
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3161
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
3162
+ };
3163
+ } | {
3164
+ type: "chat_handoff";
3165
+ meta: {
3166
+ type: "" | "intercom" | "freshchat" | "zendesk";
2950
3167
  };
2951
3168
  } | {
2952
3169
  type: "dismiss";
@@ -2955,14 +3172,14 @@ export declare class Nudge {
2955
3172
  } | {
2956
3173
  type: "questlist";
2957
3174
  value: number;
2958
- } | {
2959
- type: "step_back";
2960
3175
  } | {
2961
3176
  type: "nudge";
2962
3177
  value: number;
2963
3178
  } | {
2964
3179
  type: "go_to_step";
2965
3180
  value: number;
3181
+ } | {
3182
+ type: "step_back";
2966
3183
  } | ({
2967
3184
  type: "open_bar";
2968
3185
  } & {
@@ -2970,8 +3187,12 @@ export declare class Nudge {
2970
3187
  categoryFilter?: number | undefined;
2971
3188
  }) | {
2972
3189
  type: "open_helphub";
2973
- } | {
3190
+ } | ({
2974
3191
  type: "open_copilot";
3192
+ } & {
3193
+ query?: string | undefined;
3194
+ }) | {
3195
+ type: "no_action";
2975
3196
  };
2976
3197
  }[] | undefined;
2977
3198
  } | null;
@@ -3080,6 +3301,9 @@ export declare class Nudge {
3080
3301
  x: string;
3081
3302
  y: string;
3082
3303
  } | undefined;
3304
+ position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
3305
+ alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
3306
+ copilot_intro?: boolean | undefined;
3083
3307
  }) | {
3084
3308
  type: "tooltip";
3085
3309
  anchor: string;
@@ -3088,7 +3312,7 @@ export declare class Nudge {
3088
3312
  type: "beacon";
3089
3313
  } | {
3090
3314
  type: "icon";
3091
- icon: "helpCircle" | "helpSquare" | "infoCircle" | "bookClosed" | "lightBulb" | "lightning";
3315
+ icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
3092
3316
  } | {
3093
3317
  type: "image";
3094
3318
  source: string;
@@ -3232,30 +3456,36 @@ export declare class Nudge {
3232
3456
  sort_key: number | undefined;
3233
3457
  meta: {
3234
3458
  label?: string | undefined;
3235
- action?: {
3459
+ action?: ({
3460
+ type: "link";
3461
+ value: string;
3462
+ } & {
3463
+ operation?: "self" | "router" | "blank" | undefined;
3464
+ meta?: {
3465
+ command: string;
3466
+ } | undefined;
3467
+ }) | {
3468
+ type: "click" | "clickBySelector" | "clickByXpath";
3469
+ value: string[];
3470
+ } | {
3236
3471
  type: "execute_command";
3237
3472
  meta: {
3238
3473
  command: string;
3239
3474
  } & {
3240
3475
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
3241
3476
  };
3242
- } | {
3243
- type: "no_action";
3244
3477
  } | {
3245
3478
  type: "click";
3246
3479
  value: string;
3247
3480
  } | {
3248
- type: "click" | "clickBySelector" | "clickByXpath";
3249
- value: string[];
3250
- } | ({
3251
- type: "link";
3252
- value: string;
3253
- } & {
3254
- operation?: "self" | "router" | "blank" | undefined;
3255
- }) | {
3256
3481
  type: "open_chat";
3257
3482
  meta: {
3258
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3483
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
3484
+ };
3485
+ } | {
3486
+ type: "chat_handoff";
3487
+ meta: {
3488
+ type: "" | "intercom" | "freshchat" | "zendesk";
3259
3489
  };
3260
3490
  } | {
3261
3491
  type: "dismiss";
@@ -3264,14 +3494,14 @@ export declare class Nudge {
3264
3494
  } | {
3265
3495
  type: "questlist";
3266
3496
  value: number;
3267
- } | {
3268
- type: "step_back";
3269
3497
  } | {
3270
3498
  type: "nudge";
3271
3499
  value: number;
3272
3500
  } | {
3273
3501
  type: "go_to_step";
3274
3502
  value: number;
3503
+ } | {
3504
+ type: "step_back";
3275
3505
  } | ({
3276
3506
  type: "open_bar";
3277
3507
  } & {
@@ -3279,37 +3509,47 @@ export declare class Nudge {
3279
3509
  categoryFilter?: number | undefined;
3280
3510
  }) | {
3281
3511
  type: "open_helphub";
3282
- } | {
3512
+ } | ({
3283
3513
  type: "open_copilot";
3514
+ } & {
3515
+ query?: string | undefined;
3516
+ }) | {
3517
+ type: "no_action";
3284
3518
  } | undefined;
3285
3519
  button_type?: "snooze" | "primary" | "secondary" | undefined;
3286
3520
  conditional_actions?: {
3287
3521
  operator: "eq" | "neq" | "gt" | "lt";
3288
3522
  operand: string | number;
3289
- action: {
3523
+ action: ({
3524
+ type: "link";
3525
+ value: string;
3526
+ } & {
3527
+ operation?: "self" | "router" | "blank" | undefined;
3528
+ meta?: {
3529
+ command: string;
3530
+ } | undefined;
3531
+ }) | {
3532
+ type: "click" | "clickBySelector" | "clickByXpath";
3533
+ value: string[];
3534
+ } | {
3290
3535
  type: "execute_command";
3291
3536
  meta: {
3292
3537
  command: string;
3293
3538
  } & {
3294
3539
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
3295
3540
  };
3296
- } | {
3297
- type: "no_action";
3298
3541
  } | {
3299
3542
  type: "click";
3300
3543
  value: string;
3301
3544
  } | {
3302
- type: "click" | "clickBySelector" | "clickByXpath";
3303
- value: string[];
3304
- } | ({
3305
- type: "link";
3306
- value: string;
3307
- } & {
3308
- operation?: "self" | "router" | "blank" | undefined;
3309
- }) | {
3310
3545
  type: "open_chat";
3311
3546
  meta: {
3312
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3547
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
3548
+ };
3549
+ } | {
3550
+ type: "chat_handoff";
3551
+ meta: {
3552
+ type: "" | "intercom" | "freshchat" | "zendesk";
3313
3553
  };
3314
3554
  } | {
3315
3555
  type: "dismiss";
@@ -3318,14 +3558,14 @@ export declare class Nudge {
3318
3558
  } | {
3319
3559
  type: "questlist";
3320
3560
  value: number;
3321
- } | {
3322
- type: "step_back";
3323
3561
  } | {
3324
3562
  type: "nudge";
3325
3563
  value: number;
3326
3564
  } | {
3327
3565
  type: "go_to_step";
3328
3566
  value: number;
3567
+ } | {
3568
+ type: "step_back";
3329
3569
  } | ({
3330
3570
  type: "open_bar";
3331
3571
  } & {
@@ -3333,8 +3573,12 @@ export declare class Nudge {
3333
3573
  categoryFilter?: number | undefined;
3334
3574
  }) | {
3335
3575
  type: "open_helphub";
3336
- } | {
3576
+ } | ({
3337
3577
  type: "open_copilot";
3578
+ } & {
3579
+ query?: string | undefined;
3580
+ }) | {
3581
+ type: "no_action";
3338
3582
  };
3339
3583
  }[] | undefined;
3340
3584
  } | null;
@@ -3443,6 +3687,9 @@ export declare class Nudge {
3443
3687
  x: string;
3444
3688
  y: string;
3445
3689
  } | undefined;
3690
+ position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
3691
+ alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
3692
+ copilot_intro?: boolean | undefined;
3446
3693
  }) | {
3447
3694
  type: "tooltip";
3448
3695
  anchor: string;
@@ -3451,7 +3698,7 @@ export declare class Nudge {
3451
3698
  type: "beacon";
3452
3699
  } | {
3453
3700
  type: "icon";
3454
- icon: "helpCircle" | "helpSquare" | "infoCircle" | "bookClosed" | "lightBulb" | "lightning";
3701
+ icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
3455
3702
  } | {
3456
3703
  type: "image";
3457
3704
  source: string;
@@ -3597,30 +3844,36 @@ export declare class Nudge {
3597
3844
  sort_key: number | undefined;
3598
3845
  meta: {
3599
3846
  label?: string | undefined;
3600
- action?: {
3847
+ action?: ({
3848
+ type: "link";
3849
+ value: string;
3850
+ } & {
3851
+ operation?: "self" | "router" | "blank" | undefined;
3852
+ meta?: {
3853
+ command: string;
3854
+ } | undefined;
3855
+ }) | {
3856
+ type: "click" | "clickBySelector" | "clickByXpath";
3857
+ value: string[];
3858
+ } | {
3601
3859
  type: "execute_command";
3602
3860
  meta: {
3603
3861
  command: string;
3604
3862
  } & {
3605
3863
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
3606
3864
  };
3607
- } | {
3608
- type: "no_action";
3609
3865
  } | {
3610
3866
  type: "click";
3611
3867
  value: string;
3612
3868
  } | {
3613
- type: "click" | "clickBySelector" | "clickByXpath";
3614
- value: string[];
3615
- } | ({
3616
- type: "link";
3617
- value: string;
3618
- } & {
3619
- operation?: "self" | "router" | "blank" | undefined;
3620
- }) | {
3621
3869
  type: "open_chat";
3622
3870
  meta: {
3623
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3871
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
3872
+ };
3873
+ } | {
3874
+ type: "chat_handoff";
3875
+ meta: {
3876
+ type: "" | "intercom" | "freshchat" | "zendesk";
3624
3877
  };
3625
3878
  } | {
3626
3879
  type: "dismiss";
@@ -3629,14 +3882,14 @@ export declare class Nudge {
3629
3882
  } | {
3630
3883
  type: "questlist";
3631
3884
  value: number;
3632
- } | {
3633
- type: "step_back";
3634
3885
  } | {
3635
3886
  type: "nudge";
3636
3887
  value: number;
3637
3888
  } | {
3638
3889
  type: "go_to_step";
3639
3890
  value: number;
3891
+ } | {
3892
+ type: "step_back";
3640
3893
  } | ({
3641
3894
  type: "open_bar";
3642
3895
  } & {
@@ -3644,37 +3897,47 @@ export declare class Nudge {
3644
3897
  categoryFilter?: number | undefined;
3645
3898
  }) | {
3646
3899
  type: "open_helphub";
3647
- } | {
3900
+ } | ({
3648
3901
  type: "open_copilot";
3902
+ } & {
3903
+ query?: string | undefined;
3904
+ }) | {
3905
+ type: "no_action";
3649
3906
  } | undefined;
3650
3907
  button_type?: "snooze" | "primary" | "secondary" | undefined;
3651
3908
  conditional_actions?: {
3652
3909
  operator: "eq" | "neq" | "gt" | "lt";
3653
3910
  operand: string | number;
3654
- action: {
3911
+ action: ({
3912
+ type: "link";
3913
+ value: string;
3914
+ } & {
3915
+ operation?: "self" | "router" | "blank" | undefined;
3916
+ meta?: {
3917
+ command: string;
3918
+ } | undefined;
3919
+ }) | {
3920
+ type: "click" | "clickBySelector" | "clickByXpath";
3921
+ value: string[];
3922
+ } | {
3655
3923
  type: "execute_command";
3656
3924
  meta: {
3657
3925
  command: string;
3658
3926
  } & {
3659
3927
  type?: "link" | "video" | "action" | "helpdoc" | undefined;
3660
3928
  };
3661
- } | {
3662
- type: "no_action";
3663
3929
  } | {
3664
3930
  type: "click";
3665
3931
  value: string;
3666
3932
  } | {
3667
- type: "click" | "clickBySelector" | "clickByXpath";
3668
- value: string[];
3669
- } | ({
3670
- type: "link";
3671
- value: string;
3672
- } & {
3673
- operation?: "self" | "router" | "blank" | undefined;
3674
- }) | {
3675
3933
  type: "open_chat";
3676
3934
  meta: {
3677
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3935
+ type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
3936
+ };
3937
+ } | {
3938
+ type: "chat_handoff";
3939
+ meta: {
3940
+ type: "" | "intercom" | "freshchat" | "zendesk";
3678
3941
  };
3679
3942
  } | {
3680
3943
  type: "dismiss";
@@ -3683,14 +3946,14 @@ export declare class Nudge {
3683
3946
  } | {
3684
3947
  type: "questlist";
3685
3948
  value: number;
3686
- } | {
3687
- type: "step_back";
3688
3949
  } | {
3689
3950
  type: "nudge";
3690
3951
  value: number;
3691
3952
  } | {
3692
3953
  type: "go_to_step";
3693
3954
  value: number;
3955
+ } | {
3956
+ type: "step_back";
3694
3957
  } | ({
3695
3958
  type: "open_bar";
3696
3959
  } & {
@@ -3698,8 +3961,12 @@ export declare class Nudge {
3698
3961
  categoryFilter?: number | undefined;
3699
3962
  }) | {
3700
3963
  type: "open_helphub";
3701
- } | {
3964
+ } | ({
3702
3965
  type: "open_copilot";
3966
+ } & {
3967
+ query?: string | undefined;
3968
+ }) | {
3969
+ type: "no_action";
3703
3970
  };
3704
3971
  }[] | undefined;
3705
3972
  } | null;
@@ -3808,6 +4075,9 @@ export declare class Nudge {
3808
4075
  x: string;
3809
4076
  y: string;
3810
4077
  } | undefined;
4078
+ position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
4079
+ alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
4080
+ copilot_intro?: boolean | undefined;
3811
4081
  }) | {
3812
4082
  type: "tooltip";
3813
4083
  anchor: string;
@@ -3816,7 +4086,7 @@ export declare class Nudge {
3816
4086
  type: "beacon";
3817
4087
  } | {
3818
4088
  type: "icon";
3819
- icon: "helpCircle" | "helpSquare" | "infoCircle" | "bookClosed" | "lightBulb" | "lightning";
4089
+ icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
3820
4090
  } | {
3821
4091
  type: "image";
3822
4092
  source: string;
@@ -3875,4 +4145,7 @@ export declare class Nudge {
3875
4145
  * Returns true if the nudge is new (not yet saved to the backend)
3876
4146
  */
3877
4147
  static isNew: (nudge: t.TypeOf<typeof NudgeV>) => boolean;
4148
+ static resetNudgeInteractions: (endUserSlug: string, nudgeId: number) => Promise<{
4149
+ did_reset: boolean;
4150
+ }>;
3878
4151
  }