commandbar 1.11.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -1,6 +1,6 @@
1
1
  import * as t from 'io-ts';
2
2
  import * as axiosInstance from './network';
3
- import type { IAIAnswerPayloadType, IContinuationsPayloadType, ICreateAnswerFeedbackPayloadType, ICreateChatPayloadType, IExternalChatHistoryType, IExternalChatPayloadType, IHandoffPayloadType, IOrganizationType, IQuestionSuggestionsPayloadType } from './types';
3
+ import type { IAIAnswerPayloadType, IContinuationsPayloadType, ICreateAnswerFeedbackPayloadType, ICreateChatPayloadType, IExternalChatHistoryType, IExternalChatPayloadType, IHandoffPayloadType, IOrganizationType, IQuestionSuggestionsPayloadType, IUserAttachmentType } from './types';
4
4
  export declare const ContinuationV: t.StringC;
5
5
  export declare const ExperienceV: t.UnionC<[t.TypeC<{
6
6
  type: t.LiteralC<"command">;
@@ -55,6 +55,9 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
55
55
  value: string;
56
56
  } & {
57
57
  operation?: "self" | "router" | "blank" | undefined;
58
+ meta?: {
59
+ command: string;
60
+ } | undefined;
58
61
  } & {} & {
59
62
  commandType?: "object" | "help" | "independent" | undefined;
60
63
  object?: string | undefined;
@@ -203,10 +206,13 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
203
206
  value: string;
204
207
  } & {
205
208
  operation?: "self" | "router" | "blank" | undefined;
209
+ meta?: {
210
+ command: string;
211
+ } | undefined;
206
212
  }) | {
207
213
  type: "open_chat";
208
214
  meta: {
209
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
215
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
210
216
  };
211
217
  } | {
212
218
  type: "dismiss";
@@ -487,10 +493,13 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
487
493
  value: string;
488
494
  } & {
489
495
  operation?: "self" | "router" | "blank" | undefined;
496
+ meta?: {
497
+ command: string;
498
+ } | undefined;
490
499
  }) | {
491
500
  type: "open_chat";
492
501
  meta: {
493
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
502
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
494
503
  };
495
504
  } | {
496
505
  type: "dismiss";
@@ -584,6 +593,9 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
584
593
  value: string;
585
594
  } & {
586
595
  operation?: "self" | "router" | "blank" | undefined;
596
+ meta?: {
597
+ command: string;
598
+ } | undefined;
587
599
  } & {} & {
588
600
  commandType?: "object" | "help" | "independent" | undefined;
589
601
  object?: string | undefined;
@@ -732,10 +744,13 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
732
744
  value: string;
733
745
  } & {
734
746
  operation?: "self" | "router" | "blank" | undefined;
747
+ meta?: {
748
+ command: string;
749
+ } | undefined;
735
750
  }) | {
736
751
  type: "open_chat";
737
752
  meta: {
738
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
753
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
739
754
  };
740
755
  } | {
741
756
  type: "dismiss";
@@ -1016,10 +1031,13 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
1016
1031
  value: string;
1017
1032
  } & {
1018
1033
  operation?: "self" | "router" | "blank" | undefined;
1034
+ meta?: {
1035
+ command: string;
1036
+ } | undefined;
1019
1037
  }) | {
1020
1038
  type: "open_chat";
1021
1039
  meta: {
1022
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1040
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
1023
1041
  };
1024
1042
  } | {
1025
1043
  type: "dismiss";
@@ -1120,6 +1138,9 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
1120
1138
  value: string;
1121
1139
  } & {
1122
1140
  operation?: "self" | "router" | "blank" | undefined;
1141
+ meta?: {
1142
+ command: string;
1143
+ } | undefined;
1123
1144
  } & {} & {
1124
1145
  commandType?: "object" | "help" | "independent" | undefined;
1125
1146
  object?: string | undefined;
@@ -1268,10 +1289,13 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
1268
1289
  value: string;
1269
1290
  } & {
1270
1291
  operation?: "self" | "router" | "blank" | undefined;
1292
+ meta?: {
1293
+ command: string;
1294
+ } | undefined;
1271
1295
  }) | {
1272
1296
  type: "open_chat";
1273
1297
  meta: {
1274
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1298
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
1275
1299
  };
1276
1300
  } | {
1277
1301
  type: "dismiss";
@@ -1552,10 +1576,13 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
1552
1576
  value: string;
1553
1577
  } & {
1554
1578
  operation?: "self" | "router" | "blank" | undefined;
1579
+ meta?: {
1580
+ command: string;
1581
+ } | undefined;
1555
1582
  }) | {
1556
1583
  type: "open_chat";
1557
1584
  meta: {
1558
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1585
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
1559
1586
  };
1560
1587
  } | {
1561
1588
  type: "dismiss";
@@ -1649,6 +1676,9 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
1649
1676
  value: string;
1650
1677
  } & {
1651
1678
  operation?: "self" | "router" | "blank" | undefined;
1679
+ meta?: {
1680
+ command: string;
1681
+ } | undefined;
1652
1682
  } & {} & {
1653
1683
  commandType?: "object" | "help" | "independent" | undefined;
1654
1684
  object?: string | undefined;
@@ -1797,10 +1827,13 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
1797
1827
  value: string;
1798
1828
  } & {
1799
1829
  operation?: "self" | "router" | "blank" | undefined;
1830
+ meta?: {
1831
+ command: string;
1832
+ } | undefined;
1800
1833
  }) | {
1801
1834
  type: "open_chat";
1802
1835
  meta: {
1803
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1836
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
1804
1837
  };
1805
1838
  } | {
1806
1839
  type: "dismiss";
@@ -2081,10 +2114,13 @@ export declare const AIAnswerValue: t.IntersectionC<[t.TypeC<{
2081
2114
  value: string;
2082
2115
  } & {
2083
2116
  operation?: "self" | "router" | "blank" | undefined;
2117
+ meta?: {
2118
+ command: string;
2119
+ } | undefined;
2084
2120
  }) | {
2085
2121
  type: "open_chat";
2086
2122
  meta: {
2087
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2123
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
2088
2124
  };
2089
2125
  } | {
2090
2126
  type: "dismiss";
@@ -2186,10 +2222,13 @@ export declare const AIMessageExtraV: t.TypeC<{
2186
2222
  value: t.StringC;
2187
2223
  }>, t.PartialC<{
2188
2224
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
2225
+ meta: t.TypeC<{
2226
+ command: t.StringC;
2227
+ }>;
2189
2228
  }>]>, t.TypeC<{
2190
2229
  type: t.LiteralC<"open_chat">;
2191
2230
  meta: t.TypeC<{
2192
- 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<"">]>;
2231
+ 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<"">]>;
2193
2232
  }>;
