@livechat/platform-workflows 0.0.63 → 0.0.65

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 (3) hide show
  1. package/dist/index.js +498 -182
  2. package/dist/index.mjs +549 -229
  3. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -1952,6 +1952,13 @@ var WORKFLOW_HTTP_TASK_OUTPUT_SCHEMA = (body) => ({
1952
1952
  }
1953
1953
  }
1954
1954
  });
1955
+ var WORKFLOW_TRIGGER_OUTPUT_SCHEMA = (body) => ({
1956
+ type: "object",
1957
+ required: ["body"],
1958
+ properties: {
1959
+ body
1960
+ }
1961
+ });
1955
1962
 
1956
1963
  // src/views/Flows/Definitions/Mocks/System/index.ts
1957
1964
  import { WorkflowDefinitionTaskType } from "@livechat/developer-studio-api";
@@ -3311,7 +3318,9 @@ var bigcommerceTriggerTemplates = () => ({
3311
3318
 
3312
3319
  // src/views/Flows/Definitions/Mocks/HelpDesk/index.ts
3313
3320
  import {
3321
+ IntegrationDisplayNames as IntegrationDisplayNames2,
3314
3322
  IntegrationNames as IntegrationNames2,
3323
+ TextHelpDeskEventNames,
3315
3324
  WorkflowDefinitionTaskType as WorkflowDefinitionTaskType3
3316
3325
  } from "@livechat/developer-studio-api";
3317
3326
  var helpdeskTicketResponse = WORKFLOW_HTTP_TASK_OUTPUT_SCHEMA({
@@ -3466,6 +3475,53 @@ var helpdeskTicketInput = {
3466
3475
  title: "Transaction ID"
3467
3476
  }
3468
3477
  };
3478
+ var webhookSpecsCommons = {
3479
+ outputs: {
3480
+ ticketBasedOutput: () => WORKFLOW_TRIGGER_OUTPUT_SCHEMA(helpdeskTicketResponse),
3481
+ ticketEventBasedOutput: (event) => WORKFLOW_TRIGGER_OUTPUT_SCHEMA({
3482
+ type: "object",
3483
+ required: ["ticket", "event"],
3484
+ properties: {
3485
+ ticket: helpdeskTicketResponse,
3486
+ event
3487
+ }
3488
+ })
3489
+ }
3490
+ };
3491
+ var webhookSpecs = {
3492
+ ticket_created: {
3493
+ input: {},
3494
+ output: webhookSpecsCommons.outputs.ticketBasedOutput()
3495
+ },
3496
+ ticket_updated: {
3497
+ input: {},
3498
+ output: webhookSpecsCommons.outputs.ticketBasedOutput()
3499
+ },
3500
+ ticket_status_changed: {
3501
+ input: {},
3502
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3503
+ },
3504
+ ticket_priority_changed: {
3505
+ input: {},
3506
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3507
+ },
3508
+ ticket_tags_changed: {
3509
+ input: {},
3510
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3511
+ },
3512
+ ticket_followers_changed: {
3513
+ input: {},
3514
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3515
+ },
3516
+ ticket_assignment_changed: {
3517
+ input: {},
3518
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3519
+ },
3520
+ ticket_message_added: {
3521
+ input: {},
3522
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3523
+ }
3524
+ };
3469
3525
  var helpdeskTaskConfigs = () => ({
3470
3526
  ["HELPDESK_ADD_FOLLOWERS_TO_TICKET" /* AddFollowersToTicket */]: {
3471
3527
  key: "HELPDESK_ADD_FOLLOWERS_TO_TICKET" /* AddFollowersToTicket */,
@@ -3474,8 +3530,8 @@ var helpdeskTaskConfigs = () => ({
3474
3530
  "workflowsApiUr"
3475
3531
  )}/functions/add-followers-to-helpdesk-ticket`,
3476
3532
  customization: {
3477
- provider: `${IntegrationNames2.Text}-${PRODUCT_TYPE.HD}`,
3478
- product: PRODUCT_NAMES.helpdesk,
3533
+ provider: IntegrationNames2.HelpDesk,
3534
+ product: IntegrationDisplayNames2.HelpDesk,
3479
3535
  icon: PRODUCT_TYPE.HD,
3480
3536
  displayName: "Add followers to ticket",
3481
3537
  shortDescription: "Add followers to ticket",
@@ -3511,8 +3567,8 @@ var helpdeskTaskConfigs = () => ({
3511
3567
  "workflowsApiUr"
3512
3568
  )}/functions/add-tags-to-helpdesk-ticket`,
3513
3569
  customization: {
3514
- provider: `${IntegrationNames2.Text}-${PRODUCT_TYPE.HD}`,
3515
- product: PRODUCT_NAMES.helpdesk,
3570
+ provider: IntegrationNames2.HelpDesk,
3571
+ product: IntegrationDisplayNames2.HelpDesk,
3516
3572
  icon: PRODUCT_TYPE.HD,
3517
3573
  displayName: "Add tags to ticket",
3518
3574
  shortDescription: "Add tags to ticket",
@@ -3547,8 +3603,8 @@ var helpdeskTaskConfigs = () => ({
3547
3603
  "workflowsApiUr"
3548
3604
  )}/functions/create-helpdesk-ticket`,
3549
3605
  customization: {
3550
- provider: `${IntegrationNames2.Text}-${PRODUCT_TYPE.HD}`,
3551
- product: PRODUCT_NAMES.helpdesk,
3606
+ provider: IntegrationNames2.HelpDesk,
3607
+ product: IntegrationDisplayNames2.HelpDesk,
3552
3608
  icon: PRODUCT_TYPE.HD,
3553
3609
  displayName: "Create ticket",
3554
3610
  shortDescription: "Create a ticket",
@@ -3570,8 +3626,8 @@ var helpdeskTaskConfigs = () => ({
3570
3626
  "workflowsApiUr"
3571
3627
  )}/functions/create-helpdesk-transaction`,
3572
3628
  customization: {
3573
- provider: `${IntegrationNames2.Text}-${PRODUCT_TYPE.HD}`,
3574
- product: PRODUCT_NAMES.helpdesk,
3629
+ provider: IntegrationNames2.HelpDesk,
3630
+ product: IntegrationDisplayNames2.HelpDesk,
3575
3631
  icon: PRODUCT_TYPE.HD,
3576
3632
  displayName: "Create transaction",
3577
3633
  shortDescription: "Creates transaction",
@@ -3657,8 +3713,8 @@ var helpdeskTaskConfigs = () => ({
3657
3713
  type: WorkflowDefinitionTaskType3.http,
3658
3714
  url: `${getWorkflowsEnv("workflowsApiUr")}/functions/find-helpdesk-ticket`,
3659
3715
  customization: {
3660
- provider: `${IntegrationNames2.Text}-${PRODUCT_TYPE.HD}`,
3661
- product: PRODUCT_NAMES.helpdesk,
3716
+ provider: IntegrationNames2.HelpDesk,
3717
+ product: IntegrationDisplayNames2.HelpDesk,
3662
3718
  icon: PRODUCT_TYPE.HD,
3663
3719
  displayName: "Find ticket",
3664
3720
  shortDescription: "Find ticket",
@@ -3686,8 +3742,8 @@ var helpdeskTaskConfigs = () => ({
3686
3742
  "workflowsApiUr"
3687
3743
  )}/functions/update-helpdesk-ticket`,
3688
3744
  customization: {
3689
- provider: `${IntegrationNames2.Text}-${PRODUCT_TYPE.HD}`,
3690
- product: PRODUCT_NAMES.helpdesk,
3745
+ provider: IntegrationNames2.HelpDesk,
3746
+ product: IntegrationDisplayNames2.HelpDesk,
3691
3747
  icon: PRODUCT_TYPE.HD,
3692
3748
  displayName: "Update ticket",
3693
3749
  shortDescription: "Update ticket",
@@ -3836,11 +3892,249 @@ var helpdeskTaskTemplates = () => ({
3836
3892
  })
3837
3893
  })
3838
3894
  });
3895
+ var TextHelpDeskTriggerNames = {
3896
+ TicketCreated: `${IntegrationNames2.HelpDesk}-${TextHelpDeskEventNames.TicketCreated}`,
3897
+ TicketUpdated: `${IntegrationNames2.HelpDesk}-${TextHelpDeskEventNames.TicketUpdated}`,
3898
+ TicketStatusChanged: `${IntegrationNames2.HelpDesk}-${TextHelpDeskEventNames.TicketStatusChanged}`,
3899
+ TicketPriorityChanged: `${IntegrationNames2.HelpDesk}-${TextHelpDeskEventNames.TicketPriorityChanged}`,
3900
+ TicketTagsChanged: `${IntegrationNames2.HelpDesk}-${TextHelpDeskEventNames.TicketTagsChanged}`,
3901
+ TicketFollowersChanged: `${IntegrationNames2.HelpDesk}-${TextHelpDeskEventNames.TicketFollowersChanged}`,
3902
+ TicketAssignmentChanged: `${IntegrationNames2.HelpDesk}-${TextHelpDeskEventNames.TicketAssignmentChanged}`,
3903
+ TicketMessageAdded: `${IntegrationNames2.HelpDesk}-${TextHelpDeskEventNames.TicketMessageAdded}`
3904
+ };
3905
+ var helpDeskTriggerConfigs = () => ({
3906
+ [TextHelpDeskTriggerNames.TicketCreated]: {
3907
+ key: TextHelpDeskTriggerNames.TicketCreated,
3908
+ name: TextHelpDeskEventNames.TicketCreated,
3909
+ type: "webhook",
3910
+ customization: {
3911
+ provider: IntegrationNames2.HelpDesk,
3912
+ product: IntegrationDisplayNames2.HelpDesk,
3913
+ icon: PRODUCT_TYPE.HD,
3914
+ displayName: "Ticket created",
3915
+ shortDescription: "Ticket created",
3916
+ description: "Triggers when a new ticket is created."
3917
+ },
3918
+ specification: {
3919
+ output: webhookSpecs.ticket_created.output
3920
+ }
3921
+ },
3922
+ [TextHelpDeskTriggerNames.TicketUpdated]: {
3923
+ key: TextHelpDeskTriggerNames.TicketUpdated,
3924
+ name: TextHelpDeskEventNames.TicketUpdated,
3925
+ type: "webhook",
3926
+ customization: {
3927
+ provider: IntegrationNames2.HelpDesk,
3928
+ product: IntegrationDisplayNames2.HelpDesk,
3929
+ icon: PRODUCT_TYPE.HD,
3930
+ displayName: "Ticket updated",
3931
+ shortDescription: "Ticket updated",
3932
+ description: "Triggers when a ticket is updated."
3933
+ },
3934
+ specification: {
3935
+ output: webhookSpecs.ticket_updated.output
3936
+ }
3937
+ },
3938
+ [TextHelpDeskTriggerNames.TicketStatusChanged]: {
3939
+ key: TextHelpDeskTriggerNames.TicketStatusChanged,
3940
+ name: TextHelpDeskEventNames.TicketStatusChanged,
3941
+ type: "webhook",
3942
+ customization: {
3943
+ provider: IntegrationNames2.HelpDesk,
3944
+ product: IntegrationDisplayNames2.HelpDesk,
3945
+ icon: PRODUCT_TYPE.HD,
3946
+ displayName: "Ticket status changed",
3947
+ shortDescription: "Ticket status changed",
3948
+ description: "Triggers when a ticket status has changed."
3949
+ },
3950
+ specification: {
3951
+ output: webhookSpecs.ticket_status_changed.output
3952
+ }
3953
+ },
3954
+ [TextHelpDeskTriggerNames.TicketPriorityChanged]: {
3955
+ key: TextHelpDeskTriggerNames.TicketPriorityChanged,
3956
+ name: TextHelpDeskEventNames.TicketPriorityChanged,
3957
+ type: "webhook",
3958
+ customization: {
3959
+ provider: IntegrationNames2.HelpDesk,
3960
+ product: IntegrationDisplayNames2.HelpDesk,
3961
+ icon: PRODUCT_TYPE.HD,
3962
+ displayName: "Ticket priority changed",
3963
+ shortDescription: "Ticket priority changed",
3964
+ description: "Triggers when a ticket priority has changed."
3965
+ },
3966
+ specification: {
3967
+ output: webhookSpecs.ticket_priority_changed.output
3968
+ }
3969
+ },
3970
+ [TextHelpDeskTriggerNames.TicketTagsChanged]: {
3971
+ key: TextHelpDeskTriggerNames.TicketTagsChanged,
3972
+ name: TextHelpDeskEventNames.TicketTagsChanged,
3973
+ type: "webhook",
3974
+ customization: {
3975
+ provider: IntegrationNames2.HelpDesk,
3976
+ product: IntegrationDisplayNames2.HelpDesk,
3977
+ icon: PRODUCT_TYPE.HD,
3978
+ displayName: "Ticket tags changed",
3979
+ shortDescription: "Ticket tags changed",
3980
+ description: "Triggers when a ticket tags has changed."
3981
+ },
3982
+ specification: {
3983
+ output: webhookSpecs.ticket_tags_changed.output
3984
+ }
3985
+ },
3986
+ [TextHelpDeskTriggerNames.TicketFollowersChanged]: {
3987
+ key: TextHelpDeskTriggerNames.TicketFollowersChanged,
3988
+ name: TextHelpDeskEventNames.TicketFollowersChanged,
3989
+ type: "webhook",
3990
+ customization: {
3991
+ provider: IntegrationNames2.HelpDesk,
3992
+ product: IntegrationDisplayNames2.HelpDesk,
3993
+ icon: PRODUCT_TYPE.HD,
3994
+ displayName: "Ticket followers changed",
3995
+ shortDescription: "Ticket followers changed",
3996
+ description: "Triggers when a ticket followers has changed."
3997
+ },
3998
+ specification: {
3999
+ output: webhookSpecs.ticket_followers_changed.output
4000
+ }
4001
+ },
4002
+ [TextHelpDeskTriggerNames.TicketAssignmentChanged]: {
4003
+ key: TextHelpDeskTriggerNames.TicketAssignmentChanged,
4004
+ name: TextHelpDeskEventNames.TicketAssignmentChanged,
4005
+ type: "webhook",
4006
+ customization: {
4007
+ provider: IntegrationNames2.HelpDesk,
4008
+ product: IntegrationDisplayNames2.HelpDesk,
4009
+ icon: PRODUCT_TYPE.HD,
4010
+ displayName: "Ticket assignment changed",
4011
+ shortDescription: "Ticket assignment changed",
4012
+ description: "Triggers when a ticket assignment has changed."
4013
+ },
4014
+ specification: {
4015
+ output: webhookSpecs.ticket_assignment_changed.output
4016
+ }
4017
+ },
4018
+ [TextHelpDeskTriggerNames.TicketMessageAdded]: {
4019
+ key: TextHelpDeskTriggerNames.TicketMessageAdded,
4020
+ name: TextHelpDeskEventNames.TicketMessageAdded,
4021
+ type: "webhook",
4022
+ customization: {
4023
+ provider: IntegrationNames2.HelpDesk,
4024
+ product: IntegrationDisplayNames2.HelpDesk,
4025
+ icon: PRODUCT_TYPE.HD,
4026
+ displayName: "Ticket message added",
4027
+ shortDescription: "Ticket message added",
4028
+ description: "Triggers when a messages was added to ticket."
4029
+ },
4030
+ specification: {
4031
+ output: webhookSpecs.ticket_message_added.output
4032
+ }
4033
+ }
4034
+ });
4035
+ var helpdeskTriggerTemplates = () => ({
4036
+ [TextHelpDeskTriggerNames.TicketCreated]: {
4037
+ type: "webhook",
4038
+ webhook: {
4039
+ source: IntegrationNames2.HelpDesk,
4040
+ event: {
4041
+ name: TextHelpDeskEventNames.TicketCreated
4042
+ },
4043
+ headers: {
4044
+ "x-adapter-text-token": ["${workflow.credentials.text.access_token}"]
4045
+ }
4046
+ }
4047
+ },
4048
+ [TextHelpDeskTriggerNames.TicketUpdated]: {
4049
+ type: "webhook",
4050
+ webhook: {
4051
+ source: IntegrationNames2.HelpDesk,
4052
+ event: {
4053
+ name: TextHelpDeskEventNames.TicketUpdated
4054
+ },
4055
+ headers: {
4056
+ "x-adapter-text-token": ["${workflow.credentials.text.access_token}"]
4057
+ }
4058
+ }
4059
+ },
4060
+ [TextHelpDeskTriggerNames.TicketStatusChanged]: {
4061
+ type: "webhook",
4062
+ webhook: {
4063
+ source: IntegrationNames2.HelpDesk,
4064
+ event: {
4065
+ name: TextHelpDeskEventNames.TicketStatusChanged
4066
+ },
4067
+ headers: {
4068
+ "x-adapter-text-token": ["${workflow.credentials.text.access_token}"]
4069
+ }
4070
+ }
4071
+ },
4072
+ [TextHelpDeskTriggerNames.TicketPriorityChanged]: {
4073
+ type: "webhook",
4074
+ webhook: {
4075
+ source: IntegrationNames2.HelpDesk,
4076
+ event: {
4077
+ name: TextHelpDeskEventNames.TicketPriorityChanged
4078
+ },
4079
+ headers: {
4080
+ "x-adapter-text-token": ["${workflow.credentials.text.access_token}"]
4081
+ }
4082
+ }
4083
+ },
4084
+ [TextHelpDeskTriggerNames.TicketTagsChanged]: {
4085
+ type: "webhook",
4086
+ webhook: {
4087
+ source: IntegrationNames2.HelpDesk,
4088
+ event: {
4089
+ name: TextHelpDeskEventNames.TicketTagsChanged
4090
+ },
4091
+ headers: {
4092
+ "x-adapter-text-token": ["${workflow.credentials.text.access_token}"]
4093
+ }
4094
+ }
4095
+ },
4096
+ [TextHelpDeskTriggerNames.TicketFollowersChanged]: {
4097
+ type: "webhook",
4098
+ webhook: {
4099
+ source: IntegrationNames2.HelpDesk,
4100
+ event: {
4101
+ name: TextHelpDeskEventNames.TicketFollowersChanged
4102
+ },
4103
+ headers: {
4104
+ "x-adapter-text-token": ["${workflow.credentials.text.access_token}"]
4105
+ }
4106
+ }
4107
+ },
4108
+ [TextHelpDeskTriggerNames.TicketAssignmentChanged]: {
4109
+ type: "webhook",
4110
+ webhook: {
4111
+ source: IntegrationNames2.HelpDesk,
4112
+ event: {
4113
+ name: TextHelpDeskEventNames.TicketAssignmentChanged
4114
+ },
4115
+ headers: {
4116
+ "x-adapter-text-token": ["${workflow.credentials.text.access_token}"]
4117
+ }
4118
+ }
4119
+ },
4120
+ [TextHelpDeskTriggerNames.TicketMessageAdded]: {
4121
+ type: "webhook",
4122
+ webhook: {
4123
+ source: IntegrationNames2.HelpDesk,
4124
+ event: {
4125
+ name: TextHelpDeskEventNames.TicketMessageAdded
4126
+ },
4127
+ headers: {
4128
+ "x-adapter-text-token": ["${workflow.credentials.text.access_token}"]
4129
+ }
4130
+ }
4131
+ }
4132
+ });
3839
4133
 
3840
4134
  // src/views/Flows/Definitions/Mocks/HubSpot/index.ts
3841
4135
  import {
3842
4136
  HubspotEventNames,
3843
- IntegrationDisplayNames as IntegrationDisplayNames2,
4137
+ IntegrationDisplayNames as IntegrationDisplayNames3,
3844
4138
  IntegrationNames as IntegrationNames3,
3845
4139
  WorkflowDefinitionTaskType as WorkflowDefinitionTaskType4
3846
4140
  } from "@livechat/developer-studio-api";
@@ -3886,7 +4180,7 @@ var hubspotTaskConfigs = () => ({
3886
4180
  )}/functions/create-hubspot-contact`,
3887
4181
  customization: {
3888
4182
  provider: IntegrationNames3.HubSpot,
3889
- product: IntegrationDisplayNames2.HubSpot,
4183
+ product: IntegrationDisplayNames3.HubSpot,
3890
4184
  icon: IntegrationNames3.HubSpot,
3891
4185
  displayName: "Create contact",
3892
4186
  shortDescription: "Create contact",
@@ -3936,7 +4230,7 @@ var hubspotTaskConfigs = () => ({
3936
4230
  url: `${getWorkflowsEnv("workflowsApiUr")}/functions/get-hubspot-contact`,
3937
4231
  customization: {
3938
4232
  provider: IntegrationNames3.HubSpot,
3939
- product: IntegrationDisplayNames2.HubSpot,
4233
+ product: IntegrationDisplayNames3.HubSpot,
3940
4234
  icon: IntegrationNames3.HubSpot,
3941
4235
  displayName: "Get contact",
3942
4236
  shortDescription: "Get contact",
@@ -3967,7 +4261,7 @@ var hubspotTaskConfigs = () => ({
3967
4261
  )}/functions/update-hubspot-contact`,
3968
4262
  customization: {
3969
4263
  provider: IntegrationNames3.HubSpot,
3970
- product: IntegrationDisplayNames2.HubSpot,
4264
+ product: IntegrationDisplayNames3.HubSpot,
3971
4265
  icon: IntegrationNames3.HubSpot,
3972
4266
  displayName: "Update contact",
3973
4267
  shortDescription: "Update contact",
@@ -4090,7 +4384,7 @@ var hubspotTriggerConfigs = () => ({
4090
4384
  type: "webhook",
4091
4385
  customization: {
4092
4386
  provider: IntegrationNames3.HubSpot,
4093
- product: IntegrationDisplayNames2.HubSpot,
4387
+ product: IntegrationDisplayNames3.HubSpot,
4094
4388
  icon: IntegrationNames3.HubSpot,
4095
4389
  displayName: "Contact created",
4096
4390
  shortDescription: "Contact created",
@@ -4109,7 +4403,7 @@ var hubspotTriggerConfigs = () => ({
4109
4403
  type: "webhook",
4110
4404
  customization: {
4111
4405
  provider: IntegrationNames3.HubSpot,
4112
- product: IntegrationDisplayNames2.HubSpot,
4406
+ product: IntegrationDisplayNames3.HubSpot,
4113
4407
  icon: IntegrationNames3.HubSpot,
4114
4408
  displayName: "Contact deleted",
4115
4409
  shortDescription: "Contact deleted",
@@ -4156,11 +4450,12 @@ var hubSpotTriggerTemplates = () => ({
4156
4450
 
4157
4451
  // src/views/Flows/Definitions/Mocks/LiveChat/index.ts
4158
4452
  import {
4453
+ IntegrationDisplayNames as IntegrationDisplayNames4,
4159
4454
  IntegrationNames as IntegrationNames4,
4160
4455
  TextLivechatEventNames,
4161
4456
  WorkflowDefinitionTaskType as WorkflowDefinitionTaskType5
4162
4457
  } from "@livechat/developer-studio-api";
4163
- var webhookSpecs = {
4458
+ var webhookSpecs2 = {
4164
4459
  new_chat: {
4165
4460
  output: {
4166
4461
  type: "object",
@@ -4732,9 +5027,9 @@ var livechatTaskConfigs = () => ({
4732
5027
  "workflowsApiUr"
4733
5028
  )}/functions/transfer-livechat-chat`,
4734
5029
  customization: {
4735
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
4736
- product: PRODUCT_NAMES.livechat,
4737
- icon: PRODUCT_TYPE.LC,
5030
+ provider: IntegrationNames4.LiveChat,
5031
+ product: IntegrationDisplayNames4.LiveChat,
5032
+ icon: IntegrationNames4.LiveChat,
4738
5033
  displayName: "Transfer chat",
4739
5034
  shortDescription: "Transfer chat",
4740
5035
  description: "Transfers chat to appropriate agents or groups."
@@ -4775,8 +5070,8 @@ var livechatTaskConfigs = () => ({
4775
5070
  type: WorkflowDefinitionTaskType5.http,
4776
5071
  url: `${getWorkflowsEnv("workflowsApiUr")}/functions/tag-livechat-chat`,
4777
5072
  customization: {
4778
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
4779
- product: PRODUCT_NAMES.livechat,
5073
+ provider: IntegrationNames4.LiveChat,
5074
+ product: IntegrationDisplayNames4.LiveChat,
4780
5075
  icon: PRODUCT_TYPE.LC,
4781
5076
  displayName: "Tag chat",
4782
5077
  shortDescription: "Tag chat",
@@ -4813,8 +5108,8 @@ var livechatTaskConfigs = () => ({
4813
5108
  "workflowsApiUr"
4814
5109
  )}/functions/get-livechat-chat-transcript`,
4815
5110
  customization: {
4816
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
4817
- product: PRODUCT_NAMES.livechat,
5111
+ provider: IntegrationNames4.LiveChat,
5112
+ product: IntegrationDisplayNames4.LiveChat,
4818
5113
  icon: PRODUCT_TYPE.LC,
4819
5114
  displayName: "Chat transcript",
4820
5115
  shortDescription: "Get chat transcript",
@@ -4864,8 +5159,8 @@ var livechatTaskConfigs = () => ({
4864
5159
  "workflowsApiUr"
4865
5160
  )}/functions/send-livechat-agent-message`,
4866
5161
  customization: {
4867
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
4868
- product: PRODUCT_NAMES.livechat,
5162
+ provider: IntegrationNames4.LiveChat,
5163
+ product: IntegrationDisplayNames4.LiveChat,
4869
5164
  icon: PRODUCT_TYPE.LC,
4870
5165
  displayName: "Send message",
4871
5166
  shortDescription: "Send message",
@@ -4905,8 +5200,8 @@ var livechatTaskConfigs = () => ({
4905
5200
  "workflowsApiUr"
4906
5201
  )}/functions/supervise-livechat-chat`,
4907
5202
  customization: {
4908
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
4909
- product: PRODUCT_NAMES.livechat,
5203
+ provider: IntegrationNames4.LiveChat,
5204
+ product: IntegrationDisplayNames4.LiveChat,
4910
5205
  icon: PRODUCT_TYPE.LC,
4911
5206
  displayName: "Supervise chat",
4912
5207
  shortDescription: "Supervise chat",
@@ -5030,15 +5325,15 @@ var livechatTaskTemplates = () => ({
5030
5325
  })
5031
5326
  });
5032
5327
  var TextLiveChatTriggerNames = {
5033
- ChatStarted: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.ChatStarted}`,
5034
- ChatEnded: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.ChatEnded}`,
5035
- ChatTransferred: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.ChatTransferred}`,
5036
- ChatTagged: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.ChatTagged}`,
5037
- ChatRated: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.ChatRated}`,
5038
- ChatCommented: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.ChatCommented}`,
5039
- ChatMessage: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.ChatMessage}`,
5040
- UserAddedToChat: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.UserAddedToChat}`,
5041
- UserRemovedFromChat: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}-${TextLivechatEventNames.UserRemovedFromChat}`
5328
+ ChatStarted: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.ChatStarted}`,
5329
+ ChatEnded: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.ChatEnded}`,
5330
+ ChatTransferred: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.ChatTransferred}`,
5331
+ ChatTagged: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.ChatTagged}`,
5332
+ ChatRated: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.ChatRated}`,
5333
+ ChatCommented: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.ChatCommented}`,
5334
+ ChatMessage: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.ChatMessage}`,
5335
+ UserAddedToChat: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.UserAddedToChat}`,
5336
+ UserRemovedFromChat: `${IntegrationNames4.LiveChat}-${TextLivechatEventNames.UserRemovedFromChat}`
5042
5337
  };
5043
5338
  var livechatTriggerConfigs = () => ({
5044
5339
  [TextLiveChatTriggerNames.ChatStarted]: {
@@ -5046,15 +5341,15 @@ var livechatTriggerConfigs = () => ({
5046
5341
  name: TextLivechatEventNames.ChatStarted,
5047
5342
  type: "webhook",
5048
5343
  customization: {
5049
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5050
- product: "LiveChat",
5344
+ provider: IntegrationNames4.LiveChat,
5345
+ product: IntegrationDisplayNames4.LiveChat,
5051
5346
  icon: PRODUCT_TYPE.LC,
5052
5347
  displayName: "Chat started",
5053
5348
  shortDescription: "Chat started",
5054
5349
  description: "Triggers when a new chat is initiated."
5055
5350
  },
5056
5351
  specification: {
5057
- output: webhookSpecs.new_chat.output
5352
+ output: webhookSpecs2.new_chat.output
5058
5353
  }
5059
5354
  },
5060
5355
  [TextLiveChatTriggerNames.UserAddedToChat]: {
@@ -5062,15 +5357,15 @@ var livechatTriggerConfigs = () => ({
5062
5357
  name: TextLivechatEventNames.UserAddedToChat,
5063
5358
  type: "webhook",
5064
5359
  customization: {
5065
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5066
- product: "LiveChat",
5360
+ provider: IntegrationNames4.LiveChat,
5361
+ product: IntegrationDisplayNames4.LiveChat,
5067
5362
  icon: PRODUCT_TYPE.LC,
5068
5363
  displayName: "Agent assigned",
5069
5364
  shortDescription: "Agent assigned",
5070
5365
  description: "Triggers when an agent is assigned to a specific chat."
5071
5366
  },
5072
5367
  specification: {
5073
- output: webhookSpecs.agent_assigned.output
5368
+ output: webhookSpecs2.agent_assigned.output
5074
5369
  }
5075
5370
  },
5076
5371
  [TextLiveChatTriggerNames.ChatRated]: {
@@ -5078,8 +5373,8 @@ var livechatTriggerConfigs = () => ({
5078
5373
  name: TextLivechatEventNames.ChatRated,
5079
5374
  type: "webhook",
5080
5375
  customization: {
5081
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5082
- product: "LiveChat",
5376
+ provider: IntegrationNames4.LiveChat,
5377
+ product: IntegrationDisplayNames4.LiveChat,
5083
5378
  icon: PRODUCT_TYPE.LC,
5084
5379
  displayName: "Chat rated",
5085
5380
  shortDescription: "Chat rated",
@@ -5101,7 +5396,7 @@ var livechatTriggerConfigs = () => ({
5101
5396
  }
5102
5397
  }
5103
5398
  },
5104
- output: webhookSpecs.feedback_received.output
5399
+ output: webhookSpecs2.feedback_received.output
5105
5400
  }
5106
5401
  },
5107
5402
  [TextLiveChatTriggerNames.ChatMessage]: {
@@ -5109,16 +5404,16 @@ var livechatTriggerConfigs = () => ({
5109
5404
  name: TextLivechatEventNames.ChatMessage,
5110
5405
  type: "webhook",
5111
5406
  customization: {
5112
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5113
- product: "LiveChat",
5407
+ provider: IntegrationNames4.LiveChat,
5408
+ product: IntegrationDisplayNames4.LiveChat,
5114
5409
  icon: PRODUCT_TYPE.LC,
5115
5410
  displayName: "Specific keywords in chat",
5116
5411
  shortDescription: "Specific keywords in chat",
5117
5412
  description: "Triggers when specific keywords are sent in the chat."
5118
5413
  },
5119
5414
  specification: {
5120
- input: webhookSpecs.specific_keyword.input,
5121
- output: webhookSpecs.specific_keyword.output
5415
+ input: webhookSpecs2.specific_keyword.input,
5416
+ output: webhookSpecs2.specific_keyword.output
5122
5417
  }
5123
5418
  },
5124
5419
  [TextLiveChatTriggerNames.UserRemovedFromChat]: {
@@ -5126,15 +5421,15 @@ var livechatTriggerConfigs = () => ({
5126
5421
  name: TextLivechatEventNames.UserRemovedFromChat,
5127
5422
  type: "webhook",
5128
5423
  customization: {
5129
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5130
- product: "LiveChat",
5424
+ provider: IntegrationNames4.LiveChat,
5425
+ product: IntegrationDisplayNames4.LiveChat,
5131
5426
  icon: PRODUCT_TYPE.LC,
5132
5427
  displayName: "Visitor leaves chat",
5133
5428
  shortDescription: "Visitor leaves chat",
5134
5429
  description: "Triggers when a visitor exits a chat before completion."
5135
5430
  },
5136
5431
  specification: {
5137
- output: webhookSpecs.visitor_leaves.output
5432
+ output: webhookSpecs2.visitor_leaves.output
5138
5433
  }
5139
5434
  },
5140
5435
  [TextLiveChatTriggerNames.ChatEnded]: {
@@ -5142,15 +5437,15 @@ var livechatTriggerConfigs = () => ({
5142
5437
  name: TextLivechatEventNames.ChatEnded,
5143
5438
  type: "webhook",
5144
5439
  customization: {
5145
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5146
- product: "LiveChat",
5440
+ provider: IntegrationNames4.LiveChat,
5441
+ product: IntegrationDisplayNames4.LiveChat,
5147
5442
  icon: PRODUCT_TYPE.LC,
5148
5443
  displayName: "Chat ended",
5149
5444
  shortDescription: "Chat ended",
5150
5445
  description: "Triggers when a chat is finished."
5151
5446
  },
5152
5447
  specification: {
5153
- output: webhookSpecs.chat_ended.output
5448
+ output: webhookSpecs2.chat_ended.output
5154
5449
  }
5155
5450
  },
5156
5451
  [TextLiveChatTriggerNames.ChatTransferred]: {
@@ -5158,15 +5453,15 @@ var livechatTriggerConfigs = () => ({
5158
5453
  name: TextLivechatEventNames.ChatTransferred,
5159
5454
  type: "webhook",
5160
5455
  customization: {
5161
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5162
- product: "LiveChat",
5456
+ provider: IntegrationNames4.LiveChat,
5457
+ product: IntegrationDisplayNames4.LiveChat,
5163
5458
  icon: PRODUCT_TYPE.LC,
5164
5459
  displayName: "Chat transferred",
5165
5460
  shortDescription: "Chat transferred",
5166
5461
  description: "Triggers when a chat is transferred between agents or groups."
5167
5462
  },
5168
5463
  specification: {
5169
- output: webhookSpecs.chat_transferred.output
5464
+ output: webhookSpecs2.chat_transferred.output
5170
5465
  }
5171
5466
  },
5172
5467
  [TextLiveChatTriggerNames.ChatCommented]: {
@@ -5174,15 +5469,15 @@ var livechatTriggerConfigs = () => ({
5174
5469
  name: TextLivechatEventNames.ChatCommented,
5175
5470
  type: "webhook",
5176
5471
  customization: {
5177
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5178
- product: "LiveChat",
5472
+ provider: IntegrationNames4.LiveChat,
5473
+ product: IntegrationDisplayNames4.LiveChat,
5179
5474
  icon: PRODUCT_TYPE.LC,
5180
5475
  displayName: "Chat commented",
5181
5476
  shortDescription: "Chat commented",
5182
5477
  description: "Triggers when a chat is commented."
5183
5478
  },
5184
5479
  specification: {
5185
- output: webhookSpecs.chat_commented.output
5480
+ output: webhookSpecs2.chat_commented.output
5186
5481
  }
5187
5482
  },
5188
5483
  [TextLiveChatTriggerNames.ChatTagged]: {
@@ -5190,16 +5485,16 @@ var livechatTriggerConfigs = () => ({
5190
5485
  name: TextLivechatEventNames.ChatTagged,
5191
5486
  type: "webhook",
5192
5487
  customization: {
5193
- provider: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5194
- product: "LiveChat",
5488
+ provider: IntegrationNames4.LiveChat,
5489
+ product: IntegrationDisplayNames4.LiveChat,
5195
5490
  icon: PRODUCT_TYPE.LC,
5196
5491
  displayName: "Chat tagged",
5197
5492
  shortDescription: "Chat tagged",
5198
5493
  description: "Triggers when a chat is tagged."
5199
5494
  },
5200
5495
  specification: {
5201
- input: webhookSpecs.chat_tagged.input,
5202
- output: webhookSpecs.chat_tagged.output
5496
+ input: webhookSpecs2.chat_tagged.input,
5497
+ output: webhookSpecs2.chat_tagged.output
5203
5498
  }
5204
5499
  }
5205
5500
  });
@@ -5207,7 +5502,7 @@ var livechatTriggerTemplates = () => ({
5207
5502
  [TextLiveChatTriggerNames.ChatEnded]: {
5208
5503
  type: "webhook",
5209
5504
  webhook: {
5210
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5505
+ source: IntegrationNames4.LiveChat,
5211
5506
  event: {
5212
5507
  name: TextLivechatEventNames.ChatEnded
5213
5508
  },
@@ -5219,7 +5514,7 @@ var livechatTriggerTemplates = () => ({
5219
5514
  [TextLiveChatTriggerNames.ChatTransferred]: {
5220
5515
  type: "webhook",
5221
5516
  webhook: {
5222
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5517
+ source: IntegrationNames4.LiveChat,
5223
5518
  event: {
5224
5519
  name: TextLivechatEventNames.ChatTransferred
5225
5520
  },
@@ -5231,7 +5526,7 @@ var livechatTriggerTemplates = () => ({
5231
5526
  [TextLiveChatTriggerNames.ChatStarted]: {
5232
5527
  type: "webhook",
5233
5528
  webhook: {
5234
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5529
+ source: IntegrationNames4.LiveChat,
5235
5530
  event: {
5236
5531
  name: TextLivechatEventNames.ChatStarted
5237
5532
  },
@@ -5243,7 +5538,7 @@ var livechatTriggerTemplates = () => ({
5243
5538
  [TextLiveChatTriggerNames.UserRemovedFromChat]: {
5244
5539
  type: "webhook",
5245
5540
  webhook: {
5246
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5541
+ source: IntegrationNames4.LiveChat,
5247
5542
  event: {
5248
5543
  name: TextLivechatEventNames.UserRemovedFromChat
5249
5544
  },
@@ -5255,7 +5550,7 @@ var livechatTriggerTemplates = () => ({
5255
5550
  [TextLiveChatTriggerNames.ChatRated]: {
5256
5551
  type: "webhook",
5257
5552
  webhook: {
5258
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5553
+ source: IntegrationNames4.LiveChat,
5259
5554
  event: {
5260
5555
  name: TextLivechatEventNames.ChatRated,
5261
5556
  rating: "all"
@@ -5268,7 +5563,7 @@ var livechatTriggerTemplates = () => ({
5268
5563
  [TextLiveChatTriggerNames.UserAddedToChat]: {
5269
5564
  type: "webhook",
5270
5565
  webhook: {
5271
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5566
+ source: IntegrationNames4.LiveChat,
5272
5567
  event: {
5273
5568
  name: TextLivechatEventNames.UserAddedToChat
5274
5569
  },
@@ -5280,7 +5575,7 @@ var livechatTriggerTemplates = () => ({
5280
5575
  [TextLiveChatTriggerNames.ChatMessage]: {
5281
5576
  type: "webhook",
5282
5577
  webhook: {
5283
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5578
+ source: IntegrationNames4.LiveChat,
5284
5579
  event: {
5285
5580
  name: TextLivechatEventNames.ChatMessage,
5286
5581
  filter: ""
@@ -5293,7 +5588,7 @@ var livechatTriggerTemplates = () => ({
5293
5588
  [TextLiveChatTriggerNames.ChatCommented]: {
5294
5589
  type: "webhook",
5295
5590
  webhook: {
5296
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5591
+ source: IntegrationNames4.LiveChat,
5297
5592
  event: {
5298
5593
  name: TextLivechatEventNames.ChatCommented
5299
5594
  },
@@ -5305,7 +5600,7 @@ var livechatTriggerTemplates = () => ({
5305
5600
  [TextLiveChatTriggerNames.ChatTagged]: {
5306
5601
  type: "webhook",
5307
5602
  webhook: {
5308
- source: `${IntegrationNames4.Text}-${PRODUCT_TYPE.LC}`,
5603
+ source: IntegrationNames4.LiveChat,
5309
5604
  event: {
5310
5605
  name: TextLivechatEventNames.ChatTagged,
5311
5606
  tag: "tag",
@@ -5320,7 +5615,7 @@ var livechatTriggerTemplates = () => ({
5320
5615
 
5321
5616
  // src/views/Flows/Definitions/Mocks/MailChimp/index.ts
5322
5617
  import {
5323
- IntegrationDisplayNames as IntegrationDisplayNames3,
5618
+ IntegrationDisplayNames as IntegrationDisplayNames5,
5324
5619
  IntegrationNames as IntegrationNames5,
5325
5620
  MailchimpEventNames,
5326
5621
  WorkflowDefinitionTaskType as WorkflowDefinitionTaskType6
@@ -5434,7 +5729,7 @@ var mailchimpCampaignSettingsBody = {
5434
5729
  }
5435
5730
  }
5436
5731
  };
5437
- var webhookSpecs2 = {
5732
+ var webhookSpecs3 = {
5438
5733
  new_audience: {
5439
5734
  output: {
5440
5735
  type: "object",
@@ -5516,7 +5811,7 @@ var mailchimpTaskConfigs = () => ({
5516
5811
  )}/functions/add-mailchimp-subscriber`,
5517
5812
  customization: {
5518
5813
  provider: IntegrationNames5.Mailchimp,
5519
- product: IntegrationDisplayNames3.Mailchimp,
5814
+ product: IntegrationDisplayNames5.Mailchimp,
5520
5815
  icon: IntegrationNames5.Mailchimp,
5521
5816
  displayName: "Add subscriber",
5522
5817
  shortDescription: "Add subscriber",
@@ -5561,7 +5856,7 @@ var mailchimpTaskConfigs = () => ({
5561
5856
  )}/functions/add-mailchimp-campaign`,
5562
5857
  customization: {
5563
5858
  provider: IntegrationNames5.Mailchimp,
5564
- product: IntegrationDisplayNames3.Mailchimp,
5859
+ product: IntegrationDisplayNames5.Mailchimp,
5565
5860
  icon: IntegrationNames5.Mailchimp,
5566
5861
  displayName: "Add campaign",
5567
5862
  shortDescription: "Add campaign",
@@ -5608,7 +5903,7 @@ var mailchimpTaskConfigs = () => ({
5608
5903
  )}/functions/send-mailchimp-campaign`,
5609
5904
  customization: {
5610
5905
  provider: IntegrationNames5.Mailchimp,
5611
- product: IntegrationDisplayNames3.Mailchimp,
5906
+ product: IntegrationDisplayNames5.Mailchimp,
5612
5907
  icon: IntegrationNames5.Mailchimp,
5613
5908
  displayName: "Send campaign",
5614
5909
  shortDescription: "Send campaign",
@@ -5641,7 +5936,7 @@ var mailchimpTaskConfigs = () => ({
5641
5936
  )}/functions/add-or-update-mailchimp-subscriber`,
5642
5937
  customization: {
5643
5938
  provider: IntegrationNames5.Mailchimp,
5644
- product: IntegrationDisplayNames3.Mailchimp,
5939
+ product: IntegrationDisplayNames5.Mailchimp,
5645
5940
  icon: IntegrationNames5.Mailchimp,
5646
5941
  displayName: "Add or update subscriber",
5647
5942
  shortDescription: "Add or update subscriber",
@@ -5691,7 +5986,7 @@ var mailchimpTaskConfigs = () => ({
5691
5986
  )}/functions/update-mailchimp-subscriber`,
5692
5987
  customization: {
5693
5988
  provider: IntegrationNames5.Mailchimp,
5694
- product: IntegrationDisplayNames3.Mailchimp,
5989
+ product: IntegrationDisplayNames5.Mailchimp,
5695
5990
  icon: IntegrationNames5.Mailchimp,
5696
5991
  displayName: "Update subscriber",
5697
5992
  shortDescription: "Update subscriber",
@@ -5741,7 +6036,7 @@ var mailchimpTaskConfigs = () => ({
5741
6036
  )}/functions/archive-mailchimp-subscriber`,
5742
6037
  customization: {
5743
6038
  provider: IntegrationNames5.Mailchimp,
5744
- product: IntegrationDisplayNames3.Mailchimp,
6039
+ product: IntegrationDisplayNames5.Mailchimp,
5745
6040
  icon: IntegrationNames5.Mailchimp,
5746
6041
  displayName: "Archive subscriber",
5747
6042
  shortDescription: "Archive subscriber",
@@ -5778,7 +6073,7 @@ var mailchimpTaskConfigs = () => ({
5778
6073
  )}/functions/delete-mailchimp-subscriber`,
5779
6074
  customization: {
5780
6075
  provider: IntegrationNames5.Mailchimp,
5781
- product: IntegrationDisplayNames3.Mailchimp,
6076
+ product: IntegrationDisplayNames5.Mailchimp,
5782
6077
  icon: IntegrationNames5.Mailchimp,
5783
6078
  displayName: "Delete subscriber",
5784
6079
  shortDescription: "Delete subscriber",
@@ -5815,7 +6110,7 @@ var mailchimpTaskConfigs = () => ({
5815
6110
  )}/functions/add-mailchimp-subscriber-tag`,
5816
6111
  customization: {
5817
6112
  provider: IntegrationNames5.Mailchimp,
5818
- product: IntegrationDisplayNames3.Mailchimp,
6113
+ product: IntegrationDisplayNames5.Mailchimp,
5819
6114
  icon: IntegrationNames5.Mailchimp,
5820
6115
  displayName: "Add subscriber tag",
5821
6116
  shortDescription: "Add subscriber tag",
@@ -5857,7 +6152,7 @@ var mailchimpTaskConfigs = () => ({
5857
6152
  )}/functions/add-mailchimp-subscriber-event`,
5858
6153
  customization: {
5859
6154
  provider: IntegrationNames5.Mailchimp,
5860
- product: IntegrationDisplayNames3.Mailchimp,
6155
+ product: IntegrationDisplayNames5.Mailchimp,
5861
6156
  icon: IntegrationNames5.Mailchimp,
5862
6157
  displayName: "Add subscriber event",
5863
6158
  shortDescription: "Add subscriber event",
@@ -5915,7 +6210,7 @@ var mailchimpTaskConfigs = () => ({
5915
6210
  )}/functions/add-mailchimp-subscriber-note`,
5916
6211
  customization: {
5917
6212
  provider: IntegrationNames5.Mailchimp,
5918
- product: IntegrationDisplayNames3.Mailchimp,
6213
+ product: IntegrationDisplayNames5.Mailchimp,
5919
6214
  icon: IntegrationNames5.Mailchimp,
5920
6215
  displayName: "Add note to subscriber",
5921
6216
  shortDescription: "Add note to subscriber",
@@ -5957,7 +6252,7 @@ var mailchimpTaskConfigs = () => ({
5957
6252
  )}/functions/delete-mailchimp-subscriber-tag`,
5958
6253
  customization: {
5959
6254
  provider: IntegrationNames5.Mailchimp,
5960
- product: IntegrationDisplayNames3.Mailchimp,
6255
+ product: IntegrationDisplayNames5.Mailchimp,
5961
6256
  icon: IntegrationNames5.Mailchimp,
5962
6257
  displayName: "Delete tag from subscriber",
5963
6258
  shortDescription: "Delete tag from subscriber",
@@ -5998,7 +6293,7 @@ var mailchimpTaskConfigs = () => ({
5998
6293
  )}/functions/get-mailchimp-subscriber-tags`,
5999
6294
  customization: {
6000
6295
  provider: IntegrationNames5.Mailchimp,
6001
- product: IntegrationDisplayNames3.Mailchimp,
6296
+ product: IntegrationDisplayNames5.Mailchimp,
6002
6297
  icon: IntegrationNames5.Mailchimp,
6003
6298
  displayName: "Get subscriber's tags",
6004
6299
  shortDescription: "Get subscriber's tags",
@@ -6065,7 +6360,7 @@ var mailchimpTaskConfigs = () => ({
6065
6360
  )}/functions/get-mailchimp-subscriber`,
6066
6361
  customization: {
6067
6362
  provider: IntegrationNames5.Mailchimp,
6068
- product: IntegrationDisplayNames3.Mailchimp,
6363
+ product: IntegrationDisplayNames5.Mailchimp,
6069
6364
  icon: IntegrationNames5.Mailchimp,
6070
6365
  displayName: "Get subscriber",
6071
6366
  shortDescription: "Get subscriber",
@@ -6242,7 +6537,7 @@ var mailchimpTaskConfigs = () => ({
6242
6537
  )}/functions/find-mailchimp-subscribers`,
6243
6538
  customization: {
6244
6539
  provider: IntegrationNames5.Mailchimp,
6245
- product: IntegrationDisplayNames3.Mailchimp,
6540
+ product: IntegrationDisplayNames5.Mailchimp,
6246
6541
  icon: IntegrationNames5.Mailchimp,
6247
6542
  displayName: "Get subscribers",
6248
6543
  shortDescription: "Get subscribers",
@@ -6420,7 +6715,7 @@ var mailchimpTaskConfigs = () => ({
6420
6715
  )}/functions/find-mailchimp-campaign`,
6421
6716
  customization: {
6422
6717
  provider: IntegrationNames5.Mailchimp,
6423
- product: IntegrationDisplayNames3.Mailchimp,
6718
+ product: IntegrationDisplayNames5.Mailchimp,
6424
6719
  icon: IntegrationNames5.Mailchimp,
6425
6720
  displayName: "Find campaign",
6426
6721
  shortDescription: "Find campaign",
@@ -6896,7 +7191,7 @@ var mailchimpTriggerConfigs = () => ({
6896
7191
  type: "webhook",
6897
7192
  customization: {
6898
7193
  provider: IntegrationNames5.Mailchimp,
6899
- product: IntegrationDisplayNames3.Mailchimp,
7194
+ product: IntegrationDisplayNames5.Mailchimp,
6900
7195
  icon: IntegrationNames5.Mailchimp,
6901
7196
  displayName: "New subscriber",
6902
7197
  shortDescription: "New subscriber",
@@ -6914,7 +7209,7 @@ var mailchimpTriggerConfigs = () => ({
6914
7209
  }
6915
7210
  }
6916
7211
  },
6917
- output: webhookSpecs2.new_subscriber.output
7212
+ output: webhookSpecs3.new_subscriber.output
6918
7213
  }
6919
7214
  },
6920
7215
  [MailchimpTriggerNames.Unsubscribed]: {
@@ -6923,7 +7218,7 @@ var mailchimpTriggerConfigs = () => ({
6923
7218
  type: "webhook",
6924
7219
  customization: {
6925
7220
  provider: IntegrationNames5.Mailchimp,
6926
- product: IntegrationDisplayNames3.Mailchimp,
7221
+ product: IntegrationDisplayNames5.Mailchimp,
6927
7222
  icon: IntegrationNames5.Mailchimp,
6928
7223
  displayName: "New unsubscriber",
6929
7224
  shortDescription: "New unsubscriber",
@@ -6941,7 +7236,7 @@ var mailchimpTriggerConfigs = () => ({
6941
7236
  }
6942
7237
  }
6943
7238
  },
6944
- output: webhookSpecs2.new_unsubscriber.output
7239
+ output: webhookSpecs3.new_unsubscriber.output
6945
7240
  }
6946
7241
  }
6947
7242
  });
@@ -7322,7 +7617,7 @@ var openAiTaskTemplates = () => ({
7322
7617
 
7323
7618
  // src/views/Flows/Definitions/Mocks/Shopify/index.ts
7324
7619
  import {
7325
- IntegrationDisplayNames as IntegrationDisplayNames4,
7620
+ IntegrationDisplayNames as IntegrationDisplayNames6,
7326
7621
  IntegrationNames as IntegrationNames6,
7327
7622
  ShopifyEventNames,
7328
7623
  WorkflowDefinitionTaskType as WorkflowDefinitionTaskType8
@@ -7733,7 +8028,7 @@ var shopifyProductBody = {
7733
8028
  }
7734
8029
  }
7735
8030
  };
7736
- var webhookSpecs3 = {
8031
+ var webhookSpecs4 = {
7737
8032
  new_paid_order: {
7738
8033
  output: {
7739
8034
  type: "object",
@@ -7755,7 +8050,7 @@ var shopifyTaskConfigs = () => ({
7755
8050
  )}/functions/create-shopify-customer`,
7756
8051
  customization: {
7757
8052
  provider: IntegrationNames6.Shopify,
7758
- product: IntegrationDisplayNames4.Shopify,
8053
+ product: IntegrationDisplayNames6.Shopify,
7759
8054
  icon: IntegrationNames6.Shopify,
7760
8055
  displayName: "Create customer",
7761
8056
  shortDescription: "Create customer",
@@ -7779,7 +8074,7 @@ var shopifyTaskConfigs = () => ({
7779
8074
  url: `${getWorkflowsEnv("workflowsApiUr")}/functions/create-shopify-order`,
7780
8075
  customization: {
7781
8076
  provider: IntegrationNames6.Shopify,
7782
- product: IntegrationDisplayNames4.Shopify,
8077
+ product: IntegrationDisplayNames6.Shopify,
7783
8078
  icon: IntegrationNames6.Shopify,
7784
8079
  displayName: "Create order",
7785
8080
  shortDescription: "Create order",
@@ -7804,7 +8099,7 @@ var shopifyTaskConfigs = () => ({
7804
8099
  )}/functions/create-shopify-draft-order`,
7805
8100
  customization: {
7806
8101
  provider: IntegrationNames6.Shopify,
7807
- product: IntegrationDisplayNames4.Shopify,
8102
+ product: IntegrationDisplayNames6.Shopify,
7808
8103
  icon: IntegrationNames6.Shopify,
7809
8104
  displayName: "Create draft order",
7810
8105
  shortDescription: "Create draft order",
@@ -7829,7 +8124,7 @@ var shopifyTaskConfigs = () => ({
7829
8124
  )}/functions/create-shopify-product`,
7830
8125
  customization: {
7831
8126
  provider: IntegrationNames6.Shopify,
7832
- product: IntegrationDisplayNames4.Shopify,
8127
+ product: IntegrationDisplayNames6.Shopify,
7833
8128
  icon: IntegrationNames6.Shopify,
7834
8129
  displayName: "Create product",
7835
8130
  shortDescription: "Create product",
@@ -7854,7 +8149,7 @@ var shopifyTaskConfigs = () => ({
7854
8149
  )}/functions/create-shopify-product-variant`,
7855
8150
  customization: {
7856
8151
  provider: IntegrationNames6.Shopify,
7857
- product: IntegrationDisplayNames4.Shopify,
8152
+ product: IntegrationDisplayNames6.Shopify,
7858
8153
  icon: IntegrationNames6.Shopify,
7859
8154
  displayName: "Create product variant",
7860
8155
  shortDescription: "Create product variant",
@@ -7877,7 +8172,7 @@ var shopifyTaskConfigs = () => ({
7877
8172
  url: `${getWorkflowsEnv("workflowsApiUr")}/functions/get-shopify-customer`,
7878
8173
  customization: {
7879
8174
  provider: IntegrationNames6.Shopify,
7880
- product: IntegrationDisplayNames4.Shopify,
8175
+ product: IntegrationDisplayNames6.Shopify,
7881
8176
  icon: IntegrationNames6.Shopify,
7882
8177
  displayName: "Get customer",
7883
8178
  shortDescription: "Get customer",
@@ -7908,7 +8203,7 @@ var shopifyTaskConfigs = () => ({
7908
8203
  )}/functions/get-shopify-customer-orders`,
7909
8204
  customization: {
7910
8205
  provider: IntegrationNames6.Shopify,
7911
- product: IntegrationDisplayNames4.Shopify,
8206
+ product: IntegrationDisplayNames6.Shopify,
7912
8207
  icon: IntegrationNames6.Shopify,
7913
8208
  displayName: "Get customer orders",
7914
8209
  shortDescription: "Get customer orders",
@@ -7942,7 +8237,7 @@ var shopifyTaskConfigs = () => ({
7942
8237
  )}/functions/get-shopify-customer-last-order`,
7943
8238
  customization: {
7944
8239
  provider: IntegrationNames6.Shopify,
7945
- product: IntegrationDisplayNames4.Shopify,
8240
+ product: IntegrationDisplayNames6.Shopify,
7946
8241
  icon: IntegrationNames6.Shopify,
7947
8242
  displayName: "Get customer order",
7948
8243
  shortDescription: "Get customer last order",
@@ -7971,7 +8266,7 @@ var shopifyTaskConfigs = () => ({
7971
8266
  url: `${getWorkflowsEnv("workflowsApiUr")}/functions/get-shopify-product`,
7972
8267
  customization: {
7973
8268
  provider: IntegrationNames6.Shopify,
7974
- product: IntegrationDisplayNames4.Shopify,
8269
+ product: IntegrationDisplayNames6.Shopify,
7975
8270
  icon: IntegrationNames6.Shopify,
7976
8271
  displayName: "Get product",
7977
8272
  shortDescription: "Get product",
@@ -8003,7 +8298,7 @@ var shopifyTaskConfigs = () => ({
8003
8298
  )}/functions/get-shopify-product-variant`,
8004
8299
  customization: {
8005
8300
  provider: IntegrationNames6.Shopify,
8006
- product: IntegrationDisplayNames4.Shopify,
8301
+ product: IntegrationDisplayNames6.Shopify,
8007
8302
  icon: IntegrationNames6.Shopify,
8008
8303
  displayName: "Get product variant",
8009
8304
  shortDescription: "Get product variant",
@@ -8038,7 +8333,7 @@ var shopifyTaskConfigs = () => ({
8038
8333
  )}/functions/update-shopify-inventory-quantity`,
8039
8334
  customization: {
8040
8335
  provider: IntegrationNames6.Shopify,
8041
- product: IntegrationDisplayNames4.Shopify,
8336
+ product: IntegrationDisplayNames6.Shopify,
8042
8337
  icon: IntegrationNames6.Shopify,
8043
8338
  displayName: "Update inventory quantity",
8044
8339
  shortDescription: "Update inventory quantity",
@@ -8104,7 +8399,7 @@ var shopifyTaskConfigs = () => ({
8104
8399
  url: `${getWorkflowsEnv("workflowsApiUr")}/functions/update-shopify-order`,
8105
8400
  customization: {
8106
8401
  provider: IntegrationNames6.Shopify,
8107
- product: IntegrationDisplayNames4.Shopify,
8402
+ product: IntegrationDisplayNames6.Shopify,
8108
8403
  icon: IntegrationNames6.Shopify,
8109
8404
  displayName: "Update order",
8110
8405
  shortDescription: "Update order",
@@ -8129,7 +8424,7 @@ var shopifyTaskConfigs = () => ({
8129
8424
  )}/functions/update-shopify-product`,
8130
8425
  customization: {
8131
8426
  provider: IntegrationNames6.Shopify,
8132
- product: IntegrationDisplayNames4.Shopify,
8427
+ product: IntegrationDisplayNames6.Shopify,
8133
8428
  icon: IntegrationNames6.Shopify,
8134
8429
  displayName: "Update product",
8135
8430
  shortDescription: "Update product",
@@ -8154,7 +8449,7 @@ var shopifyTaskConfigs = () => ({
8154
8449
  )}/functions/update-shopify-product-variant`,
8155
8450
  customization: {
8156
8451
  provider: IntegrationNames6.Shopify,
8157
- product: IntegrationDisplayNames4.Shopify,
8452
+ product: IntegrationDisplayNames6.Shopify,
8158
8453
  icon: IntegrationNames6.Shopify,
8159
8454
  displayName: "Update product variant",
8160
8455
  shortDescription: "Update product variant",
@@ -8179,7 +8474,7 @@ var shopifyTaskConfigs = () => ({
8179
8474
  )}/functions/update-shopify-customer`,
8180
8475
  customization: {
8181
8476
  provider: IntegrationNames6.Shopify,
8182
- product: IntegrationDisplayNames4.Shopify,
8477
+ product: IntegrationDisplayNames6.Shopify,
8183
8478
  icon: IntegrationNames6.Shopify,
8184
8479
  displayName: "Update customer",
8185
8480
  shortDescription: "Update customer",
@@ -8486,14 +8781,14 @@ var shopifyTriggerConfigs = () => ({
8486
8781
  type: "webhook",
8487
8782
  customization: {
8488
8783
  provider: IntegrationNames6.Shopify,
8489
- product: IntegrationDisplayNames4.Shopify,
8784
+ product: IntegrationDisplayNames6.Shopify,
8490
8785
  icon: IntegrationNames6.Shopify,
8491
8786
  displayName: "Order created",
8492
8787
  shortDescription: "Order created",
8493
8788
  description: "Triggers when a new order is created"
8494
8789
  },
8495
8790
  specification: {
8496
- output: webhookSpecs3.new_paid_order.output
8791
+ output: webhookSpecs4.new_paid_order.output
8497
8792
  }
8498
8793
  }
8499
8794
  });
@@ -8533,7 +8828,7 @@ var WorkflowItemsConfiguration = class {
8533
8828
  var getWorkflowItemConfigs = () => {
8534
8829
  return {
8535
8830
  tasks: __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, livechatTaskConfigs()), helpdeskTaskConfigs()), mailchimpTaskConfigs()), shopifyTaskConfigs()), hubspotTaskConfigs()), bigCommerceTaskConfigs()), openAiTaskConfigs()), systemTaskConfigs()),
8536
- triggers: __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, livechatTriggerConfigs()), mailchimpTriggerConfigs()), shopifyTriggerConfigs()), hubspotTriggerConfigs()), bigcommerceTriggerConfigs()), systemTriggerConfigs())
8831
+ triggers: __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, livechatTriggerConfigs()), helpDeskTriggerConfigs()), mailchimpTriggerConfigs()), shopifyTriggerConfigs()), hubspotTriggerConfigs()), bigcommerceTriggerConfigs()), systemTriggerConfigs())
8537
8832
  };
8538
8833
  };
8539
8834
  var getWorkflowItemTemplates = () => ({
@@ -8549,6 +8844,7 @@ var getWorkflowItemTemplates = () => ({
8549
8844
  },
8550
8845
  triggers: {
8551
8846
  livechat: livechatTriggerTemplates(),
8847
+ helpdesk: helpdeskTriggerTemplates(),
8552
8848
  mailchimp: mailchimpTriggerTemplates(),
8553
8849
  shopify: shopifyTriggerTemplates(),
8554
8850
  hubspot: hubSpotTriggerTemplates(),
@@ -14898,8 +15194,8 @@ var Text_default = GlobalAccounts;
14898
15194
 
14899
15195
  // src/views/Flows/Definitions/Common/Builder/Editors/Visual/Forms/Schema/Wrapper.tsx
14900
15196
  var componentsMap = {
14901
- [`${IntegrationNames12.Text}-${PRODUCT_TYPE.HD}`]: ({ product }) => /* @__PURE__ */ jsx2(Text_default, { product }),
14902
- [`${IntegrationNames12.Text}-${PRODUCT_TYPE.LC}`]: ({ product }) => /* @__PURE__ */ jsx2(Text_default, { product }),
15197
+ [IntegrationNames12.HelpDesk]: ({ product }) => /* @__PURE__ */ jsx2(Text_default, { product }),
15198
+ [IntegrationNames12.LiveChat]: ({ product }) => /* @__PURE__ */ jsx2(Text_default, { product }),
14903
15199
  [IntegrationNames12.Shopify]: () => /* @__PURE__ */ jsx2(ShopifyStatus, {}),
14904
15200
  [IntegrationNames12.Mailchimp]: () => /* @__PURE__ */ jsx2(MailchimpStatus, {}),
14905
15201
  [IntegrationNames12.BigCommerce]: () => /* @__PURE__ */ jsx2(BigCommerceStatus, {}),
@@ -19168,7 +19464,7 @@ import {
19168
19464
  SpacingToken as SpacingToken34
19169
19465
  } from "@livechat/design-system-react-components";
19170
19466
  import {
19171
- IntegrationDisplayNames as IntegrationDisplayNames5,
19467
+ IntegrationDisplayNames as IntegrationDisplayNames7,
19172
19468
  IntegrationNames as IntegrationNames15
19173
19469
  } from "@livechat/developer-studio-api";
19174
19470
  import {
@@ -19336,7 +19632,7 @@ function AddWorkflowTask({ basePath, onClose }) {
19336
19632
  },
19337
19633
  {
19338
19634
  name: IntegrationNames15.Mailchimp,
19339
- displayName: IntegrationDisplayNames5.Mailchimp,
19635
+ displayName: IntegrationDisplayNames7.Mailchimp,
19340
19636
  icon: /* @__PURE__ */ jsx2(
19341
19637
  ProductIcon_default,
19342
19638
  {
@@ -19354,7 +19650,7 @@ function AddWorkflowTask({ basePath, onClose }) {
19354
19650
  },
19355
19651
  {
19356
19652
  name: IntegrationNames15.HubSpot,
19357
- displayName: IntegrationDisplayNames5.HubSpot,
19653
+ displayName: IntegrationDisplayNames7.HubSpot,
19358
19654
  icon: /* @__PURE__ */ jsx2(
19359
19655
  ProductIcon_default,
19360
19656
  {
@@ -19372,7 +19668,7 @@ function AddWorkflowTask({ basePath, onClose }) {
19372
19668
  },
19373
19669
  {
19374
19670
  name: IntegrationNames15.BigCommerce,
19375
- displayName: IntegrationDisplayNames5.BigCommerce,
19671
+ displayName: IntegrationDisplayNames7.BigCommerce,
19376
19672
  icon: /* @__PURE__ */ jsx2(
19377
19673
  ProductIcon_default,
19378
19674
  {
@@ -19390,7 +19686,7 @@ function AddWorkflowTask({ basePath, onClose }) {
19390
19686
  },
19391
19687
  {
19392
19688
  name: IntegrationNames15.Shopify,
19393
- displayName: IntegrationDisplayNames5.Shopify,
19689
+ displayName: IntegrationDisplayNames7.Shopify,
19394
19690
  icon: /* @__PURE__ */ jsx2(
19395
19691
  ProductIcon_default,
19396
19692
  {
@@ -19652,7 +19948,7 @@ import {
19652
19948
  SpacingToken as SpacingToken36
19653
19949
  } from "@livechat/design-system-react-components";
19654
19950
  import {
19655
- IntegrationDisplayNames as IntegrationDisplayNames6,
19951
+ IntegrationDisplayNames as IntegrationDisplayNames8,
19656
19952
  IntegrationNames as IntegrationNames16
19657
19953
  } from "@livechat/developer-studio-api";
19658
19954
  import {
@@ -19784,9 +20080,19 @@ function AddWorkflowTrigger({ basePath, onClose }) {
19784
20080
  secondaryText: x.customization.description
19785
20081
  }))
19786
20082
  },
20083
+ // {
20084
+ // name: PRODUCT_TYPE.HD,
20085
+ // displayName: PRODUCT_NAMES.helpdesk,
20086
+ // icon: <ProductIcon height={5} product={PRODUCT_TYPE.HD} width={5} />,
20087
+ // values: Object.values(helpDeskTriggerConfigs()).map((x) => ({
20088
+ // key: x.key,
20089
+ // name: x.customization.displayName,
20090
+ // secondaryText: x.customization.description,
20091
+ // })),
20092
+ // },
19787
20093
  {
19788
20094
  name: IntegrationNames16.Mailchimp,
19789
- displayName: IntegrationDisplayNames6.Mailchimp,
20095
+ displayName: IntegrationDisplayNames8.Mailchimp,
19790
20096
  icon: /* @__PURE__ */ jsx2(
19791
20097
  ProductIcon_default,
19792
20098
  {
@@ -19803,7 +20109,7 @@ function AddWorkflowTrigger({ basePath, onClose }) {
19803
20109
  },
19804
20110
  {
19805
20111
  name: IntegrationNames16.Shopify,
19806
- displayName: IntegrationDisplayNames6.Shopify,
20112
+ displayName: IntegrationDisplayNames8.Shopify,
19807
20113
  icon: /* @__PURE__ */ jsx2(
19808
20114
  ProductIcon_default,
19809
20115
  {
@@ -19820,7 +20126,7 @@ function AddWorkflowTrigger({ basePath, onClose }) {
19820
20126
  },
19821
20127
  {
19822
20128
  name: IntegrationNames16.HubSpot,
19823
- displayName: IntegrationDisplayNames6.HubSpot,
20129
+ displayName: IntegrationDisplayNames8.HubSpot,
19824
20130
  icon: /* @__PURE__ */ jsx2(
19825
20131
  ProductIcon_default,
19826
20132
  {
@@ -19837,7 +20143,7 @@ function AddWorkflowTrigger({ basePath, onClose }) {
19837
20143
  },
19838
20144
  {
19839
20145
  name: IntegrationNames16.BigCommerce,
19840
- displayName: IntegrationDisplayNames6.BigCommerce,
20146
+ displayName: IntegrationDisplayNames8.BigCommerce,
19841
20147
  icon: /* @__PURE__ */ jsx2(
19842
20148
  ProductIcon_default,
19843
20149
  {
@@ -20503,6 +20809,7 @@ import {
20503
20809
  ShopifyColored as ShopifyIcon2
20504
20810
  } from "@livechat/design-system-icons";
20505
20811
  import {
20812
+ IntegrationDisplayNames as IntegrationDisplayNames9,
20506
20813
  IntegrationNames as IntegrationNames17,
20507
20814
  TextLivechatEventNames as TextLivechatEventNames2
20508
20815
  } from "@livechat/developer-studio-api";
@@ -20513,19 +20820,19 @@ var getFlowTemplates = () => [
20513
20820
  icons: [LiveChatIcon, OpenAiIcon2, HelpDeskIcon],
20514
20821
  list: [
20515
20822
  {
20516
- product: "LiveChat" /* LiveChat */,
20823
+ product: IntegrationDisplayNames9.LiveChat,
20517
20824
  description: "Detects when a chat ends"
20518
20825
  },
20519
20826
  {
20520
- product: "LiveChat" /* LiveChat */,
20827
+ product: IntegrationDisplayNames9.LiveChat,
20521
20828
  description: "Pulls the full chat transcript"
20522
20829
  },
20523
20830
  {
20524
- product: "OpenAI" /* OpenAI */,
20831
+ product: IntegrationDisplayNames9.OpenAI,
20525
20832
  description: "Creates a summary of the chat"
20526
20833
  },
20527
20834
  {
20528
- product: "HelpDesk" /* HelpDesk */,
20835
+ product: IntegrationDisplayNames9.HelpDesk,
20529
20836
  description: "Creates a new ticket with the chat summary. Use the pre-chat survey to pull the customer\u2019s email or provide a custom input"
20530
20837
  }
20531
20838
  ],
@@ -20536,7 +20843,7 @@ var getFlowTemplates = () => [
20536
20843
  trigger: {
20537
20844
  type: "webhook",
20538
20845
  webhook: {
20539
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
20846
+ source: IntegrationNames17.LiveChat,
20540
20847
  event: {
20541
20848
  name: TextLivechatEventNames2.ChatEnded
20542
20849
  },
@@ -20629,9 +20936,9 @@ var getFlowTemplates = () => [
20629
20936
  }
20630
20937
  },
20631
20938
  products: [
20632
- "LiveChat" /* LiveChat */,
20633
- "OpenAI" /* OpenAI */,
20634
- "HelpDesk" /* HelpDesk */
20939
+ IntegrationDisplayNames9.LiveChat,
20940
+ IntegrationDisplayNames9.OpenAI,
20941
+ IntegrationDisplayNames9.HelpDesk
20635
20942
  ],
20636
20943
  category: "Chat management" /* ChatManagement */
20637
20944
  },
@@ -20641,23 +20948,23 @@ var getFlowTemplates = () => [
20641
20948
  icons: [LiveChatIcon, OpenAiIcon2, HelpDeskIcon, MailchimpIcon],
20642
20949
  list: [
20643
20950
  {
20644
- product: "LiveChat" /* LiveChat */,
20951
+ product: IntegrationDisplayNames9.LiveChat,
20645
20952
  description: "Detects when a competitor is mentioned in the chat based on keywords"
20646
20953
  },
20647
20954
  {
20648
- product: "LiveChat" /* LiveChat */,
20955
+ product: IntegrationDisplayNames9.LiveChat,
20649
20956
  description: "Pulls the chat transcript data for analysis"
20650
20957
  },
20651
20958
  {
20652
- product: "OpenAI" /* OpenAI */,
20959
+ product: IntegrationDisplayNames9.OpenAI,
20653
20960
  description: "Analyzes the competitor mention in the context of sentiment"
20654
20961
  },
20655
20962
  {
20656
- product: "HelpDesk" /* HelpDesk */,
20963
+ product: IntegrationDisplayNames9.HelpDesk,
20657
20964
  description: "Creates a notification ticket with the chat details. Use the LiveChat pre-chat survey to pull the customer\u2019s email or provide a custom input"
20658
20965
  },
20659
20966
  {
20660
- product: "Mailchimp" /* Mailchimp */,
20967
+ product: IntegrationDisplayNames9.Mailchimp,
20661
20968
  description: "Adds a note to the customer in your Mailchimp"
20662
20969
  }
20663
20970
  ],
@@ -20771,7 +21078,7 @@ var getFlowTemplates = () => [
20771
21078
  trigger: {
20772
21079
  type: "webhook",
20773
21080
  webhook: {
20774
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
21081
+ source: IntegrationNames17.LiveChat,
20775
21082
  event: {
20776
21083
  name: TextLivechatEventNames2.ChatMessage,
20777
21084
  filter: "competitor"
@@ -20785,10 +21092,10 @@ var getFlowTemplates = () => [
20785
21092
  }
20786
21093
  },
20787
21094
  products: [
20788
- "LiveChat" /* LiveChat */,
20789
- "OpenAI" /* OpenAI */,
20790
- "HelpDesk" /* HelpDesk */,
20791
- "Mailchimp" /* Mailchimp */
21095
+ IntegrationDisplayNames9.LiveChat,
21096
+ IntegrationDisplayNames9.OpenAI,
21097
+ IntegrationDisplayNames9.HelpDesk,
21098
+ IntegrationDisplayNames9.Mailchimp
20792
21099
  ],
20793
21100
  category: "Notifications & alerts" /* NotificationAndAlerts */
20794
21101
  },
@@ -20798,23 +21105,23 @@ var getFlowTemplates = () => [
20798
21105
  icons: [LiveChatIcon, OpenAiIcon2, HelpDeskIcon, MailchimpIcon],
20799
21106
  list: [
20800
21107
  {
20801
- product: "LiveChat" /* LiveChat */,
21108
+ product: IntegrationDisplayNames9.LiveChat,
20802
21109
  description: "Detects when a chat ends"
20803
21110
  },
20804
21111
  {
20805
- product: "LiveChat" /* LiveChat */,
21112
+ product: IntegrationDisplayNames9.LiveChat,
20806
21113
  description: "Pulls the chat transcript data"
20807
21114
  },
20808
21115
  {
20809
- product: "OpenAI" /* OpenAI */,
21116
+ product: IntegrationDisplayNames9.OpenAI,
20810
21117
  description: "Summarizes the chat transcript"
20811
21118
  },
20812
21119
  {
20813
- product: "HelpDesk" /* HelpDesk */,
21120
+ product: IntegrationDisplayNames9.HelpDesk,
20814
21121
  description: "Creates a ticket with the summarized chat and the customer as the ticket requester. Use the LiveChat pre-chat survey to pull the customer\u2019s email or provide a custom input"
20815
21122
  },
20816
21123
  {
20817
- product: "Mailchimp" /* Mailchimp */,
21124
+ product: IntegrationDisplayNames9.Mailchimp,
20818
21125
  description: "Adds a custom note to the customer in Mailchimp"
20819
21126
  }
20820
21127
  ],
@@ -20927,7 +21234,7 @@ var getFlowTemplates = () => [
20927
21234
  trigger: {
20928
21235
  type: "webhook",
20929
21236
  webhook: {
20930
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
21237
+ source: IntegrationNames17.LiveChat,
20931
21238
  event: {
20932
21239
  name: TextLivechatEventNames2.ChatEnded
20933
21240
  },
@@ -20940,10 +21247,10 @@ var getFlowTemplates = () => [
20940
21247
  }
20941
21248
  },
20942
21249
  products: [
20943
- "LiveChat" /* LiveChat */,
20944
- "OpenAI" /* OpenAI */,
20945
- "HelpDesk" /* HelpDesk */,
20946
- "Mailchimp" /* Mailchimp */
21250
+ IntegrationDisplayNames9.LiveChat,
21251
+ IntegrationDisplayNames9.OpenAI,
21252
+ IntegrationDisplayNames9.HelpDesk,
21253
+ IntegrationDisplayNames9.Mailchimp
20947
21254
  ],
20948
21255
  category: "Chat management" /* ChatManagement */
20949
21256
  },
@@ -20953,23 +21260,23 @@ var getFlowTemplates = () => [
20953
21260
  icons: [LiveChatIcon, ShopifyIcon2, OpenAiIcon2, MailchimpIcon],
20954
21261
  list: [
20955
21262
  {
20956
- product: "LiveChat" /* LiveChat */,
21263
+ product: IntegrationDisplayNames9.LiveChat,
20957
21264
  description: "Detects when a chat ends"
20958
21265
  },
20959
21266
  {
20960
- product: "LiveChat" /* LiveChat */,
21267
+ product: IntegrationDisplayNames9.LiveChat,
20961
21268
  description: "Pulls the chat transcript"
20962
21269
  },
20963
21270
  {
20964
- product: "Shopify" /* Shopify */,
21271
+ product: IntegrationDisplayNames9.Shopify,
20965
21272
  description: "Pulls customer data from Shopify"
20966
21273
  },
20967
21274
  {
20968
- product: "OpenAI" /* OpenAI */,
21275
+ product: IntegrationDisplayNames9.OpenAI,
20969
21276
  description: "Analyzes the chat sentiment"
20970
21277
  },
20971
21278
  {
20972
- product: "Mailchimp" /* Mailchimp */,
21279
+ product: IntegrationDisplayNames9.Mailchimp,
20973
21280
  description: "Sends a custom campaign through Mailchimp"
20974
21281
  }
20975
21282
  ],
@@ -21098,10 +21405,10 @@ var getFlowTemplates = () => [
21098
21405
  }
21099
21406
  },
21100
21407
  products: [
21101
- "LiveChat" /* LiveChat */,
21102
- "Shopify" /* Shopify */,
21103
- "OpenAI" /* OpenAI */,
21104
- "Mailchimp" /* Mailchimp */
21408
+ IntegrationDisplayNames9.LiveChat,
21409
+ IntegrationDisplayNames9.Shopify,
21410
+ IntegrationDisplayNames9.OpenAI,
21411
+ IntegrationDisplayNames9.Mailchimp
21105
21412
  ],
21106
21413
  category: "Sales management" /* SalesManagement */
21107
21414
  },
@@ -21111,23 +21418,23 @@ var getFlowTemplates = () => [
21111
21418
  icons: [LiveChatIcon, OpenAiIcon2, MailchimpIcon],
21112
21419
  list: [
21113
21420
  {
21114
- product: "LiveChat" /* LiveChat */,
21421
+ product: IntegrationDisplayNames9.LiveChat,
21115
21422
  description: "Detects when a chat ends"
21116
21423
  },
21117
21424
  {
21118
- product: "LiveChat" /* LiveChat */,
21425
+ product: IntegrationDisplayNames9.LiveChat,
21119
21426
  description: "Pulls the chat transcript data"
21120
21427
  },
21121
21428
  {
21122
- product: "OpenAI" /* OpenAI */,
21429
+ product: IntegrationDisplayNames9.OpenAI,
21123
21430
  description: "Analyzes the chat sentiment"
21124
21431
  },
21125
21432
  {
21126
- product: "Mailchimp" /* Mailchimp */,
21433
+ product: IntegrationDisplayNames9.Mailchimp,
21127
21434
  description: "Adds new subscriber to Mailchimp or updates existing one"
21128
21435
  },
21129
21436
  {
21130
- product: "Mailchimp" /* Mailchimp */,
21437
+ product: IntegrationDisplayNames9.Mailchimp,
21131
21438
  description: "Adds a custom tag to a subscriber"
21132
21439
  }
21133
21440
  ],
@@ -21237,7 +21544,7 @@ var getFlowTemplates = () => [
21237
21544
  trigger: {
21238
21545
  type: "webhook",
21239
21546
  webhook: {
21240
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
21547
+ source: IntegrationNames17.LiveChat,
21241
21548
  event: {
21242
21549
  name: TextLivechatEventNames2.ChatEnded
21243
21550
  },
@@ -21250,9 +21557,9 @@ var getFlowTemplates = () => [
21250
21557
  }
21251
21558
  },
21252
21559
  products: [
21253
- "LiveChat" /* LiveChat */,
21254
- "OpenAI" /* OpenAI */,
21255
- "Mailchimp" /* Mailchimp */
21560
+ IntegrationDisplayNames9.LiveChat,
21561
+ IntegrationDisplayNames9.OpenAI,
21562
+ IntegrationDisplayNames9.Mailchimp
21256
21563
  ],
21257
21564
  category: "Lead collection" /* LeadCollection */
21258
21565
  },
@@ -21262,11 +21569,11 @@ var getFlowTemplates = () => [
21262
21569
  icons: [LiveChatIcon],
21263
21570
  list: [
21264
21571
  {
21265
- product: "LiveChat" /* LiveChat */,
21572
+ product: IntegrationDisplayNames9.LiveChat,
21266
21573
  description: "Detects when a chat starts"
21267
21574
  },
21268
21575
  {
21269
- product: "LiveChat" /* LiveChat */,
21576
+ product: IntegrationDisplayNames9.LiveChat,
21270
21577
  description: "Sends a custom message in the chat"
21271
21578
  }
21272
21579
  ],
@@ -21312,7 +21619,7 @@ var getFlowTemplates = () => [
21312
21619
  trigger: {
21313
21620
  type: "webhook",
21314
21621
  webhook: {
21315
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
21622
+ source: IntegrationNames17.LiveChat,
21316
21623
  event: {
21317
21624
  name: TextLivechatEventNames2.ChatStarted
21318
21625
  },
@@ -21324,7 +21631,7 @@ var getFlowTemplates = () => [
21324
21631
  }
21325
21632
  }
21326
21633
  },
21327
- products: ["LiveChat" /* LiveChat */],
21634
+ products: [IntegrationDisplayNames9.LiveChat],
21328
21635
  category: "Customer experience" /* CustomerExperience */
21329
21636
  },
21330
21637
  {
@@ -21333,19 +21640,19 @@ var getFlowTemplates = () => [
21333
21640
  icons: [LiveChatIcon, OpenAiIcon2, HelpDeskIcon],
21334
21641
  list: [
21335
21642
  {
21336
- product: "LiveChat" /* LiveChat */,
21643
+ product: IntegrationDisplayNames9.LiveChat,
21337
21644
  description: "Detects when a chat receives a bad rating"
21338
21645
  },
21339
21646
  {
21340
- product: "LiveChat" /* LiveChat */,
21647
+ product: IntegrationDisplayNames9.LiveChat,
21341
21648
  description: "Pulls the chat transcript"
21342
21649
  },
21343
21650
  {
21344
- product: "OpenAI" /* OpenAI */,
21651
+ product: IntegrationDisplayNames9.OpenAI,
21345
21652
  description: "Summarizes the chat"
21346
21653
  },
21347
21654
  {
21348
- product: "HelpDesk" /* HelpDesk */,
21655
+ product: IntegrationDisplayNames9.HelpDesk,
21349
21656
  description: "Creates a ticket with the chat summary. Use the LiveChat pre-chat survey to pull the customer\u2019s email or provide a custom input"
21350
21657
  }
21351
21658
  ],
@@ -21437,7 +21744,7 @@ var getFlowTemplates = () => [
21437
21744
  trigger: {
21438
21745
  type: "webhook",
21439
21746
  webhook: {
21440
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
21747
+ source: IntegrationNames17.LiveChat,
21441
21748
  event: {
21442
21749
  name: TextLivechatEventNames2.ChatRated,
21443
21750
  rating: "bad"
@@ -21451,9 +21758,9 @@ var getFlowTemplates = () => [
21451
21758
  }
21452
21759
  },
21453
21760
  products: [
21454
- "LiveChat" /* LiveChat */,
21455
- "OpenAI" /* OpenAI */,
21456
- "HelpDesk" /* HelpDesk */
21761
+ IntegrationDisplayNames9.LiveChat,
21762
+ IntegrationDisplayNames9.OpenAI,
21763
+ IntegrationDisplayNames9.HelpDesk
21457
21764
  ],
21458
21765
  category: "Notifications & alerts" /* NotificationAndAlerts */
21459
21766
  },
@@ -21463,19 +21770,19 @@ var getFlowTemplates = () => [
21463
21770
  icons: [LiveChatIcon, ShopifyIcon2],
21464
21771
  list: [
21465
21772
  {
21466
- product: "LiveChat" /* LiveChat */,
21773
+ product: IntegrationDisplayNames9.LiveChat,
21467
21774
  description: "Detects when a chat starts"
21468
21775
  },
21469
21776
  {
21470
- product: "LiveChat" /* LiveChat */,
21777
+ product: IntegrationDisplayNames9.LiveChat,
21471
21778
  description: "Pulls the chat transcript data"
21472
21779
  },
21473
21780
  {
21474
- product: "Shopify" /* Shopify */,
21781
+ product: IntegrationDisplayNames9.Shopify,
21475
21782
  description: "Pulls the customer order history"
21476
21783
  },
21477
21784
  {
21478
- product: "LiveChat" /* LiveChat */,
21785
+ product: IntegrationDisplayNames9.LiveChat,
21479
21786
  description: "Sends a message with the customer\u2019s order history visible to the agent"
21480
21787
  }
21481
21788
  ],
@@ -21561,7 +21868,7 @@ var getFlowTemplates = () => [
21561
21868
  trigger: {
21562
21869
  type: "webhook",
21563
21870
  webhook: {
21564
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
21871
+ source: IntegrationNames17.LiveChat,
21565
21872
  event: {
21566
21873
  name: TextLivechatEventNames2.ChatStarted
21567
21874
  },
@@ -21573,7 +21880,10 @@ var getFlowTemplates = () => [
21573
21880
  }
21574
21881
  }
21575
21882
  },
21576
- products: ["LiveChat" /* LiveChat */, "Shopify" /* Shopify */],
21883
+ products: [
21884
+ IntegrationDisplayNames9.LiveChat,
21885
+ IntegrationDisplayNames9.Shopify
21886
+ ],
21577
21887
  category: "Sales management" /* SalesManagement */
21578
21888
  },
21579
21889
  {
@@ -21582,15 +21892,15 @@ var getFlowTemplates = () => [
21582
21892
  icons: [LiveChatIcon, HubspotIcon],
21583
21893
  list: [
21584
21894
  {
21585
- product: "LiveChat" /* LiveChat */,
21895
+ product: IntegrationDisplayNames9.LiveChat,
21586
21896
  description: "Detects when a chat ends"
21587
21897
  },
21588
21898
  {
21589
- product: "LiveChat" /* LiveChat */,
21899
+ product: IntegrationDisplayNames9.LiveChat,
21590
21900
  description: "Pulls the chat transcript data"
21591
21901
  },
21592
21902
  {
21593
- product: "HubSpot" /* HubSpot */,
21903
+ product: IntegrationDisplayNames9.HubSpot,
21594
21904
  description: "Creates a new contact in Hubspot"
21595
21905
  }
21596
21906
  ],
@@ -21658,7 +21968,7 @@ var getFlowTemplates = () => [
21658
21968
  trigger: {
21659
21969
  type: "webhook",
21660
21970
  webhook: {
21661
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
21971
+ source: IntegrationNames17.LiveChat,
21662
21972
  event: {
21663
21973
  name: TextLivechatEventNames2.ChatEnded
21664
21974
  },
@@ -21670,7 +21980,10 @@ var getFlowTemplates = () => [
21670
21980
  }
21671
21981
  }
21672
21982
  },
21673
- products: ["LiveChat" /* LiveChat */, "HubSpot" /* HubSpot */],
21983
+ products: [
21984
+ IntegrationDisplayNames9.LiveChat,
21985
+ IntegrationDisplayNames9.HubSpot
21986
+ ],
21674
21987
  category: "Lead collection" /* LeadCollection */
21675
21988
  },
21676
21989
  {
@@ -21679,15 +21992,15 @@ var getFlowTemplates = () => [
21679
21992
  icons: [LiveChatIcon, HelpDeskIcon],
21680
21993
  list: [
21681
21994
  {
21682
- product: "LiveChat" /* LiveChat */,
21995
+ product: IntegrationDisplayNames9.LiveChat,
21683
21996
  description: "Detects when a chat starts"
21684
21997
  },
21685
21998
  {
21686
- product: "LiveChat" /* LiveChat */,
21999
+ product: IntegrationDisplayNames9.LiveChat,
21687
22000
  description: "Pulls the chat transcript information"
21688
22001
  },
21689
22002
  {
21690
- product: "HelpDesk" /* HelpDesk */,
22003
+ product: IntegrationDisplayNames9.HelpDesk,
21691
22004
  description: "Creates a ticket in HelpDesk. Use the LiveChat pre-chat survey to pull the customer\u2019s email or provide a custom input"
21692
22005
  }
21693
22006
  ],
@@ -21760,7 +22073,7 @@ var getFlowTemplates = () => [
21760
22073
  trigger: {
21761
22074
  type: "webhook",
21762
22075
  webhook: {
21763
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
22076
+ source: IntegrationNames17.LiveChat,
21764
22077
  event: {
21765
22078
  name: TextLivechatEventNames2.ChatStarted
21766
22079
  },
@@ -21772,7 +22085,10 @@ var getFlowTemplates = () => [
21772
22085
  }
21773
22086
  }
21774
22087
  },
21775
- products: ["LiveChat" /* LiveChat */, "HelpDesk" /* HelpDesk */],
22088
+ products: [
22089
+ IntegrationDisplayNames9.LiveChat,
22090
+ IntegrationDisplayNames9.HelpDesk
22091
+ ],
21776
22092
  category: "Notifications & alerts" /* NotificationAndAlerts */
21777
22093
  },
21778
22094
  {
@@ -21781,19 +22097,19 @@ var getFlowTemplates = () => [
21781
22097
  icons: [LiveChatIcon, HubspotIcon, MailchimpIcon],
21782
22098
  list: [
21783
22099
  {
21784
- product: "LiveChat" /* LiveChat */,
22100
+ product: IntegrationDisplayNames9.LiveChat,
21785
22101
  description: "Detects when a chat ends"
21786
22102
  },
21787
22103
  {
21788
- product: "LiveChat" /* LiveChat */,
22104
+ product: IntegrationDisplayNames9.LiveChat,
21789
22105
  description: "Pulls the chat transcript information"
21790
22106
  },
21791
22107
  {
21792
- product: "HubSpot" /* HubSpot */,
22108
+ product: IntegrationDisplayNames9.HubSpot,
21793
22109
  description: "Creates a new contact in Hubspot"
21794
22110
  },
21795
22111
  {
21796
- product: "Mailchimp" /* Mailchimp */,
22112
+ product: IntegrationDisplayNames9.Mailchimp,
21797
22113
  description: "Adds new subscriber in Mailchimp"
21798
22114
  }
21799
22115
  ],
@@ -21884,7 +22200,7 @@ var getFlowTemplates = () => [
21884
22200
  trigger: {
21885
22201
  type: "webhook",
21886
22202
  webhook: {
21887
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
22203
+ source: IntegrationNames17.LiveChat,
21888
22204
  event: {
21889
22205
  name: TextLivechatEventNames2.ChatEnded
21890
22206
  },
@@ -21897,9 +22213,9 @@ var getFlowTemplates = () => [
21897
22213
  }
21898
22214
  },
21899
22215
  products: [
21900
- "LiveChat" /* LiveChat */,
21901
- "HubSpot" /* HubSpot */,
21902
- "Mailchimp" /* Mailchimp */
22216
+ IntegrationDisplayNames9.LiveChat,
22217
+ IntegrationDisplayNames9.HubSpot,
22218
+ IntegrationDisplayNames9.Mailchimp
21903
22219
  ],
21904
22220
  category: "Lead collection" /* LeadCollection */
21905
22221
  },
@@ -21909,15 +22225,15 @@ var getFlowTemplates = () => [
21909
22225
  icons: [LiveChatIcon],
21910
22226
  list: [
21911
22227
  {
21912
- product: "LiveChat" /* LiveChat */,
22228
+ product: IntegrationDisplayNames9.LiveChat,
21913
22229
  description: "Detects when agents add a specific tag to an active chat"
21914
22230
  },
21915
22231
  {
21916
- product: "LiveChat" /* LiveChat */,
22232
+ product: IntegrationDisplayNames9.LiveChat,
21917
22233
  description: "Supervises chat to allow for sending private messages"
21918
22234
  },
21919
22235
  {
21920
- product: "LiveChat" /* LiveChat */,
22236
+ product: IntegrationDisplayNames9.LiveChat,
21921
22237
  description: "Sends a reminder to ask for a review visible only to the agent"
21922
22238
  }
21923
22239
  ],
@@ -21986,7 +22302,7 @@ var getFlowTemplates = () => [
21986
22302
  trigger: {
21987
22303
  type: "webhook",
21988
22304
  webhook: {
21989
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
22305
+ source: IntegrationNames17.LiveChat,
21990
22306
  event: {
21991
22307
  name: TextLivechatEventNames2.ChatTagged,
21992
22308
  tag: void 0,
@@ -22000,7 +22316,7 @@ var getFlowTemplates = () => [
22000
22316
  }
22001
22317
  }
22002
22318
  },
22003
- products: ["LiveChat" /* LiveChat */],
22319
+ products: [IntegrationDisplayNames9.LiveChat],
22004
22320
  category: "Chat management" /* ChatManagement */
22005
22321
  },
22006
22322
  {
@@ -22009,15 +22325,15 @@ var getFlowTemplates = () => [
22009
22325
  icons: [LiveChatIcon, HelpDeskIcon],
22010
22326
  list: [
22011
22327
  {
22012
- product: "LiveChat" /* LiveChat */,
22328
+ product: IntegrationDisplayNames9.LiveChat,
22013
22329
  description: "Detects when a chat ends"
22014
22330
  },
22015
22331
  {
22016
- product: "LiveChat" /* LiveChat */,
22332
+ product: IntegrationDisplayNames9.LiveChat,
22017
22333
  description: "Pulls the chat transcript"
22018
22334
  },
22019
22335
  {
22020
- product: "HelpDesk" /* HelpDesk */,
22336
+ product: IntegrationDisplayNames9.HelpDesk,
22021
22337
  description: "Sends the chat transcript to the customer via HelpDesk. Use the LiveChat pre-chat survey to pull the customer\u2019s email or provide a custom input"
22022
22338
  }
22023
22339
  ],
@@ -22089,7 +22405,7 @@ var getFlowTemplates = () => [
22089
22405
  trigger: {
22090
22406
  type: "webhook",
22091
22407
  webhook: {
22092
- source: `${IntegrationNames17.Text}-${PRODUCT_TYPE.LC}`,
22408
+ source: IntegrationNames17.LiveChat,
22093
22409
  event: {
22094
22410
  name: TextLivechatEventNames2.ChatEnded
22095
22411
  },
@@ -22101,7 +22417,10 @@ var getFlowTemplates = () => [
22101
22417
  }
22102
22418
  }
22103
22419
  },
22104
- products: ["LiveChat" /* LiveChat */, "HelpDesk" /* HelpDesk */],
22420
+ products: [
22421
+ IntegrationDisplayNames9.LiveChat,
22422
+ IntegrationDisplayNames9.HelpDesk
22423
+ ],
22105
22424
  category: "Customer experience" /* CustomerExperience */
22106
22425
  }
22107
22426
  ];
@@ -22520,6 +22839,7 @@ import {
22520
22839
  Icon as Icon34,
22521
22840
  SpacingToken as SpacingToken41
22522
22841
  } from "@livechat/design-system-react-components";
22842
+ import { IntegrationDisplayNames as IntegrationDisplayNames10 } from "@livechat/developer-studio-api";
22523
22843
  import { Row as Row18 } from "@livechat/developer-studio-ui-react";
22524
22844
  function WorkflowTemplatesProductFilter({
22525
22845
  handleStatus,
@@ -22548,13 +22868,13 @@ function WorkflowTemplatesProductFilter({
22548
22868
  },
22549
22869
  options: [
22550
22870
  getItem("0", "All"),
22551
- getItem("1", "LiveChat" /* LiveChat */, LiveChatColored),
22552
- getItem("2", "HelpDesk" /* HelpDesk */, HelpDeskColored),
22553
- getItem("3", "OpenAI" /* OpenAI */, Chatgpt),
22554
- getItem("4", "Shopify" /* Shopify */, ShopifyColored),
22555
- getItem("5", "Mailchimp" /* Mailchimp */, Mailchimp)
22556
- // getItem('6', WorkflowProducts.Stripe, Stripe),
22557
- // getItem('7', WorkflowProducts.GoogleSheets, GoogleSheets),
22871
+ getItem("1", IntegrationDisplayNames10.LiveChat, LiveChatColored),
22872
+ getItem("2", IntegrationDisplayNames10.HelpDesk, HelpDeskColored),
22873
+ getItem("3", IntegrationDisplayNames10.OpenAI, Chatgpt),
22874
+ getItem("4", IntegrationDisplayNames10.Shopify, ShopifyColored),
22875
+ getItem("5", IntegrationDisplayNames10.Mailchimp, Mailchimp)
22876
+ // getItem('6', IntegrationDisplayNames.Stripe, Stripe),
22877
+ // getItem('7', IntegrationDisplayNames.GoogleSheets, GoogleSheets),
22558
22878
  ],
22559
22879
  placement: "bottom",
22560
22880
  triggerRenderer: /* @__PURE__ */ jsxs2(