commandbar 1.11.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +2 -2
  2. package/build/commandbar/src/shared/services/analytics/types.d.ts +2 -2
  3. package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +2 -3
  4. package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +1 -1
  5. package/build/commandbar-js/src/index.d.ts +2 -2
  6. package/build/commandbar-js/src/index.js +1 -1
  7. package/build/commandbar-js/src/snippet.d.ts +1 -2
  8. package/build/internal/src/client/CommandBarClientSDK.d.ts +2 -1
  9. package/build/internal/src/client/CommandBarSDK.d.ts +3 -3
  10. package/build/internal/src/middleware/CommandFromClientV.d.ts +3 -0
  11. package/build/internal/src/middleware/OrganizationV.d.ts +58 -4
  12. package/build/internal/src/middleware/additionalResource.d.ts +36 -9
  13. package/build/internal/src/middleware/api.d.ts +8 -0
  14. package/build/internal/src/middleware/chat.d.ts +439 -76
  15. package/build/internal/src/middleware/checklist.d.ts +48 -10
  16. package/build/internal/src/middleware/command.d.ts +259 -46
  17. package/build/internal/src/middleware/endUser.d.ts +1 -1
  18. package/build/internal/src/middleware/experienceTemplate.d.ts +72 -16
  19. package/build/internal/src/middleware/experiencesSearch.d.ts +77 -14
  20. package/build/internal/src/middleware/flags.d.ts +4 -5
  21. package/build/internal/src/middleware/helpDocsSearch.d.ts +55 -10
  22. package/build/internal/src/middleware/helpHub.d.ts +1 -0
  23. package/build/internal/src/middleware/helpers/actions.d.ts +21 -6
  24. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +14 -2
  25. package/build/internal/src/middleware/helpers/rules.d.ts +2 -0
  26. package/build/internal/src/middleware/keyword.d.ts +82 -0
  27. package/build/internal/src/middleware/network.d.ts +2 -2
  28. package/build/internal/src/middleware/nudge.d.ts +104 -24
  29. package/build/internal/src/middleware/organization.d.ts +161 -16
  30. package/build/internal/src/middleware/organizationSettings.d.ts +100 -8
  31. package/build/internal/src/middleware/recommendationSet.d.ts +36 -9
  32. package/build/internal/src/middleware/theme.d.ts +74 -0
  33. package/build/internal/src/middleware/types.d.ts +10 -2
  34. package/build/internal/src/middleware/workflow.d.ts +16 -0
  35. package/build/internal/src/util/sentry.d.ts +2 -2
  36. package/package.json +4 -2
  37. package/src/index.ts +2 -2
  38. package/src/init.ts +5 -1
  39. package/src/snippet.ts +2 -10
@@ -186,10 +186,13 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
186
186
  value: string;
187
187
  } & {
188
188
  operation?: "self" | "router" | "blank" | undefined;
189
+ meta?: {
190
+ command: string;
191
+ } | undefined;
189
192
  }) | {
190
193
  type: "open_chat";
191
194
  meta: {
192
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
195
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
193
196
  };
194
197
  } | {
195
198
  type: "dismiss";
@@ -219,6 +222,8 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
219
222
  type: "no_action";
220
223
  };
221
224
  }[];
225
+ helphub_search_action: "search" | "ask";
226
+ helphub_custom_theme: string | null;
222
227
  copilot_negative_feedback_fallback_enabled: boolean;
223
228
  copilot_negative_feedback_fallback_message: string | null;
224
229
  copilot_negative_feedback_fallback_actions: {
@@ -241,10 +246,13 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
241
246
  value: string;
242
247
  } & {
243
248
  operation?: "self" | "router" | "blank" | undefined;
249
+ meta?: {
250
+ command: string;
251
+ } | undefined;
244
252
  }) | {
245
253
  type: "open_chat";
246
254
  meta: {
247
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
255
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
248
256
  };
249
257
  } | {
250
258
  type: "dismiss";
@@ -347,12 +355,31 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
347
355
  webhook_shared_secret?: string | undefined;
348
356
  switchboard_id?: string | undefined;
349
357
  } | undefined;