2194
2233
  }>, t.TypeC<{
2195
2234
  type: t.LiteralC<"dismiss">;
@@ -2259,6 +2298,9 @@ export declare const AIMessageV: t.TypeC<{
2259
2298
  value: string;
2260
2299
  } & {
2261
2300
  operation?: "self" | "router" | "blank" | undefined;
2301
+ meta?: {
2302
+ command: string;
2303
+ } | undefined;
2262
2304
  } & {} & {
2263
2305
  commandType?: "object" | "help" | "independent" | undefined;
2264
2306
  object?: string | undefined;
@@ -2407,10 +2449,13 @@ export declare const AIMessageV: t.TypeC<{
2407
2449
  value: string;
2408
2450
  } & {
2409
2451
  operation?: "self" | "router" | "blank" | undefined;
2452
+ meta?: {
2453
+ command: string;
2454
+ } | undefined;
2410
2455
  }) | {
2411
2456
  type: "open_chat";
2412
2457
  meta: {
2413
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2458
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
2414
2459
  };
2415
2460
  } | {
2416
2461
  type: "dismiss";
@@ -2691,10 +2736,13 @@ export declare const AIMessageV: t.TypeC<{
2691
2736
  value: string;
2692
2737
  } & {
2693
2738
  operation?: "self" | "router" | "blank" | undefined;
2739
+ meta?: {
2740
+ command: string;
2741
+ } | undefined;
2694
2742
  }) | {
2695
2743
  type: "open_chat";
2696
2744
  meta: {
2697
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2745
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
2698
2746
  };
2699
2747
  } | {
2700
2748
  type: "dismiss";
@@ -2788,6 +2836,9 @@ export declare const AIMessageV: t.TypeC<{
2788
2836
  value: string;
2789
2837
  } & {
2790
2838
  operation?: "self" | "router" | "blank" | undefined;
2839
+ meta?: {
2840
+ command: string;
2841
+ } | undefined;
2791
2842
  } & {} & {
2792
2843
  commandType?: "object" | "help" | "independent" | undefined;
2793
2844
  object?: string | undefined;
@@ -2936,10 +2987,13 @@ export declare const AIMessageV: t.TypeC<{
2936
2987
  value: string;
2937
2988
  } & {
2938
2989
  operation?: "self" | "router" | "blank" | undefined;
2990
+ meta?: {
2991
+ command: string;
2992
+ } | undefined;
2939
2993
  }) | {
2940
2994
  type: "open_chat";
2941
2995
  meta: {
2942
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2996
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
2943
2997
  };
2944
2998
  } | {
2945
2999
  type: "dismiss";
@@ -3220,10 +3274,13 @@ export declare const AIMessageV: t.TypeC<{
3220
3274
  value: string;
3221
3275
  } & {
3222
3276
  operation?: "self" | "router" | "blank" | undefined;
3277
+ meta?: {
3278
+ command: string;
3279
+ } | undefined;
3223
3280
  }) | {
3224
3281
  type: "open_chat";
3225
3282
  meta: {
3226
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3283
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
3227
3284
  };
3228
3285
  } | {
3229
3286
  type: "dismiss";
@@ -3324,6 +3381,9 @@ export declare const AIMessageV: t.TypeC<{
3324
3381
  value: string;
3325
3382
  } & {
3326
3383
  operation?: "self" | "router" | "blank" | undefined;
3384
+ meta?: {
3385
+ command: string;
3386
+ } | undefined;
3327
3387
  } & {} & {
3328
3388
  commandType?: "object" | "help" | "independent" | undefined;
3329
3389
  object?: string | undefined;
@@ -3472,10 +3532,13 @@ export declare const AIMessageV: t.TypeC<{
3472
3532
  value: string;
3473
3533
  } & {
3474
3534
  operation?: "self" | "router" | "blank" | undefined;
3535
+ meta?: {
3536
+ command: string;
3537
+ } | undefined;
3475
3538
  }) | {
3476
3539
  type: "open_chat";
3477
3540
  meta: {
3478
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3541
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
3479
3542
  };
3480
3543
  } | {
3481
3544
  type: "dismiss";
@@ -3756,10 +3819,13 @@ export declare const AIMessageV: t.TypeC<{
3756
3819
  value: string;
3757
3820
  } & {
3758
3821
  operation?: "self" | "router" | "blank" | undefined;
3822
+ meta?: {
3823
+ command: string;
3824
+ } | undefined;
3759
3825
  }) | {
3760
3826
  type: "open_chat";
3761
3827
  meta: {
3762
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3828
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
3763
3829
  };
3764
3830
  } | {
3765
3831
  type: "dismiss";
@@ -3853,6 +3919,9 @@ export declare const AIMessageV: t.TypeC<{
3853
3919
  value: string;
3854
3920
  } & {
3855
3921
  operation?: "self" | "router" | "blank" | undefined;
3922
+ meta?: {
3923
+ command: string;
3924
+ } | undefined;
3856
3925
  } & {} & {
3857
3926
  commandType?: "object" | "help" | "independent" | undefined;
3858
3927
  object?: string | undefined;
@@ -4001,10 +4070,13 @@ export declare const AIMessageV: t.TypeC<{
4001
4070
  value: string;
4002
4071
  } & {
4003
4072
  operation?: "self" | "router" | "blank" | undefined;
4073
+ meta?: {
4074
+ command: string;
4075
+ } | undefined;
4004
4076
  }) | {
4005
4077
  type: "open_chat";
4006
4078
  meta: {
4007
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
4079
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
4008
4080
  };
4009
4081
  } | {
4010
4082
  type: "dismiss";
@@ -4285,10 +4357,13 @@ export declare const AIMessageV: t.TypeC<{
4285
4357
  value: string;
4286
4358
  } & {
4287
4359
  operation?: "self" | "router" | "blank" | undefined;
4360
+ meta?: {
4361
+ command: string;
4362
+ } | undefined;
4288
4363
  }) | {
4289
4364
  type: "open_chat";
4290
4365
  meta: {
4291
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
4366
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
4292
4367
  };
4293
4368
  } | {
4294
4369
  type: "dismiss";
@@ -4399,10 +4474,13 @@ export declare const AIMessageV: t.TypeC<{
4399
4474
  value: t.StringC;
4400
4475
  }>, t.PartialC<{
4401
4476
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4477
+ meta: t.TypeC<{
4478
+ command: t.StringC;
4479
+ }>;
4402
4480
  }>]>, t.TypeC<{
4403
4481
  type: t.LiteralC<"open_chat">;
4404
4482
  meta: t.TypeC<{
4405
- 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<"">]>;
4483
+ 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<"">]>;
4406
4484
  }>;
4407
4485
  }>, t.TypeC<{
4408
4486
  type: t.LiteralC<"dismiss">;
@@ -4453,10 +4531,13 @@ export declare const AIMessageV: t.TypeC<{
4453
4531
  value: t.StringC;
4454
4532
  }>, t.PartialC<{
4455
4533
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4534
+ meta: t.TypeC<{
4535
+ command: t.StringC;
4536
+ }>;
4456
4537
  }>]>, t.TypeC<{
4457
4538
  type: t.LiteralC<"open_chat">;
4458
4539
  meta: t.TypeC<{
4459
- 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<"">]>;
4540
+ 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<"">]>;
4460
4541
  }>;
4461
4542
  }>, t.TypeC<{
4462
4543
  type: t.LiteralC<"dismiss">;
@@ -4485,11 +4566,23 @@ export declare const AIMessageV: t.TypeC<{
4485
4566
  }>]>, t.UndefinedC]>;
4486
4567
  }>>;
4487
4568
  }>;
4569
+ export declare const UserAttachmentV: t.TypeC<{
4570
+ type: t.StringC;
4571
+ title: t.UnionC<[t.UndefinedC, t.StringC]>;
4572
+ description: t.UnionC<[t.UndefinedC, t.StringC]>;
4573
+ media_preview_url: t.StringC;
4574
+ }>;
4488
4575
  export declare const UserMessageV: t.TypeC<{
4489
4576
  message_type: t.LiteralC<"USER">;
4490
4577
  value: t.TypeC<{
4491
4578
  question: t.StringC;
4492
4579
  command_ids: t.ArrayC<t.NumberC>;
4580
+ attachments: t.ArrayC<t.TypeC<{
4581
+ type: t.StringC;
4582
+ title: t.UnionC<[t.UndefinedC, t.StringC]>;
4583
+ description: t.UnionC<[t.UndefinedC, t.StringC]>;
4584
+ media_preview_url: t.StringC;
4585
+ }>>;
4493
4586
  }>;
4494
4587
  uuid: t.UnionC<[t.NullC, t.StringC]>;
4495
4588
  }>;
@@ -4542,6 +4635,9 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
4542
4635
  value: string;
4543
4636
  } & {
4544
4637
  operation?: "self" | "router" | "blank" | undefined;
4638
+ meta?: {
4639
+ command: string;
4640
+ } | undefined;
4545
4641
  } & {} & {
4546
4642
  commandType?: "object" | "help" | "independent" | undefined;
4547
4643
  object?: string | undefined;
@@ -4690,10 +4786,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
4690
4786
  value: string;
4691
4787
  } & {
4692
4788
  operation?: "self" | "router" | "blank" | undefined;
4789
+ meta?: {
4790
+ command: string;
4791
+ } | undefined;
4693
4792
  }) | {
4694
4793
  type: "open_chat";
4695
4794
  meta: {
4696
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
4795
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
4697
4796
  };
4698
4797
  } | {
4699
4798
  type: "dismiss";
@@ -4974,10 +5073,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
4974
5073
  value: string;
4975
5074
  } & {
4976
5075
  operation?: "self" | "router" | "blank" | undefined;
5076
+ meta?: {
5077
+ command: string;
5078
+ } | undefined;
4977
5079
  }) | {
4978
5080
  type: "open_chat";
4979
5081
  meta: {
4980
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
5082
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
4981
5083
  };
4982
5084
  } | {
4983
5085
  type: "dismiss";
@@ -5071,6 +5173,9 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
5071
5173
  value: string;
5072
5174
  } & {
5073
5175
  operation?: "self" | "router" | "blank" | undefined;
5176
+ meta?: {
5177
+ command: string;
5178
+ } | undefined;
5074
5179
  } & {} & {
5075
5180
  commandType?: "object" | "help" | "independent" | undefined;
5076
5181
  object?: string | undefined;
@@ -5219,10 +5324,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
5219
5324
  value: string;
5220
5325
  } & {
5221
5326
  operation?: "self" | "router" | "blank" | undefined;
5327
+ meta?: {
5328
+ command: string;
5329
+ } | undefined;
5222
5330
  }) | {
5223
5331
  type: "open_chat";
5224
5332
  meta: {
5225
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
5333
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
5226
5334
  };
5227
5335
  } | {
5228
5336
  type: "dismiss";
@@ -5503,10 +5611,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
5503
5611
  value: string;
5504
5612
  } & {
5505
5613
  operation?: "self" | "router" | "blank" | undefined;
5614
+ meta?: {
5615
+ command: string;
5616
+ } | undefined;
5506
5617
  }) | {
5507
5618
  type: "open_chat";
5508
5619
  meta: {
5509
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
5620
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
5510
5621
  };
5511
5622
  } | {
5512
5623
  type: "dismiss";
@@ -5607,6 +5718,9 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
5607
5718
  value: string;
5608
5719
  } & {
5609
5720
  operation?: "self" | "router" | "blank" | undefined;
5721
+ meta?: {
5722
+ command: string;
5723
+ } | undefined;
5610
5724
  } & {} & {
5611
5725
  commandType?: "object" | "help" | "independent" | undefined;
5612
5726
  object?: string | undefined;
@@ -5755,10 +5869,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
5755
5869
  value: string;
5756
5870
  } & {
5757
5871
  operation?: "self" | "router" | "blank" | undefined;
5872
+ meta?: {
5873
+ command: string;
5874
+ } | undefined;
5758
5875
  }) | {
5759
5876
  type: "open_chat";
5760
5877
  meta: {
5761
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
5878
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
5762
5879
  };
5763
5880
  } | {
5764
5881
  type: "dismiss";
@@ -6039,10 +6156,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
6039
6156
  value: string;
6040
6157
  } & {
6041
6158
  operation?: "self" | "router" | "blank" | undefined;
6159
+ meta?: {
6160
+ command: string;
6161
+ } | undefined;
6042
6162
  }) | {
6043
6163
  type: "open_chat";
6044
6164
  meta: {
6045
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
6165
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
6046
6166
  };
6047
6167
  } | {
6048
6168
  type: "dismiss";
@@ -6136,6 +6256,9 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
6136
6256
  value: string;
6137
6257
  } & {
6138
6258
  operation?: "self" | "router" | "blank" | undefined;
6259
+ meta?: {
6260
+ command: string;
6261
+ } | undefined;
6139
6262
  } & {} & {
6140
6263
  commandType?: "object" | "help" | "independent" | undefined;
6141
6264
  object?: string | undefined;
@@ -6284,10 +6407,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
6284
6407
  value: string;
6285
6408
  } & {
6286
6409
  operation?: "self" | "router" | "blank" | undefined;
6410
+ meta?: {
6411
+ command: string;
6412
+ } | undefined;
6287
6413
  }) | {
6288
6414
  type: "open_chat";
6289
6415
  meta: {
6290
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
6416
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
6291
6417
  };
6292
6418
  } | {
6293
6419
  type: "dismiss";
@@ -6568,10 +6694,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
6568
6694
  value: string;
6569
6695
  } & {
6570
6696
  operation?: "self" | "router" | "blank" | undefined;
6697
+ meta?: {
6698
+ command: string;
6699
+ } | undefined;
6571
6700
  }) | {
6572
6701
  type: "open_chat";
6573
6702
  meta: {
6574
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
6703
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
6575
6704
  };
6576
6705
  } | {
6577
6706
  type: "dismiss";
@@ -6682,10 +6811,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
6682
6811
  value: t.StringC;
6683
6812
  }>, t.PartialC<{
6684
6813
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
6814
+ meta: t.TypeC<{
6815
+ command: t.StringC;
6816
+ }>;
6685
6817
  }>]>, t.TypeC<{
6686
6818
  type: t.LiteralC<"open_chat">;
6687
6819
  meta: t.TypeC<{
6688
- 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<"">]>;
6820
+ 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<"">]>;
6689
6821
  }>;