358
+ freshchat?: {
359
+ topic_name?: string | null | undefined;
360
+ conversation_property_name?: string | null | undefined;
361
+ } | undefined;
350
362
  };
351
363
  copilot_enabled: boolean;
352
364
  user_property_targeting: boolean;
353
365
  ab_test_conditions: boolean;
354
366
  spotlight_ask_copilot_enabled: boolean;
355
367
  spotlight_ask_copilot_label: string | null;
368
+ spotlight_custom_theme: string | null;
369
+ spotlight_ask_copilot_audience: {
370
+ type: "all_users";
371
+ } | {
372
+ type: "rule_expression";
373
+ expression: import("./helpers/rules").RuleExpression;
374
+ } | {
375
+ type: "named_rule_reference";
376
+ rule_reference: {
377
+ type: "named_rule";
378
+ rule_id: string | number;
379
+ } & {
380
+ reason?: string | undefined;
381
+ };
382
+ } | null;
356
383
  helphub_ai_enabled: boolean;
357
384
  copilot_experiences_enabled: boolean;
358
385
  helphub_chat_only_mode: boolean;
@@ -537,10 +564,13 @@ export declare const update: (object: {
537
564
  value: string;
538
565
  } & {
539
566
  operation?: "self" | "router" | "blank" | undefined;
567
+ meta?: {
568
+ command: string;
569
+ } | undefined;
540
570
  }) | {
541
571
  type: "open_chat";
542
572
  meta: {
543
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
573
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
544
574
  };
545
575
  } | {
546
576
  type: "dismiss";
@@ -570,6 +600,8 @@ export declare const update: (object: {
570
600
  type: "no_action";
571
601
  };
572
602
  }[];
603
+ helphub_search_action: "search" | "ask";
604
+ helphub_custom_theme: string | null;
573
605
  copilot_negative_feedback_fallback_enabled: boolean;
574
606
  copilot_negative_feedback_fallback_message: string | null;
575
607
  copilot_negative_feedback_fallback_actions: {
@@ -592,10 +624,13 @@ export declare const update: (object: {
592
624
  value: string;
593
625
  } & {
594
626
  operation?: "self" | "router" | "blank" | undefined;
627
+ meta?: {
628
+ command: string;
629
+ } | undefined;
595
630
  }) | {
596
631
  type: "open_chat";
597
632
  meta: {
598
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
633
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
599
634
  };
600
635
  } | {
601
636
  type: "dismiss";
@@ -698,12 +733,31 @@ export declare const update: (object: {
698
733
  webhook_shared_secret?: string | undefined;
699
734
  switchboard_id?: string | undefined;
700
735
  } | undefined;
736
+ freshchat?: {
737
+ topic_name?: string | null | undefined;
738
+ conversation_property_name?: string | null | undefined;
739
+ } | undefined;
701
740
  };
702
741
  copilot_enabled: boolean;
703
742
  user_property_targeting: boolean;
704
743
  ab_test_conditions: boolean;
705
744
  spotlight_ask_copilot_enabled: boolean;
706
745
  spotlight_ask_copilot_label: string | null;
746
+ spotlight_custom_theme: string | null;
747
+ spotlight_ask_copilot_audience: {
748
+ type: "all_users";
749
+ } | {
750
+ type: "rule_expression";
751
+ expression: import("./helpers/rules").RuleExpression;
752
+ } | {
753
+ type: "named_rule_reference";
754
+ rule_reference: {
755
+ type: "named_rule";
756
+ rule_id: string | number;
757
+ } & {
758
+ reason?: string | undefined;
759
+ };
760
+ } | null;
707
761
  helphub_ai_enabled: boolean;
708
762
  copilot_experiences_enabled: boolean;
709
763
  helphub_chat_only_mode: boolean;
@@ -887,10 +941,13 @@ export declare const update: (object: {
887
941
  value: string;
888
942
  } & {
889
943
  operation?: "self" | "router" | "blank" | undefined;
944
+ meta?: {
945
+ command: string;
946
+ } | undefined;
890
947
  }) | {
891
948
  type: "open_chat";
892
949
  meta: {
893
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
950
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
894
951
  };
895
952
  } | {
896
953
  type: "dismiss";
@@ -920,6 +977,8 @@ export declare const update: (object: {
920
977
  type: "no_action";
921
978
  };
922
979
  }[];
980
+ helphub_search_action: "search" | "ask";
981
+ helphub_custom_theme: string | null;
923
982
  copilot_negative_feedback_fallback_enabled: boolean;
924
983
  copilot_negative_feedback_fallback_message: string | null;
925
984
  copilot_negative_feedback_fallback_actions: {
@@ -942,10 +1001,13 @@ export declare const update: (object: {
942
1001
  value: string;
943
1002
  } & {
944
1003
  operation?: "self" | "router" | "blank" | undefined;
1004
+ meta?: {
1005
+ command: string;
1006
+ } | undefined;
945
1007
  }) | {
946
1008
  type: "open_chat";
947
1009
  meta: {
948
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1010
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
949
1011
  };
950
1012
  } | {
951
1013
  type: "dismiss";
@@ -1048,12 +1110,31 @@ export declare const update: (object: {
1048
1110
  webhook_shared_secret?: string | undefined;
1049
1111
  switchboard_id?: string | undefined;
1050
1112
  } | undefined;
1113
+ freshchat?: {
1114
+ topic_name?: string | null | undefined;
1115
+ conversation_property_name?: string | null | undefined;
1116
+ } | undefined;
1051
1117
  };
1052
1118
  copilot_enabled: boolean;
1053
1119
  user_property_targeting: boolean;
1054
1120
  ab_test_conditions: boolean;
1055
1121
  spotlight_ask_copilot_enabled: boolean;
1056
1122
  spotlight_ask_copilot_label: string | null;
1123
+ spotlight_custom_theme: string | null;
1124
+ spotlight_ask_copilot_audience: {
1125
+ type: "all_users";
1126
+ } | {
1127
+ type: "rule_expression";
1128
+ expression: import("./helpers/rules").RuleExpression;
1129
+ } | {
1130
+ type: "named_rule_reference";
1131
+ rule_reference: {
1132
+ type: "named_rule";
1133
+ rule_id: string | number;
1134
+ } & {
1135
+ reason?: string | undefined;
1136
+ };
1137
+ } | null;
1057
1138
  helphub_ai_enabled: boolean;
1058
1139
  copilot_experiences_enabled: boolean;
1059
1140
  helphub_chat_only_mode: boolean;
@@ -1099,6 +1180,9 @@ export declare const listCommands: (orgUID: string) => Promise<({
1099
1180
  value: string;
1100
1181
  } & {
1101
1182
  operation?: "self" | "router" | "blank" | undefined;
1183
+ meta?: {
1184
+ command: string;
1185
+ } | undefined;
1102
1186
  } & {} & {
1103
1187
  commandType?: "object" | "help" | "independent" | undefined;
1104
1188
  object?: string | undefined;
@@ -1247,10 +1331,13 @@ export declare const listCommands: (orgUID: string) => Promise<({
1247
1331
  value: string;
1248
1332
  } & {
1249
1333
  operation?: "self" | "router" | "blank" | undefined;
1334
+ meta?: {
1335
+ command: string;
1336
+ } | undefined;
1250
1337
  }) | {
1251
1338
  type: "open_chat";
1252
1339
  meta: {
1253
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1340
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
1254
1341
  };
1255
1342
  } | {
1256
1343
  type: "dismiss";
@@ -1574,10 +1661,13 @@ export declare const listCommands: (orgUID: string) => Promise<({
1574
1661
  value: string;
1575
1662
  } & {
1576
1663
  operation?: "self" | "router" | "blank" | undefined;
1664
+ meta?: {
1665
+ command: string;
1666
+ } | undefined;
1577
1667
  }) | {
1578
1668
  type: "open_chat";
1579
1669
  meta: {
1580
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1670
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
1581
1671
  };
1582
1672
  } | {
1583
1673
  type: "dismiss";
@@ -1671,6 +1761,9 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
1671
1761
  value: string;
1672
1762
  } & {
1673
1763
  operation?: "self" | "router" | "blank" | undefined;
1764
+ meta?: {
1765
+ command: string;
1766
+ } | undefined;
1674
1767
  } & {} & {
1675
1768
  commandType?: "object" | "help" | "independent" | undefined;
1676
1769
  object?: string | undefined;
@@ -1819,10 +1912,13 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
1819
1912
  value: string;
1820
1913
  } & {
1821
1914
  operation?: "self" | "router" | "blank" | undefined;
1915
+ meta?: {
1916
+ command: string;
1917
+ } | undefined;
1822
1918
  }) | {
1823
1919
  type: "open_chat";
1824
1920
  meta: {
1825
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1921
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
1826
1922
  };
1827
1923
  } | {
1828
1924
  type: "dismiss";
@@ -2103,10 +2199,13 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
2103
2199
  value: string;
2104
2200
  } & {
2105
2201
  operation?: "self" | "router" | "blank" | undefined;
2202
+ meta?: {
2203
+ command: string;
2204
+ } | undefined;
2106
2205
  }) | {
2107
2206
  type: "open_chat";
2108
2207
  meta: {
2109
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2208
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
2110
2209
  };
2111
2210
  } | {
2112
2211
  type: "dismiss";
@@ -2201,6 +2300,9 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2201
2300
  value: string;
2202
2301
  } & {
2203
2302
  operation?: "self" | "router" | "blank" | undefined;
2303
+ meta?: {
2304
+ command: string;
2305
+ } | undefined;
2204
2306
  } & {} & {
2205
2307
  commandType?: "object" | "help" | "independent" | undefined;
2206
2308
  object?: string | undefined;
@@ -2349,10 +2451,13 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2349
2451
  value: string;
2350
2452
  } & {
2351
2453
  operation?: "self" | "router" | "blank" | undefined;
2454
+ meta?: {
2455
+ command: string;
2456
+ } | undefined;
2352
2457
  }) | {
2353
2458
  type: "open_chat";
2354
2459
  meta: {
2355
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2460
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
2356
2461
  };
2357
2462
  } | {
2358
2463
  type: "dismiss";
@@ -2698,10 +2803,13 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2698
2803
  value: string;
2699
2804
  } & {
2700
2805
  operation?: "self" | "router" | "blank" | undefined;
2806
+ meta?: {
2807
+ command: string;
2808
+ } | undefined;
2701
2809
  }) | {
2702
2810
  type: "open_chat";
2703
2811
  meta: {
2704
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2812
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
2705
2813
  };
2706
2814
  } | {
2707
2815
  type: "dismiss";
@@ -2796,6 +2904,9 @@ export declare const listAnswers: (orgUID: string) => Promise<({
2796
2904
  value: string;
2797
2905
  } & {
2798
2906
  operation?: "self" | "router" | "blank" | undefined;
2907
+ meta?: {
2908
+ command: string;
2909
+ } | undefined;
2799
2910
  } & {} & {
2800
2911
  commandType?: "object" | "help" | "independent" | undefined;
2801
2912
  object?: string | undefined;
@@ -2944,10 +3055,13 @@ export declare const listAnswers: (orgUID: string) => Promise<({
2944
3055
  value: string;
2945
3056
  } & {
2946
3057
  operation?: "self" | "router" | "blank" | undefined;
3058
+ meta?: {
3059
+ command: string;
3060
+ } | undefined;
2947
3061
  }) | {
2948
3062
  type: "open_chat";
2949
3063
  meta: {
2950
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3064
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
2951
3065
  };
2952
3066
  } | {
2953
3067
  type: "dismiss";
@@ -3293,10 +3407,13 @@ export declare const listAnswers: (orgUID: string) => Promise<({
3293
3407
  value: string;
3294
3408
  } & {
3295
3409
  operation?: "self" | "router" | "blank" | undefined;
3410
+ meta?: {
3411
+ command: string;
3412
+ } | undefined;
3296
3413
  }) | {
3297
3414
  type: "open_chat";
3298
3415
  meta: {
3299
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3416
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
3300
3417
  };
3301
3418
  } | {
3302
3419
  type: "dismiss";
@@ -3402,6 +3519,7 @@ export declare const listRules: (orgUID: string) => Promise<({
3402
3519
  id: string | number;
3403
3520
  name: string;
3404
3521
  expression: import("./helpers/rules").RuleExpression;
3522
+ created: string | undefined;
3405
3523
  } & {
3406
3524
  is_audience: boolean;
3407
3525
  })[]>;
@@ -3611,10 +3729,13 @@ export declare const decode: (data: any) => {
3611
3729
  value: string;
3612
3730
  } & {
3613
3731
  operation?: "self" | "router" | "blank" | undefined;
3732
+ meta?: {
3733
+ command: string;
3734
+ } | undefined;
3614
3735
  }) | {
3615
3736
  type: "open_chat";
3616
3737
  meta: {
3617
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3738
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
3618
3739
  };
3619
3740
  } | {
3620
3741
  type: "dismiss";
@@ -3644,6 +3765,8 @@ export declare const decode: (data: any) => {
3644
3765
  type: "no_action";
3645
3766
  };
3646
3767
  }[];
3768
+ helphub_search_action: "search" | "ask";
3769
+ helphub_custom_theme: string | null;
3647
3770
  copilot_negative_feedback_fallback_enabled: boolean;
3648
3771
  copilot_negative_feedback_fallback_message: string | null;
3649
3772
  copilot_negative_feedback_fallback_actions: {
@@ -3666,10 +3789,13 @@ export declare const decode: (data: any) => {
3666
3789
  value: string;
3667
3790
  } & {
3668
3791
  operation?: "self" | "router" | "blank" | undefined;
3792
+ meta?: {
3793
+ command: string;
3794
+ } | undefined;
3669
3795
  }) | {
3670
3796
  type: "open_chat";
3671
3797
  meta: {
3672
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3798
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
3673
3799
  };
3674
3800
  } | {
3675
3801
  type: "dismiss";
@@ -3772,12 +3898,31 @@ export declare const decode: (data: any) => {
3772
3898
  webhook_shared_secret?: string | undefined;
3773
3899
  switchboard_id?: string | undefined;
3774
3900
  } | undefined;
3901
+ freshchat?: {
3902
+ topic_name?: string | null | undefined;
3903
+ conversation_property_name?: string | null | undefined;
3904
+ } | undefined;
3775
3905
  };
3776
3906
  copilot_enabled: boolean;
3777
3907
  user_property_targeting: boolean;
3778
3908
  ab_test_conditions: boolean;
3779
3909
  spotlight_ask_copilot_enabled: boolean;
3780
3910
  spotlight_ask_copilot_label: string | null;
3911
+ spotlight_custom_theme: string | null;
3912
+ spotlight_ask_copilot_audience: {
3913
+ type: "all_users";
3914
+ } | {
3915
+ type: "rule_expression";
3916
+ expression: import("./helpers/rules").RuleExpression;
3917
+ } | {
3918
+ type: "named_rule_reference";
3919
+ rule_reference: {
3920
+ type: "named_rule";
3921
+ rule_id: string | number;
3922
+ } & {
3923
+ reason?: string | undefined;
3924
+ };
3925
+ } | null;
3781
3926
  helphub_ai_enabled: boolean;
3782
3927
  copilot_experiences_enabled: boolean;
3783
3928
  helphub_chat_only_mode: boolean;