6690
6822
  }>, t.TypeC<{
6691
6823
  type: t.LiteralC<"dismiss">;
@@ -6736,10 +6868,13 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
6736
6868
  value: t.StringC;
6737
6869
  }>, t.PartialC<{
6738
6870
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
6871
+ meta: t.TypeC<{
6872
+ command: t.StringC;
6873
+ }>;
6739
6874
  }>]>, t.TypeC<{
6740
6875
  type: t.LiteralC<"open_chat">;
6741
6876
  meta: t.TypeC<{
6742
- 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<"">]>;
6877
+ 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<"">]>;
6743
6878
  }>;
6744
6879
  }>, t.TypeC<{
6745
6880
  type: t.LiteralC<"dismiss">;
@@ -6772,6 +6907,12 @@ export declare const MessageV: t.UnionC<[t.TypeC<{
6772
6907
  value: t.TypeC<{
6773
6908
  question: t.StringC;
6774
6909
  command_ids: t.ArrayC<t.NumberC>;
6910
+ attachments: t.ArrayC<t.TypeC<{
6911
+ type: t.StringC;
6912
+ title: t.UnionC<[t.UndefinedC, t.StringC]>;
6913
+ description: t.UnionC<[t.UndefinedC, t.StringC]>;
6914
+ media_preview_url: t.StringC;
6915
+ }>>;
6775
6916
  }>;
6776
6917
  uuid: t.UnionC<[t.NullC, t.StringC]>;
6777
6918
  }>, t.TypeC<{
@@ -6849,10 +6990,16 @@ export declare const AIAnswerPayloadV: t.IntersectionC<[t.TypeC<{
6849
6990
  }>]>, t.NullC]>;
6850
6991
  custom_instructions: t.UnionC<[t.StringC, t.NullC]>;
6851
6992
  }>, t.NullC]>;
6852
- chain_override: t.UnionC<[t.StringC, t.UndefinedC]>;
6853
6993
  copilot_api_headers: t.RecordC<t.StringC, t.StringC>;
6994
+ user_timezone: t.StringC;
6854
6995
  end_user_id: t.StringC;
6855
6996
  hmac: t.StringC;
6997
+ attachments: t.ArrayC<t.TypeC<{
6998
+ type: t.StringC;
6999
+ title: t.UnionC<[t.UndefinedC, t.StringC]>;
7000
+ description: t.UnionC<[t.UndefinedC, t.StringC]>;
7001
+ media_preview_url: t.StringC;
7002
+ }>>;
6856
7003
  }>]>;
6857
7004
  export declare const AIAnswerV: t.TypeC<{
6858
7005
  chat_id: t.StringC;
@@ -6887,6 +7034,12 @@ export declare const ExternalChatHistoryV: t.TypeC<{
6887
7034
  value: t.TypeC<{
6888
7035
  question: t.StringC;
6889
7036
  command_ids: t.ArrayC<t.NumberC>;
7037
+ attachments: t.ArrayC<t.TypeC<{
7038
+ type: t.StringC;
7039
+ title: t.UnionC<[t.UndefinedC, t.StringC]>;
7040
+ description: t.UnionC<[t.UndefinedC, t.StringC]>;
7041
+ media_preview_url: t.StringC;
7042
+ }>>;
6890
7043
  }>;
6891
7044
  uuid: t.UnionC<[t.NullC, t.StringC]>;
6892
7045
  }>, t.TypeC<{
@@ -6931,6 +7084,9 @@ export declare const ExternalChatHistoryV: t.TypeC<{
6931
7084
  value: string;
6932
7085
  } & {
6933
7086
  operation?: "self" | "router" | "blank" | undefined;
7087
+ meta?: {
7088
+ command: string;
7089
+ } | undefined;
6934
7090
  } & {} & {
6935
7091
  commandType?: "object" | "help" | "independent" | undefined;
6936
7092
  object?: string | undefined;
@@ -7079,10 +7235,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
7079
7235
  value: string;
7080
7236
  } & {
7081
7237
  operation?: "self" | "router" | "blank" | undefined;
7238
+ meta?: {
7239
+ command: string;
7240
+ } | undefined;
7082
7241
  }) | {
7083
7242
  type: "open_chat";
7084
7243
  meta: {
7085
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
7244
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
7086
7245
  };
7087
7246
  } | {
7088
7247
  type: "dismiss";
@@ -7363,10 +7522,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
7363
7522
  value: string;
7364
7523
  } & {
7365
7524
  operation?: "self" | "router" | "blank" | undefined;
7525
+ meta?: {
7526
+ command: string;
7527
+ } | undefined;
7366
7528
  }) | {
7367
7529
  type: "open_chat";
7368
7530
  meta: {
7369
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
7531
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
7370
7532
  };
7371
7533
  } | {
7372
7534
  type: "dismiss";
@@ -7460,6 +7622,9 @@ export declare const ExternalChatHistoryV: t.TypeC<{
7460
7622
  value: string;
7461
7623
  } & {
7462
7624
  operation?: "self" | "router" | "blank" | undefined;
7625
+ meta?: {
7626
+ command: string;
7627
+ } | undefined;
7463
7628
  } & {} & {
7464
7629
  commandType?: "object" | "help" | "independent" | undefined;
7465
7630
  object?: string | undefined;
@@ -7608,10 +7773,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
7608
7773
  value: string;
7609
7774
  } & {
7610
7775
  operation?: "self" | "router" | "blank" | undefined;
7776
+ meta?: {
7777
+ command: string;
7778
+ } | undefined;
7611
7779
  }) | {
7612
7780
  type: "open_chat";
7613
7781
  meta: {
7614
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
7782
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
7615
7783
  };
7616
7784
  } | {
7617
7785
  type: "dismiss";
@@ -7892,10 +8060,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
7892
8060
  value: string;
7893
8061
  } & {
7894
8062
  operation?: "self" | "router" | "blank" | undefined;
8063
+ meta?: {
8064
+ command: string;
8065
+ } | undefined;
7895
8066
  }) | {
7896
8067
  type: "open_chat";
7897
8068
  meta: {
7898
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
8069
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
7899
8070
  };
7900
8071
  } | {
7901
8072
  type: "dismiss";
@@ -7996,6 +8167,9 @@ export declare const ExternalChatHistoryV: t.TypeC<{
7996
8167
  value: string;
7997
8168
  } & {
7998
8169
  operation?: "self" | "router" | "blank" | undefined;
8170
+ meta?: {
8171
+ command: string;
8172
+ } | undefined;
7999
8173
  } & {} & {
8000
8174
  commandType?: "object" | "help" | "independent" | undefined;
8001
8175
  object?: string | undefined;
@@ -8144,10 +8318,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
8144
8318
  value: string;
8145
8319
  } & {
8146
8320
  operation?: "self" | "router" | "blank" | undefined;
8321
+ meta?: {
8322
+ command: string;
8323
+ } | undefined;
8147
8324
  }) | {
8148
8325
  type: "open_chat";
8149
8326
  meta: {
8150
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
8327
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
8151
8328
  };
8152
8329
  } | {
8153
8330
  type: "dismiss";
@@ -8428,10 +8605,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
8428
8605
  value: string;
8429
8606
  } & {
8430
8607
  operation?: "self" | "router" | "blank" | undefined;
8608
+ meta?: {
8609
+ command: string;
8610
+ } | undefined;
8431
8611
  }) | {
8432
8612
  type: "open_chat";
8433
8613
  meta: {
8434
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
8614
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
8435
8615
  };
8436
8616
  } | {
8437
8617
  type: "dismiss";
@@ -8525,6 +8705,9 @@ export declare const ExternalChatHistoryV: t.TypeC<{
8525
8705
  value: string;
8526
8706
  } & {
8527
8707
  operation?: "self" | "router" | "blank" | undefined;
8708
+ meta?: {
8709
+ command: string;
8710
+ } | undefined;
8528
8711
  } & {} & {
8529
8712
  commandType?: "object" | "help" | "independent" | undefined;
8530
8713
  object?: string | undefined;
@@ -8673,10 +8856,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
8673
8856
  value: string;
8674
8857
  } & {
8675
8858
  operation?: "self" | "router" | "blank" | undefined;
8859
+ meta?: {
8860
+ command: string;
8861
+ } | undefined;
8676
8862
  }) | {
8677
8863
  type: "open_chat";
8678
8864
  meta: {
8679
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
8865
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
8680
8866
  };
8681
8867
  } | {
8682
8868
  type: "dismiss";
@@ -8957,10 +9143,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
8957
9143
  value: string;
8958
9144
  } & {
8959
9145
  operation?: "self" | "router" | "blank" | undefined;
9146
+ meta?: {
9147
+ command: string;
9148
+ } | undefined;
8960
9149
  }) | {
8961
9150
  type: "open_chat";
8962
9151
  meta: {
8963
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
9152
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
8964
9153
  };
8965
9154
  } | {
8966
9155
  type: "dismiss";
@@ -9071,10 +9260,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
9071
9260
  value: t.StringC;
9072
9261
  }>, t.PartialC<{
9073
9262
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
9263
+ meta: t.TypeC<{
9264
+ command: t.StringC;
9265
+ }>;
9074
9266
  }>]>, t.TypeC<{
9075
9267
  type: t.LiteralC<"open_chat">;
9076
9268
  meta: t.TypeC<{
9077
- 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<"">]>;
9269
+ 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<"">]>;
9078
9270
  }>;
9079
9271
  }>, t.TypeC<{
9080
9272
  type: t.LiteralC<"dismiss">;
@@ -9125,10 +9317,13 @@ export declare const ExternalChatHistoryV: t.TypeC<{
9125
9317
  value: t.StringC;
9126
9318
  }>, t.PartialC<{
9127
9319
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
9320
+ meta: t.TypeC<{
9321
+ command: t.StringC;
9322
+ }>;
9128
9323
  }>]>, t.TypeC<{
9129
9324
  type: t.LiteralC<"open_chat">;
9130
9325
  meta: t.TypeC<{
9131
- 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<"">]>;
9326
+ 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<"">]>;
9132
9327
  }>;
9133
9328
  }>, t.TypeC<{
9134
9329
  type: t.LiteralC<"dismiss">;
@@ -9207,6 +9402,9 @@ export declare const ChatV: t.TypeC<{
9207
9402
  value: string;
9208
9403
  } & {
9209
9404
  operation?: "self" | "router" | "blank" | undefined;
9405
+ meta?: {
9406
+ command: string;
9407
+ } | undefined;
9210
9408
  } & {} & {
9211
9409
  commandType?: "object" | "help" | "independent" | undefined;
9212
9410
  object?: string | undefined;
@@ -9355,10 +9553,13 @@ export declare const ChatV: t.TypeC<{
9355
9553
  value: string;
9356
9554
  } & {
9357
9555
  operation?: "self" | "router" | "blank" | undefined;
9556
+ meta?: {
9557
+ command: string;
9558
+ } | undefined;
9358
9559
  }) | {
9359
9560
  type: "open_chat";
9360
9561
  meta: {
9361
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
9562
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
9362
9563
  };
9363
9564
  } | {
9364
9565
  type: "dismiss";
@@ -9639,10 +9840,13 @@ export declare const ChatV: t.TypeC<{
9639
9840
  value: string;
9640
9841
  } & {
9641
9842
  operation?: "self" | "router" | "blank" | undefined;
9843
+ meta?: {
9844
+ command: string;
9845
+ } | undefined;
9642
9846
  }) | {
9643
9847
  type: "open_chat";
9644
9848
  meta: {
9645
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
9849
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
9646
9850
  };
9647
9851
  } | {
9648
9852
  type: "dismiss";
@@ -9736,6 +9940,9 @@ export declare const ChatV: t.TypeC<{
9736
9940
  value: string;
9737
9941
  } & {
9738
9942
  operation?: "self" | "router" | "blank" | undefined;
9943
+ meta?: {
9944
+ command: string;
9945
+ } | undefined;
9739
9946
  } & {} & {
9740
9947
  commandType?: "object" | "help" | "independent" | undefined;
9741
9948
  object?: string | undefined;
@@ -9884,10 +10091,13 @@ export declare const ChatV: t.TypeC<{
9884
10091
  value: string;
9885
10092
  } & {
9886
10093
  operation?: "self" | "router" | "blank" | undefined;
10094
+ meta?: {
10095
+ command: string;
10096
+ } | undefined;
9887
10097
  }) | {
9888
10098
  type: "open_chat";
9889
10099
  meta: {
9890
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
10100
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
9891
10101
  };
9892
10102
  } | {
9893
10103
  type: "dismiss";
@@ -10168,10 +10378,13 @@ export declare const ChatV: t.TypeC<{
10168
10378
  value: string;
10169
10379
  } & {
10170
10380
  operation?: "self" | "router" | "blank" | undefined;
10381
+ meta?: {
10382
+ command: string;
10383
+ } | undefined;
10171
10384
  }) | {
10172
10385
  type: "open_chat";
10173
10386
  meta: {
10174
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
10387
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
10175
10388
  };
10176
10389
  } | {
10177
10390
  type: "dismiss";
@@ -10272,6 +10485,9 @@ export declare const ChatV: t.TypeC<{
10272
10485
  value: string;
10273
10486
  } & {
10274
10487
  operation?: "self" | "router" | "blank" | undefined;
10488
+ meta?: {
10489
+ command: string;
10490
+ } | undefined;
10275
10491
  } & {} & {
10276
10492
  commandType?: "object" | "help" | "independent" | undefined;
10277
10493
  object?: string | undefined;
@@ -10420,10 +10636,13 @@ export declare const ChatV: t.TypeC<{
10420
10636
  value: string;
10421
10637
  } & {
10422
10638
  operation?: "self" | "router" | "blank" | undefined;
10639
+ meta?: {
10640
+ command: string;
10641
+ } | undefined;
10423
10642
  }) | {
10424
10643
  type: "open_chat";
10425
10644
  meta: {
10426
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
10645
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
10427
10646
  };
10428
10647
  } | {
10429
10648
  type: "dismiss";
@@ -10704,10 +10923,13 @@ export declare const ChatV: t.TypeC<{
10704
10923
  value: string;
10705
10924
  } & {
10706
10925
  operation?: "self" | "router" | "blank" | undefined;
10926
+ meta?: {
10927
+ command: string;
10928
+ } | undefined;
10707
10929
  }) | {
10708
10930
  type: "open_chat";
10709
10931
  meta: {
10710
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
10932
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
10711
10933
  };
10712
10934
  } | {
10713
10935
  type: "dismiss";
@@ -10801,6 +11023,9 @@ export declare const ChatV: t.TypeC<{
10801
11023
  value: string;
10802
11024
  } & {
10803
11025
  operation?: "self" | "router" | "blank" | undefined;
11026
+ meta?: {
11027
+ command: string;
11028
+ } | undefined;
10804
11029
  } & {} & {
10805
11030
  commandType?: "object" | "help" | "independent" | undefined;
10806
11031
  object?: string | undefined;
@@ -10949,10 +11174,13 @@ export declare const ChatV: t.TypeC<{
10949
11174
  value: string;
10950
11175
  } & {
10951
11176
  operation?: "self" | "router" | "blank" | undefined;
11177
+ meta?: {
11178
+ command: string;
11179
+ } | undefined;
10952
11180
  }) | {
10953
11181
  type: "open_chat";
10954
11182
  meta: {
10955
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
11183
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
10956
11184
  };
10957
11185
  } | {
10958
11186
  type: "dismiss";
@@ -11233,10 +11461,13 @@ export declare const ChatV: t.TypeC<{
11233
11461
  value: string;
11234
11462
  } & {
11235
11463
  operation?: "self" | "router" | "blank" | undefined;
11464
+ meta?: {
11465
+ command: string;
11466
+ } | undefined;
11236
11467
  }) | {
11237
11468
  type: "open_chat";
11238
11469
  meta: {
11239
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
11470
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
11240
11471
  };
11241
11472
  } | {
11242
11473
  type: "dismiss";
@@ -11347,10 +11578,13 @@ export declare const ChatV: t.TypeC<{
11347
11578
  value: t.StringC;
11348
11579
  }>, t.PartialC<{
11349
11580
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
11581
+ meta: t.TypeC<{
11582
+ command: t.StringC;
11583
+ }>;
11350
11584
  }>]>, t.TypeC<{
11351
11585
  type: t.LiteralC<"open_chat">;
11352
11586
  meta: t.TypeC<{
11353
- 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<"">]>;
11587
+ 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<"">]>;
11354
11588
  }>;
11355
11589
  }>, t.TypeC<{
11356
11590
  type: t.LiteralC<"dismiss">;
@@ -11401,10 +11635,13 @@ export declare const ChatV: t.TypeC<{
11401
11635
  value: t.StringC;
11402
11636
  }>, t.PartialC<{
11403
11637
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
11638
+ meta: t.TypeC<{
11639
+ command: t.StringC;
11640
+ }>;
11404
11641
  }>]>, t.TypeC<{
11405
11642
  type: t.LiteralC<"open_chat">;
11406
11643
  meta: t.TypeC<{
11407
- 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<"">]>;
11644
+ 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<"">]>;
11408
11645
  }>;
11409
11646
  }>, t.TypeC<{
11410
11647
  type: t.LiteralC<"dismiss">;
@@ -11437,6 +11674,12 @@ export declare const ChatV: t.TypeC<{
11437
11674
  value: t.TypeC<{
11438
11675
  question: t.StringC;
11439
11676
  command_ids: t.ArrayC<t.NumberC>;
11677
+ attachments: t.ArrayC<t.TypeC<{
11678
+ type: t.StringC;
11679
+ title: t.UnionC<[t.UndefinedC, t.StringC]>;
11680
+ description: t.UnionC<[t.UndefinedC, t.StringC]>;
11681
+ media_preview_url: t.StringC;
11682
+ }>>;
11440
11683
  }>;
11441
11684
  uuid: t.UnionC<[t.NullC, t.StringC]>;
11442
11685
  }>, t.TypeC<{
@@ -11506,6 +11749,9 @@ export declare class Chat {
11506
11749
  value: string;
11507
11750
  } & {
11508
11751
  operation?: "self" | "router" | "blank" | undefined;
11752
+ meta?: {
11753
+ command: string;
11754
+ } | undefined;
11509
11755
  } & {} & {
11510
11756
  commandType?: "object" | "help" | "independent" | undefined;
11511
11757
  object?: string | undefined;
@@ -11654,10 +11900,13 @@ export declare class Chat {
11654
11900
  value: string;
11655
11901
  } & {
11656
11902
  operation?: "self" | "router" | "blank" | undefined;
11903
+ meta?: {
11904
+ command: string;
11905
+ } | undefined;
11657
11906
  }) | {
11658
11907
  type: "open_chat";
11659
11908
  meta: {
11660
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
11909
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
11661
11910
  };
11662
11911
  } | {
11663
11912
  type: "dismiss";
@@ -11938,10 +12187,13 @@ export declare class Chat {
11938
12187
  value: string;
11939
12188
  } & {
11940
12189
  operation?: "self" | "router" | "blank" | undefined;
12190
+ meta?: {
12191
+ command: string;
12192
+ } | undefined;
11941
12193
  }) | {
11942
12194
  type: "open_chat";
11943
12195
  meta: {
11944
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
12196
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
11945
12197
  };
11946
12198
  } | {
11947
12199
  type: "dismiss";
@@ -12044,6 +12296,9 @@ export declare class Chat {
12044
12296
  value: string;
12045
12297
  } & {
12046
12298
  operation?: "self" | "router" | "blank" | undefined;
12299
+ meta?: {
12300
+ command: string;
12301
+ } | undefined;
12047
12302
  } & {} & {
12048
12303
  commandType?: "object" | "help" | "independent" | undefined;
12049
12304
  object?: string | undefined;
@@ -12192,10 +12447,13 @@ export declare class Chat {
12192
12447
  value: string;
12193
12448
  } & {
12194
12449
  operation?: "self" | "router" | "blank" | undefined;
12450
+ meta?: {
12451
+ command: string;
12452
+ } | undefined;
12195
12453
  }) | {
12196
12454
  type: "open_chat";
12197
12455
  meta: {
12198
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
12456
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
12199
12457
  };
12200
12458
  } | {
12201
12459
  type: "dismiss";
@@ -12476,10 +12734,13 @@ export declare class Chat {
12476
12734
  value: string;
12477
12735
  } & {
12478
12736
  operation?: "self" | "router" | "blank" | undefined;
12737
+ meta?: {
12738
+ command: string;
12739
+ } | undefined;
12479
12740
  }) | {
12480
12741
  type: "open_chat";
12481
12742
  meta: {
12482
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
12743
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
12483
12744
  };
12484
12745
  } | {
12485
12746
  type: "dismiss";
@@ -12588,10 +12849,13 @@ export declare class Chat {
12588
12849
  value: string;
12589
12850
  } & {
12590
12851
  operation?: "self" | "router" | "blank" | undefined;
12852
+ meta?: {
12853
+ command: string;
12854
+ } | undefined;
12591
12855
  }) | {
12592
12856
  type: "open_chat";
12593
12857
  meta: {
12594
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
12858
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
12595
12859
  };
12596
12860
  } | {
12597
12861
  type: "dismiss";
@@ -12642,10 +12906,13 @@ export declare class Chat {
12642
12906
  value: string;
12643
12907
  } & {
12644
12908
  operation?: "self" | "router" | "blank" | undefined;
12909
+ meta?: {
12910
+ command: string;
12911
+ } | undefined;
12645
12912
  }) | {
12646
12913
  type: "open_chat";
12647
12914
  meta: {
12648
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
12915
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
12649
12916
  };
12650
12917
  } | {
12651
12918
  type: "dismiss";
@@ -12680,6 +12947,12 @@ export declare class Chat {
12680
12947
  value: {
12681
12948
  question: string;
12682
12949
  command_ids: number[];
12950
+ attachments: {
12951
+ type: string;
12952
+ title: string | undefined;
12953
+ description: string | undefined;
12954
+ media_preview_url: string;
12955
+ }[];
12683
12956
  };
12684
12957
  uuid: string | null;
12685
12958
  } | {
@@ -12741,6 +13014,9 @@ export declare class Chat {
12741
13014
  value: string;
12742
13015
  } & {
12743
13016
  operation?: "self" | "router" | "blank" | undefined;
13017
+ meta?: {
13018
+ command: string;
13019
+ } | undefined;
12744
13020
  } & {} & {
12745
13021
  commandType?: "object" | "help" | "independent" | undefined;
12746
13022
  object?: string | undefined;
@@ -12889,10 +13165,13 @@ export declare class Chat {
12889
13165
  value: string;
12890
13166
  } & {
12891
13167
  operation?: "self" | "router" | "blank" | undefined;
13168
+ meta?: {
13169
+ command: string;
13170
+ } | undefined;
12892
13171
  }) | {
12893
13172
  type: "open_chat";
12894
13173
  meta: {
12895
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
13174
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
12896
13175
  };
12897
13176
  } | {
12898
13177
  type: "dismiss";
@@ -13173,10 +13452,13 @@ export declare class Chat {
13173
13452
  value: string;
13174
13453
  } & {
13175
13454
  operation?: "self" | "router" | "blank" | undefined;
13455
+ meta?: {
13456
+ command: string;
13457
+ } | undefined;
13176
13458
  }) | {
13177
13459
  type: "open_chat";
13178
13460
  meta: {
13179
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
13461
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
13180
13462
  };
13181
13463
  } | {
13182
13464
  type: "dismiss";
@@ -13279,6 +13561,9 @@ export declare class Chat {
13279
13561
  value: string;
13280
13562
  } & {
13281
13563
  operation?: "self" | "router" | "blank" | undefined;
13564
+ meta?: {
13565
+ command: string;
13566
+ } | undefined;
13282
13567
  } & {} & {
13283
13568
  commandType?: "object" | "help" | "independent" | undefined;
13284
13569
  object?: string | undefined;
@@ -13427,10 +13712,13 @@ export declare class Chat {
13427
13712
  value: string;
13428
13713
  } & {
13429
13714
  operation?: "self" | "router" | "blank" | undefined;
13715
+ meta?: {
13716
+ command: string;
13717
+ } | undefined;
13430
13718
  }) | {
13431
13719
  type: "open_chat";
13432
13720
  meta: {
13433
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
13721
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
13434
13722
  };
13435
13723
  } | {
13436
13724
  type: "dismiss";
@@ -13711,10 +13999,13 @@ export declare class Chat {
13711
13999
  value: string;
13712
14000
  } & {
13713
14001
  operation?: "self" | "router" | "blank" | undefined;
14002
+ meta?: {
14003
+ command: string;
14004
+ } | undefined;
13714
14005
  }) | {
13715
14006
  type: "open_chat";
13716
14007
  meta: {
13717
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
14008
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
13718
14009
  };
13719
14010
  } | {
13720
14011
  type: "dismiss";
@@ -13823,10 +14114,13 @@ export declare class Chat {
13823
14114
  value: string;
13824
14115
  } & {
13825
14116
  operation?: "self" | "router" | "blank" | undefined;
14117
+ meta?: {
14118
+ command: string;
14119
+ } | undefined;
13826
14120
  }) | {
13827
14121
  type: "open_chat";
13828
14122
  meta: {
13829
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
14123
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
13830
14124
  };
13831
14125
  } | {
13832
14126
  type: "dismiss";
@@ -13877,10 +14171,13 @@ export declare class Chat {
13877
14171
  value: string;
13878
14172
  } & {
13879
14173
  operation?: "self" | "router" | "blank" | undefined;
14174
+ meta?: {
14175
+ command: string;
14176
+ } | undefined;
13880
14177
  }) | {
13881
14178
  type: "open_chat";
13882
14179
  meta: {
13883
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
14180
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
13884
14181
  };
13885
14182
  } | {
13886
14183
  type: "dismiss";
@@ -13915,6 +14212,12 @@ export declare class Chat {
13915
14212
  value: {
13916
14213
  question: string;
13917
14214
  command_ids: number[];
14215
+ attachments: {
14216
+ type: string;
14217
+ title: string | undefined;
14218
+ description: string | undefined;
14219
+ media_preview_url: string;
14220
+ }[];
13918
14221
  };
13919
14222
  uuid: string | null;
13920
14223
  } | {
@@ -13975,6 +14278,9 @@ export declare class Chat {
13975
14278
  value: string;
13976
14279
  } & {
13977
14280
  operation?: "self" | "router" | "blank" | undefined;
14281
+ meta?: {
14282
+ command: string;
14283
+ } | undefined;
13978
14284
  } & {} & {
13979
14285
  commandType?: "object" | "help" | "independent" | undefined;
13980
14286
  object?: string | undefined;
@@ -14123,10 +14429,13 @@ export declare class Chat {
14123
14429
  value: string;
14124
14430
  } & {
14125
14431
  operation?: "self" | "router" | "blank" | undefined;
14432
+ meta?: {
14433
+ command: string;
14434
+ } | undefined;
14126
14435
  }) | {
14127
14436
  type: "open_chat";
14128
14437
  meta: {
14129
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
14438
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
14130
14439
  };
14131
14440
  } | {
14132
14441
  type: "dismiss";
@@ -14407,10 +14716,13 @@ export declare class Chat {
14407
14716
  value: string;
14408
14717
  } & {
14409
14718
  operation?: "self" | "router" | "blank" | undefined;
14719
+ meta?: {
14720
+ command: string;
14721
+ } | undefined;
14410
14722
  }) | {
14411
14723
  type: "open_chat";
14412
14724
  meta: {
14413
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
14725
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
14414
14726
  };
14415
14727
  } | {
14416
14728
  type: "dismiss";
@@ -14513,6 +14825,9 @@ export declare class Chat {
14513
14825
  value: string;
14514
14826
  } & {
14515
14827
  operation?: "self" | "router" | "blank" | undefined;
14828
+ meta?: {
14829
+ command: string;
14830
+ } | undefined;
14516
14831
  } & {} & {
14517
14832
  commandType?: "object" | "help" | "independent" | undefined;
14518
14833
  object?: string | undefined;
@@ -14661,10 +14976,13 @@ export declare class Chat {
14661
14976
  value: string;
14662
14977
  } & {
14663
14978
  operation?: "self" | "router" | "blank" | undefined;
14979
+ meta?: {
14980
+ command: string;
14981
+ } | undefined;
14664
14982
  }) | {
14665
14983
  type: "open_chat";
14666
14984
  meta: {
14667
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
14985
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
14668
14986
  };
14669
14987
  } | {
14670
14988
  type: "dismiss";
@@ -14945,10 +15263,13 @@ export declare class Chat {
14945
15263
  value: string;
14946
15264
  } & {
14947
15265
  operation?: "self" | "router" | "blank" | undefined;
15266
+ meta?: {
15267
+ command: string;
15268
+ } | undefined;
14948
15269
  }) | {
14949
15270
  type: "open_chat";
14950
15271
  meta: {
14951
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
15272
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
14952
15273
  };
14953
15274
  } | {
14954
15275
  type: "dismiss";
@@ -15057,10 +15378,13 @@ export declare class Chat {
15057
15378
  value: string;
15058
15379
  } & {
15059
15380
  operation?: "self" | "router" | "blank" | undefined;
15381
+ meta?: {
15382
+ command: string;
15383
+ } | undefined;
15060
15384
  }) | {
15061
15385
  type: "open_chat";
15062
15386
  meta: {
15063
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
15387
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
15064
15388
  };
15065
15389
  } | {
15066
15390
  type: "dismiss";
@@ -15111,10 +15435,13 @@ export declare class Chat {
15111
15435
  value: string;
15112
15436
  } & {
15113
15437
  operation?: "self" | "router" | "blank" | undefined;
15438
+ meta?: {
15439
+ command: string;
15440
+ } | undefined;
15114
15441
  }) | {
15115
15442
  type: "open_chat";
15116
15443
  meta: {
15117
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
15444
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
15118
15445
  };
15119
15446
  } | {
15120
15447
  type: "dismiss";
@@ -15149,6 +15476,12 @@ export declare class Chat {
15149
15476
  value: {
15150
15477
  question: string;
15151
15478
  command_ids: number[];
15479
+ attachments: {
15480
+ type: string;
15481
+ title: string | undefined;
15482
+ description: string | undefined;
15483
+ media_preview_url: string;
15484
+ }[];
15152
15485
  };
15153
15486
  uuid: string | null;
15154
15487
  } | {
@@ -15188,7 +15521,7 @@ export declare class Chat {
15188
15521
  chat_id: string;
15189
15522
  }>;
15190
15523
  static getExternalChatHistory: (orgUID: IOrganizationType['id'], chatID: string, startingMessageUuid?: string, config?: axiosInstance.FetchOptions) => Promise<IExternalChatHistoryType>;
15191
- static collectArgumentValues: (orgUID: IOrganizationType['id'], chat_id: string, command_id: number, user: string | null | undefined, query: string) => Promise<{
15524
+ static collectArgumentValues: (orgUID: IOrganizationType['id'], chat_id: string, command_id: number, user: string | null | undefined, query: string, attachments: IUserAttachmentType[]) => Promise<{
15192
15525
  chat_id: string;
15193
15526
  message_id: string;
15194
15527
  }>;
@@ -15237,6 +15570,9 @@ export declare class Chat {
15237
15570
  value: string;
15238
15571
  } & {
15239
15572
  operation?: "self" | "router" | "blank" | undefined;
15573
+ meta?: {
15574
+ command: string;
15575
+ } | undefined;
15240
15576
  } & {} & {
15241
15577
  commandType?: "object" | "help" | "independent" | undefined;
15242
15578
  object?: string | undefined;
@@ -15385,10 +15721,13 @@ export declare class Chat {
15385
15721
  value: string;
15386
15722
  } & {
15387
15723
  operation?: "self" | "router" | "blank" | undefined;
15724
+ meta?: {
15725
+ command: string;
15726
+ } | undefined;
15388
15727
  }) | {
15389
15728
  type: "open_chat";
15390
15729
  meta: {
15391
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
15730
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
15392
15731
  };
15393
15732
  } | {
15394
15733
  type: "dismiss";
@@ -15669,10 +16008,13 @@ export declare class Chat {
15669
16008
  value: string;
15670
16009
  } & {
15671
16010
  operation?: "self" | "router" | "blank" | undefined;
16011
+ meta?: {
16012
+ command: string;
16013
+ } | undefined;
15672
16014
  }) | {
15673
16015
  type: "open_chat";
15674
16016
  meta: {
15675
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
16017
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
15676
16018
  };
15677
16019
  } | {
15678
16020
  type: "dismiss";
@@ -15775,6 +16117,9 @@ export declare class Chat {
15775
16117
  value: string;
15776
16118
  } & {
15777
16119
  operation?: "self" | "router" | "blank" | undefined;
16120
+ meta?: {
16121
+ command: string;
16122
+ } | undefined;
15778
16123
  } & {} & {
15779
16124
  commandType?: "object" | "help" | "independent" | undefined;
15780
16125
  object?: string | undefined;
@@ -15923,10 +16268,13 @@ export declare class Chat {
15923
16268
  value: string;
15924
16269
  } & {
15925
16270
  operation?: "self" | "router" | "blank" | undefined;
16271
+ meta?: {
16272
+ command: string;
16273
+ } | undefined;
15926
16274
  }) | {
15927
16275
  type: "open_chat";
15928
16276
  meta: {
15929
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
16277
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
15930
16278
  };
15931
16279
  } | {
15932
16280
  type: "dismiss";
@@ -16207,10 +16555,13 @@ export declare class Chat {
16207
16555
  value: string;
16208
16556
  } & {
16209
16557
  operation?: "self" | "router" | "blank" | undefined;
16558
+ meta?: {
16559
+ command: string;
16560
+ } | undefined;
16210
16561
  }) | {
16211
16562
  type: "open_chat";
16212
16563
  meta: {
16213
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
16564
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
16214
16565
  };
16215
16566
  } | {
16216
16567
  type: "dismiss";
@@ -16319,10 +16670,13 @@ export declare class Chat {
16319
16670
  value: string;
16320
16671
  } & {
16321
16672
  operation?: "self" | "router" | "blank" | undefined;
16673
+ meta?: {
16674
+ command: string;
16675
+ } | undefined;
16322
16676
  }) | {
16323
16677
  type: "open_chat";
16324
16678
  meta: {
16325
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
16679
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
16326
16680
  };
16327
16681
  } | {
16328
16682
  type: "dismiss";
@@ -16373,10 +16727,13 @@ export declare class Chat {
16373
16727
  value: string;
16374
16728
  } & {
16375
16729
  operation?: "self" | "router" | "blank" | undefined;
16730
+ meta?: {
16731
+ command: string;
16732
+ } | undefined;
16376
16733
  }) | {
16377
16734
  type: "open_chat";
16378
16735
  meta: {
16379
- type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
16736
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
16380
16737
  };
16381
16738
  } | {
16382
16739
  type: "dismiss";
@@ -16411,6 +16768,12 @@ export declare class Chat {
16411
16768
  value: {
16412
16769
  question: string;
16413
16770
  command_ids: number[];
16771
+ attachments: {
16772
+ type: string;
16773
+ title: string | undefined;
16774
+ description: string | undefined;
16775
+ media_preview_url: string;
16776
+ }[];
16414
16777
  };
16415
16778
  uuid: string | null;
16416
16779
  } | {